/*! For license information please see about.js.LICENSE.txt */ (()=>{"use strict";function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t(e)}function e(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function r(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}var n,i,s,o,a,u,l,c,f,h,p,d,g,_,m,v={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},y={duration:.5,overwrite:!1,delay:0},b=1e8,x=1e-8,w=2*Math.PI,T=w/4,k=0,M=Math.sqrt,O=Math.cos,C=Math.sin,S=function(t){return"string"==typeof t},E=function(t){return"function"==typeof t},A=function(t){return"number"==typeof t},P=function(t){return void 0===t},D=function(e){return"object"===t(e)},R=function(t){return!1!==t},z=function(){return"undefined"!=typeof window},F=function(t){return E(t)||S(t)},I="function"==typeof ArrayBuffer&&ArrayBuffer.isView||function(){},B=Array.isArray,L=/(?:-?\.?\d|\.)+/gi,Y=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,X=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,N=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,q=/[+-]=-?[.\d]+/,U=/[^,'"\[\]\s]+/gi,W=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,H={},V={},j=function(t){return(V=wt(t,H))&&Tr},G=function(t,e){return console.warn("Invalid property",t,"set to",e,"Missing plugin? gsap.registerPlugin()")},Q=function(t,e){return!e&&console.warn(t)},Z=function(t,e){return t&&(H[t]=e)&&V&&(V[t]=e)||H},$=function(){return 0},K={suppressEvents:!0,isStart:!0,kill:!1},J={suppressEvents:!0,kill:!1},tt={suppressEvents:!0},et={},rt=[],nt={},it={},st={},ot=30,at=[],ut="",lt=function(t){var e,r,n=t[0];if(D(n)||E(n)||(t=[t]),!(e=(n._gsap||{}).harness)){for(r=at.length;r--&&!at[r].targetTest(n););e=at[r]}for(r=t.length;r--;)t[r]&&(t[r]._gsap||(t[r]._gsap=new Be(t[r],e)))||t.splice(r,1);return t},ct=function(t){return t._gsap||lt(te(t))[0]._gsap},ft=function(t,e,r){return(r=t[e])&&E(r)?t[e]():P(r)&&t.getAttribute&&t.getAttribute(e)||r},ht=function(t,e){return(t=t.split(",")).forEach(e)||t},pt=function(t){return Math.round(1e5*t)/1e5||0},dt=function(t){return Math.round(1e7*t)/1e7||0},gt=function(t,e){var r=e.charAt(0),n=parseFloat(e.substr(2));return t=parseFloat(t),"+"===r?t+n:"-"===r?t-n:"*"===r?t*n:t/n},_t=function(t,e){for(var r=e.length,n=0;t.indexOf(e[n])<0&&++ns;)o=o._prev;return o?(e._next=o._next,o._next=e):(e._next=t[r],t[r]=e),e._next?e._next._prev=e:t[n]=e,e._prev=o,e.parent=e._dp=t,e},Ct=function(t,e,r,n){void 0===r&&(r="_first"),void 0===n&&(n="_last");var i=e._prev,s=e._next;i?i._next=s:t[r]===e&&(t[r]=s),s?s._prev=i:t[n]===e&&(t[n]=i),e._next=e._prev=e.parent=null},St=function(t,e){t.parent&&(!e||t.parent.autoRemoveChildren)&&t.parent.remove&&t.parent.remove(t),t._act=0},Et=function(t,e){if(t&&(!e||e._end>t._dur||e._start<0))for(var r=t;r;)r._dirty=1,r=r.parent;return t},At=function(t){for(var e=t.parent;e&&e.parent;)e._dirty=1,e.totalDuration(),e=e.parent;return t},Pt=function(t,e,r,n){return t._startAt&&(i?t._startAt.revert(J):t.vars.immediateRender&&!t.vars.autoRevert||t._startAt.render(e,!0,n))},Dt=function t(e){return!e||e._ts&&t(e.parent)},Rt=function(t){return t._repeat?zt(t._tTime,t=t.duration()+t._rDelay)*t:0},zt=function(t,e){var r=Math.floor(t=dt(t/e));return t&&r===t?r-1:r},Ft=function(t,e){return(t-e._start)*e._ts+(e._ts>=0?0:e._dirty?e.totalDuration():e._tDur)},It=function(t){return t._end=dt(t._start+(t._tDur/Math.abs(t._ts||t._rts||x)||0))},Bt=function(t,e){var r=t._dp;return r&&r.smoothChildTiming&&t._ts&&(t._start=dt(r._time-(t._ts>0?e/t._ts:((t._dirty?t.totalDuration():t._tDur)-e)/-t._ts)),It(t),r._dirty||Et(r,t)),t},Lt=function(t,e){var r;if((e._time||!e._dur&&e._initted||e._startx)&&e.render(r,!0)),Et(t,e)._dp&&t._initted&&t._time>=t._dur&&t._ts){if(t._dur=0&&r.totalTime(r._tTime),r=r._dp;t._zTime=-1e-8}},Yt=function(t,e,r,n){return e.parent&&St(e),e._start=dt((A(r)?r:r||t!==o?jt(t,r,e):t._time)+e._delay),e._end=dt(e._start+(e.totalDuration()/Math.abs(e.timeScale())||0)),Ot(t,e,"_first","_last",t._sort?"_start":0),Ut(e)||(t._recent=e),n||Lt(t,e),t._ts<0&&Bt(t,t._tTime),t},Xt=function(t,e){return(H.ScrollTrigger||G("scrollTrigger",e))&&H.ScrollTrigger.create(e,t)},Nt=function(t,e,r,n,s){return He(t,e,s),t._initted?!r&&t._pt&&!i&&(t._dur&&!1!==t.vars.lazy||!t._dur&&t.vars.lazy)&&f!==ke.frame?(rt.push(t),t._lazy=[s,n],1):void 0:1},qt=function t(e){var r=e.parent;return r&&r._ts&&r._initted&&!r._lock&&(r.rawTime()<0||t(r))},Ut=function(t){var e=t.data;return"isFromStart"===e||"isStart"===e},Wt=function(t,e,r,n){var i=t._repeat,s=dt(e)||0,o=t._tTime/t._tDur;return o&&!n&&(t._time*=s/t._dur),t._dur=s,t._tDur=i?i<0?1e10:dt(s*(i+1)+t._rDelay*i):s,o>0&&!n&&Bt(t,t._tTime=t._tDur*o),t.parent&&It(t),r||Et(t.parent,t),t},Ht=function(t){return t instanceof Ye?Et(t):Wt(t,t._dur)},Vt={_start:0,endTime:$,totalDuration:$},jt=function t(e,r,n){var i,s,o,a=e.labels,u=e._recent||Vt,l=e.duration()>=b?u.endTime(!1):e._dur;return S(r)&&(isNaN(r)||r in a)?(s=r.charAt(0),o="%"===r.substr(-1),i=r.indexOf("="),"<"===s||">"===s?(i>=0&&(r=r.replace(/=/,"")),("<"===s?u._start:u.endTime(u._repeat>=0))+(parseFloat(r.substr(1))||0)*(o?(i<0?u:n).totalDuration()/100:1)):i<0?(r in a||(a[r]=l),a[r]):(s=parseFloat(r.charAt(i-1)+r.substr(i+1)),o&&n&&(s=s/100*(B(n)?n[0]:n).totalDuration()),i>1?t(e,r.substr(0,i-1),n)+s:l+s)):null==r?l:+r},Gt=function(t,e,r){var n,i,s=A(e[1]),o=(s?2:1)+(t<2?0:1),a=e[o];if(s&&(a.duration=e[1]),a.parent=r,t){for(n=a,i=r;i&&!("immediateRender"in n);)n=i.vars.defaults||{},i=R(i.vars.inherit)&&i.parent;a.immediateRender=R(n.immediateRender),t<2?a.runBackwards=1:a.startAt=e[o-1]}return new Ze(e[0],a,e[o+1])},Qt=function(t,e){return t||0===t?e(t):e},Zt=function(t,e,r){return re?e:r},$t=function(t,e){return S(t)&&(e=W.exec(t))?e[1]:""},Kt=[].slice,Jt=function(t,e){return t&&D(t)&&"length"in t&&(!e&&!t.length||t.length-1 in t&&D(t[0]))&&!t.nodeType&&t!==a},te=function(t,e,r){return s&&!e&&s.selector?s.selector(t):!S(t)||r||!u&&Me()?B(t)?function(t,e,r){return void 0===r&&(r=[]),t.forEach((function(t){var n;return S(t)&&!e||Jt(t,1)?(n=r).push.apply(n,te(t)):r.push(t)}))||r}(t,r):Jt(t)?Kt.call(t,0):t?[t]:[]:Kt.call((e||l).querySelectorAll(t),0)},ee=function(t){return t=te(t)[0]||Q("Invalid scope")||{},function(e){var r=t.current||t.nativeElement||t;return te(e,r.querySelectorAll?r:r===t?Q("Invalid scope")||l.createElement("div"):t)}},re=function(t){return t.sort((function(){return.5-Math.random()}))},ne=function(t){if(E(t))return t;var e=D(t)?t:{each:t},r=De(e.ease),n=e.from||0,i=parseFloat(e.base)||0,s={},o=n>0&&n<1,a=isNaN(n)||o,u=e.axis,l=n,c=n;return S(n)?l=c={center:.5,edges:.5,end:1}[n]||0:!o&&a&&(l=n[0],c=n[1]),function(t,o,f){var h,p,d,g,_,m,v,y,x,w=(f||e).length,T=s[w];if(!T){if(!(x="auto"===e.grid?0:(e.grid||[1,b])[1])){for(v=-b;v<(v=f[x++].getBoundingClientRect().left)&&xv&&(v=_),_w?w-1:u?"y"===u?w/x:x:Math.max(x,w/x))||0)*("edges"===n?-1:1),T.b=w<0?i-w:i,T.u=$t(e.amount||e.each)||0,r=r&&w<0?Ae(r):r}return w=(T[t]-T.min)/T.max||0,dt(T.b+(r?r(w):w)*T.v)+T.u}},ie=function(t){var e=Math.pow(10,((t+"").split(".")[1]||"").length);return function(r){var n=dt(Math.round(parseFloat(r)/t)*t*e);return(n-n%1)/e+(A(r)?0:$t(r))}},se=function(t,e){var r,n,i=B(t);return!i&&D(t)&&(r=i=t.radius||b,t.values?(t=te(t.values),(n=!A(t[0]))&&(r*=r)):t=ie(t.increment)),Qt(e,i?E(t)?function(e){return n=t(e),Math.abs(n-e)<=r?n:e}:function(e){for(var i,s,o=parseFloat(n?e.x:e),a=parseFloat(n?e.y:0),u=b,l=0,c=t.length;c--;)(i=n?(i=t[c].x-o)*i+(s=t[c].y-a)*s:Math.abs(t[c]-o))(i=Math.abs(i))&&(s=n,a=i);return s},fe=function(t,e,r){var n,i,o,a=t.vars,u=a[e],l=s,c=t._ctx;if(u)return n=a[e+"Params"],i=a.callbackScope||t,r&&rt.length&&mt(),c&&(s=c),o=n?u.apply(i,n):u.call(i),s=l,o},he=function(t){return St(t),t.scrollTrigger&&t.scrollTrigger.kill(!!i),t.progress()<1&&fe(t,"onInterrupt"),t},pe=[],de=function(t){if(t)if(t=!t.name&&t.default||t,z()||t.headless){var e=t.name,r=E(t),n=e&&!r&&t.init?function(){this._props=[]}:t,i={init:$,render:sr,add:Ue,kill:ar,modifier:or,rawVars:0},s={targetTest:0,get:0,getSetter:er,aliases:{},register:0};if(Me(),t!==n){if(it[e])return;xt(n,xt(kt(t,i),s)),wt(n.prototype,wt(i,kt(t,s))),it[n.prop=e]=n,t.targetTest&&(at.push(n),et[e]=1),e=("css"===e?"CSS":e.charAt(0).toUpperCase()+e.substr(1))+"Plugin"}Z(e,n),t.register&&t.register(Tr,n,cr)}else pe.push(t)},ge=255,_e={aqua:[0,ge,ge],lime:[0,ge,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,ge],navy:[0,0,128],white:[ge,ge,ge],olive:[128,128,0],yellow:[ge,ge,0],orange:[ge,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[ge,0,0],pink:[ge,192,203],cyan:[0,ge,ge],transparent:[ge,ge,ge,0]},me=function(t,e,r){return(6*(t+=t<0?1:t>1?-1:0)<1?e+(r-e)*t*6:t<.5?r:3*t<2?e+(r-e)*(2/3-t)*6:e)*ge+.5|0},ve=function(t,e,r){var n,i,s,o,a,u,l,c,f,h,p=t?A(t)?[t>>16,t>>8&ge,t&ge]:0:_e.black;if(!p){if(","===t.substr(-1)&&(t=t.substr(0,t.length-1)),_e[t])p=_e[t];else if("#"===t.charAt(0)){if(t.length<6&&(n=t.charAt(1),i=t.charAt(2),s=t.charAt(3),t="#"+n+n+i+i+s+s+(5===t.length?t.charAt(4)+t.charAt(4):"")),9===t.length)return[(p=parseInt(t.substr(1,6),16))>>16,p>>8&ge,p&ge,parseInt(t.substr(7),16)/255];p=[(t=parseInt(t.substr(1),16))>>16,t>>8&ge,t&ge]}else if("hsl"===t.substr(0,3))if(p=h=t.match(L),e){if(~t.indexOf("="))return p=t.match(Y),r&&p.length<4&&(p[3]=1),p}else o=+p[0]%360/360,a=+p[1]/100,n=2*(u=+p[2]/100)-(i=u<=.5?u*(a+1):u+a-u*a),p.length>3&&(p[3]*=1),p[0]=me(o+1/3,n,i),p[1]=me(o,n,i),p[2]=me(o-1/3,n,i);else p=t.match(L)||_e.transparent;p=p.map(Number)}return e&&!h&&(n=p[0]/ge,i=p[1]/ge,s=p[2]/ge,u=((l=Math.max(n,i,s))+(c=Math.min(n,i,s)))/2,l===c?o=a=0:(f=l-c,a=u>.5?f/(2-l-c):f/(l+c),o=l===n?(i-s)/f+(if||y<0)&&(d+=y-h),((u=(c=(g+=y)-d)-m)>0||b)&&(p=++n.frame,i=c-1e3*n.time,n.time=c/=1e3,m+=u+(u>=_?4:_-u),l=1),b||(t=e(r)),l)for(s=0;s=e&&s--},_listeners:v}}(),Me=function(){return!p&&ke.wake()},Oe={},Ce=/^[\d.\-M][\d.\-,\s]/,Se=/["']/g,Ee=function(t){for(var e,r,n,i={},s=t.substr(1,t.length-3).split(":"),o=s[0],a=1,u=s.length;a1&&o.config?o.config.apply(null,~t.indexOf("{")?[Ee(s[1])]:(e=t,r=e.indexOf("(")+1,n=e.indexOf(")"),i=e.indexOf("(",r),e.substring(r,~i&&i=1?r:1,s=(n||(e?.3:.45))/(r<1?r:1),o=s/w*(Math.asin(1/i)||0),a=function(t){return 1===t?1:i*Math.pow(2,-10*t)*C((t-o)*s)+1},u="out"===e?a:"in"===e?function(t){return 1-a(1-t)}:ze(a);return s=w/s,u.config=function(r,n){return t(e,r,n)},u},Ie=function t(e,r){void 0===r&&(r=1.70158);var n=function(t){return t?--t*t*((r+1)*t+r)+1:0},i="out"===e?n:"in"===e?function(t){return 1-n(1-t)}:ze(n);return i.config=function(r){return t(e,r)},i};ht("Linear,Quad,Cubic,Quart,Quint,Strong",(function(t,e){var r=e<5?e+1:e;Re(t+",Power"+(r-1),e?function(t){return Math.pow(t,r)}:function(t){return t},(function(t){return 1-Math.pow(1-t,r)}),(function(t){return t<.5?Math.pow(2*t,r)/2:1-Math.pow(2*(1-t),r)/2}))})),Oe.Linear.easeNone=Oe.none=Oe.Linear.easeIn,Re("Elastic",Fe("in"),Fe("out"),Fe()),d=7.5625,_=1/(g=2.75),Re("Bounce",(function(t){return 1-m(1-t)}),m=function(t){return t<_?d*t*t:t<.7272727272727273?d*Math.pow(t-1.5/g,2)+.75:t<.9090909090909092?d*(t-=2.25/g)*t+.9375:d*Math.pow(t-2.625/g,2)+.984375}),Re("Expo",(function(t){return Math.pow(2,10*(t-1))*t+t*t*t*t*t*t*(1-t)})),Re("Circ",(function(t){return-(M(1-t*t)-1)})),Re("Sine",(function(t){return 1===t?1:1-O(t*T)})),Re("Back",Ie("in"),Ie("out"),Ie()),Oe.SteppedEase=Oe.steps=H.SteppedEase={config:function(t,e){void 0===t&&(t=1);var r=1/t,n=t+(e?0:1),i=e?1:0;return function(t){return((n*Zt(0,.99999999,t)|0)+i)*r}}},y.ease=Oe["quad.out"],ht("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",(function(t){return ut+=t+","+t+"Params,"}));var Be=function(t,e){this.id=k++,t._gsap=this,this.target=t,this.harness=e,this.get=e?e.get:ft,this.set=e?e.getSetter:er},Le=function(){function t(t){this.vars=t,this._delay=+t.delay||0,(this._repeat=t.repeat===1/0?-2:t.repeat||0)&&(this._rDelay=t.repeatDelay||0,this._yoyo=!!t.yoyo||!!t.yoyoEase),this._ts=1,Wt(this,+t.duration,1,1),this.data=t.data,s&&(this._ctx=s,s.data.push(this)),p||ke.wake()}var e=t.prototype;return e.delay=function(t){return t||0===t?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+t-this._delay),this._delay=t,this):this._delay},e.duration=function(t){return arguments.length?this.totalDuration(this._repeat>0?t+(t+this._rDelay)*this._repeat:t):this.totalDuration()&&this._dur},e.totalDuration=function(t){return arguments.length?(this._dirty=0,Wt(this,this._repeat<0?t:(t-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(t,e){if(Me(),!arguments.length)return this._tTime;var r=this._dp;if(r&&r.smoothChildTiming&&this._ts){for(Bt(this,t),!r._dp||r.parent||Lt(r,this);r&&r.parent;)r.parent._time!==r._start+(r._ts>=0?r._tTime/r._ts:(r.totalDuration()-r._tTime)/-r._ts)&&r.totalTime(r._tTime,!0),r=r.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&t0||!this._tDur&&!t)&&Yt(this._dp,this,this._start-this._delay)}return(this._tTime!==t||!this._dur&&!e||this._initted&&Math.abs(this._zTime)===x||!t&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=t),vt(this,t,e)),this},e.time=function(t,e){return arguments.length?this.totalTime(Math.min(this.totalDuration(),t+Rt(this))%(this._dur+this._rDelay)||(t?this._dur:0),e):this._time},e.totalProgress=function(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>=0&&this._initted?1:0},e.progress=function(t,e){return arguments.length?this.totalTime(this.duration()*(!this._yoyo||1&this.iteration()?t:1-t)+Rt(this),e):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},e.iteration=function(t,e){var r=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(t-1)*r,e):this._repeat?zt(this._tTime,r)+1:1},e.timeScale=function(t,e){if(!arguments.length)return-1e-8===this._rts?0:this._rts;if(this._rts===t)return this;var r=this.parent&&this._ts?Ft(this.parent._time,this):this._tTime;return this._rts=+t||0,this._ts=this._ps||-1e-8===t?0:this._rts,this.totalTime(Zt(-Math.abs(this._delay),this._tDur,r),!1!==e),It(this),At(this)},e.paused=function(t){return arguments.length?(this._ps!==t&&(this._ps=t,t?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(Me(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,1===this.progress()&&Math.abs(this._zTime)!==x&&(this._tTime-=x)))),this):this._ps},e.startTime=function(t){if(arguments.length){this._start=t;var e=this.parent||this._dp;return e&&(e._sort||!this.parent)&&Yt(e,this,t-this._delay),this}return this._start},e.endTime=function(t){return this._start+(R(t)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},e.rawTime=function(t){var e=this.parent||this._dp;return e?t&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?Ft(e.rawTime(t),this):this._tTime:this._tTime},e.revert=function(t){void 0===t&&(t=tt);var e=i;return i=t,(this._initted||this._startAt)&&(this.timeline&&this.timeline.revert(t),this.totalTime(-.01,t.suppressEvents)),"nested"!==this.data&&!1!==t.kill&&this.kill(),i=e,this},e.globalTime=function(t){for(var e=this,r=arguments.length?t:e.rawTime();e;)r=e._start+r/(Math.abs(e._ts)||1),e=e._dp;return!this.parent&&this._sat?this._sat.globalTime(t):r},e.repeat=function(t){return arguments.length?(this._repeat=t===1/0?-2:t,Ht(this)):-2===this._repeat?1/0:this._repeat},e.repeatDelay=function(t){if(arguments.length){var e=this._time;return this._rDelay=t,Ht(this),e?this.time(e):this}return this._rDelay},e.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},e.seek=function(t,e){return this.totalTime(jt(this,t),R(e))},e.restart=function(t,e){return this.play().totalTime(t?-this._delay:0,R(e)),this._dur||(this._zTime=-1e-8),this},e.play=function(t,e){return null!=t&&this.seek(t,e),this.reversed(!1).paused(!1)},e.reverse=function(t,e){return null!=t&&this.seek(t||this.totalDuration(),e),this.reversed(!0).paused(!1)},e.pause=function(t,e){return null!=t&&this.seek(t,e),this.paused(!0)},e.resume=function(){return this.paused(!1)},e.reversed=function(t){return arguments.length?(!!t!==this.reversed()&&this.timeScale(-this._rts||(t?-1e-8:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-1e-8,this},e.isActive=function(){var t,e=this.parent||this._dp,r=this._start;return!(e&&!(this._ts&&this._initted&&e.isActive()&&(t=e.rawTime(!0))>=r&&t1?(e?(n[t]=e,r&&(n[t+"Params"]=r),"onUpdate"===t&&(this._onUpdate=e)):delete n[t],this):n[t]},e.then=function(t){var e=this;return new Promise((function(r){var n=E(t)?t:bt,i=function(){var t=e.then;e.then=null,E(n)&&(n=n(e))&&(n.then||n===e)&&(e.then=t),r(n),e.then=t};e._initted&&1===e.totalProgress()&&e._ts>=0||!e._tTime&&e._ts<0?i():e._prom=i}))},e.kill=function(){he(this)},t}();xt(Le.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:-1e-8,_prom:0,_ps:!1,_rts:1});var Ye=function(t){function n(r,n){var i;return void 0===r&&(r={}),(i=t.call(this,r)||this).labels={},i.smoothChildTiming=!!r.smoothChildTiming,i.autoRemoveChildren=!!r.autoRemoveChildren,i._sort=R(r.sortChildren),o&&Yt(r.parent||o,e(i),n),r.reversed&&i.reverse(),r.paused&&i.paused(!0),r.scrollTrigger&&Xt(e(i),r.scrollTrigger),i}r(n,t);var s=n.prototype;return s.to=function(t,e,r){return Gt(0,arguments,this),this},s.from=function(t,e,r){return Gt(1,arguments,this),this},s.fromTo=function(t,e,r,n){return Gt(2,arguments,this),this},s.set=function(t,e,r){return e.duration=0,e.parent=this,Mt(e).repeatDelay||(e.repeat=0),e.immediateRender=!!e.immediateRender,new Ze(t,e,jt(this,r),1),this},s.call=function(t,e,r){return Yt(this,Ze.delayedCall(0,t,e),r)},s.staggerTo=function(t,e,r,n,i,s,o){return r.duration=e,r.stagger=r.stagger||n,r.onComplete=s,r.onCompleteParams=o,r.parent=this,new Ze(t,r,jt(this,i)),this},s.staggerFrom=function(t,e,r,n,i,s,o){return r.runBackwards=1,Mt(r).immediateRender=R(r.immediateRender),this.staggerTo(t,e,r,n,i,s,o)},s.staggerFromTo=function(t,e,r,n,i,s,o,a){return n.startAt=r,Mt(n).immediateRender=R(n.immediateRender),this.staggerTo(t,e,n,i,s,o,a)},s.render=function(t,e,r){var n,s,a,u,l,c,f,h,p,d,g,_,m=this._time,v=this._dirty?this.totalDuration():this._tDur,y=this._dur,b=t<=0?0:dt(t),w=this._zTime<0!=t<0&&(this._initted||!y);if(this!==o&&b>v&&t>=0&&(b=v),b!==this._tTime||r||w){if(m!==this._time&&y&&(b+=this._time-m,t+=this._time-m),n=b,p=this._start,c=!(h=this._ts),w&&(y||(m=this._zTime),(t||!e)&&(this._zTime=t)),this._repeat){if(g=this._yoyo,l=y+this._rDelay,this._repeat<-1&&t<0)return this.totalTime(100*l+t,e,r);if(n=dt(b%l),b===v?(u=this._repeat,n=y):((u=~~(d=dt(b/l)))&&u===d&&(n=y,u--),n>y&&(n=y)),d=zt(this._tTime,l),!m&&this._tTime&&d!==u&&this._tTime-d*l-this._dur<=0&&(d=u),g&&1&u&&(n=y-n,_=1),u!==d&&!this._lock){var T=g&&1&d,k=T===(g&&1&u);if(ue)for(n=t._first;n&&n._start<=r;){if("isPause"===n.data&&n._start>e)return n;n=n._next}else for(n=t._last;n&&n._start>=r;){if("isPause"===n.data&&n._start=m&&t>=0)for(s=this._first;s;){if(a=s._next,(s._act||n>=s._start)&&s._ts&&f!==s){if(s.parent!==this)return this.render(t,e,r);if(s.render(s._ts>0?(n-s._start)*s._ts:(s._dirty?s.totalDuration():s._tDur)+(n-s._start)*s._ts,e,r),n!==this._time||!this._ts&&!c){f=0,a&&(b+=this._zTime=-1e-8);break}}s=a}else{s=this._last;for(var M=t<0?t:n;s;){if(a=s._prev,(s._act||M<=s._end)&&s._ts&&f!==s){if(s.parent!==this)return this.render(t,e,r);if(s.render(s._ts>0?(M-s._start)*s._ts:(s._dirty?s.totalDuration():s._tDur)+(M-s._start)*s._ts,e,r||i&&(s._initted||s._startAt)),n!==this._time||!this._ts&&!c){f=0,a&&(b+=this._zTime=M?-1e-8:x);break}}s=a}}if(f&&!e&&(this.pause(),f.render(n>=m?0:-1e-8)._zTime=n>=m?1:-1,this._ts))return this._start=p,It(this),this.render(t,e,r);this._onUpdate&&!e&&fe(this,"onUpdate",!0),(b===v&&this._tTime>=this.totalDuration()||!b&&m)&&(p!==this._start&&Math.abs(h)===Math.abs(this._ts)||this._lock||((t||!y)&&(b===v&&this._ts>0||!b&&this._ts<0)&&St(this,1),e||t<0&&!m||!b&&!m&&v||(fe(this,b===v&&t>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(b0)&&this._prom())))}return this},s.add=function(t,e){var r=this;if(A(e)||(e=jt(this,e,t)),!(t instanceof Le)){if(B(t))return t.forEach((function(t){return r.add(t,e)})),this;if(S(t))return this.addLabel(t,e);if(!E(t))return this;t=Ze.delayedCall(0,t)}return this!==t?Yt(this,t,e):this},s.getChildren=function(t,e,r,n){void 0===t&&(t=!0),void 0===e&&(e=!0),void 0===r&&(r=!0),void 0===n&&(n=-b);for(var i=[],s=this._first;s;)s._start>=n&&(s instanceof Ze?e&&i.push(s):(r&&i.push(s),t&&i.push.apply(i,s.getChildren(!0,e,r)))),s=s._next;return i},s.getById=function(t){for(var e=this.getChildren(1,1,1),r=e.length;r--;)if(e[r].vars.id===t)return e[r]},s.remove=function(t){return S(t)?this.removeLabel(t):E(t)?this.killTweensOf(t):(t.parent===this&&Ct(this,t),t===this._recent&&(this._recent=this._last),Et(this))},s.totalTime=function(e,r){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=dt(ke.time-(this._ts>0?e/this._ts:(this.totalDuration()-e)/-this._ts))),t.prototype.totalTime.call(this,e,r),this._forcing=0,this):this._tTime},s.addLabel=function(t,e){return this.labels[t]=jt(this,e),this},s.removeLabel=function(t){return delete this.labels[t],this},s.addPause=function(t,e,r){var n=Ze.delayedCall(0,e||$,r);return n.data="isPause",this._hasPause=1,Yt(this,n,jt(this,t))},s.removePause=function(t){var e=this._first;for(t=jt(this,t);e;)e._start===t&&"isPause"===e.data&&St(e),e=e._next},s.killTweensOf=function(t,e,r){for(var n=this.getTweensOf(t,r),i=n.length;i--;)Xe!==n[i]&&n[i].kill(t,e);return this},s.getTweensOf=function(t,e){for(var r,n=[],i=te(t),s=this._first,o=A(e);s;)s instanceof Ze?_t(s._targets,i)&&(o?(!Xe||s._initted&&s._ts)&&s.globalTime(0)<=e&&s.globalTime(s.totalDuration())>e:!e||s.isActive())&&n.push(s):(r=s.getTweensOf(i,e)).length&&n.push.apply(n,r),s=s._next;return n},s.tweenTo=function(t,e){e=e||{};var r,n=this,i=jt(n,t),s=e,o=s.startAt,a=s.onStart,u=s.onStartParams,l=s.immediateRender,c=Ze.to(n,xt({ease:e.ease||"none",lazy:!1,immediateRender:!1,time:i,overwrite:"auto",duration:e.duration||Math.abs((i-(o&&"time"in o?o.time:n._time))/n.timeScale())||x,onStart:function(){if(n.pause(),!r){var t=e.duration||Math.abs((i-(o&&"time"in o?o.time:n._time))/n.timeScale());c._dur!==t&&Wt(c,t,0,1).render(c._time,!0,!0),r=1}a&&a.apply(c,u||[])}},e));return l?c.render(0):c},s.tweenFromTo=function(t,e,r){return this.tweenTo(e,xt({startAt:{time:jt(this,t)}},r))},s.recent=function(){return this._recent},s.nextLabel=function(t){return void 0===t&&(t=this._time),ce(this,jt(this,t))},s.previousLabel=function(t){return void 0===t&&(t=this._time),ce(this,jt(this,t),1)},s.currentLabel=function(t){return arguments.length?this.seek(t,!0):this.previousLabel(this._time+x)},s.shiftChildren=function(t,e,r){void 0===r&&(r=0);for(var n,i=this._first,s=this.labels;i;)i._start>=r&&(i._start+=t,i._end+=t),i=i._next;if(e)for(n in s)s[n]>=r&&(s[n]+=t);return Et(this)},s.invalidate=function(e){var r=this._first;for(this._lock=0;r;)r.invalidate(e),r=r._next;return t.prototype.invalidate.call(this,e)},s.clear=function(t){void 0===t&&(t=!0);for(var e,r=this._first;r;)e=r._next,this.remove(r),r=e;return this._dp&&(this._time=this._tTime=this._pTime=0),t&&(this.labels={}),Et(this)},s.totalDuration=function(t){var e,r,n,i=0,s=this,a=s._last,u=b;if(arguments.length)return s.timeScale((s._repeat<0?s.duration():s.totalDuration())/(s.reversed()?-t:t));if(s._dirty){for(n=s.parent;a;)e=a._prev,a._dirty&&a.totalDuration(),(r=a._start)>u&&s._sort&&a._ts&&!s._lock?(s._lock=1,Yt(s,a,r-a._delay,1)._lock=0):u=r,r<0&&a._ts&&(i-=r,(!n&&!s._dp||n&&n.smoothChildTiming)&&(s._start+=r/s._ts,s._time-=r,s._tTime-=r),s.shiftChildren(-r,!1,-Infinity),u=0),a._end>i&&a._ts&&(i=a._end),a=e;Wt(s,s===o&&s._time>i?s._time:i,1,1),s._dirty=0}return s._tDur},n.updateRoot=function(t){if(o._ts&&(vt(o,Ft(t,o)),f=ke.frame),ke.frame>=ot){ot+=v.autoSleep||120;var e=o._first;if((!e||!e._ts)&&v.autoSleep&&ke._listeners.length<2){for(;e&&!e._ts;)e=e._next;e||ke.sleep()}}},n}(Le);xt(Ye.prototype,{_lock:0,_hasPause:0,_forcing:0});var Xe,Ne,qe=function(t,e,r,n,i,s,o){var a,u,l,c,f,h,p,d,g=new cr(this._pt,t,e,0,1,ir,null,i),_=0,m=0;for(g.b=r,g.e=n,r+="",(p=~(n+="").indexOf("random("))&&(n=ue(n)),s&&(s(d=[r,n],t,e),r=d[0],n=d[1]),u=r.match(N)||[];a=N.exec(n);)c=a[0],f=n.substring(_,a.index),l?l=(l+1)%5:"rgba("===f.substr(-5)&&(l=1),c!==u[m++]&&(h=parseFloat(u[m-1])||0,g._pt={_next:g._pt,p:f||1===m?f:",",s:h,c:"="===c.charAt(1)?gt(h,c)-h:parseFloat(c)-h,m:l&&l<4?Math.round:0},_=N.lastIndex);return g.c=_")})),l.duration();else{for(p in f={},k)"ease"===p||"easeEach"===p||Ve(p,k[p],f,k.easeEach);for(p in f)for(P=f[p].sort((function(t,e){return t.t-e.t})),Y=0,c=0;cd-x&&!_?d:tg&&(n=g),(l=this._yoyo&&1&o)&&(h=this._yEase,n=g-n),u=zt(this._tTime,a),n===p&&!r&&this._initted&&o===u)return this._tTime=m,this;o!==u&&(f&&this._yEase&&Pe(f,l),this.vars.repeatRefresh&&!l&&!this._lock&&n!==a&&this._initted&&(this._lock=r=1,this.render(dt(a*o),!0).invalidate()._lock=0))}if(!this._initted){if(Nt(this,_?t:n,r,e,m))return this._tTime=0,this;if(!(p===this._time||r&&this.vars.repeatRefresh&&o!==u))return this;if(g!==this._dur)return this.render(t,e,r)}if(this._tTime=m,this._time=n,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=c=(h||this._ease)(n/g),this._from&&(this.ratio=c=1-c),n&&!p&&!e&&!o&&(fe(this,"onStart"),this._tTime!==m))return this;for(s=this._pt;s;)s.r(c,s.d),s=s._next;f&&f.render(t<0?t:f._dur*f._ease(n/this._dur),e,r)||this._startAt&&(this._zTime=t),this._onUpdate&&!e&&(_&&Pt(this,t,0,r),fe(this,"onUpdate")),this._repeat&&o!==u&&this.vars.onRepeat&&!e&&this.parent&&fe(this,"onRepeat"),m!==this._tDur&&m||this._tTime!==m||(_&&!this._onUpdate&&Pt(this,t,0,!0),(t||!g)&&(m===this._tDur&&this._ts>0||!m&&this._ts<0)&&St(this,1),e||_&&!p||!(m||p||l)||(fe(this,m===d?"onComplete":"onReverseComplete",!0),this._prom&&!(m0)&&this._prom()))}}else!function(t,e,r,n){var s,o,a,u=t.ratio,l=e<0||!e&&(!t._start&&qt(t)&&(t._initted||!Ut(t))||(t._ts<0||t._dp._ts<0)&&!Ut(t))?0:1,c=t._rDelay,f=0;if(c&&t._repeat&&(f=Zt(0,t._tDur,e),o=zt(f,c),t._yoyo&&1&o&&(l=1-l),o!==zt(t._tTime,c)&&(u=1-l,t.vars.repeatRefresh&&t._initted&&t.invalidate())),l!==u||i||n||t._zTime===x||!e&&t._zTime){if(!t._initted&&Nt(t,e,n,r,f))return;for(a=t._zTime,t._zTime=e||(r?x:0),r||(r=e&&!a),t.ratio=l,t._from&&(l=1-l),t._time=0,t._tTime=f,s=t._pt;s;)s.r(l,s.d),s=s._next;e<0&&Pt(t,e,0,!0),t._onUpdate&&!r&&fe(t,"onUpdate"),f&&t._repeat&&!r&&t.parent&&fe(t,"onRepeat"),(e>=t._tDur||e<0)&&t.ratio===l&&(l&&St(t,1),r||i||(fe(t,l?"onComplete":"onReverseComplete",!0),t._prom&&t._prom()))}else t._zTime||(t._zTime=e)}(this,t,e,r);return this},a.targets=function(){return this._targets},a.invalidate=function(e){return(!e||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(e),t.prototype.invalidate.call(this,e)},a.resetTo=function(t,e,r,n,i){p||ke.wake(),this._ts||this.play();var s=Math.min(this._dur,(this._dp._time-this._start)*this._ts);return this._initted||He(this,s),function(t,e,r,n,i,s,o,a){var u,l,c,f,h=(t._pt&&t._ptCache||(t._ptCache={}))[e];if(!h)for(h=t._ptCache[e]=[],c=t._ptLookup,f=t._targets.length;f--;){if((u=c[f][e])&&u.d&&u.d._pt)for(u=u.d._pt;u&&u.p!==e&&u.fp!==e;)u=u._next;if(!u)return Ne=1,t.vars[e]="+=0",He(t,o),Ne=0,a?Q(e+" not eligible for reset"):1;h.push(u)}for(f=h.length;f--;)(u=(l=h[f])._pt||l).s=!n&&0!==n||i?u.s+(n||0)+s*u.c:n,u.c=r-u.s,l.e&&(l.e=pt(r)+$t(l.e)),l.b&&(l.b=u.s+$t(l.b))}(this,t,e,r,n,this._ease(s/this._dur),s,i)?this.resetTo(t,e,r,n,1):(Bt(this,0),this.parent||Ot(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},a.kill=function(t,e){if(void 0===e&&(e="all"),!(t||e&&"all"!==e))return this._lazy=this._pt=0,this.parent?he(this):this.scrollTrigger&&this.scrollTrigger.kill(!!i),this;if(this.timeline){var r=this.timeline.totalDuration();return this.timeline.killTweensOf(t,e,Xe&&!0!==Xe.vars.overwrite)._first||he(this),this.parent&&r!==this.timeline.totalDuration()&&Wt(this,this._dur*this.timeline._tDur/r,0,1),this}var n,s,o,a,u,l,c,f=this._targets,h=t?te(t):f,p=this._ptLookup,d=this._pt;if((!e||"all"===e)&&function(t,e){for(var r=t.length,n=r===e.length;n&&r--&&t[r]===e[r];);return r<0}(f,h))return"all"===e&&(this._pt=0),he(this);for(n=this._op=this._op||[],"all"!==e&&(S(e)&&(u={},ht(e,(function(t){return u[t]=1})),e=u),e=function(t,e){var r,n,i,s,o=t[0]?ct(t[0]).harness:0,a=o&&o.aliases;if(!a)return e;for(n in r=wt({},e),a)if(n in r)for(i=(s=a[n].split(",")).length;i--;)r[s[i]]=r[n];return r}(f,e)),c=f.length;c--;)if(~h.indexOf(f[c]))for(u in s=p[c],"all"===e?(n[c]=e,a=s,o={}):(o=n[c]=n[c]||{},a=e),a)(l=s&&s[u])&&("kill"in l.d&&!0!==l.d.kill(u)||Ct(this,l,"_pt"),delete s[u]),"all"!==o&&(o[u]=1);return this._initted&&!this._pt&&d&&he(this),this},s.to=function(t,e){return new s(t,e,arguments[2])},s.from=function(t,e){return Gt(1,arguments)},s.delayedCall=function(t,e,r,n){return new s(e,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:t,onComplete:e,onReverseComplete:e,onCompleteParams:r,onReverseCompleteParams:r,callbackScope:n})},s.fromTo=function(t,e,r){return Gt(2,arguments)},s.set=function(t,e){return e.duration=0,e.repeatDelay||(e.repeat=0),new s(t,e)},s.killTweensOf=function(t,e,r){return o.killTweensOf(t,e,r)},s}(Le);xt(Ze.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),ht("staggerTo,staggerFrom,staggerFromTo",(function(t){Ze[t]=function(){var e=new Ye,r=Kt.call(arguments,0);return r.splice("staggerFromTo"===t?5:4,0,0),e[t].apply(e,r)}}));var $e=function(t,e,r){return t[e]=r},Ke=function(t,e,r){return t[e](r)},Je=function(t,e,r,n){return t[e](n.fp,r)},tr=function(t,e,r){return t.setAttribute(e,r)},er=function(t,e){return E(t[e])?Ke:P(t[e])&&t.setAttribute?tr:$e},rr=function(t,e){return e.set(e.t,e.p,Math.round(1e6*(e.s+e.c*t))/1e6,e)},nr=function(t,e){return e.set(e.t,e.p,!!(e.s+e.c*t),e)},ir=function(t,e){var r=e._pt,n="";if(!t&&e.b)n=e.b;else if(1===t&&e.e)n=e.e;else{for(;r;)n=r.p+(r.m?r.m(r.s+r.c*t):Math.round(1e4*(r.s+r.c*t))/1e4)+n,r=r._next;n+=e.c}e.set(e.t,e.p,n,e)},sr=function(t,e){for(var r=e._pt;r;)r.r(t,r.d),r=r._next},or=function(t,e,r,n){for(var i,s=this._pt;s;)i=s._next,s.p===n&&s.modifier(t,e,r),s=i},ar=function(t){for(var e,r,n=this._pt;n;)r=n._next,n.p===t&&!n.op||n.op===t?Ct(this,n,"_pt"):n.dep||(e=1),n=r;return!e},ur=function(t,e,r,n){n.mSet(t,e,n.m.call(n.tween,r,n.mt),n)},lr=function(t){for(var e,r,n,i,s=t._pt;s;){for(e=s._next,r=n;r&&r.pr>s.pr;)r=r._next;(s._prev=r?r._prev:i)?s._prev._next=s:n=s,(s._next=r)?r._prev=s:i=s,s=e}t._pt=n},cr=function(){function t(t,e,r,n,i,s,o,a,u){this.t=e,this.s=n,this.c=i,this.p=r,this.r=s||rr,this.d=o||this,this.set=a||$e,this.pr=u||0,this._next=t,t&&(t._prev=this)}return t.prototype.modifier=function(t,e,r){this.mSet=this.mSet||this.set,this.set=ur,this.m=t,this.mt=r,this.tween=e},t}();ht(ut+"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(t){return et[t]=1})),H.TweenMax=H.TweenLite=Ze,H.TimelineLite=H.TimelineMax=Ye,o=new Ye({sortChildren:!1,defaults:y,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),v.stringFilter=Te;var fr=[],hr={},pr=[],dr=0,gr=0,_r=function(t){return(hr[t]||pr).map((function(t){return t()}))},mr=function(){var t=Date.now(),e=[];t-dr>2&&(_r("matchMediaInit"),fr.forEach((function(t){var r,n,i,s,o=t.queries,u=t.conditions;for(n in o)(r=a.matchMedia(o[n]).matches)&&(i=1),r!==u[n]&&(u[n]=r,s=1);s&&(t.revert(),i&&e.push(t))})),_r("matchMediaRevert"),e.forEach((function(t){return t.onMatch(t,(function(e){return t.add(null,e)}))})),dr=t,_r("matchMedia"))},vr=function(){function t(t,e){this.selector=e&&ee(e),this.data=[],this._r=[],this.isReverted=!1,this.id=gr++,t&&this.add(t)}var e=t.prototype;return e.add=function(t,e,r){E(t)&&(r=e,e=t,t=E);var n=this,i=function(){var t,i=s,o=n.selector;return i&&i!==n&&i.data.push(n),r&&(n.selector=ee(r)),s=n,t=e.apply(n,arguments),E(t)&&n._r.push(t),s=i,n.selector=o,n.isReverted=!1,t};return n.last=i,t===E?i(n,(function(t){return n.add(null,t)})):t?n[t]=i:i},e.ignore=function(t){var e=s;s=null,t(this),s=e},e.getTweens=function(){var e=[];return this.data.forEach((function(r){return r instanceof t?e.push.apply(e,r.getTweens()):r instanceof Ze&&!(r.parent&&"nested"===r.parent.data)&&e.push(r)})),e},e.clear=function(){this._r.length=this.data.length=0},e.kill=function(t,e){var r=this;if(t?function(){for(var e,n=r.getTweens(),i=r.data.length;i--;)"isFlip"===(e=r.data[i]).data&&(e.revert(),e.getChildren(!0,!0,!1).forEach((function(t){return n.splice(n.indexOf(t),1)})));for(n.map((function(t){return{g:t._dur||t._delay||t._sat&&!t._sat.vars.immediateRender?t.globalTime(0):-1/0,t}})).sort((function(t,e){return e.g-t.g||-1/0})).forEach((function(e){return e.t.revert(t)})),i=r.data.length;i--;)(e=r.data[i])instanceof Ye?"nested"!==e.data&&(e.scrollTrigger&&e.scrollTrigger.revert(),e.kill()):!(e instanceof Ze)&&e.revert&&e.revert(t);r._r.forEach((function(e){return e(t,r)})),r.isReverted=!0}():this.data.forEach((function(t){return t.kill&&t.kill()})),this.clear(),e)for(var n=fr.length;n--;)fr[n].id===this.id&&fr.splice(n,1)},e.revert=function(t){this.kill(t||{})},t}(),yr=function(){function t(t){this.contexts=[],this.scope=t,s&&s.data.push(this)}var e=t.prototype;return e.add=function(t,e,r){D(t)||(t={matches:t});var n,i,o,u=new vr(0,r||this.scope),l=u.conditions={};for(i in s&&!u.selector&&(u.selector=s.selector),this.contexts.push(u),e=u.add("onMatch",e),u.queries=t,t)"all"===i?o=1:(n=a.matchMedia(t[i]))&&(fr.indexOf(u)<0&&fr.push(u),(l[i]=n.matches)&&(o=1),n.addListener?n.addListener(mr):n.addEventListener("change",mr));return o&&e(u,(function(t){return u.add(null,t)})),this},e.revert=function(t){this.kill(t||{})},e.kill=function(t){this.contexts.forEach((function(e){return e.kill(t,!0)}))},t}(),br={registerPlugin:function(){for(var t=arguments.length,e=new Array(t),r=0;r1){var n=t.map((function(t){return Tr.quickSetter(t,e,r)})),i=n.length;return function(t){for(var e=i;e--;)n[e](t)}}t=t[0]||{};var s=it[e],o=ct(t),a=o.harness&&(o.harness.aliases||{})[e]||e,u=s?function(e){var n=new s;h._pt=0,n.init(t,r?e+r:e,h,0,[t]),n.render(1,n),h._pt&&sr(1,h)}:o.set(t,a);return s?u:function(e){return u(t,a,r?e+r:e,o,1)}},quickTo:function(t,e,r){var n,i=Tr.to(t,xt(((n={})[e]="+=0.1",n.paused=!0,n.stagger=0,n),r||{})),s=function(t,r,n){return i.resetTo(e,t,r,n)};return s.tween=i,s},isTweening:function(t){return o.getTweensOf(t,!0).length>0},defaults:function(t){return t&&t.ease&&(t.ease=De(t.ease,y.ease)),Tt(y,t||{})},config:function(t){return Tt(v,t||{})},registerEffect:function(t){var e=t.name,r=t.effect,n=t.plugins,i=t.defaults,s=t.extendTimeline;(n||"").split(",").forEach((function(t){return t&&!it[t]&&!H[t]&&Q(e+" effect requires "+t+" plugin.")})),st[e]=function(t,e,n){return r(te(t),xt(e||{},i),n)},s&&(Ye.prototype[e]=function(t,r,n){return this.add(st[e](t,D(r)?r:(n=r)&&{},this),n)})},registerEase:function(t,e){Oe[t]=De(e)},parseEase:function(t,e){return arguments.length?De(t,e):Oe},getById:function(t){return o.getById(t)},exportRoot:function(t,e){void 0===t&&(t={});var r,n,i=new Ye(t);for(i.smoothChildTiming=R(t.smoothChildTiming),o.remove(i),i._dp=0,i._time=i._tTime=o._time,r=o._first;r;)n=r._next,!e&&!r._dur&&r instanceof Ze&&r.vars.onComplete===r._targets[0]||Yt(i,r,r._start-r._delay),r=n;return Yt(o,i,0),i},context:function(t,e){return t?new vr(t,e):s},matchMedia:function(t){return new yr(t)},matchMediaRefresh:function(){return fr.forEach((function(t){var e,r,n=t.conditions;for(r in n)n[r]&&(n[r]=!1,e=1);e&&t.revert()}))||mr()},addEventListener:function(t,e){var r=hr[t]||(hr[t]=[]);~r.indexOf(e)||r.push(e)},removeEventListener:function(t,e){var r=hr[t],n=r&&r.indexOf(e);n>=0&&r.splice(n,1)},utils:{wrap:function t(e,r,n){var i=r-e;return B(e)?ae(e,t(0,e.length),r):Qt(n,(function(t){return(i+(t-e)%i)%i+e}))},wrapYoyo:function t(e,r,n){var i=r-e,s=2*i;return B(e)?ae(e,t(0,e.length-1),r):Qt(n,(function(t){return e+((t=(s+(t-e)%s)%s||0)>i?s-t:t)}))},distribute:ne,random:oe,snap:se,normalize:function(t,e,r){return le(t,e,0,1,r)},getUnit:$t,clamp:function(t,e,r){return Qt(r,(function(r){return Zt(t,e,r)}))},splitColor:ve,toArray:te,selector:ee,mapRange:le,pipe:function(){for(var t=arguments.length,e=new Array(t),r=0;r=0)return;o.svg&&(this.svgo=i.getAttribute("data-svg-origin"),this.props.push(tn,r,"")),e=Jr}(s||r)&&this.props.push(e,r,s[e])},rn=function(t){t.translate&&(t.removeProperty("translate"),t.removeProperty("scale"),t.removeProperty("rotate"))},nn=function(){var t,e,r=this.props,n=this.target,i=n.style,s=n._gsap;for(t=0;t=0?un[i]:"")+t},cn=function(){"undefined"!=typeof window&&window.document&&(Mr=window,Or=Mr.document,Cr=Or.documentElement,Er=on("div")||{style:{}},on("div"),Jr=ln(Jr),tn=Jr+"Origin",Er.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",Dr=!!ln("perspective"),Pr=Tr.core.reverting,Sr=1)},fn=function(t){var e,r=t.ownerSVGElement,n=on("svg",r&&r.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),i=t.cloneNode(!0);i.style.display="block",n.appendChild(i),Cr.appendChild(n);try{e=i.getBBox()}catch(t){}return n.removeChild(i),Cr.removeChild(n),e},hn=function(t,e){for(var r=e.length;r--;)if(t.hasAttribute(e[r]))return t.getAttribute(e[r])},pn=function(t){var e,r;try{e=t.getBBox()}catch(n){e=fn(t),r=1}return e&&(e.width||e.height)||r||(e=fn(t)),!e||e.width||e.x||e.y?e:{x:+hn(t,["x","cx","x1"])||0,y:+hn(t,["y","cy","y1"])||0,width:0,height:0}},dn=function(t){return!(!t.getCTM||t.parentNode&&!t.ownerSVGElement||!pn(t))},gn=function(t,e){if(e){var r,n=t.style;e in Rr&&e!==tn&&(e=Jr),n.removeProperty?("ms"!==(r=e.substr(0,2))&&"webkit"!==e.substr(0,6)||(e="-"+e),n.removeProperty("--"===r?e:e.replace(Br,"-$1").toLowerCase())):n.removeAttribute(e)}},_n=function(t,e,r,n,i,s){var o=new cr(t._pt,e,r,0,1,s?Vr:Hr);return t._pt=o,o.b=n,o.e=i,t._props.push(r),o},mn={deg:1,rad:1,turn:1},vn={grid:1,flex:1},yn=function t(e,r,n,i){var s,o,a,u,l=parseFloat(n)||0,c=(n+"").trim().substr((l+"").length)||"px",f=Er.style,h=Lr.test(r),p="svg"===e.tagName.toLowerCase(),d=(p?"client":"offset")+(h?"Width":"Height"),g=100,_="px"===i,m="%"===i;if(i===c||!l||mn[i]||mn[c])return l;if("px"!==c&&!_&&(l=t(e,r,n,"px")),u=e.getCTM&&dn(e),(m||"%"===c)&&(Rr[r]||~r.indexOf("adius")))return s=u?e.getBBox()[h?"width":"height"]:e[d],pt(m?l/s*g:l/100*s);if(f[h?"width":"height"]=g+(_?c:i),o="rem"!==i&&~r.indexOf("adius")||"em"===i&&e.appendChild&&!p?e:e.parentNode,u&&(o=(e.ownerSVGElement||{}).parentNode),o&&o!==Or&&o.appendChild||(o=Or.body),(a=o._gsap)&&m&&a.width&&h&&a.time===ke.time&&!a.uncache)return pt(l/a.width*g);if(!m||"height"!==r&&"width"!==r)(m||"%"===c)&&!vn[an(o,"display")]&&(f.position=an(e,"position")),o===e&&(f.position="static"),o.appendChild(Er),s=Er[d],o.removeChild(Er),f.position="absolute";else{var v=e.style[r];e.style[r]=g+i,s=e[d],v?e.style[r]=v:gn(e,r)}return h&&m&&((a=ct(o)).time=ke.time,a.width=o[d]),pt(_?s*l/g:s&&l?g/s*l:0)},bn=function(t,e,r,n){var i;return Sr||cn(),e in Xr&&"transform"!==e&&~(e=Xr[e]).indexOf(",")&&(e=e.split(",")[0]),Rr[e]&&"transform"!==e?(i=Pn(t,n),i="transformOrigin"!==e?i[e]:i.svg?i.origin:Dn(an(t,tn))+" "+i.zOrigin+"px"):(!(i=t.style[e])||"auto"===i||n||~(i+"").indexOf("calc("))&&(i=kn[e]&&kn[e](t,e,r)||an(t,e)||ft(t,e)||("opacity"===e?1:0)),r&&!~(i+"").trim().indexOf(" ")?yn(t,e,i,r)+r:i},xn=function(t,e,r,n){if(!r||"none"===r){var i=ln(e,t,1),s=i&&an(t,i,1);s&&s!==r?(e=i,r=s):"borderColor"===e&&(r=an(t,"borderTopColor"))}var o,a,u,l,c,f,h,p,d,g,_,m=new cr(this._pt,t.style,e,0,1,ir),y=0,b=0;if(m.b=r,m.e=n,r+="","auto"==(n+="")&&(f=t.style[e],t.style[e]=n,n=an(t,e)||n,f?t.style[e]=f:gn(t,e)),Te(o=[r,n]),n=o[1],u=(r=o[0]).match(X)||[],(n.match(X)||[]).length){for(;a=X.exec(n);)h=a[0],d=n.substring(y,a.index),c?c=(c+1)%5:"rgba("!==d.substr(-5)&&"hsla("!==d.substr(-5)||(c=1),h!==(f=u[b++]||"")&&(l=parseFloat(f)||0,_=f.substr((l+"").length),"="===h.charAt(1)&&(h=gt(l,h)+_),p=parseFloat(h),g=h.substr((p+"").length),y=X.lastIndex-g.length,g||(g=g||v.units[e]||_,y===n.length&&(n+=g,m.e+=g)),_!==g&&(l=yn(t,e,f,g)||0),m._pt={_next:m._pt,p:d||1===b?d:",",s:l,c:p-l,m:c&&c<4||"zIndex"===e?Math.round:0});m.c=y-1;)r=a[i],Rr[r]&&(n=1,r="transformOrigin"===r?tn:Jr),gn(s,r);n&&(gn(s,Jr),u&&(u.svg&&s.removeAttribute("transform"),o.scale=o.rotate=o.translate="none",Pn(s,1),u.uncache=1,rn(o)))}},kn={clearProps:function(t,e,r,n,i){if("isFromStart"!==i.data){var s=t._pt=new cr(t._pt,e,r,0,0,Tn);return s.u=n,s.pr=-10,s.tween=i,t._props.push(r),1}}},Mn=[1,0,0,1,0,0],On={},Cn=function(t){return"matrix(1, 0, 0, 1, 0, 0)"===t||"none"===t||!t},Sn=function(t){var e=an(t,Jr);return Cn(e)?Mn:e.substr(7).match(Y).map(pt)},En=function(t,e){var r,n,i,s,o=t._gsap||ct(t),a=t.style,u=Sn(t);return o.svg&&t.getAttribute("transform")?"1,0,0,1,0,0"===(u=[(i=t.transform.baseVal.consolidate().matrix).a,i.b,i.c,i.d,i.e,i.f]).join(",")?Mn:u:(u!==Mn||t.offsetParent||t===Cr||o.svg||(i=a.display,a.display="block",(r=t.parentNode)&&(t.offsetParent||t.getBoundingClientRect().width)||(s=1,n=t.nextElementSibling,Cr.appendChild(t)),u=Sn(t),i?a.display=i:gn(t,"display"),s&&(n?r.insertBefore(t,n):r?r.appendChild(t):Cr.removeChild(t))),e&&u.length>6?[u[0],u[1],u[4],u[5],u[12],u[13]]:u)},An=function(t,e,r,n,i,s){var o,a,u,l=t._gsap,c=i||En(t,!0),f=l.xOrigin||0,h=l.yOrigin||0,p=l.xOffset||0,d=l.yOffset||0,g=c[0],_=c[1],m=c[2],v=c[3],y=c[4],b=c[5],x=e.split(" "),w=parseFloat(x[0])||0,T=parseFloat(x[1])||0;r?c!==Mn&&(a=g*v-_*m)&&(u=w*(-_/a)+T*(g/a)-(g*b-_*y)/a,w=w*(v/a)+T*(-m/a)+(m*b-v*y)/a,T=u):(w=(o=pn(t)).x+(~x[0].indexOf("%")?w/100*o.width:w),T=o.y+(~(x[1]||x[0]).indexOf("%")?T/100*o.height:T)),n||!1!==n&&l.smooth?(y=w-f,b=T-h,l.xOffset=p+(y*g+b*m)-y,l.yOffset=d+(y*_+b*v)-b):l.xOffset=l.yOffset=0,l.xOrigin=w,l.yOrigin=T,l.smooth=!!n,l.origin=e,l.originIsAbsolute=!!r,t.style[tn]="0px 0px",s&&(_n(s,l,"xOrigin",f,w),_n(s,l,"yOrigin",h,T),_n(s,l,"xOffset",p,l.xOffset),_n(s,l,"yOffset",d,l.yOffset)),t.setAttribute("data-svg-origin",w+" "+T)},Pn=function(t,e){var r=t._gsap||new Be(t);if("x"in r&&!e&&!r.uncache)return r;var n,i,s,o,a,u,l,c,f,h,p,d,g,_,m,y,b,x,w,T,k,M,O,C,S,E,A,P,D,R,z,F,I=t.style,B=r.scaleX<0,L="px",Y="deg",X=getComputedStyle(t),N=an(t,tn)||"0";return n=i=s=u=l=c=f=h=p=0,o=a=1,r.svg=!(!t.getCTM||!dn(t)),X.translate&&("none"===X.translate&&"none"===X.scale&&"none"===X.rotate||(I[Jr]=("none"!==X.translate?"translate3d("+(X.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+("none"!==X.rotate?"rotate("+X.rotate+") ":"")+("none"!==X.scale?"scale("+X.scale.split(" ").join(",")+") ":"")+("none"!==X[Jr]?X[Jr]:"")),I.scale=I.rotate=I.translate="none"),_=En(t,r.svg),r.svg&&(r.uncache?(S=t.getBBox(),N=r.xOrigin-S.x+"px "+(r.yOrigin-S.y)+"px",C=""):C=!e&&t.getAttribute("data-svg-origin"),An(t,C||N,!!C||r.originIsAbsolute,!1!==r.smooth,_)),d=r.xOrigin||0,g=r.yOrigin||0,_!==Mn&&(x=_[0],w=_[1],T=_[2],k=_[3],n=M=_[4],i=O=_[5],6===_.length?(o=Math.sqrt(x*x+w*w),a=Math.sqrt(k*k+T*T),u=x||w?Ir(w,x)*zr:0,(f=T||k?Ir(T,k)*zr+u:0)&&(a*=Math.abs(Math.cos(f*Fr))),r.svg&&(n-=d-(d*x+g*T),i-=g-(d*w+g*k))):(F=_[6],R=_[7],A=_[8],P=_[9],D=_[10],z=_[11],n=_[12],i=_[13],s=_[14],l=(m=Ir(F,D))*zr,m&&(C=M*(y=Math.cos(-m))+A*(b=Math.sin(-m)),S=O*y+P*b,E=F*y+D*b,A=M*-b+A*y,P=O*-b+P*y,D=F*-b+D*y,z=R*-b+z*y,M=C,O=S,F=E),c=(m=Ir(-T,D))*zr,m&&(y=Math.cos(-m),z=k*(b=Math.sin(-m))+z*y,x=C=x*y-A*b,w=S=w*y-P*b,T=E=T*y-D*b),u=(m=Ir(w,x))*zr,m&&(C=x*(y=Math.cos(m))+w*(b=Math.sin(m)),S=M*y+O*b,w=w*y-x*b,O=O*y-M*b,x=C,M=S),l&&Math.abs(l)+Math.abs(u)>359.9&&(l=u=0,c=180-c),o=pt(Math.sqrt(x*x+w*w+T*T)),a=pt(Math.sqrt(O*O+F*F)),m=Ir(M,O),f=Math.abs(m)>2e-4?m*zr:0,p=z?1/(z<0?-z:z):0),r.svg&&(C=t.getAttribute("transform"),r.forceCSS=t.setAttribute("transform","")||!Cn(an(t,Jr)),C&&t.setAttribute("transform",C))),Math.abs(f)>90&&Math.abs(f)<270&&(B?(o*=-1,f+=u<=0?180:-180,u+=u<=0?180:-180):(a*=-1,f+=f<=0?180:-180)),e=e||r.uncache,r.x=n-((r.xPercent=n&&(!e&&r.xPercent||(Math.round(t.offsetWidth/2)===Math.round(-n)?-50:0)))?t.offsetWidth*r.xPercent/100:0)+L,r.y=i-((r.yPercent=i&&(!e&&r.yPercent||(Math.round(t.offsetHeight/2)===Math.round(-i)?-50:0)))?t.offsetHeight*r.yPercent/100:0)+L,r.z=s+L,r.scaleX=pt(o),r.scaleY=pt(a),r.rotation=pt(u)+Y,r.rotationX=pt(l)+Y,r.rotationY=pt(c)+Y,r.skewX=f+Y,r.skewY=h+Y,r.transformPerspective=p+L,(r.zOrigin=parseFloat(N.split(" ")[2])||!e&&r.zOrigin||0)&&(I[tn]=Dn(N)),r.xOffset=r.yOffset=0,r.force3D=v.force3D,r.renderTransform=r.svg?Yn:Dr?Ln:zn,r.uncache=0,r},Dn=function(t){return(t=t.split(" "))[0]+" "+t[1]},Rn=function(t,e,r){var n=$t(e);return pt(parseFloat(e)+parseFloat(yn(t,"x",r+"px",n)))+n},zn=function(t,e){e.z="0px",e.rotationY=e.rotationX="0deg",e.force3D=0,Ln(t,e)},Fn="0deg",In="0px",Bn=") ",Ln=function(t,e){var r=e||this,n=r.xPercent,i=r.yPercent,s=r.x,o=r.y,a=r.z,u=r.rotation,l=r.rotationY,c=r.rotationX,f=r.skewX,h=r.skewY,p=r.scaleX,d=r.scaleY,g=r.transformPerspective,_=r.force3D,m=r.target,v=r.zOrigin,y="",b="auto"===_&&t&&1!==t||!0===_;if(v&&(c!==Fn||l!==Fn)){var x,w=parseFloat(l)*Fr,T=Math.sin(w),k=Math.cos(w);w=parseFloat(c)*Fr,x=Math.cos(w),s=Rn(m,s,T*x*-v),o=Rn(m,o,-Math.sin(w)*-v),a=Rn(m,a,k*x*-v+v)}g!==In&&(y+="perspective("+g+Bn),(n||i)&&(y+="translate("+n+"%, "+i+"%) "),(b||s!==In||o!==In||a!==In)&&(y+=a!==In||b?"translate3d("+s+", "+o+", "+a+") ":"translate("+s+", "+o+Bn),u!==Fn&&(y+="rotate("+u+Bn),l!==Fn&&(y+="rotateY("+l+Bn),c!==Fn&&(y+="rotateX("+c+Bn),f===Fn&&h===Fn||(y+="skew("+f+", "+h+Bn),1===p&&1===d||(y+="scale("+p+", "+d+Bn),m.style[Jr]=y||"translate(0, 0)"},Yn=function(t,e){var r,n,i,s,o,a=e||this,u=a.xPercent,l=a.yPercent,c=a.x,f=a.y,h=a.rotation,p=a.skewX,d=a.skewY,g=a.scaleX,_=a.scaleY,m=a.target,v=a.xOrigin,y=a.yOrigin,b=a.xOffset,x=a.yOffset,w=a.forceCSS,T=parseFloat(c),k=parseFloat(f);h=parseFloat(h),p=parseFloat(p),(d=parseFloat(d))&&(p+=d=parseFloat(d),h+=d),h||p?(h*=Fr,p*=Fr,r=Math.cos(h)*g,n=Math.sin(h)*g,i=Math.sin(h-p)*-_,s=Math.cos(h-p)*_,p&&(d*=Fr,o=Math.tan(p-d),i*=o=Math.sqrt(1+o*o),s*=o,d&&(o=Math.tan(d),r*=o=Math.sqrt(1+o*o),n*=o)),r=pt(r),n=pt(n),i=pt(i),s=pt(s)):(r=g,s=_,n=i=0),(T&&!~(c+"").indexOf("px")||k&&!~(f+"").indexOf("px"))&&(T=yn(m,"x",c,"px"),k=yn(m,"y",f,"px")),(v||y||b||x)&&(T=pt(T+v-(v*r+y*i)+b),k=pt(k+y-(v*n+y*s)+x)),(u||l)&&(o=m.getBBox(),T=pt(T+u/100*o.width),k=pt(k+l/100*o.height)),o="matrix("+r+","+n+","+i+","+s+","+T+","+k+")",m.setAttribute("transform",o),w&&(m.style[Jr]=o)},Xn=function(t,e,r,n,i){var s,o,a=360,u=S(i),l=parseFloat(i)*(u&&~i.indexOf("rad")?zr:1)-n,c=n+l+"deg";return u&&("short"===(s=i.split("_")[1])&&(l%=a)!=l%180&&(l+=l<0?a:-360),"cw"===s&&l<0?l=(l+36e9)%a-~~(l/a)*a:"ccw"===s&&l>0&&(l=(l-36e9)%a-~~(l/a)*a)),t._pt=o=new cr(t._pt,e,r,n,l,qr),o.e=c,o.u="deg",t._props.push(r),o},Nn=function(t,e){for(var r in e)t[r]=e[r];return t},qn=function(t,e,r){var n,i,s,o,a,u,l,c=Nn({},r._gsap),f=r.style;for(i in c.svg?(s=r.getAttribute("transform"),r.setAttribute("transform",""),f[Jr]=e,n=Pn(r,1),gn(r,Jr),r.setAttribute("transform",s)):(s=getComputedStyle(r)[Jr],f[Jr]=e,n=Pn(r,1),f[Jr]=s),Rr)(s=c[i])!==(o=n[i])&&"perspective,force3D,transformOrigin,svgOrigin".indexOf(i)<0&&(a=$t(s)!==(l=$t(o))?yn(r,i,s,l):parseFloat(s),u=parseFloat(o),t._pt=new cr(t._pt,n,i,a,u-a,Nr),t._pt.u=l||0,t._props.push(i));Nn(n,c)};ht("padding,margin,Width,Radius",(function(t,e){var r="Top",n="Right",i="Bottom",s="Left",o=(e<3?[r,n,i,s]:[r+s,r+n,i+n,i+s]).map((function(r){return e<2?t+r:"border"+r+t}));kn[e>1?"border"+t:t]=function(t,e,r,n,i){var s,a;if(arguments.length<4)return s=o.map((function(e){return bn(t,e,r)})),5===(a=s.join(" ")).split(s[0]).length?s[0]:a;s=(n+"").split(" "),a={},o.forEach((function(t,e){return a[t]=s[e]=s[e]||s[(e-1)/2|0]})),t.init(e,a,i)}}));var Un,Wn,Hn={name:"css",register:cn,targetTest:function(t){return t.style&&t.nodeType},init:function(t,e,r,n,i){var s,o,a,u,l,c,f,h,p,d,g,_,m,y,b,x,w,T,k,M,O=this._props,C=t.style,E=r.vars.startAt;for(f in Sr||cn(),this.styles=this.styles||sn(t),x=this.styles.props,this.tween=r,e)if("autoRound"!==f&&(o=e[f],!it[f]||!We(f,e,r,n,t,i)))if(l=kr(o),c=kn[f],"function"===l&&(l=kr(o=o.call(r,n,t,i))),"string"===l&&~o.indexOf("random(")&&(o=ue(o)),c)c(this,t,f,o,r)&&(b=1);else if("--"===f.substr(0,2))s=(getComputedStyle(t).getPropertyValue(f)+"").trim(),o+="",xe.lastIndex=0,xe.test(s)||(h=$t(s),p=$t(o)),p?h!==p&&(s=yn(t,f,s,p)+p):h&&(o+=h),this.add(C,"setProperty",s,o,n,i,0,0,f),O.push(f),x.push(f,0,C[f]);else if("undefined"!==l){if(E&&f in E?(s="function"==typeof E[f]?E[f].call(r,n,t,i):E[f],S(s)&&~s.indexOf("random(")&&(s=ue(s)),$t(s+"")||"auto"===s||(s+=v.units[f]||$t(bn(t,f))||""),"="===(s+"").charAt(1)&&(s=bn(t,f))):s=bn(t,f),u=parseFloat(s),(d="string"===l&&"="===o.charAt(1)&&o.substr(0,2))&&(o=o.substr(2)),a=parseFloat(o),f in Xr&&("autoAlpha"===f&&(1===u&&"hidden"===bn(t,"visibility")&&a&&(u=0),x.push("visibility",0,C.visibility),_n(this,C,"visibility",u?"inherit":"hidden",a?"inherit":"hidden",!a)),"scale"!==f&&"transform"!==f&&~(f=Xr[f]).indexOf(",")&&(f=f.split(",")[0])),g=f in Rr)if(this.styles.save(f),_||((m=t._gsap).renderTransform&&!e.parseTransform||Pn(t,e.parseTransform),y=!1!==e.smoothOrigin&&m.smooth,(_=this._pt=new cr(this._pt,C,Jr,0,1,m.renderTransform,m,0,-1)).dep=1),"scale"===f)this._pt=new cr(this._pt,m,"scaleY",m.scaleY,(d?gt(m.scaleY,d+a):a)-m.scaleY||0,Nr),this._pt.u=0,O.push("scaleY",f),f+="X";else{if("transformOrigin"===f){x.push(tn,0,C[tn]),T=void 0,k=void 0,M=void 0,k=(T=(w=o).split(" "))[0],M=T[1]||"50%","top"!==k&&"bottom"!==k&&"left"!==M&&"right"!==M||(w=k,k=M,M=w),T[0]=wn[k]||k,T[1]=wn[M]||M,o=T.join(" "),m.svg?An(t,o,0,y,0,this):((p=parseFloat(o.split(" ")[2])||0)!==m.zOrigin&&_n(this,m,"zOrigin",m.zOrigin,p),_n(this,C,f,Dn(s),Dn(o)));continue}if("svgOrigin"===f){An(t,o,1,y,0,this);continue}if(f in On){Xn(this,m,f,u,d?gt(u,d+o):o);continue}if("smoothOrigin"===f){_n(this,m,"smooth",m.smooth,o);continue}if("force3D"===f){m[f]=o;continue}if("transform"===f){qn(this,o,t);continue}}else f in C||(f=ln(f)||f);if(g||(a||0===a)&&(u||0===u)&&!Yr.test(o)&&f in C)a||(a=0),(h=(s+"").substr((u+"").length))!==(p=$t(o)||(f in v.units?v.units[f]:h))&&(u=yn(t,f,s,p)),this._pt=new cr(this._pt,g?m:C,f,u,(d?gt(u,d+a):a)-u,g||"px"!==p&&"zIndex"!==f||!1===e.autoRound?Nr:Wr),this._pt.u=p||0,h!==p&&"%"!==p&&(this._pt.b=s,this._pt.r=Ur);else if(f in C)xn.call(this,t,f,s,d?d+o:o);else if(f in t)this.add(t,f,s||t[f],d?d+o:o,n,i);else if("parseTransform"!==f){G(f,o);continue}g||(f in C?x.push(f,0,C[f]):"function"==typeof t[f]?x.push(f,2,t[f]()):x.push(f,1,s||t[f])),O.push(f)}b&&lr(this)},render:function(t,e){if(e.tween._time||!Pr())for(var r=e._pt;r;)r.r(t,r.d),r=r._next;else e.styles.revert()},get:bn,aliases:Xr,getSetter:function(t,e,r){var n=Xr[e];return n&&n.indexOf(",")<0&&(e=n),e in Rr&&e!==tn&&(t._gsap.x||bn(t,"x"))?r&&Ar===r?"scale"===e?Zr:Qr:(Ar=r||{})&&("scale"===e?$r:Kr):t.style&&!P(t.style[e])?jr:~e.indexOf("-")?Gr:er(t,e)},core:{_removeProperty:gn,_getMatrix:En}};Tr.utils.checkPrefix=ln,Tr.core.getStyleSaver=sn,Wn=ht("x,y,z,scale,scaleX,scaleY,xPercent,yPercent"+","+(Un="rotation,rotationX,rotationY,skewX,skewY")+",transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective",(function(t){Rr[t]=1})),ht(Un,(function(t){v.units[t]="deg",On[t]=1})),Xr[Wn[13]]="x,y,z,scale,scaleX,scaleY,xPercent,yPercent,"+Un,ht("0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY",(function(t){var e=t.split(":");Xr[e[1]]=Wn[e[0]]})),ht("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",(function(t){v.units[t]="px"})),Tr.registerPlugin(Hn);var Vn=Tr.registerPlugin(Hn)||Tr;function jn(t,e){for(var r=0;ra?(i=n,n=t,o=s,s=u):r?n+=t:n=i+(t-i)/(u-o)*(s-o)};return{update:l,reset:function(){i=n=r?0:n,o=s=0},getVelocity:function(t){var e=o,a=i,c=hi();return(t||0===t)&&t!==n&&l(t),s===o||c-o>u?0:(n+(r?a:-a))/((r?c:s)-e)*1e3}}},Mi=function(t,e){return e&&!t._gsapAllow&&t.preventDefault(),t.changedTouches?t.changedTouches[0]:t},Oi=function(t){var e=Math.max.apply(Math,t),r=Math.min.apply(Math,t);return Math.abs(e)>=Math.abs(r)?e:r},Ci=function(){var t,e,r,n;(ri=Gn.core.globals().ScrollTrigger)&&ri.core&&(t=ri.core,e=t.bridge||{},r=t._scrollers,n=t._proxies,r.push.apply(r,ci),n.push.apply(n,fi),ci=r,fi=n,pi=function(t,r){return e[t](r)})},Si=function(t){return Gn=t||ai(),!Qn&&Gn&&"undefined"!=typeof document&&document.body&&(Zn=window,$n=document,Kn=$n.documentElement,Jn=$n.body,ni=[Zn,$n,Kn,Jn],Gn.utils.clamp,oi=Gn.core.context||function(){},ei="onpointerenter"in Jn?"pointer":"mouse",ti=Ei.isTouch=Zn.matchMedia&&Zn.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in Zn||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,si=Ei.eventTypes=("ontouchstart"in Kn?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in Kn?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout((function(){return ui=0}),500),Ci(),Qn=1),Qn};bi.op=xi,ci.cache=0;var Ei=function(){function t(t){this.init(t)}var e,r;return t.prototype.init=function(t){Qn||Si(Gn)||console.warn("Please gsap.registerPlugin(Observer)"),ri||Ci();var e=t.tolerance,r=t.dragMinimum,n=t.type,i=t.target,s=t.lineHeight,o=t.debounce,a=t.preventDefault,u=t.onStop,l=t.onStopDelay,c=t.ignore,f=t.wheelSpeed,h=t.event,p=t.onDragStart,d=t.onDragEnd,g=t.onDrag,_=t.onPress,m=t.onRelease,v=t.onRight,y=t.onLeft,b=t.onUp,x=t.onDown,w=t.onChangeX,T=t.onChangeY,k=t.onChange,M=t.onToggleX,O=t.onToggleY,C=t.onHover,S=t.onHoverEnd,E=t.onMove,A=t.ignoreCheck,P=t.isNormalizer,D=t.onGestureStart,R=t.onGestureEnd,z=t.onWheel,F=t.onEnable,I=t.onDisable,B=t.onClick,L=t.scrollSpeed,Y=t.capture,X=t.allowClicks,N=t.lockAxis,q=t.onLockAxis;this.target=i=wi(i)||Kn,this.vars=t,c&&(c=Gn.utils.toArray(c)),e=e||1e-9,r=r||0,f=f||1,L=L||1,n=n||"wheel,touch,pointer",o=!1!==o,s||(s=parseFloat(Zn.getComputedStyle(Jn).lineHeight)||22);var U,W,H,V,j,G,Q,Z=this,$=0,K=0,J=t.passive||!a&&!1!==t.passive,tt=Ti(i,bi),et=Ti(i,xi),rt=tt(),nt=et(),it=~n.indexOf("touch")&&!~n.indexOf("pointer")&&"pointerdown"===si[0],st=gi(i),ot=i.ownerDocument||$n,at=[0,0,0],ut=[0,0,0],lt=0,ct=function(){return lt=hi()},ft=function(t,e){return(Z.event=t)&&c&&~c.indexOf(t.target)||e&&it&&"touch"!==t.pointerType||A&&A(t,e)},ht=function(){var t=Z.deltaX=Oi(at),r=Z.deltaY=Oi(ut),n=Math.abs(t)>=e,i=Math.abs(r)>=e;k&&(n||i)&&k(Z,t,r,at,ut),n&&(v&&Z.deltaX>0&&v(Z),y&&Z.deltaX<0&&y(Z),w&&w(Z),M&&Z.deltaX<0!=$<0&&M(Z),$=Z.deltaX,at[0]=at[1]=at[2]=0),i&&(x&&Z.deltaY>0&&x(Z),b&&Z.deltaY<0&&b(Z),T&&T(Z),O&&Z.deltaY<0!=K<0&&O(Z),K=Z.deltaY,ut[0]=ut[1]=ut[2]=0),(V||H)&&(E&&E(Z),H&&(p&&1===H&&p(Z),g&&g(Z),H=0),V=!1),G&&!(G=!1)&&q&&q(Z),j&&(z(Z),j=!1),U=0},pt=function(t,e,r){at[r]+=t,ut[r]+=e,Z._vx.update(t),Z._vy.update(e),o?U||(U=requestAnimationFrame(ht)):ht()},dt=function(t,e){N&&!Q&&(Z.axis=Q=Math.abs(t)>Math.abs(e)?"x":"y",G=!0),"y"!==Q&&(at[2]+=t,Z._vx.update(t,!0)),"x"!==Q&&(ut[2]+=e,Z._vy.update(e,!0)),o?U||(U=requestAnimationFrame(ht)):ht()},gt=function(t){if(!ft(t,1)){var e=(t=Mi(t,a)).clientX,n=t.clientY,i=e-Z.x,s=n-Z.y,o=Z.isDragging;Z.x=e,Z.y=n,(o||(i||s)&&(Math.abs(Z.startX-e)>=r||Math.abs(Z.startY-n)>=r))&&(H=o?2:1,o||(Z.isDragging=!0),dt(i,s))}},_t=Z.onPress=function(t){ft(t,1)||t&&t.button||(Z.axis=Q=null,W.pause(),Z.isPressed=!0,t=Mi(t),$=K=0,Z.startX=Z.x=t.clientX,Z.startY=Z.y=t.clientY,Z._vx.reset(),Z._vy.reset(),_i(P?i:ot,si[1],gt,J,!0),Z.deltaX=Z.deltaY=0,_&&_(Z))},mt=Z.onRelease=function(t){if(!ft(t,1)){mi(P?i:ot,si[1],gt,!0);var e=!isNaN(Z.y-Z.startY),r=Z.isDragging,n=r&&(Math.abs(Z.x-Z.startX)>3||Math.abs(Z.y-Z.startY)>3),s=Mi(t);!n&&e&&(Z._vx.reset(),Z._vy.reset(),a&&X&&Gn.delayedCall(.08,(function(){if(hi()-lt>300&&!t.defaultPrevented)if(t.target.click)t.target.click();else if(ot.createEvent){var e=ot.createEvent("MouseEvents");e.initMouseEvent("click",!0,!0,Zn,1,s.screenX,s.screenY,s.clientX,s.clientY,!1,!1,!1,!1,0,null),t.target.dispatchEvent(e)}}))),Z.isDragging=Z.isGesturing=Z.isPressed=!1,u&&r&&!P&&W.restart(!0),H&&ht(),d&&r&&d(Z),m&&m(Z,n)}},vt=function(t){return t.touches&&t.touches.length>1&&(Z.isGesturing=!0)&&D(t,Z.isDragging)},yt=function(){return(Z.isGesturing=!1)||R(Z)},bt=function(t){if(!ft(t)){var e=tt(),r=et();pt((e-rt)*L,(r-nt)*L,1),rt=e,nt=r,u&&W.restart(!0)}},xt=function(t){if(!ft(t)){t=Mi(t,a),z&&(j=!0);var e=(1===t.deltaMode?s:2===t.deltaMode?Zn.innerHeight:1)*f;pt(t.deltaX*e,t.deltaY*e,0),u&&!P&&W.restart(!0)}},wt=function(t){if(!ft(t)){var e=t.clientX,r=t.clientY,n=e-Z.x,i=r-Z.y;Z.x=e,Z.y=r,V=!0,u&&W.restart(!0),(n||i)&&dt(n,i)}},Tt=function(t){Z.event=t,C(Z)},kt=function(t){Z.event=t,S(Z)},Mt=function(t){return ft(t)||Mi(t,a)&&B(Z)};W=Z._dc=Gn.delayedCall(l||.25,(function(){Z._vx.reset(),Z._vy.reset(),W.pause(),u&&u(Z)})).pause(),Z.deltaX=Z.deltaY=0,Z._vx=ki(0,50,!0),Z._vy=ki(0,50,!0),Z.scrollX=tt,Z.scrollY=et,Z.isDragging=Z.isGesturing=Z.isPressed=!1,oi(this),Z.enable=function(t){return Z.isEnabled||(_i(st?ot:i,"scroll",vi),n.indexOf("scroll")>=0&&_i(st?ot:i,"scroll",bt,J,Y),n.indexOf("wheel")>=0&&_i(i,"wheel",xt,J,Y),(n.indexOf("touch")>=0&&ti||n.indexOf("pointer")>=0)&&(_i(i,si[0],_t,J,Y),_i(ot,si[2],mt),_i(ot,si[3],mt),X&&_i(i,"click",ct,!0,!0),B&&_i(i,"click",Mt),D&&_i(ot,"gesturestart",vt),R&&_i(ot,"gestureend",yt),C&&_i(i,ei+"enter",Tt),S&&_i(i,ei+"leave",kt),E&&_i(i,ei+"move",wt)),Z.isEnabled=!0,Z.isDragging=Z.isGesturing=Z.isPressed=V=H=!1,Z._vx.reset(),Z._vy.reset(),rt=tt(),nt=et(),t&&t.type&&_t(t),F&&F(Z)),Z},Z.disable=function(){Z.isEnabled&&(li.filter((function(t){return t!==Z&&gi(t.target)})).length||mi(st?ot:i,"scroll",vi),Z.isPressed&&(Z._vx.reset(),Z._vy.reset(),mi(P?i:ot,si[1],gt,!0)),mi(st?ot:i,"scroll",bt,Y),mi(i,"wheel",xt,Y),mi(i,si[0],_t,Y),mi(ot,si[2],mt),mi(ot,si[3],mt),mi(i,"click",ct,!0),mi(i,"click",Mt),mi(ot,"gesturestart",vt),mi(ot,"gestureend",yt),mi(i,ei+"enter",Tt),mi(i,ei+"leave",kt),mi(i,ei+"move",wt),Z.isEnabled=Z.isPressed=Z.isDragging=!1,I&&I(Z))},Z.kill=Z.revert=function(){Z.disable();var t=li.indexOf(Z);t>=0&&li.splice(t,1),ii===Z&&(ii=0)},li.push(Z),P&&gi(i)&&(ii=Z),Z.enable(h)},e=t,(r=[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}])&&jn(e.prototype,r),t}();function Ai(t){return Ai="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ai(t)}Ei.version="3.12.7",Ei.create=function(t){return new Ei(t)},Ei.register=Si,Ei.getAll=function(){return li.slice()},Ei.getById=function(t){return li.filter((function(e){return e.vars.id===t}))[0]},ai()&&Gn.registerPlugin(Ei);var Pi,Di,Ri,zi,Fi,Ii,Bi,Li,Yi,Xi,Ni,qi,Ui,Wi,Hi,Vi,ji,Gi,Qi,Zi,$i,Ki,Ji,ts,es,rs,ns,is,ss,os,as,us,ls,cs,fs,hs,ps,ds,gs=1,_s=Date.now,ms=_s(),vs=0,ys=0,bs=function(t,e,r){var n=zs(t)&&("clamp("===t.substr(0,6)||t.indexOf("max")>-1);return r["_"+e+"Clamp"]=n,n?t.substr(6,t.length-7):t},xs=function(t,e){return!e||zs(t)&&"clamp("===t.substr(0,6)?t:"clamp("+t+")"},ws=function t(){return ys&&requestAnimationFrame(t)},Ts=function(){return Wi=1},ks=function(){return Wi=0},Ms=function(t){return t},Os=function(t){return Math.round(1e5*t)/1e5||0},Cs=function(){return"undefined"!=typeof window},Ss=function(){return Pi||Cs()&&(Pi=window.gsap)&&Pi.registerPlugin&&Pi},Es=function(t){return!!~Bi.indexOf(t)},As=function(t){return("Height"===t?as:Ri["inner"+t])||Fi["client"+t]||Ii["client"+t]},Ps=function(t){return di(t,"getBoundingClientRect")||(Es(t)?function(){return Yo.width=Ri.innerWidth,Yo.height=as,Yo}:function(){return $s(t)})},Ds=function(t,e){var r=e.s,n=e.d2,i=e.d,s=e.a;return Math.max(0,(r="scroll"+n)&&(s=di(t,r))?s()-Ps(t)()[i]:Es(t)?(Fi[r]||Ii[r])-As(n):t[r]-t["offset"+n])},Rs=function(t,e){for(var r=0;r0){for(t-=i,s=0;s=t)return r[s];return r[s-1]}for(s=r.length,t+=i;s--;)if(r[s]<=t)return r[s];return r[0]}:function(r,n,i){void 0===i&&(i=.001);var s=e(r);return!n||Math.abs(s-r)r&&(n*=e/100),t=t.substr(0,r-1)),t=n+(t in ao?ao[t]*e:~t.indexOf("%")?parseFloat(t)*e/100:parseFloat(t)||0)}return t},lo=function(t,e,r,n,i,s,o,a){var u=i.startColor,l=i.endColor,c=i.fontSize,f=i.indent,h=i.fontWeight,p=zi.createElement("div"),d=Es(r)||"fixed"===di(r,"pinType"),g=-1!==t.indexOf("scroller"),_=d?Ii:r,m=-1!==t.indexOf("start"),v=m?u:l,y="border-color:"+v+";font-size:"+c+";color:"+v+";font-weight:"+h+";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";return y+="position:"+((g||a)&&d?"fixed;":"absolute;"),(g||a||!d)&&(y+=(n===xi?Ns:qs)+":"+(s+parseFloat(f))+"px;"),o&&(y+="box-sizing:border-box;text-align:left;width:"+o.offsetWidth+"px;"),p._isStart=m,p.setAttribute("class","gsap-marker-"+t+(e?" marker-"+e:"")),p.style.cssText=y,p.innerText=e||0===e?t+"-"+e:t,_.children[0]?_.insertBefore(p,_.children[0]):_.appendChild(p),p._offset=p["offset"+n.op.d2],co(p,0,n,m),p},co=function(t,e,r,n){var i={display:"block"},s=r[n?"os2":"p2"],o=r[n?"p2":"os2"];t._isFlipped=n,i[r.a+"Percent"]=n?-100:0,i[r.a]=n?"1px":0,i["border"+s+js]=1,i["border"+o+js]=0,i[r.p]=e+"px",Pi.set(t,i)},fo=[],ho={},po=function(){return _s()-vs>34&&(fs||(fs=requestAnimationFrame(Do)))},go=function(){(!Ji||!Ji.isPressed||Ji.startX>Ii.clientWidth)&&(ci.cache++,Ji?fs||(fs=requestAnimationFrame(Do)):Do(),vs||xo("scrollStart"),vs=_s())},_o=function(){rs=Ri.innerWidth,es=Ri.innerHeight},mo=function(t){ci.cache++,(!0===t||!Ui&&!Ki&&!zi.fullscreenElement&&!zi.webkitFullscreenElement&&(!ts||rs!==Ri.innerWidth||Math.abs(Ri.innerHeight-es)>.25*Ri.innerHeight))&&Li.restart(!0)},vo={},yo=[],bo=function t(){return no(Vo,"scrollEnd",t)||Eo(!0)},xo=function(t){return vo[t]&&vo[t].map((function(t){return t()}))||yo},wo=[],To=function(t){for(var e=0;ee,n=t._startClamp&&t.start>=e;(r||n)&&t.setPositions(n?e-1:t.start,r?Math.max(n?e:t.start+1,e):t.end,!0)})),So(!1),ls=0,r.forEach((function(t){return t&&t.render&&t.render(-1)})),ci.forEach((function(t){Fs(t)&&(t.smooth&&requestAnimationFrame((function(){return t.target.style.scrollBehavior="smooth"})),t.rec&&t(t.rec))})),Mo(ss,1),Li.pause(),Oo++,hs=2,Do(2),fo.forEach((function(t){return Fs(t.vars.onRefresh)&&t.vars.onRefresh(t)})),hs=Vo.isRefreshing=!1,xo("refresh")}else ro(Vo,"scrollEnd",bo)},Ao=0,Po=1,Do=function(t){if(2===t||!hs&&!us){Vo.isUpdating=!0,ds&&ds.update(0);var e=fo.length,r=_s(),n=r-ms>=50,i=e&&fo[0].scroll();if(Po=Ao>i?-1:1,hs||(Ao=i),n&&(vs&&!Wi&&r-vs>200&&(vs=0,xo("scrollEnd")),Ni=ms,ms=r),Po<0){for(Vi=e;Vi-- >0;)fo[Vi]&&fo[Vi].update(0,n);Po=1}else for(Vi=0;Vi20),r-=r-b}if(p&&(a[p]=t||-.001,t<0&&(t=0)),s){var T=t+r,k=s._isStart;d="scroll"+n.d2,co(s,T,n,k&&T>20||!k&&(c?Math.max(Ii[d],Fi[d]):s.parentNode[d])<=T+1),c&&(u=$s(o),c&&(s.style[n.op.p]=u[n.op.p]-n.op.m-s._offset+Gs))}return h&&_&&(d=$s(_),h.seek(f),g=$s(_),h._caScrollDist=d[n.p]-g[n.p],t=t/h._caScrollDist*f),h&&h.seek(m),h?t:Math.round(t)},No=/(webkit|moz|length|cssText|inset)/i,qo=function(t,e,r,n){if(t.parentNode!==e){var i,s,o=t.style;if(e===Ii){for(i in t._stOrig=o.cssText,s=Qs(t))+i||No.test(i)||!s[i]||"string"!=typeof o[i]||"0"===i||(o[i]=s[i]);o.top=r,o.left=n}else o.cssText=t._stOrig;Pi.core.getCache(t).uncache=1,e.appendChild(t)}},Uo=function(t,e,r){var n=e,i=n;return function(e){var s=Math.round(t());return s!==n&&s!==i&&Math.abs(s-n)>3&&Math.abs(s-i)>3&&(e=s,r&&r()),i=n,n=Math.round(e)}},Wo=function(t,e,r){var n={};n[e.p]="+="+r,Pi.set(t,n)},Ho=function(t,e){var r=Ti(t,e),n="_scroll"+e.p2,i=function e(i,s,o,a,u){var l=e.tween,c=s.onComplete,f={};o=o||r();var h=Uo(r,o,(function(){l.kill(),e.tween=0}));return u=a&&u||0,a=a||i-o,l&&l.kill(),s[n]=i,s.inherit=!1,s.modifiers=f,f[n]=function(){return h(o+a*l.ratio+u*l.ratio*l.ratio)},s.onUpdate=function(){ci.cache++,e.tween&&Do()},s.onComplete=function(){e.tween=0,c&&c.call(l)},l=e.tween=Pi.to(t,s)};return t[n]=r,r.wheelHandler=function(){return i.tween&&i.tween.kill()&&(i.tween=0)},ro(t,"wheel",r.wheelHandler),Vo.isTouch&&ro(t,"touchmove",r.wheelHandler),i},Vo=function(){function t(e,r){Di||t.register(Pi)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),is(this),this.init(e,r)}return t.prototype.init=function(e,r){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),ys){var n,i,s,o,a,u,l,c,f,h,p,d,g,_,m,v,y,b,x,w,T,k,M,O,C,S,E,A,P,D,R,z,F,I,B,L,Y,X,N,q,U,W,H=e=Zs(zs(e)||Is(e)||e.nodeType?{trigger:e}:e,oo),V=H.onUpdate,j=H.toggleClass,G=H.id,Q=H.onToggle,Z=H.onRefresh,$=H.scrub,K=H.trigger,J=H.pin,tt=H.pinSpacing,et=H.invalidateOnRefresh,rt=H.anticipatePin,nt=H.onScrubComplete,it=H.onSnapComplete,st=H.once,ot=H.snap,at=H.pinReparent,ut=H.pinSpacer,lt=H.containerAnimation,ct=H.fastScrollEnd,ft=H.preventOverlaps,ht=e.horizontal||e.containerAnimation&&!1!==e.horizontal?bi:xi,pt=!$&&0!==$,dt=wi(e.scroller||Ri),gt=Pi.core.getCache(dt),_t=Es(dt),mt="fixed"===("pinType"in e?e.pinType:di(dt,"pinType")||_t&&"fixed"),vt=[e.onEnter,e.onLeave,e.onEnterBack,e.onLeaveBack],yt=pt&&e.toggleActions.split(" "),bt="markers"in e?e.markers:oo.markers,xt=_t?0:parseFloat(Qs(dt)["border"+ht.p2+js])||0,wt=this,Tt=e.onRefreshInit&&function(){return e.onRefreshInit(wt)},kt=function(t,e,r){var n=r.d,i=r.d2,s=r.a;return(s=di(t,"getBoundingClientRect"))?function(){return s()[n]}:function(){return(e?As(i):t["client"+i])||0}}(dt,_t,ht),Mt=function(t,e){return!e||~fi.indexOf(t)?Ps(t):function(){return Yo}}(dt,_t),Ot=0,Ct=0,St=0,Et=Ti(dt,ht);if(wt._startClamp=wt._endClamp=!1,wt._dir=ht,rt*=45,wt.scroller=dt,wt.scroll=lt?lt.time.bind(lt):Et,o=Et(),wt.vars=e,r=r||e.animation,"refreshPriority"in e&&(Zi=1,-9999===e.refreshPriority&&(ds=wt)),gt.tweenScroll=gt.tweenScroll||{top:Ho(dt,xi),left:Ho(dt,bi)},wt.tweenTo=n=gt.tweenScroll[ht.p],wt.scrubDuration=function(t){(F=Is(t)&&t)?z?z.duration(t):z=Pi.to(r,{ease:"expo",totalProgress:"+=0",inherit:!1,duration:F,paused:!0,onComplete:function(){return nt&&nt(wt)}}):(z&&z.progress(1).kill(),z=0)},r&&(r.vars.lazy=!1,r._initted&&!wt.isReverted||!1!==r.vars.immediateRender&&!1!==e.immediateRender&&r.duration()&&r.render(0,!0,!0),wt.animation=r.pause(),r.scrollTrigger=wt,wt.scrubDuration($),D=0,G||(G=r.vars.id)),ot&&(Bs(ot)&&!ot.push||(ot={snapTo:ot}),"scrollBehavior"in Ii.style&&Pi.set(_t?[Ii,Fi]:dt,{scrollBehavior:"auto"}),ci.forEach((function(t){return Fs(t)&&t.target===(_t?zi.scrollingElement||Fi:dt)&&(t.smooth=!1)})),s=Fs(ot.snapTo)?ot.snapTo:"labels"===ot.snapTo?function(t){return function(e){return Pi.utils.snap(Js(t),e)}}(r):"labelsDirectional"===ot.snapTo?(q=r,function(t,e){return to(Js(q))(t,e.direction)}):!1!==ot.directional?function(t,e){return to(ot.snapTo)(t,_s()-Ct<500?0:e.direction)}:Pi.utils.snap(ot.snapTo),I=ot.duration||{min:.1,max:2},I=Bs(I)?Xi(I.min,I.max):Xi(I,I),B=Pi.delayedCall(ot.delay||F/2||.1,(function(){var t=Et(),e=_s()-Ct<500,i=n.tween;if(!(e||Math.abs(wt.getVelocity())<10)||i||Wi||Ot===t)wt.isActive&&Ot!==t&&B.restart(!0);else{var o,a,c=(t-u)/_,f=r&&!pt?r.totalProgress():c,h=e?0:(f-R)/(_s()-Ni)*1e3||0,p=Pi.utils.clamp(-c,1-c,Xs(h/2)*h/.185),d=c+(!1===ot.inertia?0:p),g=ot,m=g.onStart,v=g.onInterrupt,y=g.onComplete;if(o=s(d,wt),Is(o)||(o=d),a=Math.max(0,Math.round(u+o*_)),t<=l&&t>=u&&a!==t){if(i&&!i._initted&&i.data<=Xs(a-t))return;!1===ot.inertia&&(p=o-c),n(a,{duration:I(Xs(.185*Math.max(Xs(d-f),Xs(o-f))/h/.05||0)),ease:ot.ease||"power3",data:Xs(a-t),onInterrupt:function(){return B.restart(!0)&&v&&v(wt)},onComplete:function(){wt.update(),Ot=Et(),r&&!pt&&(z?z.resetTo("totalProgress",o,r._tTime/r._tDur):r.progress(o)),D=R=r&&!pt?r.totalProgress():wt.progress,it&&it(wt),y&&y(wt)}},t,p*_,a-t-p*_),m&&m(wt,n.tween)}}})).pause()),G&&(ho[G]=wt),(N=(K=wt.trigger=wi(K||!0!==J&&J))&&K._gsap&&K._gsap.stRevert)&&(N=N(wt)),J=!0===J?K:wi(J),zs(j)&&(j={targets:K,className:j}),J&&(!1===tt||tt===Vs||(tt=!(!tt&&J.parentNode&&J.parentNode.style&&"flex"===Qs(J.parentNode).display)&&Hs),wt.pin=J,(i=Pi.core.getCache(J)).spacer?m=i.pinState:(ut&&((ut=wi(ut))&&!ut.nodeType&&(ut=ut.current||ut.nativeElement),i.spacerIsNative=!!ut,ut&&(i.spacerState=Lo(ut))),i.spacer=b=ut||zi.createElement("div"),b.classList.add("pin-spacer"),G&&b.classList.add("pin-spacer-"+G),i.pinState=m=Lo(J)),!1!==e.force3D&&Pi.set(J,{force3D:!0}),wt.spacer=b=i.spacer,P=Qs(J),O=P[tt+ht.os2],w=Pi.getProperty(J),T=Pi.quickSetter(J,ht.a,Gs),Fo(J,b,P),y=Lo(J)),bt){d=Bs(bt)?Zs(bt,so):so,h=lo("scroller-start",G,dt,ht,d,0),p=lo("scroller-end",G,dt,ht,d,0,h),x=h["offset"+ht.op.d2];var At=wi(di(dt,"content")||dt);c=this.markerStart=lo("start",G,At,ht,d,x,0,lt),f=this.markerEnd=lo("end",G,At,ht,d,x,0,lt),lt&&(X=Pi.quickSetter([c,f],ht.a,Gs)),mt||fi.length&&!0===di(dt,"fixedMarkers")||(W=Qs(U=_t?Ii:dt).position,U.style.position="absolute"===W||"fixed"===W?W:"relative",Pi.set([h,p],{force3D:!0}),S=Pi.quickSetter(h,ht.a,Gs),A=Pi.quickSetter(p,ht.a,Gs))}if(lt){var Pt=lt.vars.onUpdate,Dt=lt.vars.onUpdateParams;lt.eventCallback("onUpdate",(function(){wt.update(0,0,1),Pt&&Pt.apply(lt,Dt||[])}))}if(wt.previous=function(){return fo[fo.indexOf(wt)-1]},wt.next=function(){return fo[fo.indexOf(wt)+1]},wt.revert=function(t,e){if(!e)return wt.kill(!0);var n=!1!==t||!wt.enabled,i=Ui;n!==wt.isReverted&&(n&&(L=Math.max(Et(),wt.scroll.rec||0),St=wt.progress,Y=r&&r.progress()),c&&[c,f,h,p].forEach((function(t){return t.style.display=n?"none":"block"})),n&&(Ui=wt,wt.update(n)),!J||at&&wt.isActive||(n?function(t,e,r){Bo(r);var n=t._gsap;if(n.spacerIsNative)Bo(n.spacerState);else if(t._gsap.swappedIn){var i=e.parentNode;i&&(i.insertBefore(t,e),i.removeChild(e))}t._gsap.swappedIn=!1}(J,b,m):Fo(J,b,Qs(J),C)),n||wt.update(n),Ui=i,wt.isReverted=n)},wt.refresh=function(i,s,d,x){if(!Ui&&wt.enabled||s)if(J&&i&&vs)ro(t,"scrollEnd",bo);else{!hs&&Tt&&Tt(wt),Ui=wt,n.tween&&!d&&(n.tween.kill(),n.tween=0),z&&z.pause(),et&&r&&r.revert({kill:!1}).invalidate(),wt.isReverted||wt.revert(!0,!0),wt._subPinOffset=!1;var T,O,S,A,P,D,R,F,I,X,N,q,U,W=kt(),H=Mt(),V=lt?lt.duration():Ds(dt,ht),j=_<=.01,G=0,Q=x||0,$=Bs(d)?d.end:e.end,rt=e.endTrigger||K,nt=Bs(d)?d.start:e.start||(0!==e.start&&K?J?"0 0":"0 100%":0),it=wt.pinnedContainer=e.pinnedContainer&&wi(e.pinnedContainer,wt),st=K&&Math.max(0,fo.indexOf(wt))||0,ot=st;for(bt&&Bs(d)&&(q=Pi.getProperty(h,ht.p),U=Pi.getProperty(p,ht.p));ot-- >0;)(D=fo[ot]).end||D.refresh(0,1)||(Ui=wt),!(R=D.pin)||R!==K&&R!==J&&R!==it||D.isReverted||(X||(X=[]),X.unshift(D),D.revert(!0,!0)),D!==fo[ot]&&(st--,ot--);for(Fs(nt)&&(nt=nt(wt)),nt=bs(nt,"start",wt),u=Xo(nt,K,W,ht,Et(),c,h,wt,H,xt,mt,V,lt,wt._startClamp&&"_startClamp")||(J?-.001:0),Fs($)&&($=$(wt)),zs($)&&!$.indexOf("+=")&&(~$.indexOf(" ")?$=(zs(nt)?nt.split(" ")[0]:"")+$:(G=uo($.substr(2),W),$=zs(nt)?nt:(lt?Pi.utils.mapRange(0,lt.duration(),lt.scrollTrigger.start,lt.scrollTrigger.end,u):u)+G,rt=K)),$=bs($,"end",wt),l=Math.max(u,Xo($||(rt?"100% 0":V),rt,W,ht,Et()+G,f,p,wt,H,xt,mt,V,lt,wt._endClamp&&"_endClamp"))||-.001,G=0,ot=st;ot--;)(R=(D=fo[ot]).pin)&&D.start-D._pinPush<=u&&!lt&&D.end>0&&(T=D.end-(wt._startClamp?Math.max(0,D.start):D.start),(R===K&&D.start-D._pinPush=Ds(dt,ht)){if(K&&Et()&&!lt)for(O=K.parentNode;O&&O!==Ii;)O._pinOffset&&(u-=O._pinOffset,l-=O._pinOffset),O=O.parentNode}else T=Qs(J),A=ht===xi,S=Et(),k=parseFloat(w(ht.a))+Q,!V&&l>1&&(N={style:N=(_t?zi.scrollingElement||Fi:dt).style,value:N["overflow"+ht.a.toUpperCase()]},_t&&"scroll"!==Qs(Ii)["overflow"+ht.a.toUpperCase()]&&(N.style["overflow"+ht.a.toUpperCase()]="scroll")),Fo(J,b,T),y=Lo(J),O=$s(J,!0),F=mt&&Ti(dt,A?bi:xi)(),tt?((C=[tt+ht.os2,_+Q+Gs]).t=b,(ot=tt===Hs?Ks(J,ht)+_+Q:0)&&(C.push(ht.d,ot+Gs),"auto"!==b.style.flexBasis&&(b.style.flexBasis=ot+Gs)),Bo(C),it&&fo.forEach((function(t){t.pin===it&&!1!==t.vars.pinSpacing&&(t._subPinOffset=!0)})),mt&&Et(L)):(ot=Ks(J,ht))&&"auto"!==b.style.flexBasis&&(b.style.flexBasis=ot+Gs),mt&&((P={top:O.top+(A?S-u:F)+Gs,left:O.left+(A?F:S-u)+Gs,boxSizing:"border-box",position:"fixed"}).width=P.maxWidth=Math.ceil(O.width)+Gs,P.height=P.maxHeight=Math.ceil(O.height)+Gs,P.margin=P.marginTop=P.marginRight=P.marginBottom=P.marginLeft="0",P.padding=T.padding,P.paddingTop=T.paddingTop,P.paddingRight=T.paddingRight,P.paddingBottom=T.paddingBottom,P.paddingLeft=T.paddingLeft,v=function(t,e,r){for(var n,i=[],s=t.length,o=r?8:0;o1,mt&&E&&v.splice(v.length-2,2),r.render(0,!0,!0),I||r.invalidate(!0),r.parent||r.totalTime(r.totalTime()),$i(0)):M=_,N&&(N.value?N.style["overflow"+ht.a.toUpperCase()]=N.value:N.style.removeProperty("overflow-"+ht.a));X&&X.forEach((function(t){return t.revert(!1,!0)})),wt.start=u,wt.end=l,o=a=hs?L:Et(),lt||hs||(o0?fo.slice(0,e).reverse():fo.slice(e+1);return(zs(t)?r.filter((function(e){return e.vars.preventOverlaps===t})):r).filter((function(t){return wt.direction>0?t.end<=u:t.start>=l}))},wt.update=function(t,e,i){if(!lt||i||t){var s,c,f,p,d,g,m,x=!0===hs?L:wt.scroll(),w=t?0:(x-u)/_,C=w<0?0:w>1?1:w||0,P=wt.progress;if(e&&(a=o,o=lt?Et():x,ot&&(R=D,D=r&&!pt?r.totalProgress():C)),rt&&J&&!Ui&&!gs&&vs&&(!C&&ux+(x-a)/(_s()-Ni)*rt&&(C=.9999)),C!==P&&wt.enabled){if(p=(d=(s=wt.isActive=!!C&&C<1)!=(!!P&&P<1))||!!C!=!!P,wt.direction=C>P?1:-1,wt.progress=C,p&&!Ui&&(c=C&&!P?0:1===C?1:1===P?2:3,pt&&(f=!d&&"none"!==yt[c+1]&&yt[c+1]||yt[c],m=r&&("complete"===f||"reset"===f||f in r))),ft&&(d||m)&&(m||$||!r)&&(Fs(ft)?ft(wt):wt.getTrailing(ft).forEach((function(t){return t.endAnimation()}))),pt||(!z||Ui||gs?r&&r.totalProgress(C,!(!Ui||!Ct&&!t)):(z._dp._time-z._start!==z._time&&z.render(z._dp._time-z._start),z.resetTo?z.resetTo("totalProgress",C,r._tTime/r._tDur):(z.vars.totalProgress=C,z.invalidate().restart()))),J)if(t&&tt&&(b.style[tt+ht.os2]=O),mt){if(p){if(g=!t&&C>P&&l+1>x&&x+1>=Ds(dt,ht),at)if(t||!s&&!g)qo(J,b);else{var F=$s(J,!0),I=x-u;qo(J,Ii,F.top+(ht===xi?I:0)+Gs,F.left+(ht===xi?0:I)+Gs)}Bo(s||g?v:y),E&&C<1&&s||T(k+(1!==C||g?0:M))}}else T(Os(k+M*C));ot&&!n.tween&&!Ui&&!gs&&B.restart(!0),j&&(d||st&&C&&(C<1||!cs))&&Yi(j.targets).forEach((function(t){return t.classList[s||st?"add":"remove"](j.className)})),V&&!pt&&!t&&V(wt),p&&!Ui?(pt&&(m&&("complete"===f?r.pause().totalProgress(1):"reset"===f?r.restart(!0).pause():"restart"===f?r.restart(!0):r[f]()),V&&V(wt)),!d&&cs||(Q&&d&&Ys(wt,Q),vt[c]&&Ys(wt,vt[c]),st&&(1===C?wt.kill(!1,1):vt[c]=0),d||vt[c=1===C?1:3]&&Ys(wt,vt[c])),ct&&!s&&Math.abs(wt.getVelocity())>(Is(ct)?ct:2500)&&(Ls(wt.callbackAnimation),z?z.progress(1):Ls(r,"reverse"===f?1:!C,1))):pt&&V&&!Ui&&V(wt)}if(A){var Y=lt?x/lt.duration()*(lt._caScrollDist||0):x;S(Y+(h._isFlipped?1:0)),A(Y)}X&&X(-x/lt.duration()*(lt._caScrollDist||0))}},wt.enable=function(e,r){wt.enabled||(wt.enabled=!0,ro(dt,"resize",mo),_t||ro(dt,"scroll",go),Tt&&ro(t,"refreshInit",Tt),!1!==e&&(wt.progress=St=0,o=a=Ot=Et()),!1!==r&&wt.refresh())},wt.getTween=function(t){return t&&n?n.tween:z},wt.setPositions=function(t,e,r,n){if(lt){var i=lt.scrollTrigger,s=lt.duration(),o=i.end-i.start;t=i.start+o*t/s,e=i.start+o*e/s}wt.refresh(!1,!1,{start:xs(t,r&&!!wt._startClamp),end:xs(e,r&&!!wt._endClamp)},n),wt.update()},wt.adjustPinSpacing=function(t){if(C&&t){var e=C.indexOf(ht.d)+1;C[e]=parseFloat(C[e])+t+Gs,C[1]=parseFloat(C[1])+t+Gs,Bo(C)}},wt.disable=function(e,r){if(wt.enabled&&(!1!==e&&wt.revert(!0,!0),wt.enabled=wt.isActive=!1,r||z&&z.pause(),L=0,i&&(i.uncache=1),Tt&&no(t,"refreshInit",Tt),B&&(B.pause(),n.tween&&n.tween.kill()&&(n.tween=0)),!_t)){for(var s=fo.length;s--;)if(fo[s].scroller===dt&&fo[s]!==wt)return;no(dt,"resize",mo),_t||no(dt,"scroll",go)}},wt.kill=function(t,n){wt.disable(t,n),z&&!n&&z.kill(),G&&delete ho[G];var s=fo.indexOf(wt);s>=0&&fo.splice(s,1),s===Vi&&Po>0&&Vi--,s=0,fo.forEach((function(t){return t.scroller===wt.scroller&&(s=1)})),s||hs||(wt.scroll.rec=0),r&&(r.scrollTrigger=null,t&&r.revert({kill:!1}),n||r.kill()),c&&[c,f,h,p].forEach((function(t){return t.parentNode&&t.parentNode.removeChild(t)})),ds===wt&&(ds=0),J&&(i&&(i.uncache=1),s=0,fo.forEach((function(t){return t.pin===J&&s++})),s||(i.spacer=0)),e.onKill&&e.onKill(wt)},fo.push(wt),wt.enable(!1,!1),N&&N(wt),r&&r.add&&!_){var Rt=wt.update;wt.update=function(){wt.update=Rt,ci.cache++,u||l||wt.refresh()},Pi.delayedCall(.01,wt.update),_=.01,u=l=0}else wt.refresh();J&&function(){if(ps!==Oo){var t=ps=Oo;requestAnimationFrame((function(){return t===Oo&&Eo(!0)}))}}()}else this.update=this.refresh=this.kill=Ms},t.register=function(e){return Di||(Pi=e||Ss(),Cs()&&window.document&&t.enable(),Di=ys),Di},t.defaults=function(t){if(t)for(var e in t)oo[e]=t[e];return oo},t.disable=function(t,e){ys=0,fo.forEach((function(r){return r[e?"kill":"disable"](t)})),no(Ri,"wheel",go),no(zi,"scroll",go),clearInterval(qi),no(zi,"touchcancel",Ms),no(Ii,"touchstart",Ms),eo(no,zi,"pointerdown,touchstart,mousedown",Ts),eo(no,zi,"pointerup,touchend,mouseup",ks),Li.kill(),Rs(no);for(var r=0;r0&&n.left+i0&&n.top+i=0&&wo.splice(e,5),wo.push(t,t.style.cssText,t.getBBox&&t.getAttribute("transform"),Pi.core.getCache(t),is())}})):wo},Vo.revert=function(t,e){return ko(!t,e)},Vo.create=function(t,e){return new Vo(t,e)},Vo.refresh=function(t){return t?mo(!0):(Di||Vo.register())&&Eo(!0)},Vo.update=function(t){return++ci.cache&&Do(!0===t?2:0)},Vo.clearScrollMemory=Mo,Vo.maxScroll=function(t,e){return Ds(t,e?bi:xi)},Vo.getScrollFunc=function(t,e){return Ti(wi(t),e?bi:xi)},Vo.getById=function(t){return ho[t]},Vo.getAll=function(){return fo.filter((function(t){return"ScrollSmoother"!==t.vars.id}))},Vo.isScrolling=function(){return!!vs},Vo.snapDirectional=to,Vo.addEventListener=function(t,e){var r=vo[t]||(vo[t]=[]);~r.indexOf(e)||r.push(e)},Vo.removeEventListener=function(t,e){var r=vo[t],n=r&&r.indexOf(e);n>=0&&r.splice(n,1)},Vo.batch=function(t,e){var r,n=[],i={},s=e.interval||.016,o=e.batchMax||1e9,a=function(t,e){var r=[],n=[],i=Pi.delayedCall(s,(function(){e(r,n),r=[],n=[]})).pause();return function(t){r.length||i.restart(!0),r.push(t.trigger),n.push(t),o<=r.length&&i.progress(1)}};for(r in e)i[r]="on"===r.substr(0,2)&&Fs(e[r])&&"onRefreshInit"!==r?a(0,e[r]):e[r];return Fs(o)&&(o=o(),ro(Vo,"refresh",(function(){return o=e.batchMax()}))),Yi(t).forEach((function(t){var e={};for(r in i)e[r]=i[r];e.trigger=t,n.push(Vo.create(e))})),n};var jo,Go=function(t,e,r,n){return e>n?t(n):e<0&&t(0),r>n?(n-e)/(r-e):r<0?e/(e-r):1},Qo=function t(e,r){!0===r?e.style.removeProperty("touch-action"):e.style.touchAction=!0===r?"auto":r?"pan-"+r+(Ei.isTouch?" pinch-zoom":""):"none",e===Fi&&t(Ii,r)},Zo={auto:1,scroll:1},$o=function(t){var e,r=t.event,n=t.target,i=t.axis,s=(r.changedTouches?r.changedTouches[0]:r).target,o=s._gsap||Pi.core.getCache(s),a=_s();if(!o._isScrollT||a-o._isScrollT>2e3){for(;s&&s!==Ii&&(s.scrollHeight<=s.clientHeight&&s.scrollWidth<=s.clientWidth||!Zo[(e=Qs(s)).overflowY]&&!Zo[e.overflowX]);)s=s.parentNode;o._isScroll=s&&s!==n&&!Es(s)&&(Zo[(e=Qs(s)).overflowY]||Zo[e.overflowX]),o._isScrollT=a}(o._isScroll||"x"===i)&&(r.stopPropagation(),r._gsapAllow=!0)},Ko=function(t,e,r,n){return Ei.create({target:t,capture:!0,debounce:!1,lockAxis:!0,type:e,onWheel:n=n&&$o,onPress:n,onDrag:n,onScroll:n,onEnable:function(){return r&&ro(zi,Ei.eventTypes[0],ta,!1,!0)},onDisable:function(){return no(zi,Ei.eventTypes[0],ta,!0)}})},Jo=/(input|label|select|textarea)/i,ta=function(t){var e=Jo.test(t.target.tagName);(e||jo)&&(t._gsapAllow=!0,jo=e)};Vo.sort=function(t){if(Fs(t))return fo.sort(t);var e=Ri.pageYOffset||0;return Vo.getAll().forEach((function(t){return t._sortY=t.trigger?e+t.trigger.getBoundingClientRect().top:t.start+Ri.innerHeight})),fo.sort(t||function(t,e){return-1e6*(t.vars.refreshPriority||0)+(t.vars.containerAnimation?1e6:t._sortY)-((e.vars.containerAnimation?1e6:e._sortY)+-1e6*(e.vars.refreshPriority||0))})},Vo.observe=function(t){return new Ei(t)},Vo.normalizeScroll=function(t){if(void 0===t)return Ji;if(!0===t&&Ji)return Ji.enable();if(!1===t)return Ji&&Ji.kill(),void(Ji=t);var e=t instanceof Ei?t:function(t){Bs(t)||(t={}),t.preventDefault=t.isNormalizer=t.allowClicks=!0,t.type||(t.type="wheel,touch"),t.debounce=!!t.debounce,t.id=t.id||"normalizer";var e,r,n,i,s,o,a,u,l=t,c=l.normalizeScrollX,f=l.momentum,h=l.allowNestedScroll,p=l.onRelease,d=wi(t.target)||Fi,g=Pi.core.globals().ScrollSmoother,_=g&&g.get(),m=ns&&(t.content&&wi(t.content)||_&&!1!==t.content&&!_.smooth()&&_.content()),v=Ti(d,xi),y=Ti(d,bi),b=1,x=(Ei.isTouch&&Ri.visualViewport?Ri.visualViewport.scale*Ri.visualViewport.width:Ri.outerWidth)/Ri.innerWidth,w=0,T=Fs(f)?function(){return f(e)}:function(){return f||2.8},k=Ko(d,t.type,!0,h),M=function(){return i=!1},O=Ms,C=Ms,S=function(){r=Ds(d,xi),C=Xi(ns?1:0,r),c&&(O=Xi(0,Ds(d,bi))),n=Oo},E=function(){m._gsap.y=Os(parseFloat(m._gsap.y)+v.offset)+"px",m.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+parseFloat(m._gsap.y)+", 0, 1)",v.offset=v.cacheID=0},A=function(){S(),s.isActive()&&s.vars.scrollY>r&&(v()>r?s.progress(1)&&v(r):s.resetTo("scrollY",r))};return m&&Pi.set(m,{y:"+=0"}),t.ignoreCheck=function(t){return ns&&"touchmove"===t.type&&function(){if(i){requestAnimationFrame(M);var t=Os(e.deltaY/2),r=C(v.v-t);if(m&&r!==v.v+v.offset){v.offset=r-v.v;var n=Os((parseFloat(m&&m._gsap.y)||0)-v.offset);m.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+n+", 0, 1)",m._gsap.y=n+"px",v.cacheID=ci.cache,Do()}return!0}v.offset&&E(),i=!0}()||b>1.05&&"touchstart"!==t.type||e.isGesturing||t.touches&&t.touches.length>1},t.onPress=function(){i=!1;var t=b;b=Os((Ri.visualViewport&&Ri.visualViewport.scale||1)/x),s.pause(),t!==b&&Qo(d,b>1.01||!c&&"x"),o=y(),a=v(),S(),n=Oo},t.onRelease=t.onGestureStart=function(t,e){if(v.offset&&E(),e){ci.cache++;var n,i,o=T();c&&(i=(n=y())+.05*o*-t.velocityX/.227,o*=Go(y,n,i,Ds(d,bi)),s.vars.scrollX=O(i)),i=(n=v())+.05*o*-t.velocityY/.227,o*=Go(v,n,i,Ds(d,xi)),s.vars.scrollY=C(i),s.invalidate().duration(o).play(.01),(ns&&s.vars.scrollY>=r||n>=r-1)&&Pi.to({},{onUpdate:A,duration:o})}else u.restart(!0);p&&p(t)},t.onWheel=function(){s._ts&&s.pause(),_s()-w>1e3&&(n=0,w=_s())},t.onChange=function(t,e,r,i,s){if(Oo!==n&&S(),e&&c&&y(O(i[2]===e?o+(t.startX-t.x):y()+e-i[1])),r){v.offset&&E();var u=s[2]===r,l=u?a+t.startY-t.y:v()+r-s[1],f=C(l);u&&l!==f&&(a+=f-l),v(f)}(r||e)&&Do()},t.onEnable=function(){Qo(d,!c&&"x"),Vo.addEventListener("refresh",A),ro(Ri,"resize",A),v.smooth&&(v.target.style.scrollBehavior="auto",v.smooth=y.smooth=!1),k.enable()},t.onDisable=function(){Qo(d,!0),no(Ri,"resize",A),Vo.removeEventListener("refresh",A),k.kill()},t.lockAxis=!1!==t.lockAxis,(e=new Ei(t)).iOS=ns,ns&&!v()&&v(1),ns&&Pi.ticker.add(Ms),u=e._dc,s=Pi.to(e,{ease:"power4",paused:!0,inherit:!1,scrollX:c?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:Uo(v,v(),(function(){return s.pause()}))},onUpdate:Do,onComplete:u.vars.onComplete}),e}(t);return Ji&&Ji.target===e.target&&Ji.kill(),Es(e.target)&&(Ji=e),e},Vo.core={_getVelocityProp:ki,_inputObserver:Ko,_scrollers:ci,_proxies:fi,bridge:{ss:function(){vs||xo("scrollStart"),vs=_s()},ref:function(){return Ui}}},Ss()&&Pi.registerPlugin(Vo),Vn.registerPlugin(Vo);var ea="#EDEEE9";Vo.saveStyles(".first, .second, .cta, .container"),Vo.matchMedia({"(max-width: 768px)":function(){Vn.timeline({scrollTrigger:{trigger:".marquee",start:"-100% bottom",scrub:1}}).to(".first",{duration:2,xPercent:-20,color:ea}).to(".second",{duration:2,xPercent:40,color:ea},"<").to(".container",{duration:.5,backgroundColor:"#0A0A0A"},"<")},"(min-width: 769px)":function(){Vn.timeline({scrollTrigger:{trigger:".marquee",start:"-40% bottom",scrub:!0}}).to(".first",{duration:2,xPercent:-20}).to(".second",{duration:2,xPercent:20},"<").to(".container",{duration:2},"<")}})})();