PageSourceSearch

https://caliberfitness.com/wp-content/cache/min/1/wp-content/theme…/lottie_animation.js?ver=1788312232

js caliberfitness.com collected 2026-10-04 13:27:38 UTC 3,048 bytes, 16 lines download raw bytes

1"use strict";var avia_js_shortcodes=avia_js_shortcodes||{};var aviaJS=aviaJS||{};(function(){if(!avia_js_shortcodes.aviaLottieAnimation){class scAviaLottieAnimation
2{container=null;id='';player=null;settings={};loaded=!1;started=!1;preview=!1;constructor(container){this.container=container;this.container.scAviaLottieAnimation=this;this.id=container.getAttribute('id');this.loaded=!1;this.started=!1;this.preview=document.getElementById('av-admin-preview')!=null;this.container.scAviaLottieAnimation=this;this.player=this.container.querySelector('dotlottie-player');this.settings=JSON.parse(this.player.dataset.av_lottie);this.initPlayer();this.container.onavia_start_animation=(e)=>{const opt={'bubbles':!0,'cancelable':!0};const event=new CustomEvent('avia_start_animation',opt);this.container.dispatchEvent(event)};this.container.addEventListener('avia_start_animation',this.avia_start_animation.bind(this));this.player.addEventListener('ready',this.lottie_animation_loaded.bind(this));const obj=this;setTimeout(function(){obj.prepareAnimation()})}
3initPlayer(){this.player.__speed=this.settings.speed!=''?this.settings.speed:1;this.player.__autoplay=!1;this.player.__loop=this.settings.loop=='';this.player.__hover=this.settings.hover!='';this.player.__direction=this.settings.direction!=''?-1:1;this.player.__mode=this.settings.mode!=''?'bounce':'normal';this.player.__controls=this.settings.controls!='';this.player.__background=this.settings.background=!''?this.settings.background:'transparent'}
4prepareAnimation(){if(this.container.classList.contains('avia_start_animation')){if(this.settings.autoplay!='no_autoplay'){this.settings.autoplay='start_loaded'}
5this.avia_start_animation()}else if(this.settings.autoplay=='start_loaded'||this.settings.lazy_loading==''||this.preview){this.load_animation()}}
6avia_start_animation(event){if(this.container.classList.contains('avia_animation_finished')){this.start()}
7if(this.preview){this.container.classList.add('avia_start_animation','avia_animation_finished')}
8if('undefined'!=typeof event){this.container.classList.add('avia_animation_finished','avia_start_delayed_animation')}
9if(this.loaded){this.start()}else{this.load_animation()}}
10load_animation(){if(this.loaded){return}
11this.player.load(this.settings.src)}
12start(){this.started=!0;this.container.classList.add('av-lottie-animation-started');this.player.play()}
13lottie_animation_loaded(event){this.loaded=!0;this.container.classList.add('av-lottie-animation-loaded');if(this.settings.autoplay=='no_autoplay'){return}
14if(this.settings.autoplay=='start_loaded'||this.preview||this.container.classList.contains('avia_start_delayed_animation')){this.start()}
15if(this.container.classList.contains('avia_start_animation')&&this.settings.lazy_loading!=''){this.start();this.container.classList.add('avia_start_delayed_animation')}}}
16avia_js_shortcodes.aviaLottieAnimation=function(container){return new scAviaLottieAnimation(container)};aviaJS.aviaPlugins.register(avia_js_shortcodes.aviaLottieAnimation,'.av-lottie-animation-container')}})()

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.