PageSourceSearch

https://zoloblocks.com/wp-content/plugins/zoloblocks-pro/build/ext…/frontend.js?ver=1d1cc0d5e02ddbfbd32c

js zoloblocks.com collected 2026-09-25 20:49:53 UTC 2,793 bytes, 1 lines download raw bytes

1document.addEventListener("DOMContentLoaded",function(){const e=(e,t,a=0)=>{const o={trigger:e};t.repeatable&&(o.toggleActions="play pause resume reset");let l=gsap.timeline({onStart:()=>{e&&(e.classList.add("animation-initialized"),e.parentElement.classList.add("animation-initialized"))},onComplete:()=>{e&&(gsap.set(e,{clearProps:"all"}),gsap.set(e.parentElement,{clearProps:"all"}),e.classList.remove("zolo-entrance-animation"),e.parentElement.classList.remove("zolo-entrance-animation"))},scrollTrigger:o});const n={},r={duration:t.duration?t.duration/1e3:2,delay:a,ease:"custom"===t.easing?CustomEase.create("custom",`${t?.easingCustom}`):t.easing,repeat:t.repeatable?-1:0};if(0!==t.translateX.value&&(n["px"===t.translateX.unit?"x":"xPercent"]=t.translateX.value),0!==t.translateY.value&&(n["px"===t.translateY.unit?"y":"yPercent"]=t.translateY.value),0!==t.translateZ.value&&(n["px"===t.translateZ.unit?"z":"zPercent"]=t.translateZ.value),t.active3D&&(0!==t.rotateX.value&&(n.rotationX=t.rotateX.value),0!==t.rotateY.value&&(n.rotationY=t.rotateY.value),0!==t.perspective&&(n.transformPerspective=t.perspective)),0!==t.rotateZ.value&&(n.rotationZ=t.rotateZ.value),0!==t.scaleX.value&&(n.scaleX=t.scaleX.value),0!==t.scaleY.value&&(n.scaleY=t.scaleY.value),0!==t.scaleZ.value&&(n.scale=t.scaleZ.value),0!==t.skewX.value&&(n.skewX=t.skewX.value),0!==t.skewY.value&&(n.skewY=t.skewY.value),0!==t.opacity&&(n.opacity=t.opacity),"custom"===t.presetAnimation)return l=l.from(e,{...n,...r}),l;{const a={fade:{opacity:0,duration:2},slide:{xPercent:100,opacity:0},scale:{scale:0,opacity:0},rotate:{rotation:180,opacity:0},flip:{rotationY:180,opacity:0},zoom:{scale:0,opacity:0},scaleUp:{scale:1.5,opacity:0},scaleDown:{scale:.5,opacity:0},top:{yPercent:-100,opacity:0},right:{xPercent:100,opacity:0},bottom:{yPercent:100,opacity:0},left:{xPercent:-100,opacity:0},topSmall:{yPercent:-20,opacity:0},rightSmall:{xPercent:20,opacity:0},bottomSmall:{yPercent:20,opacity:0},leftSmall:{xPercent:-20,opacity:0},topMedium:{yPercent:-50,opacity:0},rightMedium:{xPercent:50,opacity:0},bottomMedium:{yPercent:50,opacity:0},leftMedium:{xPercent:-50,opacity:0}}[t.presetAnimation];return l=l.from(e,{...a,...r}),l}};document.querySelectorAll(".zolo-block").forEach(t=>{const a=t.classList,o=Array.from(a).find(e=>e.startsWith("parent-"));if(o){const t=document.querySelector(`.${o}.zolo-entrance-animation`);if(t){const a=t.dataset.animation;let o=0;const l=t.querySelectorAll(".zolo-post-item");if(a)try{const n=JSON.parse(a);l.length>0?l.forEach((t,a)=>{o=n.delay?n.delay/1e3+.3*a:2+.3*a,e(t,n,o)}):(o=n.delay?n.delay/1e3:2,e(t,n,o))}catch(e){console.error("Error parsing animation data:",e)}else t.classList.remove("zolo-entrance-animation")}}else console.warn("No parent class found for element:",t)})});

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.