1import{_ as v}from"./BWRO9afI.js";import{J as y,e as n,G as x,z as A,f as T,r as j,g as w,c as i,h as e,F as D,D as B,i as p,b as _,k as M,l as F,o as r,j as L}from"./DAqtiSCo.js";/* empty css *//* empty css */import"./By4WnbVV.js";import"./eb7snW8m.js";import"./BjK3ROqX.js";import"./D9o19SyG.js";import"./DDmHrD2u.js";import"./CWDmZE2D.js";import"./F_McMGc4.js";import"./CBqAeUGB.js";import"./D-Rt02ji.js";import"./FiYZWnXF.js";import"./DXiGuMhQ.js";import"./CjR-cMHB.js";import"./DM4BiGfu.js";import"./BZ2bU4Qg.js";import"./DIXf3GEW.js";import"./DeAyzbXr.js";import"./djD9-OgO.js";import"./DD-8LVvs.js";import"./DUpiVuPC.js";import"./CHjkJ2fT.js";import"./CIpCM5yd.js";import"./CHIgUVhi.js";import"./CEYBIvcx.js";import"./C-gfMGFx.js";import"./fNCsqafC.js";import"./W90wVcn0.js";import"./NpAFyzKW.js";import"./DHYDQbPX.js";import"./x1MrZGqJ.js";import"./CB-i4EzB.js";import"./DGlN6-Lr.js";import"./CDQnZCIL.js";import"./4cUo7c5k.js";import"./x_rD_Ya3.js";import"./CsYkEAy8.js";import"./C31fFIZS.js";import"./CXHwyWjK.js";import"./QA3BhS-F.js";import"./D_TdFoZ9.js";import"./DCmGOuG7.js";import"./F8doVSIJ.js";/* empty css */import"./B-pI19Ro.js";import"./Bz-QRu89.js";const N={key:0},P={key:0},S={key:1,style:{display:"flex","justify-content":"center","align-items":"center",height:"80%"}},V={key:2,class:"sticky-rules-text"},Nt={__name:"index",setup($){const d=y(),s=n(()=>d.params.promo),m=M(),o=n(()=>x(m.promos,t=>t.id===s.value)),a=n(()=>{const t=new Date;return o.value&&o.value.active&&o.value.startDate<=t&&o.value.endDate>=t}),f=n(()=>o.value&&o.value.notActiveMessage||h("notActive"));A(o,t=>{((t==null?void 0:t.id)!==s.value||!m.pageTitle)&&(m.pageTitle=t==null?void 0:t.title)},{immediate:!0}),T(()=>{var t;m.pageTitle=(t=o.value)==null?void 0:t.title}),j([]);const{t:h}=w("promo",{en:{},uk:{},pl:{notActive:"Promocja nie jest aktualnie dostÄpna."}});return(t,b)=>{var u,l;const k=v,c=F;return r(),i("div",null,[e(o)&&e(a)?(r(),i("div",N,[e(o).home.sections?(r(),i("div",P,[(r(!0),i(D,null,B(e(o).home.sections,g=>(r(),L(k,{promo:e(o),section:g},null,8,["promo","section"]))),256))])):p("",!0)])):p("",!0),e(a)?p("",!0):(r(),i("div",S,[_(c,{content:e(f)},null,8,["content"])])),(l=(u=e(o))==null?void 0:u.home)!=null&&l.legalText?(r(),i("p",V,[_(c,{content:e(o).home.legalText},null,8,["content"])])):p("",!0)])}}};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.