1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./DCz_nZUU.js","./DyjlkccN.js","./Ce8km2VT.js","./entry.VpCR9FV-.css","./DlAUqK2U.js","./feedbackWidget.BCadwBLs.css","./CYLHNdW4.js","./SJKPJgkY.js","./CB85pML-.js","./cookieBanner.DA9od5fZ.css"])))=>i.map(i=>d[i]); 2import{h as ne,a as ie,f as ae,u as le,r as re,c as de,_ as G}from"./DyjlkccN.js";import E from"./SJKPJgkY.js";import{z as V,t as _,r as q,ab as ce,d as w,x as k,N as g,U as s,a2 as m,$ as A,a5 as ue,O as r,_ as I,a0 as L,P as h,T as Q,a1 as B,V as ee,q as fe,u as H,B as te,Q as T,ac as se,ad as Y,J as me,ae as he,af as pe,X as J,F as X,H as Z}from"./Ce8km2VT.js";import{c as K,u as ve,r as U,e as xe}from"./Dyy6U-uv.js";import{_ as N}from"./DlAUqK2U.js";import{_ as ge}from"./CB85pML-.js";function be(c){return typeof c=="string"?`'${c}'`:new _e().serialize(c)}const _e=(function(){class c{#e=new Map;compare(t,e){const o=typeof t,i=typeof e;return o==="string"&&i==="string"?t.localeCompare(e):o==="number"&&i==="number"?t-e:String.prototype.localeCompare.call(this.serialize(t,!0),this.serialize(e,!0))}serialize(t,e){if(t===null)return"null";switch(typeof t){case"string":return e?t:`'${t}'`;case"bigint":return`${t}n`;case"object":return this.$object(t);case"function":return this.$function(t)}return String(t)}serializeObject(t){const e=Object.prototype.toString.call(t);if(e!=="[object Object]")return this.serializeBuiltInType(e.length<10?`unknown:${e}`:e.slice(8,-1),t);const o=t.constructor,i=o===Object||o===void 0?"":o.name;if(i!==""&&globalThis[i]===o)return this.serializeBuiltInType(i,t);if(typeof t.toJSON=="function"){const l=t.toJSON();return i+(l!==null&&typeof l=="object"?this.$object(l):`(${this.serialize(l)})`)}return this.serializeObjectEntries(i,Object.entries(t))}serializeBuiltInType(t,e){const o=this["$"+t];if(o)return o.call(this,e);if(typeof e?.entries=="function")return this.serializeObjectEntries(t,e.entries());throw new Error(`Cannot serialize ${t}`)}serializeObjectEntries(t,e){const o=Array.from(e).sort((l,a)=>this.compare(l[0],a[0]));let i=`${t}{`;for(let l=0;l<o.length;l++){const[a,d]=o[l];i+=`${this.serialize(a,!0)}:${this.serialize(d)}`,l<o.length-1&&(i+=",")}return i+"}"}$object(t){let e=this.#e.get(t);return e===void 0&&(this.#e.set(t,`#${this.#e.size}`),e=this.serializeObject(t),this.#e.set(t,e)),e}$function(t){const e=Function.prototype.toString.call(t);return e.slice(-15)==="[native code] }"?`${t.name||""}()[native]`:`${t.name}(${t.length})${e.replace(/\s*\n\s*/g,"")}`}$Array(t){let e="[";for(let o=0;o<t.length;o++)e+=this.serialize(t[o]),o<t.length-1&&(e+=",");return e+"]"}$Date(t){try{return`Date(${t.toISOString()})`}catch{return"Date(null)"}}$ArrayBuffer(t){return`ArrayBuffer[${new Uint8Array(t).join(",")}]`}$Set(t){return`Set${this.$Array(Array.from(t).sort((e,o)=>this.compare(e,o)))}`}$Map(t){return this.serializeObjectEntries("Map",t.entries())}}for(const n of["Error","RegExp","URL"])c.prototype["$"+n]=function(t){return`${n}(${t})`};for(const n of["Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array"])c.prototype["$"+n]=function(t){return`${n}[${t.join(",")}]`};for(const n of["BigInt64Array","BigUint64Array"])c.prototype["$"+n]=function(t){return`${n}[${t.join("n,")}${t.length>0?"n":""}]`};return c})(),we=[1779033703,-1150833019,1013904242,-1521486534,1359893119,-1694144372,528734635,1541459225],ye=[1116352408,1899447441,-1245643825,-373957723,961987163,1508970993,-1841331548,-1424204075,-670586216,310598401,607225278,1426881987,1925078388,-2132889090,-1680079193,-1046744716,-459576895,-272742522,264347078,604807628,770255983,1249150122,1555081692,1996064986,-1740746414,-1473132947,-1341970488,-1084653625,-958395405,-710438585,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,-2117940946,-1838011259,-1564481375,-1474664885,-1035236496,-949202525,-778901479,-694614492,-200395387,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,-2067236844,-1933114872,-1866530822,-1538233109,-1090935817,-965641998],$e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",$=[];class ke{_data=new C;_hash=new C([...we]);_nDataBytes=0;_minBufferSize=0;finalize(n){n&&this._append(n);const t=this._nDataBytes*8,e=this._data.sigBytes*8;return this._data.words[e>>>5]|=128<<24-e%32,this._data.words[(e+64>>>9<<4)+14]=Math.floor(t/4294967296),this._data.words[(e+64>>>9<<4)+15]=t,this._data.sigBytes=this._data.words.length*4,this._process(),this._hash}_doProcessBlock(n,t){const e=this._hash.words;let o=e[0],i=e[1],l=e[2],a=e[3],d=e[4],v=e[5],x=e[6],f=e[7];for(let u=0;u<64;u++){if(u<16)$[u]=n[t+u]|0;else{const b=$[u-15],F=(b<<25|b>>>7)^(b<<14|b>>>18)^b>>>3,j=$[u-2],W=(j<<15|j>>>17)^(j<<13|j>>>19)^j>>>10;$[u]=F+$[u-7]+W+$[u-16]}const p=d&v^~d&x,y=o&i^o&l^i&l,D=(o<<30|o>>>2)^(o<<19|o>>>13)^(o<<10|o>>>22),M=(d<<26|d>>>6)^(d<<21|d>>>11)^(d<<7|d>>>25),O=f+M+p+ye[u]+$[u],P=D+y;
2f=x,x=v,v=d,d=a+O|0,a=l,l=i,i=o,o=O+P|0}e[0]=e[0]+o|0,e[1]=e[1]+i|0,e[2]=e[2]+l|0,e[3]=e[3]+a|0,e[4]=e[4]+d|0,e[5]=e[5]+v|0,e[6]=e[6]+x|0,e[7]=e[7]+f|0}_append(n){typeof n=="string"&&(n=C.fromUtf8(n)),this._data.concat(n),this._nDataBytes+=n.sigBytes}_process(n){let t,e=this._data.sigBytes/64;n?e=Math.ceil(e):e=Math.max((e|0)-this._minBufferSize,0);const o=e*16,i=Math.min(o*4,this._data.sigBytes);if(o){for(let l=0;l<o;l+=16)this._doProcessBlock(this._data.words,l);t=this._data.words.splice(0,o),this._data.sigBytes-=i}return new C(t,i)}}class C{words;sigBytes;constructor(n,t){n=this.words=n||[],this.sigBytes=t===void 0?n.length*4:t}static fromUtf8(n){const t=unescape(encodeURIComponent(n)),e=t.length,o=[];for(let i=0;i<e;i++)o[i>>>2]|=(t.charCodeAt(i)&255)<<24-i%4*8;return new C(o,e)}toBase64(){const n=[];for(let t=0;t<this.sigBytes;t+=3){const e=this.words[t>>>2]>>>24-t%4*8&255,o=this.words[t+1>>>2]>>>24-(t+1)%4*8&255,i=this.words[t+2>>>2]>>>24-(t+2)%4*8&255,l=e<<16|o<<8|i;for(let a=0;a<4&&t*8+a*6<this.sigBytes*8;a++)n.push($e.charAt(l>>>6*(3-a)&63))}return n.join("")}concat(n){if(this.words[this.sigBytes>>>2]&=4294967295<<32-this.sigBytes%4*8,this.words.length=Math.ceil(this.sigBytes/4),this.sigBytes%4)for(let t=0;t<n.sigBytes;t++){const e=n.words[t>>>2]>>>24-t%4*8&255;this.words[this.sigBytes+t>>>2]|=e<<24-(this.sigBytes+t)%4*8}else for(let t=0;t<n.sigBytes;t+=4)this.words[this.sigBytes+t>>>2]=n.words[t>>>2];this.sigBytes+=n.sigBytes}}function je(c){return new ke().finalize(c).toBase64()}function z(c){return je(be(c))}function Be(c,n,t){const[e={},o]=typeof n=="string"?[{},n]:[n,t],i=V(()=>_(c)),l=V(()=>_(e.key)||"$f"+z([o,typeof i.value=="string"?i.value:"",...ze(e)]));if(!e.baseURL&&typeof i.value=="string"&&i.value[0]==="/"&&i.value[1]==="/")throw new Error('[nuxt] [useFetch] the request URL must not start with "//".');const{server:a,lazy:d,default:v,transform:x,pick:f,watch:u,immediate:p,getCachedData:y,deep:D,dedupe:M,timeout:O,...P}=e,b=q({...ne,...P,cache:typeof e.cache=="boolean"?void 0:e.cache}),F={server:a,lazy:d,default:v,transform:x,pick:f,immediate:p,getCachedData:y,deep:D,dedupe:M,timeout:O,watch:u===!1?[]:[...u||[],b]};return ie(u===!1?l.value:l,(W,{signal:oe})=>(e.$fetch||globalThis.$fetch)(i.value,{signal:oe,...b}),F)}function ze(c){const n=[_(c.method)?.toUpperCase()||"GET",_(c.baseURL)];for(const t of[c.params||c.query]){const e=_(t);if(!e)continue;const o={};for(const[i,l]of Object.entries(e))o[_(i)]=_(l);n.push(o)}if(c.body){const t=_(c.body);if(!t)n.push(z(t));else if(t instanceof ArrayBuffer)n.push(z(Object.fromEntries([...new Uint8Array(t).entries()].map(([e,o])=>[e,o.toString()]))));else if(t instanceof FormData){const e={};for(const o of t.entries()){const[i,l]=o;e[i]=l instanceof File?l.name:l}n.push(z(e))}else if(ce(t))n.push(z(q(t)));else try{n.push(z(t))}catch{console.warn("[useFetch] Failed to hash body",t)}}return n}const R=""+new URL("logo_wikiherbalist.CN61uDjj.svg",import.meta.url).href,S=""+new URL("coming_soon.CXdfvizH.svg",import.meta.url).href,Ce={class:"menu-container w-full bg-white p-6 rounded-bl-2xl rounded-br-2xl transition-all duration-500 ease-out"},Ae={class:"container mx-auto px-4"},Se={class:"flex flex-col md:flex-row"},Oe={class:"w-full md:w-2/3 flex flex-col items-center"},Ie={class:"flex flex-col"},Te={class:"relative mb-2"},Ee={key:0,class:"space-y-2"},Ne={class:"flex space-x-2"},De={__name:"Mailinglist",setup(c){const{$recaptcha:n}=ae(),t=q({email:"",firstName:"",lastName:""}),e=w(""),o=w(""),i=w(!1),l={email:{required:U,email:xe},firstName:{required:U,alpha:K.regex(/^[A-Za-z\s]+$/)},lastName:{required:U,alpha:K.regex(/^[A-Za-z\s]+$/)}},a=ve(l,t),d=()=>{i.value=!0},v=async()=>{if(!await a.value.$validate()){e.value="Per favore, compila correttamente tutti i campi.",o.value="text-red-500";return}try{console.log("Inizio processo di iscrizione/aggiornamento");const f=await n.execute("submit");console.log("reCAPTCHA token ottenuto");const{data:u,error:p}=await Be("/api/mailchimp",{method:"POST",body:{...t,recaptchaToken:f}},"$rg0Cld2FYP");if(console.log("Risposta dal server:",u.value,p.value),p.value)throw new Error(`Errore nella richiesta: ${p.value.message}`);if(u.value&&u.value.success)e.value=u.value.message||"Operazione completata con successo!",o.value="text-verde",Object.keys(t).forEach(y=>t[y]=""),i.value=!1;else if(u.value&&u.value.status==="updated")e.value="Il tuo profilo è stato aggiornato con successo!",o.value="text-blu",Object.keys(t).forEach(y=>t[y]=""),i.value=!1;else throw new Error(u.value?.message||"Risposta del server non valida")}catch(f){console.error("Errore dettagliato:",f),e.value=`Si è verificato un errore: ${f.message}`,o.value="text-red-500"}};return(x,f)=>{const u=E;return g(),k("div",Ce,[s("div",Ae,[s("div",Se,[f[5]||(f[5]=s("div",{class:"w-full md:w-1/3 mb-4 md:mb-0"},[s("p",{class:"text-gray-700 text-lg"},[m(" Amplia le tue conoscenze erboristiche, iscriviti alla "),s("span",{class:"text-blu"},"mailing list"),m(" di Wikiherbalist ")])],-1)),s("div",Oe,[s("form",{onSubmit:ue(v,["prevent"]),class:"w-full md:w-2/3"},[s("div",Ie,[s("div",Te,[I(s("input",{type:"email","onUpdate:modelValue":f[0]||(f[0]=p=>t.email=p),placeholder:"La tua email",class:"w-full h-14 border border-celeste rounded-2xl px-4 focus:outline-none focus:ring-1 focus:ring-blu",onFocus:d,required:""},null,544),[[L,t.email]]),r(u,{name:"tabler:mail-filled",class:"absolute right-4 top-1/2 transform -translate-y-1/2 text-3xl text-celeste"})]),r(Q,{name:"slide-fade"},{default:h(()=>[i.value?(g(),k("div",Ee,[s("div",Ne,[I(s("input",{type:"text","onUpdate:modelValue":f[1]||(f[1]=p=>t.firstName=p),placeholder:"Nome",class:"w-1/2 h-14 border border-celeste rounded-2xl px-4 focus:outline-none focus:ring-1 focus:ring-blu",required:""},null,512),[[L,t.firstName]]),I(s("input",{type:"text","onUpdate:modelValue":f[2]||(f[2]=p=>t.lastName=p),placeholder:"Cognome",class:"w-1/2 h-14 border border-celeste rounded-2xl px-4 focus:outline-none focus:ring-1 focus:ring-blu",required:""},null,512),[[L,t.lastName]])]),f[3]||(f[3]=s("div",{class:"flex justify-end"},[s("button",{type:"submit",class:"bg-celeste hover:bg-blu text-white font-bold py-2 px-6 rounded-2xl transition-colors duration-300"}," Iscriviti ")],-1))])):A("",!0)]),_:1})])],32),e.value?(g(),k("div",{key:0,class:B([o.value,"mt-2 text-sm w-full md:w-2/3 text-center"])},ee(e.value),3)):A("",!0),f[4]||(f[4]=s("div",{class:"w-full md:w-2/3 text-gray-400 text-xs mt-2"}
2,[s("p",null,[m("Iscrivendoti, accetti i Termini di servizio e la "),s("a",{href:"https://www.wikiherbalist.com/privacy-policy",class:"text-celeste hover:text-blu",target:"_blank"},"privacy policy"),m(" di Wikiherbalist. Wikiherbalist è protetto da reCAPTCHA, per il quale si applicano la "),s("a",{href:"https://policies.google.com/privacy",class:"text-celeste hover:text-blu",target:"_blank"},"privacy policy"),m(" e i "),s("a",{href:"https://policies.google.com/terms",class:"text-celeste hover:text-blu",target:"_blank"},"Termini di servizio"),m(" di Google.")])],-1))])])])])}}},Me=N(De,[["__scopeId","data-v-73cd3006"]]),Pe={class:"fixed w-10/12 top-1 md:top-5 left-1/2 transform -translate-x-1/2 md:w-4/5 z-50 print:hidden"},Fe={class:"flex items-center"},Le={class:"flex items-center"},Ue={key:0,class:"w-full bg-white rounded-bl-2xl rounded-br-2xl transition-all duration-500 ease-out max-h-[calc(100vh-100px)] overflow-y-auto scrollbar-hide"},Ve={class:"container mx-auto px-4 py-6"},Re={class:"flex flex-col md:flex-row"},qe={class:"w-full md:w-2/3 order-1 md:order-2 mb-6 md:mb-0"},He={class:"grid grid-cols-1 sm:grid-cols-2 gap-4"},We={class:"lg:hidden"},Ge={href:"/",class:"mega-menu-button relative text-white py-4 px-4 bg-celeste rounded-lg w-full h-16 transition-all duration-500 ease-in-out group hover:bg-verde overflow-hidden flex items-center"},Ye={class:"absolute left-2 top-1/2 w-12 h-12 -translate-y-1/2 bg-white p-2 rounded-2xl border border-transparent flex justify-center items-center"},Je={class:"lg:hidden"},Xe={href:"/about",class:"mega-menu-button relative text-white py-4 px-4 bg-celeste rounded-lg w-full h-16 transition-all duration-500 ease-in-out group hover:bg-verde overflow-hidden flex items-center"},Ze={class:"absolute left-2 top-1/2 w-12 h-12 -translate-y-1/2 bg-white p-2 rounded-2xl border border-transparent flex justify-center items-center"},Ke={class:"lg:hidden"},Qe={href:"/piante-medicinali",class:"mega-menu-button relative text-white py-4 px-4 bg-celeste rounded-lg w-full h-16 transition-all duration-500 ease-in-out group hover:bg-verde overflow-hidden flex items-center"},et={class:"absolute left-2 top-1/2 w-12 h-12 -translate-y-1/2 bg-white p-2 rounded-2xl border border-transparent flex justify-center items-center"},tt={class:"lg:hidden"},st={href:"/glossario",class:"mega-menu-button relative text-white py-4 px-4 bg-celeste rounded-lg w-full h-16 transition-all duration-500 ease-in-out group hover:bg-verde overflow-hidden flex items-center"},ot={class:"absolute left-2 top-1/2 w-12 h-12 -translate-y-1/2 bg-white p-2 rounded-2xl border border-transparent flex justify-center items-center"},nt={class:"lg:hidden"},it={href:"/blog",class:"mega-menu-button relative text-white py-4 px-4 bg-celeste rounded-lg w-full h-16 transition-all duration-500 ease-in-out group hover:bg-verde overflow-hidden flex items-center"},at={class:"absolute left-2 top-1/2 w-12 h-12 -translate-y-1/2 bg-white p-2 rounded-2xl border border-transparent flex justify-center items-center"},lt={class:"mega-menu-button relative text-white py-4 px-4 bg-celeste rounded-lg w-full h-16 transition-all duration-500 ease-in-out group hover:bg-verde overflow-hidden flex items-center","aria-label":"Prossimi eventi"},rt={class:"absolute left-2 top-1/2 w-12 h-12 -translate-y-1/2 bg-white p-2 rounded-2xl border border-transparent flex justify-center items-center"},dt={class:"hidden lg:block"},ct={href:"/piante-medicinali",class:"mega-menu-button relative text-white py-4 px-4 bg-celeste rounded-lg w-full h-16 transition-all duration-500 ease-in-out group hover:bg-verde overflow-hidden flex items-center"},ut={class:"absolute left-2 top-1/2 w-12 h-12 -translate-y-1/2 bg-white p-2 rounded-2xl border border-transparent flex justify-center items-center"},ft={class:"mega-menu-button relative text-white py-4 px-4 bg-celeste rounded-lg w-full h-16 transition-all duration-500 ease-in-out group hover:bg-verde overflow-hidden flex items-center","aria-label":"Collabora con noi"},mt={class:"absolute left-2 top-1/2 w-12 h-12 -translate-y-1/2 bg-white p-2 rounded-2xl border border-transparent flex justify-center items-center"},ht={href:"/#section-contacts",class:"mega-menu-button relative text-white py-4 px-4 bg-celeste rounded-lg w-full h-16 transition-all duration-500 ease-in-out group hover:bg-verde overflow-hidden flex items-center","aria-label":"Contattaci"},pt={class:"absolute left-2 top-1/2 w-12 h-12 -translate-y-1/2 bg-white p-2 rounded-2xl border border-transparent flex justify-center items-center"},vt={class:"w-full md:w-1/3 order-2 md:order-1"},xt={class:"flex space-x-2"},gt={class:"bg-blu w-12 h-12 p-2 rounded-2xl transition-colors duration-300 hover:bg-verde hover:cursor-pointer"},bt={href:"#","aria-label":"Facebook"},_t={class:"bg-blu w-12 h-12 p-2 rounded-2xl transition-colors duration-300 hover:bg-verde hover:cursor-pointer"},wt={href:"#","aria-label":"Instagram"},yt=fe({__name:"header",setup(c){const n=w(!1),t=w(!1),e=()=>
2{n.value=!n.value,n.value&&(t.value=!1)},o=()=>{t.value=!t.value,t.value&&(n.value=!1)},i=l=>{const a=l.target;!a.closest(".menu-container")&&!a.closest(".hamburger-menu")&&!a.closest(".buttonMailing")&&(n.value=!1,t.value=!1)};return H(()=>{document.addEventListener("click",i)}),te(()=>{document.removeEventListener("click",i)}),(l,a)=>{const d=E;return g(),k("header",Pe,[s("div",{class:B(["flex justify-between items-center bg-white py-2 px-2 md:py-4 md:px-6 shadow-lg rounded-2xl",{"radius-bottom-none":n.value||t.value}])},[s("div",Fe,[a[0]||(Y(-1,!0),(a[0]=s("a",{href:"/","aria-label":"Wikiherbalist - Torna alla homepage"},[a[2]||(a[2]=s("img",{src:R,alt:"Wikiherbalist Logo",width:"144",height:"18.53",class:"w-28 lg:w-32 xl:w-36 mr-2",loading:"eager"},null,-1))])).cacheIndex=0,Y(1),a[0])]),a[3]||(a[3]=se('<div class="hidden lg:block flex-grow" data-v-66cea7de><nav class="flex justify-center space-x-1 xl:space-x-4 text-black text-sm xl:text-base" data-v-66cea7de><a href="/" class="no-underline py-2 px-1 xl:px-2 hover:text-verde transition-colors duration-300" data-v-66cea7de>Home</a><a href="/about" class="no-underline py-2 px-1 xl:px-2 hover:text-verde transition-colors duration-300" data-v-66cea7de>About</a><a href="/piante-medicinali" class="no-underline py-2 px-1 xl:px-2 hover:text-verde transition-colors duration-300" data-v-66cea7de>Piante medicinali</a><a href="/glossario" class="no-underline py-2 px-1 xl:px-2 hover:text-verde transition-colors duration-300" data-v-66cea7de>Glossario</a><a href="/blog" class="no-underline py-2 px-1 xl:px-2 hover:text-verde transition-colors duration-300" data-v-66cea7de>Blog</a></nav></div>',1)),s("div",Le,[s("button",{class:"hidden md:block max-w-full buttonMailing py-1 px-5 mr-4 bg-white text-verde border border-verde hover:text-blu hover:border-blu rounded-md",onClick:o},"Mailing List"),s("div",{class:B(["hamburger-menu cursor-pointer flex flex-row items-center gap-1.5 md:ml-2",{active:n.value}]),onClick:e,"aria-label":"Menu"},[s("div",{class:B(["bar w-1.5 h-7 m-0.5 transition-all rounded-lg",{"transform -translate-x-0.5 rotate-30":n.value}])},null,2),s("div",{class:B(["bar w-1.5 h-5 m-0.5 transition-all rounded-lg",{"mt-1":n.value}])},null,2),s("div",{class:B(["bar w-1.5 h-7 m-0.5 transition-all rounded-lg",{"transform translate-x-0.5 rotate-30":n.value}])},null,2)],2)])],2),n.value?(g(),k("div",Ue,[s("div",Ve,[s("div",Re,[s("div",qe,[s("div",He,[s("div",We,[s("a",Ge,[s("div",Ye,[r(d,{name:"mdi:home",class:"inner-icon text-celeste text-3xl group-hover:text-verde"})]),a[4]||(a[4]=s("span",{class:"absolute left-16 right-4 text-center"},"Home",-1))])]),s("div",Je,[s("a",Xe,[s("div",Ze,[r(d,{name:"mdi:information",class:"inner-icon text-celeste text-3xl group-hover:text-verde"})]),a[5]||(a[5]=s("span",{class:"absolute left-16 right-4 text-center"},"About",-1))])]),s("div",Ke,[s("a",Qe,[s("div",et,[r(d,{name:"mdi:flower",class:"inner-icon text-celeste text-3xl group-hover:text-verde"})]),a[6]||(a[6]=s("span",{class:"absolute left-16 right-4 text-center"},"Piante medicinali",-1))])]),s("div",tt,[s("a",st,[s("div",ot,[r(d,{name:"mdi:book-open-page-variant",class:"inner-icon text-celeste text-3xl group-hover:text-verde"})]),a[7]||(a[7]=s("span",{class:"absolute left-16 right-4 text-center"},"Glossario",-1))])]),s("div",nt,[s("a",it,[s("div",at,[r(d,{name:"mdi:post",class:"inner-icon text-celeste text-3xl group-hover:text-verde"})]),a[8]||(a[8]=s("span",{class:"absolute left-16 right-4 text-center"},"Blog",-1))])]),s("div",null,[s("button",lt,[s("div",rt,[r(d,{name:"mdi:event",class:"inner-icon text-celeste text-3xl group-hover:text-verde"})]),a[9]||(a[9]=s("span",{class:"absolute left-16 right-4 text-center"},"Prossimi eventi",-1)),a[10]||(a[10]=s("img",{src:S,alt:"Coming Soon",class:"absolute top-0 right-0 w-16 h-auto mt-1 mr-1"},null,-1))])]),s("div",dt,[s("a",ct,[s("div",ut,[r(d,{name:"mdi:book-open-variant",class:"inner-icon text-celeste text-3xl group-hover:text-verde"})]),a[11]||(a[11]=s("span",{class:"absolute left-16 right-4 text-center"},"Monografie",-1))])]),s("div",null,[s("button",ft,[s("div",mt,[r(d,{name:"mdi:handshake",class:"inner-icon text-celeste text-3xl group-hover:text-verde"})]),a[12]||(a[12]=s("span",{class:"absolute left-16 right-4 text-center"},"Collabora con noi",-1)),a[13]||(a[13]=s("img",{src:S,alt:"Coming Soon",class:"absolute top-0 right-0 w-16 h-auto mt-1 mr-1"},null,-1))])]),s("div",null,[s("a",ht,[s("div",pt,[r(d,{name:"mdi:contact-mail",class:"inner-icon text-celeste text-3xl group-hover:text-verde"})]),a[14]||(a[14]=s("span",{class:"absolute left-16 right-4 text-center"},"Contattaci",-1))])])])]),s("div",vt,[a[15]||(a[15]=s("p",{class:"text-gray-700 font-bold text-lg mb-4"}
2," Seguici ",-1)),s("div",xt,[s("div",gt,[s("a",bt,[r(d,{name:"uil:facebook-f",class:"text-white text-3xl"})])]),s("div",_t,[s("a",wt,[r(d,{name:"uil:instagram",class:"text-white text-3xl"})])])])])])])])):A("",!0),t.value?(g(),T(Me,{key:1,onClose:a[1]||(a[1]=v=>t.value=!1)})):A("",!0)])}}}),$t=Object.assign(N(yt,[["__scopeId","data-v-66cea7de"]]),{__name:"Header"}),kt={class:"footer-section bg-ghiaccio text-black mt-6 py-8 md:py-14 w-11/12 m-auto rounded-2xl print:hidden"},jt={class:"container mx-auto px-4"},Bt={class:"md:hidden flex flex-col items-center"},zt={class:"grid grid-cols-2 gap-2 text-center mt-8 mb-8"},Ct={class:"w-full flex flex-col items-center mb-8"},At={class:"flex justify-center space-x-4"},St={href:"#","aria-label":"Facebook",class:"bg-white text-blu p-2 rounded-2xl transition-colors duration-300 hover:bg-verde hover:text-white w-12 h-12 flex items-center justify-center"},Ot={href:"#","aria-label":"Instagram",class:"bg-white text-blu p-2 rounded-2xl transition-colors duration-300 hover:bg-verde hover:text-white w-12 h-12 flex items-center justify-center"},It={class:"hidden md:flex flex-wrap -mx-4"},Tt={class:"w-1/4 px-4 flex flex-col items-start"},Et={class:"w-full flex flex-col items-center"},Nt={class:"mt-4 w-auto bg-red-500 text-white py-2 px-4 rounded hover:bg-white hover:text-red-500 transition duration-300"},Dt={class:"w-3/4 flex flex-wrap"},Mt={class:"w-full flex justify-end mb-4"},Pt={href:"#","aria-label":"Facebook",class:"bg-white text-blu p-2 rounded-2xl transition-colors duration-300 hover:bg-verde hover:text-white mr-2 w-12 h-12 flex items-center justify-center"},Ft={href:"#","aria-label":"Instagram",class:"bg-white text-blu p-2 rounded-2xl transition-colors duration-300 hover:bg-verde hover:text-white w-12 h-12 flex items-center justify-center"},Lt={class:"w-full flex flex-wrap justify-between"},Ut={class:"w-1/3 px-4 flex justify-center"},Vt={class:"flex flex-col space-y-2 items-center"},Rt={class:"w-1/3 px-4 flex justify-center"},qt={class:"flex flex-col space-y-2 items-center"},Ht={class:"w-1/3 px-4 flex justify-center"},Wt={class:"flex flex-col space-y-2 items-center"},Gt={class:"flex flex-col md:flex-row justify-between items-center text-base text-black text-center m-auto px-4 md:px-14 py-2 w-11/12"},Yt={class:"text-sm mt-1.5 mb-2 md:mb-0"},Jt={class:"text-sm mt-1.5 flex items-center justify-center gap-1"},Xt={href:"https://github.com/giovannimanetti11/PerseoNXT",target:"_blank",rel:"noopener noreferrer",class:"hover:text-celeste inline-flex items-center gap-1"},Zt={__name:"Footer",setup(c){const n=V(()=>new Date().getFullYear());return(t,e)=>{const o=ge,i=E;return g(),k(me,null,[s("footer",kt,[s("div",jt,[s("div",Bt,[r(o,{to:"/","aria-label":"Home",class:"w-full max-w-[200px]"},{default:h(()=>[...e[0]||(e[0]=[s("img",{src:R,alt:"Wikiherbalist Logo",class:"w-full h-auto mb-4",width:"200",height:"56"},null,-1)])]),_:1}),s("div",zt,[r(o,{to:"/glossario",class:"hover:underline"},{default:h(()=>[...e[1]||(e[1]=[m("Glossario",-1)])]),_:1}),r(o,{to:"/piante-medicinali",class:"hover:underline"},{default:h(()=>[...e[2]||(e[2]=[m("Piante medicinali",-1)])]),_:1}),r(o,{to:"/blog",class:"hover:underline"},{default:h(()=>[...e[3]||(e[3]=[m("Blog",-1)])]),_:1}),r(o,{to:"/about",class:"hover:underline"},{default:h(()=>[...e[4]||(e[4]=[m("About",-1)])]),_:1}),r(o,{to:"/#section-contacts",class:"hover:underline"},{default:h(()=>[...e[5]||(e[5]=[m("Contattaci",-1)])]),_:1}),e[7]||(e[7]=s("span",{class:"hover:underline"},"Lavora con Noi",-1)),e[8]||(e[8]=s("span",{class:"hover:underline"},"Prossimi Eventi",-1)),e[9]||(e[9]=s("span",{class:"hover:underline"},"Newsletter",-1)),r(o,{to:"/disclaimer",class:"hover:underline"},{default:h(()=>[...e[6]||(e[6]=[m("Disclaimer",-1)])]),_:1})]),s("div",Ct,[e[11]||(e[11]=s("p",{class:"text-lg font-semibold mb-2"},"Supporta la nostra attività di divulgazione",-1)),r(o,{to:"/donazioni",class:"w-full bg-red-500 text-white py-2 px-4 rounded hover:bg-white hover:text-red-500 transition duration-300"},{default:h(()=>[r(i,{name:"ph:heart",class:"text-3xl inline-block align-middle mr-2"}),e[10]||(e[10]=s("span",{class:"inline-block align-middle"},"Donazione",-1))]),_:1})]),s("div",At,[s("a",St,[r(i,{name:"uil:facebook-f",class:"text-3xl"})]),s("a",Ot,[r(i,{name:"uil:instagram",class:"text-3xl"})])])]),s("div",It,[s("div",Tt,[s("div",Et,[e[13]||(e[13]=s("div",{class:"flex flex-col items-center text-center w-full max-w-[200px]"},[s("img",{src:R,alt:"Wikiherbalist Logo",class:"w-full h-auto mb-4",width:"200",height:"56"}),s("p",{class:"mt-4 text-lg font-semibold"},"Supporta la nostra attività di divulgazione")],-1)),r(o,{to:"/donazioni",class:"flex flex-col items-center text-center w-full max-w-[200px]"},{default:h(()=>[s("button",Nt,[r(i,{name:"ph:heart",class:"text-3xl inline-block align-middle mr-2"}),e[12]||(e[12]=s("span",{class:"inline-block align-middle"},"Donazione",-1))])]),_:1})])]),s("div",Dt,[s("div",Mt,[s("a",Pt,[r(i,{name:"uil:facebook-f",class:"text-3xl"})]),s("a",Ft,[r(i,{name:"uil:instagram",class:"text-3xl"})])]),s("div",Lt,[s("div",Ut,[s("div",Vt,[r(o,{to:"/about",class:"hover:underline"},{default:h(()=>[...e[14]||(e[14]=[m("About",-1)])]),_:1}),r(o,{to:"/piante-medicinali",class:"hover:underline whitespace-nowrap"},{default:h(()=>[...e[15]||(e[15]=[m("Piante medicinali",-1)])]),_:1}),r(o,{to:"/glossario",class:"hover:underline"},{default:h(()=>[...e[16]||(e[16]=[m("Glossario",-1)])]),_:1}),r(o,{to:"/blog",class:"hover:underline"},{default:h(()=>[...e[17]||(e[17]=[m("Blog",-1)])]),_:1}
2)])]),s("div",Rt,[s("div",qt,[e[19]||(e[19]=se('<div class="relative" data-v-c1097616><span class="text-gray-600" data-v-c1097616>Lavora con Noi</span><img src="'+S+'" alt="Coming Soon" class="absolute top-0 -right-16 w-16 h-auto" data-v-c1097616></div><div class="relative" data-v-c1097616><span class="text-gray-600" data-v-c1097616>Prossimi Eventi</span><img src="'+S+'" alt="Coming Soon" class="absolute top-0 -right-16 w-16 h-auto" data-v-c1097616></div><div class="relative" data-v-c1097616><span class="text-gray-600" data-v-c1097616>Newsletter</span><img src="'+S+'" alt="Coming Soon" class="absolute top-0 -right-16 w-16 h-auto" data-v-c1097616></div>',3)),r(o,{to:"/#section-contacts",class:"hover:underline"},{default:h(()=>[...e[18]||(e[18]=[m("Contattaci",-1)])]),_:1})])]),s("div",Ht,[s("div",Wt,[r(o,{to:"/privacy-policy",class:"hover:underline"},{default:h(()=>[...e[20]||(e[20]=[m("Privacy Policy",-1)])]),_:1}),r(o,{to:"/cookie-policy",class:"hover:underline"},{default:h(()=>[...e[21]||(e[21]=[m("Cookie Policy",-1)])]),_:1}),r(o,{to:"/disclaimer",class:"hover:underline"},{default:h(()=>[...e[22]||(e[22]=[m("Disclaimer",-1)])]),_:1})])])])])])])]),s("div",Gt,[s("div",Yt," © Wikiherbalist - all rights reserved - "+ee(n.value),1),s("div",Jt,[e[24]||(e[24]=m(" Un progetto Open Source ",-1)),s("a",Xt,[r(i,{name:"mdi:github",class:"inline-block align-middle",size:"1.5em"}),e[23]||(e[23]=m(" Contribuisci ",-1))])])])],64)}}},Kt=N(Zt,[["__scopeId","data-v-c1097616"]]),Qt={__name:"ScrollToTop",setup(c){const n=w(!1),t=()=>{n.value=window.scrollY>300},e=()=>{window.scrollTo({top:0,behavior:"smooth"})};return H(()=>{window.addEventListener("scroll",t),t()}),te(()=>{window.removeEventListener("scroll",t)}),(o,i)=>{const l=E;return g(),T(Q,{name:"fade"},{default:h(()=>[I(s("button",{onClick:e,class:"fixed bottom-20 right-6 bg-blu hover:bg-celeste text-white rounded-full p-2 w-12 h-12 shadow-lg transition-all duration-300 z-50 flex items-center justify-center","aria-label":"Torna in cima"},[r(l,{name:"mdi:chevron-up",class:"w-6 h-6"})],512),[[he,n.value]])]),_:1})}}},es=N(Qt,[["__scopeId","data-v-41d18fee"]]),ts={id:"main-content"},ds={__name:"default",setup(c){le({htmlAttrs:{lang:"it"}});const n=Z(()=>G(()=>import("./DCz_nZUU.js"),__vite__mapDeps([0,1,2,3,4,5]),import.meta.url)),t=Z(()=>G(()=>import("./CYLHNdW4.js"),__vite__mapDeps([6,7,1,2,3,8,4,9]),import.meta.url)),e=w(!1),o=w(!1);return H(()=>{(l=>"requestIdleCallback"in window?re(l,{timeout:2e3}):setTimeout(l,800))(()=>{e.value=!0,o.value=!0})}),(i,l)=>{const a=$t,d=Kt,v=es,x=de;return g(),k("div",null,[l[0]||(l[0]=s("a",{href:"#main-content",class:"sr-only focus:not-sr-only focus:absolute focus:top-2 focus:left-2 focus:z-[9999] focus:bg-white focus:px-4 focus:py-2 focus:rounded focus:shadow"}," Vai al contenuto principale ",-1)),r(a),s("main",ts,[pe(i.$slots,"default")]),r(d),r(x,null,{default:h(()=>[r(v)]),_:1}),r(x,null,{default:h(()=>[e.value?(g(),T(J(X(n)),{key:0})):A("",!0),o.value?(g(),T(J(X(t)),{key:1})):A("",!0)]),_:1})])}}};export{ds 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.