PageSourceSearch

https://lcsp.com.br/wp-content/cache/autoptimize/js/autoptimize_si…3594f46a6cf7914e03e2fd0d199c1.js?ver=10.0.0

js lcsp.com.br collected 2026-10-09 23:21:32 UTC 2,193 bytes, 2 lines download raw bytes

1(function(){document.addEventListener("DOMContentLoaded",function(){if(typeof gsap==="undefined"||typeof ScrollTrigger==="undefined"){console.error("GSAP or ScrollTrigger is not loaded.");return;}
2gsap.registerPlugin(ScrollTrigger);const processSection=document.querySelector(".pxl-process-cards2 .pxl-process-inner");if(!processSection)return;const trigger=processSection.querySelector(".pxl-process-cards2 .process-container");const cardsList=processSection.querySelector(".pxl-process-cards2 .process-cards-list");const cardWrappers=gsap.utils.toArray(processSection.querySelectorAll(".pxl-process-cards2 .pxl--item"));if(!trigger||!cardsList||cardWrappers.length===0)return;const blockHeight=295;const time=1;gsap.set(cardWrappers,{y:(index)=>25*index,transformOrigin:"center top",opacity:1,filter:"brightness(1)"});const tl=gsap.timeline({defaults:{ease:"power2.out"},scrollTrigger:{trigger:trigger,start:"top top",end:`${blockHeight * 5} top`,scrub:0.6,markers:false}});tl.from(cardsList,{y:blockHeight/2,duration:1.2,ease:"power1.out"});tl.to(cardWrappers.slice(1),{yPercent:(i)=>-100*(i+1),duration:time,stagger:time*0.6,ease:"power2.inOut"});tl.to(cardWrappers.slice(0,-1),{rotationX:-4,scale:(index)=>gsap.utils.mapRange(1,cardWrappers.length-1,0.77,1)(index),stagger:{each:time*0.6},ease:"power1.inOut"},"<");const totalDuration=tl.duration();const scrollDistance=blockHeight*5;cardWrappers.slice(0,-1).forEach((card,i)=>{const itemStartTime=1.2+i*(time*0.6);const itemEndTime=itemStartTime+time;const startScroll=(itemStartTime/totalDuration)*scrollDistance;const endScroll=(itemEndTime/totalDuration)*scrollDistance;const minBrightness=gsap.utils.mapRange(0,cardWrappers.length-2,0.4,0.8)(i);ScrollTrigger.create({trigger:trigger,start:()=>`top+=${startScroll} top`,end:()=>`top+=${endScroll} top`,scrub:true,onUpdate:self=>{if(self.progress>=1){gsap.to(card,{opacity:1,filter:`brightness(${minBrightness})`,duration:0.5,overwrite:"auto"});}else{gsap.to(card,{opacity:1,filter:"brightness(1)",duration:0.3,overwrite:"auto"});}}});});ScrollTrigger.create({trigger:processSection,start:"top top",end:`${blockHeight * 5} top`,pin:true,markers:false});ScrollTrigger.refresh();});})();

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.