{"version":3,"file":"static/chunks/pages/_site/[city]/payments-294cf70baf3b48f8.js","mappings":"uFACKA,OAAOC,SAAWD,OAAOC,UAAY,IAAIC,KAAK,CAC7C,yBACA,WACE,OAAO,EAAQ,W,iKCSjBC,EAAiBC,KAAQ,W,OAAM,0NAAqC,C,wDAOpEC,EAAoC,Y,IAAGC,EAAW,EAAXA,YAAaC,EAAW,EAAXA,YACtD,OACI,SAACC,EAAAA,EAAM,CACHC,MAAO,uEAA+FH,OAA/EC,EAAY,oUAAsF,OAAnBD,EAAYI,QAClHC,YAAa,oIAA4CL,OAAjBC,EAAY,YAAwB,OAAnBD,EAAYI,OAAO,owBAC5EE,UAAU,EACVC,UAAU,EACVC,YAAY,EACZC,QAASC,EAAAA,EAAAA,O,UAET,SAACb,EAAc,OAK3BE,EAAgBY,gBAAkB,W,OAAA,4BAAMC,G,IAE9BC,EACAb,EACAC,E,kFAHAa,EAAAA,EAAAA,GAAaF,EAAS,CAAEG,gBAAgB,I,cACxCF,EAAgBD,EAAQI,MAAMC,WAC9BjB,GAAckB,EAAAA,EAAAA,IAAeL,GAC7BZ,GAAckB,EAAAA,EAAAA,IAAkBN,G,kBAE/B,CAAEb,YAAAA,EAAaC,YAAAA,I,2DANcW,G,gCAAN,GASlC,c","sources":["webpack://_N_E/?48da","webpack://_N_E/./pages/_site/[city]/payments/index.tsx"],"sourcesContent":["\n (window.__NEXT_P = window.__NEXT_P || []).push([\n \"/_site/[city]/payments\",\n function () {\n return require(\"private-next-pages/_site/[city]/payments/index.tsx\");\n }\n ]);\n if(module.hot) {\n module.hot.dispose(function () {\n window.__NEXT_P.push([\"/_site/[city]/payments\"])\n });\n }\n ","import React from 'react';\nimport { NextPage } from 'next';\nimport dynamic from 'next/dynamic';\n\nimport { ICurrentCity } from '@r1-frontend/entities/City/models/ICurrentCity';\n\nimport { COLORS } from '@r1-frontend/ui-react/tokens/colors';\n\nimport Layout from '~/src/features/_layout';\nimport { initialProps } from '~/src/helpers/basePageFunc';\nimport { TState } from '~/src/store';\nimport { getCurrentCity, selectCompanyName } from '~/src/store/selectors/city';\n\nconst PaymentsLayout = dynamic(() => import('~/src/features/payments-abn'));\n\ninterface IProps {\n currentCity: ICurrentCity,\n companyName: string,\n}\n\nconst NewPaymentsPage: NextPage = ({ currentCity, companyName }) => {\n return (\n \n \n \n );\n};\n\nNewPaymentsPage.getInitialProps = async(options) => {\n await initialProps(options, { isNeedAuthData: true });\n const state: TState = options.store.getState();\n const currentCity = getCurrentCity(state);\n const companyName = selectCompanyName(state);\n\n return { currentCity, companyName };\n};\n\nexport default NewPaymentsPage;\n"],"names":["window","__NEXT_P","push","PaymentsLayout","dynamic","NewPaymentsPage","currentCity","companyName","Layout","title","cityIn","description","withMenu","withChat","withFooter","bgColor","COLORS","getInitialProps","options","state","initialProps","isNeedAuthData","store","getState","getCurrentCity","selectCompanyName"],"sourceRoot":""}