PageSourceSearch

https://globalmcphackathon.com/_next/static/chunks/378.5e80878b6809ea0d.js

js globalmcphackathon.com collected 2026-10-05 23:13:16 UTC 99,714 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[378],{1077:(t,e,i)=>{"use strict";function r(){throw Error("Cycle detected")}function n(){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 r=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=r}}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 f(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 d(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 r=e.p;-1===e.i?(e.S.U(e),void 0!==r&&(r.n=e.n),void 0!==e.n&&(e.n.p=r)):i=e,e.S.n=e.r,void 0!==e.r&&(e.r=void 0),e=r}t.s=i}function v(t){f.call(this,void 0),this.x=t,this.s=void 0,this.g=u-1,this.f=4}function y(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,m(t),e}finally{o=i,n()}}}function m(t){for(var e=t.s;void 0!==e;e=e.n)e.S.U(e);t.x=void 0,t.s=void 0,y(t)}function g(t){if(o!==this)throw Error("Out-of-order effect");p(this),o=t,this.f&=-2,8&this.f&&m(this),n()}function _(t){this.x=t,this.u=void 0,this.s=void 0,this.o=void 0,this.f=32}f.prototype.h=function(){return!0},f.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)},f.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)}},f.prototype.subscribe=function(t){var e=this,i=function(){var i=e.value,r=32&this.f;this.f&=-33;try{t(i)}finally{this.f|=r}},r=new _(i);try{r.c()}catch(t){throw r.d(),t}return r.d.bind(r)},f.prototype.valueOf=function(){return this.value},f.prototype.toString=function(){return this.value+""},f.prototype.toJSON=function(){return this.value},f.prototype.peek=function(){return this.v},Object.defineProperty(f.prototype,"value",{get:function(){var t=h(this);return void 0!==t&&(t.i=this.i),this.v},set:function(t){if(o instanceof v&&function(){throw Error("Computed cannot have side-effects")}(),t!==this.v){l>100&&r(),this.v=t,this.i++,u++,s++;try{for(var e=this.t;void 0!==e;e=e.x)e.t.N()}finally{n()}}}}),(v.prototype=new f).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{d(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},v.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)}f.prototype.S.call(this,t)},v.prototype.U=function(t){if(void 0!==this.t&&(f.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)}},v.prototype.N=function(){if(!(2&this.f)){this.f|=6;for(var t=this.t;void 0!==t;t=t.x)t.t.N()}},v.prototype.peek=function(){if(this.h()||r(),16&this.f)throw this.v;return this.v},Object.defineProperty(v.prototype,"value",{get:function(){1&this.f&&r();var t=h(this);if(this.h(),void 0!==t&&(t.i=this.i),16&this.f)throw this.v;return this.v}}),_.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()}},_.prototype.S=function(){1&this.f&&r(),this.f|=1,this.f&=-9,y(this),d(this),s++;var t=o;return o=this,g.bind(this,t)},_.prototype.N=function(){2&this.f||(this.f|=2,this.o=a,a=this)},_.prototype.d=function(){this.f|=8,1&this.f||m(this)};var b=class{_state;_prevState;constructor(t){this._prevState=t,this._state=new f(t)}setState(t){this._prevState=this._state.value,this._state.value=t}subscribe(t){return this._state.subscribe(e=>t(e,this._prevState))}}},1234:(t,e,i)=>{"use strict";i.d(e,{a:()=>n});var r=i(1800);async function n(t,e){let[{DotLottieStateMachineManager:n}]=await Promise.all([i.e(250).then(i.bind(i,1250))]);if(!t.length)throw(0,r.h)("No state machines available inside this .lottie!");return new n(t,e)}},1309:(t,e,i)=>{"use strict";i.d(e,{a:()=>l,b:()=>u,c:()=>h,d:()=>f,e:()=>c,f:()=>d});
1var r=i(7613),n=i(1234),o=i(1077),a=i(1800),s={dependencies:{"@dotlottie/dotlottie-js":"^0.7.0","@preact/signals-core":"^1.2.3",howler:"^2.2.3","lottie-web":"^5.12.2",xstate:"^4.38.1"}},l=(t=>(t.Complete="complete",t.DataFail="data_fail",t.DataReady="data_ready",t.Error="error",t.Frame="frame",t.Freeze="freeze",t.LoopComplete="loopComplete",t.Pause="pause",t.Play="play",t.Ready="ready",t.Stop="stop",t.VisibilityChange="visibilityChange",t))(l||{}),u=(t=>(t.Completed="completed",t.Error="error",t.Fetching="fetching",t.Frozen="frozen",t.Initial="initial",t.Loading="loading",t.Paused="paused",t.Playing="playing",t.Ready="ready",t.Stopped="stopped",t))(u||{}),h=(t=>(t.Bounce="bounce",t.Normal="normal",t))(h||{}),f={autoplay:!1,direction:1,hover:!1,intermission:0,loop:!1,playMode:"normal",speed:1,defaultTheme:""},c={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},d=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 o.a(c);_light=!1;_worker=!1;_dotLottieLoader=new r.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,a.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:r,...n}=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%"},...r},...n},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,r;let n=()=>{this._hover&&"playing"!==this.currentState&&this.play()},o=()=>{this._hover&&"playing"===this.currentState&&this.stop()};null==(t=this._container)||t.removeEventListener("mouseenter",n),null==(e=this._container)||e.removeEventListener("mouseleave",o),null==(i=this._container)||i.addEventListener("mouseleave",o),null==(r=this._container)||r.addEventListener("mouseenter",n)}_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]:f[t]}_getPlaybackOptions(){let t={};for(let e in f)"u">typeof f[e]&&(t[e]=this._getOption(e));return t}_setPlayerState(t){var e,i,r;let n=t(this._getPlaybackOptions());try{a.a._parse(n)}catch{(0,a.j)(`Invalid PlaybackOptions, ${JSON.stringify(n,null,2)}`);return}"u">typeof n.defaultTheme&&(this._defaultTheme=n.defaultTheme),"u">typeof n.playMode&&(this._mode=n.playMode),"u">typeof n.intermission&&(this._intermission=n.intermission),"u">typeof n.hover&&(this._hover=n.hover),"u">typeof n.loop&&(this.clearCountTimer(),this._loop=n.loop,this._counter=0,null==(e=this._lottie)||e.setLoop("number"==typeof n.loop||n.loop)),"u">typeof n.speed&&(null==(i=this._lottie)||i.setSpeed(n.speed)),"u">typeof n.autoplay&&this._lottie&&(this._lottie.autoplay=n.autoplay),"u">typeof n.direction&&(null==(r=this._lottie)||r.setDirection(n.direction))}_getOptionsFromAnimation(t){let{id:e,...i}=t;return{...f,...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.setBackgroun
1d(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,a.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}goToAndPlay(t,e,i){if(!this._lottie||["loading"].includes(this._currentState))return void(0,a.j)("goToAndPlay() Can't use whilst loading.");this._lottie.goToAndPlay(t,e,i),this.setCurrentState("playing")}goToAndStop(t,e,i){if(!this._lottie||["loading"].includes(this._currentState))return void(0,a.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,a.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 r="%"===i[2]?this.totalFrames*Number(i[1])/100:i[1];void 0!==r&&(this._lottie.goToAndPlay(r,!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[r,n]=null!=t?t:[0,this.totalFrames-1],[o,s]=null!=e?e:[0,1];if(!this._areNumbersInRange(o,s))return void(0,a.i)("threshold values must be between 0 and 1");if(this.container){let{height:t,top:e}=this.container.getBoundingClientRect(),a=(window.innerHeight-e)/(window.innerHeight+t),l=r+Math.round((a-o)/(s-o)*(n-r));i&&i(a),this.goToAndStop(l,!0),(l>=n||a>=s)&&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,a.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,r;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==(r=this._container)||r.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,a.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={};
1for(let[i,r]of Object.entries(t))switch(i){case"autoplay":"boolean"==typeof r&&(e.autoplay=r);break;case"direction":"number"==typeof r&&[1,-1].includes(r)&&(e.direction=r);break;case"loop":("boolean"==typeof r||"number"==typeof r)&&(e.loop=r);break;case"playMode":"string"==typeof r&&["normal","bounce"].includes(r)&&(e.playMode=r);break;case"speed":"number"==typeof r&&(e.speed=r);break;case"themeColor":"string"==typeof r&&(e.themeColor=r);break;case"hover":"boolean"==typeof r&&(e.hover=r);break;case"intermission":"number"==typeof r&&(e.intermission=r);break;case"defaultTheme":"string"==typeof r&&(e.defaultTheme=r)}return this._requireValidPlaybackOptions(e),e}_requireAnimationsInTheManifest(){var t;if(!(null!=(t=this._dotLottieLoader.manifest)&&t.animations.length))throw(0,a.h)("No animations found in manifest.")}_requireAnimationsToBeLoaded(){if(0===this._dotLottieLoader.animationsMap.size)throw(0,a.h)("No animations have been loaded.")}async play(t,e){var i,r;if(["initial","loading"].includes(this._currentState))return void(0,a.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 r=null==(i=this._dotLottieLoader.manifest)?void 0:i.animations[t];if(!r)throw(0,a.h)("animation not found.");"function"==typeof e?await this.render({id:r.id,...e(this._getPlaybackOptions(),this._getOptionsFromAnimation(r))}):await this.render({id:r.id})}if("string"==typeof t){let i=null==(r=this._dotLottieLoader.manifest)?void 0:r.animations.find(e=>e.id===t);if(!i)throw(0,a.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){if(!this._lottie||["loading"].includes(this._currentState))return void(0,a.j)("playSegments() Can't use whilst loading.");this._lottie.playSegments(t,e),this.setCurrentState("playing")}resetSegments(t){if(!this._lottie||["loading"].includes(this._currentState))return void(0,a.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,a.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,a.h)("animation not found.");return e}throw(0,a.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,a.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,a.h)("No interactivity states are available.");if("undefined"===t)throw(0,a.h)("stateId is not specified.");this._stateMachineManager||(this._stateMachineManager=await (0,n.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,a.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,a.h)("animation not found.");this.play(e)}previous(t){if(!this._dotLottieLoader.manifest||!this._dotLottieLoader.manifest.animations.length)throw(0,a.h)("manifest not found.");if(this._inInteractiveMode)return void(0,a.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,a.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,a.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,a.h)("manifest not found.");if(this._inInteractiveMode)return void(0,a.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,a.h)("animation not found.");let i=this._dotLottieLoader.manifest.animations[(e+1)%this._dotLottieLoader.manifest.animations.length];if(!i||!i.id)throw(0,a.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(){if(!this._lottie||["loading"].includes(this._currentState))return void(0,a.j)("resize() Can't use whilst loading.");this._lottie.resize()}stop(){if(!this._lottie||["loading"].includes(this._currentState))return void(0,a.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(){if(!this._lottie||["loading"].includes(this._currentState))return void(0,a.j)("pause() Can't use whilst loading.");this.clearCountTimer(),this._lottie.pause(),this.setCurrentState("paused")}freeze(){if(!this._lottie||["loading"].includes(this._currentState))return void(0,a.j)("freeze() Can't use whilst loading.");"frozen"!==this.currentState&&(this._stateBeforeFreeze=this.currentState),this._lottie.pause(),this.setCurrentState("frozen")}unfreeze(){if(!this._lottie||["loading"].includes(this._currentState))return void(0,a.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`${s.dependencies["lottie-web"]}`}addEventListener(t,e){var i,r,n;this._listeners.has(t)||this._listeners.set(t,new Set),null==(i=this._listeners.get(t))||i.add(e);try{"complete"===t?null==(r=this._container)||r.addEventListener(t,e):null==(n=this._lottie)||n.addEventListener(t,e)}catch(t){(0,a.i)(`addEventListener ${t}`)}}getState(){var t,e,i,r,n,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!=(r=null==(i=this._lottie)?void 0:i.playDirection)?r:1,hover:this._hover,loop:this._loop||!1,playMode:this._mode,speed:null!=(o=null==(n=this._lottie)?void 0:n.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){if(this._requireValidAutoplay(t),!this._lottie||["loading"].includes(this._currentState))return void(0,a.j)("setAutoplay() Can't use whilst loading.");this._setPlayerState(()=>({autoplay:t})),this._userPlaybackOptions.autoplay=t}toggleAutoplay(){if(!this._lottie||["loading"].includes(this._currentState))return void(0,a.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(){if(!this._lottie||["loading"].includes(this._currentState))return void(0,a.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 r=!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),r=!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"))}}),r&&this.render()}removeEventListener(t,e){var i,r,n;try{"complete"===t?null==(i=this._container)||i.removeEventListener(t,e):null==(r=this._lottie)||r.removeEventListener(t,e),null==(n=this._listeners.get(t))||n.delete(e)}catch(t){(0,a.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,a.j)("addEventListeners() Can't use whilst loading.");for(let[e,i]of(this._lottie.addEventListener("enterFrame",()=>{var t;if(!this._lottie)return void(0,a.j)("enterFrame event : Lottie is undefined.");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()}),this._lottie.addEventListener("loopComplete",()=>{var t;if(!this._lottie)return void(0,a.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 r of i)null==(t=this._container)||t.addEventListener(e,r);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,a.m)(this._animation)){let{DotLottieAudio:t}=await i.e(539).then(i.bind(i,8539));return e=>{let i=new t({src:[e]});return this._audios.push(i),i}}return null}async render(t){var e,i,r,n,o,s,l,u,h,c,d,p,v,y,m,g,_,b;if(null!=t&&t.id)await this._setCurrentAnimation(t.id);else if(!this._animation)throw(0,a.h)("no animation selected");let w=null!=(e=f.loop)&&e,E=null!=(i=f.autoplay)&&i,C=null!=(r=f.playMode)?r:"normal",S=null!=(n=f.intermission)?n:0,L=null!=(o=f.hover)&&o,A=null!=(s=f.direction)?s:1,k=null!=(l=f.speed)?l:1,I=null!=(u=f.defaultTheme)?u:"";w=null!=(h=null==t?void 0:t.loop)?h:this._getOption("loop"),E=null!=(c=null==t?void 0:t.autoplay)?c:this._getOption("autoplay"),C=null!=(d=null==t?void 0:t.playMode)?d:this._getOption("playMode"),S=null!=(p=null==t?void 0:t.intermission)?p:this._getOption("intermission"),L=null!=(v=null==t?void 0:t.hover)?v:this._getOption("hover"),A=null!=(y=null==t?void 0:t.direction)?y:this._getOption("direction"),k=null!=(m=null==t?void 0:t.speed)?m:this._getOption("speed"),I=null!=(g=null==t?void 0:t.defaultTheme)?g:this._getOption("defaultTheme");let M={...this._animationConfig,autoplay:!L&&E,loop:"number"==typeof w||w,renderer:this._worker?"svg":null!=(_=this._animationConfig.renderer)?_:"svg"},[O,T,P]=await Promise.all([this._dotLottieLoader.getTheme(I),this._getLottiePlayerInstance(),this._getAudioFactory()]);if(O&&this._animation?(this._animation=(0,a.p)(this._animation),this._animation.slots=O):this._animation=await this._dotLottieLoader.getAnimation(null!=(b=this._currentAnimationId)?b:""),this._activeStateId&&!this._inInteractiveMode)return void this.enterInteractiveMode(this._activeStateId);this.destroy(),this._setPlayerState(()=>({defaultTheme:I,playMode:C,intermission:S,hover:L,loop:w})),P?this._lottie=T.loadAnimation({...M,container:this._container,animationData:this._animation,audioFactory:P}):this._lottie=T.loadAnimation({...M,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:A,speed:k})),E&&!L&&(!1===w&&-1===A?this.play():this.setCurrentState("playing")),this._updateTestData()}async _getLottiePlayerInstance(){var t;let e=null!=(t=this._animationConfig.renderer)?t:"svg",r;if(this._worker)return"svg"!==e&&(0,a.j)("Worker is only supported with svg renderer. Change or remove renderer prop to get rid of this warning."),(r=await i.e(951).then(i.bind(i,1323))).default;switch(e){case"svg":r=this._light?await i.e(284).then(i.bind(i,1040)):await i.e(492).then(i.bind(i,4687));break;
1case"canvas":r=this._light?await i.e(214).then(i.bind(i,4377)):await i.e(13).then(i.bind(i,4262));break;case"html":r=this._light?await i.e(459).then(i.bind(i,5937)):await i.e(805).then(i.bind(i,5141));break;default:throw Error(`Invalid renderer: ${e}`)}return r.default}_getActiveAnimationId(){var t,e,i,r;let n=this._dotLottieLoader.manifest;return null!=(r=null!=(i=null!=(t=this._activeAnimationId)?t:null==n?void 0:n.activeAnimationId)?i:null==(e=null==n?void 0:n.animations[0])?void 0:e.id)?r:void 0}async load(t){if("loading"===this._currentState)return void(0,a.j)("Loading in progress..");try{if(this.setCurrentState("loading"),"string"==typeof this._src)if((0,a.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,a.l)(this._src))this._dotLottieLoader.loadFromLottieJSON(this._src);else throw(0,a.h)("Invalid src provided");if(!this._dotLottieLoader.manifest)throw(0,a.h)("No manifest found");let e=this._getActiveAnimationId();if(!e)throw(0,a.h)("No active animation found");await this._setCurrentAnimation(e),await this.render(t)}catch(t){this.setCurrentState("error"),t instanceof Error&&(0,a.i)(`Error loading animation: ${t.message}`)}}setErrorState(t){this.setCurrentState("error"),(0,a.i)(t)}_requireValidDirection(t){if(-1!==t&&1!==t)throw(0,a.h)("Direction can only be -1 (backwards) or 1 (forwards)")}_requireValidIntermission(t){if(t<0||!Number.isInteger(t))throw(0,a.h)("intermission must be a positive number")}_requireValidLoop(t){if("number"==typeof t&&(!Number.isInteger(t)||t<0))throw(0,a.h)("loop must be a positive number or boolean")}_requireValidSpeed(t){if("number"!=typeof t)throw(0,a.h)("speed must be a number")}_requireValidBackground(t){if("string"!=typeof t)throw(0,a.h)("background must be a string")}_requireValidAutoplay(t){if("boolean"!=typeof t)throw(0,a.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)}}},1800:(t,e,i)=>{"use strict";i.d(e,{a:()=>tx,b:()=>tW,c:()=>tG,d:()=>t1,e:()=>t3,f:()=>t2,g:()=>t6,h:()=>t8,i:()=>t5,j:()=>t4,k:()=>t7,l:()=>t9,m:()=>et,n:()=>ee,o:()=>ei,p:()=>er});var r,n=i(8786).Buffer,o={},a=function(t,e,i,r,n){var a=new Worker(o[e]||(o[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 a.onmessage=function(t){var e=t.data,i=e.$e$;if(i){var r=Error(i[0]);r.code=i[1],r.stack=i[2],n(r,null)}else n(null,e)},a.postMessage(i,r),a},s=Uint8Array,l=Uint16Array,u=Int32Array,h=new s([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]),f=new s([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]),c=new s([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),d=function(t,e){for(var i=new l(31),r=0;r<31;++r)i[r]=e+=1<<t[r-1];for(var n=new u(i[30]),r=1;r<30;++r)for(var o=i[r];o<i[r+1];++o)n[o]=o-i[r]<<5|r;return{b:i,r:n}},p=d(h,2),v=p.b,y=p.r;v[28]=258,y[258]=28;var m=d(f,0).b,g=new l(32768);for(r=0;r<32768;++r)_=(61680&(_=(52428&(_=(43690&r)>>1|(21845&r)<<1))>>2|(13107&_)<<2))>>4|(3855&_)<<4,g[r]=((65280&_)>>8|(255&_)<<8)>>1;var _,r,b=function(t,e,i){for(var r,n=t.length,o=0,a=new l(e);o<n;++o)t[o]&&++a[t[o]-1];var s=new l(e);for(o=1;o<e;++o)s[o]=s[o-1]+a[o-1]<<1;if(i){r=new l(1<<e);var u=15-e;for(o=0;o<n;++o)if(t[o])for(var h=o<<4|t[o],f=e-t[o],c=s[t[o]-1]++<<f,d=c|(1<<f)-1;c<=d;++c)r[g[c]>>u]=h}else for(r=new l(n),o=0;o<n;++o)t[o]&&(r[o]=g[s[t[o]-1]++]>>15-t[o]);return r},w=new s(288);for(r=0;r<144;++r)w[r]=8;for(r=144;r<256;++r)w[r]=9;for(r=256;r<280;++r)w[r]=7;for(r=280;r<288;++r)w[r]=8;var r,E=new s(32);for(r=0;r<32;++r)E[r]=5;var C=b(w,9,1),S=b(E,5,1),L=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 r=e/8|0;return(t[r]|t[r+1]<<8)>>(7&e)&i},k=function(t,e){var i=e/8|0;return(t[i]|t[i+1]<<8|t[i+2]<<16)>>(7&e)},I=function(t){return(t+7)/8|0}
vendor: 4,205 bytes, line 1
1,M=function(t,e,i){return(null==e||e<0)&&(e=0),(null==i||i>t.length)&&(i=t.length),new s(t.subarray(e,i))},O=["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"],T=function(t,e,i){var r=Error(e||O[t]);if(r.code=t,Error.captureStackTrace&&Error.captureStackTrace(r,T),!i)throw r;return r},P=function(t,e,i,r){var n=t.length,o=r?r.length:0;if(!n||e.f&&!e.l)return i||new s(0);var a=!i,l=a||2!=e.i,u=e.i;a&&(i=new s(3*n));var d=function(t){var e=i.length;if(t>e){var r=new s(Math.max(2*e,t));r.set(i),i=r}},p=e.f||0,y=e.p||0,g=e.b||0,_=e.l,w=e.d,E=e.m,O=e.n,P=8*n;do{if(!_){p=A(t,y,1);var x=A(t,y+1,3);if(y+=3,x)if(1==x)_=C,w=S,E=9,O=5;else if(2==x){var j=A(t,y,31)+257,B=A(t,y+10,15)+4,N=j+A(t,y+5,31)+1;y+=14;for(var U=new s(N),R=new s(19),D=0;D<B;++D)R[c[D]]=A(t,y+3*D,7);y+=3*B;for(var F=L(R),z=(1<<F)-1,V=b(R,F,1),D=0;D<N;){var $=V[A(t,y,z)];y+=15&$;var q=$>>4;if(q<16)U[D++]=q;else{var J=0,H=0;for(16==q?(H=3+A(t,y,3),y+=2,J=U[D-1]):17==q?(H=3+A(t,y,7),y+=3):18==q&&(H=11+A(t,y,127),y+=7);H--;)U[D++]=J}}var Z=U.subarray(0,j),W=U.subarray(j);E=L(Z),O=L(W),_=b(Z,E,1),w=b(W,O,1)}else T(1);else{var q=I(y)+4,Y=t[q-4]|t[q-3]<<8,G=q+Y;if(G>n){u&&T(0);break}l&&d(g+Y),i.set(t.subarray(q,G),g),e.b=g+=Y,e.p=y=8*G,e.f=p;continue}if(y>P){u&&T(0);break}}l&&d(g+131072);for(var X=(1<<E)-1,K=(1<<O)-1,Q=y;;Q=y){var J=_[k(t,y)&X],tt=J>>4;if((y+=15&J)>P){u&&T(0);break}if(J||T(2),tt<256)i[g++]=tt;else if(256==tt){Q=y,_=null;break}else{var te=tt-254;if(tt>264){var D=tt-257,ti=h[D];te=A(t,y,(1<<ti)-1)+v[D],y+=ti}var tr=w[k(t,y)&K],tn=tr>>4;tr||T(3),y+=15&tr;var W=m[tn];if(tn>3){var ti=f[tn];W+=k(t,y)&(1<<ti)-1,y+=ti}if(y>P){u&&T(0);break}l&&d(g+131072);var to=g+te;if(g<W){var ta=o-W,ts=Math.min(W,to);for(ta+g<0&&T(3);g<ts;++g)i[g]=r[ta+g]}for(;g<to;++g)i[g]=i[g-W]}}e.l=_,e.p=Q,e.b=g,e.f=p,_&&(p=1,e.m=E,e.d=w,e.n=O)}while(!p);return g!=i.length&&a?M(i,0,g):i.subarray(0,g)},x=new s(0),j=function(t,e){var i={};for(var r in t)i[r]=t[r];for(var r in e)i[r]=e[r];return i},B=function(t,e,i){for(var r=t(),n=t.toString(),o=n.slice(n.indexOf("[")+1,n.lastIndexOf("]")).replace(/\s+/g,"").split(","),a=0;a<r.length;++a){var s=r[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 f in e+=u,s.prototype)e+=";"+l+".prototype."+f+"="+s.prototype[f].toString();else e+=u}else i[l]=s}return e},N=[],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},R=function(t,e,i,r){if(!N[i]){for(var n="",o={},s=t.length-1,l=0;l<s;++l)n=B(t[l],n,o);N[i]={c:B(t[s],n,o),e:o}}var u=j({},N[i].e);return a(N[i].c+";onmessage=function(e){for(var k in e.data)self[k]=e.data[k];onmessage="+e.toString()+"}",i,u,U(u),r)},D=function(){return[s,l,u,h,f,c,v,m,C,S,g,O,b,L,A,k,I,M,T,P,H,F,z]},F=function(t){return postMessage(t,[t.buffer])},z=function(t){return t&&{out:t.size&&new s(t.size),dictionary:t.dictionary}},V=function(t,e,i,r,n,o){var a=R(i,r,n,function(t,e){a.terminate(),o(t,e)});return a.postMessage([t,e],e.consume?[t.buffer]:[]),function(){a.terminate()}},$=function(t,e){return t[e]|t[e+1]<<8},q=function(t,e){return(t[e]|t[e+1]<<8|t[e+2]<<16|t[e+3]<<24)>>>0},J=function(t,e){return q(t,e)+0x100000000*q(t,e+4)};function H(t,e){return P(t,{i:2},e&&e.out,e&&e.dictionary)}var Z="u">typeof TextDecoder&&new TextDecoder;try{Z.decode(x,{stream:!0})}catch{}var W=function(t){for(var e="",i=0;;){var r=t[i++],n=(r>127)+(r>223)+(r>239);if(i+n>t.length)return{s:e,r:M(t,i-1)};n?3==n?e+=String.fromCharCode(55296|(r=((15&r)<<18|(63&t[i++])<<12|(63&t[i++])<<6|63&t[i++])-65536)>>10,56320|1023&r):1&n?e+=String.fromCharCode((31&r)<<6|63&t[i++]):e+=String.fromCharCode((15&r)<<12|(63&t[i++])<<6|63&t[i++]):e+=String.fromCharCode(r)}};function Y(t,e){if(e){for(var i="",r=0;r<t.length;r+=16384)i+=String.fromCharCode.apply(null,t.subarray(r,r+16384));return i}if(Z)return Z.decode(t);var n=W(t),o=n.s,i=n.r;return i.length&&T(8),o}
1var G=function(t,e,i){var r=$(t,e+28),n=Y(t.subarray(e+46,e+46+r),!(2048&$(t,e+8))),o=e+46+r,a=q(t,e+20),s=i&&0xffffffff==a?X(t,o):[a,q(t,e+24),q(t,e+42)],l=s[0],u=s[1],h=s[2];return[$(t,e+10),l,u,n,o+$(t,e+30)+$(t,e+32),h]},X=function(t,e){for(;1!=$(t,e);e+=4+$(t,e+2));return[J(t,e+12),J(t,e+4),J(t,e+20)]},K="function"==typeof queueMicrotask?queueMicrotask:"function"==typeof setTimeout?setTimeout:function(t){t()},Q=class extends Error{issues;constructor(t){super(t[0].message),this.name="ValiError",this.issues=t}};function tt(t,e,i,r){if(!e||!e.length)return{output:t};let n,o,a=t;for(let t of e){let e=t(a);if(e.issue){var s,l;let t=(s=n=n||{reason:r,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],n.abortEarly||n.abortPipeEarly)break}else a=e.output}return o?{issues:o}:{output:a}}function te(t,e){return t&&"string"!=typeof t?[void 0,t]:[t,e]}function ti(t,e,i,r,n,o){return{issues:[{reason:e,validation:i,origin:(null==t?void 0:t.origin)||"value",message:r,input:n,issues:o,abortEarly:null==t?void 0:t.abortEarly,abortPipeEarly:null==t?void 0:t.abortPipeEarly}]}}function tr(t,e,i){let[r,n]=te(e,i);return{schema:"array",array:{item:t},async:!1,_parse(e,i){if(!Array.isArray(e))return ti(i,"type","array",r||"Invalid type",e);let o,a=[];for(let r=0;r<e.length;r++){let n=e[r],s=t._parse(n,i);if(s.issues){let t={schema:"array",input:e,key:r,value:n};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}:tt(a,n,i,"array")}}}function tn(t,e){let[i,r]=te(t,e);return{schema:"boolean",async:!1,_parse:(t,e)=>"boolean"!=typeof t?ti(e,"type","boolean",i||"Invalid type",t):tt(t,r,e,"boolean")}}function to(t,e){return{schema:"literal",literal:t,async:!1,_parse:(i,r)=>i!==t?ti(r,"type","literal",e||"Invalid type",i):{output:i}}}function ta(t,e){let[i,r]=te(t,e);return{schema:"number",async:!1,_parse:(t,e)=>"number"!=typeof t?ti(e,"type","number",i||"Invalid type",t):tt(t,r,e,"number")}}function ts(t,e,i){let[r,n]=te(e,i),o;return{schema:"object",object:t,async:!1,_parse(e,i){if(!e||"object"!=typeof e)return ti(i,"type","object",r||"Invalid type",e);o=o||Object.entries(t);let a,s={};for(let[t,r]of o){let n=e[t],o=r._parse(n,i);if(o.issues){let r={schema:"object",input:e,key:t,value:n};for(let t of o.issues)t.path?t.path.unshift(r):t.path=[r],null==a||a.push(t);if(a||(a=o.issues),null!=i&&i.abortEarly)break}else s[t]=o.output}return a?{issues:a}:tt(s,n,i,"object")}}}function tl(t){return{schema:"optional",wrapped:t,async:!1,_parse:(e,i)=>void 0===e?{output:e}:t._parse(e,i)}}function tu(t,e){let[i,r]=te(t,e);return{schema:"string",async:!1,_parse:(t,e)=>"string"!=typeof t?ti(e,"type","string",i||"Invalid type",t):tt(t,r,e,"string")}}var th=["__proto__","prototype","constructor"];function tf(t,e,i,r){let[n,o,a]=function(t,e,i){if("object"==typeof t&&!Array.isArray(t)){let[r,n]=te(e,i);return[t,r,n]}let[r,n]=te(t,e);return[void 0,r,n]}(e,i,r);return{schema:"tuple",tuple:{items:t,rest:n},async:!1,_parse(e,i){if(!Array.isArray(e)||!n&&t.length!==e.length||n&&t.length>e.length)return ti(i,"type","tuple",o||"Invalid type",e);let r,s=[];for(let n=0;n<t.length;n++){let o=e[n],a=t[n]._parse(o,i);if(a.issues){let t={schema:"tuple",input:e,key:n,value:o};for(let e of a.issues)e.path?e.path.unshift(t):e.path=[t],null==r||r.push(e);if(r||(r=a.issues),null!=i&&i.abortEarly)break}else s[n]=a.output}if(n)for(let o=t.length;o<e.length;o++){let t=e[o],a=n._parse(t,i);if(a.issues){let n={schema:"tuple",input:e,key:o,value:t};for(let t of a.issues)t.path?t.path.unshift(n):t.path=[n],null==r||r.push(t);if(r||(r=a.issues),null!=i&&i.abortEarly)break}else s[o]=a.output}return r?{issues:r}:tt(s,a,i,"tuple")}}}function tc(t,e){return{schema:"union",union:t,async:!1,_parse(i,r){let n,o;for(let e of t){let t=e._parse(i,r);if(t.issues)if(n)for(let e of t.issues)n.push(e);else n=t.issues;else{o=[t.output];break}}return o?{output:o[0]}:ti(r,"type","union",e||"Invalid type",i,n)}}}function td(t,e,i){let[r,n]=te(e,i);return ts(t.reduce((t,e)=>({...t,...e.object}),{}),r,n)}function tp(t,e){return i=>i>t?{issue:{validation:"max_value",message:e||"Invalid value",input:i}}:{output:i}}function tv(t,e){return i=>i<t?{issue:{validation:"min_value",message:e||"Invalid value",input:i}}:{output:i}}var ty=Object.create,tm=Object.defineProperty,tg=Object.getOwnPropertyDescriptor,t_=Object.getOwnPropertyNames,tb=Object.getPrototypeOf,tw=Object.prototype.hasOwnProperty,tE=(t,e)=>function(){return e||(0,t[t_(t)[0]])((e={exports:{}}).exports,e),e.exports},tC=tE({"../../node_modules/.pnpm/@[email protected]/node_modules/@rgba-image/copy/dist/index.js"(t){Object.defineProperty(t,"__esMo
1dule",{value:!0}),t.copy=void 0,t.copy=(t,e,i=0,r=0,n=t.width-i,o=t.height-r,a=0,s=0)=>{if(i|=0,r|=0,o|=0,a|=0,s|=0,(n|=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=r+h;if(o<0||o>=t.height)continue;let f=s+h;if(!(f<0||f>=e.height))for(let r=0;r<n;r++){let n=i+r;if(n<0||n>=t.width)continue;let s=a+r;if(s<0||s>=e.width)continue;let h=o*t.width+n;u[f*e.width+s]=l[h]}}}}}),tS=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(r,n,o)=>{if(void 0===r||void 0===n)throw TypeError("Not enough arguments");if(r=Math.floor(r),n=Math.floor(n),isNaN(r)||r<1||isNaN(n)||n<1)throw TypeError("Index or size is negative or greater than the allowed amount");let a=r*n*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<n;i++)for(let n=0;n<r;n++){let a=(i*r+n)*e;for(let i=0;i<e;i++)o[a+i]=t[i]}return{get width(){return r},get height(){return n},get data(){return o}}}throw TypeError("Expected data to be Uint8ClampedArray or undefined")}},t.createImage=t.CreateImageFactory()}}),tL=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,r,n,o,a)=>{let s=a?2:3,l=1/n,u=Math.min(1,n),h=s/u,f=new Int16Array((Math.floor((h+1)*2)+2)*r),c=0;for(let n=0;n<r;n++){let a=(n+.5)*l+o,d=Math.max(0,Math.floor(a-h)),p=Math.min(t-1,Math.ceil(a+h)),v=p-d+1,y=new Float32Array(v),m=new Int16Array(v),g=0,_=0;for(let t=d;t<=p;t++){let i=e((t+.5-a)*u,s);g+=i,y[_]=i,_++}let b=0;for(let t=0;t<y.length;t++){let e=y[t]/g;b+=e,m[t]=i(e)}m[r>>1]+=i(1-b);let w=0;for(;w<m.length&&0===m[w];)w++;let E=m.length-1;for(;E>0&&0===m[E];)E--;let C=d+w,S=E-w+1;f[c++]=C,f[c++]=S,f.set(m.subarray(w,E+1),c),c+=S}return f}}}),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,r,n,o)=>{let a=0,s=0;for(let l=0;l<r;l++){let u=0;for(let i=0;i<n;i++){let i=a+4*o[u++]|0,n=0,l=0,h=0,f=0;for(let e=o[u++];e>0;e--){let e=o[u++];n=n+e*t[i]|0,l=l+e*t[i+1]|0,h=h+e*t[i+2]|0,f=f+e*t[i+3]|0,i=i+4|0}e[s]=n+8192>>14,e[s+1]=l+8192>>14,e[s+2]=h+8192>>14,e[s+3]=f+8192>>14,s=s+4*r|0}s=(l+1)*4|0,a=(l+1)*i*4|0}}}}),tk=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=tC(),i=tS(),r=tL(),n=tA(),o=(t,e,i=!1)=>{let o=e.width/t.width,a=e.height/t.height,s=r.filters(t.width,e.width,o,0,i),l=r.filters(t.height,e.height,a,0,i),u=new Uint8ClampedArray(e.width*t.height*4);n.convolve(t.data,u,t.width,t.height,e.width,s),n.convolve(u,e.data,t.height,e.width,e.height,l)};t.lanczos=(t,r,n=0,a=0,s=t.width-n,l=t.height-a,u=0,h=0,f=r.width-u,c=r.height-h)=>{if(n|=0,a|=0,l|=0,u|=0,h|=0,f|=0,c|=0,(s|=0)<=0||l<=0||f<=0||c<=0)return;if(0===n&&0===a&&s===t.width&&l===t.height&&0===u&&0===h&&f===r.width&&c===r.height)return void o(t,r);let d=i.createImage(s,l),p=i.createImage(f,c);e.copy(t,d,n,a),o(d,p),e.copy(p,r,0,0,p.width,p.height,u,h)},t.lanczos2=(t,r,n=0,a=0,s=t.width-n,l=t.height-a,u=0,h=0,f=r.width-u,c=r.height-h)=>{if(n|=0,a|=0,l|=0,u|=0,h|=0,f|=0,c|=0,(s|=0)<=0||l<=0||f<=0||c<=0)return;if(0===n&&0===a&&s===t.width&&l===t.height&&0===u&&0===h&&f===r.width&&c===r.height)return void o(t,r,!0);let d=i.createImage(s,l),p=i.createImage(f,c);e.copy(t,d,n,a),o(d,p,!0),e.copy(p,r,0,0,p.width,p.height,u,h)}}}),tI=(t=>(t.Bounce="bounce",t.Normal="normal",t))(tI||{}),tM=function(t,e){return{schema:"native_enum",nativeEnum:t,async:!1,_parse:(e,i)=>Object.values(t).includes(e)?{output:e}:ti(i,"type","native_enum","Invalid type",e)}}(tI),tO=ts({autoplay:tl(tn()),defaultTheme:tl(tu()),direction:tl(tc([to(1),to(-1)])),hover:tl(tn()),id:tu(),intermission:tl(ta()),loop:tl(tc([tn(),ta()])),playMode:tl(tM),speed:tl(ta()),themeColor:tl(tu())}),tT=ts({animations:tr(tu()),id:tu()}),tP=ts({activeAnimationId:tl(tu()),animations:tr(tO),author:tl(tu()),custom:tl(function(t,e,
1i,r){let[n,o,a,s]=function(t,e,i,r){if("object"==typeof e&&!Array.isArray(e)){let[n,o]=te(i,r);return[t,e,n,o]}let[n,o]=te(e,i);return[tu(),t,n,o]}(t,e,void 0,void 0);return{schema:"record",record:{key:n,value:o},async:!1,_parse(t,e){if(!t||"object"!=typeof t)return ti(e,"type","record",a||"Invalid type",t);let i,r={};for(let[a,s]of Object.entries(t))if(!th.includes(a)){let l,u=n._parse(a,{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:a,value:s},u.issues))e.path=[l],null==i||i.push(e);if(i||(i=u.issues),null!=e&&e.abortEarly)break}let h=o._parse(s,e);if(h.issues){for(let e of(l=l||{schema:"record",input:t,key:a,value:s},h.issues))e.path?e.path.unshift(l):e.path=[l],null==i||i.push(e);if(i||(i=h.issues),null!=e&&e.abortEarly)break}u.issues||h.issues||(r[u.output]=h.output)}return i?{issues:i}:tt(r,s,e,"record")}}}(tu(),function(t=[]){return{schema:"any",async:!1,_parse:(e,i)=>tt(e,t,i,"any")}}())),description:tl(tu()),generator:tl(tu()),keywords:tl(tu()),revision:tl(ta()),themes:tl(tr(tT)),states:tl(tr(tu())),version:tl(tu())}),tx=function(t,e,i,r){let[n,o]=te(void 0,void 0);return ts(Object.entries(t.object).reduce((t,[i,r])=>e.includes(i)?t:{...t,[i]:r},{}),n,o)}(tO,["id"]),tj=ts({state:tu()}),tB=td([tj,ts({ms:ta()})]),tN=td([tj,ts({count:ta()})]),tU=td([tj,ts({threshold:tl(tr(ta([tv(0),tp(1)])))})]),tR=ts({onAfter:tl(tB),onClick:tl(tj),onComplete:tl(tj),onEnter:tl(tN),onMouseEnter:tl(tj),onMouseLeave:tl(tj),onShow:tl(tU)}),tD=td([tx,ts({playOnScroll:tl(tf([ta([tv(0),tp(1)]),ta([tv(0),tp(1)])])),segments:tl(tc([tf([ta(),ta()]),tu()]))})]);td([tR,ts({animationId:tl(tu()),playbackSettings:tD})]);var tF={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"},tz={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]},tV=class extends Error{constructor(t,e){super(t),((t,e,i)=>((t,e,i)=>e in t?tm(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i)(t,"symbol"!=typeof e?e+"":e,i))(this,"code"),this.name="[dotlottie-js]",this.code=e}};function t$(t){let e;if(typeof window>"u")e=n.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 r=t.substring(t.indexOf(",")+1),o=new Uint8Array((e=typeof window>"u"?n.from(r,"base64").toString("binary"):atob(r)).length);for(let t=0;t<e.length;t+=1)o[t]=e.charCodeAt(t);for(let t in i=Array.from(o.subarray(0,8)),tz){let e=tz[t];if(e&&i.every((t,i)=>t===e[i]))return tF[t]}return null})(e)};base64,${e}`}function tq(t){return"w"in t&&"h"in t&&!("xt"in t)&&"p"in t}function tJ(t){return!("h"in t)&&!("w"in t)&&"p"in t&&"e"in t&&"u"in t&&"id"in t}async function tH(t,e=()=>!0){if(!(t instanceof Uint8Array))throw new tV("DotLottie not found","INVALID_DOTLOTTIE");return await new Promise((i,r)=>{!function(t,e,i){i||(i=e,e={}),"function"!=typeof i&&T(7);var r=[],n=function(){for(var t=0;t<r.length;++t)r[t]()},o={},a=function(t,e){K(function(){i(t,e)})};K(function(){a=i});for(var l=t.length-22;0x6054b50!=q(t,l);--l)if(!l||t.length-l>65558)return a(T(13,0,1),null),n;var u=$(t,l+8);if(u){var h=u,f=q(t,l+16),c=0xffffffff==f||65535==h;if(c){var d=q(t,l-12);(c=0x6064b50==q(t,d))&&(h=u=q(t,d+32),f=q(t,d+48))}for(var p=e&&e.filter,v=0;v<h;++v)!function(e){var i=G(t,f,c),l=i[0],h=i[1],d=i[2],v=i[3],y=i[4],m=i[5],g=m+30+$(t,m+26)+$(t,m+28);f=y;var _=function(t,e){t?(n(),a(t,null)):(e&&(o[v]=e),--u||a(null,o))};if(!p||p({name:v,size:h,originalSize:d,compression:l}))if(l)if(8==l){var b,w,E=t.subarray(g,g+h);if(h<32e4)try{_(null,H(E,{out:new s(d)}))}catch(t){_(t,null)}else r.push((b={size:d},(w=_)||(w=b,b={}),"function"!=typeof w&&T(7),V(E,b,[D],function(t){return F(H(t.data[0],z(t.data[1])))},1,w)))}else _(T(14,"unknown compression type "+l,1),null);else _(null,M(t,g,g+h));else _(null,null)}(0)}else a(null,{})}(t,{filter:e},(t,e)=>{t&&r(t),i(e)})})}
1async function tZ(t,e,i){if(!(t instanceof Uint8Array))throw new tV("DotLottie not found","INVALID_DOTLOTTIE");return(await tH(t,t=>t.name===e&&(!i||i(t))))[e]}async function tW(t){let e="manifest.json",i=(await tH(t,t=>t.name===e))[e];if(!(typeof i>"u"))return JSON.parse(Y(i,!1))}async function tY(t){var e;let i;if(!(t instanceof Uint8Array))return{success:!1,error:"DotLottie not found"};let r=await tW(t);if(typeof r>"u")return{success:!1,error:"Invalid .lottie file, manifest.json is missing"};let n=(i=tP._parse(r,void 0)).issues?{success:!1,error:new Q(i.issues),issues:i.issues}:{success:!0,data:i.output,output:i.output};return n.success?{success:!0}:{success:!1,error:`Invalid .lottie file, manifest.json structure is invalid, ${JSON.stringify((Array.isArray(e=n.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 tG(t){let e=new Uint8Array(t),i=await tY(e);if(i.error)throw new tV(i.error,"INVALID_DOTLOTTIE");return e}async function tX(t,e){let i=await tH(t,t=>{let i=t.name.replace("audio/","");return t.name.startsWith("audio/")&&(!e||e({...t,name:i}))}),r={};for(let t in i){let e=i[t];e instanceof Uint8Array&&(r[t.replace("audio/","")]=t$(e))}return r}async function tK(t,e){var i;let r=new Map;for(let[t,n]of Object.entries(e))for(let e of n.assets||[])if(tJ(e)){let n=e.p;r.has(n)||r.set(n,new Set),null==(i=r.get(n))||i.add(t)}let n=await tX(t,t=>r.has(t.name));for(let[t,i]of r){let r=n[t];if(r)for(let n of i){let i=e[n];for(let e of(null==i?void 0:i.assets)||[])tJ(e)&&e.p===t&&(e.p=r,e.u="",e.e=1)}}}async function tQ(t,e){let i=await tH(t,t=>{let i=t.name.replace("images/","");return t.name.startsWith("images/")&&(!e||e({...t,name:i}))}),r={};for(let t in i){let e=i[t];e instanceof Uint8Array&&(r[t.replace("images/","")]=t$(e))}return r}async function t0(t,e){var i;let r=new Map;for(let[t,n]of Object.entries(e))for(let e of n.assets||[])if(tq(e)){let n=e.p;r.has(n)||r.set(n,new Set),null==(i=r.get(n))||i.add(t)}let n=await tQ(t,t=>r.has(t.name));for(let[t,i]of r){let r=n[t];if(r)for(let n of i){let i=e[n];for(let e of(null==i?void 0:i.assets)||[])tq(e)&&e.p===t&&(e.p=r,e.u="",e.e=1)}}}async function t1(t,e,{inlineAssets:i}={},r){let n=`animations/${e}.json`,o=await tZ(t,n,r);if(typeof o>"u")return;let a=JSON.parse(Y(o,!1));if(!i)return a;let s={[e]:a};return await t0(t,s),await tK(t,s),a}async function t3(t,e,i){let r=`themes/${e}.json`,n=await tZ(t,r,i);if(!(typeof n>"u"))return JSON.parse(Y(n,!1))}async function t2(t,e){let i={},r=await tH(t,t=>{let i=t.name.replace("states/","").replace(".json","");return t.name.startsWith("states/")&&(!e||e({...t,name:i}))});for(let t in r){let e=r[t];e instanceof Uint8Array&&(i[t.replace("states/","").replace(".json","")]=Y(e,!1))}return i}async function t6(t,e,i){let r=`states/${e}.json`,n=await tZ(t,r,i);return typeof n>"u"?void 0:JSON.parse(Y(n,!1))}function t8(t,e="dotLottie-common"){return Error(`[${e}]: ${t}`)}function t5(t,e="dotLottie-common",...i){console.error(`[${e}]:`,t,...i)}function t4(t,e="dotLottie-common",...i){console.warn(`[${e}]:`,t,...i)}function t7(t=""){let e=t.trim(),i=e.lastIndexOf("/"),r=e.substring(i+1),n=r.indexOf(".");return -1!==n?r.substring(0,n):r}function t9(t){return["v","ip","op","layers","fr","w","h"].every(e=>Object.prototype.hasOwnProperty.call(t,e))}function et(t){let e=t.assets;return!!e&&e.some(t=>tJ(t))}function ee(t){try{let e=JSON.parse(t);return t9(e)}catch{return!1}}function ei(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 er(t){return JSON.parse(JSON.stringify(t))}((t,e,i)=>(i=null!=t?ty(tb(t)):{},((t,e,i,r)=>{if(e&&"object"==typeof e||"function"==typeof e)for(let n of t_(e))tw.call(t,n)||n===i||tm(t,n,{get:()=>e[n],enumerable:!(r=tg(e,n))||r.enumerable})})(!e&&t&&t.__esModule?i:tm(i,"default",{value:t,enumerable:!0}),t)))(tk())},7613:(t,e,i)=>{"use strict";i.d(e,{a:()=>n});var r=i(1800),n=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,r.l)(i))throw Error(`Invalid lottie JSON at ${t}`);let n=(0,r.k)(t);this._animationsMap.set(n,i),this._manifest={activeAnimationId:n,animations:[{id:n}]}}
1else{this._dotLottie=await (0,r.c)(await e.arrayBuffer());let t=await (0,r.b)(this._dotLottie);if(!t)throw Error("Manifest not found");this._manifest=t}}loadFromLottieJSON(t){if(!(0,r.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,r.c)(t);let e=await (0,r.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,r.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,r.e)(this._dotLottie,t);return e&&this._themeMap.set(t,e),e}async getStateMachines(){if(!this._dotLottie)return;let t=await (0,r.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,r.g)(this._dotLottie,t);return e&&this._stateMachinesMap.set(e.descriptor.id,e),e}}},8668:(t,e,i)=>{"use strict";i.d(e,{a:()=>u,b:()=>h});var r=Object.create,n=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?r(s(t)):{},((t,e,i,r)=>{if(e&&"object"==typeof e||"function"==typeof e)for(let s of a(e))l.call(t,s)||s===i||n(t,s,{get:()=>e[s],enumerable:!(r=o(e,s))||r.enumerable});return t})(!e&&t&&t.__esModule?i:n(i,"default",{value:t,enumerable:!0}),t))},8786:t=>{!function(){var e={675:function(t,e){"use strict";e.byteLength=function(t){var e=l(t),i=e[0],r=e[1];return(i+r)*3/4-r},e.toByteArray=function(t){var e,i,o=l(t),a=o[0],s=o[1],u=new n((a+s)*3/4-s),h=0,f=s>0?a-4:a;for(i=0;i<f;i+=4)e=r[t.charCodeAt(i)]<<18|r[t.charCodeAt(i+1)]<<12|r[t.charCodeAt(i+2)]<<6|r[t.charCodeAt(i+3)],u[h++]=e>>16&255,u[h++]=e>>8&255,u[h++]=255&e;return 2===s&&(e=r[t.charCodeAt(i)]<<2|r[t.charCodeAt(i+1)]>>4,u[h++]=255&e),1===s&&(e=r[t.charCodeAt(i)]<<10|r[t.charCodeAt(i+1)]<<4|r[t.charCodeAt(i+2)]>>2,u[h++]=e>>8&255,u[h++]=255&e),u},e.fromByteArray=function(t){for(var e,r=t.length,n=r%3,o=[],a=0,s=r-n;a<s;a+=16383)o.push(function(t,e,r){for(var n,o=[],a=e;a<r;a+=3)n=(t[a]<<16&0xff0000)+(t[a+1]<<8&65280)+(255&t[a+2]),o.push(i[n>>18&63]+i[n>>12&63]+i[n>>6&63]+i[63&n]);return o.join("")}(t,a,a+16383>s?s:a+16383));return 1===n?o.push(i[(e=t[r-1])>>2]+i[e<<4&63]+"=="):2===n&&o.push(i[(e=(t[r-2]<<8)+t[r-1])>>10]+i[e>>4&63]+i[e<<2&63]+"="),o.join("")};for(var i=[],r=[],n="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,s=o.length;a<s;++a)i[a]=o[a],r[o.charCodeAt(a)]=a;function l(t){var e=t.length;if(e%4>0)throw Error("Invalid string. Length must be a multiple of 4");var i=t.indexOf("=");-1===i&&(i=e);var r=i===e?0:4-i%4;return[i,r]}r[45]=62,r[95]=63},72:function(t,e,i){"use strict";var r=i(675),n=i(783),o="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function a(t){if(t>0x7fffffff)throw RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,s.prototype),e}function s(t,e,i){if("number"==typeof t){if("string"==typeof e)throw TypeError('The "string" argument must be of type string. Received type number');return h(t)}return l(t,e,i)}function l(t,e,i){if("string"==typeof t){var r=t,n=e;if(("string"!=typeof n||""===n)&&(n="utf8"),!s.isEncoding(n))throw TypeError("Unknown encoding: "+n);var o=0|d(r,n),l=a(o),u=l.write(r,n);return u!==o&&(l=l.slice(0,u)),l}if(ArrayBuffer.isView(t))return f(t);if(null==t)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);
vendor: 17,150 bytes, line 1
1if(M(t,ArrayBuffer)||t&&M(t.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(M(t,SharedArrayBuffer)||t&&M(t.buffer,SharedArrayBuffer)))return function(t,e,i){var r;if(e<0||t.byteLength<e)throw RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(i||0))throw RangeError('"length" is outside of buffer bounds');return Object.setPrototypeOf(r=void 0===e&&void 0===i?new Uint8Array(t):void 0===i?new Uint8Array(t,e):new Uint8Array(t,e,i),s.prototype),r}(t,e,i);if("number"==typeof t)throw TypeError('The "value" argument must not be of type number. Received type number');var h=t.valueOf&&t.valueOf();if(null!=h&&h!==t)return s.from(h,e,i);var p=function(t){if(s.isBuffer(t)){var e=0|c(t.length),i=a(e);return 0===i.length||t.copy(i,0,0,e),i}return void 0!==t.length?"number"!=typeof t.length||function(t){return t!=t}(t.length)?a(0):f(t):"Buffer"===t.type&&Array.isArray(t.data)?f(t.data):void 0}(t);if(p)return p;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof t[Symbol.toPrimitive])return s.from(t[Symbol.toPrimitive]("string"),e,i);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}function u(t){if("number"!=typeof t)throw TypeError('"size" argument must be of type number');if(t<0)throw RangeError('The value "'+t+'" is invalid for option "size"')}function h(t){return u(t),a(t<0?0:0|c(t))}function f(t){for(var e=t.length<0?0:0|c(t.length),i=a(e),r=0;r<e;r+=1)i[r]=255&t[r];return i}e.Buffer=s,e.SlowBuffer=function(t){return+t!=t&&(t=0),s.alloc(+t)},e.INSPECT_MAX_BYTES=50,e.kMaxLength=0x7fffffff,s.TYPED_ARRAY_SUPPORT=function(){try{var t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),42===t.foo()}catch(t){return!1}}(),s.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.buffer}}),Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.byteOffset}}),s.poolSize=8192,s.from=function(t,e,i){return l(t,e,i)},Object.setPrototypeOf(s.prototype,Uint8Array.prototype),Object.setPrototypeOf(s,Uint8Array),s.alloc=function(t,e,i){return(u(t),t<=0)?a(t):void 0!==e?"string"==typeof i?a(t).fill(e,i):a(t).fill(e):a(t)},s.allocUnsafe=function(t){return h(t)},s.allocUnsafeSlow=function(t){return h(t)};function c(t){if(t>=0x7fffffff)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|t}function d(t,e){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||M(t,ArrayBuffer))return t.byteLength;if("string"!=typeof t)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var i=t.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===i)return 0;for(var n=!1;;)switch(e){case"ascii":case"latin1":case"binary":return i;case"utf8":case"utf-8":return L(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*i;case"hex":return i>>>1;case"base64":return k(t).length;default:if(n)return r?-1:L(t).length;e=(""+e).toLowerCase(),n=!0}}function p(t,e,i){var n,o,a,s=!1;if((void 0===e||e<0)&&(e=0),e>this.length||((void 0===i||i>this.length)&&(i=this.length),i<=0||(i>>>=0)<=(e>>>=0)))return"";for(t||(t="utf8");;)switch(t){case"hex":return function(t,e,i){var r=t.length;(!e||e<0)&&(e=0),(!i||i<0||i>r)&&(i=r);for(var n="",o=e;o<i;++o)n+=O[t[o]];return n}(this,e,i);case"utf8":case"utf-8":return g(this,e,i);case"ascii":return function(t,e,i){var r="";i=Math.min(t.length,i);for(var n=e;n<i;++n)r+=String.fromCharCode(127&t[n]);return r}(this,e,i);case"latin1":case"binary":return function(t,e,i){var r="";i=Math.min(t.length,i);for(var n=e;n<i;++n)r+=String.fromCharCode(t[n]);return r}(this,e,i);case"base64":return n=this,o=e,a=i,0===o&&a===n.length?r.fromByteArray(n):r.fromByteArray(n.slice(o,a));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(t,e,i){for(var r=t.slice(e,i),n="",o=0;o<r.length;o+=2)n+=String.fromCharCode(r[o]+256*r[o+1]);return n}(this,e,i);default:if(s)throw TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),s=!0}}function v(t,e,i){var r=t[e];t[e]=t[i],t[i]=r}function y(t,e,i,r,n){var o;if(0===t.length)return -1;if("string"==typeof i?(r=i,i=0):i>0x7fffffff?i=0x7fffffff:i<-0x80000000&&(i=-0x80000000),(o=i*=1)!=o&&(i=n?0:t.length-1),i<0&&(i=t.length+i),i>=t.length)if(n)return -1;else i=t.length-1;else if(i<0)if(!n)return -1;else i=0;if("string"==typeof e&&(e=s.from(e,r)),s.isBuffer(e))return 0===e.length?-1:m(t,e,i,r,n);if("number"==typeof e){if(e&=255,"function"==typeof Uint8Array.prototype.indexOf)if(n)return Uint8Array.prototype.indexOf.call(t,e,i);else return Uint8Array.prototype.lastIndexOf.call(t,e,i);return m(t,[e],i,r,n)}throw TypeError("val must be string, number or Buffer")}function m(t,e,i,r,n){var o,a=1,s=t.length,l=e.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(t.length<2||e.length<2)return -1;a=2,s/=2,l/=2,i/=2}function u(t,e){return 1===a?t[e]:t.readUInt16BE(e*a)}if(n){var h=-1;for(o=i;o<s;o++)if(u(t,o)===u(e,-1===h?0:o-h)){if(-1===h&&(h=o),o-h+1===l)return h*a}else -1!==h&&(o-=o-h),h=-1}else for(i+l>s&&(i=s-l),o=i;o>=0;o--){for(var f=!0,c=0;c<l;c++)if(u(t,o+c)!==u(e,c)){f=!1;break}if(f)return o}return -1}s.isBuffer=function(t){return null!=t&&!0===t._isBuffer&&t!==s.prototype},s.compare=function(t,e){if(M(t,Uint8Array)&&(t=s.from(t,t.offset,t.byteLength)),M(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(t)||!s.isBuffer(e))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===e)return 0;for(var i=t.length,r=e.length,n=0,o=Math.min(i,r);n<o;++n)if(t[n]!==e[n]){i=t[n],r=e[n];break}return i<r?-1:+(r<i)},s.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},s.concat=function(t,e){if(!Array.isArray(t))throw TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return s.alloc(0);if(void 0===e)for(i=0,e=0;i<t.length;++i)e+=t[i].length;var i,r=s.allocUnsafe(e),n=0;for(i=0;i<t.length;++i){var o=t[i];if(M(o,Uint8Array)&&(o=s.from(o)),!s.isBuffer(o))throw TypeError('"list" argument must be an Array of Buffers');o.copy(r,n),n+=o.length}return r},s.byteLength=d,s.prototype._isBuffer=!0,s.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)v(this,e,e+1);return this},s.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)v(this,e,e+3),v(this,e+1,e+2);return this},s.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)v(this,e,e+7),v(this,e+1,e+6),v(this,e+2,e+5),v(this,e+3,e+4);return this},s.prototype.toString=function(){var t=this.length;return 0===t?"":0==arguments.length?g(this,0,t):p.apply(this,arguments)},s.prototype.toLocaleString=s.prototype.toString,s.prototype.equals=function(t){if(!s.isBuffer(t))throw TypeError("Argument must be a Buffer");return this===t||0===s.compare(this,t)},s.prototype.inspect=function(){var t="",i=e.INSPECT_MAX_BYTES;return t=this.toString("hex",0,i).replace(/(.{2})/g,"$1 ").trim(),this.length>i&&(t+=" ... "),"<Buffer "+t+">"},o&&(s.prototype[o]=s.prototype.inspect),s.prototype.compare=function(t,e,i,r,n){if(M(t,Uint8Array)&&(t=s.from(t,t.offset,t.byteLength)),!s.isBuffer(t))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(void 0===e&&(e=0),void 0===i&&(i=t?t.length:0),void 0===r&&(r=0),void 0===n&&(n=this.length),e<0||i>t.length||r<0||n>this.length)throw RangeError("out of range index");if(r>=n&&e>=i)return 0;if(r>=n)return -1;if(e>=i)return 1;if(e>>>=0,i>>>=0,r>>>=0,n>>>=0,this===t)return 0;for(var o=n-r,a=i-e,l=Math.min(o,a),u=this.slice(r,n),h=t.slice(e,i),f=0;f<l;++f)if(u[f]!==h[f]){o=u[f],a=h[f];break}return o<a?-1:+(a<o)},s.prototype.includes=function(t,e,i){return -1!==this.indexOf(t,e,i)},s.prototype.indexOf=function(t,e,i){return y(this,t,e,i,!0)},s.prototype.lastIndexOf=function(t,e,i){return y(this,t,e,i,!1)};function g(t,e,i){i=Math.min(t.length,i);for(var r=[],n=e;n<i;){var o,a,s,l,u=t[n],h=null,f=u>239?4:u>223?3:u>191?2:1;if(n+f<=i)switch(f){case 1:u<128&&(h=u);break;case 2:(192&(o=t[n+1]))==128&&(l=(31&u)<<6|63&o)>127&&(h=l);break;case 3:o=t[n+1],a=t[n+2],(192&o)==128&&(192&a)==128&&(l=(15&u)<<12|(63&o)<<6|63&a)>2047&&(l<55296||l>57343)&&(h=l);break;case 4:o=t[n+1],a=t[n+2],s=t[n+3],(192&o)==128&&(192&a)==128&&(192&s)==128&&(l=(15&u)<<18|(63&o)<<12|(63&a)<<6|63&s)>65535&&l<1114112&&(h=l)}null===h?(h=65533,f=1):h>65535&&(h-=65536,r.push(h>>>10&1023|55296),h=56320|1023&h),r.push(h),n+=f}var c=r,d=c.length;if(d<=4096)return String.fromCharCode.apply(String,c);for(var p="",v=0;v<d;)p+=String.fromCharCode.apply(String,c.slice(v,v+=4096));return p}function _(t,e,i){if(t%1!=0||t<0)throw RangeError("offset is not uint");if(t+e>i)throw RangeError("Trying to access beyond buffer length")}function b(t,e,i,r,n,o){if(!s.isBuffer(t))throw TypeError('"buffer" argument must be a Buffer instance');if(e>n||e<o)throw RangeError('"value" argument is out of bounds');if(i+r>t.length)throw RangeError("Index out of range")}function w(t,e,i,r,n,o){if(i+r>t.length||i<0)throw RangeError("Index out of range")}function E(t,e,i,r,o){return e*=1,i>>>=0,o||w(t,e,i,4,34028234663852886e22,-34028234663852886e22),n.write(t,e,i,r,23,4),i+4}function C(t,e,i,r,o){return e*=1,i>>>=0,o||w(t,e,i,8,17976931348623157e292,-17976931348623157e292),n.write(t,e,i,r,52,8),i+8}s.prototype.write=function(t,e,i,r){if(void 0===e)r="utf8",i=this.length,e=0;else if(void 0===i&&"string"==typeof e)r=e,i=this.length,e=0;else if(isFinite(e))e>>>=0,isFinite(i)?(i>>>=0,void 0===r&&(r="utf8")):(r=i,i=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var n,o,a,s,l,u,h,f,c=this.length-e;if((void 0===i||i>c)&&(i=c),t.length>0&&(i<0||e<0)||e>this.length)throw RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var d=!1;;)switch(r){case"hex":return function(t,e,i,r){i=Number(i)||0;var n=t.length-i;r?(r=Number(r))>n&&(r=n):r=n;var o=e.length;r>o/2&&(r=o/2);for(var a=0;a<r;++a){var s,l=parseInt(e.substr(2*a,2),16);if((s=l)!=s)break;t[i+a]=l}return a}(this,t,e,i);case"utf8":case"utf-8":return n=e,o=i,I(L(t,this.length-n),this,n,o);case"ascii":return a=e,s=i,I(A(t),this,a,s);case"latin1":case"binary":return function(t,e,i,r){return I(A(e),t,i,r)}(this,t,e,i);case"base64":return l=e,u=i,I(k(t),this,l,u);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return h=e,f=i,I(function(t,e){for(var i,r,n=[],o=0;o<t.length&&!((e-=2)<0);++o)r=(i=t.charCodeAt(o))>>8,n.push(i%256),n.push(r);return n}(t,this.length-h),this,h,f);default:if(d)throw TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),d=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},s.prototype.slice=function(t,e){var i=this.length;t=~~t,e=void 0===e?i:~~e,t<0?(t+=i)<0&&(t=0):t>i&&(t=i),e<0?(e+=i)<0&&(e=0):e>i&&(e=i),e<t&&(e=t);var r=this.subarray(t,e);return Object.setPrototypeOf(r,s.prototype),r},s.prototype.readUIntLE=function(t,e,i){t>>>=0,e>>>=0,i||_(t,e,this.length);for(var r=this[t],n=1,o=0;++o<e&&(n*=256);)r+=this[t+o]*n;return r},s.prototype.readUIntBE=function(t,e,i){t>>>=0,e>>>=0,i||_(t,e,this.length);for(var r=this[t+--e],n=1;e>0&&(n*=256);)r+=this[t+--e]*n;return r},s.prototype.readUInt8=function(t,e){return t>>>=0,e||_(t,1,this.length),this[t]},s.prototype.readUInt16LE=function(t,e){return t>>>=0,e||_(t,2,this.length),this[t]|this[t+1]<<8},s.prototype.readUInt16BE=function(t,e){return t>>>=0,e||_(t,2,this.length),this[t]<<8|this[t+1]},s.prototype.readUInt32LE=function(t,e){return t>>>=0,e||_(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+0x1000000*this[t+3]},s.prototype.readUInt32BE=function(t,e){return t>>>=0,e||_(t,4,this.length),0x1000000*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},s.prototype.readIntLE=function(t,e,i){t>>>=0,e>>>=0,i||_(t,e,this.length);for(var r=this[t],n=1,o=0;++o<e&&(n*=256);)r+=this[t+o]*n;return r>=(n*=128)&&(r-=Math.pow(2,8*e)),r},s.prototype.readIntBE=function(t,e,i){t>>>=0,e>>>=0,i||_(t,e,this.length);for(var r=e,n=1,o=this[t+--r];r>0&&(n*=256);)o+=this[t+--r]*n;return o>=(n*=128)&&(o-=Math.pow(2,8*e)),o},s.prototype.readInt8=function(t,e){return(t>>>=0,e||_(t,1,this.length),128&this[t])?-((255-this[t]+1)*1):this[t]},s.prototype.readInt16LE=function(t,e){t>>>=0,e||_(t,2,this.length);var i=this[t]|this[t+1]<<8;return 32768&i?0xffff0000|i:i},s.prototype.readInt16BE=function(t,e){t>>>=0,e||_(t,2,this.length);var i=this[t+1]|this[t]<<8;return 32768&i?0xffff0000|i:i},s.prototype.readInt32LE=function(t,e){return t>>>=0,e||_(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},s.prototype.readInt32BE=function(t,e){return t>>>=0,e||_(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},s.prototype.readFloatLE=function(t,e){return t>>>=0,e||_(t,4,this.length),n.read(this,t,!0,23,4)},s.prototype.readFloatBE=function(t,e){return t>>>=0,e||_(t,4,this.length),n.read(this,t,!1,23,4)},s.prototype.readDoubleLE=function(t,e){return t>>>=0,e||_(t,8,this.length),n.read(this,t,!0,52,8)},s.prototype.readDoubleBE=function(t,e){return t>>>=0,e||_(t,8,this.length),n.read(this,t,!1,52,8)},s.prototype.writeUIntLE=function(t,e,i,r){if(t*=1,e>>>=0,i>>>=0,!r){var n=Math.pow(2,8*i)-1;b(this,t,e,i,n,0)}var o=1,a=0;for(this[e]=255&t;++a<i&&(o*=256);)this[e+a]=t/o&255;return e+i},s.prototype.writeUIntBE=function(t,e,i,r){if(t*=1,e>>>=0,i>>>=0,!r){var n=Math.pow(2,8*i)-1;b(this,t,e,i,n,0)}var o=i-1,a=1;for(this[e+o]=255&t;--o>=0&&(a*=256);)this[e+o]=t/a&255;return e+i},s.prototype.writeUInt8=function(t,e,i){return t*=1,e>>>=0,i||b(this,t,e,1,255,0),this[e]=255&t,e+1},s.prototype.writeUInt16LE=function(t,e,i){return t*=1,e>>>=0,i||b(this,t,e,2,65535,0),this[e]=255&t,this[e+1]=t>>>8,e+2},s.prototype.writeUInt16BE=function(t,e,i){return t*=1,e>>>=0,i||b(this,t,e,2,65535,0),this[e]=t>>>8,this[e+1]=255&t,e+2},s.prototype.writeUInt32LE=function(t,e,i){return t*=1,e>>>=0,i||b(this,t,e,4,0xffffffff,0),this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t,e+4},s.prototype.writeUInt32BE=function(t,e,i){return t*=1,e>>>=0,i||b(this,t,e,4,0xffffffff,0),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},s.prototype.writeIntLE=function(t,e,i,r){if(t*=1,e>>>=0,!r){var n=Math.pow(2,8*i-1);b(this,t,e,i,n-1,-n)}var o=0,a=1,s=0;for(this[e]=255&t;++o<i&&(a*=256);)t<0&&0===s&&0!==this[e+o-1]&&(s=1),this[e+o]=(t/a|0)-s&255;return e+i},s.prototype.writeIntBE=function(t,e,i,r){if(t*=1,e>>>=0,!r){var n=Math.pow(2,8*i-1);b(this,t,e,i,n-1,-n)}var o=i-1,a=1,s=0;for(this[e+o]=255&t;--o>=0&&(a*=256);)t<0&&0===s&&0!==this[e+o+1]&&(s=1),this[e+o]=(t/a|0)-s&255;return e+i},s.prototype.writeInt8=function(t,e,i){return t*=1,e>>>=0,i||b(this,t,e,1,127,-128),t<0&&(t=255+t+1),this[e]=255&t,e+1},s.prototype.writeInt16LE=function(t,e,i){return t*=1,e>>>=0,i||b(this,t,e,2,32767,-32768),this[e]=255&t,this[e+1]=t>>>8,e+2},s.prototype.writeInt16BE=function(t,e,i){return t*=1,e>>>=0,i||b(this,t,e,2,32767,-32768),this[e]=t>>>8,this[e+1]=255&t,e+2},s.prototype.writeInt32LE=function(t,e,i){return t*=1,e>>>=0,i||b(this,t,e,4,0x7fffffff,-0x80000000),this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24,e+4},s.prototype.writeInt32BE=function(t,e,i){return t*=1,e>>>=0,i||b(this,t,e,4,0x7fffffff,-0x80000000),t<0&&(t=0xffffffff+t+1),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},s.prototype.writeFloatLE=function(t,e,i){return E(this,t,e,!0,i)},s.prototype.writeFloatBE=function(t,e,i){return E(this,t,e,!1,i)},s.prototype.writeDoubleLE=function(t,e,i){return C(this,t,e,!0,i)},s.prototype.writeDoubleBE=function(t,e,i){return C(this,t,e,!1,i)},s.prototype.copy=function(t,e,i,r){if(!s.isBuffer(t))throw TypeError("argument should be a Buffer");if(i||(i=0),r||0===r||(r=this.length),e>=t.length&&(e=t.length),e||(e=0),r>0&&r<i&&(r=i),r===i||0===t.length||0===this.length)return 0;if(e<0)throw RangeError("targetStart out of bounds");if(i<0||i>=this.length)throw RangeError("Index out of range");if(r<0)throw RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),t.length-e<r-i&&(r=t.length-e+i);var n=r-i;if(this===t&&"function"==typeof Uint8Array.prototype.copyWithin)this.copyWithin(e,i,r);else if(this===t&&i<e&&e<r)for(var o=n-1;o>=0;--o)t[o+e]=this[o+i];else Uint8Array.prototype.set.call(t,this.subarray(i,r),e);return n}
1,s.prototype.fill=function(t,e,i,r){if("string"==typeof t){if("string"==typeof e?(r=e,e=0,i=this.length):"string"==typeof i&&(r=i,i=this.length),void 0!==r&&"string"!=typeof r)throw TypeError("encoding must be a string");if("string"==typeof r&&!s.isEncoding(r))throw TypeError("Unknown encoding: "+r);if(1===t.length){var n,o=t.charCodeAt(0);("utf8"===r&&o<128||"latin1"===r)&&(t=o)}}else"number"==typeof t?t&=255:"boolean"==typeof t&&(t=Number(t));if(e<0||this.length<e||this.length<i)throw RangeError("Out of range index");if(i<=e)return this;if(e>>>=0,i=void 0===i?this.length:i>>>0,t||(t=0),"number"==typeof t)for(n=e;n<i;++n)this[n]=t;else{var a=s.isBuffer(t)?t:s.from(t,r),l=a.length;if(0===l)throw TypeError('The value "'+t+'" is invalid for argument "value"');for(n=0;n<i-e;++n)this[n+e]=a[n%l]}return this};var S=/[^+/0-9A-Za-z-_]/g;function L(t,e){e=e||1/0;for(var i,r=t.length,n=null,o=[],a=0;a<r;++a){if((i=t.charCodeAt(a))>55295&&i<57344){if(!n){if(i>56319||a+1===r){(e-=3)>-1&&o.push(239,191,189);continue}n=i;continue}if(i<56320){(e-=3)>-1&&o.push(239,191,189),n=i;continue}i=(n-55296<<10|i-56320)+65536}else n&&(e-=3)>-1&&o.push(239,191,189);if(n=null,i<128){if((e-=1)<0)break;o.push(i)}else if(i<2048){if((e-=2)<0)break;o.push(i>>6|192,63&i|128)}else if(i<65536){if((e-=3)<0)break;o.push(i>>12|224,i>>6&63|128,63&i|128)}else if(i<1114112){if((e-=4)<0)break;o.push(i>>18|240,i>>12&63|128,i>>6&63|128,63&i|128)}else throw Error("Invalid code point")}return o}function A(t){for(var e=[],i=0;i<t.length;++i)e.push(255&t.charCodeAt(i));return e}function k(t){return r.toByteArray(function(t){if((t=(t=t.split("=")[0]).trim().replace(S,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function I(t,e,i,r){for(var n=0;n<r&&!(n+i>=e.length)&&!(n>=t.length);++n)e[n+i]=t[n];return n}function M(t,e){return t instanceof e||null!=t&&null!=t.constructor&&null!=t.constructor.name&&t.constructor.name===e.name}var O=function(){for(var t="0123456789abcdef",e=Array(256),i=0;i<16;++i)for(var r=16*i,n=0;n<16;++n)e[r+n]=t[i]+t[n];return e}()},783:function(t,e){e.read=function(t,e,i,r,n){var o,a,s=8*n-r-1,l=(1<<s)-1,u=l>>1,h=-7,f=i?n-1:0,c=i?-1:1,d=t[e+f];for(f+=c,o=d&(1<<-h)-1,d>>=-h,h+=s;h>0;o=256*o+t[e+f],f+=c,h-=8);for(a=o&(1<<-h)-1,o>>=-h,h+=r;h>0;a=256*a+t[e+f],f+=c,h-=8);if(0===o)o=1-u;else{if(o===l)return a?NaN:1/0*(d?-1:1);a+=Math.pow(2,r),o-=u}return(d?-1:1)*a*Math.pow(2,o-r)},e.write=function(t,e,i,r,n,o){var a,s,l,u=8*o-n-1,h=(1<<u)-1,f=h>>1,c=5960464477539062e-23*(23===n),d=r?0:o-1,p=r?1:-1,v=+(e<0||0===e&&1/e<0);for(isNaN(e=Math.abs(e))||e===1/0?(s=+!!isNaN(e),a=h):(a=Math.floor(Math.log(e)/Math.LN2),e*(l=Math.pow(2,-a))<1&&(a--,l*=2),a+f>=1?e+=c/l:e+=c*Math.pow(2,1-f),e*l>=2&&(a++,l/=2),a+f>=h?(s=0,a=h):a+f>=1?(s=(e*l-1)*Math.pow(2,n),a+=f):(s=e*Math.pow(2,f-1)*Math.pow(2,n),a=0));n>=8;t[i+d]=255&s,d+=p,s/=256,n-=8);for(a=a<<n|s,u+=n;u>0;t[i+d]=255&a,d+=p,a/=256,u-=8);t[i+d-p]|=128*v}}},i={};function r(t){var n=i[t];if(void 0!==n)return n.exports;var o=i[t]={exports:{}},a=!0;try{e[t](o,o.exports,r),a=!1}finally{a&&delete i[t]}return o.exports}r.ab="//",t.exports=r(72)}()},9378:(t,e,i)=>{"use strict";i.r(e),i.d(e,{Controls:()=>N,DEFAULT_OPTIONS:()=>n.d,DEFAULT_STATE:()=>n.e,DotLottieCommonPlayer:()=>n.f,DotLottiePlayer:()=>F,DotLottieProvider:()=>g,PlayMode:()=>n.c,PlayerEvents:()=>n.a,PlayerState:()=>n.b,createError:()=>o.h,deepCloneLottieJson:()=>o.p,getFilename:()=>o.k,getKeyByValue:()=>o.o,isValidLottieJSON:()=>o.l,isValidLottieString:()=>o.n,logError:()=>o.i,logWarning:()=>o.j,lottieContainsAudio:()=>o.m,useDotLottieContext:()=>_,useDotLottieState:()=>E});var r=i(4212),n=i(1309);i(7613),i(1234),i(1077);var o=i(1800);i(8668);var a=function(t,e){var i,n=(i=(0,r.useRef)(!0)).current?(i.current=!1,!0):i.current;(0,r.useEffect)(function(){if(!n)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)}
1var h=["mousedown","touchstart"],f=function(t,e,i){void 0===i&&(i=h);var n=(0,r.useRef)(e);(0,r.useEffect)(function(){n.current=e},[e]),(0,r.useEffect)(function(){for(var e=function(e){var i=t.current;i&&!i.contains(e.target)&&n.current(e)},r=0,o=i;r<o.length;r++)l(document,o[r],e);return function(){for(var t=0,r=i;t<r.length;t++)u(document,r[t],e)}},[i,t])},c="u">typeof window?window:null,d=function(t){return!!t.addEventListener},p=function(t){return!!t.on},v=function(t,e,i,n){void 0===i&&(i=c),(0,r.useEffect)(function(){if(e&&i)return d(i)?l(i,t,e,n):p(i)&&i.on(t,e,n),function(){d(i)?u(i,t,e,n):p(i)&&i.off(t,e,n)}},[t,e,i,JSON.stringify(n)])},y=function(t,e,i,n){void 0===e&&(e=s),void 0===i&&(i={}),void 0===n&&(n=[t]);var o=i.event,a=i.target,l=i.options;v(void 0===o?"keydown":o,(0,r.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)}},n),a,l)},m=(0,r.createContext)(null),g=m.Provider,_=()=>{let t=(0,r.useContext)(m);if(typeof t>"u")throw(0,o.h)("useDotLottieContext must be used within a DotLottieProvider");return t},b=(t,e,i)=>{let[n,o]=(0,r.useState)(()=>i());return(0,r.useEffect)(()=>{let i=t(()=>{o(e())});return()=>{i()}},[t]),n},w=()=>{};function E(t){let e=_(),i=(0,r.useCallback)(()=>{if(null!==e)return t(e.getState())},[t,e]);return b((0,r.useCallback)(t=>null===e?w:e.state.subscribe(t),[e]),i,()=>t(n.e))}var C=t=>r.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",...t},r.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"}),r.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"}),r.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=>r.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",...t},r.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"}),r.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"})),L=t=>r.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",...t},r.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"})),A=t=>r.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",...t},r.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"}),r.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"})),k=t=>r.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",...t},r.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=>r.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",...t},r.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"})),M=t=>r.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...t},r.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"})),O=t=>r.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...t},r.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"})),T=({children:t,enableReset:e,expand:i=!1,onBack:n,onExpand:o,onReset:a,title:s})=>{let l=(0,r.useCallback)(()=>{n()},[n]),u=(0,r.useCallback)(()=>{o()},[o]),h=(0,r.useCallback)(()=>{a()},[a]);return r.createElement(r.Fragment,null,!i&&r.createElement("button",{className:"popover-item","aria-label":`Go to ${s}`,onClick:u},r.createElement("span",{style:{flex:1}},s),r.createElement("span",null,r.createElement(O,null))),i&&r.createElement("div",{className:"popover-submenu"},r.createElement("div",{className:"popover-header"},r.createElement("button",{onClick:l},r.createElement(M,null)),r.createElement("div",{className:"popover-header-title",style:{flex:1}},r.createElement("span",null,s),e&&r.createElement("button",{className:"reset-theme",onClick:h,"aria-label":`Reset ${s}`},"Reset"))),t))},P=t=>r.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...t},r.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,...n})=>{let o=(0,r.useCallback)(()=>{null==t||t(i)},[t,i]);return r.createElement("button",{"aria-label":`Select ${i}`,className:`popover-item ${e?"selected":""}`,onClick:o,...n},r.createElement("span",{style:{visibility:e?"visible":"hidden"}},r.createElement(P,null)),r.createElement("span",{style:{flex:1}},i))},j=({items:t=[],onSelectItem:e,onDismiss:i,...n})=>{let[o,a]=(0,r.useState)(""),s=(0,r.useRef)(null);f(s,()=>{a(""),i()}),y("Escape",()=>{a(""),i()});let l=(0,r.useCallback)(()=>{a("")},[a]),u=(0,r.useCallback)(t=>()=>a(t),[a]),h=(0,r.useCallback)((t,i)=>()=>e(t,i),[e]);return r.createElement("dialog",{ref:s,style:{padding:o?"0px":"8px"},className:"popover","aria-label":"Popover Menu",...n},r.createElement("ul",{"aria-label":"Popover content",className:"popover-content"},t.map(t=>r.createElement("li",{key:t.title,style:{width:"100%"}},(o===t.title||!o)&&r.createElement(T,{expand:o===t.title,title:t.title,onExpand:u(t.title),onBack:l,enableReset:t.enableReset,onReset:h(t.title,"")},r.createElement("ul",{className:"popover-items","aria-label":`List of ${t.title}`},t.items.map(e=>r.createElement("li",{key:e.value},r.createElement(x,{value:e.value,selected:e.selected,onSelectItem:h(t.title,e.value)})))))))))},B=["play","stop","loop","next","previous","animations","themes"],N=({buttons:t=B,...e})=>{let i=_(),o=E(t=>t.loop),a=E(t=>t.currentState),s=E(t=>t.seeker),l=E(t=>t.currentAnimationId),u=E(t=>t.defaultTheme),h=E(t=>t.direction),f=E(t=>t.activeStateId),c=(0,r.useMemo)(()=>a===n.b.Playing,[a]),[d,p]=(0,r.useState)(!1),[v,y]=(0,r.useState)([]),[m,g]=(0,r.useState)([]),[b,w]=(0,r.useState)([]),M=(0,r.useMemo)(()=>{let t=[],e=v.map(t=>({value:t.id,selected:l===t.id})),i=m.filter(t=>0===t.animations.length||t.animations.includes(l||"")).map(t=>({value:t.id,selected:u===t.id})),r=b.map(t=>({value:t,selected:f===t}));return Array.isArray(e)&&0!==e.length&&t.push({title:"Animations",items:e,enableReset:!1}),Array.isArray(r)&&0!==r.length&&t.push({title:"States",items:r,enableReset:!0}),Array.isArray(i)&&0!==i.length&&t.push({title:"Themes",items:i,enableReset:!!u}),t},[v,m,l,u,b,f]),O=(0,r.useMemo)(()=>!!(t.includes("themes")&&Array.isArray(m))&&!!m.length||t.includes("animations")&&Array.isArray(v)&&v.length>1,[M]),T=(0,r.useCallback)(()=>{p(!d)},[p]),P=(0,r.useCallback)(()=>{p(!1)},[p]),x=(0,r.useCallback)(()=>{null==i||i.toggleLoop()},[i]),N=(0,r.useCallback)(()=>{null==i||i.freeze()},[i]),U=(0,r.useCallback)(()=>{null==i||i.unfreeze()},[i]),R=(0,r.useCallback)(()=>{null==i||i.next()},[i]),D=(0,r.useCallback)(()=>{null==i||i.previous()},[i]),F=(0,r.useCallback)(()=>{null==i||i.togglePlay()},[i]),z=(0,r.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]),V=(0,r.useCallback)(t=>{null==i||i.seek(String(t.currentTarget.value).concat("%"))},[i]);function $(){var t,e,r;let n=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==(r=null==i?void 0:i.getManifest())?void 0:r.states;n&&y(n),o&&g(o),a&&w(a)}return(0,r.useEffect)(()=>
1{if(!(typeof i>"u"))return null==i||i.addEventListener("DOMLoaded",$),()=>{null==i||i.removeEventListener("DOMLoaded",$)}},[i]),r.createElement("div",{"aria-label":"lottie-animation-controls",className:"toolbar",...e},t.includes("previous")&&v.length>1&&r.createElement("button",{onClick:D,"aria-label":"play-previous"},r.createElement(I,null)),t.includes("play")&&r.createElement("button",{onClick:F,"aria-label":"play-pause"},c?r.createElement(A,null):r.createElement(k,null)),t.includes("next")&&v.length>1&&r.createElement("button",{onClick:R,"aria-label":"play-next"},r.createElement(L,null)),r.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:V,onMouseDown:N,onMouseUp:U,"aria-valuemin":1,"aria-valuemax":100,role:"slider","aria-valuenow":s,"aria-label":"lottie-seek-input"}),t.includes("loop")&&r.createElement("button",{onClick:x,className:o?"active":"","aria-label":"loop-toggle"},r.createElement(S,null)),O&&r.createElement("div",{style:{position:"relative"}},r.createElement(j,{items:M,open:d,onDismiss:P,onSelectItem:z}),r.createElement("button",{className:`${d?"popover-active":""}`,"aria-label":"open-popover",onClick:T},r.createElement(C,null))))},U=typeof window>"u"?r.useEffect:r.useLayoutEffect;function R(t,e){let i=(0,r.useCallback)(()=>e(t.getState()),[e,t]);return b((0,r.useCallback)(e=>t.state.subscribe(e),[t]),i,()=>e(n.e))}var D={animation:{position:"relative",width:"100%",height:"100%"},animationWithControls:{position:"relative"}},F=r.forwardRef(({onEvent:t,activeAnimationId:e,autoplay:i,background:o="transparent",direction:s,intermission:l,loop:u,playMode:h,hover:f,speed:c,renderer:d="svg",rendererSettings:p={},src:v,className:y="",testId:m,children:_,defaultTheme:b,light:w=!1,worker:E=!1,activeStateId:C,lottieRef:S,...L},A)=>{let k=(0,r.useRef)(null),I=((t,e,i)=>{let[o]=(0,r.useState)(()=>new n.f(t,e.current,i)),a=(0,r.useRef)(!1);return U(()=>((async function(){!a.current&&e.current&&(a.current=!0,o.setContainer(e.current),await o.load())})(),()=>{a.current&&o.destroy()}),[o]),o})(v,k,{renderer:d,activeAnimationId:e,rendererSettings:{clearCanvas:!0,progressiveLoad:!1,hideOnTransparent:!0,...p},hover:f,loop:u,direction:s,speed:c,intermission:l,background:o,playMode:h,autoplay:!f&&i,testId:m,defaultTheme:b,light:w,worker:E,activeStateId:C}),M=(0,r.useRef)(I);M.current=I,r.useImperativeHandle(A,()=>I,[I]),r.useImperativeHandle(S,()=>I,[I]);let O=R(I,t=>t.currentState),T=R(I,t=>t.frame),P=R(I,t=>t.seeker),x=R(I,t=>t.currentAnimationId);return a(()=>{typeof u>"u"?M.current.revertToManifestValues(["loop"]):M.current.setLoop(u)},[u]),a(()=>{[n.b.Initial,n.b.Loading].includes(O)||(typeof i>"u"?M.current.revertToManifestValues(["autoplay"]):M.current.setAutoplay(i))},[i]),a(()=>{typeof s>"u"?M.current.revertToManifestValues(["direction"]):M.current.setDirection(s)},[s]),a(()=>{typeof c>"u"?M.current.revertToManifestValues(["speed"]):M.current.setSpeed(c)},[c]),a(()=>{typeof h>"u"?M.current.revertToManifestValues(["playMode"]):M.current.setMode(h)},[h]),a(()=>{typeof f>"u"?M.current.revertToManifestValues(["hover"]):M.current.setHover(f)},[f]),a(()=>{typeof o>"u"?M.current.setBackground("transparent"):M.current.setBackground(o)},[o]),a(()=>{typeof l>"u"?M.current.revertToManifestValues(["intermission"]):M.current.setIntermission(l)},[l]),a(()=>{typeof b>"u"||!b?M.current.revertToManifestValues(["defaultTheme"]):M.current.setDefaultTheme(b)},[b]),a(()=>{e&&M.current.play(e)},[e]),a(()=>("u">typeof C&&M.current.enterInteractiveMode(C),()=>{M.current.exitInteractiveMode()}),[C]),a(()=>{"u">typeof v&&M.current.updateSrc(v)},[v]),(0,r.useEffect)(()=>{let e=()=>{null==t||t(n.a.Ready)},i=()=>{null==t||t(n.a.DataReady)},r=()=>{null==t||t(n.a.DataFail)},o=()=>{M.current.currentState!==n.b.Playing&&(null==t||t(n.a.Complete))},a=()=>{null==t||t(n.a.LoopComplete)};return M.current.addEventListener("DOMLoaded",e),M.current.addEventListener("data_ready",i),M.current.addEventListener("data_failed",r),M.current.addEventListener("complete",o),M.current.addEventListener("loopComplete",a),()=>{M.current.removeEventListener("DOMLoaded",e),M.current.removeEventListener("data_ready",i),M.current.removeEventListener("data_failed",r),M.current.removeEventListener("complete",o),M.current.removeEventListener("loopComplete",a)}},[]),(0,r.useEffect)(()=>{switch(O){case n.b.Stopped:null==t||t(n.a.Stop);break;case n.b.Paused:null==t||t(n.a.Pause);break;case n.b.Playing:null==t||t(n.a.Play);break;case n.b.Frozen:null==t||t(n.a.Freeze);break;case n.b.Error:null==t||t(n.a.Error)}},[O]),(0,r.useEffect)(()=>{null==t||t(n.a.Frame,{frame:T,seeker:P})},[T]),r.createElement(g,{value:I},r.createElement("div",{className:`dotlottie-container main ${_?"controls":""} ${y}`,lang:"en",...m&&{"data-testid":m},...L},r.createElement("div",{ref:k,"data-name":`${x}`,role:"figure",className:`animation ${_?"controls":""}`,style:_?D.animationWithControls:D.animation,...m&&{"data-testid":"animation"}},O===n.b.Error&&r.createElement("div",{...m&&{"data-testid":"error"},className:"error"},"⚠️")),_))})}}]);

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.