1(()=>{const e=".wp-block-create-block-cg-block-hero-card-wrapper",t=".wp-block-create-block-cg-block-hero-card",n=".mobile-animation";let r=!1,o=null,i=null,l=null,d=0,c=null,a=null,s=null,u=!1,g=[];const m=()=>Boolean(window.gsap&&window.ScrollTrigger),w=()=>window.innerWidth||document.documentElement.clientWidth||0,h=()=>w()<768,p=()=>Array.from(document.querySelectorAll(e),(e=>e.getBoundingClientRect().top+window.scrollY)),v=()=>{const{gsap:r,ScrollTrigger:o}=window;r.registerPlugin(o),document.querySelectorAll(e).forEach((e=>{e.heroCardTriggers&&e.heroCardTriggers.forEach((e=>e.kill())),e.heroCardTriggers=[],r.set(e.querySelectorAll(`${t}, ${t} ${n}`),{clearProps:"zIndex,transform,position,top,left,width,height"});const i=(e=>{const r=e.querySelectorAll(t);return r.length<2?[]:(h()?Array.from(e.querySelectorAll(`${t} ${n}`)):Array.from(r)).map((e=>({panel:e,top:e.getBoundingClientRect().top}))).sort(((e,t)=>e.top-t.top)).map((e=>e.panel))})(e);if(i.length<2)return;const l=i[i.length-1];i.forEach(((e,t)=>{r.set(e,{zIndex:t+1,position:"relative"})}));const d=e.getBoundingClientRect().top,c=i.map((e=>e.getBoundingClientRect().top-d)),a=()=>e.getBoundingClientRect().top+window.scrollY,s=c[c.length-1];i.forEach(((t,n)=>{t!==l&&e.heroCardTriggers.push(o.create({trigger:t,start:()=>a()+c[n],end:()=>a()+s,pin:!0,pinSpacing:!1,invalidateOnRefresh:!0}))}))})),c=h()},f=()=>{m()&&(l&&clearTimeout(l),l=setTimeout((()=>{l=null,window.ScrollTrigger.refresh()}),200))},y=()=>{r&&window.innerWidth!==d&&(d=window.innerWidth,i&&clearTimeout(i),i=setTimeout((()=>{h()!==c&&v(),f()}),150))},b=()=>!!r||!!(m()&&w()>0)&&(document.documentElement.style.setProperty("scroll-behavior","auto","important"),d=window.innerWidth,v(),(()=>{if(a||s)return;const{ScrollTrigger:e}=window;e.addEventListener("refreshInit",(()=>{u=!0})),e.addEventListener("refresh",(()=>{u=!1,g=p()})),g=p();const t=()=>{u||(()=>{const e=p(),t=e.length!==g.length||e.some(((e,t)=>Math.abs(e-g[t])>1));return t&&(g=e),t})()&&f()};"undefined"!=typeof MutationObserver&&(s=new MutationObserver(t),s.observe(document.body,{childList:!0,subtree:!0})),"undefined"!=typeof ResizeObserver&&(a=new ResizeObserver(t),a.observe(document.body))})(),window.removeEventListener("resize",y),window.removeEventListener("orientationchange",y),window.addEventListener("resize",y),window.addEventListener("orientationchange",y),r=!0,!0),E=()=>{if(b()||null!==o)return;let e=0;o=setInterval((()=>{e+=1,(b()||e>=40)&&(clearInterval(o),o=null)}),250)};var L;"scrollRestoration"in window.history&&(window.history.scrollRestoration="manual"),L=()=>{document.querySelectorAll(`${e} img`).forEach((e=>{if(e.complete)return;const t=()=>{e.removeEventListener("load",t),e.removeEventListener("error",t),f()};e.addEventListener("load",t),e.addEventListener("error",t)}))},"loading"===document.readyState?document.addEventListener("DOMContentLoaded",L,{once:!0}):L(),"complete"===document.readyState?E():window.addEventListener("load",E,{once:!0}),document.addEventListener("visibilitychange",(()=>{"visible"===document.visibilityState&&(r?f():E())})),document.fonts&&document.fonts.ready&&document.fonts.ready.then(f)})();
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.