c?c:f},getUnit=function a(l,c){return!_isString$1(l)||!(c=_unitExp.exec(l))?"":c[1]},clamp=function a(l,c,f){return _conditionalReturn(f,function(u){return _clamp$1(l,c,u)})},_slice=[].slice,_isArrayLike=function a(l,c){return l&&_isObject$1(l)&&"length"in l&&(!c&&!l.length||l.length-1 in l&&_isObject$1(l[0]))&&!l.nodeType&&l!==_win$3},_flatten=function a(l,c,f){return f===void 0&&(f=[]),l.forEach(function(u){var d;return _isString$1(u)&&!c||_isArrayLike(u,1)?(d=f).push.apply(d,toArray(u)):f.push(u)})||f},toArray=function a(l,c,f){return _context$2&&!c&&_context$2.selector?_context$2.selector(l):_isString$1(l)&&!f&&(_coreInitted$2||!_wake())?_slice.call((c||_doc$3).querySelectorAll(l),0):_isArray(l)?_flatten(l,f):_isArrayLike(l)?_slice.call(l,0):l?[l]:[]},selector=function a(l){return l=toArray(l)[0]||_warn("Invalid scope")||{},function(c){var f=l.current||l.nativeElement||l;return toArray(c,f.querySelectorAll?f:f===l?_warn("Invalid scope")||_doc$3.createElement("div"):l)}},shuffle=function a(l){return l.sort(function(){return .5-Math.random()})},distribute=function a(l){if(_isFunction$1(l))return l;var c=_isObject$1(l)?l:{each:l},f=_parseEase(c.ease),u=c.from||0,d=parseFloat(c.base)||0,m={},g=u>0&&u<1,_=isNaN(u)||g,y=c.axis,v=u,S=u;return _isString$1(u)?v=S={center:.5,edges:.5,end:1}[u]||0:!g&&_&&(v=u[0],S=u[1]),function(b,T,E){var P=(E||c).length,k=m[P],x,C,A,w,R,F,$,I,N;if(!k){if(N=c.grid==="auto"?0:(c.grid||[1,_bigNum$1])[1],!N){for($=-_bigNum$1;$<($=E[N++].getBoundingClientRect().left)&&N$&&($=R),RP?P-1:y?y==="y"?P/N:N:Math.max(N,P/N))||0)*(u==="edges"?-1:1),k.b=P<0?d-P:d,k.u=getUnit(c.amount||c.each)||0,f=f&&P<0?_invertEase(f):f}return P=(k[b]-k.min)/k.max||0,_roundPrecise(k.b+(f?f(P):P)*k.v)+k.u}},_roundModifier=function a(l){var c=Math.pow(10,((l+"").split(".")[1]||"").length);return function(f){var u=_roundPrecise(Math.round(parseFloat(f)/l)*l*c);return(u-u%1)/c+(_isNumber$1(f)?0:getUnit(f))}},snap=function a(l,c){var f=_isArray(l),u,d;return!f&&_isObject$1(l)&&(u=f=l.radius||_bigNum$1,l.values?(l=toArray(l.values),(d=!_isNumber$1(l[0]))&&(u*=u)):l=_roundModifier(l.increment)),_conditionalReturn(c,f?_isFunction$1(l)?function(m){return d=l(m),Math.abs(d-m)<=u?d:m}:function(m){for(var g=parseFloat(d?m.x:m),_=parseFloat(d?m.y:0),y=_bigNum$1,v=0,S=l.length,b,T;S--;)d?(b=l[S].x-g,T=l[S].y-_,b=b*b+T*T):b=Math.abs(l[S]-g),bu?d-m:m)})},_replaceRandom=function a(l){for(var c=0,f="",u,d,m,g;~(u=l.indexOf("random(",c));)m=l.indexOf(")",u),g=l.charAt(u+7)==="[",d=l.substr(u+7,m-u-7).match(g?_delimitedValueExp:_strictNumExp),f+=l.substr(c,u-c)+random(g?d:+d[0],g?0:+d[1],+d[2]||1e-5),c=m+1;return f+l.substr(c,l.length-c)},mapRange=function a(l,c,f,u,d){var m=c-l,g=u-f;return _conditionalReturn(d,function(_){return f+((_-l)/m*g||0)})},interpolate=function a(l,c,f,u){var d=isNaN(l+c)?0:function(T){return(1-T)*l+T*c};if(!d){var m=_isString$1(l),g={},_,y,v,S,b;if(f===!0&&(u=1)&&(f=null),m)l={p:l},c={p:c};else if(_isArray(l)&&!_isArray(c)){for(v=[],S=l.length,b=S-2,y=1;y(g=Math.abs(g))&&(_=m,d=g);return _},_callback$1=function a(l,c,f){var u=l.vars,d=u[c],m=_context$2,g=l._ctx,_,y,v;if(d)return _=u[c+"Params"],y=u.callbackScope||l,f&&_lazyTweens.length&&_lazyRender(),g&&(_context$2=g),v=_?d.apply(y,_):d.call(y),_context$2=m,v},_interrupt=function a(l){return _removeFromParent(l),l.scrollTrigger&&l.scrollTrigger.kill(!!_reverting$1),l.progress()<1&&_callback$1(l,"onInterrupt"),l},_quickTween,_registerPluginQueue=[],_createPlugin=function a(l){if(_windowExists$2()&&l){l=!l.name&&l.default||l;var c=l.name,f=_isFunction$1(l),u=c&&!f&&l.init?function(){this._props=[]}:l,d={init:_emptyFunc,render:_renderPropTweens,add:_addPropTween,kill:_killPropTweensOf,modifier:_addPluginModifier,rawVars:0},m={targetTest:0,get:0,getSetter:_getSetter,aliases:{},register:0};if(_wake(),l!==u){if(_plugins[c])return;_setDefaults$1(u,_setDefaults$1(_copyExcluding(l,d),m)),_merge(u.prototype,_merge(d,_copyExcluding(l,m))),_plugins[u.prop=c]=u,l.targetTest&&(_harnessPlugins.push(u),_reservedProps[c]=1),c=(c==="css"?"CSS":c.charAt(0).toUpperCase()+c.substr(1))+"Plugin"}_addGlobal(c,u),l.register&&l.register(gsap$2,u,PropTween)}else l&&_registerPluginQueue.push(l)},_255=255,_colorLookup={aqua:[0,_255,_255],lime:[0,_255,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,_255],navy:[0,0,128],white:[_255,_255,_255],olive:[128,128,0],yellow:[_255,_255,0],orange:[_255,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[_255,0,0],pink:[_255,192,203],cyan:[0,_255,_255],transparent:[_255,_255,_255,0]},_hue=function a(l,c,f){return l+=l<0?1:l>1?-1:0,(l*6<1?c+(f-c)*l*6:l<.5?f:l*3<2?c+(f-c)*(2/3-l)*6:c)*_255+.5|0},splitColor=function a(l,c,f){var u=l?_isNumber$1(l)?[l>>16,l>>8&_255,l&_255]:0:_colorLookup.black,d,m,g,_,y,v,S,b,T,E;if(!u){if(l.substr(-1)===","&&(l=l.substr(0,l.length-1)),_colorLookup[l])u=_colorLookup[l];else if(l.charAt(0)==="#"){if(l.length<6&&(d=l.charAt(1),m=l.charAt(2),g=l.charAt(3),l="#"+d+d+m+m+g+g+(l.length===5?l.charAt(4)+l.charAt(4):"")),l.length===9)return u=parseInt(l.substr(1,6),16),[u>>16,u>>8&_255,u&_255,parseInt(l.substr(7),16)/255];l=parseInt(l.substr(1),16),u=[l>>16,l>>8&_255,l&_255]}else if(l.substr(0,3)==="hsl"){if(u=E=l.match(_strictNumExp),!c)_=+u[0]%360/360,y=+u[1]/100,v=+u[2]/100,m=v<=.5?v*(y+1):v+y-v*y,d=v*2-m,u.length>3&&(u[3]*=1),u[0]=_hue(_+1/3,d,m),u[1]=_hue(_,d,m),u[2]=_hue(_-1/3,d,m);else if(~l.indexOf("="))return u=l.match(_numExp),f&&u.length<4&&(u[3]=1),u}else u=l.match(_strictNumExp)||_colorLookup.transparent;u=u.map(Number)}return c&&!E&&(d=u[0]/_255,m=u[1]/_255,g=u[2]/_255,S=Math.max(d,m,g),b=Math.min(d,m,g),v=(S+b)/2,S===b?_=y=0:(T=S-b,y=v>.5?T/(2-S-b):T/(S+b),_=S===d?(m-g)/T+(ml&&(f+=x-c),u+=x,R=u-f,A=R-m,(A>0||C)&&(F=++S.frame,b=R-S.time*1e3,S.time=R=R/1e3,m+=A+(A>=d?4:d-A),w=1),C||(_=y(P)),w)for(T=0;T=x&&T--},_listeners:g},S}(),_wake=function a(){return!_tickerActive&&_ticker.wake()},_easeMap={},_customEaseExp=/^[\d.\-M][\d.\-,\s]/,_quotesExp=/["']/g,_parseObjectInString=function a(l){for(var c={},f=l.substr(1,l.length-3).split(":"),u=f[0],d=1,m=f.length,g,_,y;d1&&f.config?f.config.apply(null,~l.indexOf("{")?[_parseObjectInString(c[1])]:_valueInParentheses(l).split(",").map(_numericIfPossible)):_easeMap._CE&&_customEaseExp.test(l)?_easeMap._CE("",l):f},_invertEase=function a(l){return function(c){return 1-l(1-c)}},_propagateYoyoEase=function a(l,c){for(var f=l._first,u;f;)f instanceof Timeline?a(f,c):f.vars.yoyoEase&&(!f._yoyo||!f._repeat)&&f._yoyo!==c&&(f.timeline?a(f.timeline,c):(u=f._ease,f._ease=f._yEase,f._yEase=u,f._yoyo=c)),f=f._next},_parseEase=function a(l,c){return l&&(_isFunction$1(l)?l:_easeMap[l]||_configEaseFromString(l))||c},_insertEase=function a(l,c,f,u){f===void 0&&(f=function(_){return 1-c(1-_)}),u===void 0&&(u=function(_){return _<.5?c(_*2)/2:1-c((1-_)*2)/2});var d={easeIn:c,easeOut:f,easeInOut:u},m;return _forEachName(l,function(g){_easeMap[g]=_globals[g]=d,_easeMap[m=g.toLowerCase()]=f;for(var _ in d)_easeMap[m+(_==="easeIn"?".in":_==="easeOut"?".out":".inOut")]=_easeMap[g+"."+_]=d[_]}),d},_easeInOutFromOut=function a(l){return function(c){return c<.5?(1-l(1-c*2))/2:.5+l((c-.5)*2)/2}},_configElastic=function a(l,c,f){var u=c>=1?c:1,d=(f||(l?.3:.45))/(c<1?c:1),m=d/_2PI*(Math.asin(1/u)||0),g=function(v){return v===1?1:u*Math.pow(2,-10*v)*_sin((v-m)*d)+1},_=l==="out"?g:l==="in"?function(y){return 1-g(1-y)}:_easeInOutFromOut(g);return d=_2PI/d,_.config=function(y,v){return a(l,y,v)},_},_configBack=function a(l,c){c===void 0&&(c=1.70158);var f=function(m){return m?--m*m*((c+1)*m+c)+1:0},u=l==="out"?f:l==="in"?function(d){return 1-f(1-d)}:_easeInOutFromOut(f);return u.config=function(d){return a(l,d)},u};_forEachName("Linear,Quad,Cubic,Quart,Quint,Strong",function(a,l){var c=l<5?l+1:l;_insertEase(a+",Power"+(c-1),l?function(f){return Math.pow(f,c)}:function(f){return f},function(f){return 1-Math.pow(1-f,c)},function(f){return f<.5?Math.pow(f*2,c)/2:1-Math.pow((1-f)*2,c)/2})});_easeMap.Linear.easeNone=_easeMap.none=_easeMap.Linear.easeIn;_insertEase("Elastic",_configElastic("in"),_configElastic("out"),_configElastic());(function(a,l){var c=1/l,f=2*c,u=2.5*c,d=function(g){return g0?f+(f+this._rDelay)*this._repeat:f):this.totalDuration()&&this._dur},l.totalDuration=function(f){return arguments.length?(this._dirty=0,_setDuration(this,this._repeat<0?f:(f-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},l.totalTime=function(f,u){if(_wake(),!arguments.length)return this._tTime;var d=this._dp;if(d&&d.smoothChildTiming&&this._ts){for(_alignPlayhead(this,f),!d._dp||d.parent||_postAddChecks(d,this);d&&d.parent;)d.parent._time!==d._start+(d._ts>=0?d._tTime/d._ts:(d.totalDuration()-d._tTime)/-d._ts)&&d.totalTime(d._tTime,!0),d=d.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&f0||!this._tDur&&!f)&&_addToTimeline(this._dp,this,this._start-this._delay)}return(this._tTime!==f||!this._dur&&!u||this._initted&&Math.abs(this._zTime)===_tinyNum||!f&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=f),_lazySafeRender(this,f,u)),this},l.time=function(f,u){return arguments.length?this.totalTime(Math.min(this.totalDuration(),f+_elapsedCycleDuration(this))%(this._dur+this._rDelay)||(f?this._dur:0),u):this._time},l.totalProgress=function(f,u){return arguments.length?this.totalTime(this.totalDuration()*f,u):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.ratio},l.progress=function(f,u){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-f:f)+_elapsedCycleDuration(this),u):this.duration()?Math.min(1,this._time/this._dur):this.ratio},l.iteration=function(f,u){var d=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(f-1)*d,u):this._repeat?_animationCycle(this._tTime,d)+1:1},l.timeScale=function(f){if(!arguments.length)return this._rts===-_tinyNum?0:this._rts;if(this._rts===f)return this;var u=this.parent&&this._ts?_parentToChildTotalTime(this.parent._time,this):this._tTime;return this._rts=+f||0,this._ts=this._ps||f===-_tinyNum?0:this._rts,this.totalTime(_clamp$1(-Math.abs(this._delay),this._tDur,u),!0),_setEnd(this),_recacheAncestors(this)},l.paused=function(f){return arguments.length?(this._ps!==f&&(this._ps=f,f?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(_wake(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==_tinyNum&&(this._tTime-=_tinyNum)))),this):this._ps},l.startTime=function(f){if(arguments.length){this._start=f;var u=this.parent||this._dp;return u&&(u._sort||!this.parent)&&_addToTimeline(u,this,f-this._delay),this}return this._start},l.endTime=function(f){return this._start+(_isNotFalse(f)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},l.rawTime=function(f){var u=this.parent||this._dp;return u?f&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?_parentToChildTotalTime(u.rawTime(f),this):this._tTime:this._tTime},l.revert=function(f){f===void 0&&(f=_revertConfig);var u=_reverting$1;return _reverting$1=f,(this._initted||this._startAt)&&(this.timeline&&this.timeline.revert(f),this.totalTime(-.01,f.suppressEvents)),this.data!=="nested"&&f.kill!==!1&&this.kill(),_reverting$1=u,this},l.globalTime=function(f){for(var u=this,d=arguments.length?f:u.rawTime();u;)d=u._start+d/(u._ts||1),u=u._dp;return!this.parent&&this._sat?this._sat.vars.immediateRender?-1/0:this._sat.globalTime(f):d},l.repeat=function(f){return arguments.length?(this._repeat=f===1/0?-2:f,_onUpdateTotalDuration(this)):this._repeat===-2?1/0:this._repeat},l.repeatDelay=function(f){if(arguments.length){var u=this._time;return this._rDelay=f,_onUpdateTotalDuration(this),u?this.time(u):this}return this._rDelay},l.yoyo=function(f){return arguments.length?(this._yoyo=f,this):this._yoyo},l.seek=function(f,u){return this.totalTime(_parsePosition$1(this,f),_isNotFalse(u))},l.restart=function(f,u){return this.play().totalTime(f?-this._delay:0,_isNotFalse(u))},l.play=function(f,u){return f!=null&&this.seek(f,u),this.reversed(!1).paused(!1)},l.reverse=function(f,u){return f!=null&&this.seek(f||this.totalDuration(),u),this.reversed(!0).paused(!1)},l.pause=function(f,u){return f!=null&&this.seek(f,u),this.paused(!0)},l.resume=function(){return this.paused(!1)},l.reversed=function(f){return arguments.length?(!!f!==this.reversed()&&this.timeScale(-this._rts||(f?-_tinyNum:0)),this):this._rts<0},l.invalidate=function(){return this._initted=this._act=0,this._zTime=-_tinyNum,this},l.isActive=function(){var f=this.parent||this._dp,u=this._start,d;return!!(!f||this._ts&&this._initted&&f.isActive()&&(d=f.rawTime(!0))>=u&&d1?(u?(m[f]=u,d&&(m[f+"Params"]=d),f==="onUpdate"&&(this._onUpdate=u)):delete m[f],this):m[f]},l.then=function(f){var u=this;return new Promise(function(d){var m=_isFunction$1(f)?f:_passThrough$1,g=function(){var y=u.then;u.then=null,_isFunction$1(m)&&(m=m(u))&&(m.then||m===u)&&(u.then=y),d(m),u.then=y};u._initted&&u.totalProgress()===1&&u._ts>=0||!u._tTime&&u._ts<0?g():u._prom=g})},l.kill=function(){_interrupt(this)},a}();_setDefaults$1(Animation.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-_tinyNum,_prom:0,_ps:!1,_rts:1});var Timeline=function(a){_inheritsLoose(l,a);function l(f,u){var d;return f===void 0&&(f={}),d=a.call(this,f)||this,d.labels={},d.smoothChildTiming=!!f.smoothChildTiming,d.autoRemoveChildren=!!f.autoRemoveChildren,d._sort=_isNotFalse(f.sortChildren),_globalTimeline&&_addToTimeline(f.parent||_globalTimeline,_assertThisInitialized(d),u),f.reversed&&d.reverse(),f.paused&&d.paused(!0),f.scrollTrigger&&_scrollTrigger(_assertThisInitialized(d),f.scrollTrigger),d}var c=l.prototype;return c.to=function(u,d,m){return _createTweenType(0,arguments,this),this},c.from=function(u,d,m){return _createTweenType(1,arguments,this),this},c.fromTo=function(u,d,m,g){return _createTweenType(2,arguments,this),this},c.set=function(u,d,m){return d.duration=0,d.parent=this,_inheritDefaults(d).repeatDelay||(d.repeat=0),d.immediateRender=!!d.immediateRender,new Tween(u,d,_parsePosition$1(this,m),1),this},c.call=function(u,d,m){return _addToTimeline(this,Tween.delayedCall(0,u,d),m)},c.staggerTo=function(u,d,m,g,_,y,v){return m.duration=d,m.stagger=m.stagger||g,m.onComplete=y,m.onCompleteParams=v,m.parent=this,new Tween(u,m,_parsePosition$1(this,_)),this},c.staggerFrom=function(u,d,m,g,_,y,v){return m.runBackwards=1,_inheritDefaults(m).immediateRender=_isNotFalse(m.immediateRender),this.staggerTo(u,d,m,g,_,y,v)},c.staggerFromTo=function(u,d,m,g,_,y,v,S){return g.startAt=m,_inheritDefaults(g).immediateRender=_isNotFalse(g.immediateRender),this.staggerTo(u,d,g,_,y,v,S)},c.render=function(u,d,m){var g=this._time,_=this._dirty?this.totalDuration():this._tDur,y=this._dur,v=u<=0?0:_roundPrecise(u),S=this._zTime<0!=u<0&&(this._initted||!y),b,T,E,P,k,x,C,A,w,R,F,$;if(this!==_globalTimeline&&v>_&&u>=0&&(v=_),v!==this._tTime||m||S){if(g!==this._time&&y&&(v+=this._time-g,u+=this._time-g),b=v,w=this._start,A=this._ts,x=!A,S&&(y||(g=this._zTime),(u||!d)&&(this._zTime=u)),this._repeat){if(F=this._yoyo,k=y+this._rDelay,this._repeat<-1&&u<0)return this.totalTime(k*100+u,d,m);if(b=_roundPrecise(v%k),v===_?(P=this._repeat,b=y):(P=~~(v/k),P&&P===v/k&&(b=y,P--),b>y&&(b=y)),R=_animationCycle(this._tTime,k),!g&&this._tTime&&R!==P&&this._tTime-R*k-this._dur<=0&&(R=P),F&&P&1&&(b=y-b,$=1),P!==R&&!this._lock){var I=F&&R&1,N=I===(F&&P&1);if(P=g&&u>=0)for(T=this._first;T;){if(E=T._next,(T._act||b>=T._start)&&T._ts&&C!==T){if(T.parent!==this)return this.render(u,d,m);if(T.render(T._ts>0?(b-T._start)*T._ts:(T._dirty?T.totalDuration():T._tDur)+(b-T._start)*T._ts,d,m),b!==this._time||!this._ts&&!x){C=0,E&&(v+=this._zTime=-_tinyNum);break}}T=E}else{T=this._last;for(var G=u<0?u:b;T;){if(E=T._prev,(T._act||G<=T._end)&&T._ts&&C!==T){if(T.parent!==this)return this.render(u,d,m);if(T.render(T._ts>0?(G-T._start)*T._ts:(T._dirty?T.totalDuration():T._tDur)+(G-T._start)*T._ts,d,m||_reverting$1&&(T._initted||T._startAt)),b!==this._time||!this._ts&&!x){C=0,E&&(v+=this._zTime=G?-_tinyNum:_tinyNum);break}}T=E}}if(C&&!d&&(this.pause(),C.render(b>=g?0:-_tinyNum)._zTime=b>=g?1:-1,this._ts))return this._start=w,_setEnd(this),this.render(u,d,m);this._onUpdate&&!d&&_callback$1(this,"onUpdate",!0),(v===_&&this._tTime>=this.totalDuration()||!v&&g)&&(w===this._start||Math.abs(A)!==Math.abs(this._ts))&&(this._lock||((u||!y)&&(v===_&&this._ts>0||!v&&this._ts<0)&&_removeFromParent(this,1),!d&&!(u<0&&!g)&&(v||g||!_)&&(_callback$1(this,v===_&&u>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(v<_&&this.timeScale()>0)&&this._prom())))}return this},c.add=function(u,d){var m=this;if(_isNumber$1(d)||(d=_parsePosition$1(this,d,u)),!(u instanceof Animation)){if(_isArray(u))return u.forEach(function(g){return m.add(g,d)}),this;if(_isString$1(u))return this.addLabel(u,d);if(_isFunction$1(u))u=Tween.delayedCall(0,u);else return this}return this!==u?_addToTimeline(this,u,d):this},c.getChildren=function(u,d,m,g){u===void 0&&(u=!0),d===void 0&&(d=!0),m===void 0&&(m=!0),g===void 0&&(g=-_bigNum$1);for(var _=[],y=this._first;y;)y._start>=g&&(y instanceof Tween?d&&_.push(y):(m&&_.push(y),u&&_.push.apply(_,y.getChildren(!0,d,m)))),y=y._next;return _},c.getById=function(u){for(var d=this.getChildren(1,1,1),m=d.length;m--;)if(d[m].vars.id===u)return d[m]},c.remove=function(u){return _isString$1(u)?this.removeLabel(u):_isFunction$1(u)?this.killTweensOf(u):(_removeLinkedListItem(this,u),u===this._recent&&(this._recent=this._last),_uncache(this))},c.totalTime=function(u,d){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=_roundPrecise(_ticker.time-(this._ts>0?u/this._ts:(this.totalDuration()-u)/-this._ts))),a.prototype.totalTime.call(this,u,d),this._forcing=0,this):this._tTime},c.addLabel=function(u,d){return this.labels[u]=_parsePosition$1(this,d),this},c.removeLabel=function(u){return delete this.labels[u],this},c.addPause=function(u,d,m){var g=Tween.delayedCall(0,d||_emptyFunc,m);return g.data="isPause",this._hasPause=1,_addToTimeline(this,g,_parsePosition$1(this,u))},c.removePause=function(u){var d=this._first;for(u=_parsePosition$1(this,u);d;)d._start===u&&d.data==="isPause"&&_removeFromParent(d),d=d._next},c.killTweensOf=function(u,d,m){for(var g=this.getTweensOf(u,m),_=g.length;_--;)_overwritingTween!==g[_]&&g[_].kill(u,d);return this},c.getTweensOf=function(u,d){for(var m=[],g=toArray(u),_=this._first,y=_isNumber$1(d),v;_;)_ instanceof Tween?_arrayContainsAny(_._targets,g)&&(y?(!_overwritingTween||_._initted&&_._ts)&&_.globalTime(0)<=d&&_.globalTime(_.totalDuration())>d:!d||_.isActive())&&m.push(_):(v=_.getTweensOf(g,d)).length&&m.push.apply(m,v),_=_._next;return m},c.tweenTo=function(u,d){d=d||{};var m=this,g=_parsePosition$1(m,u),_=d,y=_.startAt,v=_.onStart,S=_.onStartParams,b=_.immediateRender,T,E=Tween.to(m,_setDefaults$1({ease:d.ease||"none",lazy:!1,immediateRender:!1,time:g,overwrite:"auto",duration:d.duration||Math.abs((g-(y&&"time"in y?y.time:m._time))/m.timeScale())||_tinyNum,onStart:function(){if(m.pause(),!T){var k=d.duration||Math.abs((g-(y&&"time"in y?y.time:m._time))/m.timeScale());E._dur!==k&&_setDuration(E,k,0,1).render(E._time,!0,!0),T=1}v&&v.apply(E,S||[])}},d));return b?E.render(0):E},c.tweenFromTo=function(u,d,m){return this.tweenTo(d,_setDefaults$1({startAt:{time:_parsePosition$1(this,u)}},m))},c.recent=function(){return this._recent},c.nextLabel=function(u){return u===void 0&&(u=this._time),_getLabelInDirection(this,_parsePosition$1(this,u))},c.previousLabel=function(u){return u===void 0&&(u=this._time),_getLabelInDirection(this,_parsePosition$1(this,u),1)},c.currentLabel=function(u){return arguments.length?this.seek(u,!0):this.previousLabel(this._time+_tinyNum)},c.shiftChildren=function(u,d,m){m===void 0&&(m=0);for(var g=this._first,_=this.labels,y;g;)g._start>=m&&(g._start+=u,g._end+=u),g=g._next;if(d)for(y in _)_[y]>=m&&(_[y]+=u);return _uncache(this)},c.invalidate=function(u){var d=this._first;for(this._lock=0;d;)d.invalidate(u),d=d._next;return a.prototype.invalidate.call(this,u)},c.clear=function(u){u===void 0&&(u=!0);for(var d=this._first,m;d;)m=d._next,this.remove(d),d=m;return this._dp&&(this._time=this._tTime=this._pTime=0),u&&(this.labels={}),_uncache(this)},c.totalDuration=function(u){var d=0,m=this,g=m._last,_=_bigNum$1,y,v,S;if(arguments.length)return m.timeScale((m._repeat<0?m.duration():m.totalDuration())/(m.reversed()?-u:u));if(m._dirty){for(S=m.parent;g;)y=g._prev,g._dirty&&g.totalDuration(),v=g._start,v>_&&m._sort&&g._ts&&!m._lock?(m._lock=1,_addToTimeline(m,g,v-g._delay,1)._lock=0):_=v,v<0&&g._ts&&(d-=v,(!S&&!m._dp||S&&S.smoothChildTiming)&&(m._start+=v/m._ts,m._time-=v,m._tTime-=v),m.shiftChildren(-v,!1,-1/0),_=0),g._end>d&&g._ts&&(d=g._end),g=y;_setDuration(m,m===_globalTimeline&&m._time>d?m._time:d,1,1),m._dirty=0}return m._tDur},l.updateRoot=function(u){if(_globalTimeline._ts&&(_lazySafeRender(_globalTimeline,_parentToChildTotalTime(u,_globalTimeline)),_lastRenderedFrame=_ticker.frame),_ticker.frame>=_nextGCFrame){_nextGCFrame+=_config.autoSleep||120;var d=_globalTimeline._first;if((!d||!d._ts)&&_config.autoSleep&&_ticker._listeners.length<2){for(;d&&!d._ts;)d=d._next;d||_ticker.sleep()}}},l}(Animation);_setDefaults$1(Timeline.prototype,{_lock:0,_hasPause:0,_forcing:0});var _addComplexStringPropTween=function a(l,c,f,u,d,m,g){var _=new PropTween(this._pt,l,c,0,1,_renderComplexString,null,d),y=0,v=0,S,b,T,E,P,k,x,C;for(_.b=f,_.e=u,f+="",u+="",(x=~u.indexOf("random("))&&(u=_replaceRandom(u)),m&&(C=[f,u],m(C,l,c),f=C[0],u=C[1]),b=f.match(_complexStringNumExp)||[];S=_complexStringNumExp.exec(u);)E=S[0],P=u.substring(y,S.index),T?T=(T+1)%5:P.substr(-5)==="rgba("&&(T=1),E!==b[v++]&&(k=parseFloat(b[v-1])||0,_._pt={_next:_._pt,p:P||v===1?P:",",s:k,c:E.charAt(1)==="="?_parseRelative(k,E)-k:parseFloat(E)-k,m:T&&T<4?Math.round:0},y=_complexStringNumExp.lastIndex);return _.c=y")}),w.duration();else{F={};for(I in E)I==="ease"||I==="easeEach"||_parseKeyframe(I,E[I],F,E.easeEach);for(I in F)for(X=F[I].sort(function(L,B){return L.t-B.t}),H=0,R=0;R_-_tinyNum&&!v?_:u<_tinyNum?0:u,b,T,E,P,k,x,C,A,w;if(!y)_renderZeroDurationTween(this,u,d,m);else if(S!==this._tTime||!u||m||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==v){if(b=S,A=this.timeline,this._repeat){if(P=y+this._rDelay,this._repeat<-1&&v)return this.totalTime(P*100+u,d,m);if(b=_roundPrecise(S%P),S===_?(E=this._repeat,b=y):(E=~~(S/P),E&&E===S/P&&(b=y,E--),b>y&&(b=y)),x=this._yoyo&&E&1,x&&(w=this._yEase,b=y-b),k=_animationCycle(this._tTime,P),b===g&&!m&&this._initted)return this._tTime=S,this;E!==k&&(A&&this._yEase&&_propagateYoyoEase(A,x),this.vars.repeatRefresh&&!x&&!this._lock&&(this._lock=m=1,this.render(_roundPrecise(P*E),!0).invalidate()._lock=0))}if(!this._initted){if(_attemptInitTween(this,v?u:b,m,d,S))return this._tTime=0,this;if(g!==this._time)return this;if(y!==this._dur)return this.render(u,d,m)}if(this._tTime=S,this._time=b,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=C=(w||this._ease)(b/y),this._from&&(this.ratio=C=1-C),b&&!g&&!d&&!E&&(_callback$1(this,"onStart"),this._tTime!==S))return this;for(T=this._pt;T;)T.r(C,T.d),T=T._next;A&&A.render(u<0?u:!b&&x?-_tinyNum:A._dur*A._ease(b/this._dur),d,m)||this._startAt&&(this._zTime=u),this._onUpdate&&!d&&(v&&_rewindStartAt(this,u,d,m),_callback$1(this,"onUpdate")),this._repeat&&E!==k&&this.vars.onRepeat&&!d&&this.parent&&_callback$1(this,"onRepeat"),(S===this._tDur||!S)&&this._tTime===S&&(v&&!this._onUpdate&&_rewindStartAt(this,u,!0,!0),(u||!y)&&(S===this._tDur&&this._ts>0||!S&&this._ts<0)&&_removeFromParent(this,1),!d&&!(v&&!g)&&(S||g||x)&&(_callback$1(this,S===_?"onComplete":"onReverseComplete",!0),this._prom&&!(S<_&&this.timeScale()>0)&&this._prom()))}return this},c.targets=function(){return this._targets},c.invalidate=function(u){return(!u||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(u),a.prototype.invalidate.call(this,u)},c.resetTo=function(u,d,m,g){_tickerActive||_ticker.wake(),this._ts||this.play();var _=Math.min(this._dur,(this._dp._time-this._start)*this._ts),y;return this._initted||_initTween(this,_),y=this._ease(_/this._dur),_updatePropTweens(this,u,d,m,g,y,_)?this.resetTo(u,d,m,g):(_alignPlayhead(this,0),this.parent||_addLinkedListItem(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},c.kill=function(u,d){if(d===void 0&&(d="all"),!u&&(!d||d==="all"))return this._lazy=this._pt=0,this.parent?_interrupt(this):this;if(this.timeline){var m=this.timeline.totalDuration();return this.timeline.killTweensOf(u,d,_overwritingTween&&_overwritingTween.vars.overwrite!==!0)._first||_interrupt(this),this.parent&&m!==this.timeline.totalDuration()&&_setDuration(this,this._dur*this.timeline._tDur/m,0,1),this}var g=this._targets,_=u?toArray(u):g,y=this._ptLookup,v=this._pt,S,b,T,E,P,k,x;if((!d||d==="all")&&_arraysMatch(g,_))return d==="all"&&(this._pt=0),_interrupt(this);for(S=this._op=this._op||[],d!=="all"&&(_isString$1(d)&&(P={},_forEachName(d,function(C){return P[C]=1}),d=P),d=_addAliasesToVars(g,d)),x=g.length;x--;)if(~_.indexOf(g[x])){b=y[x],d==="all"?(S[x]=d,E=b,T={}):(T=S[x]=S[x]||{},E=d);for(P in E)k=b&&b[P],k&&((!("kill"in k.d)||k.d.kill(P)===!0)&&_removeLinkedListItem(this,k,"_pt"),delete b[P]),T!=="all"&&(T[P]=1)}return this._initted&&!this._pt&&v&&_interrupt(this),this},l.to=function(u,d){return new l(u,d,arguments[2])},l.from=function(u,d){return _createTweenType(1,arguments)},l.delayedCall=function(u,d,m,g){return new l(d,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:u,onComplete:d,onReverseComplete:d,onCompleteParams:m,onReverseCompleteParams:m,callbackScope:g})},l.fromTo=function(u,d,m){return _createTweenType(2,arguments)},l.set=function(u,d){return d.duration=0,d.repeatDelay||(d.repeat=0),new l(u,d)},l.killTweensOf=function(u,d,m){return _globalTimeline.killTweensOf(u,d,m)},l}(Animation);_setDefaults$1(Tween.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});_forEachName("staggerTo,staggerFrom,staggerFromTo",function(a){Tween[a]=function(){var l=new Timeline,c=_slice.call(arguments,0);return c.splice(a==="staggerFromTo"?5:4,0,0),l[a].apply(l,c)}});var _setterPlain=function a(l,c,f){return l[c]=f},_setterFunc=function a(l,c,f){return l[c](f)},_setterFuncWithParam=function a(l,c,f,u){return l[c](u.fp,f)},_setterAttribute=function a(l,c,f){return l.setAttribute(c,f)},_getSetter=function a(l,c){return _isFunction$1(l[c])?_setterFunc:_isUndefined(l[c])&&l.setAttribute?_setterAttribute:_setterPlain},_renderPlain=function a(l,c){return c.set(c.t,c.p,Math.round((c.s+c.c*l)*1e6)/1e6,c)},_renderBoolean=function a(l,c){return c.set(c.t,c.p,!!(c.s+c.c*l),c)},_renderComplexString=function a(l,c){var f=c._pt,u="";if(!l&&c.b)u=c.b;else if(l===1&&c.e)u=c.e;else{for(;f;)u=f.p+(f.m?f.m(f.s+f.c*l):Math.round((f.s+f.c*l)*1e4)/1e4)+u,f=f._next;u+=c.c}c.set(c.t,c.p,u,c)},_renderPropTweens=function a(l,c){for(var f=c._pt;f;)f.r(l,f.d),f=f._next},_addPluginModifier=function a(l,c,f,u){for(var d=this._pt,m;d;)m=d._next,d.p===u&&d.modifier(l,c,f),d=m},_killPropTweensOf=function a(l){for(var c=this._pt,f,u;c;)u=c._next,c.p===l&&!c.op||c.op===l?_removeLinkedListItem(this,c,"_pt"):c.dep||(f=1),c=u;return!f},_setterWithModifier=function a(l,c,f,u){u.mSet(l,c,u.m.call(u.tween,f,u.mt),u)},_sortPropTweensByPriority=function a(l){for(var c=l._pt,f,u,d,m;c;){for(f=c._next,u=d;u&&u.pr>c.pr;)u=u._next;(c._prev=u?u._prev:m)?c._prev._next=c:d=c,(c._next=u)?u._prev=c:m=c,c=f}l._pt=d},PropTween=function(){function a(c,f,u,d,m,g,_,y,v){this.t=f,this.s=d,this.c=m,this.p=u,this.r=g||_renderPlain,this.d=_||this,this.set=y||_setterPlain,this.pr=v||0,this._next=c,c&&(c._prev=this)}var l=a.prototype;return l.modifier=function(f,u,d){this.mSet=this.mSet||this.set,this.set=_setterWithModifier,this.m=f,this.mt=d,this.tween=u},a}();_forEachName(_callbackNames+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",function(a){return _reservedProps[a]=1});_globals.TweenMax=_globals.TweenLite=Tween;_globals.TimelineLite=_globals.TimelineMax=Timeline;_globalTimeline=new Timeline({sortChildren:!1,defaults:_defaults$1,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0});_config.stringFilter=_colorStringFilter;var _media=[],_listeners$1={},_emptyArray$1=[],_lastMediaTime=0,_contextID=0,_dispatch$1=function a(l){return(_listeners$1[l]||_emptyArray$1).map(function(c){return c()})},_onMediaChange=function a(){var l=Date.now(),c=[];l-_lastMediaTime>2&&(_dispatch$1("matchMediaInit"),_media.forEach(function(f){var u=f.queries,d=f.conditions,m,g,_,y;for(g in u)m=_win$3.matchMedia(u[g]).matches,m&&(_=1),m!==d[g]&&(d[g]=m,y=1);y&&(f.revert(),_&&c.push(f))}),_dispatch$1("matchMediaRevert"),c.forEach(function(f){return f.onMatch(f)}),_lastMediaTime=l,_dispatch$1("matchMedia"))},Context=function(){function a(c,f){this.selector=f&&selector(f),this.data=[],this._r=[],this.isReverted=!1,this.id=_contextID++,c&&this.add(c)}var l=a.prototype;return l.add=function(f,u,d){_isFunction$1(f)&&(d=u,u=f,f=_isFunction$1);var m=this,g=function(){var y=_context$2,v=m.selector,S;return y&&y!==m&&y.data.push(m),d&&(m.selector=selector(d)),_context$2=m,S=u.apply(m,arguments),_isFunction$1(S)&&m._r.push(S),_context$2=y,m.selector=v,m.isReverted=!1,S};return m.last=g,f===_isFunction$1?g(m):f?m[f]=g:g},l.ignore=function(f){var u=_context$2;_context$2=null,f(this),_context$2=u},l.getTweens=function(){var f=[];return this.data.forEach(function(u){return u instanceof a?f.push.apply(f,u.getTweens()):u instanceof Tween&&!(u.parent&&u.parent.data==="nested")&&f.push(u)}),f},l.clear=function(){this._r.length=this.data.length=0},l.kill=function(f,u){var d=this;if(f){var m=this.getTweens();this.data.forEach(function(_){_.data==="isFlip"&&(_.revert(),_.getChildren(!0,!0,!1).forEach(function(y){return m.splice(m.indexOf(y),1)}))}),m.map(function(_){return{g:_.globalTime(0),t:_}}).sort(function(_,y){return y.g-_.g||-1/0}).forEach(function(_){return _.t.revert(f)}),this.data.forEach(function(_){return!(_ instanceof Tween)&&_.revert&&_.revert(f)}),this._r.forEach(function(_){return _(f,d)}),this.isReverted=!0}else this.data.forEach(function(_){return _.kill&&_.kill()});if(this.clear(),u)for(var g=_media.length;g--;)_media[g].id===this.id&&_media.splice(g,1)},l.revert=function(f){this.kill(f||{})},a}(),MatchMedia=function(){function a(c){this.contexts=[],this.scope=c}var l=a.prototype;return l.add=function(f,u,d){_isObject$1(f)||(f={matches:f});var m=new Context(0,d||this.scope),g=m.conditions={},_,y,v;_context$2&&!m.selector&&(m.selector=_context$2.selector),this.contexts.push(m),u=m.add("onMatch",u),m.queries=f;for(y in f)y==="all"?v=1:(_=_win$3.matchMedia(f[y]),_&&(_media.indexOf(m)<0&&_media.push(m),(g[y]=_.matches)&&(v=1),_.addListener?_.addListener(_onMediaChange):_.addEventListener("change",_onMediaChange)));return v&&u(m),this},l.revert=function(f){this.kill(f||{})},l.kill=function(f){this.contexts.forEach(function(u){return u.kill(f,!0)})},a}(),_gsap={registerPlugin:function a(){for(var l=arguments.length,c=new Array(l),f=0;f1){var u=l.map(function(v){return gsap$2.quickSetter(v,c,f)}),d=u.length;return function(v){for(var S=d;S--;)u[S](v)}}l=l[0]||{};var m=_plugins[c],g=_getCache(l),_=g.harness&&(g.harness.aliases||{})[c]||c,y=m?function(v){var S=new m;_quickTween._pt=0,S.init(l,f?v+f:v,_quickTween,0,[l]),S.render(1,S),_quickTween._pt&&_renderPropTweens(1,_quickTween)}:g.set(l,_);return m?y:function(v){return y(l,_,f?v+f:v,g,1)}},quickTo:function a(l,c,f){var u,d=gsap$2.to(l,_merge((u={},u[c]="+=0.1",u.paused=!0,u),f||{})),m=function(_,y,v){return d.resetTo(c,_,y,v)};return m.tween=d,m},isTweening:function a(l){return _globalTimeline.getTweensOf(l,!0).length>0},defaults:function a(l){return l&&l.ease&&(l.ease=_parseEase(l.ease,_defaults$1.ease)),_mergeDeep(_defaults$1,l||{})},config:function a(l){return _mergeDeep(_config,l||{})},registerEffect:function a(l){var c=l.name,f=l.effect,u=l.plugins,d=l.defaults,m=l.extendTimeline;(u||"").split(",").forEach(function(g){return g&&!_plugins[g]&&!_globals[g]&&_warn(c+" effect requires "+g+" plugin.")}),_effects[c]=function(g,_,y){return f(toArray(g),_setDefaults$1(_||{},d),y)},m&&(Timeline.prototype[c]=function(g,_,y){return this.add(_effects[c](g,_isObject$1(_)?_:(y=_)&&{},this),y)})},registerEase:function a(l,c){_easeMap[l]=_parseEase(c)},parseEase:function a(l,c){return arguments.length?_parseEase(l,c):_easeMap},getById:function a(l){return _globalTimeline.getById(l)},exportRoot:function a(l,c){l===void 0&&(l={});var f=new Timeline(l),u,d;for(f.smoothChildTiming=_isNotFalse(l.smoothChildTiming),_globalTimeline.remove(f),f._dp=0,f._time=f._tTime=_globalTimeline._time,u=_globalTimeline._first;u;)d=u._next,(c||!(!u._dur&&u instanceof Tween&&u.vars.onComplete===u._targets[0]))&&_addToTimeline(f,u,u._start-u._delay),u=d;return _addToTimeline(_globalTimeline,f,0),f},context:function a(l,c){return l?new Context(l,c):_context$2},matchMedia:function a(l){return new MatchMedia(l)},matchMediaRefresh:function a(){return _media.forEach(function(l){var c=l.conditions,f,u;for(u in c)c[u]&&(c[u]=!1,f=1);f&&l.revert()})||_onMediaChange()},addEventListener:function a(l,c){var f=_listeners$1[l]||(_listeners$1[l]=[]);~f.indexOf(c)||f.push(c)},removeEventListener:function a(l,c){var f=_listeners$1[l],u=f&&f.indexOf(c);u>=0&&f.splice(u,1)},utils:{wrap,wrapYoyo,distribute,random,snap,normalize,getUnit,clamp,splitColor,toArray,selector,mapRange,pipe,unitize,interpolate,shuffle},install:_install,effects:_effects,ticker:_ticker,updateRoot:Timeline.updateRoot,plugins:_plugins,globalTimeline:_globalTimeline,core:{PropTween,globals:_addGlobal,Tween,Timeline,Animation,getCache:_getCache,_removeLinkedListItem,reverting:function a(){return _reverting$1},context:function a(l){return l&&_context$2&&(_context$2.data.push(l),l._ctx=_context$2),_context$2},suppressOverwrites:function a(l){return _suppressOverwrites$1=l}}};_forEachName("to,from,fromTo,delayedCall,set,killTweensOf",function(a){return _gsap[a]=Tween[a]});_ticker.add(Timeline.updateRoot);_quickTween=_gsap.to({},{duration:0});var _getPluginPropTween=function a(l,c){for(var f=l._pt;f&&f.p!==c&&f.op!==c&&f.fp!==c;)f=f._next;return f},_addModifiers=function a(l,c){var f=l._targets,u,d,m;for(u in c)for(d=f.length;d--;)m=l._ptLookup[d][u],m&&(m=m.d)&&(m._pt&&(m=_getPluginPropTween(m,u)),m&&m.modifier&&m.modifier(c[u],l,f[d],u))},_buildModifierPlugin=function a(l,c){return{name:l,rawVars:1,init:function(u,d,m){m._onInit=function(g){var _,y;if(_isString$1(d)&&(_={},_forEachName(d,function(v){return _[v]=1}),d=_),c){_={};for(y in d)_[y]=c(d[y]);d=_}_addModifiers(g,d)}}}},gsap$2=_gsap.registerPlugin({name:"attr",init:function a(l,c,f,u,d){var m,g,_;this.tween=f;for(m in c)_=l.getAttribute(m)||"",g=this.add(l,"setAttribute",(_||0)+"",c[m],u,d,0,0,m),g.op=m,g.b=_,this._props.push(m)},render:function a(l,c){for(var f=c._pt;f;)_reverting$1?f.set(f.t,f.p,f.b,f):f.r(l,f.d),f=f._next}},{name:"endArray",init:function a(l,c){for(var f=c.length;f--;)this.add(l,f,l[f]||0,c[f],0,0,0,0,0,1)}},_buildModifierPlugin("roundProps",_roundModifier),_buildModifierPlugin("modifiers"),_buildModifierPlugin("snap",snap))||_gsap;Tween.version=Timeline.version=gsap$2.version="3.12.2";_coreReady=1;_windowExists$2()&&_wake();_easeMap.Power0;_easeMap.Power1;_easeMap.Power2;_easeMap.Power3;_easeMap.Power4;_easeMap.Linear;_easeMap.Quad;_easeMap.Cubic;_easeMap.Quart;_easeMap.Quint;_easeMap.Strong;_easeMap.Elastic;_easeMap.Back;_easeMap.SteppedEase;_easeMap.Bounce;_easeMap.Sine;_easeMap.Expo;_easeMap.Circ;/*!
* CSSPlugin 3.12.2
* https://greensock.com
*
* Copyright 2008-2023, GreenSock. All rights reserved.
* Subject to the terms at https://greensock.com/standard-license or for
* Club GreenSock members, the agreement issued with that membership.
* @author: Jack Doyle, jack@greensock.com
*/var _win$2,_doc$2,_docElement,_pluginInitted,_tempDiv,_recentSetterPlugin,_reverting,_windowExists$1=function a(){return typeof window<"u"},_transformProps={},_RAD2DEG=180/Math.PI,_DEG2RAD=Math.PI/180,_atan2=Math.atan2,_bigNum=1e8,_capsExp$1=/([A-Z])/g,_horizontalExp=/(left|right|width|margin|padding|x)/i,_complexExp=/[\s,\(]\S/,_propertyAliases={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},_renderCSSProp=function a(l,c){return c.set(c.t,c.p,Math.round((c.s+c.c*l)*1e4)/1e4+c.u,c)},_renderPropWithEnd=function a(l,c){return c.set(c.t,c.p,l===1?c.e:Math.round((c.s+c.c*l)*1e4)/1e4+c.u,c)},_renderCSSPropWithBeginning=function a(l,c){return c.set(c.t,c.p,l?Math.round((c.s+c.c*l)*1e4)/1e4+c.u:c.b,c)},_renderRoundedCSSProp=function a(l,c){var f=c.s+c.c*l;c.set(c.t,c.p,~~(f+(f<0?-.5:.5))+c.u,c)},_renderNonTweeningValue=function a(l,c){return c.set(c.t,c.p,l?c.e:c.b,c)},_renderNonTweeningValueOnlyAtEnd=function a(l,c){return c.set(c.t,c.p,l!==1?c.b:c.e,c)},_setterCSSStyle=function a(l,c,f){return l.style[c]=f},_setterCSSProp=function a(l,c,f){return l.style.setProperty(c,f)},_setterTransform=function a(l,c,f){return l._gsap[c]=f},_setterScale=function a(l,c,f){return l._gsap.scaleX=l._gsap.scaleY=f},_setterScaleWithRender=function a(l,c,f,u,d){var m=l._gsap;m.scaleX=m.scaleY=f,m.renderTransform(d,m)},_setterTransformWithRender=function a(l,c,f,u,d){var m=l._gsap;m[c]=f,m.renderTransform(d,m)},_transformProp$1="transform",_transformOriginProp=_transformProp$1+"Origin",_saveStyle=function a(l,c){var f=this,u=this.target,d=u.style;if(l in _transformProps&&d){if(this.tfm=this.tfm||{},l!=="transform")l=_propertyAliases[l]||l,~l.indexOf(",")?l.split(",").forEach(function(m){return f.tfm[m]=_get(u,m)}):this.tfm[l]=u._gsap.x?u._gsap[l]:_get(u,l);else return _propertyAliases.transform.split(",").forEach(function(m){return a.call(f,m,c)});if(this.props.indexOf(_transformProp$1)>=0)return;u._gsap.svg&&(this.svgo=u.getAttribute("data-svg-origin"),this.props.push(_transformOriginProp,c,"")),l=_transformProp$1}(d||c)&&this.props.push(l,c,d[l])},_removeIndependentTransforms=function a(l){l.translate&&(l.removeProperty("translate"),l.removeProperty("scale"),l.removeProperty("rotate"))},_revertStyle=function a(){var l=this.props,c=this.target,f=c.style,u=c._gsap,d,m;for(d=0;d=0?_prefixes[m]:"")+l},_initCore$1=function a(){_windowExists$1()&&window.document&&(_win$2=window,_doc$2=_win$2.document,_docElement=_doc$2.documentElement,_tempDiv=_createElement("div")||{style:{}},_createElement("div"),_transformProp$1=_checkPropPrefix(_transformProp$1),_transformOriginProp=_transformProp$1+"Origin",_tempDiv.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",_supports3D=!!_checkPropPrefix("perspective"),_reverting=gsap$2.core.reverting,_pluginInitted=1)},_getBBoxHack=function a(l){var c=_createElement("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),f=this.parentNode,u=this.nextSibling,d=this.style.cssText,m;if(_docElement.appendChild(c),c.appendChild(this),this.style.display="block",l)try{m=this.getBBox(),this._gsapBBox=this.getBBox,this.getBBox=a}catch{}else this._gsapBBox&&(m=this._gsapBBox());return f&&(u?f.insertBefore(this,u):f.appendChild(this)),_docElement.removeChild(c),this.style.cssText=d,m},_getAttributeFallbacks=function a(l,c){for(var f=c.length;f--;)if(l.hasAttribute(c[f]))return l.getAttribute(c[f])},_getBBox=function a(l){var c;try{c=l.getBBox()}catch{c=_getBBoxHack.call(l,!0)}return c&&(c.width||c.height)||l.getBBox===_getBBoxHack||(c=_getBBoxHack.call(l,!0)),c&&!c.width&&!c.x&&!c.y?{x:+_getAttributeFallbacks(l,["x","cx","x1"])||0,y:+_getAttributeFallbacks(l,["y","cy","y1"])||0,width:0,height:0}:c},_isSVG=function a(l){return!!(l.getCTM&&(!l.parentNode||l.ownerSVGElement)&&_getBBox(l))},_removeProperty=function a(l,c){if(c){var f=l.style;c in _transformProps&&c!==_transformOriginProp&&(c=_transformProp$1),f.removeProperty?((c.substr(0,2)==="ms"||c.substr(0,6)==="webkit")&&(c="-"+c),f.removeProperty(c.replace(_capsExp$1,"-$1").toLowerCase())):f.removeAttribute(c)}},_addNonTweeningPT=function a(l,c,f,u,d,m){var g=new PropTween(l._pt,c,f,0,1,m?_renderNonTweeningValueOnlyAtEnd:_renderNonTweeningValue);return l._pt=g,g.b=u,g.e=d,l._props.push(f),g},_nonConvertibleUnits={deg:1,rad:1,turn:1},_nonStandardLayouts={grid:1,flex:1},_convertToUnit=function a(l,c,f,u){var d=parseFloat(f)||0,m=(f+"").trim().substr((d+"").length)||"px",g=_tempDiv.style,_=_horizontalExp.test(c),y=l.tagName.toLowerCase()==="svg",v=(y?"client":"offset")+(_?"Width":"Height"),S=100,b=u==="px",T=u==="%",E,P,k,x;return u===m||!d||_nonConvertibleUnits[u]||_nonConvertibleUnits[m]?d:(m!=="px"&&!b&&(d=a(l,c,f,"px")),x=l.getCTM&&_isSVG(l),(T||m==="%")&&(_transformProps[c]||~c.indexOf("adius"))?(E=x?l.getBBox()[_?"width":"height"]:l[v],_round$1(T?d/E*S:d/100*E)):(g[_?"width":"height"]=S+(b?m:u),P=~c.indexOf("adius")||u==="em"&&l.appendChild&&!y?l:l.parentNode,x&&(P=(l.ownerSVGElement||{}).parentNode),(!P||P===_doc$2||!P.appendChild)&&(P=_doc$2.body),k=P._gsap,k&&T&&k.width&&_&&k.time===_ticker.time&&!k.uncache?_round$1(d/k.width*S):((T||m==="%")&&!_nonStandardLayouts[_getComputedProperty(P,"display")]&&(g.position=_getComputedProperty(l,"position")),P===l&&(g.position="static"),P.appendChild(_tempDiv),E=_tempDiv[v],P.removeChild(_tempDiv),g.position="absolute",_&&T&&(k=_getCache(P),k.time=_ticker.time,k.width=P[v]),_round$1(b?E*d/S:E&&d?S/E*d:0))))},_get=function a(l,c,f,u){var d;return _pluginInitted||_initCore$1(),c in _propertyAliases&&c!=="transform"&&(c=_propertyAliases[c],~c.indexOf(",")&&(c=c.split(",")[0])),_transformProps[c]&&c!=="transform"?(d=_parseTransform(l,u),d=c!=="transformOrigin"?d[c]:d.svg?d.origin:_firstTwoOnly(_getComputedProperty(l,_transformOriginProp))+" "+d.zOrigin+"px"):(d=l.style[c],(!d||d==="auto"||u||~(d+"").indexOf("calc("))&&(d=_specialProps[c]&&_specialProps[c](l,c,f)||_getComputedProperty(l,c)||_getProperty(l,c)||(c==="opacity"?1:0))),f&&!~(d+"").trim().indexOf(" ")?_convertToUnit(l,c,d,f)+f:d},_tweenComplexCSSString=function a(l,c,f,u){if(!f||f==="none"){var d=_checkPropPrefix(c,l,1),m=d&&_getComputedProperty(l,d,1);m&&m!==f?(c=d,f=m):c==="borderColor"&&(f=_getComputedProperty(l,"borderTopColor"))}var g=new PropTween(this._pt,l.style,c,0,1,_renderComplexString),_=0,y=0,v,S,b,T,E,P,k,x,C,A,w,R;if(g.b=f,g.e=u,f+="",u+="",u==="auto"&&(l.style[c]=u,u=_getComputedProperty(l,c)||u,l.style[c]=f),v=[f,u],_colorStringFilter(v),f=v[0],u=v[1],b=f.match(_numWithUnitExp)||[],R=u.match(_numWithUnitExp)||[],R.length){for(;S=_numWithUnitExp.exec(u);)k=S[0],C=u.substring(_,S.index),E?E=(E+1)%5:(C.substr(-5)==="rgba("||C.substr(-5)==="hsla(")&&(E=1),k!==(P=b[y++]||"")&&(T=parseFloat(P)||0,w=P.substr((T+"").length),k.charAt(1)==="="&&(k=_parseRelative(T,k)+w),x=parseFloat(k),A=k.substr((x+"").length),_=_numWithUnitExp.lastIndex-A.length,A||(A=A||_config.units[c]||w,_===u.length&&(u+=A,g.e+=A)),w!==A&&(T=_convertToUnit(l,c,P,A)||0),g._pt={_next:g._pt,p:C||y===1?C:",",s:T,c:x-T,m:E&&E<4||c==="zIndex"?Math.round:0});g.c=_-1;)g=d[y],_transformProps[g]&&(_=1,g=g==="transformOrigin"?_transformOriginProp:_transformProp$1),_removeProperty(f,g);_&&(_removeProperty(f,_transformProp$1),m&&(m.svg&&f.removeAttribute("transform"),_parseTransform(f,1),m.uncache=1,_removeIndependentTransforms(u)))}},_specialProps={clearProps:function a(l,c,f,u,d){if(d.data!=="isFromStart"){var m=l._pt=new PropTween(l._pt,c,f,0,0,_renderClearProps);return m.u=u,m.pr=-10,m.tween=d,l._props.push(f),1}}},_identity2DMatrix=[1,0,0,1,0,0],_rotationalProperties={},_isNullTransform=function a(l){return l==="matrix(1, 0, 0, 1, 0, 0)"||l==="none"||!l},_getComputedTransformMatrixAsArray=function a(l){var c=_getComputedProperty(l,_transformProp$1);return _isNullTransform(c)?_identity2DMatrix:c.substr(7).match(_numExp).map(_round$1)},_getMatrix=function a(l,c){var f=l._gsap||_getCache(l),u=l.style,d=_getComputedTransformMatrixAsArray(l),m,g,_,y;return f.svg&&l.getAttribute("transform")?(_=l.transform.baseVal.consolidate().matrix,d=[_.a,_.b,_.c,_.d,_.e,_.f],d.join(",")==="1,0,0,1,0,0"?_identity2DMatrix:d):(d===_identity2DMatrix&&!l.offsetParent&&l!==_docElement&&!f.svg&&(_=u.display,u.display="block",m=l.parentNode,(!m||!l.offsetParent)&&(y=1,g=l.nextElementSibling,_docElement.appendChild(l)),d=_getComputedTransformMatrixAsArray(l),_?u.display=_:_removeProperty(l,"display"),y&&(g?m.insertBefore(l,g):m?m.appendChild(l):_docElement.removeChild(l))),c&&d.length>6?[d[0],d[1],d[4],d[5],d[12],d[13]]:d)},_applySVGOrigin=function a(l,c,f,u,d,m){var g=l._gsap,_=d||_getMatrix(l,!0),y=g.xOrigin||0,v=g.yOrigin||0,S=g.xOffset||0,b=g.yOffset||0,T=_[0],E=_[1],P=_[2],k=_[3],x=_[4],C=_[5],A=c.split(" "),w=parseFloat(A[0])||0,R=parseFloat(A[1])||0,F,$,I,N;f?_!==_identity2DMatrix&&($=T*k-E*P)&&(I=w*(k/$)+R*(-P/$)+(P*C-k*x)/$,N=w*(-E/$)+R*(T/$)-(T*C-E*x)/$,w=I,R=N):(F=_getBBox(l),w=F.x+(~A[0].indexOf("%")?w/100*F.width:w),R=F.y+(~(A[1]||A[0]).indexOf("%")?R/100*F.height:R)),u||u!==!1&&g.smooth?(x=w-y,C=R-v,g.xOffset=S+(x*T+C*P)-x,g.yOffset=b+(x*E+C*k)-C):g.xOffset=g.yOffset=0,g.xOrigin=w,g.yOrigin=R,g.smooth=!!u,g.origin=c,g.originIsAbsolute=!!f,l.style[_transformOriginProp]="0px 0px",m&&(_addNonTweeningPT(m,g,"xOrigin",y,w),_addNonTweeningPT(m,g,"yOrigin",v,R),_addNonTweeningPT(m,g,"xOffset",S,g.xOffset),_addNonTweeningPT(m,g,"yOffset",b,g.yOffset)),l.setAttribute("data-svg-origin",w+" "+R)},_parseTransform=function a(l,c){var f=l._gsap||new GSCache(l);if("x"in f&&!c&&!f.uncache)return f;var u=l.style,d=f.scaleX<0,m="px",g="deg",_=getComputedStyle(l),y=_getComputedProperty(l,_transformOriginProp)||"0",v,S,b,T,E,P,k,x,C,A,w,R,F,$,I,N,G,q,H,X,K,Y,L,B,M,O,D,U,ie,fe,oe,ye;return v=S=b=P=k=x=C=A=w=0,T=E=1,f.svg=!!(l.getCTM&&_isSVG(l)),_.translate&&((_.translate!=="none"||_.scale!=="none"||_.rotate!=="none")&&(u[_transformProp$1]=(_.translate!=="none"?"translate3d("+(_.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(_.rotate!=="none"?"rotate("+_.rotate+") ":"")+(_.scale!=="none"?"scale("+_.scale.split(" ").join(",")+") ":"")+(_[_transformProp$1]!=="none"?_[_transformProp$1]:"")),u.scale=u.rotate=u.translate="none"),$=_getMatrix(l,f.svg),f.svg&&(f.uncache?(M=l.getBBox(),y=f.xOrigin-M.x+"px "+(f.yOrigin-M.y)+"px",B=""):B=!c&&l.getAttribute("data-svg-origin"),_applySVGOrigin(l,B||y,!!B||f.originIsAbsolute,f.smooth!==!1,$)),R=f.xOrigin||0,F=f.yOrigin||0,$!==_identity2DMatrix&&(q=$[0],H=$[1],X=$[2],K=$[3],v=Y=$[4],S=L=$[5],$.length===6?(T=Math.sqrt(q*q+H*H),E=Math.sqrt(K*K+X*X),P=q||H?_atan2(H,q)*_RAD2DEG:0,C=X||K?_atan2(X,K)*_RAD2DEG+P:0,C&&(E*=Math.abs(Math.cos(C*_DEG2RAD))),f.svg&&(v-=R-(R*q+F*X),S-=F-(R*H+F*K))):(ye=$[6],fe=$[7],D=$[8],U=$[9],ie=$[10],oe=$[11],v=$[12],S=$[13],b=$[14],I=_atan2(ye,ie),k=I*_RAD2DEG,I&&(N=Math.cos(-I),G=Math.sin(-I),B=Y*N+D*G,M=L*N+U*G,O=ye*N+ie*G,D=Y*-G+D*N,U=L*-G+U*N,ie=ye*-G+ie*N,oe=fe*-G+oe*N,Y=B,L=M,ye=O),I=_atan2(-X,ie),x=I*_RAD2DEG,I&&(N=Math.cos(-I),G=Math.sin(-I),B=q*N-D*G,M=H*N-U*G,O=X*N-ie*G,oe=K*G+oe*N,q=B,H=M,X=O),I=_atan2(H,q),P=I*_RAD2DEG,I&&(N=Math.cos(I),G=Math.sin(I),B=q*N+H*G,M=Y*N+L*G,H=H*N-q*G,L=L*N-Y*G,q=B,Y=M),k&&Math.abs(k)+Math.abs(P)>359.9&&(k=P=0,x=180-x),T=_round$1(Math.sqrt(q*q+H*H+X*X)),E=_round$1(Math.sqrt(L*L+ye*ye)),I=_atan2(Y,L),C=Math.abs(I)>2e-4?I*_RAD2DEG:0,w=oe?1/(oe<0?-oe:oe):0),f.svg&&(B=l.getAttribute("transform"),f.forceCSS=l.setAttribute("transform","")||!_isNullTransform(_getComputedProperty(l,_transformProp$1)),B&&l.setAttribute("transform",B))),Math.abs(C)>90&&Math.abs(C)<270&&(d?(T*=-1,C+=P<=0?180:-180,P+=P<=0?180:-180):(E*=-1,C+=C<=0?180:-180)),c=c||f.uncache,f.x=v-((f.xPercent=v&&(!c&&f.xPercent||(Math.round(l.offsetWidth/2)===Math.round(-v)?-50:0)))?l.offsetWidth*f.xPercent/100:0)+m,f.y=S-((f.yPercent=S&&(!c&&f.yPercent||(Math.round(l.offsetHeight/2)===Math.round(-S)?-50:0)))?l.offsetHeight*f.yPercent/100:0)+m,f.z=b+m,f.scaleX=_round$1(T),f.scaleY=_round$1(E),f.rotation=_round$1(P)+g,f.rotationX=_round$1(k)+g,f.rotationY=_round$1(x)+g,f.skewX=C+g,f.skewY=A+g,f.transformPerspective=w+m,(f.zOrigin=parseFloat(y.split(" ")[2])||0)&&(u[_transformOriginProp]=_firstTwoOnly(y)),f.xOffset=f.yOffset=0,f.force3D=_config.force3D,f.renderTransform=f.svg?_renderSVGTransforms:_supports3D?_renderCSSTransforms:_renderNon3DTransforms,f.uncache=0,f},_firstTwoOnly=function a(l){return(l=l.split(" "))[0]+" "+l[1]},_addPxTranslate=function a(l,c,f){var u=getUnit(c);return _round$1(parseFloat(c)+parseFloat(_convertToUnit(l,"x",f+"px",u)))+u},_renderNon3DTransforms=function a(l,c){c.z="0px",c.rotationY=c.rotationX="0deg",c.force3D=0,_renderCSSTransforms(l,c)},_zeroDeg="0deg",_zeroPx="0px",_endParenthesis=") ",_renderCSSTransforms=function a(l,c){var f=c||this,u=f.xPercent,d=f.yPercent,m=f.x,g=f.y,_=f.z,y=f.rotation,v=f.rotationY,S=f.rotationX,b=f.skewX,T=f.skewY,E=f.scaleX,P=f.scaleY,k=f.transformPerspective,x=f.force3D,C=f.target,A=f.zOrigin,w="",R=x==="auto"&&l&&l!==1||x===!0;if(A&&(S!==_zeroDeg||v!==_zeroDeg)){var F=parseFloat(v)*_DEG2RAD,$=Math.sin(F),I=Math.cos(F),N;F=parseFloat(S)*_DEG2RAD,N=Math.cos(F),m=_addPxTranslate(C,m,$*N*-A),g=_addPxTranslate(C,g,-Math.sin(F)*-A),_=_addPxTranslate(C,_,I*N*-A+A)}k!==_zeroPx&&(w+="perspective("+k+_endParenthesis),(u||d)&&(w+="translate("+u+"%, "+d+"%) "),(R||m!==_zeroPx||g!==_zeroPx||_!==_zeroPx)&&(w+=_!==_zeroPx||R?"translate3d("+m+", "+g+", "+_+") ":"translate("+m+", "+g+_endParenthesis),y!==_zeroDeg&&(w+="rotate("+y+_endParenthesis),v!==_zeroDeg&&(w+="rotateY("+v+_endParenthesis),S!==_zeroDeg&&(w+="rotateX("+S+_endParenthesis),(b!==_zeroDeg||T!==_zeroDeg)&&(w+="skew("+b+", "+T+_endParenthesis),(E!==1||P!==1)&&(w+="scale("+E+", "+P+_endParenthesis),C.style[_transformProp$1]=w||"translate(0, 0)"},_renderSVGTransforms=function a(l,c){var f=c||this,u=f.xPercent,d=f.yPercent,m=f.x,g=f.y,_=f.rotation,y=f.skewX,v=f.skewY,S=f.scaleX,b=f.scaleY,T=f.target,E=f.xOrigin,P=f.yOrigin,k=f.xOffset,x=f.yOffset,C=f.forceCSS,A=parseFloat(m),w=parseFloat(g),R,F,$,I,N;_=parseFloat(_),y=parseFloat(y),v=parseFloat(v),v&&(v=parseFloat(v),y+=v,_+=v),_||y?(_*=_DEG2RAD,y*=_DEG2RAD,R=Math.cos(_)*S,F=Math.sin(_)*S,$=Math.sin(_-y)*-b,I=Math.cos(_-y)*b,y&&(v*=_DEG2RAD,N=Math.tan(y-v),N=Math.sqrt(1+N*N),$*=N,I*=N,v&&(N=Math.tan(v),N=Math.sqrt(1+N*N),R*=N,F*=N)),R=_round$1(R),F=_round$1(F),$=_round$1($),I=_round$1(I)):(R=S,I=b,F=$=0),(A&&!~(m+"").indexOf("px")||w&&!~(g+"").indexOf("px"))&&(A=_convertToUnit(T,"x",m,"px"),w=_convertToUnit(T,"y",g,"px")),(E||P||k||x)&&(A=_round$1(A+E-(E*R+P*$)+k),w=_round$1(w+P-(E*F+P*I)+x)),(u||d)&&(N=T.getBBox(),A=_round$1(A+u/100*N.width),w=_round$1(w+d/100*N.height)),N="matrix("+R+","+F+","+$+","+I+","+A+","+w+")",T.setAttribute("transform",N),C&&(T.style[_transformProp$1]=N)},_addRotationalPropTween=function a(l,c,f,u,d){var m=360,g=_isString$1(d),_=parseFloat(d)*(g&&~d.indexOf("rad")?_RAD2DEG:1),y=_-u,v=u+y+"deg",S,b;return g&&(S=d.split("_")[1],S==="short"&&(y%=m,y!==y%(m/2)&&(y+=y<0?m:-m)),S==="cw"&&y<0?y=(y+m*_bigNum)%m-~~(y/m)*m:S==="ccw"&&y>0&&(y=(y-m*_bigNum)%m-~~(y/m)*m)),l._pt=b=new PropTween(l._pt,c,f,u,y,_renderPropWithEnd),b.e=v,b.u="deg",l._props.push(f),b},_assign=function a(l,c){for(var f in c)l[f]=c[f];return l},_addRawTransformPTs=function a(l,c,f){var u=_assign({},f._gsap),d="perspective,force3D,transformOrigin,svgOrigin",m=f.style,g,_,y,v,S,b,T,E;u.svg?(y=f.getAttribute("transform"),f.setAttribute("transform",""),m[_transformProp$1]=c,g=_parseTransform(f,1),_removeProperty(f,_transformProp$1),f.setAttribute("transform",y)):(y=getComputedStyle(f)[_transformProp$1],m[_transformProp$1]=c,g=_parseTransform(f,1),m[_transformProp$1]=y);for(_ in _transformProps)y=u[_],v=g[_],y!==v&&d.indexOf(_)<0&&(T=getUnit(y),E=getUnit(v),S=T!==E?_convertToUnit(f,_,y,E):parseFloat(y),b=parseFloat(v),l._pt=new PropTween(l._pt,g,_,S,b-S,_renderCSSProp),l._pt.u=E||0,l._props.push(_));_assign(g,u)};_forEachName("padding,margin,Width,Radius",function(a,l){var c="Top",f="Right",u="Bottom",d="Left",m=(l<3?[c,f,u,d]:[c+d,c+f,u+f,u+d]).map(function(g){return l<2?a+g:"border"+g+a});_specialProps[l>1?"border"+a:a]=function(g,_,y,v,S){var b,T;if(arguments.length<4)return b=m.map(function(E){return _get(g,E,y)}),T=b.join(" "),T.split(b[0]).length===5?b[0]:T;b=(v+"").split(" "),T={},m.forEach(function(E,P){return T[E]=b[P]=b[P]||b[(P-1)/2|0]}),g.init(_,T,S)}});var CSSPlugin={name:"css",register:_initCore$1,targetTest:function a(l){return l.style&&l.nodeType},init:function a(l,c,f,u,d){var m=this._props,g=l.style,_=f.vars.startAt,y,v,S,b,T,E,P,k,x,C,A,w,R,F,$,I;_pluginInitted||_initCore$1(),this.styles=this.styles||_getStyleSaver(l),I=this.styles.props,this.tween=f;for(P in c)if(P!=="autoRound"&&(v=c[P],!(_plugins[P]&&_checkPlugin(P,c,f,u,l,d)))){if(T=typeof v,E=_specialProps[P],T==="function"&&(v=v.call(f,u,l,d),T=typeof v),T==="string"&&~v.indexOf("random(")&&(v=_replaceRandom(v)),E)E(this,l,P,v,f)&&($=1);else if(P.substr(0,2)==="--")y=(getComputedStyle(l).getPropertyValue(P)+"").trim(),v+="",_colorExp.lastIndex=0,_colorExp.test(y)||(k=getUnit(y),x=getUnit(v)),x?k!==x&&(y=_convertToUnit(l,P,y,x)+x):k&&(v+=k),this.add(g,"setProperty",y,v,u,d,0,0,P),m.push(P),I.push(P,0,g[P]);else if(T!=="undefined"){if(_&&P in _?(y=typeof _[P]=="function"?_[P].call(f,u,l,d):_[P],_isString$1(y)&&~y.indexOf("random(")&&(y=_replaceRandom(y)),getUnit(y+"")||(y+=_config.units[P]||getUnit(_get(l,P))||""),(y+"").charAt(1)==="="&&(y=_get(l,P))):y=_get(l,P),b=parseFloat(y),C=T==="string"&&v.charAt(1)==="="&&v.substr(0,2),C&&(v=v.substr(2)),S=parseFloat(v),P in _propertyAliases&&(P==="autoAlpha"&&(b===1&&_get(l,"visibility")==="hidden"&&S&&(b=0),I.push("visibility",0,g.visibility),_addNonTweeningPT(this,g,"visibility",b?"inherit":"hidden",S?"inherit":"hidden",!S)),P!=="scale"&&P!=="transform"&&(P=_propertyAliases[P],~P.indexOf(",")&&(P=P.split(",")[0]))),A=P in _transformProps,A){if(this.styles.save(P),w||(R=l._gsap,R.renderTransform&&!c.parseTransform||_parseTransform(l,c.parseTransform),F=c.smoothOrigin!==!1&&R.smooth,w=this._pt=new PropTween(this._pt,g,_transformProp$1,0,1,R.renderTransform,R,0,-1),w.dep=1),P==="scale")this._pt=new PropTween(this._pt,R,"scaleY",R.scaleY,(C?_parseRelative(R.scaleY,C+S):S)-R.scaleY||0,_renderCSSProp),this._pt.u=0,m.push("scaleY",P),P+="X";else if(P==="transformOrigin"){I.push(_transformOriginProp,0,g[_transformOriginProp]),v=_convertKeywordsToPercentages(v),R.svg?_applySVGOrigin(l,v,0,F,0,this):(x=parseFloat(v.split(" ")[2])||0,x!==R.zOrigin&&_addNonTweeningPT(this,R,"zOrigin",R.zOrigin,x),_addNonTweeningPT(this,g,P,_firstTwoOnly(y),_firstTwoOnly(v)));continue}else if(P==="svgOrigin"){_applySVGOrigin(l,v,1,F,0,this);continue}else if(P in _rotationalProperties){_addRotationalPropTween(this,R,P,b,C?_parseRelative(b,C+v):v);continue}else if(P==="smoothOrigin"){_addNonTweeningPT(this,R,"smooth",R.smooth,v);continue}else if(P==="force3D"){R[P]=v;continue}else if(P==="transform"){_addRawTransformPTs(this,v,l);continue}}else P in g||(P=_checkPropPrefix(P)||P);if(A||(S||S===0)&&(b||b===0)&&!_complexExp.test(v)&&P in g)k=(y+"").substr((b+"").length),S||(S=0),x=getUnit(v)||(P in _config.units?_config.units[P]:k),k!==x&&(b=_convertToUnit(l,P,y,x)),this._pt=new PropTween(this._pt,A?R:g,P,b,(C?_parseRelative(b,C+S):S)-b,!A&&(x==="px"||P==="zIndex")&&c.autoRound!==!1?_renderRoundedCSSProp:_renderCSSProp),this._pt.u=x||0,k!==x&&x!=="%"&&(this._pt.b=y,this._pt.r=_renderCSSPropWithBeginning);else if(P in g)_tweenComplexCSSString.call(this,l,P,y,C?C+v:v);else if(P in l)this.add(l,P,y||l[P],C?C+v:v,u,d);else if(P!=="parseTransform"){_missingPlugin(P,v);continue}A||(P in g?I.push(P,0,g[P]):I.push(P,1,y||l[P])),m.push(P)}}$&&_sortPropTweensByPriority(this)},render:function a(l,c){if(c.tween._time||!_reverting())for(var f=c._pt;f;)f.r(l,f.d),f=f._next;else c.styles.revert()},get:_get,aliases:_propertyAliases,getSetter:function a(l,c,f){var u=_propertyAliases[c];return u&&u.indexOf(",")<0&&(c=u),c in _transformProps&&c!==_transformOriginProp&&(l._gsap.x||_get(l,"x"))?f&&_recentSetterPlugin===f?c==="scale"?_setterScale:_setterTransform:(_recentSetterPlugin=f||{})&&(c==="scale"?_setterScaleWithRender:_setterTransformWithRender):l.style&&!_isUndefined(l.style[c])?_setterCSSStyle:~c.indexOf("-")?_setterCSSProp:_getSetter(l,c)},core:{_removeProperty,_getMatrix}};gsap$2.utils.checkPrefix=_checkPropPrefix;gsap$2.core.getStyleSaver=_getStyleSaver;(function(a,l,c,f){var u=_forEachName(a+","+l+","+c,function(d){_transformProps[d]=1});_forEachName(l,function(d){_config.units[d]="deg",_rotationalProperties[d]=1}),_propertyAliases[u[13]]=a+","+l,_forEachName(f,function(d){var m=d.split(":");_propertyAliases[m[1]]=u[m[0]]})})("x,y,z,scale,scaleX,scaleY,xPercent,yPercent","rotation,rotationX,rotationY,skewX,skewY","transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective","0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY");_forEachName("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(a){_config.units[a]="px"});gsap$2.registerPlugin(CSSPlugin);var gsapWithCSS=gsap$2.registerPlugin(CSSPlugin)||gsap$2;gsapWithCSS.core.Tween;const _hoisted_1$1={class:"c-preloader__lottie"},_hoisted_2$1=createStaticVNode('KORTY CAM
FPS 60
2560P
STANDBY MODE
',1),_sfc_main$3=defineComponent({__name:"Preloader",emits:["completed"],setup(a,{emit:l}){const c=ref(null),f=()=>{const u=gsapWithCSS.utils.selector(c.value),d=u(".c-preloader__hud"),m=u(".c-preloader__lottie");gsapWithCSS.timeline({onComplete:()=>{l("completed")}}).to(d,{duration:.25,opacity:1,ease:"power2.inOut",repeat:4,yoyo:!0}).to(m,{duration:.25,opacity:0,ease:"power2.inOut"}).to(c.value,{duration:.25,pointerEvents:"none",opacity:0,ease:"power2.inOut"})};return(u,d)=>{const m=resolveComponent("Vue3Lottie"),g=__nuxt_component_0;return openBlock(),createElementBlock("div",{class:"c-preloader",ref_key:"el",ref:c},[createBaseVNode("div",_hoisted_1$1,[createVNode(g,null,{default:withCtx(()=>[createVNode(m,{ref:"lottieAnimation",animationLink:"https://lottie.host/6f2ad14e-a677-495c-ab0f-1e2c24aa3f89/hUGDXI97wo.json",loop:!1,onOnComplete:f},null,512)]),_:1})]),_hoisted_2$1],512)}}}),_hoisted_1={class:"c-mask"},_hoisted_2=createBaseVNode("div",{class:"c-mask__inner"},null,-1),_hoisted_3=[_hoisted_2],_sfc_main$2=defineComponent({__name:"TransitionMask",setup(a){return onMounted(()=>{window.addEventListener("mousemove",l=>{document.documentElement.style.setProperty("--mouse-x",l.clientX+"px"),document.documentElement.style.setProperty("--mouse-y",l.clientY+"px")})}),(l,c)=>(openBlock(),createElementBlock("div",_hoisted_1,_hoisted_3))}}),interpolatePath=(a,l)=>l.path.replace(/(:\w+)\([^)]+\)/g,"$1").replace(/(:\w+)[?+*]/g,"$1").replace(/:\w+/g,c=>{var f;return((f=a.params[c.slice(1)])==null?void 0:f.toString())||""}),generateRouteKey=(a,l)=>{const c=a.route.matched.find(u=>{var d;return((d=u.components)==null?void 0:d.default)===a.Component.type}),f=l??(c==null?void 0:c.meta.key)??(c&&interpolatePath(a.route,c));return typeof f=="function"?f(a.route):f},wrapInKeepAlive=(a,l)=>({default:()=>a?h(KeepAlive,a===!0?{}:a,l):l}),_wrapIf=(a,l,c)=>(l=l===!0?{}:l,{default:()=>{var f;return l?h(a,l,c):(f=c.default)==null?void 0:f.call(c)}}),__nuxt_component_2=defineComponent({name:"NuxtPage",inheritAttrs:!1,props:{name:{type:String},transition:{type:[Boolean,Object],default:void 0},keepalive:{type:[Boolean,Object],default:void 0},route:{type:Object},pageKey:{type:[Function,String],default:null}},setup(a,{attrs:l}){const c=useNuxtApp();return()=>h(RouterView,{name:a.name,route:a.route,...l},{default:f=>{if(!f.Component)return;const u=generateRouteKey(f,a.pageKey),d=c.deferHydration(),m=!!(a.transition??f.route.meta.pageTransition??appPageTransition),g=m&&_mergeTransitionProps([a.transition,f.route.meta.pageTransition,appPageTransition,{onAfterLeave:()=>{c.callHook("page:transition:finish",f.Component)}}].filter(Boolean));return _wrapIf(Transition,m&&g,wrapInKeepAlive(a.keepalive??f.route.meta.keepalive??appKeepalive,h(Suspense,{suspensible:!0,onPending:()=>c.callHook("page:start",f.Component),onResolve:()=>{nextTick(()=>c.callHook("page:finish",f.Component).finally(d))}},{default:()=>h(RouteProvider,{key:u,routeProps:f,pageKey:u,hasTransition:m})}))).default()}})}});function _toArray$1(a){return Array.isArray(a)?a:a?[a]:[]}function _mergeTransitionProps(a){const l=a.map(c=>({...c,onAfterLeave:_toArray$1(c.onAfterLeave)}));return defu(...l)}const RouteProvider=defineComponent({name:"RouteProvider",props:["routeProps","pageKey","hasTransition"],setup(a){const l=a.pageKey,c=a.routeProps.route,f={};for(const u in a.routeProps.route)f[u]=computed(()=>l===a.pageKey?a.routeProps.route[u]:c[u]);return provide("_route",reactive(f)),()=>h(a.routeProps.Component)}}),LayoutLoader=defineComponent({name:"LayoutLoader",inheritAttrs:!1,props:{name:String},async setup(a,l){const c=await layouts[a.name]().then(f=>f.default||f);return()=>h(c,l.attrs,l.slots)}}),__nuxt_component_1=defineComponent({name:"NuxtLayout",inheritAttrs:!1,props:{name:{type:[String,Boolean,Object],default:null}},setup(a,l){const c=inject("_route"),f=c===useRoute$1()?useRoute():c,u=computed(()=>unref(a.name)??f.meta.layout??"default");return()=>{const d=u.value&&u.value in layouts,m=f.meta.layoutTransition??appLayoutTransition;return _wrapIf(Transition,d&&m,{default:()=>_wrapIf(LayoutLoader,d&&{key:u.value,name:u.value,...l.attrs},l.slots).default()}).default()}}});function _defineProperties(a,l){for(var c=0;c_?(d=u,u=E,g=m,m=k):f?u+=E:u=d+(E-d)/(k-g)*(m-g)},S=function(){d=u=f?0:u,g=m=0},b=function(E){var P=g,k=d,x=_getTime$1();return(E||E===0)&&E!==u&&v(E),m===g||x-g>y?0:(u+(f?k:-k))/((f?x:m)-P)*1e3};return{update:v,reset:S,getVelocity:b}},_getEvent=function a(l,c){return c&&!l._gsapAllow&&l.preventDefault(),l.changedTouches?l.changedTouches[0]:l},_getAbsoluteMax=function a(l){var c=Math.max.apply(Math,l),f=Math.min.apply(Math,l);return Math.abs(c)>=Math.abs(f)?c:f},_setScrollTrigger=function a(){ScrollTrigger$1=gsap$1.core.globals().ScrollTrigger,ScrollTrigger$1&&ScrollTrigger$1.core&&_integrate()},_initCore=function a(l){return gsap$1=l||_getGSAP$1(),gsap$1&&typeof document<"u"&&document.body&&(_win$1=window,_doc$1=document,_docEl$1=_doc$1.documentElement,_body$1=_doc$1.body,_root$1=[_win$1,_doc$1,_docEl$1,_body$1],gsap$1.utils.clamp,_context$1=gsap$1.core.context||function(){},_pointerType="onpointerenter"in _body$1?"pointer":"mouse",_isTouch=Observer.isTouch=_win$1.matchMedia&&_win$1.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in _win$1||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,_eventTypes=Observer.eventTypes=("ontouchstart"in _docEl$1?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in _docEl$1?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout(function(){return _startup$1=0},500),_setScrollTrigger(),_coreInitted$1=1),_coreInitted$1};_horizontal.op=_vertical;_scrollers.cache=0;var Observer=function(){function a(c){this.init(c)}var l=a.prototype;return l.init=function(f){_coreInitted$1||_initCore(gsap$1)||console.warn("Please gsap.registerPlugin(Observer)"),ScrollTrigger$1||_setScrollTrigger();var u=f.tolerance,d=f.dragMinimum,m=f.type,g=f.target,_=f.lineHeight,y=f.debounce,v=f.preventDefault,S=f.onStop,b=f.onStopDelay,T=f.ignore,E=f.wheelSpeed,P=f.event,k=f.onDragStart,x=f.onDragEnd,C=f.onDrag,A=f.onPress,w=f.onRelease,R=f.onRight,F=f.onLeft,$=f.onUp,I=f.onDown,N=f.onChangeX,G=f.onChangeY,q=f.onChange,H=f.onToggleX,X=f.onToggleY,K=f.onHover,Y=f.onHoverEnd,L=f.onMove,B=f.ignoreCheck,M=f.isNormalizer,O=f.onGestureStart,D=f.onGestureEnd,U=f.onWheel,ie=f.onEnable,fe=f.onDisable,oe=f.onClick,ye=f.scrollSpeed,me=f.capture,J=f.allowClicks,ne=f.lockAxis,te=f.onLockAxis;this.target=g=_getTarget(g)||_docEl$1,this.vars=f,T&&(T=gsap$1.utils.toArray(T)),u=u||1e-9,d=d||0,E=E||1,ye=ye||1,m=m||"wheel,touch,pointer",y=y!==!1,_||(_=parseFloat(_win$1.getComputedStyle(_body$1).lineHeight)||22);var le,_e,z,V,j,Z,Q,W=this,se=0,re=0,ae=_getScrollFunc(g,_horizontal),ee=_getScrollFunc(g,_vertical),pe=ae(),ce=ee(),ue=~m.indexOf("touch")&&!~m.indexOf("pointer")&&_eventTypes[0]==="pointerdown",he=_isViewport$1(g),de=g.ownerDocument||_doc$1,Te=[0,0,0],Se=[0,0,0],Ce=0,Me=function(){return Ce=_getTime$1()},Ve=function(ve,ke){return(W.event=ve)&&T&&~T.indexOf(ve.target)||ke&&ue&&ve.pointerType!=="touch"||B&&B(ve,ke)},He=function(){W._vx.reset(),W._vy.reset(),_e.pause(),S&&S(W)},qe=function(){var ve=W.deltaX=_getAbsoluteMax(Te),ke=W.deltaY=_getAbsoluteMax(Se),$e=Math.abs(ve)>=u,ge=Math.abs(ke)>=u;q&&($e||ge)&&q(W,ve,ke,Te,Se),$e&&(R&&W.deltaX>0&&R(W),F&&W.deltaX<0&&F(W),N&&N(W),H&&W.deltaX<0!=se<0&&H(W),se=W.deltaX,Te[0]=Te[1]=Te[2]=0),ge&&(I&&W.deltaY>0&&I(W),$&&W.deltaY<0&&$(W),G&&G(W),X&&W.deltaY<0!=re<0&&X(W),re=W.deltaY,Se[0]=Se[1]=Se[2]=0),(V||z)&&(L&&L(W),z&&(C(W),z=!1),V=!1),Z&&!(Z=!1)&&te&&te(W),j&&(U(W),j=!1),le=0},nt=function(ve,ke,$e){Te[$e]+=ve,Se[$e]+=ke,W._vx.update(ve),W._vy.update(ke),y?le||(le=requestAnimationFrame(qe)):qe()},Le=function(ve,ke){ne&&!Q&&(W.axis=Q=Math.abs(ve)>Math.abs(ke)?"x":"y",Z=!0),Q!=="y"&&(Te[2]+=ve,W._vx.update(ve,!0)),Q!=="x"&&(Se[2]+=ke,W._vy.update(ke,!0)),y?le||(le=requestAnimationFrame(qe)):qe()},Ne=function(ve){if(!Ve(ve,1)){ve=_getEvent(ve,v);var ke=ve.clientX,$e=ve.clientY,ge=ke-W.x,xe=$e-W.y,be=W.isDragging;W.x=ke,W.y=$e,(be||Math.abs(W.startX-ke)>=d||Math.abs(W.startY-$e)>=d)&&(C&&(z=!0),be||(W.isDragging=!0),Le(ge,xe),be||k&&k(W))}},Xe=W.onPress=function(Pe){Ve(Pe,1)||Pe&&Pe.button||(W.axis=Q=null,_e.pause(),W.isPressed=!0,Pe=_getEvent(Pe),se=re=0,W.startX=W.x=Pe.clientX,W.startY=W.y=Pe.clientY,W._vx.reset(),W._vy.reset(),_addListener$1(M?g:de,_eventTypes[1],Ne,v,!0),W.deltaX=W.deltaY=0,A&&A(W))},at=W.onRelease=function(Pe){if(!Ve(Pe,1)){_removeListener$1(M?g:de,_eventTypes[1],Ne,!0);var ve=!isNaN(W.y-W.startY),ke=W.isDragging&&(Math.abs(W.x-W.startX)>3||Math.abs(W.y-W.startY)>3),$e=_getEvent(Pe);!ke&&ve&&(W._vx.reset(),W._vy.reset(),v&&J&&gsap$1.delayedCall(.08,function(){if(_getTime$1()-Ce>300&&!Pe.defaultPrevented){if(Pe.target.click)Pe.target.click();else if(de.createEvent){var ge=de.createEvent("MouseEvents");ge.initMouseEvent("click",!0,!0,_win$1,1,$e.screenX,$e.screenY,$e.clientX,$e.clientY,!1,!1,!1,!1,0,null),Pe.target.dispatchEvent(ge)}}})),W.isDragging=W.isGesturing=W.isPressed=!1,S&&!M&&_e.restart(!0),x&&ke&&x(W),w&&w(W,ke)}},we=function(ve){return ve.touches&&ve.touches.length>1&&(W.isGesturing=!0)&&O(ve,W.isDragging)},ot=function(){return(W.isGesturing=!1)||D(W)},Je=function(ve){if(!Ve(ve)){var ke=ae(),$e=ee();nt((ke-pe)*ye,($e-ce)*ye,1),pe=ke,ce=$e,S&&_e.restart(!0)}},Ze=function(ve){if(!Ve(ve)){ve=_getEvent(ve,v),U&&(j=!0);var ke=(ve.deltaMode===1?_:ve.deltaMode===2?_win$1.innerHeight:1)*E;nt(ve.deltaX*ke,ve.deltaY*ke,0),S&&!M&&_e.restart(!0)}},Qe=function(ve){if(!Ve(ve)){var ke=ve.clientX,$e=ve.clientY,ge=ke-W.x,xe=$e-W.y;W.x=ke,W.y=$e,V=!0,(ge||xe)&&Le(ge,xe)}},lt=function(ve){W.event=ve,K(W)},ft=function(ve){W.event=ve,Y(W)},st=function(ve){return Ve(ve)||_getEvent(ve,v)&&oe(W)};_e=W._dc=gsap$1.delayedCall(b||.25,He).pause(),W.deltaX=W.deltaY=0,W._vx=_getVelocityProp(0,50,!0),W._vy=_getVelocityProp(0,50,!0),W.scrollX=ae,W.scrollY=ee,W.isDragging=W.isGesturing=W.isPressed=!1,_context$1(this),W.enable=function(Pe){return W.isEnabled||(_addListener$1(he?de:g,"scroll",_onScroll$1),m.indexOf("scroll")>=0&&_addListener$1(he?de:g,"scroll",Je,v,me),m.indexOf("wheel")>=0&&_addListener$1(g,"wheel",Ze,v,me),(m.indexOf("touch")>=0&&_isTouch||m.indexOf("pointer")>=0)&&(_addListener$1(g,_eventTypes[0],Xe,v,me),_addListener$1(de,_eventTypes[2],at),_addListener$1(de,_eventTypes[3],at),J&&_addListener$1(g,"click",Me,!1,!0),oe&&_addListener$1(g,"click",st),O&&_addListener$1(de,"gesturestart",we),D&&_addListener$1(de,"gestureend",ot),K&&_addListener$1(g,_pointerType+"enter",lt),Y&&_addListener$1(g,_pointerType+"leave",ft),L&&_addListener$1(g,_pointerType+"move",Qe)),W.isEnabled=!0,Pe&&Pe.type&&Xe(Pe),ie&&ie(W)),W},W.disable=function(){W.isEnabled&&(_observers.filter(function(Pe){return Pe!==W&&_isViewport$1(Pe.target)}).length||_removeListener$1(he?de:g,"scroll",_onScroll$1),W.isPressed&&(W._vx.reset(),W._vy.reset(),_removeListener$1(M?g:de,_eventTypes[1],Ne,!0)),_removeListener$1(he?de:g,"scroll",Je,me),_removeListener$1(g,"wheel",Ze,me),_removeListener$1(g,_eventTypes[0],Xe,me),_removeListener$1(de,_eventTypes[2],at),_removeListener$1(de,_eventTypes[3],at),_removeListener$1(g,"click",Me,!0),_removeListener$1(g,"click",st),_removeListener$1(de,"gesturestart",we),_removeListener$1(de,"gestureend",ot),_removeListener$1(g,_pointerType+"enter",lt),_removeListener$1(g,_pointerType+"leave",ft),_removeListener$1(g,_pointerType+"move",Qe),W.isEnabled=W.isPressed=W.isDragging=!1,fe&&fe(W))},W.kill=W.revert=function(){W.disable();var Pe=_observers.indexOf(W);Pe>=0&&_observers.splice(Pe,1),_normalizer$1===W&&(_normalizer$1=0)},_observers.push(W),M&&_isViewport$1(g)&&(_normalizer$1=W),W.enable(P)},_createClass(a,[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}]),a}();Observer.version="3.12.2";Observer.create=function(a){return new Observer(a)};Observer.register=_initCore;Observer.getAll=function(){return _observers.slice()};Observer.getById=function(a){return _observers.filter(function(l){return l.vars.id===a})[0]};_getGSAP$1()&&gsap$1.registerPlugin(Observer);/*!
* ScrollTrigger 3.12.2
* https://greensock.com
*
* @license Copyright 2008-2023, GreenSock. All rights reserved.
* Subject to the terms at https://greensock.com/standard-license or for
* Club GreenSock members, the agreement issued with that membership.
* @author: Jack Doyle, jack@greensock.com
*/var gsap,_coreInitted,_win,_doc,_docEl,_body,_root,_resizeDelay,_toArray,_clamp,_time2,_syncInterval,_refreshing,_pointerIsDown,_transformProp,_i,_prevWidth,_prevHeight,_autoRefresh,_sort,_suppressOverwrites,_ignoreResize,_normalizer,_ignoreMobileResize,_baseScreenHeight,_baseScreenWidth,_fixIOSBug,_context,_scrollRestoration,_div100vh,_100vh,_limitCallbacks,_startup=1,_getTime=Date.now,_time1=_getTime(),_lastScrollTime=0,_enabled=0,_parseClamp=function a(l,c,f){var u=_isString(l)&&(l.substr(0,6)==="clamp("||l.indexOf("max")>-1);return f["_"+c+"Clamp"]=u,u?l.substr(6,l.length-7):l},_keepClamp=function a(l,c){return c&&(!_isString(l)||l.substr(0,6)!=="clamp(")?"clamp("+l+")":l},_rafBugFix=function a(){return _enabled&&requestAnimationFrame(a)},_pointerDownHandler=function a(){return _pointerIsDown=1},_pointerUpHandler=function a(){return _pointerIsDown=0},_passThrough=function a(l){return l},_round=function a(l){return Math.round(l*1e5)/1e5||0},_windowExists=function a(){return typeof window<"u"},_getGSAP=function a(){return gsap||_windowExists()&&(gsap=window.gsap)&&gsap.registerPlugin&&gsap},_isViewport=function a(l){return!!~_root.indexOf(l)},_getViewportDimension=function a(l){return(l==="Height"?_100vh:_win["inner"+l])||_docEl["client"+l]||_body["client"+l]},_getBoundsFunc=function a(l){return _getProxyProp(l,"getBoundingClientRect")||(_isViewport(l)?function(){return _winOffsets.width=_win.innerWidth,_winOffsets.height=_100vh,_winOffsets}:function(){return _getBounds(l)})},_getSizeFunc=function a(l,c,f){var u=f.d,d=f.d2,m=f.a;return(m=_getProxyProp(l,"getBoundingClientRect"))?function(){return m()[u]}:function(){return(c?_getViewportDimension(d):l["client"+d])||0}},_getOffsetsFunc=function a(l,c){return!c||~_proxies.indexOf(l)?_getBoundsFunc(l):function(){return _winOffsets}},_maxScroll=function a(l,c){var f=c.s,u=c.d2,d=c.d,m=c.a;return Math.max(0,(f="scroll"+u)&&(m=_getProxyProp(l,f))?m()-_getBoundsFunc(l)()[d]:_isViewport(l)?(_docEl[f]||_body[f])-_getViewportDimension(u):l[f]-l["offset"+u])},_iterateAutoRefresh=function a(l,c){for(var f=0;f<_autoRefresh.length;f+=3)(!c||~c.indexOf(_autoRefresh[f+1]))&&l(_autoRefresh[f],_autoRefresh[f+1],_autoRefresh[f+2])},_isString=function a(l){return typeof l=="string"},_isFunction=function a(l){return typeof l=="function"},_isNumber=function a(l){return typeof l=="number"},_isObject=function a(l){return typeof l=="object"},_endAnimation=function a(l,c,f){return l&&l.progress(c?0:1)&&f&&l.pause()},_callback=function a(l,c){if(l.enabled){var f=c(l);f&&f.totalTime&&(l.callbackAnimation=f)}},_abs=Math.abs,_left="left",_top="top",_right="right",_bottom="bottom",_width="width",_height="height",_Right="Right",_Left="Left",_Top="Top",_Bottom="Bottom",_padding="padding",_margin="margin",_Width="Width",_Height="Height",_px="px",_getComputedStyle=function a(l){return _win.getComputedStyle(l)},_makePositionable=function a(l){var c=_getComputedStyle(l).position;l.style.position=c==="absolute"||c==="fixed"?c:"relative"},_setDefaults=function a(l,c){for(var f in c)f in l||(l[f]=c[f]);return l},_getBounds=function a(l,c){var f=c&&_getComputedStyle(l)[_transformProp]!=="matrix(1, 0, 0, 1, 0, 0)"&&gsap.to(l,{x:0,y:0,xPercent:0,yPercent:0,rotation:0,rotationX:0,rotationY:0,scale:1,skewX:0,skewY:0}).progress(1),u=l.getBoundingClientRect();return f&&f.progress(0).kill(),u},_getSize=function a(l,c){var f=c.d2;return l["offset"+f]||l["client"+f]||0},_getLabelRatioArray=function a(l){var c=[],f=l.labels,u=l.duration(),d;for(d in f)c.push(f[d]/u);return c},_getClosestLabel=function a(l){return function(c){return gsap.utils.snap(_getLabelRatioArray(l),c)}},_snapDirectional=function a(l){var c=gsap.utils.snap(l),f=Array.isArray(l)&&l.slice(0).sort(function(u,d){return u-d});return f?function(u,d,m){m===void 0&&(m=.001);var g;if(!d)return c(u);if(d>0){for(u-=m,g=0;g=u)return f[g];return f[g-1]}else for(g=f.length,u+=m;g--;)if(f[g]<=u)return f[g];return f[0]}:function(u,d,m){m===void 0&&(m=.001);var g=c(u);return!d||Math.abs(g-u)f&&(u*=c/100),l=l.substr(0,f-1)),l=u+(l in _keywords?_keywords[l]*c:~l.indexOf("%")?parseFloat(l)*c/100:parseFloat(l)||0)}return l},_createMarker=function a(l,c,f,u,d,m,g,_){var y=d.startColor,v=d.endColor,S=d.fontSize,b=d.indent,T=d.fontWeight,E=_doc.createElement("div"),P=_isViewport(f)||_getProxyProp(f,"pinType")==="fixed",k=l.indexOf("scroller")!==-1,x=P?_body:f,C=l.indexOf("start")!==-1,A=C?y:v,w="border-color:"+A+";font-size:"+S+";color:"+A+";font-weight:"+T+";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";return w+="position:"+((k||_)&&P?"fixed;":"absolute;"),(k||_||!P)&&(w+=(u===_vertical?_right:_bottom)+":"+(m+parseFloat(b))+"px;"),g&&(w+="box-sizing:border-box;text-align:left;width:"+g.offsetWidth+"px;"),E._isStart=C,E.setAttribute("class","gsap-marker-"+l+(c?" marker-"+c:"")),E.style.cssText=w,E.innerText=c||c===0?l+"-"+c:l,x.children[0]?x.insertBefore(E,x.children[0]):x.appendChild(E),E._offset=E["offset"+u.op.d2],_positionMarker(E,0,u,C),E},_positionMarker=function a(l,c,f,u){var d={display:"block"},m=f[u?"os2":"p2"],g=f[u?"p2":"os2"];l._isFlipped=u,d[f.a+"Percent"]=u?-100:0,d[f.a]=u?"1px":0,d["border"+m+_Width]=1,d["border"+g+_Width]=0,d[f.p]=c+"px",gsap.set(l,d)},_triggers=[],_ids={},_rafID,_sync=function a(){return _getTime()-_lastScrollTime>34&&(_rafID||(_rafID=requestAnimationFrame(_updateAll)))},_onScroll=function a(){(!_normalizer||!_normalizer.isPressed||_normalizer.startX>_body.clientWidth)&&(_scrollers.cache++,_normalizer?_rafID||(_rafID=requestAnimationFrame(_updateAll)):_updateAll(),_lastScrollTime||_dispatch("scrollStart"),_lastScrollTime=_getTime())},_setBaseDimensions=function a(){_baseScreenWidth=_win.innerWidth,_baseScreenHeight=_win.innerHeight},_onResize=function a(){_scrollers.cache++,!_refreshing&&!_ignoreResize&&!_doc.fullscreenElement&&!_doc.webkitFullscreenElement&&(!_ignoreMobileResize||_baseScreenWidth!==_win.innerWidth||Math.abs(_win.innerHeight-_baseScreenHeight)>_win.innerHeight*.25)&&_resizeDelay.restart(!0)},_listeners={},_emptyArray=[],_softRefresh=function a(){return _removeListener(ScrollTrigger,"scrollEnd",a)||_refreshAll(!0)},_dispatch=function a(l){return _listeners[l]&&_listeners[l].map(function(c){return c()})||_emptyArray},_savedStyles=[],_revertRecorded=function a(l){for(var c=0;c<_savedStyles.length;c+=5)(!l||_savedStyles[c+4]&&_savedStyles[c+4].query===l)&&(_savedStyles[c].style.cssText=_savedStyles[c+1],_savedStyles[c].getBBox&&_savedStyles[c].setAttribute("transform",_savedStyles[c+2]||""),_savedStyles[c+3].uncache=1)},_revertAll=function a(l,c){var f;for(_i=0;_i<_triggers.length;_i++)f=_triggers[_i],f&&(!c||f._ctx===c)&&(l?f.kill(1):f.revert(!0,!0));c&&_revertRecorded(c),c||_dispatch("revert")},_clearScrollMemory=function a(l,c){_scrollers.cache++,(c||!_refreshingAll)&&_scrollers.forEach(function(f){return _isFunction(f)&&f.cacheID++&&(f.rec=0)}),_isString(l)&&(_win.history.scrollRestoration=_scrollRestoration=l)},_refreshingAll,_refreshID=0,_queueRefreshID,_queueRefreshAll=function a(){if(_queueRefreshID!==_refreshID){var l=_queueRefreshID=_refreshID;requestAnimationFrame(function(){return l===_refreshID&&_refreshAll(!0)})}},_refresh100vh=function a(){_body.appendChild(_div100vh),_100vh=_div100vh.offsetHeight||_win.innerHeight,_body.removeChild(_div100vh)},_refreshAll=function a(l,c){if(_lastScrollTime&&!l){_addListener(ScrollTrigger,"scrollEnd",_softRefresh);return}_refresh100vh(),_refreshingAll=ScrollTrigger.isRefreshing=!0,_scrollers.forEach(function(u){return _isFunction(u)&&++u.cacheID&&(u.rec=u())});var f=_dispatch("refreshInit");_sort&&ScrollTrigger.sort(),c||_revertAll(),_scrollers.forEach(function(u){_isFunction(u)&&(u.smooth&&(u.target.style.scrollBehavior="auto"),u(0))}),_triggers.slice(0).forEach(function(u){return u.refresh()}),_triggers.forEach(function(u,d){if(u._subPinOffset&&u.pin){var m=u.vars.horizontal?"offsetWidth":"offsetHeight",g=u.pin[m];u.revert(!0,1),u.adjustPinSpacing(u.pin[m]-g),u.refresh()}}),_triggers.forEach(function(u){var d=_maxScroll(u.scroller,u._dir);(u.vars.end==="max"||u._endClamp&&u.end>d)&&u.setPositions(u.start,Math.max(u.start+1,d),!0)}),f.forEach(function(u){return u&&u.render&&u.render(-1)}),_scrollers.forEach(function(u){_isFunction(u)&&(u.smooth&&requestAnimationFrame(function(){return u.target.style.scrollBehavior="smooth"}),u.rec&&u(u.rec))}),_clearScrollMemory(_scrollRestoration,1),_resizeDelay.pause(),_refreshID++,_refreshingAll=2,_updateAll(2),_triggers.forEach(function(u){return _isFunction(u.vars.onRefresh)&&u.vars.onRefresh(u)}),_refreshingAll=ScrollTrigger.isRefreshing=!1,_dispatch("refresh")},_lastScroll=0,_direction=1,_primary,_updateAll=function a(l){if(!_refreshingAll||l===2){ScrollTrigger.isUpdating=!0,_primary&&_primary.update(0);var c=_triggers.length,f=_getTime(),u=f-_time1>=50,d=c&&_triggers[0].scroll();if(_direction=_lastScroll>d?-1:1,_refreshingAll||(_lastScroll=d),u&&(_lastScrollTime&&!_pointerIsDown&&f-_lastScrollTime>200&&(_lastScrollTime=0,_dispatch("scrollEnd")),_time2=_time1,_time1=f),_direction<0){for(_i=c;_i-- >0;)_triggers[_i]&&_triggers[_i].update(0,u);_direction=1}else for(_i=0;_i20),f-=f-F}if(E&&(_[E]=l||-.001,l<0&&(l=0)),m){var I=l+f,N=m._isStart;k="scroll"+u.d2,_positionMarker(m,I,u,N&&I>20||!N&&(S?Math.max(_body[k],_docEl[k]):m.parentNode[k])<=I+1),S&&(y=_getBounds(g),S&&(m.style[u.op.p]=y[u.op.p]-u.op.m-m._offset+_px))}return T&&C&&(k=_getBounds(C),T.seek(b),x=_getBounds(C),T._caScrollDist=k[u.p]-x[u.p],l=l/T._caScrollDist*b),T&&T.seek(P),T?l:Math.round(l)},_prefixExp=/(webkit|moz|length|cssText|inset)/i,_reparent=function a(l,c,f,u){if(l.parentNode!==c){var d=l.style,m,g;if(c===_body){l._stOrig=d.cssText,g=_getComputedStyle(l);for(m in g)!+m&&!_prefixExp.test(m)&&g[m]&&typeof d[m]=="string"&&m!=="0"&&(d[m]=g[m]);d.top=f,d.left=u}else d.cssText=l._stOrig;gsap.core.getCache(l).uncache=1,c.appendChild(l)}},_interruptionTracker=function a(l,c,f){var u=c,d=u;return function(m){var g=Math.round(l());return g!==u&&g!==d&&Math.abs(g-u)>3&&Math.abs(g-d)>3&&(m=g,f&&f()),d=u,u=m,m}},_shiftMarker=function a(l,c,f){var u={};u[c.p]="+="+f,gsap.set(l,u)},_getTweenCreator=function a(l,c){var f=_getScrollFunc(l,c),u="_scroll"+c.p2,d=function m(g,_,y,v,S){var b=m.tween,T=_.onComplete,E={};y=y||f();var P=_interruptionTracker(f,y,function(){b.kill(),m.tween=0});return S=v&&S||0,v=v||g-y,b&&b.kill(),_[u]=g,_.modifiers=E,E[u]=function(){return P(y+v*b.ratio+S*b.ratio*b.ratio)},_.onUpdate=function(){_scrollers.cache++,_updateAll()},_.onComplete=function(){m.tween=0,T&&T.call(b)},b=m.tween=gsap.to(l,_),b};return l[u]=f,f.wheelHandler=function(){return d.tween&&d.tween.kill()&&(d.tween=0)},_addListener(l,"wheel",f.wheelHandler),ScrollTrigger.isTouch&&_addListener(l,"touchmove",f.wheelHandler),d},ScrollTrigger=function(){function a(c,f){_coreInitted||a.register(gsap)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),_context(this),this.init(c,f)}var l=a.prototype;return l.init=function(f,u){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),!_enabled){this.update=this.refresh=this.kill=_passThrough;return}f=_setDefaults(_isString(f)||_isNumber(f)||f.nodeType?{trigger:f}:f,_defaults);var d=f,m=d.onUpdate,g=d.toggleClass,_=d.id,y=d.onToggle,v=d.onRefresh,S=d.scrub,b=d.trigger,T=d.pin,E=d.pinSpacing,P=d.invalidateOnRefresh,k=d.anticipatePin,x=d.onScrubComplete,C=d.onSnapComplete,A=d.once,w=d.snap,R=d.pinReparent,F=d.pinSpacer,$=d.containerAnimation,I=d.fastScrollEnd,N=d.preventOverlaps,G=f.horizontal||f.containerAnimation&&f.horizontal!==!1?_horizontal:_vertical,q=!S&&S!==0,H=_getTarget(f.scroller||_win),X=gsap.core.getCache(H),K=_isViewport(H),Y=("pinType"in f?f.pinType:_getProxyProp(H,"pinType")||K&&"fixed")==="fixed",L=[f.onEnter,f.onLeave,f.onEnterBack,f.onLeaveBack],B=q&&f.toggleActions.split(" "),M="markers"in f?f.markers:_defaults.markers,O=K?0:parseFloat(_getComputedStyle(H)["border"+G.p2+_Width])||0,D=this,U=f.onRefreshInit&&function(){return f.onRefreshInit(D)},ie=_getSizeFunc(H,K,G),fe=_getOffsetsFunc(H,K),oe=0,ye=0,me=0,J=_getScrollFunc(H,G),ne,te,le,_e,z,V,j,Z,Q,W,se,re,ae,ee,pe,ce,ue,he,de,Te,Se,Ce,Me,Ve,He,qe,nt,Le,Ne,Xe,at,we,ot,Je,Ze,Qe,lt,ft,st;if(D._startClamp=D._endClamp=!1,D._dir=G,k*=45,D.scroller=H,D.scroll=$?$.time.bind($):J,_e=J(),D.vars=f,u=u||f.animation,"refreshPriority"in f&&(_sort=1,f.refreshPriority===-9999&&(_primary=D)),X.tweenScroll=X.tweenScroll||{top:_getTweenCreator(H,_vertical),left:_getTweenCreator(H,_horizontal)},D.tweenTo=ne=X.tweenScroll[G.p],D.scrubDuration=function(ge){ot=_isNumber(ge)&&ge,ot?we?we.duration(ge):we=gsap.to(u,{ease:"expo",totalProgress:"+=0",duration:ot,paused:!0,onComplete:function(){return x&&x(D)}}):(we&&we.progress(1).kill(),we=0)},u&&(u.vars.lazy=!1,u._initted&&!D.isReverted||u.vars.immediateRender!==!1&&f.immediateRender!==!1&&u.duration()&&u.render(0,!0,!0),D.animation=u.pause(),u.scrollTrigger=D,D.scrubDuration(S),Xe=0,_||(_=u.vars.id)),w&&((!_isObject(w)||w.push)&&(w={snapTo:w}),"scrollBehavior"in _body.style&&gsap.set(K?[_body,_docEl]:H,{scrollBehavior:"auto"}),_scrollers.forEach(function(ge){return _isFunction(ge)&&ge.target===(K?_doc.scrollingElement||_docEl:H)&&(ge.smooth=!1)}),le=_isFunction(w.snapTo)?w.snapTo:w.snapTo==="labels"?_getClosestLabel(u):w.snapTo==="labelsDirectional"?_getLabelAtDirection(u):w.directional!==!1?function(ge,xe){return _snapDirectional(w.snapTo)(ge,_getTime()-ye<500?0:xe.direction)}:gsap.utils.snap(w.snapTo),Je=w.duration||{min:.1,max:2},Je=_isObject(Je)?_clamp(Je.min,Je.max):_clamp(Je,Je),Ze=gsap.delayedCall(w.delay||ot/2||.1,function(){var ge=J(),xe=_getTime()-ye<500,be=ne.tween;if((xe||Math.abs(D.getVelocity())<10)&&!be&&!_pointerIsDown&&oe!==ge){var Ee=(ge-V)/ee,Be=u&&!q?u.totalProgress():Ee,Ae=xe?0:(Be-at)/(_getTime()-_time2)*1e3||0,Oe=gsap.utils.clamp(-Ee,1-Ee,_abs(Ae/2)*Ae/.185),Ue=Ee+(w.inertia===!1?0:Oe),ze=_clamp(0,1,le(Ue,D)),Ie=Math.round(V+ze*ee),Re=w,et=Re.onStart,Fe=Re.onInterrupt,Ke=Re.onComplete;if(ge<=j&&ge>=V&&Ie!==ge){if(be&&!be._initted&&be.data<=_abs(Ie-ge))return;w.inertia===!1&&(Oe=ze-Ee),ne(Ie,{duration:Je(_abs(Math.max(_abs(Ue-Be),_abs(ze-Be))*.185/Ae/.05||0)),ease:w.ease||"power3",data:_abs(Ie-ge),onInterrupt:function(){return Ze.restart(!0)&&Fe&&Fe(D)},onComplete:function(){D.update(),oe=J(),Xe=at=u&&!q?u.totalProgress():D.progress,C&&C(D),Ke&&Ke(D)}},ge,Oe*ee,Ie-ge-Oe*ee),et&&et(D,ne.tween)}}else D.isActive&&oe!==ge&&Ze.restart(!0)}).pause()),_&&(_ids[_]=D),b=D.trigger=_getTarget(b||T!==!0&&T),st=b&&b._gsap&&b._gsap.stRevert,st&&(st=st(D)),T=T===!0?b:_getTarget(T),_isString(g)&&(g={targets:b,className:g}),T&&(E===!1||E===_margin||(E=!E&&T.parentNode&&T.parentNode.style&&_getComputedStyle(T.parentNode).display==="flex"?!1:_padding),D.pin=T,te=gsap.core.getCache(T),te.spacer?pe=te.pinState:(F&&(F=_getTarget(F),F&&!F.nodeType&&(F=F.current||F.nativeElement),te.spacerIsNative=!!F,F&&(te.spacerState=_getState(F))),te.spacer=he=F||_doc.createElement("div"),he.classList.add("pin-spacer"),_&&he.classList.add("pin-spacer-"+_),te.pinState=pe=_getState(T)),f.force3D!==!1&&gsap.set(T,{force3D:!0}),D.spacer=he=te.spacer,Ne=_getComputedStyle(T),Ve=Ne[E+G.os2],Te=gsap.getProperty(T),Se=gsap.quickSetter(T,G.a,_px),_swapPinIn(T,he,Ne),ue=_getState(T)),M){re=_isObject(M)?_setDefaults(M,_markerDefaults):_markerDefaults,W=_createMarker("scroller-start",_,H,G,re,0),se=_createMarker("scroller-end",_,H,G,re,0,W),de=W["offset"+G.op.d2];var Pe=_getTarget(_getProxyProp(H,"content")||H);Z=this.markerStart=_createMarker("start",_,Pe,G,re,de,0,$),Q=this.markerEnd=_createMarker("end",_,Pe,G,re,de,0,$),$&&(ft=gsap.quickSetter([Z,Q],G.a,_px)),!Y&&!(_proxies.length&&_getProxyProp(H,"fixedMarkers")===!0)&&(_makePositionable(K?_body:H),gsap.set([W,se],{force3D:!0}),qe=gsap.quickSetter(W,G.a,_px),Le=gsap.quickSetter(se,G.a,_px))}if($){var ve=$.vars.onUpdate,ke=$.vars.onUpdateParams;$.eventCallback("onUpdate",function(){D.update(0,0,1),ve&&ve.apply($,ke||[])})}if(D.previous=function(){return _triggers[_triggers.indexOf(D)-1]},D.next=function(){return _triggers[_triggers.indexOf(D)+1]},D.revert=function(ge,xe){if(!xe)return D.kill(!0);var be=ge!==!1||!D.enabled,Ee=_refreshing;be!==D.isReverted&&(be&&(Qe=Math.max(J(),D.scroll.rec||0),me=D.progress,lt=u&&u.progress()),Z&&[Z,Q,W,se].forEach(function(Be){return Be.style.display=be?"none":"block"}),be&&(_refreshing=D,D.update(be)),T&&(!R||!D.isActive)&&(be?_swapPinOut(T,he,pe):_swapPinIn(T,he,_getComputedStyle(T),He)),be||D.update(be),_refreshing=Ee,D.isReverted=be)},D.refresh=function(ge,xe,be,Ee){if(!((_refreshing||!D.enabled)&&!xe)){if(T&&ge&&_lastScrollTime){_addListener(a,"scrollEnd",_softRefresh);return}!_refreshingAll&&U&&U(D),_refreshing=D,ne.tween&&!be&&(ne.tween.kill(),ne.tween=0),we&&we.pause(),P&&u&&u.revert({kill:!1}).invalidate(),D.isReverted||D.revert(!0,!0),D._subPinOffset=!1;var Be=ie(),Ae=fe(),Oe=$?$.duration():_maxScroll(H,G),Ue=ee<=.01,ze=0,Ie=Ee||0,Re=_isObject(be)?be.end:f.end,et=f.endTrigger||b,Fe=_isObject(be)?be.start:f.start||(f.start===0||!b?0:T?"0 0":"0 100%"),Ke=D.pinnedContainer=f.pinnedContainer&&_getTarget(f.pinnedContainer,D),tt=b&&Math.max(0,_triggers.indexOf(D))||0,Ye=tt,je,Ge,ct,dt,We,De,rt,gt,_t,ut,it,ht,mt;for(M&&_isObject(be)&&(ht=gsap.getProperty(W,G.p),mt=gsap.getProperty(se,G.p));Ye--;)De=_triggers[Ye],De.end||De.refresh(0,1)||(_refreshing=D),rt=De.pin,rt&&(rt===b||rt===T||rt===Ke)&&!De.isReverted&&(ut||(ut=[]),ut.unshift(De),De.revert(!0,!0)),De!==_triggers[Ye]&&(tt--,Ye--);for(_isFunction(Fe)&&(Fe=Fe(D)),Fe=_parseClamp(Fe,"start",D),V=_parsePosition(Fe,b,Be,G,J(),Z,W,D,Ae,O,Y,Oe,$,D._startClamp&&"_startClamp")||(T?-.001:0),_isFunction(Re)&&(Re=Re(D)),_isString(Re)&&!Re.indexOf("+=")&&(~Re.indexOf(" ")?Re=(_isString(Fe)?Fe.split(" ")[0]:"")+Re:(ze=_offsetToPx(Re.substr(2),Be),Re=_isString(Fe)?Fe:($?gsap.utils.mapRange(0,$.duration(),$.scrollTrigger.start,$.scrollTrigger.end,V):V)+ze,et=b)),Re=_parseClamp(Re,"end",D),j=Math.max(V,_parsePosition(Re||(et?"100% 0":Oe),et,Be,G,J()+ze,Q,se,D,Ae,O,Y,Oe,$,D._endClamp&&"_endClamp"))||-.001,ze=0,Ye=tt;Ye--;)De=_triggers[Ye],rt=De.pin,rt&&De.start-De._pinPush<=V&&!$&&De.end>0&&(je=De.end-(D._startClamp?Math.max(0,De.start):De.start),(rt===b&&De.start-De._pinPush1&&(it=(K?_doc.scrollingElement||_docEl:H).style,it={style:it,value:it["overflow"+G.a.toUpperCase()]},K&&_getComputedStyle(_body)["overflow"+G.a.toUpperCase()]!=="scroll"&&(it.style["overflow"+G.a.toUpperCase()]="scroll")),_swapPinIn(T,he,je),ue=_getState(T),Ge=_getBounds(T,!0),gt=Y&&_getScrollFunc(H,dt?_horizontal:_vertical)(),E&&(He=[E+G.os2,ee+Ie+_px],He.t=he,Ye=E===_padding?_getSize(T,G)+ee+Ie:0,Ye&&He.push(G.d,Ye+_px),_setState(He),Ke&&_triggers.forEach(function(pt){pt.pin===Ke&&pt.vars.pinSpacing!==!1&&(pt._subPinOffset=!0)}),Y&&J(Qe)),Y&&(We={top:Ge.top+(dt?ct-V:gt)+_px,left:Ge.left+(dt?gt:ct-V)+_px,boxSizing:"border-box",position:"fixed"},We[_width]=We["max"+_Width]=Math.ceil(Ge.width)+_px,We[_height]=We["max"+_Height]=Math.ceil(Ge.height)+_px,We[_margin]=We[_margin+_Top]=We[_margin+_Right]=We[_margin+_Bottom]=We[_margin+_Left]="0",We[_padding]=je[_padding],We[_padding+_Top]=je[_padding+_Top],We[_padding+_Right]=je[_padding+_Right],We[_padding+_Bottom]=je[_padding+_Bottom],We[_padding+_Left]=je[_padding+_Left],ce=_copyState(pe,We,R),_refreshingAll&&J(0)),u?(_t=u._initted,_suppressOverwrites(1),u.render(u.duration(),!0,!0),Me=Te(G.a)-Ce+ee+Ie,nt=Math.abs(ee-Me)>1,Y&&nt&&ce.splice(ce.length-2,2),u.render(0,!0,!0),_t||u.invalidate(!0),u.parent||u.totalTime(u.totalTime()),_suppressOverwrites(0)):Me=ee,it&&(it.value?it.style["overflow"+G.a.toUpperCase()]=it.value:it.style.removeProperty("overflow-"+G.a));else if(b&&J()&&!$)for(Ge=b.parentNode;Ge&&Ge!==_body;)Ge._pinOffset&&(V-=Ge._pinOffset,j-=Ge._pinOffset),Ge=Ge.parentNode;ut&&ut.forEach(function(pt){return pt.revert(!1,!0)}),D.start=V,D.end=j,_e=z=_refreshingAll?Qe:J(),!$&&!_refreshingAll&&(_e0?_triggers.slice(0,xe).reverse():_triggers.slice(xe+1);return(_isString(ge)?be.filter(function(Ee){return Ee.vars.preventOverlaps===ge}):be).filter(function(Ee){return D.direction>0?Ee.end<=V:Ee.start>=j})},D.update=function(ge,xe,be){if(!($&&!be&&!ge)){var Ee=_refreshingAll===!0?Qe:D.scroll(),Be=ge?0:(Ee-V)/ee,Ae=Be<0?0:Be>1?1:Be||0,Oe=D.progress,Ue,ze,Ie,Re,et,Fe,Ke,tt;if(xe&&(z=_e,_e=$?J():Ee,w&&(at=Xe,Xe=u&&!q?u.totalProgress():Ae)),k&&!Ae&&T&&!_refreshing&&!_startup&&_lastScrollTime&&VOe?1:-1,D.progress=Ae,et&&!_refreshing&&(Ie=Ae&&!Oe?0:Ae===1?1:Oe===1?2:3,q&&(Re=!Fe&&B[Ie+1]!=="none"&&B[Ie+1]||B[Ie],tt=u&&(Re==="complete"||Re==="reset"||Re in u))),N&&(Fe||tt)&&(tt||S||!u)&&(_isFunction(N)?N(D):D.getTrailing(N).forEach(function(ct){return ct.endAnimation()})),q||(we&&!_refreshing&&!_startup?(we._dp._time-we._start!==we._time&&we.render(we._dp._time-we._start),we.resetTo?we.resetTo("totalProgress",Ae,u._tTime/u._tDur):(we.vars.totalProgress=Ae,we.invalidate().restart())):u&&u.totalProgress(Ae,!!(_refreshing&&(ye||ge)))),T){if(ge&&E&&(he.style[E+G.os2]=Ve),!Y)Se(_round(Ce+Me*Ae));else if(et){if(Ke=!ge&&Ae>Oe&&j+1>Ee&&Ee+1>=_maxScroll(H,G),R)if(!ge&&(Ue||Ke)){var Ye=_getBounds(T,!0),je=Ee-V;_reparent(T,_body,Ye.top+(G===_vertical?je:0)+_px,Ye.left+(G===_vertical?0:je)+_px)}else _reparent(T,he);_setState(Ue||Ke?ce:ue),nt&&Ae<1&&Ue||Se(Ce+(Ae===1&&!Ke?Me:0))}}w&&!ne.tween&&!_refreshing&&!_startup&&Ze.restart(!0),g&&(Fe||A&&Ae&&(Ae<1||!_limitCallbacks))&&_toArray(g.targets).forEach(function(ct){return ct.classList[Ue||A?"add":"remove"](g.className)}),m&&!q&&!ge&&m(D),et&&!_refreshing?(q&&(tt&&(Re==="complete"?u.pause().totalProgress(1):Re==="reset"?u.restart(!0).pause():Re==="restart"?u.restart(!0):u[Re]()),m&&m(D)),(Fe||!_limitCallbacks)&&(y&&Fe&&_callback(D,y),L[Ie]&&_callback(D,L[Ie]),A&&(Ae===1?D.kill(!1,1):L[Ie]=0),Fe||(Ie=Ae===1?1:3,L[Ie]&&_callback(D,L[Ie]))),I&&!Ue&&Math.abs(D.getVelocity())>(_isNumber(I)?I:2500)&&(_endAnimation(D.callbackAnimation),we?we.progress(1):_endAnimation(u,Re==="reverse"?1:!Ae,1))):q&&m&&!_refreshing&&m(D)}if(Le){var Ge=$?Ee/$.duration()*($._caScrollDist||0):Ee;qe(Ge+(W._isFlipped?1:0)),Le(Ge)}ft&&ft(-Ee/$.duration()*($._caScrollDist||0))}},D.enable=function(ge,xe){D.enabled||(D.enabled=!0,_addListener(H,"resize",_onResize),K||_addListener(H,"scroll",_onScroll),U&&_addListener(a,"refreshInit",U),ge!==!1&&(D.progress=me=0,_e=z=oe=J()),xe!==!1&&D.refresh())},D.getTween=function(ge){return ge&&ne?ne.tween:we},D.setPositions=function(ge,xe,be,Ee){if($){var Be=$.scrollTrigger,Ae=$.duration(),Oe=Be.end-Be.start;ge=Be.start+Oe*ge/Ae,xe=Be.start+Oe*xe/Ae}D.refresh(!1,!1,{start:_keepClamp(ge,be&&!!D._startClamp),end:_keepClamp(xe,be&&!!D._endClamp)},Ee),D.update()},D.adjustPinSpacing=function(ge){if(He&&ge){var xe=He.indexOf(G.d)+1;He[xe]=parseFloat(He[xe])+ge+_px,He[1]=parseFloat(He[1])+ge+_px,_setState(He)}},D.disable=function(ge,xe){if(D.enabled&&(ge!==!1&&D.revert(!0,!0),D.enabled=D.isActive=!1,xe||we&&we.pause(),Qe=0,te&&(te.uncache=1),U&&_removeListener(a,"refreshInit",U),Ze&&(Ze.pause(),ne.tween&&ne.tween.kill()&&(ne.tween=0)),!K)){for(var be=_triggers.length;be--;)if(_triggers[be].scroller===H&&_triggers[be]!==D)return;_removeListener(H,"resize",_onResize),K||_removeListener(H,"scroll",_onScroll)}},D.kill=function(ge,xe){D.disable(ge,xe),we&&!xe&&we.kill(),_&&delete _ids[_];var be=_triggers.indexOf(D);be>=0&&_triggers.splice(be,1),be===_i&&_direction>0&&_i--,be=0,_triggers.forEach(function(Ee){return Ee.scroller===D.scroller&&(be=1)}),be||_refreshingAll||(D.scroll.rec=0),u&&(u.scrollTrigger=null,ge&&u.revert({kill:!1}),xe||u.kill()),Z&&[Z,Q,W,se].forEach(function(Ee){return Ee.parentNode&&Ee.parentNode.removeChild(Ee)}),_primary===D&&(_primary=0),T&&(te&&(te.uncache=1),be=0,_triggers.forEach(function(Ee){return Ee.pin===T&&be++}),be||(te.spacer=0)),f.onKill&&f.onKill(D)},_triggers.push(D),D.enable(!1,!1),st&&st(D),u&&u.add&&!ee){var $e=D.update;D.update=function(){D.update=$e,V||j||D.refresh()},gsap.delayedCall(.01,D.update),ee=.01,V=j=0}else D.refresh();T&&_queueRefreshAll()},a.register=function(f){return _coreInitted||(gsap=f||_getGSAP(),_windowExists()&&window.document&&a.enable(),_coreInitted=_enabled),_coreInitted},a.defaults=function(f){if(f)for(var u in f)_defaults[u]=f[u];return _defaults},a.disable=function(f,u){_enabled=0,_triggers.forEach(function(m){return m[u?"kill":"disable"](f)}),_removeListener(_win,"wheel",_onScroll),_removeListener(_doc,"scroll",_onScroll),clearInterval(_syncInterval),_removeListener(_doc,"touchcancel",_passThrough),_removeListener(_body,"touchstart",_passThrough),_multiListener(_removeListener,_doc,"pointerdown,touchstart,mousedown",_pointerDownHandler),_multiListener(_removeListener,_doc,"pointerup,touchend,mouseup",_pointerUpHandler),_resizeDelay.kill(),_iterateAutoRefresh(_removeListener);for(var d=0;d<_scrollers.length;d+=3)_wheelListener(_removeListener,_scrollers[d],_scrollers[d+1]),_wheelListener(_removeListener,_scrollers[d],_scrollers[d+2])},a.enable=function(){if(_win=window,_doc=document,_docEl=_doc.documentElement,_body=_doc.body,gsap&&(_toArray=gsap.utils.toArray,_clamp=gsap.utils.clamp,_context=gsap.core.context||_passThrough,_suppressOverwrites=gsap.core.suppressOverwrites||_passThrough,_scrollRestoration=_win.history.scrollRestoration||"auto",_lastScroll=_win.pageYOffset,gsap.core.globals("ScrollTrigger",a),_body)){_enabled=1,_div100vh=document.createElement("div"),_div100vh.style.height="100vh",_div100vh.style.position="absolute",_refresh100vh(),_rafBugFix(),Observer.register(gsap),a.isTouch=Observer.isTouch,_fixIOSBug=Observer.isTouch&&/(iPad|iPhone|iPod|Mac)/g.test(navigator.userAgent),_addListener(_win,"wheel",_onScroll),_root=[_win,_doc,_docEl,_body],gsap.matchMedia?(a.matchMedia=function(_){var y=gsap.matchMedia(),v;for(v in _)y.add(v,_[v]);return y},gsap.addEventListener("matchMediaInit",function(){return _revertAll()}),gsap.addEventListener("matchMediaRevert",function(){return _revertRecorded()}),gsap.addEventListener("matchMedia",function(){_refreshAll(0,1),_dispatch("matchMedia")}),gsap.matchMedia("(orientation: portrait)",function(){return _setBaseDimensions(),_setBaseDimensions})):console.warn("Requires GSAP 3.11.0 or later"),_setBaseDimensions(),_addListener(_doc,"scroll",_onScroll);var f=_body.style,u=f.borderTopStyle,d=gsap.core.Animation.prototype,m,g;for(d.revert||Object.defineProperty(d,"revert",{value:function(){return this.time(-.01,!0)}}),f.borderTopStyle="solid",m=_getBounds(_body),_vertical.m=Math.round(m.top+_vertical.sc())||0,_horizontal.m=Math.round(m.left+_horizontal.sc())||0,u?f.borderTopStyle=u:f.removeProperty("border-top-style"),_syncInterval=setInterval(_sync,250),gsap.delayedCall(.5,function(){return _startup=0}),_addListener(_doc,"touchcancel",_passThrough),_addListener(_body,"touchstart",_passThrough),_multiListener(_addListener,_doc,"pointerdown,touchstart,mousedown",_pointerDownHandler),_multiListener(_addListener,_doc,"pointerup,touchend,mouseup",_pointerUpHandler),_transformProp=gsap.utils.checkPrefix("transform"),_stateProps.push(_transformProp),_coreInitted=_getTime(),_resizeDelay=gsap.delayedCall(.2,_refreshAll).pause(),_autoRefresh=[_doc,"visibilitychange",function(){var _=_win.innerWidth,y=_win.innerHeight;_doc.hidden?(_prevWidth=_,_prevHeight=y):(_prevWidth!==_||_prevHeight!==y)&&_onResize()},_doc,"DOMContentLoaded",_refreshAll,_win,"load",_refreshAll,_win,"resize",_onResize],_iterateAutoRefresh(_addListener),_triggers.forEach(function(_){return _.enable(0,1)}),g=0;g<_scrollers.length;g+=3)_wheelListener(_removeListener,_scrollers[g],_scrollers[g+1]),_wheelListener(_removeListener,_scrollers[g],_scrollers[g+2])}},a.config=function(f){"limitCallbacks"in f&&(_limitCallbacks=!!f.limitCallbacks);var u=f.syncInterval;u&&clearInterval(_syncInterval)||(_syncInterval=u)&&setInterval(_sync,u),"ignoreMobileResize"in f&&(_ignoreMobileResize=a.isTouch===1&&f.ignoreMobileResize),"autoRefreshEvents"in f&&(_iterateAutoRefresh(_removeListener)||_iterateAutoRefresh(_addListener,f.autoRefreshEvents||"none"),_ignoreResize=(f.autoRefreshEvents+"").indexOf("resize")===-1)},a.scrollerProxy=function(f,u){var d=_getTarget(f),m=_scrollers.indexOf(d),g=_isViewport(d);~m&&_scrollers.splice(m,g?6:2),u&&(g?_proxies.unshift(_win,u,_body,u,_docEl,u):_proxies.unshift(d,u))},a.clearMatchMedia=function(f){_triggers.forEach(function(u){return u._ctx&&u._ctx.query===f&&u._ctx.kill(!0,!0)})},a.isInViewport=function(f,u,d){var m=(_isString(f)?_getTarget(f):f).getBoundingClientRect(),g=m[d?_width:_height]*u||0;return d?m.right-g>0&&m.left+g<_win.innerWidth:m.bottom-g>0&&m.top+g<_win.innerHeight},a.positionInViewport=function(f,u,d){_isString(f)&&(f=_getTarget(f));var m=f.getBoundingClientRect(),g=m[d?_width:_height],_=u==null?g/2:u in _keywords?_keywords[u]*g:~u.indexOf("%")?parseFloat(u)*g/100:parseFloat(u)||0;return d?(m.left+_)/_win.innerWidth:(m.top+_)/_win.innerHeight},a.killAll=function(f){if(_triggers.slice(0).forEach(function(d){return d.vars.id!=="ScrollSmoother"&&d.kill()}),f!==!0){var u=_listeners.killAll||[];_listeners={},u.forEach(function(d){return d()})}},a}();ScrollTrigger.version="3.12.2";ScrollTrigger.saveStyles=function(a){return a?_toArray(a).forEach(function(l){if(l&&l.style){var c=_savedStyles.indexOf(l);c>=0&&_savedStyles.splice(c,5),_savedStyles.push(l,l.style.cssText,l.getBBox&&l.getAttribute("transform"),gsap.core.getCache(l),_context())}}):_savedStyles};ScrollTrigger.revert=function(a,l){return _revertAll(!a,l)};ScrollTrigger.create=function(a,l){return new ScrollTrigger(a,l)};ScrollTrigger.refresh=function(a){return a?_onResize():(_coreInitted||ScrollTrigger.register())&&_refreshAll(!0)};ScrollTrigger.update=function(a){return++_scrollers.cache&&_updateAll(a===!0?2:0)};ScrollTrigger.clearScrollMemory=_clearScrollMemory;ScrollTrigger.maxScroll=function(a,l){return _maxScroll(a,l?_horizontal:_vertical)};ScrollTrigger.getScrollFunc=function(a,l){return _getScrollFunc(_getTarget(a),l?_horizontal:_vertical)};ScrollTrigger.getById=function(a){return _ids[a]};ScrollTrigger.getAll=function(){return _triggers.filter(function(a){return a.vars.id!=="ScrollSmoother"})};ScrollTrigger.isScrolling=function(){return!!_lastScrollTime};ScrollTrigger.snapDirectional=_snapDirectional;ScrollTrigger.addEventListener=function(a,l){var c=_listeners[a]||(_listeners[a]=[]);~c.indexOf(l)||c.push(l)};ScrollTrigger.removeEventListener=function(a,l){var c=_listeners[a],f=c&&c.indexOf(l);f>=0&&c.splice(f,1)};ScrollTrigger.batch=function(a,l){var c=[],f={},u=l.interval||.016,d=l.batchMax||1e9,m=function(y,v){var S=[],b=[],T=gsap.delayedCall(u,function(){v(S,b),S=[],b=[]}).pause();return function(E){S.length||T.restart(!0),S.push(E.trigger),b.push(E),d<=S.length&&T.progress(1)}},g;for(g in l)f[g]=g.substr(0,2)==="on"&&_isFunction(l[g])&&g!=="onRefreshInit"?m(g,l[g]):l[g];return _isFunction(d)&&(d=d(),_addListener(ScrollTrigger,"refresh",function(){return d=l.batchMax()})),_toArray(a).forEach(function(_){var y={};for(g in f)y[g]=f[g];y.trigger=_,c.push(ScrollTrigger.create(y))}),c};var _clampScrollAndGetDurationMultiplier=function a(l,c,f,u){return c>u?l(u):c<0&&l(0),f>u?(u-c)/(f-c):f<0?c/(c-f):1},_allowNativePanning=function a(l,c){c===!0?l.style.removeProperty("touch-action"):l.style.touchAction=c===!0?"auto":c?"pan-"+c+(Observer.isTouch?" pinch-zoom":""):"none",l===_docEl&&a(_body,c)},_overflow={auto:1,scroll:1},_nestedScroll=function a(l){var c=l.event,f=l.target,u=l.axis,d=(c.changedTouches?c.changedTouches[0]:c).target,m=d._gsap||gsap.core.getCache(d),g=_getTime(),_;if(!m._isScrollT||g-m._isScrollT>2e3){for(;d&&d!==_body&&(d.scrollHeight<=d.clientHeight&&d.scrollWidth<=d.clientWidth||!(_overflow[(_=_getComputedStyle(d)).overflowY]||_overflow[_.overflowX]));)d=d.parentNode;m._isScroll=d&&d!==f&&!_isViewport(d)&&(_overflow[(_=_getComputedStyle(d)).overflowY]||_overflow[_.overflowX]),m._isScrollT=g}(m._isScroll||u==="x")&&(c.stopPropagation(),c._gsapAllow=!0)},_inputObserver=function a(l,c,f,u){return Observer.create({target:l,capture:!0,debounce:!1,lockAxis:!0,type:c,onWheel:u=u&&_nestedScroll,onPress:u,onDrag:u,onScroll:u,onEnable:function(){return f&&_addListener(_doc,Observer.eventTypes[0],_captureInputs,!1,!0)},onDisable:function(){return _removeListener(_doc,Observer.eventTypes[0],_captureInputs,!0)}})},_inputExp=/(input|label|select|textarea)/i,_inputIsFocused,_captureInputs=function a(l){var c=_inputExp.test(l.target.tagName);(c||_inputIsFocused)&&(l._gsapAllow=!0,_inputIsFocused=c)},_getScrollNormalizer=function a(l){_isObject(l)||(l={}),l.preventDefault=l.isNormalizer=l.allowClicks=!0,l.type||(l.type="wheel,touch"),l.debounce=!!l.debounce,l.id=l.id||"normalizer";var c=l,f=c.normalizeScrollX,u=c.momentum,d=c.allowNestedScroll,m=c.onRelease,g,_,y=_getTarget(l.target)||_docEl,v=gsap.core.globals().ScrollSmoother,S=v&&v.get(),b=_fixIOSBug&&(l.content&&_getTarget(l.content)||S&&l.content!==!1&&!S.smooth()&&S.content()),T=_getScrollFunc(y,_vertical),E=_getScrollFunc(y,_horizontal),P=1,k=(Observer.isTouch&&_win.visualViewport?_win.visualViewport.scale*_win.visualViewport.width:_win.outerWidth)/_win.innerWidth,x=0,C=_isFunction(u)?function(){return u(g)}:function(){return u||2.8},A,w,R=_inputObserver(y,l.type,!0,d),F=function(){return w=!1},$=_passThrough,I=_passThrough,N=function(){_=_maxScroll(y,_vertical),I=_clamp(_fixIOSBug?1:0,_),f&&($=_clamp(0,_maxScroll(y,_horizontal))),A=_refreshID},G=function(){b._gsap.y=_round(parseFloat(b._gsap.y)+T.offset)+"px",b.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+parseFloat(b._gsap.y)+", 0, 1)",T.offset=T.cacheID=0},q=function(){if(w){requestAnimationFrame(F);var M=_round(g.deltaY/2),O=I(T.v-M);if(b&&O!==T.v+T.offset){T.offset=O-T.v;var D=_round((parseFloat(b&&b._gsap.y)||0)-T.offset);b.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+D+", 0, 1)",b._gsap.y=D+"px",T.cacheID=_scrollers.cache,_updateAll()}return!0}T.offset&&G(),w=!0},H,X,K,Y,L=function(){N(),H.isActive()&&H.vars.scrollY>_&&(T()>_?H.progress(1)&&T(_):H.resetTo("scrollY",_))};return b&&gsap.set(b,{y:"+=0"}),l.ignoreCheck=function(B){return _fixIOSBug&&B.type==="touchmove"&&q()||P>1.05&&B.type!=="touchstart"||g.isGesturing||B.touches&&B.touches.length>1},l.onPress=function(){w=!1;var B=P;P=_round((_win.visualViewport&&_win.visualViewport.scale||1)/k),H.pause(),B!==P&&_allowNativePanning(y,P>1.01?!0:f?!1:"x"),X=E(),K=T(),N(),A=_refreshID},l.onRelease=l.onGestureStart=function(B,M){if(T.offset&&G(),!M)Y.restart(!0);else{_scrollers.cache++;var O=C(),D,U;f&&(D=E(),U=D+O*.05*-B.velocityX/.227,O*=_clampScrollAndGetDurationMultiplier(E,D,U,_maxScroll(y,_horizontal)),H.vars.scrollX=$(U)),D=T(),U=D+O*.05*-B.velocityY/.227,O*=_clampScrollAndGetDurationMultiplier(T,D,U,_maxScroll(y,_vertical)),H.vars.scrollY=I(U),H.invalidate().duration(O).play(.01),(_fixIOSBug&&H.vars.scrollY>=_||D>=_-1)&&gsap.to({},{onUpdate:L,duration:O})}m&&m(B)},l.onWheel=function(){H._ts&&H.pause(),_getTime()-x>1e3&&(A=0,x=_getTime())},l.onChange=function(B,M,O,D,U){if(_refreshID!==A&&N(),M&&f&&E($(D[2]===M?X+(B.startX-B.x):E()+M-D[1])),O){T.offset&&G();var ie=U[2]===O,fe=ie?K+B.startY-B.y:T()+O-U[1],oe=I(fe);ie&&fe!==oe&&(K+=oe-fe),T(oe)}(O||M)&&_updateAll()},l.onEnable=function(){_allowNativePanning(y,f?!1:"x"),ScrollTrigger.addEventListener("refresh",L),_addListener(_win,"resize",L),T.smooth&&(T.target.style.scrollBehavior="auto",T.smooth=E.smooth=!1),R.enable()},l.onDisable=function(){_allowNativePanning(y,!0),_removeListener(_win,"resize",L),ScrollTrigger.removeEventListener("refresh",L),R.kill()},l.lockAxis=l.lockAxis!==!1,g=new Observer(l),g.iOS=_fixIOSBug,_fixIOSBug&&!T()&&T(1),_fixIOSBug&&gsap.ticker.add(_passThrough),Y=g._dc,H=gsap.to(g,{ease:"power4",paused:!0,scrollX:f?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:_interruptionTracker(T,T(),function(){return H.pause()})},onUpdate:_updateAll,onComplete:Y.vars.onComplete}),g};ScrollTrigger.sort=function(a){return _triggers.sort(a||function(l,c){return(l.vars.refreshPriority||0)*-1e6+l.start-(c.start+(c.vars.refreshPriority||0)*-1e6)})};ScrollTrigger.observe=function(a){return new Observer(a)};ScrollTrigger.normalizeScroll=function(a){if(typeof a>"u")return _normalizer;if(a===!0&&_normalizer)return _normalizer.enable();if(a===!1)return _normalizer&&_normalizer.kill();var l=a instanceof Observer?a:_getScrollNormalizer(a);return _normalizer&&_normalizer.target===l.target&&_normalizer.kill(),_isViewport(l.target)&&(_normalizer=l),l};ScrollTrigger.core={_getVelocityProp,_inputObserver,_scrollers,_proxies,bridge:{ss:function a(){_lastScrollTime||_dispatch("scrollStart"),_lastScrollTime=_getTime()},ref:function a(){return _refreshing}}};_getGSAP()&&gsap.registerPlugin(ScrollTrigger);const _sfc_main$1=defineComponent({__name:"app",setup(a){const l=ref(!0),c=useNuxtApp(),f=c.$lenis;c.hook("page:transition:finish",()=>{let m=setTimeout(()=>{u(),clearTimeout(m)},10)});const u=()=>{window.location.hash||f.scrollTo("top",{immediate:!0,force:!0})};onMounted(()=>{gsapWithCSS.registerPlugin(ScrollTrigger),f.on("scroll",()=>{ScrollTrigger.update()}),f.stop();let m=setTimeout(()=>{u(),clearTimeout(m)},10)});const d=()=>{f.start(),l.value=!1};return(m,g)=>{const _=_sfc_main$3,y=_sfc_main$2,v=__nuxt_component_2,S=__nuxt_component_1;return openBlock(),createElementBlock("div",null,[unref(l)?(openBlock(),createBlock(_,{key:0,onCompleted:d})):createCommentVNode("",!0),createVNode(y),createVNode(S,null,{default:withCtx(()=>[createVNode(v)]),_:1})])}}}),_sfc_main={__name:"nuxt-root",setup(a){const l=defineAsyncComponent(()=>__vitePreload(()=>import("./error-component.7e7c12c4.js"),["./error-component.7e7c12c4.js","./ButtonComponent.vue.9c6e1bca.js"],import.meta.url).then(_=>_.default||_)),c=()=>null,f=useNuxtApp(),u=f.deferHydration(),d=!1;provide("_route",useRoute$1()),f.hooks.callHookWith(_=>_.map(y=>y()),"vue:setup");const m=useError();onErrorCaptured((_,y,v)=>{if(f.hooks.callHook("vue:error",_,y,v).catch(S=>console.error("[nuxt] Error in `vue:error` hook",S)),isNuxtError(_)&&(_.fatal||_.unhandled))return f.runWithContext(()=>showError(_)),!1});const{islandContext:g}=!1;return(_,y)=>(openBlock(),createBlock(Suspense,{onResolve:unref(u)},{default:withCtx(()=>[unref(m)?(openBlock(),createBlock(unref(l),{key:0,error:unref(m)},null,8,["error"])):unref(g)?(openBlock(),createBlock(unref(c),{key:1,context:unref(g)},null,8,["context"])):unref(d)?(openBlock(),createBlock(resolveDynamicComponent(unref(d)),{key:2})):(openBlock(),createBlock(unref(_sfc_main$1),{key:3}))]),_:1},8,["onResolve"]))}};globalThis.$fetch||(globalThis.$fetch=$fetch.create({baseURL:baseURL()}));let entry;const plugins=normalizePlugins(_plugins$1);{let a;entry=async function(){var d,m;if(a)return a;const f=!!((d=window.__NUXT__)!=null&&d.serverRendered||((m=document.getElementById("__NUXT_DATA__"))==null?void 0:m.dataset.ssr)==="true")?createSSRApp(_sfc_main):createApp(_sfc_main),u=createNuxtApp({vueApp:f});try{await applyPlugins(u,plugins)}catch(g){await u.callHook("app:error",g),u.payload.error=u.payload.error||g}try{await u.hooks.callHook("app:created",f),await u.hooks.callHook("app:beforeMount",f),f.mount("#"+appRootId),await u.hooks.callHook("app:mounted",f),await nextTick()}catch(g){await u.callHook("app:error",g),u.payload.error=u.payload.error||g}return f},a=entry().catch(l=>{console.error("Error while mounting app:",l)})}export{gsapWithCSS as A,onUnmounted as B,PrismicRichText as C,__nuxt_component_0$1 as D,watch as E,Fragment as F,normalizeStyle as G,withModifiers as H,getDefaultExportFromCjs as I,commonjsGlobal as J,storeToRefs as K,createStaticVNode as L,useRuntimeConfig as M,h as N,defineSliceZoneComponents as O,PrismicImage as P,useNuxtApp as Q,defineStore as R,SliceZone as S,reactive as T,toRefs as U,renderSlot as V,PrismicLink as W,resolveDynamicComponent as X,getAugmentedNamespace as Y,__nuxt_component_1 as _,createVNode as a,createBaseVNode as b,createElementBlock as c,defineComponent as d,unref as e,createTextVNode as f,usePrismic as g,useRouter as h,onMounted as i,useHead as j,popScopeId as k,useRoute$1 as l,computed as m,createError as n,openBlock as o,pushScopeId as p,createBlock as q,ref as r,createCommentVNode as s,toDisplayString as t,useError as u,normalizeClass as v,withCtx as w,renderList as x,withAsyncContext as y,useAsyncData as z};