PageSourceSearch

https://www.sparwelt.de/_nuxt/cc-BKORaNVZ.js

js sparwelt.de collected 2026-10-03 22:56:46 UTC 2,300 bytes, 1 lines download raw bytes

1import{b as C}from"./cc-DM-Z3Z0f.js";import{b as k,a5 as b,t as V,o as a,j as c,l as u,C as p,w as v,F as w,V as U,e as $,n as d,g as o,aQ as r,A as j,i as z,a7 as B,X as S,Y as E}from"./cc-B5RKvQpP.js";import"./cc-DDwpU1ec.js";import"./cc-vjpGpe9Y.js";import"./cc-7o_Q6TRo.js";const F={class:"flex justify-center"},q={class:"grid grid-cols-3 grid-flow-row gap-2.5 sm:gap-[17px] md:gap-5 lg:gap-7 xl:gap-8 w-[328px] sm:w-[608px] md:w-[736px] lg:w-[992px] xl:w-[1144px] justify-items-stretch"},L=["id","checked","onChange"],N=["for"],Q=k({__name:"StrapiCalendar",props:b({item:null},{item:()=>({})}),setup(T){const f=V(null);function x(s,l){r(l).isValid||(clearTimeout(f.value),f.value=setTimeout(()=>{const t=s.target;t.checked=!1},500))}function y(s){var e;const l=B(),t=l.query.gewinnspiel,i=(e=(s.targetUrl??"").split("?").pop())==null?void 0:e.split("=").pop();return l.query.gewinnspiel?i===t:!1}return(s,l)=>{const t=S,m=E,i=C;return a(),c("div",F,[u("div",q,[p(i,null,{default:v(()=>[(a(!0),c(w,null,U(s.item.items,(e,n)=>(a(),$(m,{key:n,external:"","css-classes":"shadow-md overflow-hidden h-[103px] sm:h-[191px] md:h-[232px] lg:h-[312px] xl:h-[360px]",padded:!1,"data-content-uuid":`calendar-item:${e.id}`,class:d(["relative",[e.size===1&&["col-span-1","aspect-square"],e.size===2&&["col-span-2"],e.size===3&&["col-span-3"]]])},{default:v(()=>{var g,_;return[o(r)(e).isPast?j("",!0):(a(),c(w,{key:0},[u("input",{id:`cover-${n}`,type:"checkbox",class:"hidden peer",checked:y(e),onChange:h=>x(h,e)},null,40,L),u("label",{for:`cover-${n}`,class:d(["absolute h-full w-full bottom-0 ease-[cubic-bezier(0.68,-0.55,0.27,1.55)] transition-bottom duration-1000 cursor-pointer",[{"peer-checked:bottom-full":o(r)(e).isValid,"peer-checked:animate-[adventDoorHalfopen_500ms]":o(r)(e).isFuture}]])},[p(t,{src:(g=e.imageCover)==null?void 0:g.url,class:"object-cover w-full h-full cursor-pointer"},null,8,["src"])],10,N)],64)),p(t,{src:(_=e.imageInner)==null?void 0:_.url,class:d(["object-cover w-full h-full cursor-pointer",[o(r)(e).isPast&&["filter","grayscale","opacity-70"]]]),onClick:h=>o(r)(e).isFuture?()=>null:("useEvent"in s?s.useEvent:o(z))("display:lottery",e.targetUrl)},null,8,["src","class","onClick"])]}),_:2},1032,["data-content-uuid","class"]))),128))]),_:1})])])}}});export{Q 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.