1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./cc-ChbZuztW.js","./cc-BUI0hMHl.js","./cc-Dzg3V2Wq.js","./chunk-pg-campaign.Dxaw8qah.css","./cc-Ci3IREnc.js","./cc-B9LLKQJX.js","./cc-CA8MniaM.js","./cc-DYqnGMKa.js","./chunk-pg-freebie.znIp6bfV.css","./cc-Ea_5nU3g.js","./cc-DEDcQR8v.js","./chunk-pg-misc.DvtIZmtP.css","./cc-wOJsKrAT.js","./cc-CfRUFr8S.js","./cc-C6xy9SCj.js","./cc-BcV5t8ol.js","./cc-Bjdd6AU9.js","./chunk-pg-user.Cfp_5sKS.css","./cc-Cvc5NlFp.js"])))=>i.map(i=>d[i]); 2import{h as st,u as nt,b as E,t as U,S as Ue,o,e as k,w as H,g as t,A as g,aC as Re,aA as ue,U as me,m as f,j as l,l as n,f as ot,F as C,V as W,n as $,C as _,B as c,i as de,E as V,Y as he,ar as lt,Z as ct,aD as Ke,W as N,a9 as at,aE as it,aF as be,s as M,G as re,y as rt,X as ye,a7 as dt,at as Oe,a4 as ut,ay as mt,ac as ht,a6 as we,ad as pt}from"./cc-Dzg3V2Wq.js";import{r as gt,I as vt,s as _t,t as wt,v as ft,l as xt,w as bt,x as yt,a as $e,g as $t,e as kt,b as Ct,p as Vt}from"./cc-BUI0hMHl.js";import{_ as zt,p as ee}from"./cc-DEDcQR8v.js";import{a as Ht}from"./cc-CA8MniaM.js";const v2={key:s=>s.fullPath,middleware:[s=>st({to:s,request:()=>nt("/api/pages/shop",{query:{slug:s.params.slug,utm_source:s.query.utm_source}}),breadcrumb:e=>{var i;const a=(i=e.value.shop.portal_main_categories)==null?void 0:i[0],r=[];return a&&r.push({name:a.title,item:{name:"category-main",params:{slug:a.slug}}}),r.push({name:e.value.shop.title}),r}})]},Lt=ue(()=>me(()=>import("./cc-ChbZuztW.js"),__vite__mapDeps([0,1,2,3]),import.meta.url).then(s=>s.default||s)),Mt=E({__name:"VoucherAlarm",props:{term:null,identifier:null},setup(s){const e=U(!1),a=U(!1);return Ue(()=>{new IntersectionObserver(([i])=>e.value=i.isIntersecting,{threshold:0}).observe(document.querySelector("footer"))}),(r,i)=>{const u=Lt;return o(),k(Re,null,{default:H(()=>[t(e)&&!t(a)?(o(),k(u,{key:0,term:s.term,identifier:s.identifier,onClose:i[0]||(i[0]=h=>a.value=!0)},null,8,["term","identifier"])):g("",!0)]),_:1})}}}),St={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:"1rem",width:"1rem"};function It(s,e){return o(),l("svg",St,e[0]||(e[0]=[n("path",{d:"M190.6 71.4C203 47.9 227.7 32 256 32s53 15.9 65.4 39.4c3.6 6.8 11.5 10.1 18.8 7.8c25.4-7.8 54.1-1.6 74.1 18.4s26.2 48.7 18.4 74.1c-2.3 7.3 1 15.2 7.8 18.8C464.1 203 480 227.7 480 256s-15.9 53-39.4 65.4c-6.8 3.6-10.1 11.5-7.8 18.8c7.8 25.4 1.6 54.1-18.4 74.1s-48.7 26.2-74.1 18.4c-7.3-2.3-15.2 1-18.8 7.8C309 464.1 284.3 480 256 480s-53-15.9-65.4-39.4c-3.6-6.8-11.5-10.1-18.8-7.8c-25.4 7.8-54.1 1.6-74.1-18.4s-26.2-48.7-18.4-74.1c2.3-7.3-1-15.2-7.8-18.8C47.9 309 32 284.3 32 256s15.9-53 39.4-65.4c6.8-3.6 10.1-11.5 7.8-18.8c-7.8-25.4-1.6-54.1 18.4-74.1s48.7-26.2 74.1-18.4c7.3 2.3 15.2-1 18.8-7.8zM256 0c-36.1 0-68 18.1-87.1 45.6c-33-6-68.3 3.8-93.9 29.4s-35.3 60.9-29.4 93.9C18.1 188 0 219.9 0 256s18.1 68 45.6 87.1c-6 33 3.8 68.3 29.4 93.9s60.9 35.3 93.9 29.4C188 493.9 219.9 512 256 512s68-18.1 87.1-45.6c33 6 68.3-3.8 93.9-29.4s35.3-60.9 29.4-93.9C493.9 324 512 292.1 512 256s-18.1-68-45.6-87.1c6-33-3.8-68.3-29.4-93.9s-60.9-35.3-93.9-29.4C324 18.1 292.1 0 256 0zm16.9 140.4c0-8.8-7.2-16-16-16s-16 7.2-16 16v20.8c-9.5 1.5-19.2 4.6-27.7 9.7c-14.1 8.3-25.7 22.7-25.6 43.4c.1 19.6 11.4 32.1 24.4 39.9c11.5 6.9 26.1 11.3 38.4 15l1.7 .5c13.8 4.2 24.8 7.7 32.7 12.6c6.9 4.3 9.3 8.4 9.4 14.3c.1 8.1-3.4 13.2-9.5 17c-6.8 4.3-16.9 6.5-27.3 6.2c-13.4-.4-25.8-4.7-40.9-9.8l0 0 0 0c-2.5-.9-5.2-1.8-7.9-2.7c-8.4-2.8-17.4 1.7-20.2 10.1s1.7 17.4 10.1 20.2c2.2 .7 4.6 1.5 6.9 2.4c10.6 3.7 22.7 7.8 35.4 10.1v21.3c0 8.8 7.2 16 16 16s16-7.2 16-16V351c10-1.5 20-4.6 28.7-10.1c14.3-8.9 24.9-23.9 24.6-44.6c-.3-19.8-11.3-32.7-24.4-41c-12-7.6-27.4-12.2-40-16l-.4-.1c-13.9-4.2-25-7.6-32.8-12.3c-6.9-4.2-8.9-7.8-8.9-12.7c0-6.8 3.2-11.8 9.9-15.7c7.3-4.3 17.5-6.5 27.1-6.4c11.4 .2 23.7 2.7 36.1 6c8.5 2.3 17.3-2.8 19.6-11.3s-2.8-17.3-11.3-19.6c-8.7-2.3-18.3-4.5-28.1-5.8V140.4z"},null,-1)]))}const Tt=f({name:"fal-badge-dollar",render:It}),Bt={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:"1rem",width:"1rem"};function Et(s,e){return o(),l("svg",Bt,e[0]||(e[0]=[n("path",{d:"M190.6 71.4C203 47.9 227.7 32 256 32s53 15.9 65.4 39.4c3.6 6.8 11.5 10.1 18.8 7.8c25.4-7.8 54.1-1.6 74.1 18.4s26.2 48.7 18.4 74.1c-2.3 7.3 1 15.2 7.8 18.8C464.1 203 480 227.7 480 256s-15.9 53-39.4 65.4c-6.8 3.6-10.1 11.5-7.8 18.8c7.8 25.4 1.6 54.1-18.4 74.1s-48.7 26.2-74.1 18.4c-7.3-2.3-15.2
21-18.8 7.8C309 464.1 284.3 480 256 480s-53-15.9-65.4-39.4c-3.6-6.8-11.5-10.1-18.8-7.8c-25.4 7.8-54.1 1.6-74.1-18.4s-26.2-48.7-18.4-74.1c2.3-7.3-1-15.2-7.8-18.8C47.9 309 32 284.3 32 256s15.9-53 39.4-65.4c6.8-3.6 10.1-11.5 7.8-18.8c-7.8-25.4-1.6-54.1 18.4-74.1s48.7-26.2 74.1-18.4c7.3 2.3 15.2-1 18.8-7.8zM256 0c-36.1 0-68 18.1-87.1 45.6c-33-6-68.3 3.8-93.9 29.4s-35.3 60.9-29.4 93.9C18.1 188 0 219.9 0 256s18.1 68 45.6 87.1c-6 33 3.8 68.3 29.4 93.9s60.9 35.3 93.9 29.4C188 493.9 219.9 512 256 512s68-18.1 87.1-45.6c33 6 68.3-3.8 93.9-29.4s35.3-60.9 29.4-93.9C493.9 324 512 292.1 512 256s-18.1-68-45.6-87.1c6-33-3.8-68.3-29.4-93.9s-60.9-35.3-93.9-29.4C324 18.1 292.1 0 256 0zm91.3 164.7c-6.2-6.2-16.4-6.2-22.6 0l-160 160c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0l160-160c6.2-6.2 6.2-16.4 0-22.6zM192 216a24 24 0 1 0 0-48 24 24 0 1 0 0 48zM320 344a24 24 0 1 0 0-48 24 24 0 1 0 0 48z"},null,-1)]))}const At=f({name:"fal-badge-percent",render:Et}),Dt={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",height:"1rem",width:"1rem"};function Ft(s,e){return o(),l("svg",Dt,e[0]||(e[0]=[n("path",{d:"M342.4 64H240v96H405.9L371.7 83c-5.1-11.6-16.6-19-29.2-19zM416 192H240 208 32V416c0 17.7 14.3 32 32 32H384c17.7 0 32-14.3 32-32V192zM42.1 160H208V64H105.6c-12.6 0-24.1 7.4-29.2 19L42.1 160zM342.4 32c25.3 0 48.2 14.9 58.5 38l41.6 93.6c3.6 8.2 5.5 17 5.5 26V416c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V189.6c0-9 1.9-17.8 5.5-26L47.1 70c10.3-23.1 33.2-38 58.5-38H342.4z"},null,-1)]))}const jt=f({name:"fal-box",render:Ft}),Nt={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512",height:"1rem",width:"1rem"};function Ut(s,e){return o(),l("svg",Nt,e[0]||(e[0]=[n("path",{d:"M24 0C15.2 0 8 7.2 8 16s7.2 16 16 16H88.9c6.9 0 13 4.4 15.2 10.9L211.6 365.4C190.1 379.8 176 404.2 176 432c0 44.2 35.8 80 80 80c43 0 78-33.9 79.9-76.4L565.5 351c8.3-3.1 12.5-12.3 9.5-20.5s-12.3-12.5-20.5-9.5L330.7 403.4C319.2 373.3 290.1 352 256 352c-5 0-9.9 .5-14.7 1.3L134.5 32.8C127.9 13.2 109.6 0 88.9 0H24zM256 384a48 48 0 1 1 0 96 48 48 0 1 1 0-96zm96.8-201.1c3 8.3 12.2 12.6 20.5 9.6s12.6-12.2 9.6-20.5l-19.2-52.6 60.1-21.9 54.7 150.4L328.2 302.5 273.5 152.2l60.1-21.9 19.2 52.6zM243.4 163.1l54.7 150.4c6 16.6 24.4 25.2 41 19.1l150.4-54.7c16.6-6 25.2-24.4 19.1-41L453.9 86.5c-6-16.6-24.4-25.2-41-19.1L262.5 122.1c-16.6 6-25.2 24.4-19.1 41z"},null,-1)]))}const Rt=f({name:"fal-dolly",render:Ut}),Kt={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:"1rem",width:"1rem"};function Ot(s,e){return o(),l("svg",Kt,e[0]||(e[0]=[n("path",{d:"M64 96c-17.7 0-32 14.3-32 32v39.9L227.6 311.3c16.9 12.4 39.9 12.4 56.8 0L480 167.9V128c0-17.7-14.3-32-32-32H64zM32 207.6V384c0 17.7 14.3 32 32 32H448c17.7 0 32-14.3 32-32V207.6L303.3 337.1c-28.2 20.6-66.5 20.6-94.6 0L32 207.6zM0 128C0 92.7 28.7 64 64 64H448c35.3 0 64 28.7 64 64V384c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V128z"},null,-1)]))}const Pt=f({name:"fal-envelope",render:Ot}),qt={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512",height:"1rem",width:"1rem"};function Wt(s,e){return o(),l("svg",qt,e[0]||(e[0]=[n("path",{d:"M397.1 32c-17.6 0-33.9 9-43.2 23.9l-45 72.1H320h80c26.5 0 48-21.5 48-48s-21.5-48-48-48h-2.9zm-130 96l-45-72.1C212.8 41 196.5 32 178.9 32H176c-26.5 0-48 21.5-48 48s21.5 48 48 48h80 11.1zM288 101l38.8-62c15.1-24.2 41.7-39 70.3-39H400c44.2 0 80 35.8 80 80c0 18-6 34.6-16 48h48c35.3 0 64 28.7 64 64V448c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V192c0-35.3 28.7-64 64-64h48c-10-13.4-16-30-16-48c0-44.2 35.8-80 80-80h2.9c28.6 0 55.2 14.7 70.3 39L288 101zM176 160H64c-17.7 0-32 14.3-32 32v96H544V192c0-17.7-14.3-32-32-32H400 322.2l58.1 69.8c5.7 6.8 4.7 16.9-2 22.5s-16.9 4.7-22.5-2L288 169l-67.7 81.3c-5.7 6.8-15.7 7.7-22.5 2s-7.7-15.7-2-22.5L253.8 160H176zM32 320v64H544V320H32zM544 448V416H32v32c0 17.7 14.3 32 32 32H512c17.7 0 32-14.3 32-32z"},null,-1)]))}const Gt=f({name:"fal-gift-card",render:Wt}),Jt={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:"1rem",width:"1rem"};function Xt(s,e){return o(),l("svg",Jt,e[0]||(e[0]=[n("path",{d:"M244 130.6l-12-13.5-4.2-4.7c-26-29.2-65.3-42.8-103.8-35.8c-53.3 9.7-92 56.1-92 110.3v3.5c0 32.3 13.4 63.1 37.1 85.1L253 446.8c.8 .7 1.9 1.2 3 1.2s2.2-.4 3-1.2L443 275.5c23.6-22 37-52.8 37-85.1v-3.5c0-54.2-38.7-100.6-92-110.3c-38.5-7-77.8 6.6-103.8 35.8l-4.2 4.7-12 13.5c-3 3.4-7.4 5.4-12 5.4s-8.9-2-12-5.4zm34.9-57.1C311 48.4 352.7 37.7 393.7 45.1C462.2 57.6 512 117.3 512 186.9v3.5c0 36-13.1 70.6-36.6 97.5c-3.4 3.8-6.9 7.5-10.7 11l-184 171.3c-.8 .8-1.7 1.5-2.6 2.2c-6.3 4.9-14.1 7.5-22.1 7.5c-9.2 0-18-3.5-24.8-9.7L47.2 299c-3.8-3.5-7.3-7.2-10.7-11C13.1 261 0 226.4 0 190.4v-3.5C0 117.3 49.8 57.6 118.3 45.1c40.9-7.4 82.6 3.2 114.7 28.4c6.7 5.3 13 11.1 18.7 17.6l4.2 4.7 4.2-4.7c4.2-4.7 8.6-9.1 13.3-13.1c1.8-1.5 3.6-3 5.4-4.5z"},null,-1)]))}const Qt=f({name:"fal-heart",render:Xt}),Yt={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512",height:"1rem",width:"1rem"};function Zt(s,e){return o(),l("svg",Yt,e[0]||(e[0]=[n("path",{d:"M298.6 4c-6-5.3-15.1-5.3-21.2 0L5.4 244c-6.6 5.8-7.3 16-1.4 22.6s16 7.3 22.6 1.4L64 235V432c0 44.2 35.8 80 80 80H432c44.2 0 80-35.8 80-80V235l37.4 33c6.6 5.8 16.7 5.2 22.6-1.4s5.2-16.7-1.4-22.6L298.6 4zM96 432V206.7L288 37.3 480 206.7V432c0 26.5-21.5 48-48 48H368V320c0-17.7-14.3-32-32-32H240c-17.7 0-32 14.3-32 32V480H144c-26.5 0-48-21.5-48-48zm144 48V320h96V480H240z"},null,-1)]))}const e1=f({name:"fal-home",render:Zt}),t1={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:"1rem",width:"1rem"};function s1(s,e){return o(),l("svg",t1,e[0]||(e[0]=[n("path",{d:"M256 32a224 224 0 1 1 0 448 224 224 0 1 1 0-448zm0 480A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM208 352c-8.8 0-16 7.2-16 16s7.2 16 16 16h96c8.8 0 16-7.2 16-16s-7.2-16-16-16H272V240c0-8.8-7.2-16-16-16H216c-8.8 0-16 7.2-16 16s7.2 16 16 16h24v96H208zm48-168a24 24 0 1 0 0-48 24 24 0 1 0 0 48z"},null,-1)]))}const n1=f({name:"fal-info-circle",render:s1}),o1={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:"1rem",width:"1rem"};function l1(s,e){return o(),l("svg",o1,e[0]||(e[0]=[n("path",{d:"M106.4 191.5c7.5-7.8 15.6-14.9 24.2-21.4L38.5 32l103.4 0 61.6 102.7c10.9-2.8 22.2-4.8 33.8-5.9l-68-113.3C163.5 5.9 153.1 0 141.9 0H24.6C11 0 0 11 0 24.6c0 4.8 1.4 9.6 4.1 13.6L106.4 191.5zm168.3-62.7c11.6 1 22.9 3 33.8 5.9L370.1 32l103.4 0L381.5 170.1c8.6 6.5 16.7 13.7 24.2 21.4L507.9 38.2c2.7-4 4.1-8.8 4.1-13.6C512 11 501 0 487.4 0H370.1c-11.2 0-21.7 5.9-27.4 15.5l-68 113.3zM256 192a144 144 0 1 1 0 288 144 144 0 1 1 0-288zm0 320a176 176 0 1 0 0-352 176 176 0 1 0 0 352zm38.8-229.5l-17.3-35.1c-8.8-17.8-34.2-17.8-43 0l-17.3 35.1-38.7 5.6c-19.7 2.9-27.5 27.1-13.3 40.9l28 27.3L186.5 395c-3.4 19.6 17.2 34.6 34.8 25.3L256 402.1l34.6 18.2c17.6 9.3 38.2-5.7 34.8-25.3l-6.6-38.6 28-27.3c14.2-13.9 6.4-38.1-13.3-40.9l-38.7-5.6zM244 300.5l12-24.3 12 24.3c3.5 7.1 10.3 12 18.1 13.1l26.8 3.9-19.4 18.9c-5.7 5.5-8.2 13.5-6.9 21.2l4.6 26.7-24-12.6c-7-3.7-15.3-3.7-22.3 0l-24 12.6 4.6-26.7c1.3-7.8-1.2-15.7-6.9-21.2l-19.4-18.9 26.8-3.9c7.8-1.1 14.6-6 18.1-13.1z"},null,-1)]))}const c1=f({name:"fal-medal",render:l1}),a1={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",height:"1rem",width:"1rem"};function i1(s,e){return o(),l("svg",a1,e[0]||(e[0]=[n("path",{d:"M416 96c0-17.7-14.3-32-32-32L64 64C46.3 64 32 78.3 32 96l0 320c0 17.7 14.3 32 32 32l320 0c17.7 0 32-14.3 32-32l0-320zM384 32c35.3 0 64 28.7 64 64l0 320c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64L0 96C0 60.7 28.7 32 64 32l320 0zM256 160c0 8.8-7.2 16-16 16l-128 0c-8.8 0-16-7.2-16-16s7.2-16 16-16l128 0c8.8 0 16 7.2 16 16zm80 80c8.8 0 16 7.2 16 16s-7.2 16-16 16l-224 0c-8.8 0-16-7.2-16-16s7.2-16 16-16l224 0zM192 352c0 8.8-7.2 16-16 16l-64 0c-8.8 0-16-7.2-16-16s7.2-16 16-16l64 0c8.8 0 16 7.2 16 16z"},null,-1)]))}const r1=f({name:"fal-poll-h",render:i1}),d1={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:"1rem",width:"1rem"};function u1(s,e){return o(),l("svg",d1,e[0]||(e[0]=[n("path",{d:"M480 256A224 224 0 1 0 32 256a224 224 0 1 0 448 0zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256zm168.7-86.2c6.5-24.6 28.7-41.8 54.2-41.8H280c35.5 0 64 29 64 64.3c0 24-13.4 46.2-34.9 57.2L272 268.3V288c0 8.8-7.2 16-16 16s-16-7.2
2-16-16V258.5c0-6 3.4-11.5 8.7-14.3l45.8-23.4c10.7-5.4 17.5-16.6 17.5-28.7c0-17.8-14.4-32.3-32-32.3H222.9c-10.9 0-20.5 7.4-23.2 17.9l-.2 .7c-2.2 8.5-11 13.7-19.5 11.4s-13.7-11-11.4-19.5l.2-.7zM232 352a24 24 0 1 1 48 0 24 24 0 1 1 -48 0z"},null,-1)]))}const m1=f({name:"fal-question-circle",render:u1}),h1={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512",height:"1rem",width:"1rem"};function p1(s,e){return o(),l("svg",h1,e[0]||(e[0]=[n("path",{d:"M26.5 4C21.8-.2 15.1-1.2 9.4 1.4S0 9.7 0 16V496c0 6.3 3.7 12 9.4 14.6s12.4 1.6 17.1-2.5l52.7-46.1 45.4 45.4c6.2 6.2 16.4 6.2 22.6 0L192 462.6l44.7 44.7c6.2 6.2 16.4 6.2 22.6 0l45.4-45.4L357.5 508c4.7 4.1 11.4 5.1 17.1 2.5s9.4-8.3 9.4-14.6V16c0-6.3-3.7-12-9.4-14.6S362.2-.2 357.5 4L304.7 50.1 259.3 4.7c-6.2-6.2-16.4-6.2-22.6 0L192 49.4 147.3 4.7c-6.2-6.2-16.4-6.2-22.6 0L79.3 50.1 26.5 4zM32 460.7V51.3L69.5 84c6.3 5.5 15.9 5.2 21.8-.7L136 38.6l44.7 44.7c6.2 6.2 16.4 6.2 22.6 0L248 38.6l44.7 44.7c6 6 15.5 6.3 21.8 .7L352 51.3V460.7L314.5 428c-6.3-5.5-15.9-5.2-21.8 .7L248 473.4l-44.7-44.7c-6.2-6.2-16.4-6.2-22.6 0L136 473.4 91.3 428.7c-6-6-15.5-6.3-21.8-.7L32 460.7zM96 144c-8.8 0-16 7.2-16 16s7.2 16 16 16H288c8.8 0 16-7.2 16-16s-7.2-16-16-16H96zM80 352c0 8.8 7.2 16 16 16H288c8.8 0 16-7.2 16-16s-7.2-16-16-16H96c-8.8 0-16 7.2-16 16zM96 240c-8.8 0-16 7.2-16 16s7.2 16 16 16H288c8.8 0 16-7.2 16-16s-7.2-16-16-16H96z"},null,-1)]))}const g1=f({name:"fal-receipt",render:p1}),v1={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",height:"1rem",width:"1rem"};function _1(s,e){return o(),l("svg",v1,e[0]||(e[0]=[n("path",{d:"M160 96v32H288V96c0-35.3-28.7-64-64-64s-64 28.7-64 64zm-32 64H48c-8.8 0-16 7.2-16 16V416c0 35.3 28.7 64 64 64H352c35.3 0 64-28.7 64-64V176c0-8.8-7.2-16-16-16H320v80c0 8.8-7.2 16-16 16s-16-7.2-16-16V160H160v80c0 8.8-7.2 16-16 16s-16-7.2-16-16V160zm0-32V96c0-53 43-96 96-96s96 43 96 96v32h80c26.5 0 48 21.5 48 48V416c0 53-43 96-96 96H96c-53 0-96-43-96-96V176c0-26.5 21.5-48 48-48h80z"},null,-1)]))}const w1=f({name:"fal-shopping-bag",render:_1}),f1={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512",height:"1rem",width:"1rem"};function x1(s,e){return o(),l("svg",f1,e[0]||(e[0]=[n("path",{d:"M327.9 2.2c-7.6 4.5-10.2 14.2-5.8 21.9l98 167.9H155.9l98-167.9c4.5-7.6 1.9-17.4-5.8-21.9s-17.4-1.9-21.9 5.8L118.8 192H65 32 16c-8.8 0-16 7.2-16 16s7.2 16 16 16H40L99.9 463.5C107 492 132.6 512 162 512H414c29.4 0 55-20 62.1-48.5L536 224h24c8.8 0 16-7.2 16-16s-7.2-16-16-16H544 511 457.2L349.8 7.9c-4.5-7.6-14.2-10.2-21.9-5.8zM73 224H503L445.1 455.8C441.5 470 428.7 480 414 480H162c-14.7 0-27.5-10-31-24.2L73 224zm151 80c0-8.8-7.2-16-16-16s-16 7.2-16 16v96c0 8.8 7.2 16 16 16s16-7.2 16-16V304zm64-16c-8.8 0-16 7.2-16 16v96c0 8.8 7.2 16 16 16s16-7.2 16-16V304c0-8.8-7.2-16-16-16zm96 16c0-8.8-7.2-16-16-16s-16 7.2-16 16v96c0 8.8 7.2 16 16 16s16-7.2 16-16V304z"},null,-1)]))}const b1=f({name:"fal-shopping-basket",render:x1}),y1={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512",height:"1rem",width:"1rem"};function $1(s,e){return o(),l("svg",y1,e[0]||(e[0]=[n("path",{d:"M16 0C7.2 0 0 7.2 0 16s7.2 16 16 16H53.9c7.6 0 14.2 5.3 15.7 12.8l58.9 288c6.1 29.8 32.3 51.2 62.7 51.2H496c8.8 0 16-7.2 16-16s-7.2-16-16-16H191.2c-15.2 0-28.3-10.7-31.4-25.6L152 288H466.5c29.4 0 55-20 62.1-48.5L570.6 71.8c5-20.2-10.2-39.8-31-39.8H99.1C92.5 13 74.4 0 53.9 0H16zm90.1 64H539.5L497.6 231.8C494 246 481.2 256 466.5 256H145.4L106.1 64zM168 456a24 24 0 1 1 48 0 24 24 0 1 1 -48 0zm80 0a56 56 0 1 0 -112 0 56 56 0 1 0 112 0zm200-24a24 24 0 1 1 0 48 24 24 0 1 1 0-48zm0 80a56 56 0 1 0 0-112 56 56 0 1 0 0 112z"},null,-1)]))}const k1=f({name:"fal-shopping-cart",render:$1}),C1={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512",height:"1rem",width:"1rem"};function V1(s,e){return o(),l("svg",C1,e[0]||(e[0]=[n("path",{d:"M520.6 120.9l0 0c18.7 29.6 .3 66.6-29.2 70.6c-2.6 .3-5.2 .5-7.9 .5c-16.5 0-31.2-7.2-41.5-18.5c-6.1-6.7-14.7-10.5-23.7-10.5s-17.6 3.8-23.7 10.5c-10.2 11.2-24.8 18.4-41.4 18.4c-16.5 0-31.3-7.2-41.4-18.4c-6.1-6.7-14.7-10.5-23.7-10.5s-17.7 3.8-23.7 10.5C254 184.8 239.3 192 222.7 192c-16.5 0-31.3-7.2-41.4-18.4c-6.1-6.7-14.7-10.5-23.7-10.5s-17.7 3.8-23.7 10.5C123.6 184.8 109 192 92.4 192c-2.6 0-5.2-.2
2-7.9-.5c-29.3-4-47.7-41-29.1-70.6l0 0L111.6 32H464.4l56.2 88.9zM483.4 224c4.1 0 8.1-.3 12.1-.8c55.5-7.4 81.8-72.5 52.1-119.4L490.3 13.1C485.2 5 476.1 0 466.4 0H109.6C99.9 0 90.8 5 85.7 13.1L28.3 103.8c-29.6 46.8-3.4 111.9 51.9 119.4c4 .5 8.1 .8 12.1 .8c19.6 0 37.5-6.4 52-17c4.8-3.5 9.2-7.6 13.2-11.9c4 4.4 8.4 8.4 13.2 11.9c14.5 10.6 32.4 17 52 17c19.6 0 37.5-6.4 52-17c4.8-3.5 9.2-7.6 13.2-12c4 4.4 8.4 8.4 13.2 11.9c14.5 10.6 32.4 17 52 17c19.8 0 37.8-6.5 52.3-17.3c4.7-3.5 9-7.4 12.9-11.7c3.9 4.3 8.3 8.3 13 11.8c14.5 10.7 32.5 17.2 52.2 17.2zM80 256c-8.8 0-16 7.2-16 16v80 16 16 64c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V384 368 352 272c0-8.8-7.2-16-16-16s-16 7.2-16 16v80H96V272c0-8.8-7.2-16-16-16zM96 384H480v64c0 17.7-14.3 32-32 32H128c-17.7 0-32-14.3-32-32V384z"},null,-1)]))}const z1=f({name:"fal-store",render:V1}),H1={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",height:"1rem",width:"1rem"};function L1(s,e){return o(),l("svg",H1,e[0]||(e[0]=[n("path",{d:"M32 229.5V80c0-8.8 7.2-16 16-16H197.5c8.5 0 16.6 3.4 22.6 9.4l176 176c12.5 12.5 12.5 32.8 0 45.3L262.6 428.1c-12.5 12.5-32.8 12.5-45.3 0l-176-176L18.7 274.7l22.6-22.6c-6-6-9.4-14.1-9.4-22.6zm-32 0c0 17 6.7 33.3 18.7 45.3l176 176c25 25 65.5 25 90.5 0L418.7 317.3c25-25 25-65.5 0-90.5l-176-176c-12-12-28.3-18.7-45.3-18.7H48C21.5 32 0 53.5 0 80V229.5zM112 168a24 24 0 1 0 0-48 24 24 0 1 0 0 48z"},null,-1)]))}const M1=f({name:"fal-tag",render:L1}),S1={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:"1rem",width:"1rem"};function I1(s,e){return o(),l("svg",S1,e[0]||(e[0]=[n("path",{d:"M288.8 81.7c3.5-12.8 16.7-20.3 29.5-16.8s20.3 16.7 16.8 29.5l-4.5 16.4c-5.5 20.2-13.9 39.3-24.7 56.9c-3.1 4.9-3.2 11.1-.4 16.2s8.2 8.2 14 8.2H448c17.7 0 32 14.3 32 32c0 11.3-5.9 21.3-14.8 27c-7.2 4.6-9.5 13.9-5.3 21.3c2.6 4.6 4.1 10 4.1 15.7c0 12.4-7 23.1-17.3 28.5c-4.2 2.2-7.3 6.1-8.3 10.8s.1 9.5 3 13.2c4.2 5.4 6.7 12.2 6.7 19.5c0 14.2-9.2 26.3-22.1 30.4c-7.8 2.5-12.4 10.6-10.7 18.6c.5 2.2 .7 4.5 .7 6.9c0 17.7-14.3 32-32 32H294.5c-15.8 0-31.2-4.7-44.4-13.4l-38.5-25.7c-9-6-16.6-13.7-22.4-22.6c-4.9-7.4-14.8-9.4-22.2-4.6s-9.4 14.8-4.6 22.2c8.1 12.3 18.7 23.1 31.4 31.6l38.5 25.7c18.4 12.3 40 18.8 62.1 18.8H384c35.3 0 64-28.7 64-64l0-.6c19.1-11.1 32-31.7 32-55.4c0-8.7-1.8-17.1-4.9-24.7C487.9 323.6 496 306.8 496 288c0-6.5-1-12.8-2.8-18.7C504.8 257.7 512 241.7 512 224c0-35.3-28.7-64-64-64H346.4c6.2-13.1 11.3-26.7 15.1-40.9l4.5-16.4c8.1-29.8-9.5-60.6-39.3-68.8s-60.6 9.5-68.8 39.3l-4.5 16.4c-8.9 32.6-29.6 60.8-58.2 79l-3.1 2c-11.8 7.5-21.7 17.1-29.5 28.2c-5.1 7.2-3.3 17.2 4 22.3s17.2 3.3 22.3-4c5.4-7.7 12.2-14.4 20.4-19.5l3.1-2c35.3-22.4 60.9-57.2 71.9-97.5l4.5-16.4zM32 224H96V448H32V224zM0 224V448
2c0 17.7 14.3 32 32 32H96c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32H32c-17.7 0-32 14.3-32 32z"},null,-1)]))}const T1=f({name:"fal-thumbs-up",render:I1}),B1={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512",height:"1rem",width:"1rem"};function E1(s,e){return o(),l("svg",B1,e[0]||(e[0]=[n("path",{d:"M64 64C28.7 64 0 92.7 0 128v66c0 7.3 4.9 13.7 12 15.5c20.7 5.3 36 24.1 36 46.5s-15.3 41.2-36 46.5C4.9 304.3 0 310.7 0 318v66c0 35.3 28.7 64 64 64H512c35.3 0 64-28.7 64-64V318c0-7.3-4.9-13.7-12-15.5c-20.7-5.3-36-24.1-36-46.5s15.3-41.2 36-46.5c7.1-1.8 12-8.2 12-15.5V128c0-35.3-28.7-64-64-64H64zM32 128c0-17.7 14.3-32 32-32H512c17.7 0 32 14.3 32 32v54.7c-28.2 12.3-48 40.5-48 73.3s19.8 61 48 73.3V384c0 17.7-14.3 32-32 32H64c-17.7 0-32-14.3-32-32V329.3C60.2 317 80 288.8 80 256s-19.8-61-48-73.3V128zm128 64H416V320H160V192zm-32 0V320c0 17.7 14.3 32 32 32H416c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32H160c-17.7 0-32 14.3-32 32z"},null,-1)]))}const A1=f({name:"fal-ticket",render:E1}),D1={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 512",height:"1rem",width:"1rem"};function F1(s,e){return o(),l("svg",D1,e[0]||(e[0]=[n("path",{d:"M64 32H352c35.3 0 64 28.7 64 64V304c0 8.8-7.2 16-16 16s-16-7.2-16-16V96c0-17.7-14.3-32-32-32H64C46.3 64 32 78.3 32 96V304c0 8.8-7.2 16-16 16s-16-7.2-16-16V96C0 60.7 28.7 32 64 32zM448 160c0-17.7 14.3-32 32-32h56c15.1 0 29.3 7.1 38.4 19.2l56 74.7c6.2 8.3 9.6 18.4 9.6 28.8V256v48 56c0 19.4-13.7 35.5-32 39.2l0 .8c0 44.2-35.8 80-80 80s-80-35.8-80-80H288c0 44.2-35.8 80-80 80c-26.2 0-49.4-12.6-64-32c-14.6 19.4-37.8 32-64 32c-44.2 0-80-35.8-80-80s35.8-80 80-80c26.2 0 49.4 12.6 64 32c14.6-19.4 37.8-32 64-32c32.8 0 61 19.7 73.3 48H448V256 240 224 160zm144 64l-43.2-57.6c-3-4-7.8-6.4-12.8-6.4H480v64H592zm16 32H480v80c13.4-10 30-16 48-16c32.8 0 60.9 19.7 73.3 47.9c3.8-.6 6.7-3.9 6.7-7.9V304 256zM112 96c8.8 0 16 7.2 16 16V272c0 8.8-7.2 16-16 16s-16-7.2-16-16V112c0-8.8 7.2-16 16-16zm96 0c8.8 0 16 7.2 16 16V272c0 8.8-7.2 16-16 16s-16-7.2-16-16V112c0-8.8 7.2-16 16-16zm96 0c8.8 0 16 7.2 16 16V272c0 8.8-7.2 16-16 16s-16-7.2-16-16V112c0-8.8 7.2-16 16-16zM528 448a48 48 0 1 0 0-96 48 48 0 1 0 0 96zM256 400a48 48 0 1 0 -96 0 48 48 0 1 0 96 0zM80 448a48 48 0 1 0 0-96 48 48 0 1 0 0 96z"},null,-1)]))}const j1=f({name:"fal-truck-container",render:F1}),N1={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:"1rem",width:"1rem"};function U1(s,e){return o(),l("svg",N1,e[0]||(e[0]=[n("path",{d:"M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM216 336h24V272H216c-13.3 0-24-10.7-24-24s10.7-24 24-24h48c13.3 0 24 10.7 24 24v88h8c13.3 0 24 10.7 24 24s-10.7 24-24 24H216c-13.3 0-24-10.7-24-24s10.7-24 24-24zm40-208a32 32 0 1 1 0 64 32 32 0 1 1 0-64z"},null,-1)]))}const Pe=f({name:"fas-info-circle",render:U1}),ke=E({__name:"DynamicIcon",props:{content:{default:""},iconName:{default:""}},setup(s){const e={"check-circle":gt,box:jt,store:z1,"shopping-cart":k1,"truck-container":j1,"question-circle":m1,"gift-card":Gt,medal:c1,home:e1,"poll-h":r1,"badge-percent":At,receipt:g
21,dolly:Rt,"info-circle":n1,"share-alt":vt,"thumbs-up":T1,ticket:A1,tag:M1,tags:zt,"shopping-basket":b1,envelope:Pt,heart:Qt,"badge-dollar":Tt,"s-info-circle":Pe,default:w1},a={"thumbs-up":["nachhaltig","top"],"check-circle":["wie funktionier","löst","kannst"],box:["einkauf","lieferung"],store:["shop"],"gift-card":["geschenk"],"badge-percent":["rabatt","prozent"],"badge-dollar":["richtig","spar","günstig"],"question-circle":["fragen"],dolly:["supersale"],medal:["garantie"],"info-circle":["service"],"share-alt":["social network"],"shopping-cart":["bestellung"],"truck-container":["retoure","lieferung","versand"],receipt:["bezahlung","zahlung"],home:["hause"],"poll-h":["alle","info"],ticket:["rabattcode","coupon","gutschein"]};function r(i){for(const[u,h]of Object.entries(a))if(h.some(p=>i.includes(p)))return e[u];return e.default}return(i,u)=>(o(),k(ot(e[s.iconName]||r(s.content))))}}),R1=["href"],K1=E({__name:"SideJumplinks",props:{items:{default:()=>[]},shop:{default:()=>({})},seoKeyword:{default:null}},setup(s){var a;const e=U((a=s.items[0])==null?void 0:a.anchor);return Ue(()=>{const r=s.items.map(u=>document.getElementById(u.anchor)),i=new IntersectionObserver(u=>{u.forEach(h=>{h.isIntersecting&&(e.value=h.target.id)})},{rootMargin:"0px 0px -55% 0px"});r.forEach(u=>{u&&i.observe(u)})}),(r,i)=>{const u=ke;return o(),l("div",null,[(o(!0),l(C,null,W(s.items,(h,p)=>(o(),l("a",{key:p,href:`#${h.anchor}`,class:$(["flex justify-start items-center space-x-2 cursor-pointer md:px-6 py-3 md:border-l-2 transition-colors hover:text-emerald-600 hover:border-emerald-600 group",[t(e)===h.anchor?["border-emerald-600","text-emerald-600"]:["border-transparent"]]])},[_(u,{content:h.linkTitle,"icon-name":h.iconName,class:$(["min-w-5 min-h-5 group-hover:fill-emerald-600",{"fill-emerald-600":t(e)===h.anchor}])},null,8,["content","icon-name","class"]),n("span",null,c(h.isLabel?s.seoKeyword&&!h.isStatic?`${h.linkTitleAlt?r.$t(h.linkTitleAlt):s.shop.title} ${s.seoKeyword}`:r.$t(h.linkTitle,{shop:s.shop.title}):h.linkTitle),1)],10,R1))),128))])}}}),O1={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:"1rem",width:"1rem"};function P1(s,e){return o(),l("svg",O1,e[0]||(e[0]=[n("path",{d:"M267.3 395.3c-6.2 6.2-16.4 6.2-22.6 0l-192-192c-6.2-6.2-6.2-16.4 0-22.6s16.4-6.2 22.6 0L256 361.4 436.7 180.7c6.2-6.2 16.4-6.2 22.6 0s6.2 16.4 0 22.6l-192 192z"},null,-1)]))}const q1=f({name:"fal-chevron-down",render:P1}),W1={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512",height:"1rem",width:"1rem"};function G1(s,e){return o(),l("svg",W1,e[0]||(e[0]=[n("path",{d:"M316.9 18C311.6 7 300.4 0 288.1 0s-23.4 7-28.8 18L195 150.3 51.4 171.5c-12 1.8-22 10.2-25.7 21.7s-.7 24.2 7.9 32.7L137.8 329 113.2 474.7c-2 12 3 24.2 12.9 31.3s23 8 33.8 2.3l128.3-68.5 128.3 68.5c10.8 5.7 23.9 4.9 33.8-2.3s14.9-19.3 12.9-31.3L438.5 329 542.7 225.9c8.6-8.5 11.7-21.2 7.9-32.7s-13.7-19.9-25.7-21.7L381.2 150.3 316.9 18z"},null,-1)]))}const J1=f({name:"fas-star",render:G1}),X1={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",height:"1rem",width:"1rem"};function Q1(s,e){return o(),l("svg",X1,e[0]||(e[0]=[n("path",{d:"M4.7 244.7c-6.2 6.2-6.2 16.4 0 22.6l176 176c6.2 6.2 16.4 6.2 22.6 0s6.2-16.4 0-22.6L54.6 272 432 272c8.8 0 16-7.2 16-16s-7.2-16-16-16L54.6 240 203.3 91.3c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0l-176 176z"},null,-1)]))}const Y1=f({name:"fal-arrow-left",render:Q1}),Z1={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",height:"1rem",width:"1rem"};function es(s,e){return o(),l("svg",Z1,e[0]||(e[0]=[n("path",{d:"M0 80c0-8.8 7.2-16 16-16H432c8.8 0 16 7.2 16 16s-7.2 16-16 16H16C7.2 96 0 88.8 0 80zM0 240c0-8.8 7.2-16 16-16H432c8.8 0 16 7.2 16 16s-7.2 16-16 16H16c-8.8 0-16-7.2-16-16zM448 400c0 8.8-7.2 16-16 16H16c-8.8 0-16-7.2-16-16s7.2-16 16-16H432c8.8 0 16 7.2 16 16z"},null,-1)]))}const ts=f({name:"fal-bars",render:es}),ss={class:"w-full"},ns={class:"border-b-4 border-emerald-400 text-left md:text-2xl bg-sw-gray-200"},os={class:"font-normal p-3 w-1/4"},ls={class:"font-normal p-3 w-2/4"},cs={class:"font-normal p-3 pr-3 w-1/4"},as={class:"hyphens-auto"},is=["onClick"],rs={class:"p-4 font-bold"},ds={class:"p-4"},us={class:"p-4"},ms=E({__name:"VoucherTable",props:{items:{default:()=>[]}},setup(s){return(e,a)=>{const r=he;return o(),k(r,null,{default:H(()=>[n("table",ss,[n("thead",null,[n("tr",ns,[n("th",os,c(e.$t("components.voucher.value")),1),n("th",ls,c(e.$t("components.voucher.table_label_terms")),1),n("th",cs,c(e.$t("general.valid_for_customer")),1)])]),n("tbody",as,[(o(!0),l(C,null,W(s.items,i=>{var u,h,p,v;return o(),l("tr",{key:i.id,class:"border-b bg-transparent hover:bg-ci-gray-100 transition-colors cursor-pointer",onClick:m=>("useEvent"in e?e.useEvent:t(de))("clickout:voucher",i)},[n("td",rs,[((u=i.saving)==null?void 0:u.type)==="currency"?(o(),l(C,{key:0},[V(c(e.$n(i.saving.value,"currency").replace(" ","").replace(",00","")),1)],64)):((h=i.saving)==null?void 0:h.type)==="percent"?(o(),l(C,{key:1},[V(c(e.$n(i.saving.value/100,"percent").replace(" ","")),1)],64)):(o(),l(C,{key:2},[V(c((p=i.saving)==null?void 0:p.value),1)],64))]),n("td",ds,c(i.title),1),n("td",us,c(e.$t(`components.voucher.customer.${(v=i.applicability)==null?void 0:v.customer}`)),1)],8,is)}),128))])])]),_:1})}}}),hs=E({__name:"Voucher",props:{item:{default:()=>({})}},setup(s){const{strapiAdminUrl:e}=_t(),a={...s.item,editUrl:`${e}/admin/content-manager/collection-types/api::portal-voucher.portal-voucher/${s.item.id}`};return(r,i)=>{const u=wt;return o(),k(u,{item:a})}}}),ps=lt(s=>{const{copy:e}=ct(),{setMessage:a}=Ke();function r(i,u=null){e(i),u&&a(s(u,{value:i}))}return{copyToClipboard:r}}),gs=ue(()=>me(()=>import("./cc-Ci3IREnc.js"),__vite__mapDeps([4,2,3,1,5,6,7,8,9,10,11,12,13,14,15,16,17]),import.meta.url).then(s=>s.default||s)),vs={class:"text-center pt-2 mb-1"},_s={key:0,class:"text-xs absolute right-40"},ws=E({__name:"VoucherShare",props:{item:{default:()=>({})}},setup(s){const{t:e}=N();let a;const r=U(!1);function i(h){const{copyToClipboard:p}=ps(e);p(h),r.value=!0,clearTimeout(a),a=setTimeout(()=>{r.value=!1},2e3)}function u(){var v,m;const{share:h}=ft(),p=at();return h(s.item.title,window.location.origin+((m=p({name:"shop-slug",params:{slug:(v=s.item.shop)==null?void 0:v.slug},query:{code:s.item.id}}))==null?void 0:m.href))}return(h,p)=>{const v=gs;return o(),l("div",null,[n("p",vs,c(t(e)("components.share.title")),1),t(r)?(o(),l("span",_s,c(t(e)("general.link_copied")),1
2)):g("",!0),_(v,{"is-embed":!0,color:"text-ci-gray-400",title:u().title,url:u().url,"custom-classes":{urlContainer:"flex justify-center border-b-0",urlField:"w-8/12 border-ci-gray-300",iconList:"space-x-14",link:"text-ci-gray-400 hover:text-sw-blue-400",icon:"w-8 h-8 fill-ci-gray-400 hover:fill-sw-blue-400"},class:"h-36",onCopy:i},null,8,["title","url"])])}}}),fs={class:"text-sm pt-5"},xs={class:"float-left clear-left w-40 font-bold mb-2"},bs={class:"mb-2"},ys={key:0,class:"float-left clear-left w-40 font-bold mb-1"},$s={key:1,class:"mb-1"},ks={class:"float-left clear-left w-40 font-bold mb-1"},Cs={class:"w-[calc(100%-10rem)] float-left mb-1"},Vs={class:"float-left clear-left w-40 font-bold mb-1"},zs={class:"mb-1"},Hs={class:"float-left clear-left w-40 font-bold mb-1"},Ls={class:"mb-1"},Ms=E({__name:"VoucherDetails",props:{item:{default:()=>({})}},setup(s){return(e,a)=>{var r,i,u,h,p,v,m,S,I;return o(),l("dl",fs,[n("dt",xs,c(e.$t(`general.${(r=s.item.shop)!=null&&r.useOfferInsteadOfVoucherWording?"offer":"voucher"}_value`))+": ",1),n("dd",bs,[((i=s.item.saving)==null?void 0:i.type)==="currency"?(o(),l(C,{key:0},[V(c(e.$n(s.item.saving.value,"currency").replace("Â ","").replace(",00","")),1)],64)):((u=s.item.saving)==null?void 0:u.type)==="percent"?(o(),l(C,{key:1},[V(c(e.$n(s.item.saving.value/100,"percent").replace("Â ","")),1)],64)):(o(),l(C,{key:2},[V(c((h=s.item.saving)==null?void 0:h.value),1)],64))]),(p=s.item.applicability)!=null&&p.orderValue?(o(),l("dt",ys,c(e.$t(`components.voucher.labels.order_value_wording${(v=s.item.shop)!=null&&v.minOrderValueWording?"_alt":""}`))+": ",1)):g("",!0),(m=s.item.applicability)!=null&&m.orderValue?(o(),l("dd",$s,c(e.$n(s.item.applicability.orderValue,"currency")),1)):g("",!0),n("dt",ks,c(e.$t("general.how_to_redeem"))+": ",1),n("dd",Cs,c(s.item.applicability.product?s.item.applicability.product:e.$t("components.voucher.all")),1),n("dt",Vs,c(e.$t("general.valid_for_customer"))+": ",1),n("dd",zs,c(e.$t(`components.voucher.customer.${(S=s.item.applicability)==null?void 0:S.customer}`)),1),n("dt",Hs,c(e.$t("general.valid_till"))+": ",1),n("dd",Ls,c((I=s.item.availability)!=null&&I.AvailableTill?e.$d(s.item.availability.AvailableTill,"short"):e.$t("components.voucher.valid_until.default")),1)])}}}),Ss={class:"flex w-full space-x-3 mb-3 h-3 md:hidden"},Is={class:"min-w-[72px]"},Ts={class:"w-full flex text-[10px] leading-3"},Bs={key:0,class:"flex mr-3"},Es={class:"ml-1 lg:ml-2"},As={key:1,class:"flex"},Ds={class:"validity mx-1"},Fs={class:"toggle !ml-auto"},js={class:"flex w-full space-x-3 lg:space-x-6 pb-3 lg:pb-0"},Ns={key:0,class:"w-1/4 flex items-center justify-center"},Us={class:"text-sm lg:text-xl text-center"},Rs={class:"text-sm lg:text-xl text-center"},Ks={key:0,class:"text-sm lg:text-xl text-center"},Os={class:"text-sm lg:text-xl"},Ps={class:"w-full"},qs={class:"text-xs space-x-3 lg:space-x-4 hidden md:flex"},Ws={key:2,class:"flex"},Gs={class:"ml-1 lg:ml-2"},Js={key:3,class:"flex"},Xs={class:"validity"},Qs={class:"toggle !ml-auto"},Ys={class:"my-2 lg:my-4 md:text-xl"},Zs={class:"w-full hidden lg:flex"},en={key:0,class:"w-20 bg-ci-gray-300 ml-2 h-10 lg:py-2 rounded-md text-center leading-7 text-white"},tn={class:"flex lg:hidden w-full"},sn={key:0,class:"w-1/4 bg-ci-gray-300 ml-3 h-8 px-4 py-2.5 leading-[1.125] text-[0.875rem] rounded-md text-center text-white"},nn={key:0},on={class:"flex w-full pt-3 items-center lg:pl-48 justify-between"},ln={class:"mr-3 text-sw-blue-400"},cn=E({__name:"VoucherListingCard",props:{item:{default:()=>({})},isLogoShown:{type:Boolean,default:!1},isEditor:{type:Boolean},hasValidity:{type:Boolean,default:!0}},setup(s){const e=s,{item:a,isLogoShown:r,hasValidity:i}=it(e),u=U(!0),{flag:h,expiryDays:p,cta:v,hasCode:m,hasBlackWeekFlag:S,isNewlyPublished:I,getVoucherIdAttribute:G}=xt(a.value),[R,A]=be(!1),{t:x}=N(),K=M(()=>m&&I);function D(z){const y=Number(z);return y===0?x("components.voucher.valid_until.expired"):y===1?x("components.voucher.valid_until.day",{day:y}):x("components.voucher.valid_until.days",{days:y})}function T(z){var P,F,L,J;const y=Number(z);return i.value&&z!==null&&y<=30&&((F=(P=a.value)==null?void 0:P.availability)==null?void 0:F.AvailableFrom)&&((J=(L=a.value)==null?void 0:L.availability)==null?void 0:J.AvailableTill)}function O(z){return Number(z)===1?"text-sw-red-500":"text-sw-yellow-600"}return(z,y)=>{const P=bt,F=yt,L=ke,J=ye,B=$e,pe=Ms,ge=ws,ne=Pe,j=hs,ve=he;return o(),k(ve,rt(t(G),{interactive:!0,class:"mb-2 cursor-pointer flex flex-col p-3 lg:p-6"}),{default:H(()=>{var te,oe,le,ce;return[n("div",Ss,[n("div",Is,[t(h)?(o(),l("div",{key:0,class:$([[t(S)?"bg-black text-white uppercase":"bg-sw-green-500"],"uppercase text-white font-bold text-[8px] rounded-xl px-1.5 h-3 text-center leading-3"])},c(t(x)(t(h))),3)):(o(),l("div",{key:1,class:$([[t(m)?"bg-sw-blue-400":"bg-sw-blue-600"],"text-white uppercase font-bold text-[8px] rounded-xl px-1.5 h-3 leading-3 text-center"])},c(t(m)?t(x)("components.voucher.flags.code"):t(x)("components.voucher.flags.deal")),3))]),n("div",Ts,[t(K)?(o(),l("span",Bs,[_(P,{class:"text-sw-green-500 w-3 h-3"}),n("span",Es,c(t(x)("components.voucher.tested")),1)])):g("",!0),T(t(p))?(o(),l("div",As,[_(F,{class:$(["w-3 h-3",O(t(p))])},null,8,["class"]),n("div",Ds,c(D(t(p))),1)])):g("",!0)]),n("div",Fs,[_(L,{"icon-name":"s-info-circle",class:"w-3 h-3 text-sw-blue-400",onClick:y[0]||(y[0]=re(X=>t(A)(),["stop"]))})])]),n("div",js,[t(r)?(o(),l("div",Ns,[_(J,{plain:"",src:(oe=(te=t
2(a).shop)==null?void 0:te.logo)==null?void 0:oe.url,alt:(ce=(le=t(a).shop)==null?void 0:le.logo)==null?void 0:ce.alternativeText,preset:"shop",width:"128",height:"64"},null,8,["src","alt"])])):(o(),l("div",{key:1,class:$([[t(m)?"text-sw-blue-400":"text-sw-blue-600"],"min-w-[72px] lg:min-w-[160px] lg:min-h-[112px] flex flex-col items-center justify-center h-ful text-sw-blue-400 text-center hyphens-auto"])},[t(a).promotionValueTextTop&&t(a).promotionValueTextBottom?(o(),l(C,{key:0},[n("span",Us,c(t(a).promotionValueTextTop),1),n("span",Rs,c(t(a).promotionValueTextBottom),1)],64)):t(a).saving?(o(),l(C,{key:1},[t(a).saving.prefix!=="none"?(o(),l("span",Ks,c(t(x)(`general.${t(a).saving.prefix}`)),1)):g("",!0),t(a).saving.value?(o(),l("span",{key:1,class:$(["font-bold",[t(a).saving.prefix!=="none"?["text-2xl","md:text-3xl","lg:text-4xl"]:["text-2xl","md:text-3xl","lg:text-4xl"]]])},[t(a).saving.type==="percent"?(o(),l(C,{key:0},[V(c(z.$n(+t(a).saving.value/100,"percent").replace("Â ","")),1)],64)):t(a).saving.type==="currency"?(o(),l(C,{key:1},[V(c(z.$n(+t(a).saving.value,"currency").replace("Â ","").replace(",00","")),1)],64)):(o(),l(C,{key:2},[V(c(t(a).saving.value),1)],64))],2)):g("",!0),n("span",Os,c(t(x)("components.voucher.value")),1)],64)):g("",!0)],2)),n("div",Ps,[n("div",qs,[t(h)?(o(),l("div",{key:0,class:$([[t(S)?"bg-black text-white uppercase":"bg-sw-green-500"],"uppercase text-white font-bold rounded-xl px-2 h-4 lg:leading-4"])},c(t(x)(t(h))),3)):(o(),l("div",{key:1,class:$([[t(m)?"bg-sw-blue-400":"bg-sw-blue-600"],"uppercase text-white font-bold rounded-xl px-2 h-4 lg:leading-4"])},c(t(m)?t(x)("components.voucher.flags.code"):t(x)("components.voucher.flags.deal")),3)),t(K)?(o(),l("span",Ws,[_(P,{class:"text-sw-green-500"}),n("span",Gs,c(t(x)("components.voucher.tested")),1)])):g("",!0),T(t(p))?(o(),l("div",Js,[_(F,{class:$(["w-4 h-4 mr-2",O(t(p))])},null,8,["class"]),n("span",Xs,c(D(t(p))),1)])):g("",!0),n("div",Qs,[_(L,{"icon-name":"s-info-circle",class:"w-4 h-4 text-sw-blue-400",onClick:y[1]||(y[1]=re(X=>t(A)(),["stop"]))})])]),n("h3",Ys,c(t(a).title),1),n("div",Zs,[_(B,{class:$(["w-80",[t(m)?[]:["bg-sw-blue-600","hover:bg-[#003c7a]"]]])},{default:H(()=>[V(c(t(x)(t(v))),1)]),_:1},8,["class"]),t(m)?(o(),l("div",en," ****** ")):g("",!0)])])]),n("div",tn,[_(B,{class:$(["h-8 leading-[1.125] text-sm",[t(m)?["w-3/4"]:["bg-sw-blue-600","hover:bg-[#003c7a]","w-full"]]])},{default:H(()=>[V(c(t(x)(t(v))),1)]),_:1},8,["class"]),t(m)?(o(),l("div",sn," ****** ")):g("",!0)]),t(R)?(o(),l("div",nn,[n("div",{class:"flex",onClick:y[4]||(y[4]=re(()=>{},["stop"]))},[n("div",{class:$(["leading-9 w-20 mr-6 text-center",t(u)?["text-sw-blue-400","border-b-2","border-sw-blue-400"]:[]]),onClick:y[2]||(y[2]=X=>u.value=!0)},c(t(x)("general.terms")),3),n("div",{class:$(["leading-9 w-20 text-center",t(u)?[]:["text-sw-blue-400","border-b-2","border-sw-blue-400"]]),onClick:y[3]||(y[3]=X=>u.value=!1)},c(t(x)("general.share")),3)]),_(Re,{mode:"out-in",duration:100},{default:H(()=>[t(u)?(o(),k(pe,{key:0,item:t(a),class:"h-44"},null,8,["item"])):(o(),k(ge,{key:1,item:t(a),class:"h-44 cursor-auto"},null,8,["item"]))]),_:1}),n("div",on,[_(B,{class:$(["w-80",[t(m)?[" h-8 leading-[1.125] text-[0.875rem]"]:["bg-sw-blue-600","hover:bg-[#003c7a]","w-full h-8 leading-[1.125] text-[0.875rem]"]]])},{default:H(()=>[V(c(t(x)(t(v))),1)]),_:1},8,["class"]),n("div",{class:"flex px-4 p-2 ml-4 items-center hover:bg-sw-blue-100 transition-colors",onClick:y[5]||(y[5]=re(X=>t(A)(),["stop"]))},[n("span",ln,c(t(x)("general.close")),1),_(ne,{class:"w-3 h-3 md:hidden text-sw-blue-400"}),_(ne,{class:"hidden md:inline w-4 h-4 text-sw-blue-400"}
2)])])])):g("",!0),s.isEditor?(o(),k(j,{key:1,item:t(a)},null,8,["item"])):g("",!0)]}),_:1},16)}}}),an={class:"flex text-[8px] space-x-2 mb-3 md:hidden"},rn={class:"md:hidden uppercase bg-ci-gray-600 text-white font-bold text-[8px] rounded-xl text-center min-w-[72px] px-1.5 h-3 leading-3"},dn={class:"toggle !ml-auto"},un={class:"flex flex-row space-x-3 sm:space-x-4 md:space-x-5 lg:space-x-6"},mn={class:"shrink-0 flex justify-center items-center max-w-[72px] lg:min-w-[160px]"},hn=["title"],pn={class:"hidden md:block uppercase bg-ci-gray-600 text-white font-bold text-xs rounded-xl max-w-[80px] px-2 h-4"},gn={class:"my-2 lg:my-4 md:text-xl"},vn={class:"hidden lg:flex w-full"},_n={class:"hidden lg:block text-xs text-sw-gray-800 mt-3"},wn={class:"block lg:hidden"},fn={class:"flex w-full"},xn={class:"text-xs text-sw-gray-800 mt-3"},bn=E({__name:"ShopmateVoucherCard",props:{item:{default:()=>({targetUrl:"",newTab:!0,image:{url:"",alternativeText:""},title:"",ctaTitle:"",description:""})}},setup(s){const e=s;function a(){window.open(e.item.targetUrl,e.item.newTab?"_blank":"_self")}return(r,i)=>{const u=ke,h=ye,p=$e,v=he;return o(),k(v,{interactive:!0,class:"mx-auto md:mx-0 mb-2 cursor-pointer p-3 lg:p-6 space-y-2 lg:space-y-0",onClick:i[0]||(i[0]=m=>a())},{default:H(()=>{var m;return[n("div",an,[n("div",rn,c(r.$t("components.shopmateVoucher.flag")),1),n("div",dn,[_(u,{"icon-name":"s-info-circle",class:"w-3 h-3 lg:w-4 lg:h-4 text-sw-blue-400"})])]),n("div",un,[n("div",mn,[(m=s.item.image)!=null&&m.url?(o(),k(h,{key:0,src:s.item.image.url,alt:r.$t("pages.shop.logo_alt",{shop:s.item.title}),title:s.item.title,class:"shop-logo",preset:"shop",width:"128",height:"64"},null,8,["src","alt","title"])):g("",!0)]),n("div",{title:s.item.title,class:"flex justify-evenly flex-col"},[n("div",pn,c(r.$t("components.shopmateVoucher.flag")),1),n("h3",gn,c(s.item.title),1),n("div",vn,[_(p,{class:"w-80",variant:"gray"},{default:H(()=>[V(c(s.item.ctaTitle||r.$t("components.shopmateVoucher.cta")),1)]),_:1})]),n("div",_n,c(s.item.description),1)],8,hn)]),n("div",wn,[n("div",fn,[_(p,{class:"w-full h-8",variant:"gray"},{default:H(()=>[V(c(s.item.ctaTitle||r.$t("components.shopmateVoucher.cta")),1)]),_:1})]),n("div",xn,c(s.item.description),1)])]}),_:1})}}});function qe(){const s=dt(),{public:{app:e}}=Oe();return M(()=>{var a,r;return((a=s.name)==null?void 0:a.toString().includes("shop-slug"))&&(e.adCampaignSources??[]).includes(String((r=s.query)==null?void 0:r.utm_source))})}function yn(s){const{t:e}=N(),a=Ke(),r=U({average:Number(s==null?void 0:s.reviewAverage),stars:u(Number(s==null?void 0:s.reviewAverage)),count:Number(s==null?void 0:s.reviewSubmissions)});async function i(p){const m=await ut()("dynamic:rating").update({filters:{shop:s},data:{value:p}});m.status!=="Error"?(r.value.average=m.newScore||m.average,r.value.count=m.numberOfReviews||m.submissions,a.setMessage(e("general.rating_accepted"))):a.setMessage(e("general.rating_previously_rated"))}function u(p){const v=Math.round(p*2)/2;return v>=1.5&&v<=5?v:p}function h(p){const v=p.key<=Math.floor(r.value.stars),m=p.key===Math.ceil(r.value.stars)&&!v;return v?p.color:m?`${p.color} clip-half`:""}return{rating:r,updateRating:i,getRatingStyles:h}}function $n({shop:s,dynamic:e,rating:a}){var I,G,R,A,x,K,D,T,O,z;const r=mt(),{public:{meta:i}}=Oe(),u=qe();(I=s.logo)!=null&&I.url&&r(s.logo.url,{},{preset:"shop",provider:"imgix"});const h=(G=s.logo)!=null&&G.url?r(s.logo.url,{w:800,h:800,ar:"1:1",fit:"contain",fill:"solid",auto:"format,compress"},{provider:"imgix"}):void 0,p=(R=s.logo)!=null&&R.url?r(s.logo.url,{w:800,h:400,ar:"2:1",fit:"contain",fill:"solid",auto:"format,compress"},{provider:"imgix"}):void 0,v=u.value&&((A=s.sea)!=null&&A.metaTitle)?s.sea.metaTitle:((x=s.seo)==null?void 0:x.title)||((K=i==null?void 0:i.shop)==null?void 0:K.title),m=u.value&&((D=s.sea)!=null&&D.description)?s.sea.description:((T=s.seo)==null?void 0:T.description)||((O=i==null?void 0:i.shop)==null?void 0:O.description),S=u.value?"noindex_nofollow":(z=s.seo)==null?void 0:z.robots;ht({key:"shop",seo:{title:v,description:m,robots:S},image:h,twitterImage:p,schemaContent:e==null?void 0:e.body,placeholders:{nbActiveOffers:s.nbActiveOffers,name:s.title}})}function kn(s){const{d:e}=N(),a=M(()=>(s==null?void 0:s.voucherWording)==="voucher"?"":"_offer"),r=M(()=>`${s.title} ${s.extraHeadline.replace("{month}",e(new Date,"month")).replace("%month%",e(new Date,"month")).replace("%year%","")}`),i=M(()=>`${s.title} ${s.seoMainKeyword} â ${e(new Date,"month")}`);return{offerWording:a,extraHeadlineTitle:r,seoKeywordTitle:i}}function Cn(s){return s.toLowerCase().replace(/ä/g,"ae").replace(/ö/g,"oe").replace(/ü/g,"ue").replace(/Ã/g,"ss").replace(/[^a-z0-9]+/g,"-").replace(/^-+|-+$/g,"")}const Vn=5;function zn({cmsComponentNames:s=[],cms:e=[]}){return e.reduce((a,r)=>{var i,u,h;
2if(s.includes(r.__component)){const p=((i=r.title)==null?void 0:i.title)||r.title||"",v=typeof((u=r.title)==null?void 0:u.anchor)=="string"&&((h=r.title)==null?void 0:h.anchor)||typeof r.anchor=="string"&&r.anchor;p&&typeof p=="string"&&a.push({linkTitle:p,anchor:v||Cn(p),isLabel:!1})}return a},[])}function Hn({sections:s,cmsComponentNames:e,cms:a,dynamicComponentsIndex:r}){return s.toSpliced(r,0,...zn({cmsComponentNames:e,cms:a}).slice(0,Vn))}function Ln({sections:s,cmsComponentNames:e,cms:a,dynamicComponentsIndex:r=2}){return{jumpLinks:Hn({sections:s,cmsComponentNames:e,cms:a,dynamicComponentsIndex:r}),getAnchor:i=>{const u=s.find(h=>i===h.name);return u==null?void 0:u.anchor}}}const Ne=["toom","thomann","pandora","reuter","asos","cyberport","reifen-com","ernstings-family","ab-in-den-urlaub","poco","zooplus","babbel","mömax","xxxlutz","disneyland-paris","coolblue","aida","euronics","aliexpress","deutsche-bahn","autodoc","nike","thalia","wolt","decathlon","mydays","ebay","rewe","purelei","ikea"],Mn=ue(()=>me(()=>import("./cc-Cvc5NlFp.js"),__vite__mapDeps([18,2,3,1]),import.meta.url).then(s=>s.default||s)),Sn=ue(()=>me(()=>import("./cc-Dzg3V2Wq.js").then(s=>s.cL),__vite__mapDeps([2,3]),import.meta.url).then(s=>s.default||s)),In={class:"sw-container grid lg:gap-4 gap-8 grid-cols-4 py-4 max-lg:mt-[50px]"},Tn={class:"lg:col-span-3 col-span-4 order-2 lg:order-1 content-between flex flex-col gap-y-16 mb-16"},Bn={class:"md:grid md:gap-y-3 lg:gap-3"},En={class:"heading-xl sw-heading sw-heading--center mb-3 scroll-mt-[50px]"},An=["id"],Dn={key:0,class:"rounded-full border bg-ci-gray-100 border-ci-gray-300 text-ci-gray-300 text-sm overflow-hidden w-fit mb-3 md:mb-0"},Fn={class:"hidden sm:block"},jn={class:"hidden sm:block"},Nn={class:"hidden sm:block"},Un={key:0,class:"grid gap-3"},Rn=["id"],Kn={key:1,class:"grid gap-3"},On={class:"heading-lg sw-heading sw-heading--center"},Pn={key:2},qn={class:"grid gap-3"},Wn={key:3,class:"grid gap-3"},Gn={class:"heading-lg sw-heading sw-heading--center"},Jn={key:0,class:"flex justify-center"},Xn={key:1,class:"flex justify-center"},Qn={key:4,class:"grid gap-3"},Yn=["id"],Zn={key:5},e2={key:6,class:"grid gap-3"},t2=["id"],s2={class:"flex flex-wrap items-center justify-center"},n2={class:"max-lg:py-1 max-lg:shadow max-lg:order-1 max-lg:bg-white max-lg:fixed max-lg:top-[50px] max-lg:z-20 max-lg:inset-x-0 max-lg:border-b lg:order-2 lg:static lg:border-0 lg:z-0 lg:bg-white"},o2={class:"sw-container flex lg:hidden justify-between items-center"},l2={class:"space-y-2 mb-4"},c2={class:"space-y-4"},a2={class:"flex justify-center flex-row-reverse space-x-4 space-x-reverse flex-shrink-0 group mt-4"},i2={class:"text-xs text-center"},r2={key:2,class:"mb-4 mx-4 lg:mx-0"},fe="text-sw-gray-900 px-3 py-2 inline-flex cursor-pointer",xe="bg-white rounded-full border-ci-gray-600 text-ci-gray-600 border",d2=E({__name:"[slug]",setup(s){var Ce;const{shop:e,shopsSimilar:a,vouchersSimilar:r,dynamic:i,shopmateVoucher:u,favouriteShopsVariant:h,similarBIShops:p}=we().content,v=M(()=>{var d;return((d=we().content)==null?void 0:d.vouchers)??[]}),m=qe();m.value&&(e.title=((Ce=e.sea)==null?void 0:Ce.title)||e.title);const S=we(),I=M({get:()=>{var d;return((d=S.content)==null?void 0:d.vouchersExpired)??[]},set:d=>{S.content&&(S.content.vouchersExpired=d)}}),{loadMore:G,isLoading:R,hasMore:A}=$t(I,"s4:vouchers-expired",()=>({filters:{portal_shop:{id:e.id},available:!1,availability:{AvailableTill:{lt:new Date().toISOString()}}},limit:5,order:{"availability.AvailableTill":"DESC",exclusive:"DESC","voucher.code.type":"DESC","flags.flag":"DESC","voucher.saving.value":"DESC"}})),x=U(!1);async function K(){x.value=!0,await G()}const{isPreviewMode:D}=Ht(),{rating:T,updateRating:O}=yn(e),[z,y]=be(!1),[P,F]=be(!1),L=U("none"),J=M(()=>{switch(L.value){case"vouchers":return v.value.filter(({code:d})=>d.type!=="none");case"deals":return v.value.filter(({code:d})=>d.type==="none")}return v.value});$n({shop:e,dynamic:i,rating:T});const{offerWording:B,extraHeadlineTitle:pe,seoKeywordTitle:ge}=kn(e),ne=[{name:"vouchers",anchor:"gutscheine",linkTitle:`pages.shop.jumplinks.vouchers${B.value}`,isLabel:!0,iconName:"tag"},{name:"similar",anchor:"aehnliche-gutscheine",linkTitle:`pages.shop.jumplinks.similar${B.value}`,isLabel:!0,iconName:"tags",linkTitleAlt:"pages.shop.jumplinks.similar_word"},{name:"matching-shops",anchor:"aehnliche-shops",linkTitle:"pages.shop.jumplinks.matching_shops",isLabel:!0,isStatic:!0,iconName:"shoppingBasket"},{name:"newsletter",anchor:"newsletter",linkTitle:"pages.shop.jumplinks.newsletter",isLabel:!0,isStatic:!0,iconName:"envelope"}
2,{name:"top-shops",anchor:"beliebte-shops",linkTitle:"pages.shop.jumplinks.favourite_shops",isLabel:!0,isStatic:!0,iconName:"heart"}],{getAnchor:j,jumpLinks:ve}=Ln({sections:ne,cmsComponentNames:["dynamic.faq-section","dynamic.headline"],cms:i==null?void 0:i.body}),te=M(()=>p!=null&&p.length?p:e.displaySimilarShops&&a&&a.length?a:[]);function oe(d){var ie;if(d==null)return"";const b=(d==null?void 0:d.title)??"",ae=(d==null?void 0:d.favouriteShopsVariant)??"variant_1",q=(d==null?void 0:d.seoMainKeyword)??"",Q=(d==null?void 0:d.seoSubKeyword)??"",se="Gutschein",Y={variant_3:()=>b,variant_1:()=>q?`${b} ${ee(q)}`:`${b} ${ee(se)}`,variant_2:()=>Q?`${b} ${ee(Q)}`:`${b} ${ee(se)}`};return((ie=Y[ae])==null?void 0:ie.call(Y))??`${b} ${se}`}const le=M(()=>e.extraHeadline?pe:e.seoMainKeyword?ge:N().t(`pages.shop.title${B.value}`,{shop:e.title,month:N().d(new Date,"month")})),ce=M(()=>e.slug==="ikea"?N().t("pages.shop.subtitle_special",{shop:e.title}):N().t(`pages.shop.subtitle${B.value}`,{shop:e.title})),X=M(()=>{var d;return!Ne.includes(((d=e.title)==null?void 0:d.toLowerCase())??"")&&!Ne.includes(e.slug)}),_e=M(()=>v.value.reduce((d,b)=>{var q;return((q=b.code)==null?void 0:q.type)==="none"?(d.deals.push(b),d.dealsCount++):(d.vouchers.push(b),d.vouchersCount++),d},{vouchers:[],deals:[],allCount:v.value.length,vouchersCount:0,dealsCount:0}));return(d,b)=>{var Le,Me,Se,Ie,Te,Be,Ee,Ae,De,Fe;const ae=Mn,q=bn,Q=cn,se=ms,Y=kt,ie=pt,Ve=$e,We=Ct,Ge=Vt,ze=ye,Je=ts,Xe=Y1,He=he,Qe=J1,Ye=Sn,Ze=q1,et=K1,tt=Mt;return o(),l("div",In,[t(D)()?(o(),k(ae,{key:0,shop:t(e),dynamic:t(i),class:"col-span-4"},null,8,["shop","dynamic"])):g("",!0),n("div",Tn,[n("div",Bn,[n("div",null,[n("h1",En,c(t(le)),1),n("h2",{id:t(j)("vouchers"),class:"heading-base text-center sw-anchor-target mb-3 scroll-mt-[120px]"},c(t(ce)),9,An),t(m)?g("",!0):(o(),l("div",Dn,[n("span",{class:$([t(L)==="none"?xe:"",fe]),onClick:b[0]||(b[0]=w=>L.value="none")},[V(c(d.$t("general.all"))+"Â ",1),n("span",Fn,"("+c(t(_e).allCount)+")",1)],2),n("span",{class:$([t(L)==="vouchers"?xe:"",fe]),onClick:b[1]||(b[1]=w=>L.value="vouchers")},[V(c(d.$t("general.vouchers"))+"Â ",1),n("span",jn,"("+c(t(_e).vouchersCount)+")",1)],2),n("span",{class:$([t(L)==="deals"?xe:"",fe]),onClick:b[2]||(b[2]=w=>L.value="deals")},[V(c(d.$t("general.deals"))+"Â ",1),n("span",Nn,"("+c(t(_e).dealsCount)+")",1)],2)]))]),(o(!0),l(C,null,W(t(J),(w,Z)=>{var je;return o(),l(C,{key:w.id},[(je=t(u))!=null&&je.id&&Z+1===t(u).position?(o(),k(q,{key:0,item:t(u)},null,8,["item"])):g("",!0),_(Q,{item:w,"is-editor":t(D)(),onClick:u2=>("useEvent"in d?d.useEvent:t(de))("clickout:voucher",w)},null,8,["item","is-editor","onClick"])],64)}),128))]),t(e).displaySimilarOffers&&((Le=t(r))!=null&&Le.length)&&!t(m)?(o(),l("div",Un,[n("h2",{id:t(j)("similar"),class:"heading-lg sw-heading sw-heading--center sw-anchor-target scroll-mt-[49px]"},c(d.$t(`pages.shop.similar${t(B)}`)),9,Rn),(o(!0),l(C,null,W(t(r).slice(0,3),w=>(o(),k(Q,{key:w.id,item:w,"is-logo-shown":!0,onClick:()=>w.shop?("useEvent"in d?d.useEvent:t(de))("clickout:voucher",w):null},null,8,["item","onClick"]))),128))])):g("",!0),t(X)&&!t(m)?(o(),l("div",Kn,[n("h2",On,c(d.$t("pages.shop.voucher_table",{shop:t(e).title,date:d.$d(new Date,"month")})),1),_(se,{items:t(v).slice(0,5)},null,8,["items"])])):g("",!0),t(m)?(o(),l("div",Pn,[_(Y,{id:t(j)("newsletter"),class:"sw-anchor-target"},null,8,["id"])])):g("",!0),n("div",qn,[((Se=(Me=t(i))==null?void 0:Me.body)==null?void 0:Se.length)>0?(o(),k(ie,{key:0,items:(Ie=t(i))==null?void 0:Ie.body,class:"border-t border-solid border-sw-gray-700"},null,8,["items"])):g("",!0)]),t(e).displayExpiredVouchers&&((Te=t(I))==null?void 0:Te.length)>0&&!t(m)?(o(),l("div",Wn,[n("h2",Gn,c(d.$t(`pages.shop.expired${t(e).seoMainKeyword==="Angebote"||t(B)?"_offer":""}`,{shop:t(e).title,offerType:("pluralizeKeyword"in d?d.pluralizeKeyword:t(ee))(t(e).seoMainKeyword)})),1),(o(!0),l(C,null,W(t(I),w=>(o(),k(Q,{key:w.id,item:w,"has-validity":!1,class:"filter grayscale",onClick:Z=>("useEvent"in d?d.useEvent:t(de))("clickout:voucher",w)},null,8,["item","onClick"]))),128)),t(A)&&!t(x)?(o(),l("div",Jn,[_(Ve,{disabled:t(R),variant:"ghost",onClick:K},{default:H(()=>[V(c(d.$t("general.show_more")),1)]),_:1},8,["disabled"])])):g("",!0),t(R)?(o(),l("div",Xn,[_(We,{class:"animate-spin"})])):g("",!0)])):g("",!0),t(e).displaySimilarShops&&((Be=t(te))!=null&&Be.length)&&!t(m)?(o(),l("div",Qn,[n("h2",{id:t(j)("matching-shops"),class:"heading-lg sw-heading sw-heading--center sw-anchor-target scroll-mt-[49px]"},c(d.$t("pages.shop.matching_shops",{shop:t(e).title})),9,Yn),_(Ge,{items:t(te)},null,8,["items"])])):g("",!0),t(m)?g("",!0):(o(),l("div",Zn,[_(Y,{id:t(j)("newsletter"),class:"sw-anchor-target"},null,8,["id"])])),t(m)?g("",!0):(o(),l("div",e2,[n("h2",{id:t(j)("top-shops"),class:"heading-lg sw-heading sw-heading--center sw-anchor-target scroll-mt-[49px]"},c(d.$t("pages.shop.favourite_shops_title")),9,t2),n("div",s2,[(o(!0),l(C,null,W(t(h),w=>(o(),k(Ve,{key:w.id,variant:"tag",class:"mx-2 mb-4",to:{name:"shop-slug",params:{slug:w.slug}}},{default:H(()=>[V(c(oe(w)),1)]),_:2},1032,["to"]))),128))])]))]),n("div",n2,[n("div",o2,[_(ze,{plain:"",loading:"eager",fetchpriority:"high",class:"shop-logo",preset:"shop",alt:(Ee=t(e).logo)==null?void 0:Ee.alternativeText,src:(Ae=t(e).logo)==null?void 0:Ae.url,width:"80",height:"40"},null,8,["alt","src"]),t(m)?g("",!0):(o(),l("span",{key:0,class:"p-2 cursor-pointer",onClick:b[3]||(b[3]=w=>t(F)())},[_(Je)]))]),n("div",{class:$(["h-full fixed bottom-0 right-0 max-w-[300px] max-lg:top-[50px] bg-white drop-shadow-lg max-lg:overflow-y-scroll transition-all lg:bg-transparent lg:w-auto lg:relative lg:block lg:drop-shadow-none",[t(P)?"w-[300px]":"w-0"]])},[t(m)?g("",!0):(o(),l("div",{key:0,class:"bg-ci-gray-100 px-4 py-3 lg:hidden mb-4 cursor-pointer items-center flex justify-start space-x-4",onClick:b[4]||(b[4]=w=>t(F)())},[_(Xe),n("span",null,c(d.$t("general.back")),1)])),_(He,{class:"py-4 mb-4 mx-4 sticky top-16 z-10 hidden lg:mx-0 lg:block"},{default:H(()=>{var w,Z;return[_(ze,{plain:"",class:"shop-logo mx-auto",preset:"shop",alt:(w=t(e).logo)==null?void 0:w.alternativeText,src:(Z=t(e).logo)==null?void 0:Z.url,width:"118",height:"59",loading:"eager",fetchpriority:"high"},null,8,["alt","src"])]}),_:1}),t(m)?g("",!0):(o(),k(He,{key:1,class:"mb-4 mx-4 lg:mx-0"},{default:H(()=>[n("div",l2,[n("div",c2,[n("div",a2,[(o(),l(C,null,W([5,4,3,2,1],w=>_(Qe,{key:w,class:$(["transition cursor-pointer fill-gray-400 group-[&:has(:hover)]:fill-gray-400 hover:!fill-yellow-400 hover:scale-125 peer peer-hover:fill-yellow-400 peer-hover:scale-115",[w<=Number(t(T).average)?"fill-yellow-400":""]]),title:w,onClick:Z=>t(O)(w)},null,8,["class","title","onClick"])),64))]),n("div",i2,c(d.$t("rating.content",{value:t(T).average,shop:t(e).title,count:t(T).
2count})),1)])])]),_:1})),t(m)?g("",!0):(o(),l("div",r2,[(De=t(i))!=null&&De.description?(o(),k(Ye,{key:0,item:(Fe=t(i))==null?void 0:Fe.description,"prose-class":"sw-prose",class:$(t(z)?"":"line-clamp-4")},null,8,["item","class"])):g("",!0),n("span",{class:"cursor-pointer flex items-center justify-end space-x-2 w-fit mt-2 sw-link text-sw-blue-600",onClick:b[5]||(b[5]=w=>t(y)())},[n("span",null,c(t(z)?d.$t("general.show_less"):d.$t("general.show_more")),1),_(Ze,{class:$(["transition-all size-3",[t(z)?"rotate-180":"rotate-0"]])},null,8,["class"])])])),t(m)?g("",!0):(o(),k(et,{key:3,items:t(ve),shop:t(e),"seo-keyword":("pluralizeKeyword"in d?d.pluralizeKeyword:t(ee))(t(e).seoMainKeyword),"selector-to-observe":".sw-anchor-target",class:"sticky top-[180px] mx-4 lg:mx-0 lg:border-l"},null,8,["items","shop","seo-keyword"]))],2)]),t(m)?g("",!0):(o(),k(tt,{key:1,term:t(e).title,identifier:t(e).slug},null,8,["term","identifier"]))])}}}),_2=Object.freeze(Object.defineProperty({__proto__:null,default:d2},Symbol.toStringTag,{value:"Module"}));export{n1 as _,Pt as a,cn as b,Ms as c,ws as d,ts as e,q1 as f,v2 as g,ps as h,_2 as i,Cn as t,qe as u};
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.