(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[185],{2140:function(e,n,o){Promise.resolve().then(o.bind(o,1810)),Promise.resolve().then(o.t.bind(o,4380,23)),Promise.resolve().then(o.t.bind(o,5530,23)),Promise.resolve().then(o.t.bind(o,9928,23)),Promise.resolve().then(o.t.bind(o,1277,23)),Promise.resolve().then(o.bind(o,2116)),Promise.resolve().then(o.bind(o,4479)),Promise.resolve().then(o.bind(o,7146)),Promise.resolve().then(o.bind(o,9006)),Promise.resolve().then(o.bind(o,9994)),Promise.resolve().then(o.t.bind(o,5935,23)),Promise.resolve().then(o.t.bind(o,2327,23)),Promise.resolve().then(o.t.bind(o,6075,23)),Promise.resolve().then(o.t.bind(o,7615,23)),Promise.resolve().then(o.bind(o,916)),Promise.resolve().then(o.bind(o,3166)),Promise.resolve().then(o.bind(o,90)),Promise.resolve().then(o.bind(o,8083)),Promise.resolve().then(o.bind(o,965)),Promise.resolve().then(o.bind(o,2217)),Promise.resolve().then(o.bind(o,6962)),Promise.resolve().then(o.bind(o,9389))},90:function(e,n,o){"use strict";o.r(n),o.d(n,{LayoutClientPage:function(){return c}});var t=o(7437),i=o(2265),r=o(6874),s=o(915),l=o(9623),a=o(4479),d=o(9809),u=o(8869),m=o.n(u);function c(e){let{children:n,header:o,footer:u}=e;return(0,i.useEffect)(()=>{(0,s.zK)()},[]),(0,t.jsx)(r.Yy,{children:(0,t.jsxs)("div",{children:[o&&(0,t.jsx)(a.Header,{data:o.value,showcaseUrl:(0,d.SJ)("NEXT_PUBLIC_SHOWCASE_ORIGIN"),minioUrl:(0,d.SJ)("NEXT_PUBLIC_S3_ASSETS"),lkUrl:(0,d.SJ)("NEXT_PUBLIC_LK_URL")}),(0,t.jsx)("main",{className:m().main,children:n}),u&&(0,t.jsx)(l.$,{data:u.value,showcaseUrl:(0,d.SJ)("NEXT_PUBLIC_SHOWCASE_ORIGIN"),minioUrl:(0,d.SJ)("NEXT_PUBLIC_S3_ASSETS")})]})})}},916:function(e,n,o){"use strict";o.r(n),o.d(n,{Logo:function(){return u}});var t=o(7437),i=o(2265),r=o(703),s={src:"/invest/currency/_next/static/media/no-logo.aee2f188.svg",height:32,width:32,blurWidth:0,blurHeight:0},l=o(3167),a=o(3411),d=o.n(a);let u=(0,i.memo)(function(e){let{src:n,alt:o,size:a=46,className:u}=e,[m,c]=(0,i.useState)(!1);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(i.Suspense,{children:(0,t.jsx)(r.default,{"data-qa":"logo-image",className:(0,l.Z)(d().logoImage,!m&&d().hidden,u),src:null!=n?n:s,alt:o,width:a,height:a,onLoad:function(e){let{currentTarget:n}=e;n.naturalWidth>0&&c(!0)},unoptimized:!0})}),(0,t.jsx)(r.default,{"data-qa":"logo-no-logo-image",className:(0,l.Z)(d().logoImage,m&&d().notDisplayed,u),src:s,alt:"Логотип не загрузился",width:a,height:a})]})});u.displayName="Logo"},3166:function(e,n,o){"use strict";o.r(n),o.d(n,{Portal:function(){return s}});var t=o(7437),i=o(2265),r=o(4887);function s(e){let{children:n,id:o="portal-root"}=e,[s,l]=(0,i.useState)(null);return(0,i.useEffect)(()=>{let e=document.getElementById(o);if(e){l(e);return}let n=document.createElement("div");return n.id=o,document.body.appendChild(n),l(n),()=>{document.body.removeChild(n)}},[o]),s?(0,t.jsx)(t.Fragment,{children:(0,r.createPortal)((0,t.jsx)(t.Fragment,{children:n}),s)}):null}},2327:function(){},8869:function(e){e.exports={main:"LayoutClientPage_main__gtx0i"}},7615:function(e){e.exports={box:"Box_box__U3pTk","box--primary":"Box_box--primary__bmk_7","box--secondary":"Box_box--secondary__E8F3g"}},6075:function(e){e.exports={container:"Label_container__LjkWo",text:"Label_text__xhgVL"}},3411:function(e){e.exports={logoImage:"Logo_logoImage__k98yw",notDisplayed:"Logo_notDisplayed__wxRml",hidden:"Logo_hidden__EbuIV"}}},function(e){e.O(0,[158,207,77,111,749,711,952,95,611,971,69,744],function(){return e(e.s=2140)}),_N_E=e.O()}]);