1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[25886],{5886:(t,e,i)=>{i.r(e),i.d(e,{AnimationSystem:()=>C,Animator:()=>I,TWEEN:()=>n});var n={};i.r(n),i.d(n,{Easing:()=>r,Group:()=>a,Interpolation:()=>o,Sequence:()=>u,Tween:()=>p,VERSION:()=>l,add:()=>f,default:()=>g,getAll:()=>d,nextId:()=>_,now:()=>s,remove:()=>v,removeAll:()=>c,update:()=>y});var r=Object.freeze({Linear:Object.freeze({None:function(t2){return t2},In:function(t2){return t2},Out:function(t2){return t2},InOut:function(t2){return t2}}),Quadratic:Object.freeze({In:function(t2){return t2*t2},Out:function(t2){return t2*(2-t2)},InOut:function(t2){return(t2*=2)<1?.5*t2*t2:-.5*(--t2*(t2-2)-1)}}),Cubic:Object.freeze({In:function(t2){return t2*t2*t2},Out:function(t2){return--t2*t2*t2+1},InOut:function(t2){return(t2*=2)<1?.5*t2*t2*t2:.5*((t2-=2)*t2*t2+2)}}),Quartic:Object.freeze({In:function(t2){return t2*t2*t2*t2},Out:function(t2){return 1- --t2*t2*t2*t2},InOut:function(t2){return(t2*=2)<1?.5*t2*t2*t2*t2:-.5*((t2-=2)*t2*t2*t2-2)}}),Quintic:Object.freeze({In:function(t2){return t2*t2*t2*t2*t2},Out:function(t2){return--t2*t2*t2*t2*t2+1},InOut:function(t2){return(t2*=2)<1?.5*t2*t2*t2*t2*t2:.5*((t2-=2)*t2*t2*t2*t2+2)}}),Sinusoidal:Object.freeze({In:function(t2){return 1-Math.sin((1-t2)*Math.PI/2)},Out:function(t2){return Math.sin(t2*Math.PI/2)},InOut:function(t2){return .5*(1-Math.sin(Math.PI*(.5-t2)))}}),Exponential:Object.freeze({In:function(t2){return t2===0?0:Math.pow(1024,t2-1)},Out:function(t2){return t2===1?1:1-Math.pow(2,-10*t2)},InOut:function(t2){return t2===0?0:t2===1?1:(t2*=2)<1?.5*Math.pow(1024,t2-1):.5*(-Math.pow(2,-10*(t2-1))+2)}}),Circular:Object.freeze({In:function(t2){return 1-Math.sqrt(1-t2*t2)},Out:function(t2){return Math.sqrt(1- --t2*t2)},InOut:function(t2){return(t2*=2)<1?-.5*(Math.sqrt(1-t2*t2)-1):.5*(Math.sqrt(1-(t2-=2)*t2)+1)}}),Elastic:Object.freeze({In:function(t2){return t2===0?0:t2===1?1:-Math.pow(2,10*(t2-1))*Math.sin((t2-1.1)*5*Math.PI)},Out:function(t2){return t2===0?0:t2===1?1:Math.pow(2,-10*t2)*Math.sin((t2-.1)*5*Math.PI)+1},InOut:function(t2){return t2===0?0:t2===1?1:(t2*=2)<1?-.5*Math.pow(2,10*(t2-1))*Math.sin((t2-1.1)*5*Math.PI):.5*Math.pow(2,-10*(t2-1))*Math.sin((t2-1.1)*5*Math.PI)+1}}),Back:Object.freeze({In:function(t2){return t2===1?1:t2*t2*(2.70158*t2-1.70158)},Out:function(t2){return t2===0?0:--t2*t2*(2.70158*t2+1.70158)+1},InOut:function(t2){return(t2*=2)<1?t2*t2*(3.5949095*t2-2.5949095)*.5:.5*((t2-=2)*t2*(3.5949095*t2+2.5949095)+2)}}),Bounce:Object.freeze({In:function(t2){return 1-r.Bounce.Out(1-t2)},Out:function(t2){return t2<1/2.75?7.5625*t2*t2:t2<2/2.75?7.5625*(t2-=1.5/2.75)*t2+.75:t2<2.5/2.75?7.5625*(t2-=2.25/2.75)*t2+.9375:7.5625*(t2-=2.625/2.75)*t2+.984375},InOut:function(t2){return t2<.5?.5*r.Bounce.In(2*t2):.5*r.Bounce.Out(2*t2-1)+.5}}),generatePow:function(t2){return t2===void 0&&(t2=4),t2=(t2=t2<Number.EPSILON?Number.EPSILON:t2)>1e4?1e4:t2,{In:function(e2){return Math.pow(e2,t2)},Out:function(e2){return 1-Math.pow(1-e2,t2)},InOut:function(e2){return e2<.5?Math.pow(2*e2,t2)/2:(1-Math.pow(2-2*e2,t2))/2+.5}}}}),s=function(){return performance.now()},a=(function(){function t2(){this._tweens={},this._tweensAddedDuringUpdate={}}return t2.prototype.getAll=function(){var t3=this;return Object.keys(this._tweens).map(function(e2){return t3._tweens[e2]})},t2.prototype.removeAll=function(){this._tweens={}},t2.prototype.add=function(t3){this._tweens[t3.getId()]=t3,this._tweensAddedDuringUpdate[t3.getId()]=t3},t2.prototype.remove=function(t3){delete this._tweens[t3.getId()],delete this._tweensAddedDuringUpdate[t3.getId()]},t2.prototype.update=function(t3,e2){t3===void 0&&(t3=s()),e2===void 0&&(e2=!1);var i2=Object.keys(this._tweens);if(i2.length===0)return!1;for(;i2.length>0;){this._tweensAddedDuringUpdate={};for(var n2=0;n2<i2.length;n2++){var r2=this._tweens[i2[n2]],a2=!e2;r2&&r2.update(t3,a2)===!1&&!e2&&delete this._tweens[i2[n2]]}i2=Object.keys(this._tweensAddedDuringUpdate)}return!0},t2})(),o={Linear:function(t2,e2){var i2=t2.length-1,n2=i2*e2,r2=Math.floor(n2),s2=o.Utils.Linear;return e2<0?s2(t2[0],t2[1],n2):e2>1?s2(t2[i2],t2[i2-1],i2-n2):s2(t2[r2],t2[r2+1>i2?i2:r2+1],n2-r2)},Bezier:function(t2,e2){for(var i2=0,n2=t2.length-1,r2=Math.pow,s2=o.Utils.Bernstein,a2=0;a2<=n2;a2++)i2+=r2(1-e2,n2-a2)*r2(e2,a2)*t2[a2]*s2(n2,a2);return i2},CatmullRom:function(t2,e2){var i2=t2.length-1,n2=i2*e2,r2=Math.floor(n2),s2=o.Utils.CatmullRom;return t2[0]===t2[i2]?(e2<0&&(r2=Math.floor(n2=i2*(1+e2))),s2(t2[(r2-1+i2)%i2],t2[r2],t2[(r2+1)%i2],t2[(r2+2)%i2],n2-r2)):e2<0?t2[0]-(s2(t2[0],t2[0],t2[1],t2[1],-n2)-t2[0]):e2>1?t2[i2]-(s2(t2[i2],t2[i2],t2[i2-1],t2[i2-1],n2-i2)-t2[i2]):s2(t2[r2?r2-1:0],t2[r2],t2[i2<r2+1?i2:r2+1],t2[i2<r2+2?i2:r2+2],n2-r2)},Utils:{Linear:function(t2,e2,i2){return(e2-t2)*i2+t2},Bernstein:function(t2,e2){var i2=o.Utils.Factorial;return i2(t2)/i2(e2)/i2(t2-e2)},Factorial:(function(){var t2=[1];return function(e2){var i2=1;
1if(t2[e2])return t2[e2];for(var n2=e2;n2>1;n2--)i2*=n2;return t2[e2]=i2,i2}})(),CatmullRom:function(t2,e2,i2,n2,r2){var s2=(i2-t2)*.5,a2=(n2-e2)*.5,o2=r2*r2;return r2*o2*(2*e2-2*i2+s2+a2)+(-3*e2+3*i2-2*s2-a2)*o2+s2*r2+e2}}},u=(function(){function t2(){}return t2.nextId=function(){return t2._nextId++},t2._nextId=0,t2})(),h=new a,p=(function(){function t2(t3,e2){e2===void 0&&(e2=h),this._object=t3,this._group=e2,this._isPaused=!1,this._pauseStart=0,this._valuesStart={},this._valuesEnd={},this._valuesStartRepeat={},this._duration=1e3,this._isDynamic=!1,this._initialRepeat=0,this._repeat=0,this._yoyo=!1,this._isPlaying=!1,this._reversed=!1,this._delayTime=0,this._startTime=0,this._easingFunction=r.Linear.None,this._interpolationFunction=o.Linear,this._chainedTweens=[],this._onStartCallbackFired=!1,this._onEveryStartCallbackFired=!1,this._id=u.nextId(),this._isChainStopped=!1,this._propertiesAreSetUp=!1,this._goToEnd=!1}return t2.prototype.getId=function(){return this._id},t2.prototype.isPlaying=function(){return this._isPlaying},t2.prototype.isPaused=function(){return this._isPaused},t2.prototype.getDuration=function(){return this._duration},t2.prototype.to=function(t3,e2){if(e2===void 0&&(e2=1e3),this._isPlaying)throw Error("Can not call Tween.to() while Tween is already started or paused. Stop the Tween first.");return this._valuesEnd=t3,this._propertiesAreSetUp=!1,this._duration=e2<0?0:e2,this},t2.prototype.duration=function(t3){return t3===void 0&&(t3=1e3),this._duration=t3<0?0:t3,this},t2.prototype.dynamic=function(t3){return t3===void 0&&(t3=!1),this._isDynamic=t3,this},t2.prototype.start=function(t3,e2){if(t3===void 0&&(t3=s()),e2===void 0&&(e2=!1),this._isPlaying)return this;if(this._group&&this._group.add(this),this._repeat=this._initialRepeat,this._reversed)for(var i2 in this._reversed=!1,this._valuesStartRepeat)this._swapEndStartRepeatValues(i2),this._valuesStart[i2]=this._valuesStartRepeat[i2];if(this._isPlaying=!0,this._isPaused=!1,this._onStartCallbackFired=!1,this._onEveryStartCallbackFired=!1,this._isChainStopped=!1,this._startTime=t3,this._startTime+=this._delayTime,!this._propertiesAreSetUp||e2){if(this._propertiesAreSetUp=!0,!this._isDynamic){var n2={};for(var r2 in this._valuesEnd)n2[r2]=this._valuesEnd[r2];this._valuesEnd=n2}this._setupProperties(this._object,this._valuesStart,this._valuesEnd,this._valuesStartRepeat,e2)}return this},t2.prototype.startFromCurrentValues=function(t3){return this.start(t3,!0)},t2.prototype._setupProperties=function(t3,e2,i2,n2,r2){for(var s2 in i2){var a2=t3[s2],o2=Array.isArray(a2),u2=o2?"array":typeof a2,h2=!o2&&Array.isArray(i2[s2]);if(u2!=="undefined"&&u2!=="function"){if(h2){var p2=i2[s2];if(p2.length===0)continue;for(var l2=[a2],_2=0,d2=p2.length;_2<d2;_2+=1){var c2=this._handleRelativeValue(a2,p2[_2]);if(isNaN(c2)){h2=!1,console.warn("Found invalid interpolation list. Skipping.");break}l2.push(c2)}h2&&(i2[s2]=l2)}if((u2==="object"||o2)&&a2&&!h2){for(var f2 in e2[s2]=o2?[]:{},a2)e2[s2][f2]=a2[f2];n2[s2]=o2?[]:{};var p2=i2[s2];if(!this._isDynamic){var v2={};for(var f2 in p2)v2[f2]=p2[f2];i2[s2]=p2=v2}this._setupProperties(a2,e2[s2],p2,n2[s2],r2)}else(e2[s2]===void 0||r2)&&(e2[s2]=a2),o2||(e2[s2]*=1),h2?n2[s2]=i2[s2].slice().reverse():n2[s2]=e2[s2]||0}}},t2.prototype.stop=function(){return this._isChainStopped||(this._isChainStopped=!0,this.stopChainedTweens()),this._isPlaying&&(this._group&&this._group.remove(this),this._isPlaying=!1,this._isPaused=!1,this._onStopCallback&&this._onStopCallback(this._object)),this},t2.prototype.end=function(){return this._goToEnd=!0,this.update(1/0),this},t2.prototype.pause=function(t3){return t3===void 0&&(t3=s()),this._isPaused||!this._isPlaying||(this._isPaused=!0,this._pauseStart=t3,this._group&&this._group.remove(this)),this},t2.prototype.resume=function(t3){return t3===void 0&&(t3=s()),this._isPaused&&this._isPlaying&&(this._isPaused=!1,this._startTime+=t3-this._pauseStart,this._pauseStart=0,this._group&&this._group.add(this)),this},t2.prototype.stopChainedTweens=function(){for(var t3=0,e2=this._chainedTweens.length;t3<e2;t3++)this._chainedTweens[t3].stop();return this},t2.prototype.group=function(t3){return t3===void 0&&(t3=h),this._group=t3,this},t2.prototype.delay=function(t3){return t3===void 0&&(t3=0),this._delayTime=t3,this},t2.prototype.repeat=function(t3){return t3===void 0&&(t3=0),this._initialRepeat=t3,this._repeat=t3,this},t2.prototype.repeatDelay=function(t3){return this._repeatDelayTime=t3,this},t2.prototype.yoyo=function(t3){return t3===void 0&&(t3=!1),this._yoyo=t3,this},t2.prototype.easing=function(t3){return t3===void 0&&(t3=r.Linear.None),this._easingFunction=t3,this},t2.prototype.interpolation=function(t3){return t3===void 0&&(t3=o.Linear),this._interpolationFunction=t3,this},t2.prototype.chain=function(){for(var t3=[],e2=0;e2<arguments.length;e2++)t3[e2]=arguments[e2];return this._chainedTweens=t3,this},t2.prototype.onStart=function(t3){return this._onStartCallback=t3,this},t2.prototype.onEveryStart=function(t3){return this._onEveryStartCallback=t3,this},t2.prototype.onUpdate=function(t3){return this._onUpdateCallback=t3,this},t2.prototype.onRepeat=function(t3){return this._onRepeatCallback=t3,this},t2.prototype.onComplete=function(t3){return this._onCompleteCallback=t3,this},t2.prototype.onStop=function(t3){return this._onStopCallback=t3,this},t2.prototype.update=function(t3,e2){var i2,n2,r2=this;if(t3===void 0&&(t3=s()),e2===void 0&&(e2=!0),this._isPaused)return!0;var a2=this._startTime+this._duration;if(!this._goToEnd&&!this._isPlaying){if(t3>a2)return!1;e2&&this.start(t3,!0)}if(this._goToEnd=!1,t3<this._startTime)return!0;this._onStartCallbackFired===!1&&(this._onStartCallback&&this._onStartCallback(this._object),this._onStartCallbackFired=!0),this._onEveryStartCallbackFired===!1&&(this._onEveryStartCallback&&this._onEveryStartCallback(this._object),this._onEveryStartCallbackFired=!0);var o2=t3-this._startTime,u2=this._duration+((i2=this._repeatDelayTime)!==null&&i2
1!==void 0?i2:this._delayTime),h2=this._duration+this._repeat*u2,p2=(function(){if(r2._duration===0||o2>h2)return 1;var t4=Math.trunc(o2/u2),e3=Math.min((o2-t4*u2)/r2._duration,1);return e3===0&&o2===r2._duration?1:e3})(),l2=this._easingFunction(p2);if(this._updateProperties(this._object,this._valuesStart,this._valuesEnd,l2),this._onUpdateCallback&&this._onUpdateCallback(this._object,p2),this._duration===0||o2>=this._duration)if(this._repeat>0){var _2=Math.min(Math.trunc((o2-this._duration)/u2)+1,this._repeat);for(n2 in isFinite(this._repeat)&&(this._repeat-=_2),this._valuesStartRepeat)this._yoyo||typeof this._valuesEnd[n2]!="string"||(this._valuesStartRepeat[n2]=this._valuesStartRepeat[n2]+parseFloat(this._valuesEnd[n2])),this._yoyo&&this._swapEndStartRepeatValues(n2),this._valuesStart[n2]=this._valuesStartRepeat[n2];this._yoyo&&(this._reversed=!this._reversed),this._startTime+=u2*_2,this._onRepeatCallback&&this._onRepeatCallback(this._object),this._onEveryStartCallbackFired=!1}else{this._onCompleteCallback&&this._onCompleteCallback(this._object);for(var d2=0,c2=this._chainedTweens.length;d2<c2;d2++)this._chainedTweens[d2].start(this._startTime+this._duration,!1);return this._isPlaying=!1,!1}return!0},t2.prototype._updateProperties=function(t3,e2,i2,n2){for(var r2 in i2)if(e2[r2]!==void 0){var s2=e2[r2]||0,a2=i2[r2],o2=Array.isArray(t3[r2]),u2=Array.isArray(a2);!o2&&u2?t3[r2]=this._interpolationFunction(a2,n2):typeof a2=="object"&&a2?this._updateProperties(t3[r2],s2,a2,n2):typeof(a2=this._handleRelativeValue(s2,a2))=="number"&&(t3[r2]=s2+(a2-s2)*n2)}},t2.prototype._handleRelativeValue=function(t3,e2){return typeof e2!="string"?e2:e2.charAt(0)==="+"||e2.charAt(0)==="-"?t3+parseFloat(e2):parseFloat(e2)},t2.prototype._swapEndStartRepeatValues=function(t3){var e2=this._valuesStartRepeat[t3],i2=this._valuesEnd[t3];typeof i2=="string"?this._valuesStartRepeat[t3]=this._valuesStartRepeat[t3]+parseFloat(i2):this._valuesStartRepeat[t3]=this._valuesEnd[t3],this._valuesEnd[t3]=e2},t2})(),l="23.1.3",_=u.nextId,d=h.getAll.bind(h),c=h.removeAll.bind(h),f=h.add.bind(h),v=h.remove.bind(h),y=h.update.bind(h),g={Easing:r,Group:a,Interpolation:o,now:s,Sequence:u,nextId:_,Tween:p,VERSION:l,getAll:d,removeAll:c,add:f,remove:v,update:y},b=i(9451),w=Object.defineProperty,m=(t2,e2,i2)=>e2 in t2?w(t2,e2,{enumerable:!0,configurable:!0,writable:!0,value:i2}):t2[e2]=i2,S=(t2,e2,i2)=>m(t2,typeof e2!="symbol"?e2+"":e2,i2);class E{addEventListener(t2,e2){this._listeners===void 0&&(this._listeners={});let i2=this._listeners;i2[t2]===void 0&&(i2[t2]=[]),i2[t2].indexOf(e2)===-1&&i2[t2].push(e2)}hasEventListener(t2,e2){if(this._listeners===void 0)return!1;let i2=this._listeners;return i2[t2]!==void 0&&i2[t2].indexOf(e2)!==-1}removeEventListener(t2,e2){if(this._listeners===void 0)return;let i2=this._listeners[t2];if(i2!==void 0){let t3=i2.indexOf(e2);t3!==-1&&i2.splice(t3,1)}}dispatchEvent(t2){if(this._listeners===void 0)return;let e2=this._listeners[t2.type];if(e2!==void 0){t2.target=this;let i2=e2.slice(0);for(let e3=0,n2=i2.length;e3<n2;e3++)i2[e3].call(this,t2);t2.target=null}}}class I extends E{constructor(t2,e2,i2,n2){super(),S(this,"_uuid",b.cj9.generateUUID()),S(this,"_playing",!1),S(this,"_stopped",!1),S(this,"_completed",!1),this.object=t2,this.to=e2,this.duration=i2,this.options=n2}get uuid(){return this._uuid}get playing(){return this._playing}get stopped(){return this._stopped}get completed(){return this._completed}dispose(){this._playing=!1,this._stopped=!1,this._completed=!1}play(){return this._playing=!0,this._stopped=!1,this.dispatchEvent({type:"play",target:this}),this}stop(){return this._playing=!1,this._stopped=!0,this.dispatchEvent({type:"stop",target:this}),this}}class C{constructor(){S(this,"uuid",b.cj9.generateUUID()),S(this,"TWEEN",n),S(this,"_callbackMap",new Map),S(this,"_tweens",new Map)}animate(t2,e2,i2,n2){var _a,_b;var r2,s2;let a2=new I(t2,e2,i2,n2);return this._callbackMap.set(a2.uuid,{onUpdate:(_a=(r2=a2.options)==null?void 0:r2.onUpdate)!=null?_a:(()=>{}),onComplete:(_b=(s2=a2.options)==null?void 0:s2.onComplete)!=null?_b:(()=>{})}),this._createTween(a2),a2}remove(t2){if(!this._callbackMap.has(t2)){console.warn(`Animator with uuid ${t2} not found`);return}this._callbackMap.delete(t2),this._tweens.delete(t2)}dispose(){this._callbackMap.clear(),this._tweens.clear()}tick(){this.TWEEN.update()}_createTween(t2){var _a;var e2;let i2=new this.TWEEN.Tween(t2.object).to(t2.to,t2.duration).easing((_a=(e2=t2.options)==null?void 0:e2.easing)!=null?_a:this.TWEEN.Easing.Quadratic.Out).onUpdate((e3,i3)=>{var n2;(n2=this._callbackMap.get(t2.uuid))==null||n2.onUpdate(e3,i3)}).onComplete(e3=>{var i3;(i3=this._callbackMap.get(t2.uuid))==null||i3.onComplete(e3)});t2.addEventListener("play",()=>{i2.start()}),t2.addEventListener("stop",()=>{i2.stop()}),this._tweens.set(t2.uuid,i2)}}}}]);
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.