1import{g as i,b as m,S as d,e as g}from"./script-CmWO8VI5.js";import{lenis as f}from"./scroll-C4ESJ3SR.js";function v(){const t=document.querySelectorAll(".half");i.matchMedia().add(`(min-width: ${m.large}px)`,()=>{t.forEach(n=>{const e=n.querySelector(".half__asset");if(!e)return;d.create({trigger:e,endTrigger:n,start:"0% 0%",end:"bottom bottom",pin:!0});const o=n.querySelector(".half__asset__logo svg");o&&!g&&p(e,o)})}),t.forEach(n=>{const e=n.querySelector(".half__content__tabs");e&&h(n,e)})}function h(t,a){d.create({trigger:a,endTrigger:t,start:"0% 0%",end:"bottom bottom",pin:!0});const n=a.querySelectorAll(".half__content__tabs__item"),e=t.querySelectorAll(".half__content__inner"),o=t.querySelectorAll(".half__asset__inner");n.forEach((_,s)=>{_.addEventListener("click",()=>{const l=t.querySelector(".half__content__inner:not(.half__content__inner--hidden)");if(l&&(i.to(l,{opacity:0,duration:.3,onComplete:()=>{l.classList.add("half__content__inner--hidden"),e[s].classList.remove("half__content__inner--hidden"),i.fromTo(e[s],{opacity:0},{opacity:1,duration:1.2,ease:"power4.out"});const r=e[s].dataset.bg,c=e[s].dataset.text;r&&c&&i.timeline().set(a,{backgroundColor:"transparent"}).to(t,{backgroundColor:r,color:c,duration:.5}).set(a,{backgroundColor:r,color:c,duration:.5},"-=0.1")}}),n.forEach(r=>r.classList.toggle("active",r===_)),f.scrollTo(t),setTimeout(()=>d.refresh(),300),o.length>1)){const r=t.querySelector(".half__asset__inner:not(.half__asset__inner--hidden)");if(!r)return;i.to(r.parentElement,{opacity:0,duration:.3,onComplete:()=>{r.classList.add("half__asset__inner--hidden"),o[s].classList.remove("half__asset__inner--hidden"),window.dispatchEvent(new Event("resize")),i.fromTo(o[s].parentElement,{opacity:1,"--clip":"0%"},{opacity:1,"--clip":"100%",duration:1.2,ease:"power4.out"})}})}})})}function p(t,a){const n=a.querySelector("pattern");t.addEventListener("mousemove",e=>{const o=t.getBoundingClientRect(),_=e.clientX-o.left,s=e.clientY-o.top,l=_-o.width/2,c=-(s-o.height/2)/o.height*10,u=l/o.width*10;i.to(a,{rotateX:c,rotateY:u,transformPerspective:1e3,duration:1}),i.to(n,{x:-u*.3,y:c*.3,duration:1})}),t.addEventListener("mouseleave",()=>{i.to(a,{rotateX:0,rotateY:0,duration:1}),i.to(n,{x:0,y:0,duration:1})})}export{v 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.