{ "version": 3, "sources": ["mask:./src/pages/**/*.tsx?#path", "../../src/layouts/WrapperPage/WrapperPage.tsx", "../../modules.config.js"], "sourcesContent": ["export default [\"src/pages/404.tsx\",\"src/pages/_app.tsx\",\"src/pages/account/[productId].tsx\",\"src/pages/auth/index.tsx\",\"src/pages/card/[productId].tsx\",\"src/pages/chat/index.tsx\",\"src/pages/closed.tsx\",\"src/pages/credit/[productId].tsx\",\"src/pages/creditLine/[productId].tsx\",\"src/pages/hidden-products.tsx\",\"src/pages/index.tsx\",\"src/pages/mfo-payment-error/index.tsx\",\"src/pages/mfo-payment-success/index.tsx\",\"src/pages/mfoContract/[productId].tsx\",\"src/pages/more/index.tsx\",\"src/pages/transfers/index.tsx\",\"src/pages/transfers/requisites.tsx\"]", "import React from 'react'\nimport styled from '@emotion/styled'\n\nconst Wrapper = styled.div(() => ({\n minHeight: '100%',\n height: '100%',\n display: 'flex',\n flexDirection: 'column',\n overflow: 'auto',\n}))\n\nexport const WrapperPage =\n (Render) =>\n ({ children, ...other }) =>\n (\n \n \n {children}\n \n )\n", "import req from './src/pages/**/*.tsx?#path'\nimport Root from '@/pages/_app.js'\nimport { WrapperPage } from '@/layouts/WrapperPage/WrapperPage.js'\nimport { lazy } from 'react'\n\nglobal.middleware = [Root]\n\nconst config = {}, components = {}\n\nfor (const fileName of req) {\n const path = fileName.replace('src/pages', '').replace('/index', '').replace('.tsx', '')\n\n let p = path\n \n p += '/'\n\n components[p + 'page'] = {\n id: p + 'page',\n name: 'Page',\n props: {\n title: p,\n route: p,\n children: [p],\n },\n children: [p],\n }\n\n components[p] = {\n id: p,\n name: p,\n props: {\n children: [\"4dec60b5-a58b-45a0-ab69-0e45c93931e0\"],\n },\n children: [\"4dec60b5-a58b-45a0-ab69-0e45c93931e0\"],\n }\n\n const { js } = global.entrypoints['pages' + p] || {}\n\n const src = '/' + js[0]\n\n config[p] = {\n Component: WrapperPage(lazy(() => import(src))),\n schema: {\n $title: `\u0421\u0442\u0440\u0430\u043D\u0438\u0446\u0430 ${p}`,\n props: {\n $title: `\u0421\u0442\u0440\u0430\u043D\u0438\u0446\u0430 ${p}`,\n children: Object.assign([{ $type: 'component' }], {\n $title: '\u0412\u043B\u043E\u0436\u0435\u043D\u043D\u043E\u0441\u0442\u044C',\n $type: 'tree',\n }),\n },\n },\n }\n}\n\nif (global.builderStore) {\n global.builderStore.dispatch({\n type: 'app/setItems',\n payload: [\n [['components'], (prev = {}) => ({ ...prev, ...components })],\n ],\n })\n} else {\n global.REDUX = { components: { ...components } };\n}\n\nglobal.components = Object.assign(global.components || {}, config)\n"], "mappings": "s0CAAA,IAAOA,EAAQ,CAAC,oBAAoB,qBAAqB,oCAAoC,2BAA2B,iCAAiC,2BAA2B,uBAAuB,mCAAmC,uCAAuC,gCAAgC,sBAAsB,wCAAwC,0CAA0C,wCAAwC,2BAA2B,gCAAgC,oCAAoC,ECApiB,IAAAC,EAAkB,SAGlB,IAAMC,EAAUC,EAAO,IAAI,KAAO,CAChC,UAAW,OACX,OAAQ,OACR,QAAS,OACT,cAAe,SACf,SAAU,MACZ,EAAE,EAEWC,EACVC,GACD,CAAC,CAAE,SAAAC,EAAU,GAAGC,CAAM,IAElB,EAAAC,QAAA,cAACN,EAAA,KACC,EAAAM,QAAA,cAACH,EAAA,CAAQ,GAAGE,EAAO,EAClBD,CACH,ECfN,IAAAG,EAAqB,SAErB,KAAO,WAAa,CAACC,CAAI,EAEzB,IAAMC,EAAS,CAAC,EAAGC,EAAa,CAAC,EAEjC,QAAWC,KAAYC,EAAK,CAG1B,IAAIC,EAFSF,EAAS,QAAQ,YAAa,EAAE,EAAE,QAAQ,SAAU,EAAE,EAAE,QAAQ,OAAQ,EAAE,EAIvFE,GAAK,IAELH,EAAWG,EAAI,MAAM,EAAI,CACvB,GAAIA,EAAI,OACR,KAAM,OACN,MAAO,CACL,MAAOA,EACP,MAAOA,EACP,SAAU,CAACA,CAAC,CACd,EACA,SAAU,CAACA,CAAC,CACd,EAEAH,EAAWG,CAAC,EAAI,CACd,GAAIA,EACJ,KAAMA,EACN,MAAO,CACL,SAAU,CAAC,sCAAsC,CACnD,EACA,SAAU,CAAC,sCAAsC,CACnD,EAEA,GAAM,CAAE,GAAAC,CAAG,EAAI,KAAO,YAAY,QAAUD,CAAC,GAAK,CAAC,EAE7CE,EAAM,IAAMD,EAAG,CAAC,EAEtBL,EAAOI,CAAC,EAAI,CACV,UAAWG,KAAY,QAAK,IAAM,OAAOD,EAAI,CAAC,EAC9C,OAAQ,CACN,OAAQ,oDAAYF,CAAC,GACrB,MAAO,CACL,OAAQ,oDAAYA,CAAC,GACrB,SAAU,OAAO,OAAO,CAAC,CAAE,MAAO,WAAY,CAAC,EAAG,CAChD,OAAQ,qEACR,MAAO,MACT,CAAC,CACH,CACF,CACF,CACF,CAEI,KAAO,aACT,KAAO,aAAa,SAAS,CAC3B,KAAM,eACN,QAAS,CACP,CAAC,CAAC,YAAY,EAAG,CAACI,EAAO,CAAC,KAAO,CAAE,GAAGA,EAAM,GAAGP,CAAW,EAAE,CAC9D,CACF,CAAC,EAED,KAAO,MAAQ,CAAE,WAAY,CAAE,GAAGA,CAAW,CAAE,EAGjD,KAAO,WAAa,OAAO,OAAO,KAAO,YAAc,CAAC,EAAGD,CAAM", "names": ["__default", "import_react", "Wrapper", "emotion_styled_browser_esm_default", "WrapperPage", "Render", "children", "other", "React", "import_react", "app_default", "config", "components", "fileName", "__default", "p", "js", "src", "WrapperPage", "prev"] }