"use strict";(self.webpackChunkui=self.webpackChunkui||[]).push([[27],{137:(e,n,t)=>{t.r(n),t.d(n,{default:()=>l});const l={backButton:"F3IUEpVA",container:"PZxShQog"}},136:(e,n,t)=>{const l=t(67);(0,t(2).createEntrypoint)("menu",l.MenuComponent)},67:function(e,n,t){var l=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(n,"__esModule",{value:!0}),n.MenuComponent=function({mainMenu:e}){return(0,i.jsx)(s.Fragment,{children:e.map((e=>(0,i.jsx)(s.Fragment,{children:(0,i.jsx)(c,{item:e})})))})};const i=t(0),s=t(1),r=l(t(137));function u({children:e}){return(0,i.jsx)("div",{class:"menuItem",children:e})}function c({item:e,level:n=0,parent:t=""}){var l,o,d;const h="items"in e&&e.items&&e.items.length>0,m=null===(o=null===(l=null==e?void 0:e.title)||void 0===l?void 0:l.toLowerCase())||void 0===o?void 0:o.replace(/[^a-z0-9]+/g,"-"),p=`${t}-menu-item-${m}-${n}`;return h?(0,i.jsxs)(u,{children:[(0,i.jsx)("input",{type:"checkbox",id:p,name:`menu-group-${n}`,class:"toggleCheckbox"}),(0,i.jsxs)("label",{for:p,class:`menuLabel ${r.default.container}`,children:[(0,i.jsx)("span",{children:e.title}),(0,i.jsx)("span",{children:"→"})]}),(0,i.jsxs)("div",{class:"subMenu",children:[(0,i.jsxs)("label",{for:p,class:r.default.backButton,children:["← ",e.title]}),null===(d=null==e?void 0:e.items)||void 0===d?void 0:d.map((e=>(0,i.jsx)(s.Fragment,{children:(0,i.jsx)(c,{item:e,level:n+1,parent:m})})))]})]}):e.title.includes("*")?(0,i.jsxs)("a",{href:e.url,class:"menuItemLink",style:"display: flex; align-items: center;",children:[(0,i.jsx)(a,{})," ",e.title.split("*")[1]]}):(0,i.jsx)("a",{href:e.url,class:"menuItemLink",children:e.title})}function a(){return(0,i.jsx)("svg",{width:"20",height:"20",fill:"#48c6f1",style:"margin-right: var(--section-padding);",xmlns:"http://www.w3.org/2000/svg",children:(0,i.jsx)("path",{d:"M9.995 0l3.095 6.263 6.91.998-5.007 4.878 1.182 6.882-6.18-3.252-6.18 3.252 1.183-6.882L0 7.26l6.91-.998L9.995 0z",fill:"%2348C6F1"})})}}},e=>{e.O(0,[1],(()=>e(e.s=136))),e.O()}]);