1function bc_divider(){let t={};document.querySelectorAll(".bc-divider").forEach((divider,r)=>{var i=divider.querySelector(".bc-divider__motion");let a=i.getAttribute("data-start"),g=i.getAttribute("data-ease"),d=parseFloat(i.getAttribute("data-duration")),o=parseFloat(i.getAttribute("data-delay")),n=i.getAttribute("data-end"),u=i.getAttribute("data-trigger"),l=i.getAttribute("data-scrub"),c=i.getAttribute("data-type");(toggleact=i.getAttribute("data-toggleActions")),(varwidth=i.getAttribute("data-width")),"this"==u&&(u=i),(l="false"!=l&&("true"==l||parseFloat(l)));var s="100%";let b;var varContainerAnimation=isInsideHorizontalScrollElement(divider);if("fromLeft"==c){t[`g${r}`]=gsap.timeline({scrollTrigger:{trigger:u,containerAnimation:varContainerAnimation?window[varContainerAnimation]:undefined,start:a,end:n,scrub:l,toggleActions:toggleact}}).to(i,{width:"100%",delay:o,duration:d,ease:g})}else if("fromCenter"==c){t[`g${r}`]=gsap.timeline({scrollTrigger:{trigger:u,containerAnimation:varContainerAnimation?window[varContainerAnimation]:undefined,start:a,end:n,scrub:l,toggleActions:toggleact}}).fromTo(i,{width:0,marginLeft:`${(b = s.match(/^([\d.]+)(\D+)$/)) ? parseFloat(b[1]) / 2 + b[2] : s / 2}`},{width:"100%",marginLeft:0,delay:o,duration:d,ease:g})}else if("fromRight"==c){t[`g${r}`]=gsap.timeline({scrollTrigger:{trigger:u,containerAnimation:varContainerAnimation?window[varContainerAnimation]:undefined,start:a,end:n,scrub:l,toggleActions:toggleact}}).fromTo(i,{width:0,marginLeft:"100%"},{width:"100%",marginLeft:0,delay:o,duration:d,ease:g})} 2var f=i.closest(".bc-core-menu");if(f&&f.contains(i)){var A=f.querySelector(".bc-core-burguer").querySelector("button");t[`g${r}`].kill(),new MutationObserver(function(t){for(var e of t)"attributes"===e.type&&("true"===A.getAttribute("aria-expanded")?m():$())}).observe(A,{attributes:!0})} 3function m(){t[`g${r}`].isActive()?t[`g${r}`].play():t[`g${r}`].restart()} 4function $(){gsap.delayedCall(o,()=>t[`g${r}`].reverse())} 5var animationType=i.getAttribute("data-animationtype") 6var classTriggerClick=i.getAttribute("data-classtriggerclick") 7var classTriggerHover=i.getAttribute("data-classtriggerhover") 8if(animationType=='Click'&&parseFloat(classTriggerClick)!=0){document.querySelectorAll(classTriggerClick).forEach(function(e){e.addEventListener("click",function(){t[`g${r}`].restart()})})}else if(animationType=='Hover'&&parseFloat(classTriggerHover)!=0){document.querySelectorAll(classTriggerHover).forEach(function(e){e.addEventListener("mouseover",function(){t[`g${r}`].restart()})})}})} 9function isInsideHorizontalScrollElement(element){let containerName=null;document.querySelectorAll(".next-horizontal-scroll").forEach((horizontalScroll,index)=>{if(horizontalScroll.contains(element)){containerName=`NextHorizontalScroll${index}`}});return containerName} 10document.addEventListener("DOMContentLoaded",function(t){document.fonts.ready.then(function(){bricksIsFrontend&&bc_divider()})})
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.