1import{$t as e,At as t,G as n,H as r,Q as i,S as a,St as o,Yt as s,_ as c,_t as l,b as u,d,g as f,k as p,ot as m,tt as h,v as g,x as _,y as v}from"./CItUzoCf.js";import{J as y}from"./DvVl4ASp.js";import{t as b}from"./fwdVujic.js";import{t as x}from"./D47HLcpn.js";import{r as S,t as C}from"./BC_E8tLB.js";import{t as w}from"./DmJOCB7O.js";import{n as T}from"./CQUdvJKr.js";import{n as E}from"./CzWkkpO1.js";import{t as D}from"./BDNMzG2s.js";import{t as O}from"./CSP1rGbu.js";var k=S(`scrollStore`,{state:()=>({enabled:!0}),actions:{setEnabled(e){this.enabled=e}},getters:{isEnabled(){return this.enabled}}}),A=e({default:()=>I});m(),p(),t();var j=[`data-theme`],M={class:`inner`},N={class:`flex flex-col gap-y-[10px]`},P={class:`inline-block text-2xl leading-[1.66] font-semibold font-body`,"data-submenu-title":``},F={class:`submenu`,"data-submenu":``},I=D({__name:`MobileMenu`,setup(e){let{data:t}=T(`options:global`);b(`cms:pages`);let{locale:p}=E(),{gsap:m}=w(),S=y(),D=l(null),A=f(()=>{switch(p.value){case`en`:return t.value.nav_menu_en;case`it`:return t.value.nav_menu_it}}),I=C(),L=k();i(()=>I.getMobileMenuOpen,e=>{e&&R(),!e&&z()});function R(){let e=m.timeline({onStart:()=>{L.setEnabled(!1),m.set(D.value,{pointerEvents:`auto`})}}),t=[...D.value.querySelectorAll(`li > span, li > a`)];e.addLabel(`start`),e.fromTo(D.value,{opacity:0},{opacity:1,duration:.4},`start`),e.fromTo(t,{opacity:0,y:10},{opacity:1,y:0,stagger:.07,duration:.65,ease:`power2.out`},`start+=0.1`)}function z(){m.to(D.value,{opacity:0,duration:.3,onStart:()=>{L.setEnabled(!0),m.set(D.value,{clearProps:`all`})}})}return(e,t)=>{let i=O,l=x;return r(),u(`div`,{class:`mobile-menu`,"data-theme":o(I).getNavigationColorTheme,"data-lenis-prevent":``,ref_key:`componentRef`,ref:D},[c(`div`,M,[c(`ul`,N,[(r(!0),u(d,null,n(o(A),(e,t)=>(r(),u(`li`,{key:t},[e.has_submenu?(r(),u(d,{key:0},[c(`span`,P,s(e.link.title),1),c(`ul`,F,[(r(!0),u(d,null,n([...e.submenu_main.items,...e.submenu_secondary.items],(e,t)=>(r(),u(`li`,{key:t,"data-submenu-item":``},[a(l,{to:e.link.url.replace(o(S).public.cmsUrl,``),class:`submenu-link`},{default:h(()=>[c(`span`,null,s(e.link.title),1),a(i,{class:`submenu-link-arrow`})]),_:2},1032,[`to`]),(e.sub_links,v(``,!0))]))),128))])],64)):(r(),g(l,{key:1,to:e.link.url.replace(o(S).public.cmsUrl,``),class:`inline-block text-2xl leading-[1.66] font-semibold font-body`},{default:h(()=>[_(s(e.link.title),1)]),_:2},1032,[`to`]))]))),128))])])],8,j)}}},[[`__scopeId`,`data-v-64e414fe`]]);export{A as n,k as r,I as t};
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.