PageSourceSearch

https://www.fablaquila.org/_nuxt/Cl-68foH.js

js fablaquila.org collected 2026-10-08 05:49:38 UTC 9,364 bytes, 1 lines download raw bytes

1import{B as e,F as t,G as n,It as r,K as i,L as a,M as o,Nt as s,V as c,W as l,X as u,Y as d,_ as f,b as p,d as m,f as h,ft as g,k as _,o as v,ot as y,p as b,r as x,tt as S,u as C,v as w}from"./BLNNwZYM.js";import{o as T,s as E,t as D}from"./BNdp5v4p.js";import{t as O,w as k,y as A}from"#entry";import{m as j,n as M}from"./LoeXtZTo.js";var N={class:`flex flex-col gap-1 md:flex-row md:items-center md:gap-6`},P=[`aria-expanded`,`onClick`],F={class:`mt-1 flex flex-col gap-1 border-l border-white/10 pl-4 md:absolute md:left-0 md:top-full md:mt-2 md:min-w-48 md:border-l-0 md:border md:border-white/10 md:bg-bg md:p-2 md:pl-2 md:shadow-xl md:shadow-black/50`},I=Object.assign(p({__name:`Nav`,emits:[`click`],setup(i,{expose:c,emit:l}){function p(e){return`children`in e}let h=[{label:`Home`,to:`/`},{label:`Chi siamo`,children:[{label:`Contatti`,to:`/contatti`},{label:`Statuto`,to:`/statuto`},{label:`Regolamento interno`,to:`/regolamento-interno`},{label:`Le macchine`,to:`/le-macchine`}]},{label:`Vieni a trovarci`,to:`/vieni-a-trovarci`},{label:`Eventi`,to:`/eventi`},{label:`Associati`,children:[{label:`Iscrizione nuovi soci`,to:`/iscrizione-nuovi-soci`},{label:`Rinnovo quota`,to:`/rinnovo-quota-sociale`}]}],_=l,v=y(null),S=n(`navRoot`);function D(e){v.value=v.value===e?null:e}function O(){v.value=null}function k(){O(),_(`click`)}function j(e){e.key===`Escape`&&O()}function M(e){S.value&&!S.value.contains(e.target)&&O()}return t(()=>{document.addEventListener(`keydown`,j),document.addEventListener(`click`,M)}),o(()=>{document.removeEventListener(`keydown`,j),document.removeEventListener(`click`,M)}),c({items:h}),(t,n)=>{let i=A;return a(),b(`nav`,{ref_key:`navRoot`,ref:S,"aria-label":`Navigazione principale`},[C(`ul`,N,[(a(),b(x,null,e(h,t=>C(`li`,{key:t.label,class:`md:relative`},[p(t)?(a(),b(x,{key:1},[C(`button`,{type:`button`,class:`flex w-full items-center gap-1 rounded px-2 py-1 font-mono text-sm uppercase tracking-wide text-white/80 transition-colors hover:text-accent-hover focus-visible:text-accent focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-accent md:w-auto`,"aria-expanded":g(v)===t.label,"aria-haspopup":`true`,onClick:E(e=>D(t.label),[`stop`])},[f(r(t.label)+` `,1),(a(),b(`svg`,{xmlns:`http://www.w3.org/2000/svg`,class:s([`h-3 w-3 shrink-0 transition-transform`,{"rotate-180":g(v)===t.label}]),fill:`none`,viewBox:`0 0 24 24`,stroke:`currentColor`,"stroke-width":`2`,"aria-hidden":`true`},[...n[0]||=[C(`path`,{"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M19 9l-7 7-7-7`},null,-1)]],2))],8,P),u(C(`ul`,F,[(a(!0),b(x,null,e(t.children,e=>(a(),b(`li`,{key:e.to},[w(i,{to:e.to,class:`block rounded px-2 py-1 font-mono text-sm uppercase tracking-wide text-white/80 transition-colors hover:text-accent-hover focus-visible:text-accent focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-accent`,"active-class":`text-accent`,onClick:k},{default:d(()=>[f(r(e.label),1)]),_:2},1032,[`to`])]))),128))],512),[[T,g(v)===t.label]])],64)):(a(),m(i,{key:0,to:t.to,class:`block rounded px-2 py-1 font-mono text-sm uppercase tracking-wide text-white/80 transition-colors hover:text-accent-hover focus-visible:text-accent focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-accent`,"active-class":`text-accent`,onClick:k},{default:d(()=>[f(r(t.label),1)]),_:2},1032,[`to`]))])),64))])],512)}}}),{__name:`LayoutNav`}),L={key:0,id:`mobile-menu`,class:`fixed inset-y-0 right-0 z-50 flex w-72 max-w-[85vw] flex-col gap-6 bg-bg p-6 shadow-xl shadow-black/50 ring-1 ring-white/10 md:hidden`,role:`dialog`,"aria-modal":`true`,"aria-label":`Menu di navigazione`},R={class:`flex items-center justify-between`},z=Object.assign(O(p({__name:`MobileMenu`,props:{modelValue:{type:Boolean,default:!1},modelModifiers:{}},emits:[`update:modelValue`],setup(e){let t=l(e,`modelValue`),r=n(`closeButton`);function s(){t.value=!1}function c(e){e.key===`Escape`&&s()}return i(t,async e=>{e?(document.addEventListener(`keydown`,c),await _(),r.value?.focus()):document.removeEventListener(`keydown`,c)}),o(()=>
1{document.removeEventListener(`keydown`,c)}),(e,n)=>{let i=I;return a(),m(v,{to:`body`},[w(D,{name:`fade`},{default:d(()=>[t.value?(a(),b(`div`,{key:0,class:`fixed inset-0 z-40 bg-black/70 md:hidden`,"data-testid":`mobile-menu-backdrop`,onClick:s})):h(``,!0)]),_:1}),w(D,{name:`slide`},{default:d(()=>[t.value?(a(),b(`div`,L,[C(`div`,R,[n[1]||=C(`span`,{class:`font-mono text-xs uppercase tracking-widest text-white/50`},`Menu`,-1),C(`button`,{ref_key:`closeButton`,ref:r,type:`button`,class:`rounded p-2 text-white/80 transition-colors hover:text-accent-hover focus-visible:text-accent focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-accent`,"aria-label":`Chiudi menu`,onClick:s},[...n[0]||=[C(`svg`,{xmlns:`http://www.w3.org/2000/svg`,class:`h-6 w-6`,fill:`none`,viewBox:`0 0 24 24`,stroke:`currentColor`,"stroke-width":`2`,"aria-hidden":`true`},[C(`path`,{"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M6 18L18 6M6 6l12 12`})],-1)]],512)]),w(i,{onClick:s})])):h(``,!0)]),_:1})])}}}),[[`__scopeId`,`data-v-ef1aed87`]]),{__name:`LayoutMobileMenu`}),B=k(`/img/logo-fablab-aq.png`),V={class:`sticky top-0 z-30 border-b border-white/10 bg-bg/90 backdrop-blur`},H={class:`mx-auto flex h-16 max-w-6xl items-center justify-between px-4 sm:px-6 lg:px-8`},U={class:`hidden md:block`},W=[`aria-expanded`],G=Object.assign(p({__name:`Header`,setup(e){let t=y(!1);return(e,n)=>{let r=A,i=I,o=z;return a(),b(`header`,V,[C(`div`,H,[w(r,{to:`/`,class:`flex items-center gap-2`},{default:d(()=>[...n[2]||=[C(`img`,{src:B,alt:`FabLab AQ`,class:`h-9 w-auto`},null,-1)]]),_:1}),C(`div`,U,[w(i)]),C(`button`,{type:`button`,class:`rounded p-2 text-white/80 transition-colors hover:text-accent-hover focus-visible:text-accent focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-accent md:hidden`,"aria-label":`Apri menu`,"aria-controls":`mobile-menu`,"aria-expanded":g(t),onClick:n[0]||=e=>t.value=!0},[...n[3]||=[C(`svg`,{xmlns:`http://www.w3.org/2000/svg`,class:`h-6 w-6`,fill:`none`,viewBox:`0 0 24 24`,stroke:`currentColor`,"stroke-width":`2`,"aria-hidden":`true`},[C(`path`,{"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M4 6h16M4 12h16M4 18h16`})],-1)]],8,W)]),w(o,{modelValue:g(t),"onUpdate:modelValue":n[1]||=e=>S(t)?t.value=e:null},null,8,[`modelValue`])])}}}),{__name:`LayoutHeader`}),K={class:`border-t border-white/10 bg-bg`},q={class:`mx-auto flex max-w-6xl flex-col gap-4 px-4 py-10 sm:px-6 lg:px-8 md:flex-row md:items-center md:justify-between`},J={class:`font-mono text-xs uppercase tracking-widest text-white/50`},Y={class:`mt-1 normal-case tracking-normal`},X={class:`flex flex-wrap items-center gap-x-6 gap-y-2`},Z={class:`flex items-center gap-3`},Q=[`href`,`aria-label`],$={key:0,viewBox:`0 0 24 24`,class:`h-4 w-4`,fill:`currentColor`,"aria-hidden":`true`},ee={key:1,viewBox:`0 0 24 24`,class:`h-4 w-4`,fill:`currentColor`,"aria-hidden":`true`},te=Object.assign(p({__name:`Footer`,setup(t){let n=new Date().getFullYear();return(t,i)=>{let o=A;return a(),b(`footer`,K,[C(`div`,q,[C(`div`,J,[C(`p`,null,`© `+r(g(n))+` FabLabAQ — Tutti i diritti riservati`,1),C(`p`,Y,r(g(M).ragioneSociale)+` — C.F. `+r(g(M).codiceFiscale),1)]),C(`div`,X,[w(o,{to:`/statuto`,class:`font-mono text-xs uppercase tracking-wide text-white/50 hover:text-accent-hover`},{default:d(()=>[...i[0]||=[f(` Statuto `,-1)]]),_:1}),w(o,{to:`/regolamento-interno`,class:`font-mono text-xs uppercase tracking-wide text-white/50 hover:text-accent-hover`},{default:d(()=>[...i[1]||=[f(` Regolamento interno `,-1)]]),_:1}),w(o,{to:`/contatti`,class:`font-mono text-xs uppercase tracking-wide text-white/50 hover:text-accent-hover`},{default:d(()=>[...i[2]||=[f(` Contatti `,-1)]]),_:1}),C(`div`,Z,[(a(!0),b(x,null,e(g(j),e=>(a(),b(`a`,{key:e.label,href:e.href,target:`_blank`,rel:`noopener noreferrer`,"aria-label":e.label,class:`text-white/50 hover:text-accent-hover`},[e.label===`Facebook`?(a(),b(`svg`,$,[...i[3]||=[C(`path`,{d:`M22 12.06C22 6.5 17.52 2 12 2S2 6.5 2 12.06c0 5.02 3.66 9.18 8.44 9.94v-7.03H7.9v-2.91h2.54V9.85c0-2.51 1.49-3.9 3.77-3.9 1.09 0 2.24.2 2.24.2v2.46h-1.26c-1.24 0-1.63.77-1.63 1.56v1.89h2.78l-.44 2.91h-2.34V22c4.78-.76 8.44-4.92 8.44-9.94Z`},null,-1)]])):e.label===`Instagram`?(a(),b(`svg`,ee,[...i[4]||=[C(`path`,{d:`M12 2c2.72 0 3.06.01 4.12.06 1.06.05 1.79.22 2.43.47.66.26 1.22.6 1.77 1.15.55.55.89 1.11 1.15 1.77.25.64.42 1.37.47 2.43.05 1.06.06 1.4.06 4.12s-.01 3.06-.06 4.12c-.05 1.06-.22 1.79-.47 2.43a4.9 4.9 0 0 1-1.15 1.77 4.9 4.9 0 0 1-1.77 1.15c-.64.25-1.37.42-2.43.47-1.06.05-1.4.06-4.12.06s-3.06-.01-4.12-.06c-1.06-.05-1.79-.22-2.43-.47a4.9 4.9 0 0 1-1.77-1.15 4.9 4.9 0 0 1-1.15-1.77c-.25-.64-.42-1.37-.47-2.43C2.01 15.06 2 14.72 2 12s.01-3.06.06-4.12c.05-1.06.22-1.79.47-2.43.26-.66.6-1.22 1.15-1.77A4.9 4.9 0 0 1 5.45.53C6.09.28 6.82.11 7.88.06 8.94.01 9.28 0 12 0Zm0 5a5 5 0 1 0 0 10 5 5 0 0 0 0-10Zm0 8.25a3.25 3.25 0 1 1 0-6.5 3.25 3.25 0 0 1 0 6.5ZM17.75 4.75a1.13 1.13 0 1 0 0 2.25 1.13 1.13 0 0 0 0-2.25Z`,transform:`translate(0 2)`},null,-1)]])):h(``,!0)],8,Q))),128))])])])])}}}),{__name:`LayoutFooter`}),ne={},re={class:`min-h-screen bg-bg text-white font-sans`};function ie(e,t){let n=G,r=te;return a(),b(`div`,re,[w(n),C(`main`,null,[c(e.$slots,`default`)]),w(r)])}var ae=O(ne,[[`render`,ie]]);export{ae 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.