1import{J as k}from"./Dhi2TEid.js";import{d as y,b as f,c as t,o as P,j as e,h as g,q as v,G as n,i as _,I as r,g as c,aV as h,P as C}from"./CelG4gE-.js";import{c as b}from"./6Fkp1K7T.js";import j from"./D1xkqyP_.js";import{u as x}from"./D1y_ja7N.js";const I=""+new URL("assets/entry-packed-t36XtHeE.svg",import.meta.url).href,E=""+new URL("assets/entry-unpacked-CeRFLoht.svg",import.meta.url).href,w=y({__name:"index",setup(R){const i=h("stacked",!1),o=x(),{details:m}=f(),s=t(()=>m.value?.extrasOptIn??!1),a=t(()=>o.hasActivePromotions||o.hasUnpackedPromotions),u=t(()=>!s.value||a.value||o.hasPackedPromotions),l=t(()=>a.value?E:I),d=t(()=>o.packedPromotions.length),p=t(()=>s.value&&!a.value?"Aanbiedingen uitpakken":"Persoonlijke aanbiedingen");return P(async()=>{s.value&&await b("customer-promotions",()=>o.fetch(),"$vRTnjjwC_m")}),(L,O)=>e(u)?(c(),g("div",{key:0,class:r(["loyalty-carousel-promotions-entry",{"loyalty-carousel-promotions-entry--stacked":e(i)}])},[!e(a)&&e(o).hasPackedPromotions?(c(),v(e(k),{key:0,class:"badge",context:"on-default",count:e(d),type:"prominent","data-testid":"promotion-count"},null,8,["count"])):n("",!0),_(j,{"data-testid":"entry",class:r(["entry",{"opted-in":e(s),border:e(o).hasPackedPromotions}]),"img-src":e(l),title:e(p),url:"/aanbiedingen/aanbiedingen-voor-jou"},null,8,["class","img-src","title"])],2)):n("",!0)}}),S=Object.assign(C(w,[["__scopeId","data-v-e0d62d89"]]),{__name:"LoyaltyCustomerPromotions"});export{S 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.