"use strict";exports.id=3965,exports.ids=[3965],exports.modules={83965:(e,t,r)=>{r.a(e,async(e,a)=>{try{r.d(t,{Z:()=>GeneralContainer});var l=r(20997),o=r(16689),s=r(11163),d=r(66197),i=r(30976),n=r(11355),x=r(97514),p=r(80189),c=r(91389),m=r(20503),b=r(47180),h=r(11377),g=e([d]);d=(g.then?(await g)():g)[0];let f=[{label:"text-help-page-title",path:x.Z.help},{label:"text-license-agreement",path:x.Z.licensing},{label:"text-terms-and-conditions",path:x.Z.terms},{label:"text-privacy-page-title",path:x.Z.privacy}];function SidebarNav(){let{t:e}=(0,h.useTranslation)("common");return l.jsx("nav",{className:"hidden pt-4 text-13px md:flex lg:flex-col",children:f.map(t=>l.jsx(p.Z,{href:t.path,className:"relative flex items-center gap-3 px-4 py-5 before:absolute before:left-0 before:-bottom-[1px] before:block before:h-[1px] before:w-full before:rounded-full before:bg-brand before:opacity-0 before:transition-opacity hover:text-dark focus:text-dark dark:hover:text-light dark:focus:text-light lg:bottom-auto lg:py-3.5 lg:pl-12 lg:pr-8 lg:before:left-7 lg:before:top-1/2 lg:before:h-1.5 lg:before:w-1.5 lg:before:-translate-y-0.5",activeClassName:"text-dark dark:text-light font-medium before:opacity-100",children:e(t.label)},t.label))})}function SidebarMobileNav(){let{t:e}=(0,h.useTranslation)("common"),{pathname:t}=(0,s.useRouter)(),r=f.findIndex(e=>e.path===t),[a,d]=(0,o.useState)(f[r]);return(0,o.useEffect)(()=>{d(f[r])},[r]),l.jsx("nav",{className:"mb-6 flex flex-col sm:mb-8 md:hidden",children:l.jsx(i.R,{value:a,onChange:d,children:(0,l.jsxs)("div",{className:"relative",children:[(0,l.jsxs)(i.R.Button,{className:"group flex w-full items-center justify-between rounded-md border border-light-500 py-[11px] px-4 text-13px font-medium text-dark ring-[0.5px] ring-light-500 dark:border-dark-600 dark:text-light dark:ring-dark-600 sm:py-3 sm:px-5 sm:text-sm md:py-3.5",children:[l.jsx("span",{className:"flex items-center gap-2.5 truncate sm:gap-3",children:e(a?.label)}),l.jsx("span",{className:"pointer-events-none text-light-base group-hover:text-dark dark:text-dark-base dark:group-hover:text-light",children:l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-[17px] w-[17px]",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 9l-7 7-7-7"})})})]}),l.jsx(n.u,{as:o.Fragment,leave:"transition ease-in duration-100",leaveFrom:"opacity-100",leaveTo:"opacity-0",children:l.jsx(i.R.Options,{className:"absolute z-30 mt-1 max-h-60 w-full overflow-auto rounded-md bg-light pt-1 pb-2 text-base shadow-dropdown dark:bg-dark-100",children:f.map((t,r)=>l.jsx(i.R.Option,{value:t,children:l.jsx(p.Z,{href:t.path,className:"flex items-center gap-2.5 px-4 py-2 text-13px hover:text-dark focus:text-dark dark:hover:text-light dark:focus:text-light sm:px-5 sm:py-3 sm:text-sm md:py-3.5",activeClassName:"text-dark dark:text-light font-medium bg-light-400 dark:bg-dark-300",children:e(t.label)})},r))})})]})})})}function GeneralContainer({children:e}){let t=(0,m.G)(),r=(0,b.t)();return(0,l.jsxs)("div",{className:"relative flex w-full flex-col overflow-hidden rounded-md bg-light p-4 shadow-card dark:bg-dark-200 dark:shadow-none xs:p-5 md:p-8 lg:flex-row lg:p-0",children:[l.jsx("aside",{className:"shrink-0 justify-center border-light-300 dark:border-dark-400 md:flex md:border-b lg:block lg:w-72 lg:border-b-0 ltr:lg:border-r rtl:lg:border-l lg:dark:border-dark-300 lg:dark:bg-dark-250 xl:w-80",children:r&&-1!==["xs","sm"].indexOf(t)?l.jsx(SidebarMobileNav,{}):l.jsx(SidebarNav,{})}),l.jsx(d.motion.div,{variants:(0,c.op)(),className:"w-full flex-grow pt-4 pb-4 sm:pb-2 md:pt-10 lg:p-10 xl:p-12",children:e})]})}a()}catch(e){a(e)}})}};