PageSourceSearch

https://beaglesecurity.com/js/20260907105008-home-page.js

js beaglesecurity.com collected 2026-09-24 08:46:08 UTC 10,400 bytes, 1 lines download raw bytes

1const observerOptions={root:null,rootMargin:"0px",threshold:[0,.25,.5,.75,1]},dashboardSection=document.getElementById("dashboardSection"),animatedElements=document.querySelectorAll(".animated-element"),observer=new IntersectionObserver((t=>{t.forEach((t=>{const e=t.intersectionRatio;e>=.5?animatedElements.forEach((t=>{t.classList.add("animate-in"),setTimeout((()=>{t.classList.add("floating")}),600)})):e<.3&&animatedElements.forEach((t=>{t.classList.remove("animate-in","floating")}))}))}),observerOptions);function updateDashboardImage(){const t=document.querySelector(".dashboard-hero-img");window.innerWidth<=991?t.src="/images/home/home-page/dashboard-hero-image.webp":t.src="/images/home/home-page/dashboard-hero.webp"}observer.observe(dashboardSection),window.addEventListener("load",updateDashboardImage),window.addEventListener("resize",updateDashboardImage),gsap.registerPlugin(ScrollTrigger),gsap.from(".features-main-head",{y:100,opacity:0,delay:0}),gsap.from(".up-arrow-section",{y:75,opacity:0,delay:.25}),gsap.from(".head-desc",{y:75,opacity:0,delay:.5}),gsap.from(".button-free-trial",{y:50,opacity:0,delay:.75}),gsap.from(".background-container",{y:50,opacity:0,delay:1}),gsap.from(".client-container",{y:75,opacity:0,scrollTrigger:{trigger:".client-container",start:"top bottom-=100px",end:"+=200px",scrub:!0}}),gsap.from(".card-wrapper",{y:75,opacity:0,scrollTrigger:{trigger:".card-wrapper",start:"top bottom-=100px",end:"+=200px",scrub:!0}}),gsap.from(".security-section",{y:75,opacity:0,scrollTrigger:{trigger:".security-section",start:"top bottom-=100px",end:"+=200px",scrub:!0}}),gsap.from(".animation-heading",{y:75,opacity:0,scrollTrigger:{trigger:".animation-heading",start:"top bottom-=100px",end:"+=200px",scrub:!0}}),gsap.from(".animation-description",{y:75,opacity:0,scrollTrigger:{trigger:".animation-description",start:"top bottom-=100px",end:"+=200px",scrub:!0}}),gsap.from(".comparison",{y:100,opacity:0,scrollTrigger:{trigger:".comparison",start:"top bottom-=100px",end:"+=200px",scrub:!0}}),gsap.from(".pill-head-section",{y:100,opacity:0,scrollTrigger:{trigger:".pill-head-section",start:"top bottom-=100px",end:"+=200px",scrub:!0}}),gsap.from(".black-head",{y:100,opacity:0,scrollTrigger:{trigger:".black-head",start:"top bottom-=100px",end:"+=200px",scrub:!0}}),gsap.from(".head-wrapper",{y:100,opacity:0,scrollTrigger:{trigger:".head-wrapper",start:"top bottom-=100px",end:"+=200px",scrub:!0}}),gsap.from(".main-description",{y:100,opacity:0,scrollTrigger:{trigger:".main-description",start:"top bottom-=100px",end:"+=200px",scrub:!0}}),gsap.from(".image-content-box",{y:100,opacity:0,scrollTrigger:{trigger:".image-content-box",start:"top bottom-=100px",end:"+=200px",scrub:!0}}),gsap.from(".learn-more-btn",{y:100,opacity:0,scrollTrigger:{trigger:".learn-more-btn",start:"top bottom-=100px",end:"+=200px",scrub:!0}}),gsap.from(".heading-container",{y:100,opacity:0,scrollTrigger:{trigger:".heading-container",start:"top bottom-=100px",end:"+=200px",scrub:!0}}),gsap.from(".carousel-section",{y:100,opacity:0,scrollTrigger:{trigger:".carousel-section",start:"top bottom-=100px",end:"+=200px",scrub:!0}}),gsap.from(".heading-black",{y:100,opacity:0,scrollTrigger:{trigger:".heading-black",start:"top bottom-=100px",end:"+=200px",scrub:!0}}),gsap.from(".footer-space",{y:100,opacity:0,scrollTrigger:{trigger:".footer-space",start:"top bottom-=100px",end:"+=200px",scrub:!0}}),gsap.from(".without-bg-container",{y:100,opacity:0,scrollTrigger:{trigger:".without-bg-container",start:"top bottom-=100px",end:"+=200px",scrub:!0}}),gsap.from(".with-bg-container",{y:100,opacity:0,scrollTrigger:{trigger:".with-bg-container",start:"top bottom-=100px",end:"+=200px",scrub:!0}}),gsap.from(".optimized-container",{y:100,opacity:0,scrollTrigger:{trigger:".optimized-container",start:"top bottom-=100px",end:"+=200px",scrub:!0}}),gsap.from(".testimonial-container",{y:100,opacity:0,scrollTrigger:{trigger:".testimonial-container",start:"top bottom-=100px",end:"+=200px",scrub:!0}}),gsap.from(".heading",{y:100,opacity:0,scrollTrigger:{trigger:".heading",start:"top bottom-=100px",end:"+=200px",scrub:!0}}),gsap.from(".sub-description",{y:100,opacity:0,scrollTrigger:{trigger:".sub-description",start:"top bottom-=100px",end:"+=200px",scrub:!0}}),gsap.from(".img-with-text",{y:100,opacity:0,scrollTrigger:{trigger:".img-with-text",start:"top bottom-=100px",end:"+=200px",scrub:!0}});const cards=document.querySelectorAll(".carousel-card"),nextBtn=document.querySelector(".icon-right-open"),prevBtn=document.querySelector(".icon-left-open");let activeCardIndex=2,isAnimating=!1;function getPositions(){return window.innerWidth<=748?[-952,-382,0,382,572,952]:[-760,-380,0,380,760,952]}function animateCard(t,e,o,r){gsap.to(t,{x:e,duration:1.2,ease:"power2.out",backgroundColor:o?"#006EEB":"#FFFFFF",borderColor:"#006EEB"}),t.style.zIndex=r,gsap.to(t.querySelector(".card-content"),{color:o?"#FFFFFF":"#212121",duration:.8});const i=t.querySelectorAll("[class^='card-img-']"),a=t.querySelectorAll("[class^='img-'][class$='-blue']");
1i.forEach((t=>{t.classList.contains("card-img-two")||t.classList.contains("card-img-six")||(t.style.display=o?"none":"block")})),a.forEach((t=>{t.style.display=o?"block":"none"}))}function updateCarousel(t){if(isAnimating)return;isAnimating=!0;const e=getPositions(),o=cards.length;activeCardIndex="next"===t?(activeCardIndex+1)%o:(activeCardIndex-1+o)%o,cards.forEach(((t,r)=>{const i=(r-activeCardIndex+2+o)%o,a=2===i?10:5-Math.abs(2-i);animateCard(t,e[i],2===i,a),t.classList.toggle("active",2===i)})),isAnimating=!1}function initCarousel(){const t=getPositions();gsap.set(cards,{opacity:1,scale:.95}),cards.forEach(((e,o)=>{const r=2===o?10:5-Math.abs(2-o);animateCard(e,t[o],2===o,r),e.classList.toggle("active",2===o),e.addEventListener("mouseenter",(()=>{gsap.to(e,{scale:1.02,duration:.3,ease:"power1.out"})})),e.addEventListener("mouseleave",(()=>{gsap.to(e,{scale:.95,duration:.3,ease:"power1.out"})}))}))}nextBtn.addEventListener("click",(()=>updateCarousel("next"))),prevBtn.addEventListener("click",(()=>updateCarousel("prev"))),initCarousel();const duration=.7,wrappers=document.querySelectorAll(".img-content-wrapper");function isMobileDevice(){return window.innerWidth<768}const hoverStates={"first-box":{"first-box":{width:"798px",height:"743px"},"second-box":{width:"360px",height:"356px"},"third-box":{width:"801px",height:"204px"},"fourth-box":{width:"360px",height:"592px",transform:"translateY(-388px)"}},"second-box":{"first-box":{width:"360px",height:"456px"},"second-box":{width:"801px",height:"842px"},"third-box":{width:"360px",height:"592px",transform:"translateY(-388px)"},"fourth-box":{width:"801px",height:"204px"}},"third-box":{"first-box":{width:"801px",height:"204px"},"second-box":{width:"360px",height:"593px"},"third-box":{width:"798px",height:"825px",transform:"translateY(-388px)"},"fourth-box":{width:"360px",height:"436px"}},"fourth-box":{"first-box":{width:"360px",height:"593px"},"second-box":{width:"801px",height:"204px"},"third-box":{width:"360px",height:"438px"},"fourth-box":{width:"801px",height:"822px",transform:"translateY(-388px)"}}};function handleHover(t,e){if(isMobileDevice())return;const o=[...t.classList].find((t=>hoverStates[t]));o&&wrappers.forEach((r=>{const i=[...r.classList].find((t=>hoverStates[o][t])),a=hoverStates[o][i],s=r.querySelector(".card-head"),n=r.querySelector(".card-description"),c=r.querySelector("img"),p=parseInt(c.getAttribute("height"))||c.naturalHeight||c.height||300;if(gsap.killTweensOf([r,s,n,c]),e)gsap.to(r,{width:a.width,height:a.height,transform:a.transform||"translateY(0px)",duration:duration,ease:"power2.out"}),r===t?(gsap.set([n,c],{visibility:"visible"}),gsap.to([s,n],{opacity:1,height:"auto",duration:duration}),gsap.to(c,{opacity:1,height:p,duration:duration}),r.classList.remove("non-hovered")):(gsap.to(s,{opacity:0,duration:.1,ease:"power2.out",onComplete:()=>{gsap.to(s,{opacity:1,duration:.25*duration,delay:.6*duration,ease:"power2.out"})}}),gsap.to(c,{opacity:0,height:0,duration:duration,ease:"power2.out",onComplete:()=>{c.style.visibility="hidden"}}),gsap.to(n,{opacity:0,height:0,duration:duration,ease:"power2.out",onComplete:()=>{n.style.visibility="hidden"}}),r.classList.add("non-hovered"));else{const t=r.classList.contains("third-box")||r.classList.contains("fourth-box")?"572px":"451px";gsap.to(r,{width:"579px",height:t,transform:"translateY(0px)",duration:duration,ease:"power2.out"}),gsap.set([n,c],{visibility:"visible"}),gsap.to([s,n],{opacity:1,height:"auto",duration:duration,ease:"power2.out"}),gsap.to(c,{opacity:1,height:p,duration:duration,ease:"power2.out"}),r.classList.remove("non-hovered")}}))}function setupEventListeners(){wrappers.forEach((t=>{t.removeEventListener("mouseenter",t.handleMouseEnter),t.removeEventListener("mouseleave",t.handleMouseLeave)})),isMobileDevice()||wrappers.forEach((t=>{const e=t.querySelector(".default-image"),o=t.querySelector(".hover-image");gsap.set(o,{visibility:"visible",opacity:0}),gsap.set(e,{visibility:"visible",opacity:1}),t.handleMouseEnter=()=>{handleHover(t,!0),gsap.to(e,{opacity:0,duration:.5*duration,ease:"power2.out"}),gsap.to(o,{opacity:1,duration:.5*duration,delay:.3*duration,ease:"power2.out"})},t.handleMouseLeave=()=>{handleHover(t,!1),gsap.to(o,{opacity:0,duration:.5*duration,ease:"power2.out"}),gsap.to(e,{opacity:1,duration:.5*duration,delay:.3*duration,ease:"power2.out"})},t.addEventListener("mouseenter",t.handleMouseEnter),t.addEventListener("mouseleave",t.handleMouseLeave)}))}let resizeTimer;setupEventListeners(),window.addEventListener("resize",(function(){clearTimeout(resizeTimer),resizeTimer=setTimeout((function(){setupEventListeners()}),5)})),document.addEventListener("DOMContentLoaded",(function(){const t=document.querySelectorAll(".testimonial-card"),e=document.querySelector(".prevButton"),o=document.querySelector(".nextButton");let r=0;const i=t.length;let a=!1;function s(t){a||(a=!0,r="next"===t?(r+1)%i:(r-1+i)%i,n(),setTimeout((()=>{a=!1}),600))}function n(){t.forEach((t=>t.classList.remove("prev-2","prev","current","next","next-2")));const e=(r+1)%i,o=(r-1+i)%i,a=(r-2+i)%i;t[(r+2)%i].classList.add("prev-2"),t[e].classList.add("prev"),t[r].classList.add("current"),t[o].classList.add("next"),t[a].classList.add("next-2")}e.addEventListener("click",(()=>s("prev"))),o.addEventListener("click",(()=>s("next"))),n()}));

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.