PageSourceSearch

https://www.caritas-pflege.at/_assets/26989c71a0f3088b3fce24e595cb…/lottie-player/ik-lottie.min.js?1782979429

js caritas-pflege.at collected 2026-09-25 05:02:46 UTC 2,722 bytes, 2 lines download raw bytes

1$(document).ready(async function(){var lottieElements=document.querySelectorAll(".lottie");var lottieAnimations=[];var lottieAnimationData={};const motionQuery=window.matchMedia("(prefers-reduced-motion: reduce)");var hoverListeners=new Map;function updateLottieAutoplay(){lottieAnimations.forEach(function(animation){if(!animation)return;if(motionQuery.matches){animation.stop()}else{animation.play()}})}for(var i=0;i<lottieElements.length;i++){var el=lottieElements[i];if(el.hasAttribute("data-path")){var animationDataSrc=el.getAttribute("data-path");if(!lottieAnimationData[animationDataSrc]){lottieAnimationData[animationDataSrc]=await(await fetch(animationDataSrc)).json()}}else{console.log("Error, missing json src");continue}var params={container:el,renderer:"svg",loop:el.hasAttribute("data-loop"),autoplay:el.hasAttribute("data-autoplay")&&!motionQuery.matches,animationData:lottieAnimationData[animationDataSrc]};var animation=lottie.loadAnimation(params);lottieAnimations[i]=animation;el.setAttribute("data-lottieId",i+"");el.classList.add("lottie-svg");window.CanvasRenderer=class{setProjectInterface(){}}}function setupHoverInteractions(){lottieElements.forEach(function(el){var animation=lottieAnimations[el.getAttribute("data-lottieId")];if(!animation)return;if(hoverListeners.has(el)){el.removeEventListener("mouseenter",hoverListeners.get(el))}if(!motionQuery.matches&&el.hasAttribute("data-hover")){var listener=function(){animation.playSegments([0,50],true)};el.addEventListener("mouseenter",listener);hoverListeners.set(el,listener)}});$(".lottie-hover, .btn-mobile, .btn-phone, .btn-email, .story-telling .card-body, .banner-link:not(.pictogram-link), .news-text .more, .lp-text-link:not(.volunteeractivity-link) a").each(function(){var $this=$(this);var animation=lottieAnimations[$(this).find(".lottie").attr("data-lottieId")];if(!animation)return;$this.off("mouseenter mouseleave");if(!motionQuery.matches){$this.hover(function(){animation.stop();animation.play()},function(){})}})}setupHoverInteractions();motionQuery.addEventListener("change",function(){setupHoverInteractions()});function animateInViewport(){var inViewport=function(entries,observer){entries.forEach(function(entry){entry.target.classList.toggle("is-inViewport",entry.isIntersecting);$(".social .lottie").each(function(i){var animation=lottieAnimations[$(this).attr("data-lottieId")];if(!animation)return;animation.stop();setTimeout(function(){if(!motionQuery.matches)animation.play()},i*1e3)})})};var Obs=new IntersectionObserver(inViewport);var obsOptions={};var ELs_inViewport=document.querySelectorAll(".social");ELs_inViewport.forEach(function(EL){Obs.observe(EL,obsOptions)})}});
2//# sourceMappingURL=ik-lottie.min.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.