PageSourceSearch

https://www.descope.com/_next/static/chunks/3550.ab0ae7397b77bd80.js

js descope.com collected 2026-09-24 08:24:49 UTC 76,707 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3550],{15668:(t,e,i)=>{i.d(e,{a:()=>r});var n=i(75342);async function r(t,e){let[{DotLottieStateMachineManager:r}]=await Promise.all([i.e(8776).then(i.bind(i,78776))]);if(!t.length)throw(0,n.h)("No state machines available inside this .lottie!");return new r(t,e)}},35027:(t,e,i)=>{function n(){throw Error("Cycle detected")}function r(){if(s>1)s--;else{for(var t,e=!1;void 0!==a;){var i=a;for(a=void 0,l++;void 0!==i;){var n=i.o;if(i.o=void 0,i.f&=-3,!(8&i.f)&&c(i))try{i.c()}catch(i){e||(t=i,e=!0)}i=n}}if(l=0,s--,e)throw t}}i.d(e,{a:()=>b});var o=void 0,a=void 0,s=0,l=0,u=0;function h(t){if(void 0!==o){var e=t.n;if(void 0===e||e.t!==o)return e={i:0,S:t,p:o.s,n:void 0,t:o,e:void 0,x:void 0,r:e},void 0!==o.s&&(o.s.n=e),o.s=e,t.n=e,32&o.f&&t.S(e),e;if(-1===e.i)return e.i=0,void 0!==e.n&&(e.n.p=e.p,void 0!==e.p&&(e.p.n=e.n),e.p=o.s,e.n=void 0,o.s.n=e,o.s=e),e}}function d(t){this.v=t,this.i=0,this.n=void 0,this.t=void 0}function c(t){for(var e=t.s;void 0!==e;e=e.n)if(e.S.i!==e.i||!e.S.h()||e.S.i!==e.i)return!0;return!1}function f(t){for(var e=t.s;void 0!==e;e=e.n){var i=e.S.n;if(void 0!==i&&(e.r=i),e.S.n=e,e.i=-1,void 0===e.n){t.s=e;break}}}function p(t){for(var e=t.s,i=void 0;void 0!==e;){var n=e.p;-1===e.i?(e.S.U(e),void 0!==n&&(n.n=e.n),void 0!==e.n&&(e.n.p=n)):i=e,e.S.n=e.r,void 0!==e.r&&(e.r=void 0),e=n}t.s=i}function m(t){d.call(this,void 0),this.x=t,this.s=void 0,this.g=u-1,this.f=4}function v(t){var e=t.u;if(t.u=void 0,"function"==typeof e){s++;var i=o;o=void 0;try{e()}catch(e){throw t.f&=-2,t.f|=8,y(t),e}finally{o=i,r()}}}function y(t){for(var e=t.s;void 0!==e;e=e.n)e.S.U(e);t.x=void 0,t.s=void 0,v(t)}function _(t){if(o!==this)throw Error("Out-of-order effect");p(this),o=t,this.f&=-2,8&this.f&&y(this),r()}function g(t){this.x=t,this.u=void 0,this.s=void 0,this.o=void 0,this.f=32}d.prototype.h=function(){return!0},d.prototype.S=function(t){this.t!==t&&void 0===t.e&&(t.x=this.t,void 0!==this.t&&(this.t.e=t),this.t=t)},d.prototype.U=function(t){if(void 0!==this.t){var e=t.e,i=t.x;void 0!==e&&(e.x=i,t.e=void 0),void 0!==i&&(i.e=e,t.x=void 0),t===this.t&&(this.t=i)}},d.prototype.subscribe=function(t){var e=this,i=function(){var i=e.value,n=32&this.f;this.f&=-33;try{t(i)}finally{this.f|=n}},n=new g(i);try{n.c()}catch(t){throw n.d(),t}return n.d.bind(n)},d.prototype.valueOf=function(){return this.value},d.prototype.toString=function(){return this.value+""},d.prototype.toJSON=function(){return this.value},d.prototype.peek=function(){return this.v},Object.defineProperty(d.prototype,"value",{get:function(){var t=h(this);return void 0!==t&&(t.i=this.i),this.v},set:function(t){if(o instanceof m&&function(){throw Error("Computed cannot have side-effects")}(),t!==this.v){l>100&&n(),this.v=t,this.i++,u++,s++;try{for(var e=this.t;void 0!==e;e=e.x)e.t.N()}finally{r()}}}}),(m.prototype=new d).h=function(){if(this.f&=-3,1&this.f)return!1;if((36&this.f)==32||(this.f&=-5,this.g===u))return!0;if(this.g=u,this.f|=1,this.i>0&&!c(this))return this.f&=-2,!0;var t=o;try{f(this),o=this;var e=this.x();(16&this.f||this.v!==e||0===this.i)&&(this.v=e,this.f&=-17,this.i++)}catch(t){this.v=t,this.f|=16,this.i++}return o=t,p(this),this.f&=-2,!0},m.prototype.S=function(t){if(void 0===this.t){this.f|=36;for(var e=this.s;void 0!==e;e=e.n)e.S.S(e)}d.prototype.S.call(this,t)},m.prototype.U=function(t){if(void 0!==this.t&&(d.prototype.U.call(this,t),void 0===this.t)){this.f&=-33;for(var e=this.s;void 0!==e;e=e.n)e.S.U(e)}},m.prototype.N=function(){if(!(2&this.f)){this.f|=6;for(var t=this.t;void 0!==t;t=t.x)t.t.N()}},m.prototype.peek=function(){if(this.h()||n(),16&this.f)throw this.v;return this.v},Object.defineProperty(m.prototype,"value",{get:function(){1&this.f&&n();var t=h(this);if(this.h(),void 0!==t&&(t.i=this.i),16&this.f)throw this.v;return this.v}}),g.prototype.c=function(){var t=this.S();try{if(8&this.f||void 0===this.x)return;var e=this.x();"function"==typeof e&&(this.u=e)}finally{t()}},g.prototype.S=function(){1&this.f&&n(),this.f|=1,this.f&=-9,v(this),f(this),s++;var t=o;return o=this,_.bind(this,t)},g.prototype.N=function(){2&this.f||(this.f|=2,this.o=a,a=this)},g.prototype.d=function(){this.f|=8,1&this.f||y(this)};var b=class{_state;_prevState;constructor(t){this._prevState=t,this._state=function(t){return new d(t)}(t)}setState(t){this._prevState=this._state.value,this._state.value=t}subscribe(t){return this._state.subscribe(e=>t(e,this._prevState))}}},36684:(t,e,i)=>{let n,r,o;i.d(e,{a:()=>d,b:()=>c,c:()=>f,d:()=>p,e:()=>m,f:()=>v});var a=i(53631),s=i(15668),l=i(35027),u=i(75342),h="^5.12.2",d=((n=d||{}).Complete="complete",n.DataFail="data_fail",n.DataReady="data_ready",n.Error="error",n.Frame="frame",n.Freeze="freeze",n.LoopComplete="loopComplete",n.Pause="pause",n.Play="play",n.Ready="ready",n.Stop="stop",n.VisibilityChange="visibilityChange",n),c=((r=c||{}).Completed="completed",r.Error="error",r.Fetching="fetching",r.Frozen="frozen",r.Initial="initial",r.Loading="loading",r.Paused="paused",r.Playing="playing",r.Ready="ready",r.Stopped="stopped",r),f=((o=f||{}
1).Bounce="bounce",o.Normal="normal",o),p={autoplay:!1,direction:1,hover:!1,intermission:0,loop:!1,playMode:"normal",speed:1,defaultTheme:""},m={activeStateId:"",autoplay:!1,currentState:"initial",frame:0,seeker:0,direction:1,hover:!1,loop:!1,playMode:"normal",speed:1,background:"transparent",intermission:0,currentAnimationId:void 0,visibilityPercentage:0},v=class{_lottie;_src;_animationConfig;_prevUserPlaybackOptions={};_userPlaybackOptions;_hover=!1;_loop=!1;_counter=0;_intermission=0;_counterInterval=null;_container=null;_name;_mode="normal";_background="transparent";_animation;_defaultTheme;_activeAnimationId;_currentAnimationId;_testId;_listeners=new Map;_currentState="initial";_stateBeforeFreeze="initial";state=new l.a(m);_light=!1;_worker=!1;_dotLottieLoader=new a.a;_activeStateId;_inInteractiveMode=!1;_scrollTicking=!1;_scrollCallback=void 0;_onShowIntersectionObserver=void 0;_visibilityPercentage=0;_audios=[];_stateMachineManager;constructor(t,e,i){"string"==typeof t?this._src=t:this._src=(0,u.p)(t),null!=i&&i.testId&&(this._testId=i.testId),this._defaultTheme=(null==i?void 0:i.defaultTheme)||"",this._userPlaybackOptions=this._validatePlaybackOptions(i||{}),"string"==typeof(null==i?void 0:i.activeAnimationId)&&(this._activeAnimationId=i.activeAnimationId),this._container=e||null,"string"==typeof(null==i?void 0:i.background)&&this.setBackground(i.background),"u">typeof(null==i?void 0:i.activeStateId)&&(this._activeStateId=i.activeStateId);let{rendererSettings:n,...r}=i||{};this._animationConfig={loop:!1,autoplay:!1,renderer:"svg",rendererSettings:{clearCanvas:!0,progressiveLoad:!0,hideOnTransparent:!0,filterSize:{width:"200%",height:"200%",x:"-50%",y:"-50%"},...n},...r},null!=i&&i.light&&(this._light=i.light),null!=i&&i.worker&&(this._worker=i.worker),this._listenToHover(),this._listenToVisibilityChange()}_listenToHover(){var t,e,i,n;let r=()=>{this._hover&&"playing"!==this.currentState&&this.play()},o=()=>{this._hover&&"playing"===this.currentState&&this.stop()};null==(t=this._container)||t.removeEventListener("mouseenter",r),null==(e=this._container)||e.removeEventListener("mouseleave",o),null==(i=this._container)||i.addEventListener("mouseleave",o),null==(n=this._container)||n.addEventListener("mouseenter",r)}_onVisibilityChange(){!this._lottie||typeof document>"u"||(document.hidden&&"playing"===this.currentState?this.freeze():"frozen"===this.currentState&&this.unfreeze())}_listenToVisibilityChange(){"u">typeof document&&"u">typeof document.hidden&&document.addEventListener("visibilitychange",()=>this._onVisibilityChange())}_getOption(t){var e;if("u">typeof this._userPlaybackOptions[t])return this._userPlaybackOptions[t];let i=null==(e=this._dotLottieLoader.manifest)?void 0:e.animations.find(t=>t.id===this._currentAnimationId);return i&&"u">typeof i[t]?i[t]:p[t]}_getPlaybackOptions(){let t={};for(let e in p)"u">typeof p[e]&&(t[e]=this._getOption(e));return t}_setPlayerState(t){var e,i,n;let r=t(this._getPlaybackOptions());try{u.a._parse(r)}catch{(0,u.j)(`Invalid PlaybackOptions, ${JSON.stringify(r,null,2)}`);return}"u">typeof r.defaultTheme&&(this._defaultTheme=r.defaultTheme),"u">typeof r.playMode&&(this._mode=r.playMode),"u">typeof r.intermission&&(this._intermission=r.intermission),"u">typeof r.hover&&(this._hover=r.hover),"u">typeof r.loop&&(this.clearCountTimer(),this._loop=r.loop,this._counter=0,null==(e=this._lottie)||e.setLoop("number"==typeof r.loop||r.loop)),"u">typeof r.speed&&(null==(i=this._lottie)||i.setSpeed(r.speed)),"u">typeof r.autoplay&&this._lottie&&(this._lottie.autoplay=r.autoplay),"u">typeof r.direction&&(null==(n=this._lottie)||n.setDirection(r.direction))}_getOptionsFromAnimation(t){let{id:e,...i}=t;return{...p,...i}}_updateTestData(){this._testId&&this._lottie&&(window.dotLottiePlayer||(window.dotLottiePlayer={[this._testId]:{}}),window.dotLottiePlayer[this._testId]={direction:this._lottie.playDirection,currentState:this._currentState,loop:this.loop,mode:this._mode,speed:this._lottie.playSpeed})}setContainer(t){t!==this._container&&(this._container=t,this.setBackground(this._background),this._listenToHover())}get currentState(){return this._currentState}clearCountTimer(){this._counterInterval&&clearInterval(this._counterInterval)}setCurrentState(t){this._currentState=t,this._notify(),this._updateTestData()}static isPathJSON(t){var e;return(null==(e=t.split(".").pop())?void 0:e.toLowerCase())==="json"}get src(){return this._src}updateSrc(t){this._src!==t&&("string"==typeof t?this._src=t:this._src=(0,u.p)(t),this._activeAnimationId=void 0,this._currentAnimationId=void 0,this.load())}get intermission(){return this._intermission}get hover(){return this._hover}setHover(t){"boolean"==typeof t&&(this._hover=t,this._userPlaybackOptions.hover=t,this._notify())}setIntermission(t){this._intermission=t,this._userPlaybackOptions.intermission=t,this._notify()}get mode(){return this._mode}get animations(){return this._dotLottieLoader.animationsMap}get themes(){return this._dotLottieLoader.themeMap}setMode(t){"string"==typeof t&&(this._mode=t,this._userPlaybackOptions.playMode=t,this._setPlayerState(()=>({playMode:t})),this._notify(),this._updateTestData())}get container(){if(this._container)return this._container}
1goToAndPlay(t,e,i){!this._lottie||["loading"].includes(this._currentState)?(0,u.j)("goToAndPlay() Can't use whilst loading."):(this._lottie.goToAndPlay(t,e,i),this.setCurrentState("playing"))}goToAndStop(t,e,i){!this._lottie||["loading"].includes(this._currentState)?(0,u.j)("goToAndStop() Can't use whilst loading."):(this._lottie.goToAndStop(t,e,i),this.setCurrentState("stopped"))}seek(t){if(!this._lottie||["loading"].includes(this._currentState))return void(0,u.j)("seek() Can't use whilst loading.");let e=t;"number"==typeof e&&(e=Math.round(e));let i=/^(\d+)(%?)$/u.exec(e.toString());if(!i)return;let n="%"===i[2]?this.totalFrames*Number(i[1])/100:i[1];void 0!==n&&(this._lottie.goToAndPlay(n,!0),"playing"===this.currentState?this.play():"frozen"===this.currentState?this.freeze():this.pause())}_areNumbersInRange(t,e){return t>=0&&t<=1&&e>=0&&e<=1}_updatePosition(t,e,i){let[n,r]=null!=t?t:[0,this.totalFrames-1],[o,a]=null!=e?e:[0,1];if(!this._areNumbersInRange(o,a))return void(0,u.i)("threshold values must be between 0 and 1");if(this.container){let{height:t,top:e}=this.container.getBoundingClientRect(),s=(window.innerHeight-e)/(window.innerHeight+t),l=n+Math.round((s-o)/(a-o)*(r-n));i&&i(s),this.goToAndStop(l,!0),(l>=r||s>=a)&&this._handleAnimationComplete()}this._scrollTicking=!1}_requestTick(t,e,i){this._scrollTicking||(requestAnimationFrame(()=>this._updatePosition(t,e,i)),this._scrollTicking=!0)}playOnScroll(t){this.stop(),this._scrollCallback&&this.stopPlayOnScroll(),this._scrollCallback=()=>this._requestTick(null==t?void 0:t.segments,null==t?void 0:t.threshold,null==t?void 0:t.positionCallback),window.addEventListener("scroll",this._scrollCallback)}stopPlayOnScroll(){this._scrollCallback&&(window.removeEventListener("scroll",this._scrollCallback),this._scrollCallback=void 0)}stopPlayOnShow(){this._onShowIntersectionObserver&&(this._onShowIntersectionObserver.disconnect(),this._onShowIntersectionObserver=void 0)}addIntersectionObserver(t){if(!this.container)throw(0,u.h)("Can't play on show, player container element not available.");let e={root:null,rootMargin:"0px",threshold:null!=t&&t.threshold?t.threshold:[0,1]},i=e=>{e.forEach(e=>{var i,n;this._visibilityPercentage=100*e.intersectionRatio,e.isIntersecting?(null!=t&&t.callbackOnIntersect&&t.callbackOnIntersect(this._visibilityPercentage),null==(i=this._container)||i.dispatchEvent(new Event("visibilityChange"))):null!=t&&t.callbackOnIntersect&&(t.callbackOnIntersect(0),null==(n=this._container)||n.dispatchEvent(new Event("visibilityChange")))})};this._onShowIntersectionObserver=new IntersectionObserver(i,e),this._onShowIntersectionObserver.observe(this.container)}playOnShow(t){var e;if(this.stop(),!this.container)throw(0,u.h)("Can't play on show, player container element not available.");this._onShowIntersectionObserver&&this.stopPlayOnShow(),this.addIntersectionObserver({threshold:null!=(e=null==t?void 0:t.threshold)?e:[],callbackOnIntersect:t=>{0===t?this.pause():this.play()}})}_validatePlaybackOptions(t){if(!t)return{};let e={};for(let[i,n]of Object.entries(t))switch(i){case"autoplay":"boolean"==typeof n&&(e.autoplay=n);break;case"direction":"number"==typeof n&&[1,-1].includes(n)&&(e.direction=n);break;case"loop":("boolean"==typeof n||"number"==typeof n)&&(e.loop=n);break;case"playMode":"string"==typeof n&&["normal","bounce"].includes(n)&&(e.playMode=n);break;case"speed":"number"==typeof n&&(e.speed=n);break;case"themeColor":"string"==typeof n&&(e.themeColor=n);break;case"hover":"boolean"==typeof n&&(e.hover=n);break;case"intermission":"number"==typeof n&&(e.intermission=n);break;case"defaultTheme":"string"==typeof n&&(e.defaultTheme=n)}return this._requireValidPlaybackOptions(e),e}_requireAnimationsInTheManifest(){var t;if(!(null!=(t=this._dotLottieLoader.manifest)&&t.animations.length))throw(0,u.h)("No animations found in manifest.")}_requireAnimationsToBeLoaded(){if(0===this._dotLottieLoader.animationsMap.size)throw(0,u.h)("No animations have been loaded.")}async play(t,e){var i,n;if(["initial","loading"].includes(this._currentState))return void(0,u.j)("Player unable to play whilst loading.");if(this._requireAnimationsInTheManifest(),this._requireAnimationsToBeLoaded(),this._lottie&&!t){-1===this._lottie.playDirection&&0===this._lottie.currentFrame?this._lottie.goToAndPlay(this._lottie.totalFrames,!0):this._lottie.play(),this.setCurrentState("playing");return}if("number"==typeof t){let n=null==(i=this._dotLottieLoader.manifest)?void 0:i.animations[t];if(!n)throw(0,u.h)("animation not found.");"function"==typeof e?await this.render({id:n.id,...e(this._getPlaybackOptions(),this._getOptionsFromAnimation(n))}):await this.render({id:n.id})}if("string"==typeof t){let i=null==(n=this._dotLottieLoader.manifest)?void 0:n.animations.find(e=>e.id===t);if(!i)throw(0,u.h)("animation not found.");"function"==typeof e?await this.render({id:i.id,...e(this._getPlaybackOptions(),this._getOptionsFromAnimation(i))}):await this.render({id:i.id})}}playSegments(t,e){!this._lottie||["loading"].includes(this._currentState)?(0,u.j)("playSegments() Can't use whilst loading."):(this._lottie.playSegments(t,e),this.setCurrentState("playing"))}resetSegments(t){!this._lottie||["loading"].includes(this._currentState)?(0,u.j)("resetSegments() Can't use whilst loading."):this._lottie.resetSegments(t)}togglePlay(){"playing"===this.currentState?this.pause():this.play()}_getAnimationByIdOrIndex(t){var e,i;if(this._requireAnimationsInTheManifest(),this._requireAnimationsToBeLoaded(),"number"==typeof t){let i=null==(e=this._dotLottieLoader.manifest)?void 0:e.animations[t];if(!i)throw(0,u.h)("animation not found.");return i}if("string"==typeof t){let e=null==(i=this._dotLottieLoader.manifest)?void 0:i.animations.find(e=>e.id===t);if(!e)throw(0,u.h)("animation not found.");return e}throw(0,u.h)("first param must be a number or string")}get activeAnimationId(){return this._getActiveAnimationId()}get currentAnimationId(){return this._currentAnimationId}get activeStateId(){return this._activeStateId}async _startInteractivity(t){if(!this._inInteractiveMode)return void(0,u.i)("Can't start interactivity. Not in interactive mode. Call enterInteractiveMode(stateId: string) to start.");if(0===this._dotLottieLoader.stateMachinesMap.size&&await this._dotLottieLoader.getStateMachines(),0===this._dotLottieLoader.stateMachinesMap.size)throw(0,u.h)("No interactivity states are available.");if("undefined"===t)throw(0,u.h)("stateId is not specified.");this._stateMachineManager||(this._stateMachineManager=await (0,s.a)(Array.from(this._dotLottieLoader.stateMachinesMap.values()),this)),this._stateMachineManager.start(t)}enterInteractiveMode(t){var e;if(t)this._inInteractiveMode||(this._prevUserPlaybackOptions={...this._userPlaybackOptions}),this._inInteractiveMode&&(null==(e=this._stateMachineManager)||e.stop()),this._activeStateId=t,this._inInteractiveMode=!0,this._startInteractivity(t);else throw(0,u.h)("stateId must be a non-empty string.")}exitInteractiveMode(){var t;this._inInteractiveMode&&(this._inInteractiveMode=!1,this._activeStateId="",null==(t=this._stateMachineManager)||t.stop(),this._userPlaybackOptions={},this._userPlaybackOptions={...this._prevUserPlaybackOptions},this._prevUserPlaybackOptions={},this.reset())}reset(){var t;let e=this._getActiveAnimationId(),i=null==(t=this._dotLottieLoader.manifest)?void 0:t.animations.find(t=>
1t.id===e);if(this._inInteractiveMode&&this.exitInteractiveMode(),!i)throw(0,u.h)("animation not found.");this.play(e)}previous(t){if(!this._dotLottieLoader.manifest||!this._dotLottieLoader.manifest.animations.length)throw(0,u.h)("manifest not found.");if(this._inInteractiveMode)return void(0,u.j)("previous() is not supported in interactive mode.");let e=this._dotLottieLoader.manifest.animations.findIndex(t=>t.id===this._currentAnimationId);if(-1===e)throw(0,u.h)("animation not found.");let i=this._dotLottieLoader.manifest.animations[(e-1+this._dotLottieLoader.manifest.animations.length)%this._dotLottieLoader.manifest.animations.length];if(!i||!i.id)throw(0,u.h)("animation not found.");"function"==typeof t?this.render({id:i.id,...t(this._getPlaybackOptions(),this._getOptionsFromAnimation(i))}):this.render({id:i.id})}next(t){if(!this._dotLottieLoader.manifest||!this._dotLottieLoader.manifest.animations.length)throw(0,u.h)("manifest not found.");if(this._inInteractiveMode)return void(0,u.j)("next() is not supported in interactive mode.");let e=this._dotLottieLoader.manifest.animations.findIndex(t=>t.id===this._currentAnimationId);if(-1===e)throw(0,u.h)("animation not found.");let i=this._dotLottieLoader.manifest.animations[(e+1)%this._dotLottieLoader.manifest.animations.length];if(!i||!i.id)throw(0,u.h)("animation not found.");"function"==typeof t?this.render({id:i.id,...t(this._getPlaybackOptions(),this._getOptionsFromAnimation(i))}):this.render({id:i.id})}getManifest(){return this._dotLottieLoader.manifest}resize(){!this._lottie||["loading"].includes(this._currentState)?(0,u.j)("resize() Can't use whilst loading."):this._lottie.resize()}stop(){!this._lottie||["loading"].includes(this._currentState)?(0,u.j)("stop() Can't use whilst loading."):(this.clearCountTimer(),this._counter=0,this._setPlayerState(()=>({direction:this._getOption("direction")})),this._lottie.stop(),this.setCurrentState("stopped"))}pause(){!this._lottie||["loading"].includes(this._currentState)?(0,u.j)("pause() Can't use whilst loading."):(this.clearCountTimer(),this._lottie.pause(),this.setCurrentState("paused"))}freeze(){!this._lottie||["loading"].includes(this._currentState)?(0,u.j)("freeze() Can't use whilst loading."):("frozen"!==this.currentState&&(this._stateBeforeFreeze=this.currentState),this._lottie.pause(),this.setCurrentState("frozen"))}unfreeze(){!this._lottie||["loading"].includes(this._currentState)?(0,u.j)("unfreeze() Can't use whilst loading."):"playing"===this._stateBeforeFreeze?this.play():this.pause()}destroy(){var t,e;null!=(t=this._container)&&t.__lottie&&(this._container.__lottie.destroy(),this._container.__lottie=null),this._audios.length&&(this._audios.forEach(t=>{t.unload()}),this._audios=[]),this.clearCountTimer(),"u">typeof document&&document.removeEventListener("visibilitychange",()=>this._onVisibilityChange()),this._counter=0,null==(e=this._lottie)||e.destroy(),this._lottie=void 0}getAnimationInstance(){return this._lottie}static getLottieWebVersion(){return`${h}`}addEventListener(t,e){var i,n,r;this._listeners.has(t)||this._listeners.set(t,new Set),null==(i=this._listeners.get(t))||i.add(e);try{"complete"===t?null==(n=this._container)||n.addEventListener(t,e):null==(r=this._lottie)||r.addEventListener(t,e)}catch(t){(0,u.i)(`addEventListener ${t}`)}}getState(){var t,e,i,n,r,o,a;return{autoplay:null!=(e=null==(t=this._lottie)?void 0:t.autoplay)&&e,currentState:this._currentState,frame:this._frame,visibilityPercentage:this._visibilityPercentage,seeker:this._seeker,direction:null!=(n=null==(i=this._lottie)?void 0:i.playDirection)?n:1,hover:this._hover,loop:this._loop||!1,playMode:this._mode,speed:null!=(o=null==(r=this._lottie)?void 0:r.playSpeed)?o:1,background:this._background,intermission:this._intermission,defaultTheme:this._defaultTheme,currentAnimationId:this._currentAnimationId,activeStateId:null!=(a=this._activeStateId)?a:""}}_notify(){this.state.setState(this.getState())}get totalFrames(){var t;return(null==(t=this._lottie)?void 0:t.totalFrames)||0}get direction(){return this._lottie?this._lottie.playDirection:1}setDirection(t){this._requireValidDirection(t),this._setPlayerState(()=>({direction:t})),this._userPlaybackOptions.direction=t}get speed(){var t;return(null==(t=this._lottie)?void 0:t.playSpeed)||1}setSpeed(t){this._requireValidSpeed(t),this._setPlayerState(()=>({speed:t})),this._userPlaybackOptions.speed=t}get autoplay(){var t,e;return null!=(e=null==(t=this._lottie)?void 0:t.autoplay)&&e}setAutoplay(t){(this._requireValidAutoplay(t),!this._lottie||["loading"].includes(this._currentState))?(0,u.j)("setAutoplay() Can't use whilst loading."):(this._setPlayerState(()=>({autoplay:t})),this._userPlaybackOptions.autoplay=t)}toggleAutoplay(){!this._lottie||["loading"].includes(this._currentState)?(0,u.j)("toggleAutoplay() Can't use whilst loading."):this.setAutoplay(!this._lottie.autoplay)}get defaultTheme(){return this._defaultTheme}setDefaultTheme(t){this._setPlayerState(()=>({defaultTheme:t})),this._userPlaybackOptions.defaultTheme=t,this._animation&&this.render()}get loop(){return this._loop}setLoop(t){this._requireValidLoop(t),this._setPlayerState(()=>({loop:t})),this._userPlaybackOptions.loop=t}toggleLoop(){!this._lottie||["loading"].includes(this._currentState)?(0,u.j)("toggleLoop() Can't use whilst loading."):this.setLoop(!this._loop)}get background(){return this._background}
1setBackground(t){this._requireValidBackground(t),this._background=t,this._container&&(this._container.style.backgroundColor=t)}get _frame(){return this._lottie?"completed"===this.currentState?-1===this.direction?0:this._lottie.totalFrames:this._lottie.currentFrame:0}get _seeker(){return this._lottie?this._frame/this._lottie.totalFrames*100:0}async revertToManifestValues(t){var e;let i;i=Array.isArray(t)&&0!==t.length?t:["autoplay","defaultTheme","direction","hover","intermission","loop","playMode","speed","activeAnimationId"];let n=!1;if(i.includes("activeAnimationId")){let t=null==(e=this._dotLottieLoader.manifest)?void 0:e.activeAnimationId,i=this._getAnimationByIdOrIndex(t||0);this._activeAnimationId=t,await this._setCurrentAnimation(i.id),n=!0}i.forEach(t=>{switch(t){case"autoplay":delete this._userPlaybackOptions.autoplay,this.setAutoplay(this._getOption("autoplay"));break;case"defaultTheme":delete this._userPlaybackOptions.defaultTheme,this.setDefaultTheme(this._getOption("defaultTheme"));break;case"direction":delete this._userPlaybackOptions.direction,this.setDirection(this._getOption("direction"));break;case"hover":delete this._userPlaybackOptions.hover,this.setHover(this._getOption("hover"));break;case"intermission":delete this._userPlaybackOptions.intermission,this.setIntermission(this._getOption("intermission"));break;case"loop":delete this._userPlaybackOptions.loop,this.setLoop(this._getOption("loop"));break;case"playMode":delete this._userPlaybackOptions.playMode,this.setMode(this._getOption("playMode")),this.setDirection(this._getOption("direction"));break;case"speed":delete this._userPlaybackOptions.speed,this.setSpeed(this._getOption("speed"))}}),n&&this.render()}removeEventListener(t,e){var i,n,r;try{"complete"===t?null==(i=this._container)||i.removeEventListener(t,e):null==(n=this._lottie)||n.removeEventListener(t,e),null==(r=this._listeners.get(t))||r.delete(e)}catch(t){(0,u.i)("removeEventListener",t)}}_handleAnimationComplete(){var t;"number"==typeof this._loop&&this.stop();let e=-1===this.direction?0:this.totalFrames-1;this.goToAndStop(e,!0),this._counter=0,this.clearCountTimer(),this.setCurrentState("completed"),null==(t=this._container)||t.dispatchEvent(new Event("complete"))}addEventListeners(){var t;if(!this._lottie||["loading"].includes(this._currentState))return void(0,u.j)("addEventListeners() Can't use whilst loading.");for(let[e,i]of(this._lottie.addEventListener("enterFrame",()=>{var t;this._lottie?(0===Math.floor(this._lottie.currentFrame)&&-1===this.direction&&(null==(t=this._container)||t.dispatchEvent(new Event("complete")),this.loop||this.setCurrentState("completed")),this._notify()):(0,u.j)("enterFrame event : Lottie is undefined.")}),this._lottie.addEventListener("loopComplete",()=>{var t;if(!this._lottie)return void(0,u.j)("loopComplete event : Lottie is undefined.");null==(t=this._container)||t.dispatchEvent(new Event("loopComplete")),this.intermission>0&&this.pause();let e=this._lottie.playDirection;if("number"==typeof this._loop&&this._loop>0&&(this._counter+="bounce"===this._mode?.5:1,this._counter>=this._loop))return void this._handleAnimationComplete();"bounce"===this._mode&&"number"==typeof e&&(e=-1*Number(e));let i=-1===e?this._lottie.totalFrames-1:0;this.intermission?(this.goToAndPlay(i,!0),this.pause(),this._counterInterval=window.setTimeout(()=>{this._lottie&&(this._setPlayerState(()=>({direction:e})),this.goToAndPlay(i,!0))},this._intermission)):(this._setPlayerState(()=>({direction:e})),this.goToAndPlay(-1===e?this.totalFrames-1:0,!0))}),this._lottie.addEventListener("complete",()=>{if(this._lottie&&!1===this._loop&&"bounce"===this._mode){if(this._counter+=.5,this._counter>=1)return void this._handleAnimationComplete();this._counterInterval=window.setTimeout(()=>{if(!this._lottie)return;let t=this._lottie.playDirection;"bounce"===this._mode&&"number"==typeof t&&(t=-1*Number(t));let e=-1===t?this.totalFrames-1:0;this._setPlayerState(()=>({direction:t})),this.goToAndPlay(e,!0)},this._intermission)}else this._handleAnimationComplete()}),this._listeners))if("complete"===e)for(let n of i)null==(t=this._container)||t.addEventListener(e,n);else for(let t of i)this._lottie.addEventListener(e,t)}async _setCurrentAnimation(t){this._currentState="loading";let e=await this._dotLottieLoader.getAnimation(t);this._currentAnimationId=t,this._animation=e,this._currentState="ready"}async _getAudioFactory(){if(this._animation&&(0,u.m)(this._animation)){let{DotLottieAudio:t}=await i.e(7201).then(i.bind(i,57201));return e=>{let i=new t({src:[e]});return this._audios.push(i),i}}return null}async render(t){var e,i,n,r,o,a,s,l,h,d,c,f,m,v,y,_,g,b;if(null!=t&&t.id)await this._setCurrentAnimation(t.id);else if(!this._animation)throw(0,u.h)("no animation selected");let w=null!=(e=p.loop)&&e,C=null!=(i=p.autoplay)&&i,L=null!=(n=p.playMode)?n:"normal",S=null!=(r=p.intermission)?r:0,k=null!=(o=p.hover)&&o,E=null!=(a=p.direction)?a:1,M=null!=(s=p.speed)?s:1,I=null!=(l=p.defaultTheme)?l:"";w=null!=(h=null==t?void 0:t.loop)?h:this._getOption("loop"),C=null!=(d=null==t?void 0:t.autoplay)?d:this._getOption("autoplay"),L=null!=(c=null==t?void 0:t.playMode)?c:this._getOption("playMode"),S=null!=(f=null==t?void 0:t.intermission)?f:this._getOption("intermission"),k=null!=(m=null==t?void 0:t.hover)?m:this._getOption("hover"),E=null!=(v=null==t?void 0:t.direction)?v:this._getOption("direction"),M=null!=(y=null==t?void 0:t.speed)?y:this._getOption("speed"),I=null!=(_=null==t?void 0:t.defaultTheme)?_:this._getOption("defaultTheme");let O={...this._animationConfig,autoplay:!k&&C,loop:"number"==typeof w||w,renderer:this._worker?"svg":null!=(g=this._animationConfig.renderer)?g:"svg"},[A,P,T]=await Promise.all([this._dotLottieLoader.getTheme(I),this._getLottiePlayerInstance(),this._getAudioFactory()]);(A&&this._animation?(this._animation=(0,u.p)(this._animation),this._animation.slots=A):this._animation=await this._dotLottieLoader.getAnimation(null!=(b=this._currentAnimationId)?b:""),this._activeStateId&&!this._inInteractiveMode)?this.enterInteractiveMode(this._activeStateId):(this.destroy(),this._setPlayerState(()=>({defaultTheme:I,playMode:L,intermission:S,hover:k,loop:w})),T?this._lottie=P.loadAnimation({...O,container:this._container,animationData:this._animation,audioFactory:T}):this._lottie=P.loadAnimation({...O,container:this._container,animationData:this._animation}),typeof this._lottie.resetSegments>"u"&&(this._lottie.resetSegments=()=>{var t;null==(t=this._lottie)||t.playSegments([0,this._lottie.totalFrames],!0)}),this.addEventListeners(),this._container&&(this._container.__lottie=this._lottie),this._setPlayerState(()=>({direction:E,speed:M})),C&&!k&&(!1===w&&-1===E?this.play():this.setCurrentState("playing")),this._updateTestData())}async _getLottiePlayerInstance(){var t;let e=null!=(t=this._animationConfig.renderer)?t:"svg",n;if(this._worker)return"svg"!==e&&(0,u.j)("Worker is only supported with svg renderer. Change or remove renderer prop to get rid of this warning."),(n=await i.e(5068).then(i.bind(i,21961))).default;switch(e){case"svg":n=this._light?await i.e(7621).then(i.bind(i,42630)):await i.e(4206).then(i.bind(i,41933));break;case"canvas":n=this._light?await i.e(9939).then(i.bind(i,7767)):await i.e(7327).then(i.bind(i,27396));break;case"html":n=this._light?await i.e(4558).then(i.bind(i,84383)):await i.e(7919).then(i.bind(i,61887));break;default:throw Error(`Invalid renderer: ${e}`)}return n.default}_getActiveAnimationId(){var t,e,i,n;let r=this._dotLottieLoader.manifest;return null!=(n=null!=(i=null!=(t=this._activeAnimationId)?t:null==r?void 0:r.activeAnimationId)?i:null==(e=null==r?void 0:r.animations[0])?void 0:e.id)?n:void 0}async load(t){if("loading"===this._currentState)return void(0,u.j)("Loading in progress..");try{if(this.setCurrentState("loading"),"string"==typeof this._src)if((0,u.n)(this._src)){let t=JSON.parse(this._src);this._dotLottieLoader.loadFromLottieJSON(t)}else{let t=new URL(this._src,window.location.href);await this._dotLottieLoader.loadFromUrl(t.toString())}else if("object"==typeof this._src&&(0,u.l)(this._src))this._dotLottieLoader.loadFromLottieJSON(this._src);else throw(0,u.h)("Invalid src provided");
1if(!this._dotLottieLoader.manifest)throw(0,u.h)("No manifest found");let e=this._getActiveAnimationId();if(!e)throw(0,u.h)("No active animation found");await this._setCurrentAnimation(e),await this.render(t)}catch(t){this.setCurrentState("error"),t instanceof Error&&(0,u.i)(`Error loading animation: ${t.message}`)}}setErrorState(t){this.setCurrentState("error"),(0,u.i)(t)}_requireValidDirection(t){if(-1!==t&&1!==t)throw(0,u.h)("Direction can only be -1 (backwards) or 1 (forwards)")}_requireValidIntermission(t){if(t<0||!Number.isInteger(t))throw(0,u.h)("intermission must be a positive number")}_requireValidLoop(t){if("number"==typeof t&&(!Number.isInteger(t)||t<0))throw(0,u.h)("loop must be a positive number or boolean")}_requireValidSpeed(t){if("number"!=typeof t)throw(0,u.h)("speed must be a number")}_requireValidBackground(t){if("string"!=typeof t)throw(0,u.h)("background must be a string")}_requireValidAutoplay(t){if("boolean"!=typeof t)throw(0,u.h)("autoplay must be a boolean")}_requireValidPlaybackOptions(t){t.direction&&this._requireValidDirection(t.direction),t.intermission&&this._requireValidIntermission(t.intermission),t.loop&&this._requireValidLoop(t.loop),t.speed&&this._requireValidSpeed(t.speed)}}},53631:(t,e,i)=>{i.d(e,{a:()=>r});var n=i(75342),r=class{_dotLottie;_animationsMap=new Map;_themeMap=new Map;_stateMachinesMap=new Map;_manifest;get dotLottie(){return this._dotLottie}get animationsMap(){return this._animationsMap}get themeMap(){return this._themeMap}get stateMachinesMap(){return this._stateMachinesMap}get manifest(){return this._manifest}async loadFromUrl(t){let e=await fetch(t,{method:"GET",mode:"cors"});if(!e.ok)throw Error(`Failed to load dotLottie from ${t} with status ${e.status}`);let i=e.headers.get("content-type");if(null!=i&&i.includes("application/json")){let i=await e.json();if(!(0,n.l)(i))throw Error(`Invalid lottie JSON at ${t}`);let r=(0,n.k)(t);this._animationsMap.set(r,i),this._manifest={activeAnimationId:r,animations:[{id:r}]}}else{this._dotLottie=await (0,n.c)(await e.arrayBuffer());let t=await (0,n.b)(this._dotLottie);if(!t)throw Error("Manifest not found");this._manifest=t}}loadFromLottieJSON(t){if(!(0,n.l)(t))throw Error("Invalid lottie JSON");let e="my-animation";this._animationsMap.set(e,t),this._manifest={activeAnimationId:e,animations:[{id:e}]}}async loadFromArrayBuffer(t){this._dotLottie=await (0,n.c)(t);let e=await (0,n.b)(this._dotLottie);if(!e)throw Error("Manifest not found");this._manifest=e}async getAnimation(t){if(this._animationsMap.get(t))return this._animationsMap.get(t);if(!this._dotLottie)return;let e=await (0,n.d)(this._dotLottie,t,{inlineAssets:!0});return e&&this._animationsMap.set(t,e),e}async getTheme(t){if(this._themeMap.get(t))return this._themeMap.get(t);if(!this._dotLottie)return;let e=await (0,n.e)(this._dotLottie,t);return e&&this._themeMap.set(t,e),e}async getStateMachines(){if(!this._dotLottie)return;let t=await (0,n.f)(this._dotLottie);for(let e in t)if(e){let i=t[e];if(i){let t=JSON.parse(i);if(t){let e=t.descriptor.id;this._stateMachinesMap.get(e)||this._stateMachinesMap.set(e,t)}}}return Array.from(this._stateMachinesMap.values())}async getStateMachine(t){if(this._stateMachinesMap.get(t))return this._stateMachinesMap.get(t);if(!this._dotLottie)return;let e=await (0,n.g)(this._dotLottie,t);return e&&this._stateMachinesMap.set(e.descriptor.id,e),e}}},55962:(t,e,i)=>{i.d(e,{a:()=>u,b:()=>h});var n=Object.create,r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,s=Object.getPrototypeOf,l=Object.prototype.hasOwnProperty,u=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),h=(t,e,i)=>(i=null!=t?n(s(t)):{},((t,e,i,n)=>{if(e&&"object"==typeof e||"function"==typeof e)for(let s of a(e))l.call(t,s)||s===i||r(t,s,{get:()=>e[s],enumerable:!(n=o(e,s))||n.enumerable});return t})(!e&&t&&t.__esModule?i:r(i,"default",{value:t,enumerable:!0}),t))},75342:(t,e,i)=>{let n,r,o,a;i.d(e,{a:()=>tD,b:()=>tQ,c:()=>tY,d:()=>t6,e:()=>t7,f:()=>t4,g:()=>t5,h:()=>t8,i:()=>t9,j:()=>et,k:()=>ee,l:()=>ei,m:()=>en,n:()=>er,o:()=>eo,p:()=>ea});var s,l=i(95063).hp,u={}
1,h=function(t,e,i,n,r){var o=new Worker(u[e]||(u[e]=URL.createObjectURL(new Blob([t+';addEventListener("error",function(e){e=e.error;postMessage({$e$:[e.message,e.code,e.stack]})})'],{type:"text/javascript"}))));return o.onmessage=function(t){var e=t.data,i=e.$e$;if(i){var n=Error(i[0]);n.code=i[1],n.stack=i[2],r(n,null)}else r(null,e)},o.postMessage(i,n),o},d=Uint8Array,c=Uint16Array,f=Int32Array,p=new d([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),m=new d([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),v=new d([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),y=function(t,e){for(var i=new c(31),n=0;n<31;++n)i[n]=e+=1<<t[n-1];for(var r=new f(i[30]),n=1;n<30;++n)for(var o=i[n];o<i[n+1];++o)r[o]=o-i[n]<<5|n;return{b:i,r:r}},_=y(p,2),g=_.b,b=_.r;g[28]=258,b[258]=28;var w=y(m,0).b,C=new c(32768);for(s=0;s<32768;++s)L=(61680&(L=(52428&(L=(43690&s)>>1|(21845&s)<<1))>>2|(13107&L)<<2))>>4|(3855&L)<<4,C[s]=((65280&L)>>8|(255&L)<<8)>>1;var L,s,S=function(t,e,i){for(var n,r=t.length,o=0,a=new c(e);o<r;++o)t[o]&&++a[t[o]-1];var s=new c(e);for(o=1;o<e;++o)s[o]=s[o-1]+a[o-1]<<1;if(i){n=new c(1<<e);var l=15-e;for(o=0;o<r;++o)if(t[o])for(var u=o<<4|t[o],h=e-t[o],d=s[t[o]-1]++<<h,f=d|(1<<h)-1;d<=f;++d)n[C[d]>>l]=u}else for(n=new c(r),o=0;o<r;++o)t[o]&&(n[o]=C[s[t[o]-1]++]>>15-t[o]);return n},k=new d(288);for(s=0;s<144;++s)k[s]=8;for(s=144;s<256;++s)k[s]=9;for(s=256;s<280;++s)k[s]=7;for(s=280;s<288;++s)k[s]=8;var s,E=new d(32);for(s=0;s<32;++s)E[s]=5;var M=S(k,9,1),I=S(E,5,1),O=function(t){for(var e=t[0],i=1;i<t.length;++i)t[i]>e&&(e=t[i]);return e},A=function(t,e,i){var n=e/8|0;return(t[n]|t[n+1]<<8)>>(7&e)&i},P=function(t,e){var i=e/8|0;return(t[i]|t[i+1]<<8|t[i+2]<<16)>>(7&e)},T=function(t){return(t+7)/8|0},x=function(t,e,i){return(null==e||e<0)&&(e=0),(null==i||i>t.length)&&(i=t.length),new d(t.subarray(e,i))}
1,j=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],N=function(t,e,i){var n=Error(e||j[t]);if(n.code=t,Error.captureStackTrace&&Error.captureStackTrace(n,N),!i)throw n;return n},D=function(t,e,i,n){var r=t.length,o=n?n.length:0;if(!r||e.f&&!e.l)return i||new d(0);var a=!i,s=a||2!=e.i,l=e.i;a&&(i=new d(3*r));var u=function(t){var e=i.length;if(t>e){var n=new d(Math.max(2*e,t));n.set(i),i=n}},h=e.f||0,c=e.p||0,f=e.b||0,y=e.l,_=e.d,b=e.m,C=e.n,L=8*r;do{if(!y){h=A(t,c,1);var k=A(t,c+1,3);if(c+=3,k)if(1==k)y=M,_=I,b=9,C=5;else if(2==k){var E=A(t,c,31)+257,j=A(t,c+10,15)+4,D=E+A(t,c+5,31)+1;c+=14;for(var F=new d(D),V=new d(19),z=0;z<j;++z)V[v[z]]=A(t,c+3*z,7);c+=3*j;for(var R=O(V),U=(1<<R)-1,$=S(V,R,1),z=0;z<D;){var B=$[A(t,c,U)];c+=15&B;var q=B>>4;if(q<16)F[z++]=q;else{var J=0,H=0;for(16==q?(H=3+A(t,c,3),c+=2,J=F[z-1]):17==q?(H=3+A(t,c,7),c+=3):18==q&&(H=11+A(t,c,127),c+=7);H--;)F[z++]=J}}var Z=F.subarray(0,E),W=F.subarray(E);b=O(Z),C=O(W),y=S(Z,b,1),_=S(W,C,1)}else N(1);else{var q=T(c)+4,G=t[q-4]|t[q-3]<<8,K=q+G;if(K>r){l&&N(0);break}s&&u(f+G),i.set(t.subarray(q,K),f),e.b=f+=G,e.p=c=8*K,e.f=h;continue}if(c>L){l&&N(0);break}}s&&u(f+131072);for(var Q=(1<<b)-1,X=(1<<C)-1,Y=c;;Y=c){var J=y[P(t,c)&Q],tt=J>>4;if((c+=15&J)>L){l&&N(0);break}if(J||N(2),tt<256)i[f++]=tt;else if(256==tt){Y=c,y=null;break}else{var te=tt-254;if(tt>264){var z=tt-257,ti=p[z];te=A(t,c,(1<<ti)-1)+g[z],c+=ti}var tn=_[P(t,c)&X],tr=tn>>4;tn||N(3),c+=15&tn;var W=w[tr];if(tr>3){var ti=m[tr];W+=P(t,c)&(1<<ti)-1,c+=ti}if(c>L){l&&N(0);break}s&&u(f+131072);var to=f+te;if(f<W){var ta=o-W,ts=Math.min(W,to);for(ta+f<0&&N(3);f<ts;++f)i[f]=n[ta+f]}for(;f<to;++f)i[f]=i[f-W]}}e.l=y,e.p=Y,e.b=f,e.f=h,y&&(h=1,e.m=b,e.d=_,e.n=C)}while(!h);return f!=i.length&&a?x(i,0,f):i.subarray(0,f)},F=new d(0),V=function(t,e){var i={};for(var n in t)i[n]=t[n];for(var n in e)i[n]=e[n];return i},z=function(t,e,i){for(var n=t(),r=t.toString(),o=r.slice(r.indexOf("[")+1,r.lastIndexOf("]")).replace(/\s+/g,"").split(","),a=0;a<n.length;++a){var s=n[a],l=o[a];if("function"==typeof s){e+=";"+l+"=";var u=s.toString();if(s.prototype)if(-1!=u.indexOf("[native code]")){var h=u.indexOf(" ",8)+1;e+=u.slice(h,u.indexOf("(",h))}else for(var d in e+=u,s.prototype)e+=";"+l+".prototype."+d+"="+s.prototype[d].toString();else e+=u}else i[l]=s}return e},R=[],U=function(t){var e=[];for(var i in t)t[i].buffer&&e.push((t[i]=new t[i].constructor(t[i])).buffer);return e},$=function(t,e,i,n){if(!R[i]){for(var r="",o={},a=t.length-1,s=0;s<a;++s)r=z(t[s],r,o);R[i]={c:z(t[a],r,o),e:o}}var l=V({},R[i].e);return h(R[i].c+";onmessage=function(e){for(var k in e.data)self[k]=e.data[k];onmessage="+e.toString()+"}",i,l,U(l),n)},B=function(){return[d,c,f,p,m,v,g,w,M,I,C,j,S,O,A,P,T,x,N,D,K,q,J]},q=function(t){return postMessage(t,[t.buffer])},J=function(t){return t&&{out:t.size&&new d(t.size),dictionary:t.dictionary}},H=function(t,e,i,n,r,o){var a=$(i,n,r,function(t,e){a.terminate(),o(t,e)});return a.postMessage([t,e],e.consume?[t.buffer]:[]),function(){a.terminate()}},Z=function(t,e){return t[e]|t[e+1]<<8},W=function(t,e){return(t[e]|t[e+1]<<8|t[e+2]<<16|t[e+3]<<24)>>>0},G=function(t,e){return W(t,e)+0x100000000*W(t,e+4)};function K(t,e){return D(t,{i:2},e&&e.out,e&&e.dictionary)}var Q="u">typeof TextDecoder&&new TextDecoder;try{Q.decode(F,{stream:!0})}catch{}var X=function(t){for(var e="",i=0;;){var n=t[i++],r=(n>127)+(n>223)+(n>239);if(i+r>t.length)return{s:e,r:x(t,i-1)};r?3==r?e+=String.fromCharCode(55296|(n=((15&n)<<18|(63&t[i++])<<12|(63&t[i++])<<6|63&t[i++])-65536)>>10,56320|1023&n):1&r?e+=String.fromCharCode((31&n)<<6|63&t[i++]):e+=String.fromCharCode((15&n)<<12|(63&t[i++])<<6|63&t[i++]):e+=String.fromCharCode(n)}};function Y(t,e){if(e){for(var i="",n=0;n<t.length;n+=16384)i+=String.fromCharCode.apply(null,t.subarray(n,n+16384));return i}if(Q)return Q.decode(t);var r=X(t),o=r.s,i=r.r;return i.length&&N(8),o}
1var tt=function(t,e,i){var n=Z(t,e+28),r=Y(t.subarray(e+46,e+46+n),!(2048&Z(t,e+8))),o=e+46+n,a=W(t,e+20),s=i&&0xffffffff==a?te(t,o):[a,W(t,e+24),W(t,e+42)],l=s[0],u=s[1],h=s[2];return[Z(t,e+10),l,u,r,o+Z(t,e+30)+Z(t,e+32),h]},te=function(t,e){for(;1!=Z(t,e);e+=4+Z(t,e+2));return[G(t,e+12),G(t,e+4),G(t,e+20)]},ti="function"==typeof queueMicrotask?queueMicrotask:"function"==typeof setTimeout?setTimeout:function(t){t()},tn=class extends Error{issues;constructor(t){super(t[0].message),this.name="ValiError",this.issues=t}};function tr(t,e,i,n){if(!e||!e.length)return{output:t};let r,o,a=t;for(let t of e){let e=t(a);if(e.issue){var s,l;let t=(s=r=r||{reason:n,origin:null==i?void 0:i.origin,abortEarly:null==i?void 0:i.abortEarly,abortPipeEarly:null==i?void 0:i.abortPipeEarly},l=e.issue,{reason:null==s?void 0:s.reason,validation:l.validation,origin:(null==s?void 0:s.origin)||"value",message:l.message,input:l.input,abortEarly:null==s?void 0:s.abortEarly,abortPipeEarly:null==s?void 0:s.abortPipeEarly});if(o?o.push(t):o=[t],r.abortEarly||r.abortPipeEarly)break}else a=e.output}return o?{issues:o}:{output:a}}function to(t,e){return t&&"string"!=typeof t?[void 0,t]:[t,e]}function ta(t,e,i,n,r,o){return{issues:[{reason:e,validation:i,origin:(null==t?void 0:t.origin)||"value",message:n,input:r,issues:o,abortEarly:null==t?void 0:t.abortEarly,abortPipeEarly:null==t?void 0:t.abortPipeEarly}]}}function ts(t,e,i){let[n,r]=to(e,i);return{schema:"array",array:{item:t},async:!1,_parse(e,i){if(!Array.isArray(e))return ta(i,"type","array",n||"Invalid type",e);let o,a=[];for(let n=0;n<e.length;n++){let r=e[n],s=t._parse(r,i);if(s.issues){let t={schema:"array",input:e,key:n,value:r};for(let e of s.issues)e.path?e.path.unshift(t):e.path=[t],null==o||o.push(e);if(o||(o=s.issues),null!=i&&i.abortEarly)break}else a.push(s.output)}return o?{issues:o}:tr(a,r,i,"array")}}}function tl(t,e){let[i,n]=to(t,e);return{schema:"boolean",async:!1,_parse:(t,e)=>"boolean"!=typeof t?ta(e,"type","boolean",i||"Invalid type",t):tr(t,n,e,"boolean")}}function tu(t,e){return{schema:"literal",literal:t,async:!1,_parse:(i,n)=>i!==t?ta(n,"type","literal",e||"Invalid type",i):{output:i}}}function th(t,e){let[i,n]=to(t,e);return{schema:"number",async:!1,_parse:(t,e)=>"number"!=typeof t?ta(e,"type","number",i||"Invalid type",t):tr(t,n,e,"number")}}function td(t,e,i){let[n,r]=to(e,i),o;return{schema:"object",object:t,async:!1,_parse(e,i){if(!e||"object"!=typeof e)return ta(i,"type","object",n||"Invalid type",e);o=o||Object.entries(t);let a,s={};for(let[t,n]of o){let r=e[t],o=n._parse(r,i);if(o.issues){let n={schema:"object",input:e,key:t,value:r};for(let t of o.issues)t.path?t.path.unshift(n):t.path=[n],null==a||a.push(t);if(a||(a=o.issues),null!=i&&i.abortEarly)break}else s[t]=o.output}return a?{issues:a}:tr(s,r,i,"object")}}}function tc(t){return{schema:"optional",wrapped:t,async:!1,_parse:(e,i)=>void 0===e?{output:e}:t._parse(e,i)}}function tf(t,e){let[i,n]=to(t,e);return{schema:"string",async:!1,_parse:(t,e)=>"string"!=typeof t?ta(e,"type","string",i||"Invalid type",t):tr(t,n,e,"string")}}var tp=["__proto__","prototype","constructor"];function tm(t,e,i,n){let[r,o,a]=function(t,e,i){if("object"==typeof t&&!Array.isArray(t)){let[n,r]=to(e,i);return[t,n,r]}let[n,r]=to(t,e);return[void 0,n,r]}(e,i,n);return{schema:"tuple",tuple:{items:t,rest:r},async:!1,_parse(e,i){if(!Array.isArray(e)||!r&&t.length!==e.length||r&&t.length>e.length)return ta(i,"type","tuple",o||"Invalid type",e);let n,s=[];for(let r=0;r<t.length;r++){let o=e[r],a=t[r]._parse(o,i);if(a.issues){let t={schema:"tuple",input:e,key:r,value:o};for(let e of a.issues)e.path?e.path.unshift(t):e.path=[t],null==n||n.push(e);if(n||(n=a.issues),null!=i&&i.abortEarly)break}else s[r]=a.output}if(r)for(let o=t.length;o<e.length;o++){let t=e[o],a=r._parse(t,i);if(a.issues){let r={schema:"tuple",input:e,key:o,value:t};for(let t of a.issues)t.path?t.path.unshift(r):t.path=[r],null==n||n.push(t);if(n||(n=a.issues),null!=i&&i.abortEarly)break}else s[o]=a.output}return n?{issues:n}:tr(s,a,i,"tuple")}}}function tv(t,e){return{schema:"union",union:t,async:!1,_parse(i,n){let r,o;for(let e of t){let t=e._parse(i,n);if(t.issues)if(r)for(let e of t.issues)r.push(e);else r=t.issues;else{o=[t.output];break}}return o?{output:o[0]}:ta(n,"type","union",e||"Invalid type",i,r)}}}
1function ty(t,e,i){let[n,r]=to(e,i);return td(t.reduce((t,e)=>({...t,...e.object}),{}),n,r)}function t_(t,e){return i=>i>t?{issue:{validation:"max_value",message:e||"Invalid value",input:i}}:{output:i}}function tg(t,e){return i=>i<t?{issue:{validation:"min_value",message:e||"Invalid value",input:i}}:{output:i}}var tb=Object.create,tw=Object.defineProperty,tC=Object.getOwnPropertyDescriptor,tL=Object.getOwnPropertyNames,tS=Object.getPrototypeOf,tk=Object.prototype.hasOwnProperty,tE=(t,e)=>function(){return e||(0,t[tL(t)[0]])((e={exports:{}}).exports,e),e.exports},tM=tE({"../../node_modules/.pnpm/@[email protected]/node_modules/@rgba-image/copy/dist/index.js"(t){Object.defineProperty(t,"__esModule",{value:!0}),t.copy=void 0,t.copy=(t,e,i=0,n=0,r=t.width-i,o=t.height-n,a=0,s=0)=>{if(i|=0,n|=0,o|=0,a|=0,s|=0,(r|=0)<=0||o<=0)return;let l=new Uint32Array(t.data.buffer),u=new Uint32Array(e.data.buffer);for(let h=0;h<o;h++){let o=n+h;if(o<0||o>=t.height)continue;let d=s+h;if(!(d<0||d>=e.height))for(let n=0;n<r;n++){let r=i+n;if(r<0||r>=t.width)continue;let s=a+n;if(s<0||s>=e.width)continue;let h=o*t.width+r;u[d*e.width+s]=l[h]}}}}}),tI=tE({"../../node_modules/.pnpm/@[email protected]/node_modules/@rgba-image/create-image/dist/index.js"(t){Object.defineProperty(t,"__esModule",{value:!0}),t.CreateImageFactory=(t=[0,0,0,0],e=4)=>{if(isNaN(e=Math.floor(e))||e<1)throw TypeError("channels should be a positive non-zero number");if(!("length"in t)||t.length<e)throw TypeError(`fill should be iterable with at least ${e} members`);let i=(t=new Uint8ClampedArray(t).slice(0,e)).every(t=>0===t);return(n,r,o)=>{if(void 0===n||void 0===r)throw TypeError("Not enough arguments");if(n=Math.floor(n),r=Math.floor(r),isNaN(n)||n<1||isNaN(r)||r<1)throw TypeError("Index or size is negative or greater than the allowed amount");let a=n*r*e;if(void 0===o&&(o=new Uint8ClampedArray(a)),o instanceof Uint8ClampedArray){if(o.length!==a)throw TypeError("Index or size is negative or greater than the allowed amount");if(!i)for(let i=0;i<r;i++)for(let r=0;r<n;r++){let a=(i*n+r)*e;for(let i=0;i<e;i++)o[a+i]=t[i]}return{get width(){return n},get height(){return r},get data(){return o}}}throw TypeError("Expected data to be Uint8ClampedArray or undefined")}},t.createImage=t.CreateImageFactory()}}),tO=tE({"../../node_modules/.pnpm/@[email protected]/node_modules/@rgba-image/lanczos/dist/filters.js"(t){Object.defineProperty(t,"__esModule",{value:!0}),t.filters=void 0;var e=(t,e)=>{if(t<=-e||t>=e||0==t)return 0;let i=t*Math.PI;return Math.sin(i)/i*Math.sin(i/e)/(i/e)},i=t=>Math.round(16383*t);t.filters=(t,n,r,o,a)=>{let s=a?2:3,l=1/r,u=Math.min(1,r),h=s/u,d=new Int16Array((Math.floor((h+1)*2)+2)*n),c=0;for(let r=0;r<n;r++){let a=(r+.5)*l+o,f=Math.max(0,Math.floor(a-h)),p=Math.min(t-1,Math.ceil(a+h)),m=p-f+1,v=new Float32Array(m),y=new Int16Array(m),_=0,g=0;for(let t=f;t<=p;t++){let i=e((t+.5-a)*u,s);_+=i,v[g]=i,g++}let b=0;for(let t=0;t<v.length;t++){let e=v[t]/_;b+=e,y[t]=i(e)}y[n>>1]+=i(1-b);let w=0;for(;w<y.length&&0===y[w];)w++;let C=y.length-1;for(;C>0&&0===y[C];)C--;let L=f+w,S=C-w+1;d[c++]=L,d[c++]=S,d.set(y.subarray(w,C+1),c),c+=S}return d}}}),tA=tE({"../../node_modules/.pnpm/@[email protected]/node_modules/@rgba-image/lanczos/dist/convolve.js"(t){Object.defineProperty(t,"__esModule",{value:!0}),t.convolve=void 0,t.convolve=(t,e,i,n,r,o)=>{let a=0,s=0;for(let l=0;l<n;l++){let u=0;for(let i=0;i<r;i++){let i=a+4*o[u++]|0,r=0,l=0,h=0,d=0;for(let e=o[u++];e>0;e--){let e=o[u++];r=r+e*t[i]|0,l=l+e*t[i+1]|0,h=h+e*t[i+2]|0,d=d+e*t[i+3]|0,i=i+4|0}e[s]=r+8192>>14,e[s+1]=l+8192>>14,e[s+2]=h+8192>>14,e[s+3]=d+8192>>14,s=s+4*n|0}s=(l+1)*4|0,a=(l+1)*i*4|0}}}}),tP=tE({"../../node_modules/.pnpm/@[email protected]/node_modules/@rgba-image/lanczos/dist/index.js"(t){Object.defineProperty(t,"__esModule",{value:!0}),t.lanczos2=t.lanczos=void 0;var e=tM(),i=tI(),n=tO(),r=tA(),o=(t,e,i=!1)=>{let o=e.width/t.width,a=e.height/t.height,s=n.filters(t.width,e.width,o,0,i),l=n.filters(t.height,e.height,a,0,i),u=new Uint8ClampedArray(e.width*t.height*4);r.convolve(t.data,u,t.width,t.height,e.width,s),r.convolve(u,e.data,t.height,e.width,e.height,l)};t.lanczos=(t,n,r=0,a=0,s=t.width-r,l=t.height-a,u=0,h=0,d=n.width-u,c=n.height-h)=>{if(r|=0,a|=0,l|=0,u|=0,h|=0,d|=0,c|=0,(s|=0)<=0||l<=0||d<=0||c<=0)return;if(0===r&&0===a&&s===t.width&&l===t.height&&0===u&&0===h&&d===n.width&&c===n.height)return void o(t,n);let f=i.createImage(s,l),p=i.createImage(d,c);e.copy(t,f,r,a),o(f,p),e.copy(p,n,0,0,p.width,p.height,u,h)},t.lanczos2=(t,n,r=0,a=0,s=t.width-r,l=t.height-a,u=0,h=0,d=n.width-u,c=n.height-h)=>{if(r|=0,a|=0,l|=0,u|=0,h|=0,d|=0,c|=0,(s|=0)<=0||l<=0||d<=0||c<=0)return;if(0===r&&0===a&&s===t.width&&l===t.height&&0===u&&0===h&&d===n.width&&c===n.height)return void o(t,n,!0);let f=i.createImage(s,l),p=i.createImage(d,c);e.copy(t,f,r,a),o(f,p,!0),e.copy(p,n,0,0,p.width,p.height,u,h)}}}),tT=((n=tT||{}
1).Bounce="bounce",n.Normal="normal",n),tx=td({autoplay:tc(tl()),defaultTheme:tc(tf()),direction:tc(tv([tu(1),tu(-1)])),hover:tc(tl()),id:tf(),intermission:tc(th()),loop:tc(tv([tl(),th()])),playMode:tc({schema:"native_enum",nativeEnum:tT,async:!1,_parse:(t,e)=>Object.values(tT).includes(t)?{output:t}:ta(e,"type","native_enum","Invalid type",t)}),speed:tc(th()),themeColor:tc(tf())}),tj=td({animations:ts(tf()),id:tf()}),tN=td({activeAnimationId:tc(tf()),animations:ts(tx),author:tc(tf()),custom:tc(function(t,e){let[i,n,r,o]=function(t,e,i,n){if("object"==typeof e&&!Array.isArray(e)){let[r,o]=to(i,n);return[t,e,r,o]}let[r,o]=to(e,i);return[tf(),t,r,o]}(t,e,void 0,void 0);return{schema:"record",record:{key:i,value:n},async:!1,_parse(t,e){if(!t||"object"!=typeof t)return ta(e,"type","record",r||"Invalid type",t);let a,s={};for(let[r,o]of Object.entries(t))if(!tp.includes(r)){let l,u=i._parse(r,{origin:"key",abortEarly:null==e?void 0:e.abortEarly,abortPipeEarly:null==e?void 0:e.abortPipeEarly});if(u.issues){for(let e of(l={schema:"record",input:t,key:r,value:o},u.issues))e.path=[l],null==a||a.push(e);if(a||(a=u.issues),null!=e&&e.abortEarly)break}let h=n._parse(o,e);if(h.issues){for(let e of(l=l||{schema:"record",input:t,key:r,value:o},h.issues))e.path?e.path.unshift(l):e.path=[l],null==a||a.push(e);if(a||(a=h.issues),null!=e&&e.abortEarly)break}u.issues||h.issues||(s[u.output]=h.output)}return a?{issues:a}:tr(s,o,e,"record")}}}(tf(),function(t=[]){return{schema:"any",async:!1,_parse:(e,i)=>tr(e,t,i,"any")}}())),description:tc(tf()),generator:tc(tf()),keywords:tc(tf()),revision:tc(th()),themes:tc(ts(tj)),states:tc(ts(tf())),version:tc(tf())}),tD=function(t,e){let[i,n]=to(void 0,void 0);return td(Object.entries(t.object).reduce((t,[i,n])=>e.includes(i)?t:{...t,[i]:n},{}),i,n)}(tx,["id"]),tF=td({state:tf()}),tV=ty([tF,td({ms:th()})]),tz=ty([tF,td({count:th()})]),tR=ty([tF,td({threshold:tc(ts(th([tg(0),t_(1)])))})]),tU=td({onAfter:tc(tV),onClick:tc(tF),onComplete:tc(tF),onEnter:tc(tz),onMouseEnter:tc(tF),onMouseLeave:tc(tF),onShow:tc(tR)}),t$=ty([tD,td({playOnScroll:tc(tm([th([tg(0),t_(1)]),th([tg(0),t_(1)])])),segments:tc(tv([tm([th(),th()]),tf()]))})]);ty([tU,td({animationId:tc(tf()),playbackSettings:t$})]);var tB={jpeg:"image/jpeg",png:"image/png",gif:"image/gif",bmp:"image/bmp",svg:"image/svg+xml",webp:"image/webp",mpeg:"audio/mpeg",mp3:"audio/mp3"},tq={jpeg:[255,216,255],png:[137,80,78,71,13,10,26,10],gif:[71,73,70],bmp:[66,77],webp:[82,73,70,70,87,69,66,80],svg:[60,63,120],mp3:[73,68,51,3,0,0,0,0],mpeg:[73,68,51,3,0,0,0,0]},tJ=class extends Error{constructor(t,e){super(t),((t,e,i)=>{let n;return(n="symbol"!=typeof e?e+"":e)in t?tw(t,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[n]=i})(this,"code"),this.name="[dotlottie-js]",this.code=e}};function tH(t){let e;if(typeof window>"u")e=l.from(t).toString("base64");else{let i=Array.prototype.map.call(t,t=>String.fromCharCode(t)).join("");e=window.btoa(i)}return`data:${(t=>{let e=null,i=[];if(!t)return null;let n=t.substring(t.indexOf(",")+1),r=new Uint8Array((e=typeof window>"u"?l.from(n,"base64").toString("binary"):atob(n)).length);for(let t=0;t<e.length;t+=1)r[t]=e.charCodeAt(t);for(let t in i=Array.from(r.subarray(0,8)),tq){let e=tq[t];if(e&&i.every((t,i)=>t===e[i]))return tB[t]}return null})(e)};base64,${e}`}function tZ(t){return"w"in t&&"h"in t&&!("xt"in t)&&"p"in t}function tW(t){return!("h"in t)&&!("w"in t)&&"p"in t&&"e"in t&&"u"in t&&"id"in t}async function tG(t,e=()=>!0){if(!(t instanceof Uint8Array))throw new tJ("DotLottie not found","INVALID_DOTLOTTIE");return await new Promise((i,n)=>{!function(t,e,i){i||(i=e,e={}),"function"!=typeof i&&N(7);var n=[],r=function(){for(var t=0;t<n.length;++t)n[t]()},o={},a=function(t,e){ti(function(){i(t,e)})};ti(function(){a=i});for(var s=t.length-22;0x6054b50!=W(t,s);--s)if(!s||t.length-s>65558)return a(N(13,0,1),null),r;var l=Z(t,s+8);if(l){var u=l,h=W(t,s+16),c=0xffffffff==h||65535==u;if(c){var f=W(t,s-12);(c=0x6064b50==W(t,f))&&(u=l=W(t,f+32),h=W(t,f+48))}for(var p=e&&e.filter,m=0;m<u;++m)!function(){var e=tt(t,h,c),i=e[0],s=e[1],u=e[2],f=e[3],m=e[4],v=e[5],y=v+30+Z(t,v+26)+Z(t,v+28);h=m;
1var _=function(t,e){t?(r(),a(t,null)):(e&&(o[f]=e),--l||a(null,o))};if(!p||p({name:f,size:s,originalSize:u,compression:i}))if(i)if(8==i){var g,b,w=t.subarray(y,y+s);if(s<32e4)try{_(null,K(w,{out:new d(u)}))}catch(t){_(t,null)}else n.push((g={size:u},(b=_)||(b=g,g={}),"function"!=typeof b&&N(7),H(w,g,[B],function(t){return q(K(t.data[0],J(t.data[1])))},1,b)))}else _(N(14,"unknown compression type "+i,1),null);else _(null,x(t,y,y+s));else _(null,null)}()}else a(null,{})}(t,{filter:e},(t,e)=>{t&&n(t),i(e)})})}async function tK(t,e,i){if(!(t instanceof Uint8Array))throw new tJ("DotLottie not found","INVALID_DOTLOTTIE");return(await tG(t,t=>t.name===e&&(!i||i(t))))[e]}async function tQ(t){let e="manifest.json",i=(await tG(t,t=>t.name===e))[e];if(!(typeof i>"u"))return JSON.parse(Y(i,!1))}async function tX(t){var e;let i;if(!(t instanceof Uint8Array))return{success:!1,error:"DotLottie not found"};let n=await tQ(t);if(typeof n>"u")return{success:!1,error:"Invalid .lottie file, manifest.json is missing"};let r=(i=tN._parse(n,void 0)).issues?{success:!1,error:new tn(i.issues),issues:i.issues}:{success:!0,data:i.output,output:i.output};return r.success?{success:!0}:{success:!1,error:`Invalid .lottie file, manifest.json structure is invalid, ${JSON.stringify((Array.isArray(e=r.error)?e:e.issues).reduce((t,e)=>{if(e.path){let i=e.path.map(({key:t})=>t).join(".");t.nested[i]=[...t.nested[i]||[],e.message]}else t.root=[...t.root||[],e.message];return t},{nested:{}}).nested,null,2)}`}}async function tY(t){let e=new Uint8Array(t),i=await tX(e);if(i.error)throw new tJ(i.error,"INVALID_DOTLOTTIE");return e}async function t0(t,e){let i=await tG(t,t=>{let i=t.name.replace("audio/","");return t.name.startsWith("audio/")&&(!e||e({...t,name:i}))}),n={};for(let t in i){let e=i[t];e instanceof Uint8Array&&(n[t.replace("audio/","")]=tH(e))}return n}async function t1(t,e){var i;let n=new Map;for(let[t,r]of Object.entries(e))for(let e of r.assets||[])if(tW(e)){let r=e.p;n.has(r)||n.set(r,new Set),null==(i=n.get(r))||i.add(t)}let r=await t0(t,t=>n.has(t.name));for(let[t,i]of n){let n=r[t];if(n)for(let r of i){let i=e[r];for(let e of(null==i?void 0:i.assets)||[])tW(e)&&e.p===t&&(e.p=n,e.u="",e.e=1)}}}async function t3(t,e){let i=await tG(t,t=>{let i=t.name.replace("images/","");return t.name.startsWith("images/")&&(!e||e({...t,name:i}))}),n={};for(let t in i){let e=i[t];e instanceof Uint8Array&&(n[t.replace("images/","")]=tH(e))}return n}async function t2(t,e){var i;let n=new Map;for(let[t,r]of Object.entries(e))for(let e of r.assets||[])if(tZ(e)){let r=e.p;n.has(r)||n.set(r,new Set),null==(i=n.get(r))||i.add(t)}let r=await t3(t,t=>n.has(t.name));for(let[t,i]of n){let n=r[t];if(n)for(let r of i){let i=e[r];for(let e of(null==i?void 0:i.assets)||[])tZ(e)&&e.p===t&&(e.p=n,e.u="",e.e=1)}}}async function t6(t,e,{inlineAssets:i}={},n){let r=`animations/${e}.json`,o=await tK(t,r,n);if(typeof o>"u")return;let a=JSON.parse(Y(o,!1));if(!i)return a;let s={[e]:a};return await t2(t,s),await t1(t,s),a}async function t7(t,e,i){let n=`themes/${e}.json`,r=await tK(t,n,i);if(!(typeof r>"u"))return JSON.parse(Y(r,!1))}async function t4(t,e){let i={},n=await tG(t,t=>{let i=t.name.replace("states/","").replace(".json","");return t.name.startsWith("states/")&&(!e||e({...t,name:i}))});for(let t in n){let e=n[t];e instanceof Uint8Array&&(i[t.replace("states/","").replace(".json","")]=Y(e,!1))}return i}async function t5(t,e,i){let n=`states/${e}.json`,r=await tK(t,n,i);return typeof r>"u"?void 0:JSON.parse(Y(r,!1))}function t8(t,e="dotLottie-common"){return Error(`[${e}]: ${t}`)}function t9(t,e="dotLottie-common",...i){console.error(`[${e}]:`,t,...i)}function et(t,e="dotLottie-common",...i){console.warn(`[${e}]:`,t,...i)}function ee(t=""){let e=t.trim(),i=e.lastIndexOf("/"),n=e.substring(i+1),r=n.indexOf(".");return -1!==r?n.substring(0,r):n}function ei(t){return["v","ip","op","layers","fr","w","h"].every(e=>Object.prototype.hasOwnProperty.call(t,e))}function en(t){let e=t.assets;return!!e&&e.some(t=>tW(t))}function er(t){try{let e=JSON.parse(t);return ei(e)}catch{return!1}}function eo(t,e){let i=Object.keys(t).find(i=>t[i]===e);if(void 0===i)throw Error("Value not found in the object.");return i}function ea(t){return JSON.parse(JSON.stringify(t))}a=null!=(r=tP())?tb(tS(r)):{},((t,e,i,n)=>{if(e&&"object"==typeof e||"function"==typeof e)for(let r of tL(e))tk.call(t,r)||r===i||tw(t,r,{get:()=>e[r],enumerable:!(n=tC(e,r))||n.enumerable})})(!o&&r&&r.__esModule?a:tw(a,"default",{value:r,enumerable:!0}),r)},83550:(t,e,i)=>{i.r(e),i.d(e,{Controls:()=>D,DEFAULT_OPTIONS:()=>r.d,DEFAULT_STATE:()=>r.e,DotLottieCommonPlayer:()=>r.f,DotLottiePlayer:()=>U,DotLottieProvider:()=>_,PlayMode:()=>r.c,PlayerEvents:()=>r.a,PlayerState:()=>r.b,createError:()=>o.h,deepCloneLottieJson:()=>o.p,getFilename:()=>o.k,getKeyByValue:()=>
1o.o,isValidLottieJSON:()=>o.l,isValidLottieString:()=>o.n,logError:()=>o.i,logWarning:()=>o.j,lottieContainsAudio:()=>o.m,useDotLottieContext:()=>g,useDotLottieState:()=>C});var n=i(12115),r=i(36684);i(53631),i(15668),i(35027);var o=i(75342);i(55962);var a=function(t,e){var i,r=(i=(0,n.useRef)(!0)).current?(i.current=!1,!0):i.current;(0,n.useEffect)(function(){if(!r)return t()},e)},s=function(){};function l(t){for(var e=[],i=1;i<arguments.length;i++)e[i-1]=arguments[i];t&&t.addEventListener&&t.addEventListener.apply(t,e)}function u(t){for(var e=[],i=1;i<arguments.length;i++)e[i-1]=arguments[i];t&&t.removeEventListener&&t.removeEventListener.apply(t,e)}var h=["mousedown","touchstart"],d=function(t,e,i){void 0===i&&(i=h);var r=(0,n.useRef)(e);(0,n.useEffect)(function(){r.current=e},[e]),(0,n.useEffect)(function(){for(var e=function(e){var i=t.current;i&&!i.contains(e.target)&&r.current(e)},n=0,o=i;n<o.length;n++)l(document,o[n],e);return function(){for(var t=0,n=i;t<n.length;t++)u(document,n[t],e)}},[i,t])},c="u">typeof window?window:null,f=function(t){return!!t.addEventListener},p=function(t){return!!t.on},m=function(t,e,i,r){void 0===i&&(i=c),(0,n.useEffect)(function(){if(e&&i)return f(i)?l(i,t,e,r):p(i)&&i.on(t,e,r),function(){f(i)?u(i,t,e,r):p(i)&&i.off(t,e,r)}},[t,e,i,JSON.stringify(r)])},v=function(t,e,i,r){void 0===e&&(e=s),void 0===i&&(i={}),void 0===r&&(r=[t]);var o=i.event,a=i.target,l=i.options;m(void 0===o?"keydown":o,(0,n.useMemo)(function(){var i="function"==typeof t?t:"string"==typeof t?function(e){return e.key===t}:t?function(){return!0}:function(){return!1};return function(t){if(i(t))return e(t)}},r),a,l)},y=(0,n.createContext)(null),_=y.Provider,g=()=>{let t=(0,n.useContext)(y);if(typeof t>"u")throw(0,o.h)("useDotLottieContext must be used within a DotLottieProvider");return t},b=(t,e,i)=>{let[r,o]=(0,n.useState)(()=>i());return(0,n.useEffect)(()=>{let i=t(()=>{o(e())});return()=>{i()}},[t]),r},w=()=>{};function C(t){let e=g(),i=(0,n.useCallback)(()=>{if(null!==e)return t(e.getState())},[t,e]);return b((0,n.useCallback)(t=>null===e?w:e.state.subscribe(t),[e]),i,()=>t(r.e))}var L=t=>n.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",...t},n.createElement("path",{d:"M8.33325 11.6667C7.78097 11.6667 7.33325 12.1144 7.33325 12.6667C7.33325 13.2189 7.78097 13.6667 8.33325 13.6667C8.88554 13.6667 9.33325 13.2189 9.33325 12.6667C9.33325 12.1144 8.88554 11.6667 8.33325 11.6667Z",fill:"currentColor"}),n.createElement("path",{d:"M7.33325 8C7.33325 7.44771 7.78097 7 8.33325 7C8.88554 7 9.33325 7.44771 9.33325 8C9.33325 8.55228 8.88554 9 8.33325 9C7.78097 9 7.33325 8.55228 7.33325 8Z",fill:"currentColor"}),n.createElement("path",{d:"M7.33325 3.33333C7.33325 2.78105 7.78097 2.33333 8.33325 2.33333C8.88554 2.33333 9.33325 2.78105 9.33325 3.33333C9.33325 3.88562 8.88554 4.33333 8.33325 4.33333C7.78097 4.33333 7.33325 3.88562 7.33325 3.33333Z",fill:"currentColor"})),S=t=>n.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",...t},n.createElement("path",{d:"M10.8654 2.31311C11.0607 2.11785 11.3772 2.11785 11.5725 2.31311L13.4581 4.19873C13.6534 4.39399 13.6534 4.71058 13.4581 4.90584L11.5725 6.79146C11.3772 6.98672 11.0607 6.98672 10.8654 6.79146C10.6701 6.5962 10.6701 6.27961 10.8654 6.08435L11.6162 5.33354H4V6.66687C4 7.03506 3.70152 7.33354 3.33333 7.33354C2.96514 7.33354 2.66666 7.03506 2.66666 6.66687L2.66666 4.66687C2.66666 4.29868 2.96514 4.0002 3.33333 4.0002H11.8454L10.8654 3.02022C10.6701 2.82496 10.6701 2.50838 10.8654 2.31311Z",fill:"currentColor"}),n.createElement("path",{d:"M12.4375 11.9998C12.8057 11.9998 13.1042 11.7013 13.1042 11.3331V9.33313C13.1042 8.96494 12.8057 8.66647 12.4375 8.66647C12.0693 8.66647 11.7708 8.96494 11.7708 9.33313V10.6665H4.15462L4.90543 9.91565C5.10069 9.72039 5.10069 9.40381 4.90543 9.20854C4.71017 9.01328 4.39359 9.01328 4.19832 9.20854L2.31271 11.0942C2.11744 11.2894 2.11744 11.606 2.31271 11.8013L4.19832 13.6869C4.39359 13.8821 4.71017 13.8821 4.90543 13.6869C5.10069 13.4916 5.10069 13.175 4.90543 12.9798L3.92545 11.9998H12.4375Z",fill:"currentColor"})),k=t=>n.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",...t},n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.3336 2.5C14.3336 2.22386 14.1097 2 13.8336 2C13.5574 2 13.3336 2.22386 13.3336 2.5V13.5C13.3336 13.7761 13.5574 14 13.8336 14C14.1097 14 14.3336 13.7761 14.3336 13.5V2.5ZM3.50618 2.21722C2.83954 1.82595 2 2.30667 2 3.07965V12.9201C2 13.6931 2.83954 14.1738 3.50618 13.7825L11.8893 8.86231C12.5477 8.47586 12.5477 7.52389 11.8893 7.13745L3.50618 2.21722Z",fill:"currentColor"})),E=t=>n.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",...t},n.createElement("path",{d:"M3.99996 2C3.26358 2 2.66663 2.59695 2.66663 3.33333V12.6667C2.66663 13.403 3.26358 14 3.99996 14H5.33329C6.06967 14 6.66663 13.403 6.66663 12.6667V3.33333C6.66663 2.59695 6.06967 2 5.33329 2H3.99996Z",fill:"currentColor"}),n.createElement("path",{d:"M10.6666 2C9.93025 2 9.33329 2.59695 9.33329 3.33333V12.6667C9.33329 13.403 9.93025 14 10.6666 14H12C12.7363 14 13.3333 13.403 13.3333 12.6667V3.33333C13.3333 2.59695 12.7363 2 12 2H10.6666Z",fill:"currentColor"})),M=t=>n.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",...t},n.createElement("path",{d:"M3.33337 3.46787C3.33337 2.52312 4.35948 1.93558 5.17426 2.41379L12.8961 6.94592C13.7009 7.41824 13.7009 8.58176 12.8961 9.05408L5.17426 13.5862C4.35948 14.0644 3.33337 13.4769 3.33337 12.5321V3.46787Z",fill:"currentColor"})),I=t=>n.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",...t},n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.69214 13.5C1.69214 13.7761 1.916 14 2.19214 14C2.46828 14 2.69214 13.7761 2.69214 13.5L2.69214 2.5C2.69214 2.22386 2.46828 2 2.19214 2C1.916 2 1.69214 2.22386 1.69214 2.5V13.5ZM12.5192 13.7828C13.1859 14.174 14.0254 13.6933 14.0254 12.9204L14.0254 3.0799C14.0254 2.30692 13.1859 1.8262 12.5192 2.21747L4.13612 7.13769C3.47769 7.52414 3.47769 8.4761 4.13612 8.86255L12.5192 13.7828Z",fill:"currentColor"})),O=t=>n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...t},n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.5303 6.46967C13.8232 6.76256 13.8232 7.23744 13.5303 7.53033L9.06066 12L13.5303 16.4697C13.8232 16.7626 13.8232 17.2374 13.5303 17.5303C13.2374 17.8232 12.7626 17.8232 12.4697 17.5303L7.46967 12.5303C7.17678 12.2374 7.17678 11.7626 7.46967 11.4697L12.4697 6.46967C12.7626 6.17678 13.2374 6.17678 13.5303 6.46967Z",fill:"currentColor"})),A=t=>n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...t},n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.4697 17.5303C10.1768 17.2374 10.1768 16.7626 10.4697 16.4697L14.9393 12L10.4697 7.53033C10.1768 7.23744 10.1768 6.76256 10.4697 6.46967C10.7626 6.17678 11.2374 6.17678 11.5303 6.46967L16.5303 11.4697C16.8232 11.7626 16.8232 12.2374 16.5303 12.5303L11.5303 17.5303C11.2374 17.8232 10.7626 17.8232 10.4697 17.5303Z",fill:"currentColor"})),P=({children:t,enableReset:e,expand:i=!1,onBack:r,onExpand:o,onReset:a,title:s})=>{let l=(0,n.useCallback)(()=>{r()},[r]),u=(0,n.useCallback)(()=>{o()},[o]),h=(0,n.useCallback)(()=>{a()},[a]);return n.createElement(n.Fragment,null,!i&&n.createElement("button",{className:"popover-item","aria-label":`Go to ${s}`,onClick:u},n.createElement("span",{style:{flex:1}},s),n.createElement("span",null,n.createElement(A,null))),i&&n.createElement("div",{className:"popover-submenu"},n.createElement("div",{className:"popover-header"},n.createElement("button",{onClick:l},n.createElement(O,null)),n.createElement("div",{className:"popover-header-title",style:{flex:1}},n.createElement("span",null,s),e&&n.createElement("button",{className:"reset-theme",onClick:h,"aria-label":`Reset ${s}`},"Reset"))),t))},T=t=>n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...t},n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.5283 5.9372C20.8211 6.23009 20.8211 6.70497 20.5283 6.99786L9.4631 18.063C9.32181 18.2043 9.12997 18.2833 8.93016 18.2826C8.73035 18.2819 8.53907 18.2015 8.39877 18.0593L3.46807 13.0596C3.17722 12.7647 3.18052 12.2898 3.47544 11.999C3.77036 11.7081 4.24522 11.7114 4.53608 12.0063L8.93646 16.4683L19.4676 5.9372C19.7605 5.64431 20.2354 5.64431 20.5283 5.9372Z",fill:"currentColor"})),x=({onSelectItem:t,selected:e=!1,value:i,...r})=>{let o=(0,n.useCallback)(()=>{null==t||t(i)},[t,i]);return n.createElement("button",{"aria-label":`Select ${i}`,className:`popover-item ${e?"selected":""}`,onClick:o,...r},n.createElement("span",{style:{visibility:e?"visible":"hidden"}},n.createElement(T,null)),n.createElement("span",{style:{flex:1}},i))},j=({items:t=[],onSelectItem:e,onDismiss:i,...r})=>
1{let[o,a]=(0,n.useState)(""),s=(0,n.useRef)(null);d(s,()=>{a(""),i()}),v("Escape",()=>{a(""),i()});let l=(0,n.useCallback)(()=>{a("")},[a]),u=(0,n.useCallback)(t=>()=>a(t),[a]),h=(0,n.useCallback)((t,i)=>()=>e(t,i),[e]);return n.createElement("dialog",{ref:s,style:{padding:o?"0px":"8px"},className:"popover","aria-label":"Popover Menu",...r},n.createElement("ul",{"aria-label":"Popover content",className:"popover-content"},t.map(t=>n.createElement("li",{key:t.title,style:{width:"100%"}},(o===t.title||!o)&&n.createElement(P,{expand:o===t.title,title:t.title,onExpand:u(t.title),onBack:l,enableReset:t.enableReset,onReset:h(t.title,"")},n.createElement("ul",{className:"popover-items","aria-label":`List of ${t.title}`},t.items.map(e=>n.createElement("li",{key:e.value},n.createElement(x,{value:e.value,selected:e.selected,onSelectItem:h(t.title,e.value)})))))))))},N=["play","stop","loop","next","previous","animations","themes"],D=({buttons:t=N,...e})=>{let i=g(),o=C(t=>t.loop),a=C(t=>t.currentState),s=C(t=>t.seeker),l=C(t=>t.currentAnimationId),u=C(t=>t.defaultTheme),h=C(t=>t.direction),d=C(t=>t.activeStateId),c=(0,n.useMemo)(()=>a===r.b.Playing,[a]),[f,p]=(0,n.useState)(!1),[m,v]=(0,n.useState)([]),[y,_]=(0,n.use
1State)([]),[b,w]=(0,n.useState)([]),O=(0,n.useMemo)(()=>{let t=[],e=m.map(t=>({value:t.id,selected:l===t.id})),i=y.filter(t=>0===t.animations.length||t.animations.includes(l||"")).map(t=>({value:t.id,selected:u===t.id})),n=b.map(t=>({value:t,selected:d===t}));return Array.isArray(e)&&0!==e.length&&t.push({title:"Animations",items:e,enableReset:!1}),Array.isArray(n)&&0!==n.length&&t.push({title:"States",items:n,enableReset:!0}),Array.isArray(i)&&0!==i.length&&t.push({title:"Themes",items:i,enableReset:!!u}),t},[m,y,l,u,b,d]),A=(0,n.useMemo)(()=>!!(t.includes("themes")&&Array.isArray(y))&&!!y.length||t.includes("animations")&&Array.isArray(m)&&m.length>1,[O]),P=(0,n.useCallback)(()=>{p(!f)},[p]),T=(0,n.useCallback)(()=>{p(!1)},[p]),x=(0,n.useCallback)(()=>{null==i||i.toggleLoop()},[i]),D=(0,n.useCallback)(()=>{null==i||i.freeze()},[i]),F=(0,n.useCallback)(()=>{null==i||i.unfreeze()},[i]),V=(0,n.useCallback)(()=>{null==i||i.next()},[i]),z=(0,n.useCallback)(()=>{null==i||i.previous()},[i]),R=(0,n.useCallback)(()=>{null==i||i.togglePlay()},[i]),U=(0,n.useCallback)((t,e)=>{"Animations"===t&&(null==i||i.play(e)),"Themes"===t&&(null==i||i.setDefaultTheme(e)),"States"===t&&(e?null==i||i.enterInteractiveMode(e):null==i||i.exitInteractiveMode())},[i]),$=(0,n.useCallback)(t=>{null==i||i.seek(String(t.currentTarget.value).concat("%"))},[i]);function B(){var t,e,n;let r=null==(t=null==i?void 0:i.getManifest())?void 0:t.animations,o=null==(e=null==i?void 0:i.getManifest())?void 0:e.themes,a=null==(n=null==i?void 0:i.getManifest())?void 0:n.states;r&&v(r),o&&_(o),a&&w(a)}return(0,n.useEffect)(()=>{if(!(typeof i>"u"))return null==i||i.addEventListener("DOMLoaded",B),()=>{null==i||i.removeEventListener("DOMLoaded",B)}},[i]),n.createElement("div",{"aria-label":"lottie-animation-controls",className:"toolbar",...e},t.includes("previous")&&m.length>1&&n.createElement("button",{onClick:z,"aria-label":"play-previous"},n.createElement(I,null)),t.includes("play")&&n.createElement("button",{onClick:R,"aria-label":"play-pause"},c?n.createElement(E,null):n.createElement(M,null)),t.includes("next")&&m.length>1&&n.createElement("button",{onClick:V,"aria-label":"play-next"},n.createElement(k,null)),n.createElement("input",{style:{width:"100%","--seeker":s},className:`seeker ${1===h?"":"to-left"}`,type:"range",min:0,step:0,max:100,value:s||0,onInput:$,onMouseDown:D,onMouseUp:F,"aria-valuemin":1,"aria-valuemax":100,role:"slider","aria-valuenow":s,"aria-label":"lottie-seek-input"}),t.includes("loop")&&n.createElement("button",{onClick:x,className:o?"active":"","aria-label":"loop-toggle"},n.createElement(S,null)),A&&n.createElement("div",{style:{position:"relative"}},n.createElement(j,{items:O,open:f,onDismiss:T,onSelectItem:U}),n.createElement("button",{className:`${f?"popover-active":""}`,"aria-label":"open-popover",onClick:P},n.createElement(L,null))))},F=typeof window>"u"?n.useEffect:n.useLayoutEffect;function V(t,e){let i=(0,n.useCallback)(()=>e(t.getState()),[e,t]);return b((0,n.useCallback)(e=>t.state.subscribe(e),[t]),i,()=>e(r.e))}var z={position:"relative",width:"100%",height:"100%"},R={position:"relative"},U=n.forwardRef(({onEvent:t,activeAnimationId:e,autoplay:i,background:o="transparent",direction:s,intermission:l,loop:u,playMode:h,hover:d,speed:c,renderer:f="svg",rendererSettings:p={},src:m,className:v="",testId:y,children:g,defaultTheme:b,light:w=!1,worker:C=!1,activeStateId:L,lottieRef:S,...k},E)=>{let M=(0,n.useRef)(null),I=((t,e,i)=>{let[o]=(0,n.useState)(()=>new r.f(t,e.current,i)),a=(0,n.useRef)(!1);return F(()=>((async function(){!a.current&&e.current&&(a.current=!0,o.setContainer(e.current),await o.load())})(),()=>{a.current&&o.destroy()}),[o]),o})(m,M,{renderer:f,activeAnimationId:e,rendererSettings:{clearCanvas:!0,progressiveLoad:!1,hideOnTransparent:!0,...p},hover:d,loop:u,direction:s,speed:c,intermission:l,background:o,playMode:h,autoplay:!d&&i,testId:y,defaultTheme:b,light:w,worker:C,activeStateId:L}),O=(0,n.useRef)(I);O.current=I,n.useImperativeHandle(E,()=>I,[I]),n.useImperativeHandle(S,()=>I,[I]);let A=V(I,t=>t.currentState),P=V(I,t=>t.frame),T=V(I,t=>
1t.seeker),x=V(I,t=>t.currentAnimationId);return a(()=>{typeof u>"u"?O.current.revertToManifestValues(["loop"]):O.current.setLoop(u)},[u]),a(()=>{[r.b.Initial,r.b.Loading].includes(A)||(typeof i>"u"?O.current.revertToManifestValues(["autoplay"]):O.current.setAutoplay(i))},[i]),a(()=>{typeof s>"u"?O.current.revertToManifestValues(["direction"]):O.current.setDirection(s)},[s]),a(()=>{typeof c>"u"?O.current.revertToManifestValues(["speed"]):O.current.setSpeed(c)},[c]),a(()=>{typeof h>"u"?O.current.revertToManifestValues(["playMode"]):O.current.setMode(h)},[h]),a(()=>{typeof d>"u"?O.current.revertToManifestValues(["hover"]):O.current.setHover(d)},[d]),a(()=>{typeof o>"u"?O.current.setBackground("transparent"):O.current.setBackground(o)},[o]),a(()=>{typeof l>"u"?O.current.revertToManifestValues(["intermission"]):O.current.setIntermission(l)},[l]),a(()=>{typeof b>"u"||!b?O.current.revertToManifestValues(["defaultTheme"]):O.current.setDefaultTheme(b)},[b]),a(()=>{e&&O.current.play(e)},[e]),a(()=>("u">typeof L&&O.current.enterInteractiveMode(L),()=>{O.current.exitInteractiveMode()}),[L]),a(()=>{"u">typeof m&&O.current.updateSrc(m)},[m]),(0,n.useEffect)(()=>{let e=()=>{null==t||t(r.a.Ready)},i=()=>{null==t||t(r.a.DataReady)},n=()=>{null==t||t(r.a.DataFail)},o=()=>{O.current.currentState!==r.b.Playing&&(null==t||t(r.a.Complete))},a=()=>{null==t||t(r.a.LoopComplete)};return O.current.addEventListener("DOMLoaded",e),O.current.addEventListener("data_ready",i),O.current.addEventListener("data_failed",n),O.current.addEventListener("complete",o),O.current.addEventListener("loopComplete",a),()=>{O.current.removeEventListener("DOMLoaded",e),O.current.removeEventListener("data_ready",i),O.current.removeEventListener("data_failed",n),O.current.removeEventListener("complete",o),O.current.removeEventListener("loopComplete",a)}},[]),(0,n.useEffect)(()=>{switch(A){case r.b.Stopped:null==t||t(r.a.Stop);break;case r.b.Paused:null==t||t(r.a.Pause);break;case r.b.Playing:null==t||t(r.a.Play);break;case r.b.Frozen:null==t||t(r.a.Freeze);break;case r.b.Error:null==t||t(r.a.Error)}},[A]),(0,n.useEffect)(()=>{null==t||t(r.a.Frame,{frame:P,seeker:T})},[P]),n.createElement(_,{value:I},n.createElement("div",{className:`dotlottie-container main ${g?"controls":""} ${v}`,lang:"en",...y&&{"data-testid":y},...k},n.createElement("div",{ref:M,"data-name":`${x}`,role:"figure",className:`animation ${g?"controls":""}`,style:g?R:z,...y&&{"data-testid":"animation"}},A===r.b.Error&&n.createElement("div",{...y&&{"data-testid":"error"},className:"error"},"⚠️")),g))})}}]);

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.