1import{x as u,z as p,U as g,e as d,v as e,D as f,u as l,y as a,o as _}from"./ChTx12_J.js";import{u as c}from"./DPV8vH2U.js";const v={class:"my-component"},y={class:"p-8"},b={class:"mt-2"},h={class:"mt-8 flex gap-2"},B=u({__name:"st",setup(k){const r=a("peach"),{tween:i,isInit:m}=p(t=>t.to(r.value,{x:200}),{revert:!0}),o=a("mario"),{tween:x}=c({targets:o,animation:"foobar"});g(t=>t.create({animation:i.value,trigger:r.value,start:"bottom 90%",id:"peach"}));const n=a("luigi");return c({targets:n,animation:"foobar",scrollTrigger:{markers:!0,id:"luigi"}}),(t,s)=>(_(),d("div",v,[s[1]||(s[1]=e("div",{class:"h-[350svh] bg-gradient-to-b from-primary to-secondary text-white p-8"}," scroll! ",-1)),e("div",y,[e("div",{ref_key:"peach",ref:r,class:"size-10 bg-[pink]"},null,512),e("div",{id:"mario",ref_key:"mario",ref:o,class:"size-10 bg-[red]"},null,512),e("div",{ref_key:"luigi",ref:n,class:"size-10 bg-[lightgreen]"},null,512),e("pre",b,f(l(m)),1),e("div",h,[e("button",{onClick:s[0]||(s[0]=w=>l(i).play(0))}," replay ")])])]))}});export{B 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.