1import{d,r as m,o as h,a as r,e as c,f,h as p,w as g,t as w,F as b,y as v,R as _,v as k}from"./BgOPsrZ5.js";import{_ as z}from"./B9OD4mYB.js";import{u as C}from"./C9X-TiiY.js";import{a as D}from"./DejjzwRS.js";import{s as I}from"./DCGO9W7S.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},a=new t.Error().stack;a&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[a]="ae919d68-6659-4f0b-8466-3757260899e5",t._sentryDebugIdIdentifier="sentry-dbid-ae919d68-6659-4f0b-8466-3757260899e5")}catch{}})();const B={class:"sticky top-0 z-10 flex justify-center w-full lg:h-screen lg:items-center"},E={class:"my-20 text-5xl text-center lg:text-8xl lg:mt-0"},j=d({__name:"parallax-cards",props:{cards:{},copy:{}},setup(t){const{isDesktop:a}=C(),l=m([]),i=m(null);return h(()=>{l.value.length>0&&a.value&&l.value.forEach((o,n)=>{n%2!==0&&I(D(o,{y:[-200*n,100]}),{target:i.value})})}),(o,n)=>{const u=k,y=z;return r(),c("div",{ref_key:"cardsContainer",ref:i,class:"relative z-10 bg-white"},[f("div",B,[p(u,null,{default:g(()=>[f("h2",E,w(o.copy),1)]),_:1})]),p(u,{class:"px-4 pb-16 mx-auto space-y-16 lg:px-0 lg:space-y-0 lg:pb-[100vh]"},{default:g(()=>[(r(!0),c(b,null,v(o.cards,(e,s)=>(r(),c("div",{key:s,ref_for:!0,ref:x=>{l.value.push(x)},class:_(["max-w-[290px] lg:max-w-sm relative",[{"lg:ml-40":s%5===0},{"ml-auto":s%5===1},{"":s%5===2},{"ml-auto lg:mr-20":s%5===3},{"lg:ml-80":s%5===4},!e.cta&&e.title===""&&e.copy===""?"z-20 lg:z-0":"z-20"]])},[p(y,{title:e.title,copy:e.copy,cta:e.cta,"background-image":e.img,class:_([[{"h-[320px] lg:h-[460px]":e.cta&&(e.title!==""||e.copy!=="")||!e.cta&&(e.title!==""||e.copy!=="")},{"lg:h-[320px] lg:w-[320px]":e.cta&&e.title===""},{"lg:h-[256px] lg:w-[256px]":!e.cta&&e.title===""&&e.copy===""}],"w-[290px] h-[290px] lg:w-auto"])},null,8,["title","copy","cta","background-image","class"])],2))),128))]),_:1})],512)}}});export{j as _}; 2//# sourceMappingURL=Dxb7vUf0.js.map
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.