1import{_ as g}from"./_JJUoVKb.js";import{_ as f}from"./B6D0GpbF.js";import{_ as m}from"./CRDuWKR2.js";import{_ as y}from"./CVDmaLxH.js";import{_ as v}from"./DfGhbKP-.js";import{_ as b}from"./DZNX-3SN.js";import{d as h,r as d,o as _,a as w,e as k,f as o,R as l,a4 as p,h as r}from"./BgOPsrZ5.js";import{s as C}from"./DCGO9W7S.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},i=new a.Error().stack;i&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[i]="22938704-56e1-4f3e-bea3-41c4bb684d9e",a._sentryDebugIdIdentifier="sentry-dbid-22938704-56e1-4f3e-bea3-41c4bb684d9e")}catch{}})();const $={class:"relative z-10"},z={class:"absolute top-0 w-full h-full"},T={class:"sticky top-0 h-screen overflow-hidden"},I={class:"relative"},M={class:"sticky top-0 h-screen overflow-hidden"},A=h({__name:"scrolling-story",props:{color:{},copy:{},cards:{},type3d:{},gravityTags:{},images:{},gradientTitle:{},storiesContainer:{}},setup(a){const i=d(0),n=d(),t=d(0),u=d(.8),s=[0,.2,.35,.65,1],c=e=>t.value>=s[e]&&t.value<s[e+1];return _(()=>{n.value&&C(({y:e})=>{i.value=Math.max(0,1-Math.min(1,e.progress/s[1])),u.value=Math.min(1,Math.max(.8,.8+(e.progress-.81)/(.88-.81)*.2)),t.value=e.progress},{target:n.value,offset:["start end","end end"]})}),(e,D)=>(w(),k("div",$,[o("div",z,[o("div",T,[o("div",{class:l(["absolute -top-40 -right-40 lg:-top-[540px] lg:-right-[540px] rounded-full blur-3xl md:blur-[100px] w-80 h-80 lg:w-[1080px] lg:h-[1080px] duration-150",[`bg-${e.color}`]]),style:p({opacity:i.value,transform:"translate3d(0,0,0)"})},null,6)])]),r(v,{copy:e.copy,"gradient-color":e.color,cards:e.cards,class:"z-10"},null,8,["copy","gradient-color","cards"]),o("div",I,[o("section",{ref_key:"container",ref:n,class:"sticky top-0 h-[600vh] lg:h-[800vh]"},[o("div",M,[r(y,{title:e.type3d.title,copy:e.type3d.copy,progress:t.value/s[1],class:l(["absolute inset-0 transition duration-300",c(0)?"opacity-100 z-10":"opacity-0"])},null,8,["title","copy","progress","class"]),r(g,{title:e.gravityTags.title,copy:e.gravityTags.copy,tags:e.gravityTags.tags,trigger:(t.value-s[1])/(s[2]-s[1]),class:l(["absolute inset-0 transition duration-300",c(1)?"opacity-100 z-10":"opacity-0"])},null,8,["title","copy","tags","trigger","class"]),r(f,{trigger:(t.value-s[2])/(s[3]-s[2]),title:e.images.title,images:e.images.items,class:l(["absolute inset-0 transition duration-300",c(2)?"opacity-100":"opacity-0"])},null,8,["trigger","title","images","class"]),r(m,{title:e.gradientTitle,trigger:(t.value-s[3])/(s[4]-s[3]),color:e.color,class:l(["transition duration-300",c(3)?"opacity-100":"opacity-0"])},null,8,["title","trigger","color","class"])])],512),o("div",{class:"absolute bottom-0 z-20 w-full overflow-hidden bg-white rounded-t-3xl",style:p({transform:`scale(${u.value})`})},[r(b,{"background-color":e.storiesContainer.backgroundColor,title:e.storiesContainer.title,subtitle:e.storiesContainer.subtitle,sections:e.storiesContainer.sections},null,8,["background-color","title","subtitle","sections"])],4)])]))}});export{A as _}; 2//# sourceMappingURL=D3mTHUyt.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.