(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3097],{83097:function(e,n,t){"use strict";var r,o,i,s,c,a,u,l,d,f,p,m=t(92809),v=t(52209),b=t(91164),y=t(49711),g=t(59016),w=(t(67294),t(92145)),O=t(75749),h=t.n(O),j=t(94184),x=t.n(j),P=t(5152),Z=t(80189),_=t(75352),C=t(65411),D=t(56433),E=t(43301),S=t(18390),N=t(42225),$=t.n(N),k=t(21299),M=t(35635),L=t(79078),I=t(85893),T=["isLanding","isMainWide","noFooter","topContent","rightColumn","leftColumn","bottomContent","mainStyle","mainClassName","style","className","children","theme","wrapperClassName","bottomContentFullWidth"];function F(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function B(e){for(var n=1;n components/rare/LoginToDoMore"]}}),R=(0,P.default)((function(){return Promise.all([t.e(9586),t.e(2749),t.e(6369),t.e(9535),t.e(8179),t.e(2401),t.e(6717),t.e(4165),t.e(6428)]).then(t.bind(t,56428))}),{ssr:!1,loadableGenerated:{webpack:function(){return[56428]},modules:["../components/layouts/MainColWideLayout/index.tsx -> components/rare/PremiumCompanyToDoMore"]}}),U=(0,D.U)((function(){return Promise.all([t.e(4885),t.e(9586),t.e(2749),t.e(6369),t.e(9535),t.e(8179),t.e(2401),t.e(8453),t.e(6717),t.e(1033),t.e(8719),t.e(7648),t.e(6609),t.e(407),t.e(4976),t.e(1980),t.e(3592),t.e(3958),t.e(4841),t.e(1732),t.e(5256),t.e(1837),t.e(946),t.e(5988),t.e(7585),t.e(8005),t.e(6793),t.e(5353),t.e(6053),t.e(548)]).then(t.bind(t,43181)).then((function(e){return e.Footer}))}),{id:"footer-section",noScrollResolve:!0}),G=(0,y.Z)(U,2),H=G[0],V=G[1];n.Z=function(e){var n=e.isLanding,t=void 0!==n&&n,m=e.isMainWide,y=void 0!==m&&m,g=e.noFooter,O=void 0!==g&&g,j=e.topContent,P=void 0===j?null:j,D=e.rightColumn,N=e.leftColumn,F=e.bottomContent,U=e.mainStyle,G=void 0===U?{}:U,Y=e.mainClassName,z=void 0===Y?"":Y,A=e.style,J=void 0===A?{}:A,K=e.className,Q=void 0===K?"":K,X=e.children,ee=e.theme,ne=void 0===ee?"dark":ee,te=e.wrapperClassName,re=void 0===te?"":te,oe=e.bottomContentFullWidth,ie=(0,b.Z)(e,T);V();var se=(0,_.Z)(),ce=(0,S.Z)(10),ae=ce.scrollDirection,ue=!ce.navBarInView&&"down"===ae,le="up"===ae,de=(0,w.v9)(L.w.breakpoint).belowLg,fe=k.Z.useContainer(),pe=fe.isLoading,me=fe.loadingType,ve=(0,M.I)(),be=ve.loginToDoMore,ye=ve.premiumCompanyToDoMore,ge=ve.modalProps;return(0,I.jsxs)("div",{className:x()(re,pe(me.FULL_SCREEN)&&"pointer-events-none","safe-area max-w-screen min-h-screen m-0 relative flex flex-col text-sm bg-gray-light overflow-hidden"),children:[(0,I.jsx)(Z.Z,{}),(0,I.jsx)("div",{id:"page-content",className:x()(("dark"===ne||"transparent"===ne)&&$().wrapper),children:t?(0,I.jsx)("main",{style:J,className:Q,children:X}):(0,I.jsxs)(I.Fragment,{children:[!!P&&P,(0,I.jsx)(q,{style:J,className:x()("flex mx-auto",Q),$_css:C.ZP.md(r||(r=(0,v.Z)(["width: 768px; padding: 16px;"]))),$_css2:C.ZP.lg(o||(o=(0,v.Z)(["width: 1280px;"]))),$_css3:C.ZP.sm(i||(i=(0,v.Z)(["width: 0;"]))),$_css4:C.ZP.md(s||(s=(0,v.Z)(["width: 200px; margin-left: 16px;"]))),$_css5:C.ZP.lg(c||(c=(0,v.Z)(["width: 256px; margin-left: 16px;"]))),$_css6:C.ZP.sm(a||(a=(0,v.Z)(["width: 100vw"]))),$_css7:C.ZP.md(u||(u=(0,v.Z)(["width: 720px;"]))),$_css8:y?C.ZP.lg(l||(l=(0,v.Z)(["width: 992px;"]))):"",$_css9:C.ZP.sm(d||(d=(0,v.Z)(["width: 0;"]))),$_css10:C.ZP.md(f||(f=(0,v.Z)(["width: 200px; margin-right: 16px;"]))),$_css11:C.ZP.lg(p||(p=(0,v.Z)(["width: 240px; margin-right: 16px;"]))),children:(0,I.jsxs)("div",{className:"relative flex mx-auto",children:[!!N&&!de&&(0,I.jsx)("aside",{className:"mb-4 grid grid-cols-1 gap-8",children:(0,I.jsx)(h(),{top:ue?16:le?se+16:0,bottomBoundary:"#page-content",innerClass:"w-full pb-2 z-10",className:"w-full",children:(0,I.jsx)(N,{})})}),(0,I.jsxs)("main",B(B({style:G,className:x()("flex flex-col",z)},(0,E.x)(ie)),{},{children:[X,F&&(0,I.jsx)(F,{})]})),!!D&&!de&&(0,I.jsx)("aside",{className:"grid grid-cols-1 gap-8",children:(0,I.jsx)(h(),{top:ue?16:le?se+16:0,bottomBoundary:"#page-content",innerClass:"w-full pb-2 z-10",className:"w-full",children:(0,I.jsx)(D,{})})})]})})]})}),oe,be&&(0,I.jsx)(W,B({},ge)),ye&&(0,I.jsx)(R,B({},ge)),!O&&(0,I.jsx)("div",{id:"footer-section",children:(0,I.jsx)(H,{})})]})};var q=(0,g.ZP)("div").withConfig({displayName:"MainColWideLayout___StyledDiv",componentId:"sc-indoyd-0"})([""," "," & aside:last-child{"," "," ","}& main{margin:0px;"," "," ","}& aside:first-child{"," "," ","}"],(function(e){return e.$_css}),(function(e){return e.$_css2}),(function(e){return e.$_css3}),(function(e){return e.$_css4}),(function(e){return e.$_css5}),(function(e){return e.$_css6}),(function(e){return e.$_css7}),(function(e){return e.$_css8}),(function(e){return e.$_css9}),(function(e){return e.$_css10}),(function(e){return e.$_css11}))},80189:function(e,n,t){"use strict";t.d(n,{Z:function(){return j}});var r=t(92809),o=t(91164),i=t(67294),s=t(18390),c=t(49711),a=t(5152),u=t(40313),l=t(56433),d=t(85893),f=(0,l.U)((function(){return Promise.all([t.e(4885),t.e(806),t.e(9586),t.e(2749),t.e(7115),t.e(6369),t.e(9535),t.e(8179),t.e(2401),t.e(8453),t.e(5749),t.e(6717),t.e(1033),t.e(8719),t.e(7648),t.e(6609),t.e(407),t.e(4976),t.e(6721),t.e(381),t.e(4384),t.e(3351),t.e(3086),t.e(5684)]).then(t.bind(t,33034))}),{id:"navbar",timeout:5e3,noScrollResolve:!0}),p=(0,c.Z)(f,2),m=p[0],v=p[1],b=(0,a.default)((function(){return Promise.all([t.e(4885),t.e(806),t.e(9586),t.e(2749),t.e(7115),t.e(6369),t.e(9535),t.e(8179),t.e(2401),t.e(8453),t.e(5749),t.e(6717),t.e(1033),t.e(8719),t.e(7648),t.e(6609),t.e(407),t.e(4976),t.e(6721),t.e(381),t.e(4384),t.e(3351),t.e(3086),t.e(3386)]).then(t.bind(t,9890))}),{loadableGenerated:{webpack:function(){return[9890]},modules:["../components/rare/Navbar/Navbar.tsx -> ./old/mobile"]}}),y=function(e){var n=e.fixed;v();var t=(0,u.Z)().isMobile;return(0,d.jsx)("div",{id:"navbar",children:t?(0,d.jsx)(b,{fixed:n,noLogo:!0}):(0,d.jsx)(m,{fixed:n})})},g=t(90210),w=["fixed"];function O(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function h(e){for(var n=1;n1&&void 0!==arguments[1]?arguments[1]:"down",t=(0,r.useState)(n),i=t[0],s=t[1],c=(0,r.useState)(!0),a=c[0],u=c[1],l=(0,r.useContext)(o.ZP);return(0,r.useEffect)((function(){var n=window.pageYOffset,t=!0,r="dark"===l?62:88,o=function(){var r=window.pageYOffset;Math.abs(r-n)n?"down":"up"),n=r>0?r:0),t=!0},i=function(){window.pageYOffset<=r?u(!0):u(!1),t&&(window.requestAnimationFrame(o),t=!1)};return window.addEventListener("scroll",i),function(){return window.removeEventListener("scroll",i)}}),[i,e]),{scrollDirection:i,navBarInView:a}}},35635:function(e,n,t){"use strict";t.d(n,{I:function(){return l}});var r=t(92809),o=t(92145),i=t(92759),s=t(61762);function c(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function a(e){for(var n=1;n