PageSourceSearch

https://precoro.com/build/js/sections.implementation.BvwM-EFs.js

js precoro.com collected 2026-09-24 08:54:43 UTC 1,769 bytes, 2 lines download raw bytes

1import{g as u,S as I}from"./app.qQtaN1au.js";const k=1024,w=7,A="text-royal-blue-700",C="text-night-blue-200",N=f=>{const r=[...f.querySelectorAll("[data-impl-step]")];if(r.length<2)return;const i=r.map(e=>e.querySelector("[data-impl-fill]")),l=[...f.querySelectorAll("[data-impl-reviews] [data-impl-review]")],v=new Map(l.map(e=>[Number(e.dataset.reviewIndex),e])),d=l.length?Math.min(...l.map(e=>Number(e.dataset.reviewIndex))):0,g=()=>window.innerWidth>=k,n=(e,o)=>{const t=r[e].querySelector("[data-impl-icon]");t&&(t.classList.toggle(A,o),t.classList.toggle(C,!o))},a=e=>{const o=v.get(e);o&&(l.forEach(t=>t.classList.add("opacity-0","pointer-events-none")),o.classList.remove("opacity-0","pointer-events-none"))},S=e=>{n(e,!0),a(e)},E=()=>{const e=u.timeline({repeat:-1,paused:!0});return r.forEach((o,t)=>{e.call(()=>S(t));const s=i[t];s?e.fromTo(s,{width:"0%"},{width:"100%",duration:w,ease:"none"}):e.to({},{duration:w})}),e.eventCallback("onRepeat",()=>{r.forEach((o,t)=>n(t,t===0)),u.set(i.filter(Boolean),{width:"0%"}),a(d)}),a(d),e.play(),e},T=()=>{const e=[];return r.forEach((o,t)=>{e.push(I.create({trigger:o,start:"top center",onEnter:()=>n(t,!0),onLeaveBack:()=>{t!==0&&n(t,!1)}}));const s=i[t];if(!s)return;const y=u.fromTo(s,{height:"0%"},{height:"100%",ease:"none",scrollTrigger:{trigger:o,start:"top center",end:"bottom center",scrub:!0}});e.push(y.scrollTrigger)}),e};let c=null,p=null;const b=()=>{c&&(c.kill(),c=null),p&&(p.forEach(e=>e&&e.kill&&e.kill()),p=null),u.set(i.filter(Boolean),{clearProps:"width,height"}),r.forEach((e,o)=>n(o,o===0)),a(d)},h=()=>{b(),g()?c=E():p=T()};h();let m=g();window.addEventListener("resize",()=>{const e=g();e!==m&&(m=e,h())})};export{N as init};
2//# sourceMappingURL=sections.implementation.BvwM-EFs.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.