(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7187],{26316:function(e,n,t){Promise.resolve().then(t.bind(t,21848)),Promise.resolve().then(t.t.bind(t,27565,23)),Promise.resolve().then(t.t.bind(t,76583,23)),Promise.resolve().then(t.t.bind(t,69696,23)),Promise.resolve().then(t.t.bind(t,86034,23)),Promise.resolve().then(t.bind(t,16715)),Promise.resolve().then(t.bind(t,83261)),Promise.resolve().then(t.t.bind(t,19801,23)),Promise.resolve().then(t.t.bind(t,38068,23)),Promise.resolve().then(t.bind(t,16456)),Promise.resolve().then(t.bind(t,53417)),Promise.resolve().then(t.bind(t,69767)),Promise.resolve().then(t.t.bind(t,88003,23)),Promise.resolve().then(t.t.bind(t,40069,23)),Promise.resolve().then(t.bind(t,75054)),Promise.resolve().then(t.bind(t,93750))},75054:function(e,n,t){"use strict";t.d(n,{LayoutClientPage:function(){return h}});var i=t(57437),r=t(30631),o=t(96702),l=t(1075),s=t(83261),a=t(17730),u=t(30166),d=t(10655);function c(){let e="true"===(0,d.S)("NEXT_PUBLIC_FINGPT_ENABLE")?(0,u.default)(()=>t.e(3673).then(t.bind(t,65370)).then(e=>e.FinGPTWidgetManager),{loadableGenerated:{webpack:()=>[null]},ssr:!1}):()=>null;return(0,i.jsx)(e,{platform:"finuslugi",showTooltip:!0,tooltipText:{title:"FinGPT — финансовый AI ассистент",subtitle:"Задайте вопрос о финансах"}})}var _=t(97279),v=t.n(_);function h(e){var n,t;let{children:u,header:_,support:h,faq:m,footer:P}=e,f=null==m?void 0:m.value.blocks[0];return(0,i.jsxs)("div",{className:v().root,children:[_&&(0,i.jsx)(s.h,{data:_.value,showcaseUrl:(0,d.S)("NEXT_PUBLIC_SHOWCASE_ORIGIN"),minioUrl:(0,d.S)("NEXT_PUBLIC_S3_ASSETS"),lkUrl:(0,d.S)("NEXT_PUBLIC_MARKETPLACE_LK_BASE_URL")}),(0,i.jsx)("main",{className:v().main,children:u}),h&&(0,i.jsx)(a.B,{appCard:h.value.appCard,phoneCard:h.value.phoneCard,s3Assets:(0,d.S)("NEXT_PUBLIC_S3_MINIO_BASE_URL")}),f&&(0,i.jsx)("div",{className:v().faq,children:(0,i.jsx)(o.C,{sectionTitle:f.title,questions:f.faqs,dataLayerPush:r.AB,href:null===(n=f.readAllText)||void 0===n?void 0:n.link,checkAllText:null===(t=f.readAllText)||void 0===t?void 0:t.text})}),P&&(0,i.jsx)(l.Footer,{data:P.value,showcaseUrl:(0,d.S)("NEXT_PUBLIC_SHOWCASE_ORIGIN"),minioUrl:(0,d.S)("NEXT_PUBLIC_S3_ASSETS")}),(0,i.jsx)(c,{})]})}},10655:function(e,n,t){"use strict";t.d(n,{S:function(){return r}});var i=t(50666);function r(e){return(0,i.env)(e)}},93750:function(e,n,t){"use strict";t.d(n,{Portal:function(){return l}});var i=t(57437),r=t(2265),o=t(54887);function l(e){let{children:n,id:t="portal-root"}=e,[l,s]=(0,r.useState)(null);return(0,r.useEffect)(()=>(function(){let e=document.getElementById(t);if(e){s(e);return}let n=document.createElement("div");return n.id=t,document.body.appendChild(n),s(n),()=>{document.body.removeChild(n)}})(),[t]),l?(0,i.jsx)(i.Fragment,{children:(0,o.createPortal)(n,l)}):null}},40069:function(){},97279:function(e){e.exports={root:"LayoutClientPage_root__kkkqM",faq:"LayoutClientPage_faq__vXvRN",main:"LayoutClientPage_main__iSd7W"}}},function(e){e.O(0,[729,9125,4875,9977,2923,6418,4603,862,4519,7816,6770,7437,4766,2245,3419,5444,3646,8889,397,5654,6034,8003,4441,9706,2949,2971,2117,1744],function(){return e(e.s=26316)}),_N_E=e.O()}]);