PageSourceSearch

https://www.3fonteinen.be/_nuxt/Bvxue9l1.js

js 3fonteinen.be collected 2026-09-24 19:15:14 UTC 7,810 bytes, 1 lines download raw bytes

1import{b7 as N,bb as P,cF as U,c3 as R,b4 as x,bj as $,bk as h,bl as e,bm as r,bu as k,br as o,bs as n,ed as D,bv as M,bw as Q,ef as K,bL as W,bM as Z,bP as I,bq as y,bB as b,bA as C,cz as J,cH as X,eg as Y,eh as ee,ei as te,b_ as S,b2 as oe,bt as se,bW as O,be as V,bK as ne,bG as le,bz as ae,bx as ie,by as ce,ce as re,ej as ue,bZ as de,ek as _e,c2 as me,c4 as pe,cw as fe,el as be,cd as ge}from"./DazIvxnx.js";import{_ as ve}from"./jvnsd4-1.js";import{_ as xe}from"./BDnrKbu1.js";import{_ as ye}from"./BrBIHzL-.js";import{_ as E}from"./DlAUqK2U.js";import"./BVuykiEg.js";import"./GsAsqvdk.js";import"./ix0K6V0T.js";const he={class:"h5"},ke={class:"h2"},we={class:"flex flex-wrap gap-4 mt-8 justify-center"},Ce=N({__name:"CAgeModal",async setup(g){let t,c;const s=([t,c]=P(()=>U()),t=await t,c(),t),l=R("age-verified",{default:()=>!1,maxAge:720*60*60}),u=x(()=>window.location!==window.parent.location||window.location.search.includes("_storyblok"));return(d,f)=>{const j=D,A=ve,a=Q,v=K;return e(u)?h("",!0):(r(),$(v,{key:0,open:!e(l),scrollable:""},{content:k(()=>[f[1]||(f[1]=o("span",{tabindex:"0",class:"sr-only"},null,-1)),n(j),o("h2",he,M(e(s)?.ageModal.title),1),o("h3",ke,M(e(s)?.ageModal.subTitle),1),o("div",null,[o("p",null,M(e(s)?.ageModal.description),1),o("div",we,[n(A,{label:e(s)?.ageModal.declineLabel,variant:"outline",blok:e(s)?.ageModal.declineRedirectLink,target:"_blank"},null,8,["label","blok"]),n(a,{label:e(s)?.ageModal.acceptLabel,onClick:f[0]||(f[0]=p=>l.value=!0)},null,8,["label"])])])]),_:1},8,["open"]))}}}),$e=Object.assign(Ce,{__name:"CAgeModal"}),Me={slots:{root:"",top:"py-8 lg:py-12",bottom:"py-8 lg:py-12",container:"py-8 lg:py-4 lg:flex lg:items-center lg:justify-between lg:gap-x-3",left:"flex items-center justify-center lg:justify-start lg:flex-1 gap-x-1.5 mt-3 lg:mt-0 lg:order-1",center:"mt-3 lg:mt-0 lg:order-2 flex items-center justify-center",right:"lg:flex-1 flex items-center justify-center lg:justify-end gap-x-1.5 lg:order-3"}},je={__name:"UFooter",props:{as:{type:null,required:!1,default:"footer"},class:{type:null,required:!1},ui:{type:null,required:!1}},setup(g){const t=g,c=W(),s=Z(),l=x(()=>I({extend:I(Me),...s.ui?.footer||{}})());return(u,d)=>(r(),$(e(X),{as:g.as,"data-slot":"root",class:b(l.value.root({class:[t.ui?.root,t.class]}))},{default:k(()=>[c.top?(r(),y("div",{key:0,"data-slot":"top",class:b(l.value.top({class:t.ui?.top}))},[C(u.$slots,"top")],2)):h("",!0),n(J,{"data-slot":"container",class:b(l.value.container({class:t.ui?.container}))},{default:k(()=>[o("div",{"data-slot":"right",class:b(l.value.right({class:t.ui?.right}))},[C(u.$slots,"right")],2),o("div",{"data-slot":"center",class:b(l.value.center({class:t.ui?.center}))},[C(u.$slots,"default")],2),o("div",{"data-slot":"left",class:b(l.value.left({class:t.ui?.left}))},[C(u.$slots,"left")],2)]),_:3},8,["class"]),c.bottom?(r(),y("div",{key:1,"data-slot":"bottom",class:b(l.value.bottom({class:t.ui?.bottom}))},[C(u.$slots,"bottom")],2)):h("",!0)]),_:3},8,["as","class"]))}},Ae={class:"mt-4 font-serif text-xl leading-[1.4] font-bold not-italic lg:mt-6 lg:text-lg"},Le={class:"flex w-full flex-col mb-16 lg:mb-0"},ze=N({__name:"CFooter",async setup(g){let t,c;const s=([t,c]=P(()=>U()),t=await t,c(),t);return(l,u)=>{const d=D,f=xe,j=ee,A=te,a=Y,v=ye,p=je;return r(),$(p,{class:"c-footer py-[4rem] lg:py-[6rem]"},{left:k(()=>[o("div",null,[n(d),o("address",Ae,[n(f,{body:e(s)?.address},null,8,["body"])])]),e(s)?(r(),$(j,{key:0,items:e(s)?.legalMenu,variant:"linkSmall",showCookiePolicyButton:""},null,8,["items"])):h("",!0),n(A)]),default:k(()=>[o("div",Le,[e(s)?(r(),$(a,{key:0,navType:"footer",navigationMenu:e(s)?.footerMenu,socialLinks:e(s)?.organization?.socialLinks},null,8,["navigationMenu","socialLinks"])):h("",!0),n(v,{variant:"footer",class:"c-footer__newsletter -mt-10 lg:mt-16"})])]),_:1})}}}),Te=Object.assign(ze,{__name:"CFooter"}),Be={key:0,class:"fixed inset-x-0 bottom-0 z-50 bg-sea-100 rounded-t-lg px-4 py-4 shadow-lg"},Se={class:"mx-auto flex max-w-screen-xl flex-col gap-4 lg:flex-row lg:items-center lg:gap-6"},Oe={class:"flex items-center justify-between lg:shrink-0"},Ve={class:"text-xl font-semibold"},Ne={key:0,class:"text-sm font-normal text-neutral-600"},Pe={class:"flex flex-wrap gap-2"},qe=["disabled","onClick"],Fe={class:"flex items-center gap-3 lg:ml-auto"},Ie={class:"flex items-center gap-2"},Ue=["disabled"],Re=["max","disabled"],De=["disabled"],Qe=N({__name:"CQuickAddBanner",async setup(g){let t,c;const s=S("cart"),l=S("cartPopupOpen",()=>!1),u=S("showNav",()=>!0),d=S("quickAddProduct",()=>null),f=oe(),j=([t,c]=P(()=>se()),t=await t,c(),t),A=me(),a=O(1),v=O(!1),p=x(()=>d.value?d.value.variants.filter(i=>i.title!=="Default Title"):[]),L=O(null),q=x(()=>p.value.find(i=>i.stock>0)??p.value[0]??null),z=x(()=>p.value.length>0&&p.value.every(i=>i.stock<=0)),_=x(()=>L.value?p.value.find(i=>i.id===L.value)??q.value:q.value),F=x(()=>
1{if(!_.value)return"";const i=_.value.title.toLowerCase();return i.includes("fles")||i.includes("bottle")?"fles":""});V(d,()=>{L.value=null,a.value=1}),V(()=>f.fullPath,()=>{T()}),V(_,()=>{a.value=1});async function H(){if(_.value){v.value=!0;try{s.value=await A("/cart",{method:"POST",body:{cartId:s.value?.id,itemId:_.value.id,quantity:a.value}}),R("cartId").value=s.value?.id,pe(),u.value=!0,await fe(),l.value=!0,T()}catch{}finally{v.value=!1}}}function T(){d.value=null}return(i,w)=>{const B=ae,G=Q;return r(),$(_e,{name:"slide-up"},{default:k(()=>[e(d)&&e(_)?(r(),y("div",Be,[o("div",Se,[o("div",Oe,[o("p",Ve,[ne(M(("formatAmount"in i?i.formatAmount:e(le))(e(_).price))+" ",1),e(F)?(r(),y("span",Ne,"/ "+M(e(F)),1)):h("",!0)]),o("button",{class:"flex size-10 items-center justify-center rounded-full lg:hidden",onClick:T},[n(B,{name:"i-lucide-x",class:"size-4"})])]),o("div",Pe,[(r(!0),y(ie,null,ce(e(p),m=>(r(),y("button",{key:m.id,disabled:m.stock<=0,class:b(["rounded-full px-4 py-2 text-sm font-medium transition-colors",m.stock<=0?"border border-dashed border-neutral-400 text-neutral-400 cursor-not-allowed opacity-50 line-through":e(_)?.id===m.id?"bg-primary text-light":"border border-dashed border-primary text-primary"]),onClick:We=>L.value=m.id}
1,M(m.title),11,qe))),128))]),o("div",Fe,[o("div",Ie,[o("button",{class:"flex size-10 items-center justify-center rounded-full bg-white disabled:opacity-50 disabled:cursor-not-allowed",disabled:e(z)||e(a)<=1,onClick:w[0]||(w[0]=m=>a.value--)},[n(B,{name:"i-lucide-minus",class:"size-4"})],8,Ue),re(o("input",{"onUpdate:modelValue":w[1]||(w[1]=m=>de(a)?a.value=m:null),type:"number",min:"1",max:e(_).stock,disabled:e(z),class:"w-16 rounded-sm bg-white py-2 text-center text-sm [appearance:textfield] [&::-webkit-inner-spin-button]:appearance-none [&::-webkit-outer-spin-button]:appearance-none disabled:opacity-50 disabled:cursor-not-allowed"},null,8,Re),[[ue,e(a),void 0,{number:!0}]]),o("button",{class:"flex size-10 items-center justify-center rounded-full bg-white disabled:opacity-50 disabled:cursor-not-allowed",disabled:e(z)||e(a)>=e(_).stock,onClick:w[2]||(w[2]=m=>a.value++)},[n(B,{name:"i-lucide-plus",class:"size-4"})],8,De)]),n(G,{label:e(j)?.addToCart,icon:"icon:bag-shopping",loading:e(v),disabled:e(z),class:"flex-row justify-center",onClick:H},null,8,["label","loading","disabled"]),o("button",{class:"hidden size-10 items-center justify-center rounded-full lg:flex",onClick:T},[n(B,{name:"i-lucide-x",class:"size-4"})])])])])):h("",!0)]),_:1})}}}),Ee=Object.assign(E(Qe,[["__scopeId","data-v-b071b946"]]),{__name:"CQuickAddBanner"}),He={},Ge={class:"default-layout grid min-h-full grid-rows-[auto_1fr_auto]"};function Ke(g,t){const c=be,s=$e,l=Te,u=Ee,d=ge;return r(),y("div",Ge,[n(c),o("main",null,[n(s),C(g.$slots,"default")]),n(l),n(d,null,{default:k(()=>[n(u)]),_:1})])}const nt=E(He,[["render",Ke]]);export{nt 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.