1import{g as t,S as n}from"./xeKa9_9b.js";import{x as m,ag as d,G as p,o as f,c as y,h as s,n as _,l as a,u as S,e as v,i as b}from"./s5Wa-YHb.js";const h={class:"image-wrapper"},k=["src","alt"],T={class:"content"},q={__name:"MagicImageBox",props:{image:{type:Object,default:{src:"",alt:"",classes:""}}},setup(o){t.registerPlugin(n);const c=d(),l=b();return p(()=>{const e=l.value,r=e.querySelector(".image-wrapper"),i=e.querySelector(".img"),g=e.querySelector(".overlay"),u=e.querySelector(".content");t.defaults({ease:"none"}),n.defaults({trigger:e,start:"50% 100%",end:"50% 0%",scrub:.5}),t.to(r,{clipPath:"polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%)",scrollTrigger:{}}),t.to(i,{scale:1,scrollTrigger:{}}),t.to(g,{opacity:.6,scrollTrigger:{end:"50% 50%"}}),t.to(u,{opacity:1,scrollTrigger:{start:"center center",end:"bottom bottom"}})}),(e,r)=>(f(),y("div",{class:"magic-box",ref_key:"triggerRef",ref:l},[s("div",h,[r[0]||(r[0]=s("span",{class:"overlay"},null,-1)),s("img",{class:_(["img",o.image.classes]),loading:"lazy",src:o.image.src,alt:o.image.alt},null,10,k)]),s("div",T,[s("h2",null,[a(e.$slots,"title",{},void 0,!0)]),s("p",null,[a(e.$slots,"copy",{},void 0,!0)]),S(c).link?a(e.$slots,"link",{key:0},void 0,!0):v("",!0)])],512))}},C=m(q,[["__scopeId","data-v-124977b9"]]);export{C as _};
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.