1import I from"./OtRBDJZM.js";import O from"./DgStI7bG.js";import Z from"./B0yxnyJT.js";import{u as y,a7 as A,K as N,a as u,n as v,bd as T,ao as U,a4 as j,a8 as z,i as R,aA as E,e as F,b_ as q,x as K,s as P,o as p,af as g,w as b,k as t,c as C,ab as W,ac as G,m as a,aa as k,ad as J,a1 as L,j as x,dk as Q,_ as X,ae as Y,a9 as e1}from"./BAs5FZpY.js";import t1 from"./UXGvnpkA.js";import{_ as s1}from"./HeJ-xLyo.js";import{p as o1,b as n1,c as a1}from"./B1FB-80L.js";import{u as r1}from"./CX_YVWni.js";import"./DGo4halA.js";import"./DlAUqK2U.js";const i1=()=>{const c=y(),{defaultLocale:d}=A(),_=r1(),i=u(()=>U().path.toLowerCase()),f=u(()=>_.pageDataDic[i.value]?.item),l=u(()=>f.value?c.itemDic[f.value?.itmId]:null),o=u(()=>(l.value?.seos?.length??0)>0?T(l.value?.seos,s=>s.lg):{}),h=N(l);async function w(s,m=!1){if(h?.value?.trad[s]&&o.value[s]?.urcAbsolute){const n=`${c.config?.host_langs?.[s]??""}${o.value[s].urcAbsolute}`;m?document.location.href=n:await v(n)}else{const n=s==d?`${c.config?.host_langs?.[s]??""}/`:`${c.config?.host_langs?.[s]??""}/${s}`;m?document.location.href=n:await v(n)}}return{gotoLang:w}},l1={class:"bg-base-100 pointer-events-auto relative z-50 flex h-dvh w-dvw flex-col gap-[15px] overflow-y-auto overflow-x-clip px-[30px] pb-5 md:static md:w-[515px] md:gap-[60px] md:px-[60px]"},m1={class:"border-base-100 flex w-full shrink-0 flex-col overflow-clip border-2"},p1={class:"bg-base-100 sticky top-0 z-50 flex shrink-0 items-center pb-5 pt-5 uppercase tracking-[5.2px] md:pb-[80px] md:pt-[74px]"},u1={key:0},c1=["onClick"],d1={class:"font-cormorant w-full shrink-0 overflow-clip"},_1=j({__name:"Drawer",props:{},async setup(c){let d,_;o1(1920);const i=y();[d,_]=z(()=>i.ensureMenu()),await d,_();const{gotoLang:f}=i1();R(),E("isFront",F(!0));const l=q("mainMenu"),o=K("menuMobileOpen",()=>!1),h=u(()=>i.menuDic.main),s=n1(a1).smallerOrEqual("sm"),m=u(()=>i.menuDic.header_gift?.item);return P(o,()=>{o.value||l.value?.doCloseSubmenu(!1)}),(n,e)=>{const D=I,S=O,M=Z,$=X,V=t1,H=s1;return p(),g(H,{"max-width":a(s)?"100vw":"1030px",open:a(o),"onUpdate:open":e[2]||(e[2]=r=>e1(o)?o.value=r:null),"hide-header":"","hide-alert":"","disable-scroll":"","class-drawer":"text-primary pointer-events-none",onClose:e[3]||(e[3]=r=>o.value=!1)},{default:b(()=>[t("div",l1,[t("div",m1,[t("div",p1,[(p(),C("svg",{onClick:e[0]||(e[0]=r=>o.value=!1),width:"24",height:"24",class:"fill-secondary hover:fill-primary mr-auto cursor-pointer",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[...e[4]||(e[4]=[t("mask",{id:"mask0_2443_33033",style:{"mask-type":"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"24",height:"24"},[t("rect",{width:"24",height:"24",fill:"#D9D9D9"})],-1),t("g",{mask:"url(#mask0_2443_33033)"},[t("path",{d:"M6.4 19L5 17.6L10.6 12L5 6.4L6.4 5L12 10.6L17.6 5L19 6.4L13.4 12L19 17.6L17.6 19L12 13.4L6.4 19Z"})],-1)])])),(p(!0),C(W,null,G(a(i).config.langs,(r,B)=>(p(),C("div",null,[B>0?(p(),C("span",u1,"-")):k("",!0),t("span",{class:J(["cursor-pointer border-b-2 hover:font-bold",r==n.$i18n.locale?"border-primary font-bold":"border-transparent"]),onClick:f1=>a(f)(r,!0)},L(r),11,c1)]))),256))]),t("ul",d1,[x(D,{"menu-item":a(h),ref_key:"mainMenu",ref:l,level:0,onClosesubmenu:e[1]||(e[1]=r=>(o.value=!1,("closesubmenu"in n?n.closesubmenu:a(Q))()))},null,8,["menu-item"])])]),e[6]||(e[6]=t("hr",{class:"border-secondary -mx-[30px] md:-mx-[60px]"},null,-1)),x(S),e[7]||(e[7]=t("hr",{class:"border-secondary -mx-[30px] md:-mx-[60px]"},null,-1)),x(M,{class:"btnfront-alt w-full shrink-0 md:w-[180px] md:self-center",up:""}),a(m)&&a(s)?(p(),g($,{key:0,link:a(m)?.content?.link,class:"btninverted group flex shrink-0 px-[30px]"},{default:b(()=>[e[5]||(e[5]=t("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"fill-primary group-hover:fill-base-100 transition-all duration-500"},[t("mask",{id:"mask0_2817_584",style:{"mask-type":"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},[t("rect",{width:"20",height:"20",fill:"#D9D9D9"})]),t("g",{mask:"url(#mask0_2817_584)"},[t("path",{d:"M13.1218 10.2227L11.3237 8.61542C10.0502 7.43917 9.28795 6.58049 9.03684 6.03938C8.78573 5.49827 8.66017 5.04708 8.66017 4.68583C8.66017 4.03931 8.88024 3.49952 9.32038 3.06646C9.76038 2.63327 10.3175 2.41667 10.9918 2.41667C11.4164 2.41667 11.8081 2.52167 12.1668 2.73167C12.5257 2.94153 12.8441 3.20729 13.1218 3.52896C13.3857 3.1934 13.7011 2.92417 14.0681 2.72125C14.435 2.5182 14.8312 2.41667 15.2566 2.41667C1
15.9029 2.41667 16.4523 2.6434 16.9048 3.09688C17.3571 3.55021 17.5833 4.1007 17.5833 4.74833C17.5833 5.10958 17.4634 5.55729 17.2235 6.09146C16.9836 6.62563 16.227 7.46695 14.9535 8.61542L13.1218 10.2227ZM13.1218 8.795L14.2131 7.86063C15.0902 7.09993 15.6906 6.46452 16.0143 5.95438C16.3381 5.44424 16.5 5.04222 16.5 4.74833C16.5 4.39958 16.3791 4.10431 16.1375 3.8625C15.8957 3.62084 15.6004 3.5 15.2516 3.5C14.9877 3.5 14.7463 3.56889 14.5273 3.70667C14.3082 3.84458 14.1148 4.01931 13.947 4.23083L13.1218 5.19542L12.2964 4.23083C12.1286 4.01931 11.9352 3.84458 11.7162 3.70667C11.4973 3.56889 11.2559 3.5 10.9918 3.5C10.6489 3.5 10.3552 3.62084 10.1106 3.8625C9.86586 4.10431 9.7435 4.39958 9.7435 4.74833C9.7435 4.95889 9.87066 5.28799 10.125 5.73563C10.3793 6.18327 11.0352 6.8916 12.0929 7.86063L13.1218 8.795ZM5.75163 15.3142L11.5079 17.1298L16.4198 15.6298C16.3354 15.2741 16.1648 15.0076 15.9077 14.8302C15.6507 14.6528 15.3599 14.5642 15.0352 14.5642H10.7666C10.5419 14.5642 10.2954 14.5468 10.0273 14.5121C9.75906 14.4774 9.49781 14.413 9.2435 14.319L7.88309 13.8013L8.25309 12.7644L9.71142 13.3302C9.88031 13.4017 10.043 13.446 10.1995 13.4631C10.3561 13.4802 10.5027 13.4861 10.6393 13.4808H12.556C12.556 13.2885 12.52 13.1383 12.4479 13.0304C12.3758 12.9225 12.2569 12.8354 12.0912 12.7692L6.79809 10.8685C6.78198 10.8633 6.76725 10.8593 6.75392 10.8567C6.74059 10.8539 6.72593 10.8525 6.70996 10.8525H5.75163V15.3142ZM1.58496 17.5833V9.76938H6.65871C6.7601 9.76938 6.85566 9.77896 6.94538 9.79813C7.03524 9.81743 7.12239 9.84063 7.20684 9.86771L12.5095 11.7581C12.8461 11.8841 13.1185 12.0987 13.3268 12.4019C13.5352 12.7051 13.6393 13.0647 13.6393 13.4808H15.0352C15.7782 13.4808 16.3886 13.7365 16.8664 14.2477C17.3443 14.7588 17.5833 15.3643 17.5833 16.0642V16.4038L11.5287 18.2596L5.75163 16.46V17.5833H1.58496ZM2.66829 16.5H4.66829V10.8525H2.66829V16.5Z"})])],-1)),Y(" "+L(n.$getDisplayText(a(m))),1)]),_:1},8,["link"])):k("",!0),x(V)])]),_:1},8,["max-width","open"])}}}),D1=Object.assign(_1,{__name:"MenuDrawer"});export{D1 as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.