var gl=Object.defineProperty;var ml=(o,e,i)=>e in o?gl(o,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):o[e]=i;var G=(o,e,i)=>ml(o,typeof e!="symbol"?e+"":e,i);function mi(o){if(o===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return o}function $o(o,e){o.prototype=Object.create(e.prototype),o.prototype.constructor=o,o.__proto__=e}/*! * GSAP 3.15.0 * https://gsap.com * * @license Copyright 2008-2026, GreenSock. All rights reserved. * Subject to the terms at https://gsap.com/standard-license * @author: Jack Doyle, jack@greensock.com */var Vt={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},Zr={duration:.5,overwrite:!1,delay:0},Ls,ct,Ae,Zt=1e8,Pe=1/Zt,cs=Math.PI*2,vl=cs/4,xl=0,Go=Math.sqrt,yl=Math.cos,bl=Math.sin,it=function(e){return typeof e=="string"},Be=function(e){return typeof e=="function"},wi=function(e){return typeof e=="number"},zs=function(e){return typeof e>"u"},gi=function(e){return typeof e=="object"},Mt=function(e){return e!==!1},Fs=function(){return typeof window<"u"},hn=function(e){return Be(e)||it(e)},jo=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},xt=Array.isArray,wl=/random\([^)]+\)/g,Sl=/,\s*/g,ao=/(?:-?\.?\d|\.)+/gi,Ko=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,hr=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,Kn=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,Qo=/[+-]=-?[.\d]+/,Tl=/[^,'"\[\]\s]+/gi,Cl=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,Ie,ci,fs,Is,Ut={},Ln={},Zo,Jo=function(e){return(Ln=wr(e,Ut))&&Lt},Ns=function(e,i){return console.warn("Invalid property",e,"set to",i,"Missing plugin? gsap.registerPlugin()")},Jr=function(e,i){return!i&&console.warn(e)},ea=function(e,i){return e&&(Ut[e]=i)&&Ln&&(Ln[e]=i)||Ut},en=function(){return 0},El={suppressEvents:!0,isStart:!0,kill:!1},Cn={suppressEvents:!0,kill:!1},kl={suppressEvents:!0},Hs={},Di=[],hs={},ta,Nt={},Qn={},lo=30,En=[],Ws="",Bs=function(e){var i=e[0],t,r;if(gi(i)||Be(i)||(e=[e]),!(t=(i._gsap||{}).harness)){for(r=En.length;r--&&!En[r].targetTest(i););t=En[r]}for(r=e.length;r--;)e[r]&&(e[r]._gsap||(e[r]._gsap=new Sa(e[r],t)))||e.splice(r,1);return e},ji=function(e){return e._gsap||Bs(Jt(e))[0]._gsap},ia=function(e,i,t){return(t=e[i])&&Be(t)?e[i]():zs(t)&&e.getAttribute&&e.getAttribute(i)||t},Rt=function(e,i){return(e=e.split(",")).forEach(i)||e},Xe=function(e){return Math.round(e*1e5)/1e5||0},Fe=function(e){return Math.round(e*1e7)/1e7||0},_r=function(e,i){var t=i.charAt(0),r=parseFloat(i.substr(2));return e=parseFloat(e),t==="+"?e+r:t==="-"?e-r:t==="*"?e*r:e/r},Pl=function(e,i){for(var t=i.length,r=0;e.indexOf(i[r])<0&&++ra;)s=s._prev;return s?(i._next=s._next,s._next=i):(i._next=e[t],e[t]=i),i._next?i._next._prev=i:e[r]=i,i._prev=s,i.parent=i._dp=e,i},Un=function(e,i,t,r){t===void 0&&(t="_first"),r===void 0&&(r="_last");var n=i._prev,s=i._next;n?n._next=s:e[t]===i&&(e[t]=s),s?s._prev=n:e[r]===i&&(e[r]=n),i._next=i._prev=i.parent=null},Fi=function(e,i){e.parent&&(!i||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},Ki=function(e,i){if(e&&(!i||i._end>e._dur||i._start<0))for(var t=e;t;)t._dirty=1,t=t.parent;return e},Rl=function(e){for(var i=e.parent;i&&i.parent;)i._dirty=1,i.totalDuration(),i=i.parent;return e},ds=function(e,i,t,r){return e._startAt&&(ct?e._startAt.revert(Cn):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(i,!0,r))},Al=function o(e){return!e||e._ts&&o(e.parent)},co=function(e){return e._repeat?Sr(e._tTime,e=e.duration()+e._rDelay)*e:0},Sr=function(e,i){var t=Math.floor(e=Fe(e/i));return e&&t===e?t-1:t},In=function(e,i){return(e-i._start)*i._ts+(i._ts>=0?0:i._dirty?i.totalDuration():i._tDur)},qn=function(e){return e._end=Fe(e._start+(e._tDur/Math.abs(e._ts||e._rts||Pe)||0))},$n=function(e,i){var t=e._dp;return t&&t.smoothChildTiming&&e._ts&&(e._start=Fe(t._time-(e._ts>0?i/e._ts:((e._dirty?e.totalDuration():e._tDur)-i)/-e._ts)),qn(e),t._dirty||Ki(t,e)),e},aa=function(e,i){var t;if((i._time||!i._dur&&i._initted||i._startPe)&&i.render(t,!0)),Ki(e,i)._dp&&e._initted&&e._time>=e._dur&&e._ts){if(e._dur=0&&t.totalTime(t._tTime),t=t._dp;e._zTime=-Pe}},hi=function(e,i,t,r){return i.parent&&Fi(i),i._start=Fe((wi(t)?t:t||e!==Ie?jt(e,t,i):e._time)+i._delay),i._end=Fe(i._start+(i.totalDuration()/Math.abs(i.timeScale())||0)),oa(e,i,"_first","_last",e._sort?"_start":0),ps(i)||(e._recent=i),r||aa(e,i),e._ts<0&&$n(e,e._tTime),e},la=function(e,i){return(Ut.ScrollTrigger||Ns("scrollTrigger",i))&&Ut.ScrollTrigger.create(i,e)},ua=function(e,i,t,r,n){if(Vs(e,i,n),!e._initted)return 1;if(!t&&e._pt&&!ct&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&ta!==Wt.frame)return Di.push(e),e._lazy=[n,r],1},Dl=function o(e){var i=e.parent;return i&&i._ts&&i._initted&&!i._lock&&(i.rawTime()<0||o(i))},ps=function(e){var i=e.data;return i==="isFromStart"||i==="isStart"},Ll=function(e,i,t,r){var n=e.ratio,s=i<0||!i&&(!e._start&&Dl(e)&&!(!e._initted&&ps(e))||(e._ts<0||e._dp._ts<0)&&!ps(e))?0:1,a=e._rDelay,l=0,u,c,d;if(a&&e._repeat&&(l=un(0,e._tDur,i),c=Sr(l,a),e._yoyo&&c&1&&(s=1-s),c!==Sr(e._tTime,a)&&(n=1-s,e.vars.repeatRefresh&&e._initted&&e.invalidate())),s!==n||ct||r||e._zTime===Pe||!i&&e._zTime){if(!e._initted&&ua(e,i,r,t,l))return;for(d=e._zTime,e._zTime=i||(t?Pe:0),t||(t=i&&!d),e.ratio=s,e._from&&(s=1-s),e._time=0,e._tTime=l,u=e._pt;u;)u.r(s,u.d),u=u._next;i<0&&ds(e,i,t,!0),e._onUpdate&&!t&&Yt(e,"onUpdate"),l&&e._repeat&&!t&&e.parent&&Yt(e,"onRepeat"),(i>=e._tDur||i<0)&&e.ratio===s&&(s&&Fi(e,1),!t&&!ct&&(Yt(e,s?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=i)},zl=function(e,i,t){var r;if(t>i)for(r=e._first;r&&r._start<=t;){if(r.data==="isPause"&&r._start>i)return r;r=r._next}else for(r=e._last;r&&r._start>=t;){if(r.data==="isPause"&&r._start0&&!r&&$n(e,e._tTime=e._tDur*a),e.parent&&qn(e),t||Ki(e.parent,e),e},fo=function(e){return e instanceof Ot?Ki(e):Tr(e,e._dur)},Fl={_start:0,endTime:en,totalDuration:en},jt=function o(e,i,t){var r=e.labels,n=e._recent||Fl,s=e.duration()>=Zt?n.endTime(!1):e._dur,a,l,u;return it(i)&&(isNaN(i)||i in r)?(l=i.charAt(0),u=i.substr(-1)==="%",a=i.indexOf("="),l==="<"||l===">"?(a>=0&&(i=i.replace(/=/,"")),(l==="<"?n._start:n.endTime(n._repeat>=0))+(parseFloat(i.substr(1))||0)*(u?(a<0?n:t).totalDuration()/100:1)):a<0?(i in r||(r[i]=s),r[i]):(l=parseFloat(i.charAt(a-1)+i.substr(a+1)),u&&t&&(l=l/100*(xt(t)?t[0]:t).totalDuration()),a>1?o(e,i.substr(0,a-1),t)+l:s+l)):i==null?s:+i},Br=function(e,i,t){var r=wi(i[1]),n=(r?2:1)+(e<2?0:1),s=i[n],a,l;if(r&&(s.duration=i[1]),s.parent=t,e){for(a=s,l=t;l&&!("immediateRender"in a);)a=l.vars.defaults||{},l=Mt(l.vars.inherit)&&l.parent;s.immediateRender=Mt(a.immediateRender),e<2?s.runBackwards=1:s.startAt=i[n-1]}return new qe(i[0],s,i[n+1])},Wi=function(e,i){return e||e===0?i(e):i},un=function(e,i,t){return ti?i:t},mt=function(e,i){return!it(e)||!(i=Cl.exec(e))?"":i[1]},Il=function(e,i,t){return Wi(t,function(r){return un(e,i,r)})},_s=[].slice,ca=function(e,i){return e&&gi(e)&&"length"in e&&(!i&&!e.length||e.length-1 in e&&gi(e[0]))&&!e.nodeType&&e!==ci},Nl=function(e,i,t){return t===void 0&&(t=[]),e.forEach(function(r){var n;return it(r)&&!i||ca(r,1)?(n=t).push.apply(n,Jt(r)):t.push(r)})||t},Jt=function(e,i,t){return Ae&&!i&&Ae.selector?Ae.selector(e):it(e)&&!t&&(fs||!Cr())?_s.call((i||Is).querySelectorAll(e),0):xt(e)?Nl(e,t):ca(e)?_s.call(e,0):e?[e]:[]},gs=function(e){return e=Jt(e)[0]||Jr("Invalid scope")||{},function(i){var t=e.current||e.nativeElement||e;return Jt(i,t.querySelectorAll?t:t===e?Jr("Invalid scope")||Is.createElement("div"):e)}},fa=function(e){return e.sort(function(){return .5-Math.random()})},ha=function(e){if(Be(e))return e;var i=gi(e)?e:{each:e},t=Qi(i.ease),r=i.from||0,n=parseFloat(i.base)||0,s={},a=r>0&&r<1,l=isNaN(r)||a,u=i.axis,c=r,d=r;return it(r)?c=d={center:.5,edges:.5,end:1}[r]||0:!a&&l&&(c=r[0],d=r[1]),function(h,f,_){var p=(_||i).length,v=s[p],C,b,k,w,P,F,E,N,z;if(!v){if(z=i.grid==="auto"?0:(i.grid||[1,Zt])[1],!z){for(E=-Zt;E<(E=_[z++].getBoundingClientRect().left)&&zE&&(E=P),Pp?p-1:u?u==="y"?p/z:z:Math.max(z,p/z))||0)*(r==="edges"?-1:1),v.b=p<0?n-p:n,v.u=mt(i.amount||i.each)||0,t=t&&p<0?Ql(t):t}return p=(v[h]-v.min)/v.max||0,Fe(v.b+(t?t(p):p)*v.v)+v.u}},ms=function(e){var i=Math.pow(10,((e+"").split(".")[1]||"").length);return function(t){var r=Fe(Math.round(parseFloat(t)/e)*e*i);return(r-r%1)/i+(wi(t)?0:mt(t))}},da=function(e,i){var t=xt(e),r,n;return!t&&gi(e)&&(r=t=e.radius||Zt,e.values?(e=Jt(e.values),(n=!wi(e[0]))&&(r*=r)):e=ms(e.increment)),Wi(i,t?Be(e)?function(s){return n=e(s),Math.abs(n-s)<=r?n:s}:function(s){for(var a=parseFloat(n?s.x:s),l=parseFloat(n?s.y:0),u=Zt,c=0,d=e.length,h,f;d--;)n?(h=e[d].x-a,f=e[d].y-l,h=h*h+f*f):h=Math.abs(e[d]-a),hr?n-s:s)})},tn=function(e){return e.replace(wl,function(i){var t=i.indexOf("[")+1,r=i.substring(t||7,t?i.indexOf("]"):i.length-1).split(Sl);return pa(t?r:+r[0],t?0:+r[1],+r[2]||1e-5)})},ga=function(e,i,t,r,n){var s=i-e,a=r-t;return Wi(n,function(l){return t+((l-e)/s*a||0)})},Vl=function o(e,i,t,r){var n=isNaN(e+i)?0:function(f){return(1-f)*e+f*i};if(!n){var s=it(e),a={},l,u,c,d,h;if(t===!0&&(r=1)&&(t=null),s)e={p:e},i={p:i};else if(xt(e)&&!xt(i)){for(c=[],d=e.length,h=d-2,u=1;u(a=Math.abs(a))&&(l=s,n=a);return l},Yt=function(e,i,t){var r=e.vars,n=r[i],s=Ae,a=e._ctx,l,u,c;if(n)return l=r[i+"Params"],u=r.callbackScope||e,t&&Di.length&&zn(),a&&(Ae=a),c=l?n.apply(u,l):n.call(u),Ae=s,c},Dr=function(e){return Fi(e),e.scrollTrigger&&e.scrollTrigger.kill(!!ct),e.progress()<1&&Yt(e,"onInterrupt"),e},dr,ma=[],va=function(e){if(e)if(e=!e.name&&e.default||e,Fs()||e.headless){var i=e.name,t=Be(e),r=i&&!t&&e.init?function(){this._props=[]}:e,n={init:en,render:$s,add:Xs,kill:au,modifier:ou,rawVars:0},s={targetTest:0,get:0,getSetter:qs,aliases:{},register:0};if(Cr(),e!==r){if(Nt[i])return;qt(r,qt(Fn(e,n),s)),wr(r.prototype,wr(n,Fn(e,s))),Nt[r.prop=i]=r,e.targetTest&&(En.push(r),Hs[i]=1),i=(i==="css"?"CSS":i.charAt(0).toUpperCase()+i.substr(1))+"Plugin"}ea(i,r),e.register&&e.register(Lt,r,At)}else ma.push(e)},ke=255,Lr={aqua:[0,ke,ke],lime:[0,ke,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,ke],navy:[0,0,128],white:[ke,ke,ke],olive:[128,128,0],yellow:[ke,ke,0],orange:[ke,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[ke,0,0],pink:[ke,192,203],cyan:[0,ke,ke],transparent:[ke,ke,ke,0]},Zn=function(e,i,t){return e+=e<0?1:e>1?-1:0,(e*6<1?i+(t-i)*e*6:e<.5?t:e*3<2?i+(t-i)*(2/3-e)*6:i)*ke+.5|0},xa=function(e,i,t){var r=e?wi(e)?[e>>16,e>>8&ke,e&ke]:0:Lr.black,n,s,a,l,u,c,d,h,f,_;if(!r){if(e.substr(-1)===","&&(e=e.substr(0,e.length-1)),Lr[e])r=Lr[e];else if(e.charAt(0)==="#"){if(e.length<6&&(n=e.charAt(1),s=e.charAt(2),a=e.charAt(3),e="#"+n+n+s+s+a+a+(e.length===5?e.charAt(4)+e.charAt(4):"")),e.length===9)return r=parseInt(e.substr(1,6),16),[r>>16,r>>8&ke,r&ke,parseInt(e.substr(7),16)/255];e=parseInt(e.substr(1),16),r=[e>>16,e>>8&ke,e&ke]}else if(e.substr(0,3)==="hsl"){if(r=_=e.match(ao),!i)l=+r[0]%360/360,u=+r[1]/100,c=+r[2]/100,s=c<=.5?c*(u+1):c+u-c*u,n=c*2-s,r.length>3&&(r[3]*=1),r[0]=Zn(l+1/3,n,s),r[1]=Zn(l,n,s),r[2]=Zn(l-1/3,n,s);else if(~e.indexOf("="))return r=e.match(Ko),t&&r.length<4&&(r[3]=1),r}else r=e.match(ao)||Lr.transparent;r=r.map(Number)}return i&&!_&&(n=r[0]/ke,s=r[1]/ke,a=r[2]/ke,d=Math.max(n,s,a),h=Math.min(n,s,a),c=(d+h)/2,d===h?l=u=0:(f=d-h,u=c>.5?f/(2-d-h):f/(d+h),l=d===n?(s-a)/f+(se||C<0)&&(t+=C-i),r+=C,P=r-t,k=P-s,(k>0||b)&&(F=++d.frame,h=P-d.time*1e3,d.time=P=P/1e3,s+=k+(k>=n?4:n-k),w=1),b||(l=u(p)),w)for(f=0;f=C&&f--},_listeners:a},d}(),Cr=function(){return!rn&&Wt.wake()},xe={},ql=/^[\d.\-M][\d.\-,\s]/,$l=/["']/g,Gl=function(e){for(var i={},t=e.substr(1,e.length-3).split(":"),r=t[0],n=1,s=t.length,a,l,u;n1&&t.config?t.config.apply(null,~e.indexOf("{")?[Gl(i[1])]:jl(e).split(",").map(na)):xe._CE&&ql.test(e)?xe._CE("",e):t},Ql=function(e){return function(i){return 1-e(1-i)}},Qi=function(e,i){return e&&(Be(e)?e:xe[e]||Kl(e))||i},sr=function(e,i,t,r){t===void 0&&(t=function(l){return 1-i(1-l)}),r===void 0&&(r=function(l){return l<.5?i(l*2)/2:1-i((1-l)*2)/2});var n={easeIn:i,easeOut:t,easeInOut:r},s;return Rt(e,function(a){xe[a]=Ut[a]=n,xe[s=a.toLowerCase()]=t;for(var l in n)xe[s+(l==="easeIn"?".in":l==="easeOut"?".out":".inOut")]=xe[a+"."+l]=n[l]}),n},wa=function(e){return function(i){return i<.5?(1-e(1-i*2))/2:.5+e((i-.5)*2)/2}},Jn=function o(e,i,t){var r=i>=1?i:1,n=(t||(e?.3:.45))/(i<1?i:1),s=n/cs*(Math.asin(1/r)||0),a=function(c){return c===1?1:r*Math.pow(2,-10*c)*bl((c-s)*n)+1},l=e==="out"?a:e==="in"?function(u){return 1-a(1-u)}:wa(a);return n=cs/n,l.config=function(u,c){return o(e,u,c)},l},es=function o(e,i){i===void 0&&(i=1.70158);var t=function(s){return s?--s*s*((i+1)*s+i)+1:0},r=e==="out"?t:e==="in"?function(n){return 1-t(1-n)}:wa(t);return r.config=function(n){return o(e,n)},r};Rt("Linear,Quad,Cubic,Quart,Quint,Strong",function(o,e){var i=e<5?e+1:e;sr(o+",Power"+(i-1),e?function(t){return Math.pow(t,i)}:function(t){return t},function(t){return 1-Math.pow(1-t,i)},function(t){return t<.5?Math.pow(t*2,i)/2:1-Math.pow((1-t)*2,i)/2})});xe.Linear.easeNone=xe.none=xe.Linear.easeIn;sr("Elastic",Jn("in"),Jn("out"),Jn());(function(o,e){var i=1/e,t=2*i,r=2.5*i,n=function(a){return a0?t+(t+this._rDelay)*this._repeat:t):this.totalDuration()&&this._dur},e.totalDuration=function(t){return arguments.length?(this._dirty=0,Tr(this,this._repeat<0?t:(t-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(t,r){if(Cr(),!arguments.length)return this._tTime;var n=this._dp;if(n&&n.smoothChildTiming&&this._ts){for($n(this,t),!n._dp||n.parent||aa(n,this);n&&n.parent;)n.parent._time!==n._start+(n._ts>=0?n._tTime/n._ts:(n.totalDuration()-n._tTime)/-n._ts)&&n.totalTime(n._tTime,!0),n=n.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&t0||!this._tDur&&!t)&&hi(this._dp,this,this._start-this._delay)}return(this._tTime!==t||!this._dur&&!r||this._initted&&Math.abs(this._zTime)===Pe||!this._initted&&this._dur&&t||!t&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=t),ra(this,t,r)),this},e.time=function(t,r){return arguments.length?this.totalTime(Math.min(this.totalDuration(),t+co(this))%(this._dur+this._rDelay)||(t?this._dur:0),r):this._time},e.totalProgress=function(t,r){return arguments.length?this.totalTime(this.totalDuration()*t,r):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>=0&&this._initted?1:0},e.progress=function(t,r){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-t:t)+co(this),r):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},e.iteration=function(t,r){var n=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(t-1)*n,r):this._repeat?Sr(this._tTime,n)+1:1},e.timeScale=function(t,r){if(!arguments.length)return this._rts===-Pe?0:this._rts;if(this._rts===t)return this;var n=this.parent&&this._ts?In(this.parent._time,this):this._tTime;return this._rts=+t||0,this._ts=this._ps||t===-Pe?0:this._rts,this.totalTime(un(-Math.abs(this._delay),this.totalDuration(),n),r!==!1),qn(this),Rl(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):(Cr(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==Pe&&(this._tTime-=Pe)))),this):this._ps},e.startTime=function(t){if(arguments.length){this._start=Fe(t);var r=this.parent||this._dp;return r&&(r._sort||!this.parent)&&hi(r,this,this._start-this._delay),this}return this._start},e.endTime=function(t){return this._start+(Mt(t)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},e.rawTime=function(t){var r=this.parent||this._dp;return r?t&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?In(r.rawTime(t),this):this._tTime:this._tTime},e.revert=function(t){t===void 0&&(t=kl);var r=ct;return ct=t,Ys(this)&&(this.timeline&&this.timeline.revert(t),this.totalTime(-.01,t.suppressEvents)),this.data!=="nested"&&t.kill!==!1&&this.kill(),ct=r,this},e.globalTime=function(t){for(var r=this,n=arguments.length?t:r.rawTime();r;)n=r._start+n/(Math.abs(r._ts)||1),r=r._dp;return!this.parent&&this._sat?this._sat.globalTime(t):n},e.repeat=function(t){return arguments.length?(this._repeat=t===1/0?-2:t,fo(this)):this._repeat===-2?1/0:this._repeat},e.repeatDelay=function(t){if(arguments.length){var r=this._time;return this._rDelay=t,fo(this),r?this.time(r):this}return this._rDelay},e.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},e.seek=function(t,r){return this.totalTime(jt(this,t),Mt(r))},e.restart=function(t,r){return this.play().totalTime(t?-this._delay:0,Mt(r)),this._dur||(this._zTime=-Pe),this},e.play=function(t,r){return t!=null&&this.seek(t,r),this.reversed(!1).paused(!1)},e.reverse=function(t,r){return t!=null&&this.seek(t||this.totalDuration(),r),this.reversed(!0).paused(!1)},e.pause=function(t,r){return t!=null&&this.seek(t,r),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?-Pe:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-Pe,this},e.isActive=function(){var t=this.parent||this._dp,r=this._start,n;return!!(!t||this._ts&&this._initted&&t.isActive()&&(n=t.rawTime(!0))>=r&&n1?(r?(s[t]=r,n&&(s[t+"Params"]=n),t==="onUpdate"&&(this._onUpdate=r)):delete s[t],this):s[t]},e.then=function(t){var r=this,n=r._prom;return new Promise(function(s){var a=Be(t)?t:sa,l=function(){var c=r.then;r.then=null,n&&n(),Be(a)&&(a=a(r))&&(a.then||a===r)&&(r.then=c),s(a),r.then=c};r._initted&&r.totalProgress()===1&&r._ts>=0||!r._tTime&&r._ts<0?l():r._prom=l})},e.kill=function(){Dr(this)},o}();qt(nn.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:-Pe,_prom:0,_ps:!1,_rts:1});var Ot=function(o){$o(e,o);function e(t,r){var n;return t===void 0&&(t={}),n=o.call(this,t)||this,n.labels={},n.smoothChildTiming=!!t.smoothChildTiming,n.autoRemoveChildren=!!t.autoRemoveChildren,n._sort=Mt(t.sortChildren),Ie&&hi(t.parent||Ie,mi(n),r),t.reversed&&n.reverse(),t.paused&&n.paused(!0),t.scrollTrigger&&la(mi(n),t.scrollTrigger),n}var i=e.prototype;return i.to=function(r,n,s){return Br(0,arguments,this),this},i.from=function(r,n,s){return Br(1,arguments,this),this},i.fromTo=function(r,n,s,a){return Br(2,arguments,this),this},i.set=function(r,n,s){return n.duration=0,n.parent=this,Wr(n).repeatDelay||(n.repeat=0),n.immediateRender=!!n.immediateRender,new qe(r,n,jt(this,s),1),this},i.call=function(r,n,s){return hi(this,qe.delayedCall(0,r,n),s)},i.staggerTo=function(r,n,s,a,l,u,c){return s.duration=n,s.stagger=s.stagger||a,s.onComplete=u,s.onCompleteParams=c,s.parent=this,new qe(r,s,jt(this,l)),this},i.staggerFrom=function(r,n,s,a,l,u,c){return s.runBackwards=1,Wr(s).immediateRender=Mt(s.immediateRender),this.staggerTo(r,n,s,a,l,u,c)},i.staggerFromTo=function(r,n,s,a,l,u,c,d){return a.startAt=s,Wr(a).immediateRender=Mt(a.immediateRender),this.staggerTo(r,n,a,l,u,c,d)},i.render=function(r,n,s){var a=this._time,l=this._dirty?this.totalDuration():this._tDur,u=this._dur,c=r<=0?0:Fe(r),d=this._zTime<0!=r<0&&(this._initted||!u),h,f,_,p,v,C,b,k,w,P,F,E;if(this!==Ie&&c>l&&r>=0&&(c=l),c!==this._tTime||s||d){if(a!==this._time&&u&&(c+=this._time-a,r+=this._time-a),h=c,w=this._start,k=this._ts,C=!k,d&&(u||(a=this._zTime),(r||!n)&&(this._zTime=r)),this._repeat){if(F=this._yoyo,v=u+this._rDelay,this._repeat<-1&&r<0)return this.totalTime(v*100+r,n,s);if(h=Fe(c%v),c===l?(p=this._repeat,h=u):(P=Fe(c/v),p=~~P,p&&p===P&&(h=u,p--),h>u&&(h=u)),P=Sr(this._tTime,v),!a&&this._tTime&&P!==p&&this._tTime-P*v-this._dur<=0&&(P=p),F&&p&1&&(h=u-h,E=1),p!==P&&!this._lock){var N=F&&P&1,z=N===(F&&p&1);if(p=a&&r>=0)for(f=this._first;f;){if(_=f._next,(f._act||h>=f._start)&&f._ts&&b!==f){if(f.parent!==this)return this.render(r,n,s);if(f.render(f._ts>0?(h-f._start)*f._ts:(f._dirty?f.totalDuration():f._tDur)+(h-f._start)*f._ts,n,s),h!==this._time||!this._ts&&!C){b=0,_&&(c+=this._zTime=-Pe);break}}f=_}else{f=this._last;for(var D=r<0?r:h;f;){if(_=f._prev,(f._act||D<=f._end)&&f._ts&&b!==f){if(f.parent!==this)return this.render(r,n,s);if(f.render(f._ts>0?(D-f._start)*f._ts:(f._dirty?f.totalDuration():f._tDur)+(D-f._start)*f._ts,n,s||ct&&Ys(f)),h!==this._time||!this._ts&&!C){b=0,_&&(c+=this._zTime=D?-Pe:Pe);break}}f=_}}if(b&&!n&&(this.pause(),b.render(h>=a?0:-Pe)._zTime=h>=a?1:-1,this._ts))return this._start=w,qn(this),this.render(r,n,s);this._onUpdate&&!n&&Yt(this,"onUpdate",!0),(c===l&&this._tTime>=this.totalDuration()||!c&&a)&&(w===this._start||Math.abs(k)!==Math.abs(this._ts))&&(this._lock||((r||!u)&&(c===l&&this._ts>0||!c&&this._ts<0)&&Fi(this,1),!n&&!(r<0&&!a)&&(c||a||!l)&&(Yt(this,c===l&&r>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(c0)&&this._prom())))}return this},i.add=function(r,n){var s=this;if(wi(n)||(n=jt(this,n,r)),!(r instanceof nn)){if(xt(r))return r.forEach(function(a){return s.add(a,n)}),this;if(it(r))return this.addLabel(r,n);if(Be(r))r=qe.delayedCall(0,r);else return this}return this!==r?hi(this,r,n):this},i.getChildren=function(r,n,s,a){r===void 0&&(r=!0),n===void 0&&(n=!0),s===void 0&&(s=!0),a===void 0&&(a=-Zt);for(var l=[],u=this._first;u;)u._start>=a&&(u instanceof qe?n&&l.push(u):(s&&l.push(u),r&&l.push.apply(l,u.getChildren(!0,n,s)))),u=u._next;return l},i.getById=function(r){for(var n=this.getChildren(1,1,1),s=n.length;s--;)if(n[s].vars.id===r)return n[s]},i.remove=function(r){return it(r)?this.removeLabel(r):Be(r)?this.killTweensOf(r):(r.parent===this&&Un(this,r),r===this._recent&&(this._recent=this._last),Ki(this))},i.totalTime=function(r,n){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=Fe(Wt.time-(this._ts>0?r/this._ts:(this.totalDuration()-r)/-this._ts))),o.prototype.totalTime.call(this,r,n),this._forcing=0,this):this._tTime},i.addLabel=function(r,n){return this.labels[r]=jt(this,n),this},i.removeLabel=function(r){return delete this.labels[r],this},i.addPause=function(r,n,s){var a=qe.delayedCall(0,n||en,s);return a.data="isPause",this._hasPause=1,hi(this,a,jt(this,r))},i.removePause=function(r){var n=this._first;for(r=jt(this,r);n;)n._start===r&&n.data==="isPause"&&Fi(n),n=n._next},i.killTweensOf=function(r,n,s){for(var a=this.getTweensOf(r,s),l=a.length;l--;)Pi!==a[l]&&a[l].kill(r,n);return this},i.getTweensOf=function(r,n){for(var s=[],a=Jt(r),l=this._first,u=wi(n),c;l;)l instanceof qe?Pl(l._targets,a)&&(u?(!Pi||l._initted&&l._ts)&&l.globalTime(0)<=n&&l.globalTime(l.totalDuration())>n:!n||l.isActive())&&s.push(l):(c=l.getTweensOf(a,n)).length&&s.push.apply(s,c),l=l._next;return s},i.tweenTo=function(r,n){n=n||{};var s=this,a=jt(s,r),l=n,u=l.startAt,c=l.onStart,d=l.onStartParams,h=l.immediateRender,f,_=qe.to(s,qt({ease:n.ease||"none",lazy:!1,immediateRender:!1,time:a,overwrite:"auto",duration:n.duration||Math.abs((a-(u&&"time"in u?u.time:s._time))/s.timeScale())||Pe,onStart:function(){if(s.pause(),!f){var v=n.duration||Math.abs((a-(u&&"time"in u?u.time:s._time))/s.timeScale());_._dur!==v&&Tr(_,v,0,1).render(_._time,!0,!0),f=1}c&&c.apply(_,d||[])}},n));return h?_.render(0):_},i.tweenFromTo=function(r,n,s){return this.tweenTo(n,qt({startAt:{time:jt(this,r)}},s))},i.recent=function(){return this._recent},i.nextLabel=function(r){return r===void 0&&(r=this._time),ho(this,jt(this,r))},i.previousLabel=function(r){return r===void 0&&(r=this._time),ho(this,jt(this,r),1)},i.currentLabel=function(r){return arguments.length?this.seek(r,!0):this.previousLabel(this._time+Pe)},i.shiftChildren=function(r,n,s){s===void 0&&(s=0);var a=this._first,l=this.labels,u;for(r=Fe(r);a;)a._start>=s&&(a._start+=r,a._end+=r),a=a._next;if(n)for(u in l)l[u]>=s&&(l[u]+=r);return Ki(this)},i.invalidate=function(r){var n=this._first;for(this._lock=0;n;)n.invalidate(r),n=n._next;return o.prototype.invalidate.call(this,r)},i.clear=function(r){r===void 0&&(r=!0);for(var n=this._first,s;n;)s=n._next,this.remove(n),n=s;return this._dp&&(this._time=this._tTime=this._pTime=0),r&&(this.labels={}),Ki(this)},i.totalDuration=function(r){var n=0,s=this,a=s._last,l=Zt,u,c,d;if(arguments.length)return s.timeScale((s._repeat<0?s.duration():s.totalDuration())/(s.reversed()?-r:r));if(s._dirty){for(d=s.parent;a;)u=a._prev,a._dirty&&a.totalDuration(),c=a._start,c>l&&s._sort&&a._ts&&!s._lock?(s._lock=1,hi(s,a,c-a._delay,1)._lock=0):l=c,c<0&&a._ts&&(n-=c,(!d&&!s._dp||d&&d.smoothChildTiming)&&(s._start+=Fe(c/s._ts),s._time-=c,s._tTime-=c),s.shiftChildren(-c,!1,-1/0),l=0),a._end>n&&a._ts&&(n=a._end),a=u;Tr(s,s===Ie&&s._time>n?s._time:n,1,1),s._dirty=0}return s._tDur},e.updateRoot=function(r){if(Ie._ts&&(ra(Ie,In(r,Ie)),ta=Wt.frame),Wt.frame>=lo){lo+=Vt.autoSleep||120;var n=Ie._first;if((!n||!n._ts)&&Vt.autoSleep&&Wt._listeners.length<2){for(;n&&!n._ts;)n=n._next;n||Wt.sleep()}}},e}(nn);qt(Ot.prototype,{_lock:0,_hasPause:0,_forcing:0});var Zl=function(e,i,t,r,n,s,a){var l=new At(this._pt,e,i,0,1,Oa,null,n),u=0,c=0,d,h,f,_,p,v,C,b;for(l.b=t,l.e=r,t+="",r+="",(C=~r.indexOf("random("))&&(r=tn(r)),s&&(b=[t,r],s(b,e,i),t=b[0],r=b[1]),h=t.match(Kn)||[];d=Kn.exec(r);)_=d[0],p=r.substring(u,d.index),f?f=(f+1)%5:p.substr(-5)==="rgba("&&(f=1),_!==h[c++]&&(v=parseFloat(h[c-1])||0,l._pt={_next:l._pt,p:p||c===1?p:",",s:v,c:_.charAt(1)==="="?_r(v,_)-v:parseFloat(_)-v,m:f&&f<4?Math.round:0},u=Kn.lastIndex);return l.c=u")}),k.duration();else{P={};for(E in _)E==="ease"||E==="easeEach"||iu(E,_[E],P,_.easeEach);for(E in P)for(le=P[E].sort(function(_e,Z){return _e.t-Z.t}),X=0,w=0;wl-Pe&&!c?l:ru&&(h=u)),C=this._yoyo&&_&1,C&&(h=u-h),v=Sr(this._tTime,p),h===a&&!s&&this._initted&&_===v)return this._tTime=d,this;_!==v&&this.vars.repeatRefresh&&!C&&!this._lock&&h!==p&&this._initted&&(this._lock=s=1,this.render(Fe(p*_),!0).invalidate()._lock=0)}if(!this._initted){if(ua(this,c?r:h,s,n,d))return this._tTime=0,this;if(a!==this._time&&!(s&&this.vars.repeatRefresh&&_!==v))return this;if(u!==this._dur)return this.render(r,n,s)}if(this._rEase){var w=h0||!d&&this._ts<0)&&Fi(this,1),!n&&!(c&&!a)&&(d||a||C)&&(Yt(this,d===l?"onComplete":"onReverseComplete",!0),this._prom&&!(d0)&&this._prom()))}return this},i.targets=function(){return this._targets},i.invalidate=function(r){return(!r||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(r),o.prototype.invalidate.call(this,r)},i.resetTo=function(r,n,s,a,l){rn||Wt.wake(),this._ts||this.play();var u=Math.min(this._dur,(this._dp._time-this._start)*this._ts),c;return this._initted||Vs(this,u),c=this._ease(u/this._dur),eu(this,r,n,s,a,c,u,l)?this.resetTo(r,n,s,a,1):($n(this,0),this.parent||oa(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},i.kill=function(r,n){if(n===void 0&&(n="all"),!r&&(!n||n==="all"))return this._lazy=this._pt=0,this.parent?Dr(this):this.scrollTrigger&&this.scrollTrigger.kill(!!ct),this;if(this.timeline){var s=this.timeline.totalDuration();return this.timeline.killTweensOf(r,n,Pi&&Pi.vars.overwrite!==!0)._first||Dr(this),this.parent&&s!==this.timeline.totalDuration()&&Tr(this,this._dur*this.timeline._tDur/s,0,1),this}var a=this._targets,l=r?Jt(r):a,u=this._ptLookup,c=this._pt,d,h,f,_,p,v,C;if((!n||n==="all")&&Ml(a,l))return n==="all"&&(this._pt=0),Dr(this);for(d=this._op=this._op||[],n!=="all"&&(it(n)&&(p={},Rt(n,function(b){return p[b]=1}),n=p),n=tu(a,n)),C=a.length;C--;)if(~l.indexOf(a[C])){h=u[C],n==="all"?(d[C]=n,_=h,f={}):(f=d[C]=d[C]||{},_=n);for(p in _)v=h&&h[p],v&&((!("kill"in v.d)||v.d.kill(p)===!0)&&Un(this,v,"_pt"),delete h[p]),f!=="all"&&(f[p]=1)}return this._initted&&!this._pt&&c&&Dr(this),this},e.to=function(r,n){return new e(r,n,arguments[2])},e.from=function(r,n){return Br(1,arguments)},e.delayedCall=function(r,n,s,a){return new e(n,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:r,onComplete:n,onReverseComplete:n,onCompleteParams:s,onReverseCompleteParams:s,callbackScope:a})},e.fromTo=function(r,n,s){return Br(2,arguments)},e.set=function(r,n){return n.duration=0,n.repeatDelay||(n.repeat=0),new e(r,n)},e.killTweensOf=function(r,n,s){return Ie.killTweensOf(r,n,s)},e}(nn);qt(qe.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});Rt("staggerTo,staggerFrom,staggerFromTo",function(o){qe[o]=function(){var e=new Ot,i=_s.call(arguments,0);return i.splice(o==="staggerFromTo"?5:4,0,0),e[o].apply(e,i)}});var Us=function(e,i,t){return e[i]=t},ka=function(e,i,t){return e[i](t)},ru=function(e,i,t,r){return e[i](r.fp,t)},nu=function(e,i,t){return e.setAttribute(i,t)},qs=function(e,i){return Be(e[i])?ka:zs(e[i])&&e.setAttribute?nu:Us},Pa=function(e,i){return i.set(i.t,i.p,Math.round((i.s+i.c*e)*1e6)/1e6,i)},su=function(e,i){return i.set(i.t,i.p,!!(i.s+i.c*e),i)},Oa=function(e,i){var t=i._pt,r="";if(!e&&i.b)r=i.b;else if(e===1&&i.e)r=i.e;else{for(;t;)r=t.p+(t.m?t.m(t.s+t.c*e):Math.round((t.s+t.c*e)*1e4)/1e4)+r,t=t._next;r+=i.c}i.set(i.t,i.p,r,i)},$s=function(e,i){for(var t=i._pt;t;)t.r(e,t.d),t=t._next},ou=function(e,i,t,r){for(var n=this._pt,s;n;)s=n._next,n.p===r&&n.modifier(e,i,t),n=s},au=function(e){for(var i=this._pt,t,r;i;)r=i._next,i.p===e&&!i.op||i.op===e?Un(this,i,"_pt"):i.dep||(t=1),i=r;return!t},lu=function(e,i,t,r){r.mSet(e,i,r.m.call(r.tween,t,r.mt),r)},Ma=function(e){for(var i=e._pt,t,r,n,s;i;){for(t=i._next,r=n;r&&r.pr>i.pr;)r=r._next;(i._prev=r?r._prev:s)?i._prev._next=i:n=i,(i._next=r)?r._prev=i:s=i,i=t}e._pt=n},At=function(){function o(i,t,r,n,s,a,l,u,c){this.t=t,this.s=n,this.c=s,this.p=r,this.r=a||Pa,this.d=l||this,this.set=u||Us,this.pr=c||0,this._next=i,i&&(i._prev=this)}var e=o.prototype;return e.modifier=function(t,r,n){this.mSet=this.mSet||this.set,this.set=lu,this.m=t,this.mt=n,this.tween=r},o}();Rt(Ws+"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,easeReverse",function(o){return Hs[o]=1});Ut.TweenMax=Ut.TweenLite=qe;Ut.TimelineLite=Ut.TimelineMax=Ot;Ie=new Ot({sortChildren:!1,defaults:Zr,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0});Vt.stringFilter=ba;var Zi=[],kn={},uu=[],_o=0,cu=0,ts=function(e){return(kn[e]||uu).map(function(i){return i()})},xs=function(){var e=Date.now(),i=[];e-_o>2&&(ts("matchMediaInit"),Zi.forEach(function(t){var r=t.queries,n=t.conditions,s,a,l,u;for(a in r)s=ci.matchMedia(r[a]).matches,s&&(l=1),s!==n[a]&&(n[a]=s,u=1);u&&(t.revert(),l&&i.push(t))}),ts("matchMediaRevert"),i.forEach(function(t){return t.onMatch(t,function(r){return t.add(null,r)})}),_o=e,ts("matchMedia"))},Ra=function(){function o(i,t){this.selector=t&&gs(t),this.data=[],this._r=[],this.isReverted=!1,this.id=cu++,i&&this.add(i)}var e=o.prototype;return e.add=function(t,r,n){Be(t)&&(n=r,r=t,t=Be);var s=this,a=function(){var u=Ae,c=s.selector,d;return u&&u!==s&&u.data.push(s),n&&(s.selector=gs(n)),Ae=s,d=r.apply(s,arguments),Be(d)&&s._r.push(d),Ae=u,s.selector=c,s.isReverted=!1,d};return s.last=a,t===Be?a(s,function(l){return s.add(null,l)}):t?s[t]=a:a},e.ignore=function(t){var r=Ae;Ae=null,t(this),Ae=r},e.getTweens=function(){var t=[];return this.data.forEach(function(r){return r instanceof o?t.push.apply(t,r.getTweens()):r instanceof qe&&!(r.parent&&r.parent.data==="nested")&&t.push(r)}),t},e.clear=function(){this._r.length=this.data.length=0},e.kill=function(t,r){var n=this;if(t?function(){for(var a=n.getTweens(),l=n.data.length,u;l--;)u=n.data[l],u.data==="isFlip"&&(u.revert(),u.getChildren(!0,!0,!1).forEach(function(c){return a.splice(a.indexOf(c),1)}));for(a.map(function(c){return{g:c._dur||c._delay||c._sat&&!c._sat.vars.immediateRender?c.globalTime(0):-1/0,t:c}}).sort(function(c,d){return d.g-c.g||-1/0}).forEach(function(c){return c.t.revert(t)}),l=n.data.length;l--;)u=n.data[l],u instanceof Ot?u.data!=="nested"&&(u.scrollTrigger&&u.scrollTrigger.revert(),u.kill()):!(u instanceof qe)&&u.revert&&u.revert(t);n._r.forEach(function(c){return c(t,n)}),n.isReverted=!0}():this.data.forEach(function(a){return a.kill&&a.kill()}),this.clear(),r)for(var s=Zi.length;s--;)Zi[s].id===this.id&&Zi.splice(s,1)},e.revert=function(t){this.kill(t||{})},o}(),fu=function(){function o(i){this.contexts=[],this.scope=i,Ae&&Ae.data.push(this)}var e=o.prototype;return e.add=function(t,r,n){gi(t)||(t={matches:t});var s=new Ra(0,n||this.scope),a=s.conditions={},l,u,c;Ae&&!s.selector&&(s.selector=Ae.selector),this.contexts.push(s),r=s.add("onMatch",r),s.queries=t;for(u in t)u==="all"?c=1:(l=ci.matchMedia(t[u]),l&&(Zi.indexOf(s)<0&&Zi.push(s),(a[u]=l.matches)&&(c=1),l.addListener?l.addListener(xs):l.addEventListener("change",xs)));return c&&r(s,function(d){return s.add(null,d)}),this},e.revert=function(t){this.kill(t||{})},e.kill=function(t){this.contexts.forEach(function(r){return r.kill(t,!0)})},o}(),Nn={registerPlugin:function(){for(var e=arguments.length,i=new Array(e),t=0;t1){var r=e.map(function(c){return Lt.quickSetter(c,i,t)}),n=r.length;return function(c){for(var d=n;d--;)r[d](c)}}e=e[0]||{};var s=Nt[i],a=ji(e),l=a.harness&&(a.harness.aliases||{})[i]||i,u=s?function(c){var d=new s;dr._pt=0,d.init(e,t?c+t:c,dr,0,[e]),d.render(1,d),dr._pt&&$s(1,dr)}:a.set(e,l);return s?u:function(c){return u(e,l,t?c+t:c,a,1)}},quickTo:function(e,i,t){var r,n=Lt.to(e,qt((r={},r[i]="+=0.1",r.paused=!0,r.stagger=0,r),t||{})),s=function(l,u,c){return n.resetTo(i,l,u,c)};return s.tween=n,s},isTweening:function(e){return Ie.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=Qi(e.ease,Zr.ease)),uo(Zr,e||{})},config:function(e){return uo(Vt,e||{})},registerEffect:function(e){var i=e.name,t=e.effect,r=e.plugins,n=e.defaults,s=e.extendTimeline;(r||"").split(",").forEach(function(a){return a&&!Nt[a]&&!Ut[a]&&Jr(i+" effect requires "+a+" plugin.")}),Qn[i]=function(a,l,u){return t(Jt(a),qt(l||{},n),u)},s&&(Ot.prototype[i]=function(a,l,u){return this.add(Qn[i](a,gi(l)?l:(u=l)&&{},this),u)})},registerEase:function(e,i){xe[e]=Qi(i)},parseEase:function(e,i){return arguments.length?Qi(e,i):xe},getById:function(e){return Ie.getById(e)},exportRoot:function(e,i){e===void 0&&(e={});var t=new Ot(e),r,n;for(t.smoothChildTiming=Mt(e.smoothChildTiming),Ie.remove(t),t._dp=0,t._time=t._tTime=Ie._time,r=Ie._first;r;)n=r._next,(i||!(!r._dur&&r instanceof qe&&r.vars.onComplete===r._targets[0]))&&hi(t,r,r._start-r._delay),r=n;return hi(Ie,t,0),t},context:function(e,i){return e?new Ra(e,i):Ae},matchMedia:function(e){return new fu(e)},matchMediaRefresh:function(){return Zi.forEach(function(e){var i=e.conditions,t,r;for(r in i)i[r]&&(i[r]=!1,t=1);t&&e.revert()})||xs()},addEventListener:function(e,i){var t=kn[e]||(kn[e]=[]);~t.indexOf(i)||t.push(i)},removeEventListener:function(e,i){var t=kn[e],r=t&&t.indexOf(i);r>=0&&t.splice(r,1)},utils:{wrap:Yl,wrapYoyo:Xl,distribute:ha,random:pa,snap:da,normalize:Bl,getUnit:mt,clamp:Il,splitColor:xa,toArray:Jt,selector:gs,mapRange:ga,pipe:Hl,unitize:Wl,interpolate:Vl,shuffle:fa},install:Jo,effects:Qn,ticker:Wt,updateRoot:Ot.updateRoot,plugins:Nt,globalTimeline:Ie,core:{PropTween:At,globals:ea,Tween:qe,Timeline:Ot,Animation:nn,getCache:ji,_removeLinkedListItem:Un,reverting:function(){return ct},context:function(e){return e&&Ae&&(Ae.data.push(e),e._ctx=Ae),Ae},suppressOverwrites:function(e){return Ls=e}}};Rt("to,from,fromTo,delayedCall,set,killTweensOf",function(o){return Nn[o]=qe[o]});Wt.add(Ot.updateRoot);dr=Nn.to({},{duration:0});var hu=function(e,i){for(var t=e._pt;t&&t.p!==i&&t.op!==i&&t.fp!==i;)t=t._next;return t},du=function(e,i){var t=e._targets,r,n,s;for(r in i)for(n=t.length;n--;)s=e._ptLookup[n][r],s&&(s=s.d)&&(s._pt&&(s=hu(s,r)),s&&s.modifier&&s.modifier(i[r],e,t[n],r))},is=function(e,i){return{name:e,headless:1,rawVars:1,init:function(r,n,s){s._onInit=function(a){var l,u;if(it(n)&&(l={},Rt(n,function(c){return l[c]=1}),n=l),i){l={};for(u in n)l[u]=i(n[u]);n=l}du(a,n)}}}},Lt=Nn.registerPlugin({name:"attr",init:function(e,i,t,r,n){var s,a,l;this.tween=t;for(s in i)l=e.getAttribute(s)||"",a=this.add(e,"setAttribute",(l||0)+"",i[s],r,n,0,0,s),a.op=s,a.b=l,this._props.push(s)},render:function(e,i){for(var t=i._pt;t;)ct?t.set(t.t,t.p,t.b,t):t.r(e,t.d),t=t._next}},{name:"endArray",headless:1,init:function(e,i){for(var t=i.length;t--;)this.add(e,t,e[t]||0,i[t],0,0,0,0,0,1)}},is("roundProps",ms),is("modifiers"),is("snap",da))||Nn;qe.version=Ot.version=Lt.version="3.15.0";Zo=1;Fs()&&Cr();xe.Power0;xe.Power1;xe.Power2;xe.Power3;xe.Power4;xe.Linear;xe.Quad;xe.Cubic;xe.Quart;xe.Quint;xe.Strong;xe.Elastic;xe.Back;xe.SteppedEase;xe.Bounce;xe.Sine;xe.Expo;xe.Circ;/*! * CSSPlugin 3.15.0 * https://gsap.com * * Copyright 2008-2026, GreenSock. All rights reserved. * Subject to the terms at https://gsap.com/standard-license * @author: Jack Doyle, jack@greensock.com */var go,Oi,gr,Gs,$i,mo,js,pu=function(){return typeof window<"u"},Si={},Vi=180/Math.PI,mr=Math.PI/180,or=Math.atan2,vo=1e8,Ks=/([A-Z])/g,_u=/(left|right|width|margin|padding|x)/i,gu=/[\s,\(]\S/,di={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},ys=function(e,i){return i.set(i.t,i.p,Math.round((i.s+i.c*e)*1e4)/1e4+i.u,i)},mu=function(e,i){return i.set(i.t,i.p,e===1?i.e:Math.round((i.s+i.c*e)*1e4)/1e4+i.u,i)},vu=function(e,i){return i.set(i.t,i.p,e?Math.round((i.s+i.c*e)*1e4)/1e4+i.u:i.b,i)},xu=function(e,i){return i.set(i.t,i.p,e===1?i.e:e?Math.round((i.s+i.c*e)*1e4)/1e4+i.u:i.b,i)},yu=function(e,i){var t=i.s+i.c*e;i.set(i.t,i.p,~~(t+(t<0?-.5:.5))+i.u,i)},Aa=function(e,i){return i.set(i.t,i.p,e?i.e:i.b,i)},Da=function(e,i){return i.set(i.t,i.p,e!==1?i.b:i.e,i)},bu=function(e,i,t){return e.style[i]=t},wu=function(e,i,t){return e.style.setProperty(i,t)},Su=function(e,i,t){return e._gsap[i]=t},Tu=function(e,i,t){return e._gsap.scaleX=e._gsap.scaleY=t},Cu=function(e,i,t,r,n){var s=e._gsap;s.scaleX=s.scaleY=t,s.renderTransform(n,s)},Eu=function(e,i,t,r,n){var s=e._gsap;s[i]=t,s.renderTransform(n,s)},Ne="transform",Dt=Ne+"Origin",ku=function o(e,i){var t=this,r=this.target,n=r.style,s=r._gsap;if(e in Si&&n){if(this.tfm=this.tfm||{},e!=="transform")e=di[e]||e,~e.indexOf(",")?e.split(",").forEach(function(a){return t.tfm[a]=vi(r,a)}):this.tfm[e]=s.x?s[e]:vi(r,e),e===Dt&&(this.tfm.zOrigin=s.zOrigin);else return di.transform.split(",").forEach(function(a){return o.call(t,a,i)});if(this.props.indexOf(Ne)>=0)return;s.svg&&(this.svgo=r.getAttribute("data-svg-origin"),this.props.push(Dt,i,"")),e=Ne}(n||i)&&this.props.push(e,i,n[e])},La=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},Pu=function(){var e=this.props,i=this.target,t=i.style,r=i._gsap,n,s;for(n=0;n=0?xo[s]:"")+e},ws=function(){pu()&&window.document&&(go=window,Oi=go.document,gr=Oi.documentElement,$i=bs("div")||{style:{}},bs("div"),Ne=Er(Ne),Dt=Ne+"Origin",$i.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",Fa=!!Er("perspective"),js=Lt.core.reverting,Gs=1)},yo=function(e){var i=e.ownerSVGElement,t=bs("svg",i&&i.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),r=e.cloneNode(!0),n;r.style.display="block",t.appendChild(r),gr.appendChild(t);try{n=r.getBBox()}catch{}return t.removeChild(r),gr.removeChild(t),n},bo=function(e,i){for(var t=i.length;t--;)if(e.hasAttribute(i[t]))return e.getAttribute(i[t])},Ia=function(e){var i,t;try{i=e.getBBox()}catch{i=yo(e),t=1}return i&&(i.width||i.height)||t||(i=yo(e)),i&&!i.width&&!i.x&&!i.y?{x:+bo(e,["x","cx","x1"])||0,y:+bo(e,["y","cy","y1"])||0,width:0,height:0}:i},Na=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&Ia(e))},Ii=function(e,i){if(i){var t=e.style,r;i in Si&&i!==Dt&&(i=Ne),t.removeProperty?(r=i.substr(0,2),(r==="ms"||i.substr(0,6)==="webkit")&&(i="-"+i),t.removeProperty(r==="--"?i:i.replace(Ks,"-$1").toLowerCase())):t.removeAttribute(i)}},Mi=function(e,i,t,r,n,s){var a=new At(e._pt,i,t,0,1,s?Da:Aa);return e._pt=a,a.b=r,a.e=n,e._props.push(t),a},wo={deg:1,rad:1,turn:1},Ou={grid:1,flex:1},Ni=function o(e,i,t,r){var n=parseFloat(t)||0,s=(t+"").trim().substr((n+"").length)||"px",a=$i.style,l=_u.test(i),u=e.tagName.toLowerCase()==="svg",c=(u?"client":"offset")+(l?"Width":"Height"),d=100,h=r==="px",f=r==="%",_,p,v,C;if(r===s||!n||wo[r]||wo[s])return n;if(s!=="px"&&!h&&(n=o(e,i,t,"px")),C=e.getCTM&&Na(e),(f||s==="%")&&(Si[i]||~i.indexOf("adius")))return _=C?e.getBBox()[l?"width":"height"]:e[c],Xe(f?n/_*d:n/100*_);if(a[l?"width":"height"]=d+(h?s:r),p=r!=="rem"&&~i.indexOf("adius")||r==="em"&&e.appendChild&&!u?e:e.parentNode,C&&(p=(e.ownerSVGElement||{}).parentNode),(!p||p===Oi||!p.appendChild)&&(p=Oi.body),v=p._gsap,v&&f&&v.width&&l&&v.time===Wt.time&&!v.uncache)return Xe(n/v.width*d);if(f&&(i==="height"||i==="width")){var b=e.style[i];e.style[i]=d+r,_=e[c],b?e.style[i]=b:Ii(e,i)}else(f||s==="%")&&!Ou[Xt(p,"display")]&&(a.position=Xt(e,"position")),p===e&&(a.position="static"),p.appendChild($i),_=$i[c],p.removeChild($i),a.position="absolute";return l&&f&&(v=ji(p),v.time=Wt.time,v.width=p[c]),Xe(h?_*n/d:_&&n?d/_*n:0)},vi=function(e,i,t,r){var n;return Gs||ws(),i in di&&i!=="transform"&&(i=di[i],~i.indexOf(",")&&(i=i.split(",")[0])),Si[i]&&i!=="transform"?(n=on(e,r),n=i!=="transformOrigin"?n[i]:n.svg?n.origin:Wn(Xt(e,Dt))+" "+n.zOrigin+"px"):(n=e.style[i],(!n||n==="auto"||r||~(n+"").indexOf("calc("))&&(n=Hn[i]&&Hn[i](e,i,t)||Xt(e,i)||ia(e,i)||(i==="opacity"?1:0))),t&&!~(n+"").trim().indexOf(" ")?Ni(e,i,n,t)+t:n},Mu=function(e,i,t,r){if(!t||t==="none"){var n=Er(i,e,1),s=n&&Xt(e,n,1);s&&s!==t?(i=n,t=s):i==="borderColor"&&(t=Xt(e,"borderTopColor"))}var a=new At(this._pt,e.style,i,0,1,Oa),l=0,u=0,c,d,h,f,_,p,v,C,b,k,w,P;if(a.b=t,a.e=r,t+="",r+="",r.substring(0,6)==="var(--"&&(r=Xt(e,r.substring(4,r.indexOf(")")))),r==="auto"&&(p=e.style[i],e.style[i]=r,r=Xt(e,i)||r,p?e.style[i]=p:Ii(e,i)),c=[t,r],ba(c),t=c[0],r=c[1],h=t.match(hr)||[],P=r.match(hr)||[],P.length){for(;d=hr.exec(r);)v=d[0],b=r.substring(l,d.index),_?_=(_+1)%5:(b.substr(-5)==="rgba("||b.substr(-5)==="hsla(")&&(_=1),v!==(p=h[u++]||"")&&(f=parseFloat(p)||0,w=p.substr((f+"").length),v.charAt(1)==="="&&(v=_r(f,v)+w),C=parseFloat(v),k=v.substr((C+"").length),l=hr.lastIndex-k.length,k||(k=k||Vt.units[i]||w,l===r.length&&(r+=k,a.e+=k)),w!==k&&(f=Ni(e,i,p,k)||0),a._pt={_next:a._pt,p:b||u===1?b:",",s:f,c:C-f,m:_&&_<4||i==="zIndex"?Math.round:0});a.c=l-1;)a=n[u],Si[a]&&(l=1,a=a==="transformOrigin"?Dt:Ne),Ii(t,a);l&&(Ii(t,Ne),s&&(s.svg&&t.removeAttribute("transform"),r.scale=r.rotate=r.translate="none",on(t,1),s.uncache=1,La(r)))}},Hn={clearProps:function(e,i,t,r,n){if(n.data!=="isFromStart"){var s=e._pt=new At(e._pt,i,t,0,0,Au);return s.u=r,s.pr=-10,s.tween=n,e._props.push(t),1}}},sn=[1,0,0,1,0,0],Ha={},Wa=function(e){return e==="matrix(1, 0, 0, 1, 0, 0)"||e==="none"||!e},To=function(e){var i=Xt(e,Ne);return Wa(i)?sn:i.substr(7).match(Ko).map(Xe)},Qs=function(e,i){var t=e._gsap||ji(e),r=e.style,n=To(e),s,a,l,u;return t.svg&&e.getAttribute("transform")?(l=e.transform.baseVal.consolidate().matrix,n=[l.a,l.b,l.c,l.d,l.e,l.f],n.join(",")==="1,0,0,1,0,0"?sn:n):(n===sn&&!e.offsetParent&&e!==gr&&!t.svg&&(l=r.display,r.display="block",s=e.parentNode,(!s||!e.offsetParent&&!e.getBoundingClientRect().width)&&(u=1,a=e.nextElementSibling,gr.appendChild(e)),n=To(e),l?r.display=l:Ii(e,"display"),u&&(a?s.insertBefore(e,a):s?s.appendChild(e):gr.removeChild(e))),i&&n.length>6?[n[0],n[1],n[4],n[5],n[12],n[13]]:n)},Ss=function(e,i,t,r,n,s){var a=e._gsap,l=n||Qs(e,!0),u=a.xOrigin||0,c=a.yOrigin||0,d=a.xOffset||0,h=a.yOffset||0,f=l[0],_=l[1],p=l[2],v=l[3],C=l[4],b=l[5],k=i.split(" "),w=parseFloat(k[0])||0,P=parseFloat(k[1])||0,F,E,N,z;t?l!==sn&&(E=f*v-_*p)&&(N=w*(v/E)+P*(-p/E)+(p*b-v*C)/E,z=w*(-_/E)+P*(f/E)-(f*b-_*C)/E,w=N,P=z):(F=Ia(e),w=F.x+(~k[0].indexOf("%")?w/100*F.width:w),P=F.y+(~(k[1]||k[0]).indexOf("%")?P/100*F.height:P)),r||r!==!1&&a.smooth?(C=w-u,b=P-c,a.xOffset=d+(C*f+b*p)-C,a.yOffset=h+(C*_+b*v)-b):a.xOffset=a.yOffset=0,a.xOrigin=w,a.yOrigin=P,a.smooth=!!r,a.origin=i,a.originIsAbsolute=!!t,e.style[Dt]="0px 0px",s&&(Mi(s,a,"xOrigin",u,w),Mi(s,a,"yOrigin",c,P),Mi(s,a,"xOffset",d,a.xOffset),Mi(s,a,"yOffset",h,a.yOffset)),e.setAttribute("data-svg-origin",w+" "+P)},on=function(e,i){var t=e._gsap||new Sa(e);if("x"in t&&!i&&!t.uncache)return t;var r=e.style,n=t.scaleX<0,s="px",a="deg",l=getComputedStyle(e),u=Xt(e,Dt)||"0",c,d,h,f,_,p,v,C,b,k,w,P,F,E,N,z,D,oe,X,le,re,ge,_e,Z,me,we,x,Ce,rt,yt,Oe,$e;return c=d=h=p=v=C=b=k=w=0,f=_=1,t.svg=!!(e.getCTM&&Na(e)),l.translate&&((l.translate!=="none"||l.scale!=="none"||l.rotate!=="none")&&(r[Ne]=(l.translate!=="none"?"translate3d("+(l.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(l.rotate!=="none"?"rotate("+l.rotate+") ":"")+(l.scale!=="none"?"scale("+l.scale.split(" ").join(",")+") ":"")+(l[Ne]!=="none"?l[Ne]:"")),r.scale=r.rotate=r.translate="none"),E=Qs(e,t.svg),t.svg&&(t.uncache?(me=e.getBBox(),u=t.xOrigin-me.x+"px "+(t.yOrigin-me.y)+"px",Z=""):Z=!i&&e.getAttribute("data-svg-origin"),Ss(e,Z||u,!!Z||t.originIsAbsolute,t.smooth!==!1,E)),P=t.xOrigin||0,F=t.yOrigin||0,E!==sn&&(oe=E[0],X=E[1],le=E[2],re=E[3],c=ge=E[4],d=_e=E[5],E.length===6?(f=Math.sqrt(oe*oe+X*X),_=Math.sqrt(re*re+le*le),p=oe||X?or(X,oe)*Vi:0,b=le||re?or(le,re)*Vi+p:0,b&&(_*=Math.abs(Math.cos(b*mr))),t.svg&&(c-=P-(P*oe+F*le),d-=F-(P*X+F*re))):($e=E[6],yt=E[7],x=E[8],Ce=E[9],rt=E[10],Oe=E[11],c=E[12],d=E[13],h=E[14],N=or($e,rt),v=N*Vi,N&&(z=Math.cos(-N),D=Math.sin(-N),Z=ge*z+x*D,me=_e*z+Ce*D,we=$e*z+rt*D,x=ge*-D+x*z,Ce=_e*-D+Ce*z,rt=$e*-D+rt*z,Oe=yt*-D+Oe*z,ge=Z,_e=me,$e=we),N=or(-le,rt),C=N*Vi,N&&(z=Math.cos(-N),D=Math.sin(-N),Z=oe*z-x*D,me=X*z-Ce*D,we=le*z-rt*D,Oe=re*D+Oe*z,oe=Z,X=me,le=we),N=or(X,oe),p=N*Vi,N&&(z=Math.cos(N),D=Math.sin(N),Z=oe*z+X*D,me=ge*z+_e*D,X=X*z-oe*D,_e=_e*z-ge*D,oe=Z,ge=me),v&&Math.abs(v)+Math.abs(p)>359.9&&(v=p=0,C=180-C),f=Xe(Math.sqrt(oe*oe+X*X+le*le)),_=Xe(Math.sqrt(_e*_e+$e*$e)),N=or(ge,_e),b=Math.abs(N)>2e-4?N*Vi:0,w=Oe?1/(Oe<0?-Oe:Oe):0),t.svg&&(Z=e.getAttribute("transform"),t.forceCSS=e.setAttribute("transform","")||!Wa(Xt(e,Ne)),Z&&e.setAttribute("transform",Z))),Math.abs(b)>90&&Math.abs(b)<270&&(n?(f*=-1,b+=p<=0?180:-180,p+=p<=0?180:-180):(_*=-1,b+=b<=0?180:-180)),i=i||t.uncache,t.x=c-((t.xPercent=c&&(!i&&t.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-c)?-50:0)))?e.offsetWidth*t.xPercent/100:0)+s,t.y=d-((t.yPercent=d&&(!i&&t.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-d)?-50:0)))?e.offsetHeight*t.yPercent/100:0)+s,t.z=h+s,t.scaleX=Xe(f),t.scaleY=Xe(_),t.rotation=Xe(p)+a,t.rotationX=Xe(v)+a,t.rotationY=Xe(C)+a,t.skewX=b+a,t.skewY=k+a,t.transformPerspective=w+s,(t.zOrigin=parseFloat(u.split(" ")[2])||!i&&t.zOrigin||0)&&(r[Dt]=Wn(u)),t.xOffset=t.yOffset=0,t.force3D=Vt.force3D,t.renderTransform=t.svg?Lu:Fa?Ba:Du,t.uncache=0,t},Wn=function(e){return(e=e.split(" "))[0]+" "+e[1]},rs=function(e,i,t){var r=mt(i);return Xe(parseFloat(i)+parseFloat(Ni(e,"x",t+"px",r)))+r},Du=function(e,i){i.z="0px",i.rotationY=i.rotationX="0deg",i.force3D=0,Ba(e,i)},Yi="0deg",Mr="0px",Xi=") ",Ba=function(e,i){var t=i||this,r=t.xPercent,n=t.yPercent,s=t.x,a=t.y,l=t.z,u=t.rotation,c=t.rotationY,d=t.rotationX,h=t.skewX,f=t.skewY,_=t.scaleX,p=t.scaleY,v=t.transformPerspective,C=t.force3D,b=t.target,k=t.zOrigin,w="",P=C==="auto"&&e&&e!==1||C===!0;if(k&&(d!==Yi||c!==Yi)){var F=parseFloat(c)*mr,E=Math.sin(F),N=Math.cos(F),z;F=parseFloat(d)*mr,z=Math.cos(F),s=rs(b,s,E*z*-k),a=rs(b,a,-Math.sin(F)*-k),l=rs(b,l,N*z*-k+k)}v!==Mr&&(w+="perspective("+v+Xi),(r||n)&&(w+="translate("+r+"%, "+n+"%) "),(P||s!==Mr||a!==Mr||l!==Mr)&&(w+=l!==Mr||P?"translate3d("+s+", "+a+", "+l+") ":"translate("+s+", "+a+Xi),u!==Yi&&(w+="rotate("+u+Xi),c!==Yi&&(w+="rotateY("+c+Xi),d!==Yi&&(w+="rotateX("+d+Xi),(h!==Yi||f!==Yi)&&(w+="skew("+h+", "+f+Xi),(_!==1||p!==1)&&(w+="scale("+_+", "+p+Xi),b.style[Ne]=w||"translate(0, 0)"},Lu=function(e,i){var t=i||this,r=t.xPercent,n=t.yPercent,s=t.x,a=t.y,l=t.rotation,u=t.skewX,c=t.skewY,d=t.scaleX,h=t.scaleY,f=t.target,_=t.xOrigin,p=t.yOrigin,v=t.xOffset,C=t.yOffset,b=t.forceCSS,k=parseFloat(s),w=parseFloat(a),P,F,E,N,z;l=parseFloat(l),u=parseFloat(u),c=parseFloat(c),c&&(c=parseFloat(c),u+=c,l+=c),l||u?(l*=mr,u*=mr,P=Math.cos(l)*d,F=Math.sin(l)*d,E=Math.sin(l-u)*-h,N=Math.cos(l-u)*h,u&&(c*=mr,z=Math.tan(u-c),z=Math.sqrt(1+z*z),E*=z,N*=z,c&&(z=Math.tan(c),z=Math.sqrt(1+z*z),P*=z,F*=z)),P=Xe(P),F=Xe(F),E=Xe(E),N=Xe(N)):(P=d,N=h,F=E=0),(k&&!~(s+"").indexOf("px")||w&&!~(a+"").indexOf("px"))&&(k=Ni(f,"x",s,"px"),w=Ni(f,"y",a,"px")),(_||p||v||C)&&(k=Xe(k+_-(_*P+p*E)+v),w=Xe(w+p-(_*F+p*N)+C)),(r||n)&&(z=f.getBBox(),k=Xe(k+r/100*z.width),w=Xe(w+n/100*z.height)),z="matrix("+P+","+F+","+E+","+N+","+k+","+w+")",f.setAttribute("transform",z),b&&(f.style[Ne]=z)},zu=function(e,i,t,r,n){var s=360,a=it(n),l=parseFloat(n)*(a&&~n.indexOf("rad")?Vi:1),u=l-r,c=r+u+"deg",d,h;return a&&(d=n.split("_")[1],d==="short"&&(u%=s,u!==u%(s/2)&&(u+=u<0?s:-s)),d==="cw"&&u<0?u=(u+s*vo)%s-~~(u/s)*s:d==="ccw"&&u>0&&(u=(u-s*vo)%s-~~(u/s)*s)),e._pt=h=new At(e._pt,i,t,r,u,mu),h.e=c,h.u="deg",e._props.push(t),h},Co=function(e,i){for(var t in i)e[t]=i[t];return e},Fu=function(e,i,t){var r=Co({},t._gsap),n="perspective,force3D,transformOrigin,svgOrigin",s=t.style,a,l,u,c,d,h,f,_;r.svg?(u=t.getAttribute("transform"),t.setAttribute("transform",""),s[Ne]=i,a=on(t,1),Ii(t,Ne),t.setAttribute("transform",u)):(u=getComputedStyle(t)[Ne],s[Ne]=i,a=on(t,1),s[Ne]=u);for(l in Si)u=r[l],c=a[l],u!==c&&n.indexOf(l)<0&&(f=mt(u),_=mt(c),d=f!==_?Ni(t,l,u,_):parseFloat(u),h=parseFloat(c),e._pt=new At(e._pt,a,l,d,h-d,ys),e._pt.u=_||0,e._props.push(l));Co(a,r)};Rt("padding,margin,Width,Radius",function(o,e){var i="Top",t="Right",r="Bottom",n="Left",s=(e<3?[i,t,r,n]:[i+n,i+t,r+t,r+n]).map(function(a){return e<2?o+a:"border"+a+o});Hn[e>1?"border"+o:o]=function(a,l,u,c,d){var h,f;if(arguments.length<4)return h=s.map(function(_){return vi(a,_,u)}),f=h.join(" "),f.split(h[0]).length===5?h[0]:f;h=(c+"").split(" "),f={},s.forEach(function(_,p){return f[_]=h[p]=h[p]||h[(p-1)/2|0]}),a.init(l,f,d)}});var Ya={name:"css",register:ws,targetTest:function(e){return e.style&&e.nodeType},init:function(e,i,t,r,n){var s=this._props,a=e.style,l=t.vars.startAt,u,c,d,h,f,_,p,v,C,b,k,w,P,F,E,N,z;Gs||ws(),this.styles=this.styles||za(e),N=this.styles.props,this.tween=t;for(p in i)if(p!=="autoRound"&&(c=i[p],!(Nt[p]&&Ta(p,i,t,r,e,n)))){if(f=typeof c,_=Hn[p],f==="function"&&(c=c.call(t,r,e,n),f=typeof c),f==="string"&&~c.indexOf("random(")&&(c=tn(c)),_)_(this,e,p,c,t)&&(E=1);else if(p.substr(0,2)==="--")u=(getComputedStyle(e).getPropertyValue(p)+"").trim(),c+="",Li.lastIndex=0,Li.test(u)||(v=mt(u),C=mt(c),C?v!==C&&(u=Ni(e,p,u,C)+C):v&&(c+=v)),this.add(a,"setProperty",u,c,r,n,0,0,p),s.push(p),N.push(p,0,a[p]);else if(f!=="undefined"){if(l&&p in l?(u=typeof l[p]=="function"?l[p].call(t,r,e,n):l[p],it(u)&&~u.indexOf("random(")&&(u=tn(u)),mt(u+"")||u==="auto"||(u+=Vt.units[p]||mt(vi(e,p))||""),(u+"").charAt(1)==="="&&(u=vi(e,p))):u=vi(e,p),h=parseFloat(u),b=f==="string"&&c.charAt(1)==="="&&c.substr(0,2),b&&(c=c.substr(2)),d=parseFloat(c),p in di&&(p==="autoAlpha"&&(h===1&&vi(e,"visibility")==="hidden"&&d&&(h=0),N.push("visibility",0,a.visibility),Mi(this,a,"visibility",h?"inherit":"hidden",d?"inherit":"hidden",!d)),p!=="scale"&&p!=="transform"&&(p=di[p],~p.indexOf(",")&&(p=p.split(",")[0]))),k=p in Si,k){if(this.styles.save(p),z=c,f==="string"&&c.substring(0,6)==="var(--"){if(c=Xt(e,c.substring(4,c.indexOf(")"))),c.substring(0,5)==="calc("){var D=e.style.perspective;e.style.perspective=c,c=Xt(e,"perspective"),D?e.style.perspective=D:Ii(e,"perspective")}d=parseFloat(c)}if(w||(P=e._gsap,P.renderTransform&&!i.parseTransform||on(e,i.parseTransform),F=i.smoothOrigin!==!1&&P.smooth,w=this._pt=new At(this._pt,a,Ne,0,1,P.renderTransform,P,0,-1),w.dep=1),p==="scale")this._pt=new At(this._pt,P,"scaleY",P.scaleY,(b?_r(P.scaleY,b+d):d)-P.scaleY||0,ys),this._pt.u=0,s.push("scaleY",p),p+="X";else if(p==="transformOrigin"){N.push(Dt,0,a[Dt]),c=Ru(c),P.svg?Ss(e,c,0,F,0,this):(C=parseFloat(c.split(" ")[2])||0,C!==P.zOrigin&&Mi(this,P,"zOrigin",P.zOrigin,C),Mi(this,a,p,Wn(u),Wn(c)));continue}else if(p==="svgOrigin"){Ss(e,c,1,F,0,this);continue}else if(p in Ha){zu(this,P,p,h,b?_r(h,b+c):c);continue}else if(p==="smoothOrigin"){Mi(this,P,"smooth",P.smooth,c);continue}else if(p==="force3D"){P[p]=c;continue}else if(p==="transform"){Fu(this,c,e);continue}}else p in a||(p=Er(p)||p);if(k||(d||d===0)&&(h||h===0)&&!gu.test(c)&&p in a)v=(u+"").substr((h+"").length),d||(d=0),C=mt(c)||(p in Vt.units?Vt.units[p]:v),v!==C&&(h=Ni(e,p,u,C)),this._pt=new At(this._pt,k?P:a,p,h,(b?_r(h,b+d):d)-h,!k&&(C==="px"||p==="zIndex")&&i.autoRound!==!1?yu:ys),this._pt.u=C||0,k&&z!==c?(this._pt.b=u,this._pt.e=z,this._pt.r=xu):v!==C&&C!=="%"&&(this._pt.b=u,this._pt.r=vu);else if(p in a)Mu.call(this,e,p,u,b?b+c:c);else if(p in e)this.add(e,p,u||e[p],b?b+c:c,r,n);else if(p!=="parseTransform"){Ns(p,c);continue}k||(p in a?N.push(p,0,a[p]):typeof e[p]=="function"?N.push(p,2,e[p]()):N.push(p,1,u||e[p])),s.push(p)}}E&&Ma(this)},render:function(e,i){if(i.tween._time||!js())for(var t=i._pt;t;)t.r(e,t.d),t=t._next;else i.styles.revert()},get:vi,aliases:di,getSetter:function(e,i,t){var r=di[i];return r&&r.indexOf(",")<0&&(i=r),i in Si&&i!==Dt&&(e._gsap.x||vi(e,"x"))?t&&mo===t?i==="scale"?Tu:Su:(mo=t||{})&&(i==="scale"?Cu:Eu):e.style&&!zs(e.style[i])?bu:~i.indexOf("-")?wu:qs(e,i)},core:{_removeProperty:Ii,_getMatrix:Qs}};Lt.utils.checkPrefix=Er;Lt.core.getStyleSaver=za;(function(o,e,i,t){var r=Rt(o+","+e+","+i,function(n){Si[n]=1});Rt(e,function(n){Vt.units[n]="deg",Ha[n]=1}),di[r[13]]=o+","+e,Rt(t,function(n){var s=n.split(":");di[s[1]]=r[s[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");Rt("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(o){Vt.units[o]="px"});Lt.registerPlugin(Ya);var ki=Lt.registerPlugin(Ya)||Lt;ki.core.Tween;function Iu(o,e){for(var i=0;il?(n=r,r=_,a=s,s=v):t?r+=_:r=n+(_-n)/(v-a)*(s-a)},d=function(){n=r=t?0:r,a=s=0},h=function(_){var p=a,v=n,C=Xr();return(_||_===0)&&_!==r&&c(_),s===a||C-a>u?0:(r+(t?v:-v))/((t?C:s)-p)*1e3};return{update:c,reset:d,getVelocity:h}},Rr=function(e,i){return i&&!e._gsapAllow&&e.cancelable!==!1&&e.preventDefault(),e.changedTouches?e.changedTouches[0]:e},Eo=function(e){var i=Math.max.apply(Math,e),t=Math.min.apply(Math,e);return Math.abs(i)>=Math.abs(t)?i:t},Ga=function(){xr=ut.core.globals().ScrollTrigger,xr&&xr.core&&Hu()},ja=function(e){return ut=e||qa(),!Pn&&ut&&typeof document<"u"&&document.body&&(Bt=window,Ri=document,Ai=Ri.documentElement,vr=Ri.body,Va=[Bt,Ri,Ai,vr],ut.utils.clamp,Ua=ut.core.context||function(){},Ui="onpointerenter"in vr?"pointer":"mouse",Xa=Ve.isTouch=Bt.matchMedia&&Bt.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in Bt||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,ri=Ve.eventTypes=("ontouchstart"in Ai?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in Ai?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout(function(){return $a=0},500),Pn=1),xr||Ga(),Pn};kt.op=Ke;pe.cache=0;var Ve=function(){function o(i){this.init(i)}var e=o.prototype;return e.init=function(t){Pn||ja(ut)||console.warn("Please gsap.registerPlugin(Observer)"),xr||Ga();var r=t.tolerance,n=t.dragMinimum,s=t.type,a=t.target,l=t.lineHeight,u=t.debounce,c=t.preventDefault,d=t.onStop,h=t.onStopDelay,f=t.ignore,_=t.wheelSpeed,p=t.event,v=t.onDragStart,C=t.onDragEnd,b=t.onDrag,k=t.onPress,w=t.onRelease,P=t.onRight,F=t.onLeft,E=t.onUp,N=t.onDown,z=t.onChangeX,D=t.onChangeY,oe=t.onChange,X=t.onToggleX,le=t.onToggleY,re=t.onHover,ge=t.onHoverEnd,_e=t.onMove,Z=t.ignoreCheck,me=t.isNormalizer,we=t.onGestureStart,x=t.onGestureEnd,Ce=t.onWheel,rt=t.onEnable,yt=t.onDisable,Oe=t.onClick,$e=t.scrollSpeed,Qe=t.capture,De=t.allowClicks,nt=t.lockAxis,Ze=t.onLockAxis;this.target=a=Pt(a)||Ai,this.vars=t,f&&(f=ut.utils.toArray(f)),r=r||1e-9,n=n||0,_=_||1,$e=$e||1,s=s||"wheel,touch,pointer",u=u!==!1,l||(l=parseFloat(Bt.getComputedStyle(vr).lineHeight)||22);var ni,st,Je,ve,Le,ft,ot,S=this,bt=0,$t=0,si=t.passive||!c&&t.passive!==!1,Me=Hi(a,kt),ti=Hi(a,Ke),Gt=Me(),oi=ti(),g=~s.indexOf("touch")&&!~s.indexOf("pointer")&&ri[0]==="pointerdown",m=Vr(a),T=a.ownerDocument||Ri,y=[0,0,0],M=[0,0,0],I=0,A=function(){return I=Xr()},O=function(B,ae){return(S.event=B)&&f&&Wu(B.target,f)||ae&&g&&B.pointerType!=="touch"||Z&&Z(B,ae)},L=function(){S._vx.reset(),S._vy.reset(),st.pause(),d&&d(S)},q=function(){var B=S.deltaX=Eo(y),ae=S.deltaY=Eo(M),H=Math.abs(B)>=r,te=Math.abs(ae)>=r;oe&&(H||te)&&oe(S,B,ae,y,M),H&&(P&&S.deltaX>0&&P(S),F&&S.deltaX<0&&F(S),z&&z(S),X&&S.deltaX<0!=bt<0&&X(S),bt=S.deltaX,y[0]=y[1]=y[2]=0),te&&(N&&S.deltaY>0&&N(S),E&&S.deltaY<0&&E(S),D&&D(S),le&&S.deltaY<0!=$t<0&&le(S),$t=S.deltaY,M[0]=M[1]=M[2]=0),(ve||Je)&&(_e&&_e(S),Je&&(v&&Je===1&&v(S),b&&b(S),Je=0),ve=!1),ft&&!(ft=!1)&&Ze&&Ze(S),Le&&(Ce(S),Le=!1),ni=0},R=function(B,ae,H){y[H]+=B,M[H]+=ae,S._vx.update(B),S._vy.update(ae),u?ni||(ni=requestAnimationFrame(q)):q()},Y=function(B,ae){nt&&!ot&&(S.axis=ot=Math.abs(B)>Math.abs(ae)?"x":"y",ft=!0),ot!=="y"&&(y[2]+=B,S._vx.update(B,!0)),ot!=="x"&&(M[2]+=ae,S._vy.update(ae,!0)),u?ni||(ni=requestAnimationFrame(q)):q()},V=function(B){if(!O(B,1)){B=Rr(B,c);var ae=B.clientX,H=B.clientY,te=ae-S.x,j=H-S.y,ie=S.isDragging;S.x=ae,S.y=H,(ie||(te||j)&&(Math.abs(S.startX-ae)>=n||Math.abs(S.startY-H)>=n))&&(Je||(Je=ie?2:1),ie||(S.isDragging=!0),Y(te,j))}},Q=S.onPress=function(K){O(K,1)||K&&K.button||(S.axis=ot=null,st.pause(),S.isPressed=!0,K=Rr(K),bt=$t=0,S.startX=S.x=K.clientX,S.startY=S.y=K.clientY,S._vx.reset(),S._vy.reset(),St(me?a:T,ri[1],V,si,!0),S.deltaX=S.deltaY=0,k&&k(S))},W=S.onRelease=function(K){if(!O(K,1)){wt(me?a:T,ri[1],V,!0);var B=!isNaN(S.y-S.startY),ae=S.isDragging,H=ae&&(Math.abs(S.x-S.startX)>3||Math.abs(S.y-S.startY)>3),te=Rr(K);!H&&B&&(S._vx.reset(),S._vy.reset(),c&&De&&ut.delayedCall(.08,function(){if(Xr()-I>300&&!K.defaultPrevented){if(K.target.click)K.target.click();else if(T.createEvent){var j=T.createEvent("MouseEvents");j.initMouseEvent("click",!0,!0,Bt,1,te.screenX,te.screenY,te.clientX,te.clientY,!1,!1,!1,!1,0,null),K.target.dispatchEvent(j)}}})),S.isDragging=S.isGesturing=S.isPressed=!1,d&&ae&&!me&&st.restart(!0),Je&&q(),C&&ae&&C(S),w&&w(S,H)}},ne=function(B){return B.touches&&B.touches.length>1&&(S.isGesturing=!0)&&we(B,S.isDragging)},J=function(){return(S.isGesturing=!1)||x(S)},U=function(B){if(!O(B)){var ae=Me(),H=ti();R((ae-Gt)*$e,(H-oi)*$e,1),Gt=ae,oi=H,d&&st.restart(!0)}},ee=function(B){if(!O(B)){B=Rr(B,c),Ce&&(Le=!0);var ae=(B.deltaMode===1?l:B.deltaMode===2?Bt.innerHeight:1)*_;R(B.deltaX*ae,B.deltaY*ae,0),d&&!me&&st.restart(!0)}},ye=function(B){if(!O(B)){var ae=B.clientX,H=B.clientY,te=ae-S.x,j=H-S.y;S.x=ae,S.y=H,ve=!0,d&&st.restart(!0),(te||j)&&Y(te,j)}},se=function(B){S.event=B,re(S)},fe=function(B){S.event=B,ge(S)},Te=function(B){return O(B)||Rr(B,c)&&Oe(S)};st=S._dc=ut.delayedCall(h||.25,L).pause(),S.deltaX=S.deltaY=0,S._vx=Es(0,50,!0),S._vy=Es(0,50,!0),S.scrollX=Me,S.scrollY=ti,S.isDragging=S.isGesturing=S.isPressed=!1,Ua(this),S.enable=function(K){return S.isEnabled||(St(m?T:a,"scroll",Cs),s.indexOf("scroll")>=0&&St(m?T:a,"scroll",U,si,Qe),s.indexOf("wheel")>=0&&St(a,"wheel",ee,si,Qe),(s.indexOf("touch")>=0&&Xa||s.indexOf("pointer")>=0)&&(St(a,ri[0],Q,si,Qe),St(T,ri[2],W),St(T,ri[3],W),De&&St(a,"click",A,!0,!0),Oe&&St(a,"click",Te),we&&St(T,"gesturestart",ne),x&&St(T,"gestureend",J),re&&St(a,Ui+"enter",se),ge&&St(a,Ui+"leave",fe),_e&&St(a,Ui+"move",ye)),S.isEnabled=!0,S.isDragging=S.isGesturing=S.isPressed=ve=Je=!1,S._vx.reset(),S._vy.reset(),Gt=Me(),oi=ti(),K&&K.type&&Q(K),rt&&rt(S)),S},S.disable=function(){S.isEnabled&&(pr.filter(function(K){return K!==S&&Vr(K.target)}).length||wt(m?T:a,"scroll",Cs),S.isPressed&&(S._vx.reset(),S._vy.reset(),wt(me?a:T,ri[1],V,!0)),wt(m?T:a,"scroll",U,Qe),wt(a,"wheel",ee,Qe),wt(a,ri[0],Q,Qe),wt(T,ri[2],W),wt(T,ri[3],W),wt(a,"click",A,!0),wt(a,"click",Te),wt(T,"gesturestart",ne),wt(T,"gestureend",J),wt(a,Ui+"enter",se),wt(a,Ui+"leave",fe),wt(a,Ui+"move",ye),S.isEnabled=S.isPressed=S.isDragging=!1,yt&&yt(S))},S.kill=S.revert=function(){S.disable();var K=pr.indexOf(S);K>=0&&pr.splice(K,1),yi===S&&(yi=0)},pr.push(S),me&&Vr(a)&&(yi=S),S.enable(p)},Nu(o,[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}]),o}();Ve.version="3.15.0";Ve.create=function(o){return new Ve(o)};Ve.register=ja;Ve.getAll=function(){return pr.slice()};Ve.getById=function(o){return pr.filter(function(e){return e.vars.id===o})[0]};qa()&&ut.registerPlugin(Ve);/*! * ScrollTrigger 3.15.0 * https://gsap.com * * @license Copyright 2008-2026, GreenSock. All rights reserved. * Subject to the terms at https://gsap.com/standard-license * @author: Jack Doyle, jack@greensock.com */var $,cr,de,Se,Ht,be,Zs,Yn,an,Ur,zr,_n,_t,Gn,ks,Ct,ko,Po,fr,Ka,ns,Qa,Tt,Ps,Za,Ja,Ei,Os,Js,yr,eo,qr,Ms,ss,gn=1,gt=Date.now,os=gt(),ei=0,Fr=0,Oo=function(e,i,t){var r=It(e)&&(e.substr(0,6)==="clamp("||e.indexOf("max")>-1);return t["_"+i+"Clamp"]=r,r?e.substr(6,e.length-7):e},Mo=function(e,i){return i&&(!It(e)||e.substr(0,6)!=="clamp(")?"clamp("+e+")":e},Bu=function o(){return Fr&&requestAnimationFrame(o)},Ro=function(){return Gn=1},Ao=function(){return Gn=0},fi=function(e){return e},Ir=function(e){return Math.round(e*1e5)/1e5||0},el=function(){return typeof window<"u"},tl=function(){return $||el()&&($=window.gsap)&&$.registerPlugin&&$},ir=function(e){return!!~Zs.indexOf(e)},il=function(e){return(e==="Height"?eo:de["inner"+e])||Ht["client"+e]||be["client"+e]},rl=function(e){return zi(e,"getBoundingClientRect")||(ir(e)?function(){return Dn.width=de.innerWidth,Dn.height=eo,Dn}:function(){return xi(e)})},Yu=function(e,i,t){var r=t.d,n=t.d2,s=t.a;return(s=zi(e,"getBoundingClientRect"))?function(){return s()[r]}:function(){return(i?il(n):e["client"+n])||0}},Xu=function(e,i){return!i||~_i.indexOf(e)?rl(e):function(){return Dn}},pi=function(e,i){var t=i.s,r=i.d2,n=i.d,s=i.a;return Math.max(0,(t="scroll"+r)&&(s=zi(e,t))?s()-rl(e)()[n]:ir(e)?(Ht[t]||be[t])-il(r):e[t]-e["offset"+r])},mn=function(e,i){for(var t=0;t0){for(r-=s,a=0;a=r)return t[a];return t[a-1]}else for(a=t.length,r+=s;a--;)if(t[a]<=r)return t[a];return t[0]}:function(r,n,s){s===void 0&&(s=.001);var a=i(r);return!n||Math.abs(a-r)t&&(r*=i/100),e=e.substr(0,t-1)),e=r+(e in Vn?Vn[e]*i:~e.indexOf("%")?parseFloat(e)*i/100:parseFloat(e)||0)}return e},bn=function(e,i,t,r,n,s,a,l){var u=n.startColor,c=n.endColor,d=n.fontSize,h=n.indent,f=n.fontWeight,_=Se.createElement("div"),p=ir(t)||zi(t,"pinType")==="fixed",v=e.indexOf("scroller")!==-1,C=p?be:t.tagName==="IFRAME"?t.contentDocument.body:t,b=e.indexOf("start")!==-1,k=b?u:c,w="border-color:"+k+";font-size:"+d+";color:"+k+";font-weight:"+f+";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:"+((v||l)&&p?"fixed;":"absolute;"),(v||l||!p)&&(w+=(r===Ke?to:io)+":"+(s+parseFloat(h))+"px;"),a&&(w+="box-sizing:border-box;text-align:left;width:"+a.offsetWidth+"px;"),_._isStart=b,_.setAttribute("class","gsap-marker-"+e+(i?" marker-"+i:"")),_.style.cssText=w,_.innerText=i||i===0?e+"-"+i:e,C.children[0]?C.insertBefore(_,C.children[0]):C.appendChild(_),_._offset=_["offset"+r.op.d2],Mn(_,0,r,b),_},Mn=function(e,i,t,r){var n={display:"block"},s=t[r?"os2":"p2"],a=t[r?"p2":"os2"];e._isFlipped=r,n[t.a+"Percent"]=r?-100:0,n[t.a]=r?"1px":0,n["border"+s+kr]=1,n["border"+a+kr]=0,n[t.p]=i+"px",$.set(e,n)},ue=[],Rs={},ln,zo=function(){return gt()-ei>34&&(ln||(ln=requestAnimationFrame(bi)))},ur=function(){(!Tt||!Tt.isPressed||Tt.startX>be.clientWidth)&&(pe.cache++,Tt?ln||(ln=requestAnimationFrame(bi)):bi(),ei||nr("scrollStart"),ei=gt())},as=function(){Ja=de.innerWidth,Za=de.innerHeight},Hr=function(e){pe.cache++,(e===!0||!_t&&!Qa&&!Se.fullscreenElement&&!Se.webkitFullscreenElement&&(!Ps||Ja!==de.innerWidth||Math.abs(de.innerHeight-Za)>de.innerHeight*.25))&&Yn.restart(!0)},rr={},$u=[],al=function o(){return et(ce,"scrollEnd",o)||Gi(!0)},nr=function(e){return rr[e]&&rr[e].map(function(i){return i()})||$u},Ft=[],ll=function(e){for(var i=0;in,a=r._startClamp&&r.start>=n;(s||a)&&r.setPositions(a?n-1:r.start,s?Math.max(a?n:r.start+1,n):r.end,!0)}),Io(!1),Ms=0,t.forEach(function(r){return r&&r.render&&r.render(-1)}),pe.forEach(function(r){vt(r)&&(r.smooth&&requestAnimationFrame(function(){return r.target.style.scrollBehavior="smooth"}),r.rec&&r(r.rec))}),cl(Js,1),Yn.pause(),tr++,Et=2,bi(2),ue.forEach(function(r){return vt(r.vars.onRefresh)&&r.vars.onRefresh(r)}),Et=ce.isRefreshing=!1,nr("refresh")},As=0,Rn=1,Qr,bi=function(e){if(e===2||!Et&&!qr){ce.isUpdating=!0,Qr&&Qr.update(0);var i=ue.length,t=gt(),r=t-os>=50,n=i&&ue[0].scroll();if(Rn=As>n?-1:1,Et||(As=n),r&&(ei&&!Gn&&t-ei>200&&(ei=0,nr("scrollEnd")),zr=os,os=t),Rn<0){for(Ct=i;Ct-- >0;)ue[Ct]&&ue[Ct].update(0,r);Rn=1}else for(Ct=0;Ct20),t-=t-F}if(_&&(l[_]=e||-.001,e<0&&(e=0)),s){var N=e+t,z=s._isStart;v="scroll"+r.d2,Mn(s,N,r,z&&N>20||!z&&(d?Math.max(be[v],Ht[v]):s.parentNode[v])<=N+1),d&&(u=xi(a),d&&(s.style[r.op.p]=u[r.op.p]-r.op.m-s._offset+je))}return f&&b&&(v=xi(b),f.seek(h),C=xi(b),f._caScrollDist=v[r.p]-C[r.p],e=e/f._caScrollDist*h),f&&f.seek(p),f?e:Math.round(e)},Zu=/(webkit|moz|length|cssText|inset)/i,Ho=function(e,i,t,r){if(e.parentNode!==i){var n=e.style,s,a;if(i===be){e._stOrig=n.cssText,a=Qt(e);for(s in a)!+s&&!Zu.test(s)&&a[s]&&typeof n[s]=="string"&&s!=="0"&&(n[s]=a[s]);n.top=t,n.left=r}else n.cssText=e._stOrig;$.core.getCache(e).uncache=1,i.appendChild(e)}},hl=function(e,i,t){var r=i,n=r;return function(s){var a=Math.round(e());return a!==r&&a!==n&&Math.abs(a-r)>3&&Math.abs(a-n)>3&&(s=a,t&&t()),n=r,r=Math.round(s),r}},Sn=function(e,i,t){var r={};r[i.p]="+="+t,$.set(e,r)},Wo=function(e,i){var t=Hi(e,i),r="_scroll"+i.p2,n=function s(a,l,u,c,d){var h=s.tween,f=l.onComplete,_={};u=u||t();var p=hl(t,u,function(){h.kill(),s.tween=0});return d=c&&d||0,c=c||a-u,h&&h.kill(),l[r]=a,l.inherit=!1,l.modifiers=_,_[r]=function(){return p(u+c*h.ratio+d*h.ratio*h.ratio)},l.onUpdate=function(){pe.cache++,s.tween&&bi()},l.onComplete=function(){s.tween=0,f&&f.call(h)},h=s.tween=$.to(e,l),h};return e[r]=t,t.wheelHandler=function(){return n.tween&&n.tween.kill()&&(n.tween=0)},tt(e,"wheel",t.wheelHandler),ce.isTouch&&tt(e,"touchmove",t.wheelHandler),n},ce=function(){function o(i,t){cr||o.register($)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),Os(this),this.init(i,t)}var e=o.prototype;return e.init=function(t,r){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),!Fr){this.update=this.refresh=this.kill=fi;return}t=Do(It(t)||Nr(t)||t.nodeType?{trigger:t}:t,yn);var n=t,s=n.onUpdate,a=n.toggleClass,l=n.id,u=n.onToggle,c=n.onRefresh,d=n.scrub,h=n.trigger,f=n.pin,_=n.pinSpacing,p=n.invalidateOnRefresh,v=n.anticipatePin,C=n.onScrubComplete,b=n.onSnapComplete,k=n.once,w=n.snap,P=n.pinReparent,F=n.pinSpacer,E=n.containerAnimation,N=n.fastScrollEnd,z=n.preventOverlaps,D=t.horizontal||t.containerAnimation&&t.horizontal!==!1?kt:Ke,oe=!d&&d!==0,X=Pt(t.scroller||de),le=$.core.getCache(X),re=ir(X),ge=("pinType"in t?t.pinType:zi(X,"pinType")||re&&"fixed")==="fixed",_e=[t.onEnter,t.onLeave,t.onEnterBack,t.onLeaveBack],Z=oe&&t.toggleActions.split(" "),me="markers"in t?t.markers:yn.markers,we=re?0:parseFloat(Qt(X)["border"+D.p2+kr])||0,x=this,Ce=t.onRefreshInit&&function(){return t.onRefreshInit(x)},rt=Yu(X,re,D),yt=Xu(X,re),Oe=0,$e=0,Qe=0,De=Hi(X,D),nt,Ze,ni,st,Je,ve,Le,ft,ot,S,bt,$t,si,Me,ti,Gt,oi,g,m,T,y,M,I,A,O,L,q,R,Y,V,Q,W,ne,J,U,ee,ye,se,fe;if(x._startClamp=x._endClamp=!1,x._dir=D,v*=45,x.scroller=X,x.scroll=E?E.time.bind(E):De,st=De(),x.vars=t,r=r||t.animation,"refreshPriority"in t&&(Ka=1,t.refreshPriority===-9999&&(Qr=x)),le.tweenScroll=le.tweenScroll||{top:Wo(X,Ke),left:Wo(X,kt)},x.tweenTo=nt=le.tweenScroll[D.p],x.scrubDuration=function(H){ne=Nr(H)&&H,ne?W?W.duration(H):W=$.to(r,{ease:"expo",totalProgress:"+=0",inherit:!1,duration:ne,paused:!0,onComplete:function(){return C&&C(x)}}):(W&&W.progress(1).kill(),W=0)},r&&(r.vars.lazy=!1,r._initted&&!x.isReverted||r.vars.immediateRender!==!1&&t.immediateRender!==!1&&r.duration()&&r.render(0,!0,!0),x.animation=r.pause(),r.scrollTrigger=x,x.scrubDuration(d),V=0,l||(l=r.vars.id)),w&&((!qi(w)||w.push)&&(w={snapTo:w}),"scrollBehavior"in be.style&&$.set(re?[be,Ht]:X,{scrollBehavior:"auto"}),pe.forEach(function(H){return vt(H)&&H.target===(re?Se.scrollingElement||Ht:X)&&(H.smooth=!1)}),ni=vt(w.snapTo)?w.snapTo:w.snapTo==="labels"?Uu(r):w.snapTo==="labelsDirectional"?qu(r):w.directional!==!1?function(H,te){return no(w.snapTo)(H,gt()-$e<500?0:te.direction)}:$.utils.snap(w.snapTo),J=w.duration||{min:.1,max:2},J=qi(J)?Ur(J.min,J.max):Ur(J,J),U=$.delayedCall(w.delay||ne/2||.1,function(){var H=De(),te=gt()-$e<500,j=nt.tween;if((te||Math.abs(x.getVelocity())<10)&&!j&&!Gn&&Oe!==H){var ie=(H-ve)/Me,He=r&&!oe?r.totalProgress():ie,he=te?0:(He-Q)/(gt()-zr)*1e3||0,Ye=$.utils.clamp(-ie,1-ie,lr(he/2)*he/.185),ht=ie+(w.inertia===!1?0:Ye),We,Re,Ee=w,ii=Ee.onStart,ze=Ee.onInterrupt,zt=Ee.onComplete;if(We=ni(ht,x),Nr(We)||(We=ht),Re=Math.max(0,Math.round(ve+We*Me)),H<=Le&&H>=ve&&Re!==H){if(j&&!j._initted&&j.data<=lr(Re-H))return;w.inertia===!1&&(Ye=We-ie),nt(Re,{duration:J(lr(Math.max(lr(ht-He),lr(We-He))*.185/he/.05||0)),ease:w.ease||"power3",data:lr(Re-H),onInterrupt:function(){return U.restart(!0)&&ze&&ar(x,ze)},onComplete:function(){x.update(),Oe=De(),r&&!oe&&(W?W.resetTo("totalProgress",We,r._tTime/r._tDur):r.progress(We)),V=Q=r&&!oe?r.totalProgress():x.progress,b&&b(x),zt&&ar(x,zt)}},H,Ye*Me,Re-H-Ye*Me),ii&&ar(x,ii,nt.tween)}}else x.isActive&&Oe!==H&&U.restart(!0)}).pause()),l&&(Rs[l]=x),h=x.trigger=Pt(h||f!==!0&&f),fe=h&&h._gsap&&h._gsap.stRevert,fe&&(fe=fe(x)),f=f===!0?h:Pt(f),It(a)&&(a={targets:h,className:a}),f&&(_===!1||_===Kt||(_=!_&&f.parentNode&&f.parentNode.style&&Qt(f.parentNode).display==="flex"?!1:Ue),x.pin=f,Ze=$.core.getCache(f),Ze.spacer?ti=Ze.pinState:(F&&(F=Pt(F),F&&!F.nodeType&&(F=F.current||F.nativeElement),Ze.spacerIsNative=!!F,F&&(Ze.spacerState=wn(F))),Ze.spacer=g=F||Se.createElement("div"),g.classList.add("pin-spacer"),l&&g.classList.add("pin-spacer-"+l),Ze.pinState=ti=wn(f)),t.force3D!==!1&&$.set(f,{force3D:!0}),x.spacer=g=Ze.spacer,Y=Qt(f),A=Y[_+D.os2],T=$.getProperty(f),y=$.quickSetter(f,D.a,je),ls(f,g,Y),oi=wn(f)),me){$t=qi(me)?Do(me,Lo):Lo,S=bn("scroller-start",l,X,D,$t,0),bt=bn("scroller-end",l,X,D,$t,0,S),m=S["offset"+D.op.d2];var Te=Pt(zi(X,"content")||X);ft=this.markerStart=bn("start",l,Te,D,$t,m,0,E),ot=this.markerEnd=bn("end",l,Te,D,$t,m,0,E),E&&(se=$.quickSetter([ft,ot],D.a,je)),!ge&&!(_i.length&&zi(X,"fixedMarkers")===!0)&&(Vu(re?be:X),$.set([S,bt],{force3D:!0}),L=$.quickSetter(S,D.a,je),R=$.quickSetter(bt,D.a,je))}if(E){var K=E.vars.onUpdate,B=E.vars.onUpdateParams;E.eventCallback("onUpdate",function(){x.update(0,0,1),K&&K.apply(E,B||[])})}if(x.previous=function(){return ue[ue.indexOf(x)-1]},x.next=function(){return ue[ue.indexOf(x)+1]},x.revert=function(H,te){if(!te)return x.kill(!0);var j=H!==!1||!x.enabled,ie=_t;j!==x.isReverted&&(j&&(ee=Math.max(De(),x.scroll.rec||0),Qe=x.progress,ye=r&&r.progress()),ft&&[ft,ot,S,bt].forEach(function(He){return He.style.display=j?"none":"block"}),j&&(_t=x,x.update(j)),f&&(!P||!x.isActive)&&(j?ju(f,g,ti):ls(f,g,Qt(f),O)),j||x.update(j),_t=ie,x.isReverted=j)},x.refresh=function(H,te,j,ie){if(!((_t||!x.enabled)&&!te)){if(f&&H&&ei){tt(o,"scrollEnd",al);return}!Et&&Ce&&Ce(x),_t=x,nt.tween&&!j&&(nt.tween.kill(),nt.tween=0),W&&W.pause(),p&&r&&(r.revert({kill:!1}).invalidate(),r.getChildren?r.getChildren(!0,!0,!1).forEach(function(Ti){return Ti.vars.immediateRender&&Ti.render(0,!0,!0)}):r.vars.immediateRender&&r.render(0,!0,!0)),x.isReverted||x.revert(!0,!0),x._subPinOffset=!1;var He=rt(),he=yt(),Ye=E?E.duration():pi(X,D),ht=Me<=.01||!Me,We=0,Re=ie||0,Ee=qi(j)?j.end:t.end,ii=t.endTrigger||h,ze=qi(j)?j.start:t.start||(t.start===0||!h?0:f?"0 0":"0 100%"),zt=x.pinnedContainer=t.pinnedContainer&&Pt(t.pinnedContainer,x),ai=h&&Math.max(0,ue.indexOf(x))||0,at=ai,lt,dt,Bi,cn,pt,Ge,li,jn,oo,Pr,ui,Or,fn;for(me&&qi(j)&&(Or=$.getProperty(S,D.p),fn=$.getProperty(bt,D.p));at-- >0;)Ge=ue[at],Ge.end||Ge.refresh(0,1)||(_t=x),li=Ge.pin,li&&(li===h||li===f||li===zt)&&!Ge.isReverted&&(Pr||(Pr=[]),Pr.unshift(Ge),Ge.revert(!0,!0)),Ge!==ue[at]&&(ai--,at--);for(vt(ze)&&(ze=ze(x)),ze=Oo(ze,"start",x),ve=No(ze,h,He,D,De(),ft,S,x,he,we,ge,Ye,E,x._startClamp&&"_startClamp")||(f?-.001:0),vt(Ee)&&(Ee=Ee(x)),It(Ee)&&!Ee.indexOf("+=")&&(~Ee.indexOf(" ")?Ee=(It(ze)?ze.split(" ")[0]:"")+Ee:(We=On(Ee.substr(2),He),Ee=It(ze)?ze:(E?$.utils.mapRange(0,E.duration(),E.scrollTrigger.start,E.scrollTrigger.end,ve):ve)+We,ii=h)),Ee=Oo(Ee,"end",x),Le=Math.max(ve,No(Ee||(ii?"100% 0":Ye),ii,He,D,De()+We,ot,bt,x,he,we,ge,Ye,E,x._endClamp&&"_endClamp"))||-.001,We=0,at=ai;at--;)Ge=ue[at]||{},li=Ge.pin,li&&Ge.start-Ge._pinPush<=ve&&!E&&Ge.end>0&&(lt=Ge.end-(x._startClamp?Math.max(0,Ge.start):Ge.start),(li===h&&Ge.start-Ge._pinPush=pi(X,D)))lt=Qt(f),cn=D===Ke,Bi=De(),M=parseFloat(T(D.a))+Re,!Ye&&Le>1&&(ui=(re?Se.scrollingElement||Ht:X).style,ui={style:ui,value:ui["overflow"+D.a.toUpperCase()]},re&&Qt(be)["overflow"+D.a.toUpperCase()]!=="scroll"&&(ui.style["overflow"+D.a.toUpperCase()]="scroll")),ls(f,g,lt),oi=wn(f),dt=xi(f,!0),jn=ge&&Hi(X,cn?kt:Ke)(),_?(O=[_+D.os2,Me+Re+je],O.t=g,at=_===Ue?Xn(f,D)+Me+Re:0,at&&(O.push(D.d,at+je),g.style.flexBasis!=="auto"&&(g.style.flexBasis=at+je)),br(O),zt&&ue.forEach(function(Ti){Ti.pin===zt&&Ti.vars.pinSpacing!==!1&&(Ti._subPinOffset=!0)}),ge&&De(ee)):(at=Xn(f,D),at&&g.style.flexBasis!=="auto"&&(g.style.flexBasis=at+je)),ge&&(pt={top:dt.top+(cn?Bi-ve:jn)+je,left:dt.left+(cn?jn:Bi-ve)+je,boxSizing:"border-box",position:"fixed"},pt[Ji]=pt["max"+kr]=Math.ceil(dt.width)+je,pt[er]=pt["max"+ro]=Math.ceil(dt.height)+je,pt[Kt]=pt[Kt+jr]=pt[Kt+$r]=pt[Kt+Kr]=pt[Kt+Gr]="0",pt[Ue]=lt[Ue],pt[Ue+jr]=lt[Ue+jr],pt[Ue+$r]=lt[Ue+$r],pt[Ue+Kr]=lt[Ue+Kr],pt[Ue+Gr]=lt[Ue+Gr],Gt=Qu(ti,pt,P),Et&&De(0)),r?(oo=r._initted,ns(1),r.render(r.duration(),!0,!0),I=T(D.a)-M+Me+Re,q=Math.abs(Me-I)>1,ge&&q&&Gt.splice(Gt.length-2,2),r.render(0,!0,!0),oo||r.invalidate(!0),r.parent||r.totalTime(r.totalTime()),ns(0)):I=Me,ui&&(ui.value?ui.style["overflow"+D.a.toUpperCase()]=ui.value:ui.style.removeProperty("overflow-"+D.a));else if(h&&De()&&!E)for(dt=h.parentNode;dt&&dt!==be;)dt._pinOffset&&(ve-=dt._pinOffset,Le-=dt._pinOffset),dt=dt.parentNode;Pr&&Pr.forEach(function(Ti){return Ti.revert(!1,!0)}),x.start=ve,x.end=Le,st=Je=Et?ee:De(),!E&&!Et&&(st0?ue.slice(0,te).reverse():ue.slice(te+1);return(It(H)?j.filter(function(ie){return ie.vars.preventOverlaps===H}):j).filter(function(ie){return x.direction>0?ie.end<=ve:ie.start>=Le})},x.update=function(H,te,j){if(!(E&&!j&&!H)){var ie=Et===!0?ee:x.scroll(),He=H?0:(ie-ve)/Me,he=He<0?0:He>1?1:He||0,Ye=x.progress,ht,We,Re,Ee,ii,ze,zt,ai;if(te&&(Je=st,st=E?De():ie,w&&(Q=V,V=r&&!oe?r.totalProgress():he)),v&&f&&!_t&&!gn&&ei&&(!he&&veie+(ie-Je)/(gt()-zr)*v&&(he=.9999)),he!==Ye&&x.enabled){if(ht=x.isActive=!!he&&he<1,We=!!Ye&&Ye<1,ze=ht!==We,ii=ze||!!he!=!!Ye,x.direction=he>Ye?1:-1,x.progress=he,ii&&!_t&&(Re=he&&!Ye?0:he===1?1:Ye===1?2:3,oe&&(Ee=!ze&&Z[Re+1]!=="none"&&Z[Re+1]||Z[Re],ai=r&&(Ee==="complete"||Ee==="reset"||Ee in r))),z&&(ze||ai)&&(ai||d||!r)&&(vt(z)?z(x):x.getTrailing(z).forEach(function(Bi){return Bi.endAnimation()})),oe||(W&&!_t&&!gn?(W._dp._time-W._start!==W._time&&W.render(W._dp._time-W._start),W.resetTo?W.resetTo("totalProgress",he,r._tTime/r._tDur):(W.vars.totalProgress=he,W.invalidate().restart())):r&&r.totalProgress(he,!!(_t&&($e||H)))),f){if(H&&_&&(g.style[_+D.os2]=A),!ge)y(Ir(M+I*he));else if(ii){if(zt=!H&&he>Ye&&Le+1>ie&&ie+1>=pi(X,D),P)if(!H&&(ht||zt)){var at=xi(f,!0),lt=ie-ve;Ho(f,be,at.top+(D===Ke?lt:0)+je,at.left+(D===Ke?0:lt)+je)}else Ho(f,g);br(ht||zt?Gt:oi),q&&he<1&&ht||y(M+(he===1&&!zt?I:0))}}w&&!nt.tween&&!_t&&!gn&&U.restart(!0),a&&(ze||k&&he&&(he<1||!ss))&&an(a.targets).forEach(function(Bi){return Bi.classList[ht||k?"add":"remove"](a.className)}),s&&!oe&&!H&&s(x),ii&&!_t?(oe&&(ai&&(Ee==="complete"?r.pause().totalProgress(1):Ee==="reset"?r.restart(!0).pause():Ee==="restart"?r.restart(!0):r[Ee]()),s&&s(x)),(ze||!ss)&&(u&&ze&&ar(x,u),_e[Re]&&ar(x,_e[Re]),k&&(he===1?x.kill(!1,1):_e[Re]=0),ze||(Re=he===1?1:3,_e[Re]&&ar(x,_e[Re]))),N&&!ht&&Math.abs(x.getVelocity())>(Nr(N)?N:2500)&&(Ar(x.callbackAnimation),W?W.progress(1):Ar(r,Ee==="reverse"?1:!he,1))):oe&&s&&!_t&&s(x)}if(R){var dt=E?ie/E.duration()*(E._caScrollDist||0):ie;L(dt+(S._isFlipped?1:0)),R(dt)}se&&se(-ie/E.duration()*(E._caScrollDist||0))}},x.enable=function(H,te){x.enabled||(x.enabled=!0,tt(X,"resize",Hr),re||tt(X,"scroll",ur),Ce&&tt(o,"refreshInit",Ce),H!==!1&&(x.progress=Qe=0,st=Je=Oe=De()),te!==!1&&x.refresh())},x.getTween=function(H){return H&&nt?nt.tween:W},x.setPositions=function(H,te,j,ie){if(E){var He=E.scrollTrigger,he=E.duration(),Ye=He.end-He.start;H=He.start+Ye*H/he,te=He.start+Ye*te/he}x.refresh(!1,!1,{start:Mo(H,j&&!!x._startClamp),end:Mo(te,j&&!!x._endClamp)},ie),x.update()},x.adjustPinSpacing=function(H){if(O&&H){var te=O.indexOf(D.d)+1;O[te]=parseFloat(O[te])+H+je,O[1]=parseFloat(O[1])+H+je,br(O)}},x.disable=function(H,te){if(H!==!1&&x.revert(!0,!0),x.enabled&&(x.enabled=x.isActive=!1,te||W&&W.pause(),ee=0,Ze&&(Ze.uncache=1),Ce&&et(o,"refreshInit",Ce),U&&(U.pause(),nt.tween&&nt.tween.kill()&&(nt.tween=0)),!re)){for(var j=ue.length;j--;)if(ue[j].scroller===X&&ue[j]!==x)return;et(X,"resize",Hr),re||et(X,"scroll",ur)}},x.kill=function(H,te){x.disable(H,te),W&&!te&&W.kill(),l&&delete Rs[l];var j=ue.indexOf(x);j>=0&&ue.splice(j,1),j===Ct&&Rn>0&&Ct--,j=0,ue.forEach(function(ie){return ie.scroller===x.scroller&&(j=1)}),j||Et||(x.scroll.rec=0),r&&(r.scrollTrigger=null,H&&r.revert({kill:!1}),te||r.kill()),ft&&[ft,ot,S,bt].forEach(function(ie){return ie.parentNode&&ie.parentNode.removeChild(ie)}),Qr===x&&(Qr=0),f&&(Ze&&(Ze.uncache=1),j=0,ue.forEach(function(ie){return ie.pin===f&&j++}),j||(Ze.spacer=0)),t.onKill&&t.onKill(x)},ue.push(x),x.enable(!1,!1),fe&&fe(x),r&&r.add&&!Me){var ae=x.update;x.update=function(){x.update=ae,pe.cache++,ve||Le||x.refresh()},$.delayedCall(.01,x.update),Me=.01,ve=Le=0}else x.refresh();f&&Gu()},o.register=function(t){return cr||($=t||tl(),el()&&window.document&&o.enable(),cr=Fr),cr},o.defaults=function(t){if(t)for(var r in t)yn[r]=t[r];return yn},o.disable=function(t,r){Fr=0,ue.forEach(function(s){return s[r?"kill":"disable"](t)}),et(de,"wheel",ur),et(Se,"scroll",ur),clearInterval(_n),et(Se,"touchcancel",fi),et(be,"touchstart",fi),vn(et,Se,"pointerdown,touchstart,mousedown",Ro),vn(et,Se,"pointerup,touchend,mouseup",Ao),Yn.kill(),mn(et);for(var n=0;n0&&s.left+a0&&s.top+a=0&&Ft.splice(i,5),Ft.push(e,e.style.cssText,e.getBBox&&e.getAttribute("transform"),$.core.getCache(e),Os())}}):Ft};ce.revert=function(o,e){return so(!o,e)};ce.create=function(o,e){return new ce(o,e)};ce.refresh=function(o){return o?Hr(!0):(cr||ce.register())&&Gi(!0)};ce.update=function(o){return++pe.cache&&bi(o===!0?2:0)};ce.clearScrollMemory=cl;ce.maxScroll=function(o,e){return pi(o,e?kt:Ke)};ce.getScrollFunc=function(o,e){return Hi(Pt(o),e?kt:Ke)};ce.getById=function(o){return Rs[o]};ce.getAll=function(){return ue.filter(function(o){return o.vars.id!=="ScrollSmoother"})};ce.isScrolling=function(){return!!ei};ce.snapDirectional=no;ce.addEventListener=function(o,e){var i=rr[o]||(rr[o]=[]);~i.indexOf(e)||i.push(e)};ce.removeEventListener=function(o,e){var i=rr[o],t=i&&i.indexOf(e);t>=0&&i.splice(t,1)};ce.batch=function(o,e){var i=[],t={},r=e.interval||.016,n=e.batchMax||1e9,s=function(u,c){var d=[],h=[],f=$.delayedCall(r,function(){c(d,h),d=[],h=[]}).pause();return function(_){d.length||f.restart(!0),d.push(_.trigger),h.push(_),n<=d.length&&f.progress(1)}},a;for(a in e)t[a]=a.substr(0,2)==="on"&&vt(e[a])&&a!=="onRefreshInit"?s(a,e[a]):e[a];return vt(n)&&(n=n(),tt(ce,"refresh",function(){return n=e.batchMax()})),an(o).forEach(function(l){var u={};for(a in t)u[a]=t[a];u.trigger=l,i.push(ce.create(u))}),i};var Bo=function(e,i,t,r){return i>r?e(r):i<0&&e(0),t>r?(r-i)/(t-i):t<0?i/(i-t):1},us=function o(e,i){i===!0?e.style.removeProperty("touch-action"):e.style.touchAction=i===!0?"auto":i?"pan-"+i+(Ve.isTouch?" pinch-zoom":""):"none",e===Ht&&o(be,i)},Tn={auto:1,scroll:1},Ju=function(e){var i=e.event,t=e.target,r=e.axis,n=(i.changedTouches?i.changedTouches[0]:i).target,s=n._gsap||$.core.getCache(n),a=gt(),l;if(!s._isScrollT||a-s._isScrollT>2e3){for(;n&&n!==be&&(n.scrollHeight<=n.clientHeight&&n.scrollWidth<=n.clientWidth||!(Tn[(l=Qt(n)).overflowY]||Tn[l.overflowX]));)n=n.parentNode;s._isScroll=n&&n!==t&&!ir(n)&&(Tn[(l=Qt(n)).overflowY]||Tn[l.overflowX]),s._isScrollT=a}(s._isScroll||r==="x")&&(i.stopPropagation(),i._gsapAllow=!0)},dl=function(e,i,t,r){return Ve.create({target:e,capture:!0,debounce:!1,lockAxis:!0,type:i,onWheel:r=r&&Ju,onPress:r,onDrag:r,onScroll:r,onEnable:function(){return t&&tt(Se,Ve.eventTypes[0],Xo,!1,!0)},onDisable:function(){return et(Se,Ve.eventTypes[0],Xo,!0)}})},ec=/(input|label|select|textarea)/i,Yo,Xo=function(e){var i=ec.test(e.target.tagName);(i||Yo)&&(e._gsapAllow=!0,Yo=i)},tc=function(e){qi(e)||(e={}),e.preventDefault=e.isNormalizer=e.allowClicks=!0,e.type||(e.type="wheel,touch"),e.debounce=!!e.debounce,e.id=e.id||"normalizer";var i=e,t=i.normalizeScrollX,r=i.momentum,n=i.allowNestedScroll,s=i.onRelease,a,l,u=Pt(e.target)||Ht,c=$.core.globals().ScrollSmoother,d=c&&c.get(),h=Ei&&(e.content&&Pt(e.content)||d&&e.content!==!1&&!d.smooth()&&d.content()),f=Hi(u,Ke),_=Hi(u,kt),p=1,v=(Ve.isTouch&&de.visualViewport?de.visualViewport.scale*de.visualViewport.width:de.outerWidth)/de.innerWidth,C=0,b=vt(r)?function(){return r(a)}:function(){return r||2.8},k,w,P=dl(u,e.type,!0,n),F=function(){return w=!1},E=fi,N=fi,z=function(){l=pi(u,Ke),N=Ur(Ei?1:0,l),t&&(E=Ur(0,pi(u,kt))),k=tr},D=function(){h._gsap.y=Ir(parseFloat(h._gsap.y)+f.offset)+"px",h.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+parseFloat(h._gsap.y)+", 0, 1)",f.offset=f.cacheID=0},oe=function(){if(w){requestAnimationFrame(F);var me=Ir(a.deltaY/2),we=N(f.v-me);if(h&&we!==f.v+f.offset){f.offset=we-f.v;var x=Ir((parseFloat(h&&h._gsap.y)||0)-f.offset);h.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+x+", 0, 1)",h._gsap.y=x+"px",f.cacheID=pe.cache,bi()}return!0}f.offset&&D(),w=!0},X,le,re,ge,_e=function(){z(),X.isActive()&&X.vars.scrollY>l&&(f()>l?X.progress(1)&&f(l):X.resetTo("scrollY",l))};return h&&$.set(h,{y:"+=0"}),e.ignoreCheck=function(Z){return Ei&&Z.type==="touchmove"&&oe()||p>1.05&&Z.type!=="touchstart"||a.isGesturing||Z.touches&&Z.touches.length>1},e.onPress=function(){w=!1;var Z=p;p=Ir((de.visualViewport&&de.visualViewport.scale||1)/v),X.pause(),Z!==p&&us(u,p>1.01?!0:t?!1:"x"),le=_(),re=f(),z(),k=tr},e.onRelease=e.onGestureStart=function(Z,me){if(f.offset&&D(),!me)ge.restart(!0);else{pe.cache++;var we=b(),x,Ce;t&&(x=_(),Ce=x+we*.05*-Z.velocityX/.227,we*=Bo(_,x,Ce,pi(u,kt)),X.vars.scrollX=E(Ce)),x=f(),Ce=x+we*.05*-Z.velocityY/.227,we*=Bo(f,x,Ce,pi(u,Ke)),X.vars.scrollY=N(Ce),X.invalidate().duration(we).play(.01),(Ei&&X.vars.scrollY>=l||x>=l-1)&&$.to({},{onUpdate:_e,duration:we})}s&&s(Z)},e.onWheel=function(){X._ts&&X.pause(),gt()-C>1e3&&(k=0,C=gt())},e.onChange=function(Z,me,we,x,Ce){if(tr!==k&&z(),me&&t&&_(E(x[2]===me?le+(Z.startX-Z.x):_()+me-x[1])),we){f.offset&&D();var rt=Ce[2]===we,yt=rt?re+Z.startY-Z.y:f()+we-Ce[1],Oe=N(yt);rt&&yt!==Oe&&(re+=Oe-yt),f(Oe)}(we||me)&&bi()},e.onEnable=function(){us(u,t?!1:"x"),ce.addEventListener("refresh",_e),tt(de,"resize",_e),f.smooth&&(f.target.style.scrollBehavior="auto",f.smooth=_.smooth=!1),P.enable()},e.onDisable=function(){us(u,!0),et(de,"resize",_e),ce.removeEventListener("refresh",_e),P.kill()},e.lockAxis=e.lockAxis!==!1,a=new Ve(e),a.iOS=Ei,Ei&&!f()&&f(1),Ei&&$.ticker.add(fi),ge=a._dc,X=$.to(a,{ease:"power4",paused:!0,inherit:!1,scrollX:t?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:hl(f,f(),function(){return X.pause()})},onUpdate:bi,onComplete:ge.vars.onComplete}),a};ce.sort=function(o){if(vt(o))return ue.sort(o);var e=de.pageYOffset||0;return ce.getAll().forEach(function(i){return i._sortY=i.trigger?e+i.trigger.getBoundingClientRect().top:i.start+de.innerHeight}),ue.sort(o||function(i,t){return(i.vars.refreshPriority||0)*-1e6+(i.vars.containerAnimation?1e6:i._sortY)-((t.vars.containerAnimation?1e6:t._sortY)+(t.vars.refreshPriority||0)*-1e6)})};ce.observe=function(o){return new Ve(o)};ce.normalizeScroll=function(o){if(typeof o>"u")return Tt;if(o===!0&&Tt)return Tt.enable();if(o===!1){Tt&&Tt.kill(),Tt=o;return}var e=o instanceof Ve?o:tc(o);return Tt&&Tt.target===e.target&&Tt.kill(),ir(e.target)&&(Tt=e),e};ce.core={_getVelocityProp:Es,_inputObserver:dl,_scrollers:pe,_proxies:_i,bridge:{ss:function(){ei||nr("scrollStart"),ei=gt()},ref:function(){return _t}}};tl()&&$.registerPlugin(ce);var Vo="1.3.26";function pl(o,e,i){return Math.max(o,Math.min(e,i))}function ic(o,e,i){return(1-i)*o+i*e}function rc(o,e,i,t){return ic(o,e,1-Math.exp(-i*t))}function nc(o,e){return(o%e+e)%e}var sc=class{constructor(){G(this,"isRunning",!1);G(this,"value",0);G(this,"from",0);G(this,"to",0);G(this,"currentTime",0);G(this,"lerp");G(this,"duration");G(this,"easing");G(this,"onUpdate")}advance(o){var i;if(!this.isRunning)return;let e=!1;if(this.duration&&this.easing){this.currentTime+=o;const t=pl(0,this.currentTime/this.duration,1);e=t>=1;const r=e?1:this.easing(t);this.value=this.from+(this.to-this.from)*r}else this.lerp?(this.value=rc(this.value,this.to,this.lerp*60,o),Math.round(this.value)===Math.round(this.to)&&(this.value=this.to,e=!0)):(this.value=this.to,e=!0);e&&this.stop(),(i=this.onUpdate)==null||i.call(this,this.value,e)}stop(){this.isRunning=!1}fromTo(o,e,{lerp:i,duration:t,easing:r,onStart:n,onUpdate:s}){this.from=this.value=o,this.to=e,this.lerp=i,this.duration=t,this.easing=r,this.currentTime=0,this.isRunning=!0,n==null||n(),this.onUpdate=s}};function oc(o,e){let i;return function(...t){clearTimeout(i),i=setTimeout(()=>{i=void 0,o.apply(this,t)},e)}}var ac=class{constructor(o,e,{autoResize:i=!0,debounce:t=250}={}){G(this,"width",0);G(this,"height",0);G(this,"scrollHeight",0);G(this,"scrollWidth",0);G(this,"debouncedResize");G(this,"wrapperResizeObserver");G(this,"contentResizeObserver");G(this,"resize",()=>{this.onWrapperResize(),this.onContentResize()});G(this,"onWrapperResize",()=>{this.wrapper instanceof Window?(this.width=window.innerWidth,this.height=window.innerHeight):(this.width=this.wrapper.clientWidth,this.height=this.wrapper.clientHeight)});G(this,"onContentResize",()=>{this.wrapper instanceof Window?(this.scrollHeight=this.content.scrollHeight,this.scrollWidth=this.content.scrollWidth):(this.scrollHeight=this.wrapper.scrollHeight,this.scrollWidth=this.wrapper.scrollWidth)});this.wrapper=o,this.content=e,i&&(this.debouncedResize=oc(this.resize,t),this.wrapper instanceof Window?window.addEventListener("resize",this.debouncedResize):(this.wrapperResizeObserver=new ResizeObserver(this.debouncedResize),this.wrapperResizeObserver.observe(this.wrapper)),this.contentResizeObserver=new ResizeObserver(this.debouncedResize),this.contentResizeObserver.observe(this.content)),this.resize()}destroy(){var o,e;(o=this.wrapperResizeObserver)==null||o.disconnect(),(e=this.contentResizeObserver)==null||e.disconnect(),this.wrapper===window&&this.debouncedResize&&window.removeEventListener("resize",this.debouncedResize)}get limit(){return{x:this.scrollWidth-this.width,y:this.scrollHeight-this.height}}},_l=class{constructor(){G(this,"events",{})}emit(o,...e){var t;const i=this.events[o]||[];for(let r=0,n=i.length;r{var i;this.events[o]=(i=this.events[o])==null?void 0:i.filter(t=>e!==t)}}off(o,e){var i;this.events[o]=(i=this.events[o])==null?void 0:i.filter(t=>e!==t)}destroy(){this.events={}}};const lc=100/6,Ci={passive:!1};function Uo(o,e){return o===1?lc:o===2?e:1}var uc=class{constructor(o,e={wheelMultiplier:1,touchMultiplier:1}){G(this,"touchStart",{x:0,y:0});G(this,"lastDelta",{x:0,y:0});G(this,"window",{width:0,height:0});G(this,"emitter",new _l);G(this,"onTouchStart",o=>{const{clientX:e,clientY:i}=o.targetTouches?o.targetTouches[0]:o;this.touchStart.x=e,this.touchStart.y=i,this.lastDelta={x:0,y:0},this.emitter.emit("scroll",{deltaX:0,deltaY:0,event:o})});G(this,"onTouchMove",o=>{const{clientX:e,clientY:i}=o.targetTouches?o.targetTouches[0]:o,t=-(e-this.touchStart.x)*this.options.touchMultiplier,r=-(i-this.touchStart.y)*this.options.touchMultiplier;this.touchStart.x=e,this.touchStart.y=i,this.lastDelta={x:t,y:r},this.emitter.emit("scroll",{deltaX:t,deltaY:r,event:o})});G(this,"onTouchEnd",o=>{this.emitter.emit("scroll",{deltaX:this.lastDelta.x,deltaY:this.lastDelta.y,event:o})});G(this,"onWheel",o=>{let{deltaX:e,deltaY:i,deltaMode:t}=o;const r=Uo(t,this.window.width),n=Uo(t,this.window.height);e*=r,i*=n,e*=this.options.wheelMultiplier,i*=this.options.wheelMultiplier,this.emitter.emit("scroll",{deltaX:e,deltaY:i,event:o})});G(this,"onWindowResize",()=>{this.window={width:window.innerWidth,height:window.innerHeight}});this.element=o,this.options=e,window.addEventListener("resize",this.onWindowResize),this.onWindowResize(),this.element.addEventListener("wheel",this.onWheel,Ci),this.element.addEventListener("touchstart",this.onTouchStart,Ci),this.element.addEventListener("touchmove",this.onTouchMove,Ci),this.element.addEventListener("touchend",this.onTouchEnd,Ci)}on(o,e){return this.emitter.on(o,e)}destroy(){this.emitter.destroy(),window.removeEventListener("resize",this.onWindowResize),this.element.removeEventListener("wheel",this.onWheel,Ci),this.element.removeEventListener("touchstart",this.onTouchStart,Ci),this.element.removeEventListener("touchmove",this.onTouchMove,Ci),this.element.removeEventListener("touchend",this.onTouchEnd,Ci)}};const qo=o=>Math.min(1,1.001-2**(-10*o));var cc=class{constructor({wrapper:o=window,content:e=document.documentElement,eventsTarget:i=o,smoothWheel:t=!0,syncTouch:r=!1,syncTouchLerp:n=.075,touchInertiaExponent:s=1.7,duration:a,easing:l,lerp:u=.1,infinite:c=!1,orientation:d="vertical",gestureOrientation:h=d==="horizontal"?"both":"vertical",touchMultiplier:f=1,wheelMultiplier:_=1,autoResize:p=!0,prevent:v,virtualScroll:C,overscroll:b=!0,autoRaf:k=!1,anchors:w=!1,autoToggle:P=!1,allowNestedScroll:F=!1,__experimental__naiveDimensions:E=!1,naiveDimensions:N=E,stopInertiaOnNavigate:z=!1,respectReducedMotion:D=!0}={}){G(this,"_isScrolling",!1);G(this,"_isStopped",!1);G(this,"_isLocked",!1);G(this,"_preventNextNativeScrollEvent",!1);G(this,"_resetVelocityTimeout",null);G(this,"_rafId",null);G(this,"_isDraggingSelection",!1);G(this,"reducedMotionMediaQuery",window.matchMedia("(prefers-reduced-motion: reduce)"));G(this,"isTouching");G(this,"isIos");G(this,"time",0);G(this,"userData",{});G(this,"lastVelocity",0);G(this,"velocity",0);G(this,"direction",0);G(this,"options");G(this,"targetScroll");G(this,"animatedScroll");G(this,"animate",new sc);G(this,"emitter",new _l);G(this,"dimensions");G(this,"virtualScroll");G(this,"onScrollEnd",o=>{o instanceof CustomEvent||(this.isScrolling==="smooth"||this.isScrolling===!1)&&o.stopPropagation()});G(this,"dispatchScrollendEvent",()=>{this.options.wrapper.dispatchEvent(new CustomEvent("scrollend",{bubbles:this.options.wrapper===window,detail:{lenisScrollEnd:!0}}))});G(this,"onTransitionEnd",o=>{var e;(e=o.propertyName)!=null&&e.includes("overflow")&&o.target===this.rootElement&&this.checkOverflow()});G(this,"onClick",o=>{const e=o.composedPath().filter(t=>t instanceof HTMLAnchorElement&&t.href).map(t=>new URL(t.href)),i=new URL(window.location.href);if(this.options.anchors){const t=e.find(r=>i.host===r.host&&i.pathname===r.pathname&&r.hash);if(t){const r=typeof this.options.anchors=="object"&&this.options.anchors?this.options.anchors:void 0,n=decodeURIComponent(t.hash);this.scrollTo(n,r);return}}if(this.options.stopInertiaOnNavigate&&e.some(t=>i.host===t.host&&i.pathname!==t.pathname)){this.reset();return}});G(this,"onPointerDown",o=>{o.button===1&&this.reset()});G(this,"onVirtualScroll",o=>{if(typeof this.options.virtualScroll=="function"&&this.options.virtualScroll(o)===!1)return;const{deltaX:e,deltaY:i,event:t}=o;if(this.emitter.emit("virtual-scroll",{deltaX:e,deltaY:i,event:t}),t.ctrlKey||t.lenisStopPropagation)return;const r=t.type.includes("touch"),n=t.type.includes("wheel");if(r&&this.isIos&&(t.type==="touchstart"&&(this._isDraggingSelection=this.isTouchOnSelectionHandle(t)),this._isDraggingSelection)){t.type==="touchend"&&(this._isDraggingSelection=!1);return}this.isTouching=t.type==="touchstart"||t.type==="touchmove";const s=e===0&&i===0;if(this.options.syncTouch&&r&&t.type==="touchstart"&&s&&!this.isStopped&&!this.isLocked){this.reset();return}const a=this.options.gestureOrientation==="vertical"&&i===0||this.options.gestureOrientation==="horizontal"&&e===0;if(s||a)return;let l=t.composedPath();l=l.slice(0,l.indexOf(this.rootElement));const u=this.options.prevent,c=Math.abs(e)>=Math.abs(i)?"horizontal":"vertical";if(l.find(_=>{var p,v,C,b,k;return _ instanceof HTMLElement&&(typeof u=="function"&&(u==null?void 0:u(_))||((p=_.hasAttribute)==null?void 0:p.call(_,"data-lenis-prevent"))||c==="vertical"&&((v=_.hasAttribute)==null?void 0:v.call(_,"data-lenis-prevent-vertical"))||c==="horizontal"&&((C=_.hasAttribute)==null?void 0:C.call(_,"data-lenis-prevent-horizontal"))||r&&((b=_.hasAttribute)==null?void 0:b.call(_,"data-lenis-prevent-touch"))||n&&((k=_.hasAttribute)==null?void 0:k.call(_,"data-lenis-prevent-wheel"))||this.options.allowNestedScroll&&this.hasNestedScroll(_,{deltaX:e,deltaY:i}))}))return;if(this.isStopped||this.isLocked){t.cancelable&&t.preventDefault();return}if(!(this.options.syncTouch&&r||this.options.smoothWheel&&n)){this.isScrolling="native",this.animate.stop(),t.lenisStopPropagation=!0;return}let d=i;this.options.gestureOrientation==="both"?d=Math.abs(i)>Math.abs(e)?i:e:this.options.gestureOrientation==="horizontal"&&(d=e),(!this.options.overscroll||this.options.infinite||this.options.wrapper!==window&&this.limit>0&&(this.animatedScroll>0&&this.animatedScroll0||this.animatedScroll===this.limit&&i<0))&&(t.lenisStopPropagation=!0),t.cancelable&&t.preventDefault();const h=r&&this.options.syncTouch,f=r&&t.type==="touchend";f&&(d=Math.sign(d)*Math.abs(this.velocity)**this.options.touchInertiaExponent),this.scrollTo(this.targetScroll+d,{programmatic:!1,...h?{lerp:f?this.options.syncTouchLerp:1}:{lerp:this.options.lerp,duration:this.options.duration,easing:this.options.easing}})});G(this,"onNativeScroll",()=>{if(this._resetVelocityTimeout!==null&&(clearTimeout(this._resetVelocityTimeout),this._resetVelocityTimeout=null),this._preventNextNativeScrollEvent){this._preventNextNativeScrollEvent=!1;return}if(this.isScrolling===!1||this.isScrolling==="native"){const o=this.animatedScroll;this.animatedScroll=this.targetScroll=this.actualScroll,this.lastVelocity=this.velocity,this.velocity=this.animatedScroll-o,this.direction=Math.sign(this.animatedScroll-o),this.isStopped||(this.isScrolling="native"),this.emit(),this.velocity!==0&&(this._resetVelocityTimeout=setTimeout(()=>{this.lastVelocity=this.velocity,this.velocity=0,this.isScrolling=!1,this.emit()},400))}});G(this,"raf",o=>{const e=o-(this.time||o);this.time=o,this.animate.advance(e*.001),this.options.autoRaf&&(this._rafId=requestAnimationFrame(this.raf))});window.lenisVersion=Vo,window.lenis||(window.lenis={}),window.lenis.version=Vo,d==="horizontal"&&(window.lenis.horizontal=!0),r===!0&&(window.lenis.touch=!0),this.isIos=/(iPad|iPhone|iPod)/g.test(navigator.userAgent),(!o||o===document.documentElement)&&(o=window),typeof a=="number"&&typeof l!="function"?l=qo:typeof l=="function"&&typeof a!="number"&&(a=1),this.options={wrapper:o,content:e,eventsTarget:i,smoothWheel:t,syncTouch:r,syncTouchLerp:n,touchInertiaExponent:s,duration:a,easing:l,lerp:u,infinite:c,gestureOrientation:h,orientation:d,touchMultiplier:f,wheelMultiplier:_,autoResize:p,prevent:v,virtualScroll:C,overscroll:b,autoRaf:k,anchors:w,autoToggle:P,allowNestedScroll:F,naiveDimensions:N,stopInertiaOnNavigate:z,respectReducedMotion:D},this.dimensions=new ac(o,e,{autoResize:p}),this.updateClassName(),this.targetScroll=this.animatedScroll=this.actualScroll,this.options.wrapper.addEventListener("scroll",this.onNativeScroll),this.options.wrapper.addEventListener("scrollend",this.onScrollEnd,{capture:!0}),(this.options.anchors||this.options.stopInertiaOnNavigate)&&this.options.wrapper.addEventListener("click",this.onClick),this.options.wrapper.addEventListener("pointerdown",this.onPointerDown),this.virtualScroll=new uc(i,{touchMultiplier:f,wheelMultiplier:_}),this.virtualScroll.on("scroll",this.onVirtualScroll),this.options.autoToggle&&(this.checkOverflow(),this.rootElement.addEventListener("transitionend",this.onTransitionEnd)),this.options.autoRaf&&(this._rafId=requestAnimationFrame(this.raf))}destroy(){this.emitter.destroy(),this.options.wrapper.removeEventListener("scroll",this.onNativeScroll),this.options.wrapper.removeEventListener("scrollend",this.onScrollEnd,{capture:!0}),this.options.wrapper.removeEventListener("pointerdown",this.onPointerDown),(this.options.anchors||this.options.stopInertiaOnNavigate)&&this.options.wrapper.removeEventListener("click",this.onClick),this.virtualScroll.destroy(),this.dimensions.destroy(),this.cleanUpClassName(),this._rafId&&cancelAnimationFrame(this._rafId)}on(o,e){return this.emitter.on(o,e)}off(o,e){return this.emitter.off(o,e)}get overflow(){const o=this.isHorizontal?"overflow-x":"overflow-y";return getComputedStyle(this.rootElement)[o]}checkOverflow(){["hidden","clip"].includes(this.overflow)?this.internalStop():this.internalStart()}setScroll(o){this.isHorizontal?this.options.wrapper.scrollTo({left:o,behavior:"instant"}):this.options.wrapper.scrollTo({top:o,behavior:"instant"})}isTouchOnSelectionHandle(o){const e=window.getSelection();if(!e||e.isCollapsed||e.rangeCount===0)return!1;const i=o.targetTouches[0]??o.changedTouches[0];if(!i)return!1;const t=e.getRangeAt(0).getClientRects();if(t.length===0)return!1;const r=t[0],n=t[t.length-1],s=40,a=Math.hypot(i.clientX-r.left,i.clientY-r.top)<=s,l=Math.hypot(i.clientX-n.right,i.clientY-n.bottom)<=s;return a||l}resize(){this.dimensions.resize(),this.animatedScroll=this.targetScroll=this.actualScroll,this.emit()}emit(){this.emitter.emit("scroll",this)}reset(){this.isLocked=!1,this.isScrolling=!1,this.animatedScroll=this.targetScroll=this.actualScroll,this.lastVelocity=this.velocity=0,this.animate.stop()}start(){if(this.isStopped){if(this.options.autoToggle){this.rootElement.style.removeProperty("overflow");return}this.internalStart()}}internalStart(){this.isStopped&&(this.reset(),this.isStopped=!1,this.emit())}stop(){if(!this.isStopped){if(this.options.autoToggle){this.rootElement.style.setProperty("overflow","clip");return}this.internalStop()}}internalStop(){this.isStopped||(this.reset(),this.isStopped=!0,this.emit())}scrollTo(o,{offset:e=0,immediate:i=!1,lock:t=!1,programmatic:r=!0,lerp:n=r?this.options.lerp:void 0,duration:s=r?this.options.duration:void 0,easing:a=r?this.options.easing:void 0,onStart:l,onComplete:u,force:c=!1,userData:d}={}){if(this.prefersReducedMotion&&(r?i=!0:(n=1,s=void 0,a=void 0)),(this.isStopped||this.isLocked)&&!c)return;let h=o,f=e;if(typeof h=="string"&&["top","left","start","#"].includes(h))h=0;else if(typeof h=="string"&&["bottom","right","end"].includes(h))h=this.limit;else{let _=null;if(typeof h=="string"?(_=h.startsWith("#")?document.getElementById(h.slice(1)):document.querySelector(h),_||(h==="#top"?h=0:console.warn("Lenis: Target not found",h))):h instanceof HTMLElement&&(h!=null&&h.nodeType)&&(_=h),_){if(this.options.wrapper!==window){const w=this.rootElement.getBoundingClientRect();f-=this.isHorizontal?w.left:w.top}const p=_.getBoundingClientRect(),v=getComputedStyle(_),C=this.isHorizontal?Number.parseFloat(v.scrollMarginLeft):Number.parseFloat(v.scrollMarginTop),b=getComputedStyle(this.rootElement),k=this.isHorizontal?Number.parseFloat(b.scrollPaddingLeft):Number.parseFloat(b.scrollPaddingTop);h=(this.isHorizontal?p.left:p.top)+this.animatedScroll-(Number.isNaN(C)?0:C)-(Number.isNaN(k)?0:k)}}if(typeof h=="number"){if(h+=f,this.options.infinite){if(r){this.targetScroll=this.animatedScroll=this.scroll;const _=h-this.animatedScroll;_>this.limit/2?h-=this.limit:_<-this.limit/2&&(h+=this.limit)}}else h=pl(0,h,this.limit);if(h===this.targetScroll){l==null||l(this),u==null||u(this);return}if(this.userData=d??{},i){this.animatedScroll=this.targetScroll=h,this.setScroll(this.scroll),this.reset(),this.preventNextNativeScrollEvent(),this.emit(),u==null||u(this),this.userData={},requestAnimationFrame(()=>{this.dispatchScrollendEvent()});return}r||(this.targetScroll=h),typeof s=="number"&&typeof a!="function"?a=qo:typeof a=="function"&&typeof s!="number"&&(s=1),this.animate.fromTo(this.animatedScroll,h,{duration:s,easing:a,lerp:n,onStart:()=>{t&&(this.isLocked=!0),this.isScrolling="smooth",l==null||l(this)},onUpdate:(_,p)=>{this.isScrolling="smooth",this.lastVelocity=this.velocity,this.velocity=_-this.animatedScroll,this.direction=Math.sign(this.velocity),this.animatedScroll=_,this.setScroll(this.scroll),r&&(this.targetScroll=_),p||this.emit(),p&&(this.reset(),this.emit(),u==null||u(this),this.userData={},requestAnimationFrame(()=>{this.dispatchScrollendEvent()}),this.preventNextNativeScrollEvent())}})}}preventNextNativeScrollEvent(){this._preventNextNativeScrollEvent=!0,requestAnimationFrame(()=>{this._preventNextNativeScrollEvent=!1})}hasNestedScroll(o,{deltaX:e,deltaY:i}){const t=Date.now();o._lenis||(o._lenis={});const r=o._lenis;let n,s,a,l,u,c,d,h,f,_;if(t-(r.time??0)>2e3){r.time=Date.now();const F=window.getComputedStyle(o);if(r.computedStyle=F,n=["auto","overlay","scroll"].includes(F.overflowX),s=["auto","overlay","scroll"].includes(F.overflowY),u=["auto"].includes(F.overscrollBehaviorX),c=["auto"].includes(F.overscrollBehaviorY),r.hasOverflowX=n,r.hasOverflowY=s,!(n||s))return!1;d=o.scrollWidth,h=o.scrollHeight,f=o.clientWidth,_=o.clientHeight,a=d>f,l=h>_,r.isScrollableX=a,r.isScrollableY=l,r.scrollWidth=d,r.scrollHeight=h,r.clientWidth=f,r.clientHeight=_,r.hasOverscrollBehaviorX=u,r.hasOverscrollBehaviorY=c}else a=r.isScrollableX,l=r.isScrollableY,n=r.hasOverflowX,s=r.hasOverflowY,d=r.scrollWidth,h=r.scrollHeight,f=r.clientWidth,_=r.clientHeight,u=r.hasOverscrollBehaviorX,c=r.hasOverscrollBehaviorY;if(!(n&&a||s&&l))return!1;const p=Math.abs(e)>=Math.abs(i)?"horizontal":"vertical";let v,C,b,k,w,P;if(p==="horizontal")v=Math.round(o.scrollLeft),C=d-f,b=e,k=n,w=a,P=u;else if(p==="vertical")v=Math.round(o.scrollTop),C=h-_,b=i,k=s,w=l,P=c;else return!1;return!P&&(v>=C||v<=0)?!0:(b>0?v0)&&k&&w}get rootElement(){return this.options.wrapper===window?document.documentElement:this.options.wrapper}get limit(){return this.options.naiveDimensions?this.isHorizontal?this.rootElement.scrollWidth-this.rootElement.clientWidth:this.rootElement.scrollHeight-this.rootElement.clientHeight:this.dimensions.limit[this.isHorizontal?"x":"y"]}get isHorizontal(){return this.options.orientation==="horizontal"}get actualScroll(){const o=this.options.wrapper;return this.isHorizontal?o.scrollX??o.scrollLeft:o.scrollY??o.scrollTop}get scroll(){return this.options.infinite?nc(this.animatedScroll,this.limit):this.animatedScroll}get progress(){return this.limit===0?1:this.scroll/this.limit}get isScrolling(){return this._isScrolling}set isScrolling(o){this._isScrolling!==o&&(this._isScrolling=o,this.updateClassName())}get isStopped(){return this._isStopped}set isStopped(o){this._isStopped!==o&&(this._isStopped=o,this.updateClassName())}get isLocked(){return this._isLocked}set isLocked(o){this._isLocked!==o&&(this._isLocked=o,this.updateClassName())}get isSmooth(){return this.isScrolling==="smooth"}get prefersReducedMotion(){return this.options.respectReducedMotion&&this.reducedMotionMediaQuery.matches}get className(){let o="lenis";return this.options.autoToggle&&(o+=" lenis-autoToggle"),this.isStopped&&(o+=" lenis-stopped"),this.isLocked&&(o+=" lenis-locked"),this.isScrolling&&(o+=" lenis-scrolling"),this.isScrolling==="smooth"&&(o+=" lenis-smooth"),o}updateClassName(){this.cleanUpClassName(),this.className.split(" ").forEach(o=>{this.rootElement.classList.add(o)})}cleanUpClassName(){for(const o of Array.from(this.rootElement.classList))(o==="lenis"||o.startsWith("lenis-"))&&this.rootElement.classList.remove(o)}},fc={exports:{}};(function(o,e){(function(i,t){o.exports=t()})(window,function(){return function(i){var t={};function r(n){if(t[n])return t[n].exports;var s=t[n]={i:n,l:!1,exports:{}};return i[n].call(s.exports,s,s.exports,r),s.l=!0,s.exports}return r.m=i,r.c=t,r.d=function(n,s,a){r.o(n,s)||Object.defineProperty(n,s,{enumerable:!0,get:a})},r.r=function(n){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},r.t=function(n,s){if(1&s&&(n=r(n)),8&s||4&s&&typeof n=="object"&&n&&n.__esModule)return n;var a=Object.create(null);if(r.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:n}),2&s&&typeof n!="string")for(var l in n)r.d(a,l,(function(u){return n[u]}).bind(null,l));return a},r.n=function(n){var s=n&&n.__esModule?function(){return n.default}:function(){return n};return r.d(s,"a",s),s},r.o=function(n,s){return Object.prototype.hasOwnProperty.call(n,s)},r.p="",r(r.s=0)}([function(i,t,r){r.r(t);var n,s="fslightbox-",a="".concat(s,"styles"),l="".concat(s,"cursor-grabbing"),u="".concat(s,"full-dimension"),c="".concat(s,"flex-centered"),d="".concat(s,"open"),h="".concat(s,"transform-transition"),f="".concat(s,"absoluted"),_="".concat(s,"slide-btn"),p="".concat(_,"-container"),v="".concat(s,"fade-in"),C="".concat(s,"fade-out"),b=v+"-strong",k=C+"-strong",w="".concat(s,"opacity-"),P="".concat(w,"1"),F="".concat(s,"source");function E(g){return(E=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(m){return typeof m}:function(m){return m&&typeof Symbol=="function"&&m.constructor===Symbol&&m!==Symbol.prototype?"symbol":typeof m})(g)}function N(g){var m=g.stageIndexes,T=g.core.stageManager,y=g.props.sources.length-1;T.getPreviousSlideIndex=function(){return m.current===0?y:m.current-1},T.getNextSlideIndex=function(){return m.current===y?0:m.current+1},T.updateStageIndexes=y===0?function(){}:y===1?function(){m.current===0?(m.next=1,delete m.previous):(m.previous=0,delete m.next)}:function(){m.previous=T.getPreviousSlideIndex(),m.next=T.getNextSlideIndex()},T.i=y<=2?function(){return!0}:function(M){var I=m.current;if(I===0&&M===y||I===y&&M===0)return!0;var A=I-M;return A===-1||A===0||A===1}}(typeof window>"u"?"undefined":E(window))==="object"&&((n=document.createElement("style")).className=a,n.appendChild(document.createTextNode(".fslightbox-absoluted{position:absolute;top:0;left:0}.fslightbox-fade-in{animation:fslightbox-fade-in .3s cubic-bezier(0,0,.7,1)}.fslightbox-fade-out{animation:fslightbox-fade-out .3s ease}.fslightbox-fade-in-strong{animation:fslightbox-fade-in-strong .3s cubic-bezier(0,0,.7,1)}.fslightbox-fade-out-strong{animation:fslightbox-fade-out-strong .3s ease}@keyframes fslightbox-fade-in{from{opacity:.65}to{opacity:1}}@keyframes fslightbox-fade-out{from{opacity:.35}to{opacity:0}}@keyframes fslightbox-fade-in-strong{from{opacity:.3}to{opacity:1}}@keyframes fslightbox-fade-out-strong{from{opacity:1}to{opacity:0}}.fslightbox-cursor-grabbing{cursor:grabbing}.fslightbox-full-dimension{width:100%;height:100%}.fslightbox-open{overflow:hidden;height:100%}.fslightbox-flex-centered{display:flex;justify-content:center;align-items:center}.fslightbox-opacity-0{opacity:0!important}.fslightbox-opacity-1{opacity:1!important}.fslightbox-scrollbarfix{padding-right:17px}.fslightbox-transform-transition{transition:transform .3s}.fslightbox-container::backdrop{display:none}.fslightbox-container{font-family:Arial,sans-serif;position:fixed;top:0;left:0;padding:0;border:0;max-width:none;max-height:none;background:linear-gradient(rgba(30,30,30,.9),#000 1810%);touch-action:pinch-zoom;overflow:hidden;z-index:1000000000;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}.fslightbox-container *{box-sizing:border-box}.fslightbox-svg{width:20px;height:20px}.fslightbox-svgp{transition:fill .15s ease;fill:#ddd}.fslightbox-nav{height:45px;width:100%;position:absolute;top:0;left:0}.fslightboxsn{z-index:0;display:flex;align-items:center;margin:14px 0 0 11px;font-size:15px;color:#d7d7d7}.fslightboxsn span{display:inline;vertical-align:middle}.fslightboxsl{display:inline-block!important;margin:0 5px;width:1px;height:12px;transform:rotate(15deg);background:white}.fslightbox-toolbar{position:absolute;z-index:3;right:0;top:0;height:100%;display:flex}.fslightbox-toolbar-button{width:45px;height:100%}.fslightbox-fsx{width:24px;height:24px}.fslightboxb{border:0;background:rgba(35,35,35,.65);cursor:pointer}.fslightboxb:focus{outline:0}.fslightboxb:focus .fslightbox-svgp{fill:#fff}.fslightboxb:hover .fslightbox-svgp{fill:#fff}.fslightbox-slide-btn-container{display:flex;align-items:center;padding:12px 12px 12px 6px;position:absolute;top:50%;cursor:pointer;z-index:3;transform:translateY(-50%)}.fslightbox-slide-btn-container-next{right:0;padding-left:12px;padding-right:3px}@media (min-width:476px){.fslightbox-slide-btn-container{padding:22px 22px 22px 6px}.fslightbox-slide-btn-container-next{padding-right:6px!important;padding-left:22px}}@media (min-width:768px){.fslightbox-slide-btn-container{padding:30px 30px 30px 6px}.fslightbox-slide-btn-container-next{padding-left:30px}.fslightbox-slide-btn{padding:10px}}.fslightbox-slide-btn-container:hover .fslightbox-svgp{fill:#fff}.fslightbox-slide-btn{padding:9px}.fslightbox-slide-btn-container-previous{left:0}@media (max-width:475.99px){.fslightbox-slide-btn-container-previous{padding-left:3px}}.fslightbox-down-event-detector{position:absolute;z-index:1}.fslightbox-slide-swiping-hoverer{z-index:4}.fslightbox-invalid-file-wrapper{font-size:22px;color:#eaebeb;margin:auto}.fslightboxv{object-fit:cover}.fslightbox-youtube-iframe{border:0}.fslightboxl{display:block;margin:auto;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:67px;height:67px}.fslightboxl div{box-sizing:border-box;display:block;position:absolute;width:54px;height:54px;margin:6px;border:5px solid;border-color:#999 transparent transparent transparent;border-radius:50%;animation:fslightboxl 1.2s cubic-bezier(.5,0,.5,1) infinite}.fslightboxl div:nth-child(1){animation-delay:-.45s}.fslightboxl div:nth-child(2){animation-delay:-.3s}.fslightboxl div:nth-child(3){animation-delay:-.15s}@keyframes fslightboxl{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}.fslightbox-source{position:relative;z-index:2;opacity:0}@media (min-width:1200px){.fslightboxsn{margin:15px 0 0 12px;font-size:16px;display:block}.fslightboxsl{margin:0 6px 1px 6px;height:14px}.fslightbox-slide-btn{padding:11px}.fslightbox-svg{width:22px;height:22px}.fslightbox-fsx{width:26px;height:26px}.fslightbox-fso{width:22px;height:22px}.fslightboxl div{width:60px;height:60px;border-width:6px;border-color:#999 transparent transparent transparent;border-radius:50%}}@media (min-width:1600px){.fslightbox-nav{height:50px}.fslightboxsn{display:flex;margin:19px 0 0 16px;font-size:20px}.fslightboxsl{margin:0 7px 1px 7px;height:16px;width:2px;background:#d7d7d7}.fslightbox-toolbar-button{width:50px}.fslightbox-slide-btn{padding:12px}.fslightbox-svg{width:24px;height:24px}.fslightbox-fsx{width:28px;height:28px}.fslightbox-fso{width:24px;height:24px}}")),document.head.appendChild(n));function z(g){var m,T=g.props,y=0,M={};this.getSourceTypeFromLocalStorageByUrl=function(A){return m[A]?m[A]:I(A)},this.handleReceivedSourceTypeForUrl=function(A,O){if(M[O]===!1&&(y--,A!=="invalid"?M[O]=A:delete M[O],y===0)){(function(L,q){for(var R in q)L[R]=q[R]})(m,M);try{localStorage.setItem("fslightbox-types",JSON.stringify(m))}catch{}}};var I=function(A){y++,M[A]=!1};if(T.disableLocalStorage)this.getSourceTypeFromLocalStorageByUrl=function(){},this.handleReceivedSourceTypeForUrl=function(){};else{try{m=JSON.parse(localStorage.getItem("fslightbox-types"))}catch{}m||(m={},this.getSourceTypeFromLocalStorageByUrl=I)}}function D(g,m,T,y){g.data;var M=g.elements.sources,I=T/y,A=0;this.adjustSize=function(){if((A=g.mw/I)g.mh?g.mh:y,O()};var O=function(){M[m].style.width=A*I+"px",M[m].style.height=A+"px"}}function oe(g,m){var T=this,y=g.collections.sourceSizers,M=g.elements,I=M.sourceAnimationWrappers,A=M.sources,O=g.isl,L=g.props.onSourceLoad,q=g.resolve;function R(Y,V){y[m]=q(D,[m,Y,V]),y[m].adjustSize()}this.b=function(Y,V){A[m].classList.add(P),T.a(),R(Y,V),T.b=R},this.a=function(){O[m]=!0,I[m].classList.add(b),I[m].removeChild(I[m].firstChild),L&&L(g,A[m],m)}}function X(g,m){var T,y=this,M=g.elements.sources,I=g.props,A=(0,g.resolve)(oe,[m]);this.handleImageLoad=function(O){var L=O.target,q=L.naturalWidth,R=L.naturalHeight;A.b(q,R)},this.handleVideoLoad=function(O){var L=O.target,q=L.videoWidth,R=L.videoHeight;T=!0,A.b(q,R)},this.handleNotMetaDatedVideoLoad=function(){T||y.handleYoutubeLoad()},this.handleYoutubeLoad=function(O,L){O||(O=1920,L=1080),I.maxYoutubeDimensions&&(O=I.maxYoutubeDimensions.width,L=I.maxYoutubeDimensions.height),A.b(O,L)},this.handleCustomLoad=function(){var O=M[m],L=O.offsetWidth,q=O.offsetHeight;L&&q?A.b(L,q):setTimeout(y.handleCustomLoad)}}function le(g,m,T){var y=g.elements.sources,M=g.props.customClasses,I=M[m]?M[m]:"";y[m].className=T+" "+I}function re(g,m){var T=g.elements.sources,y=g.props.customAttributes;for(var M in y[m])T[m].setAttribute(M,y[m][M])}function ge(g,m){var T=g.collections.sourceLoadHandlers,y=g.elements,M=y.sources,I=y.sourceAnimationWrappers,A=g.props.sources;M[m]=document.createElement("img"),le(g,m,F),M[m].src=A[m],M[m].onload=T[m].handleImageLoad,re(g,m),I[m].appendChild(M[m])}function _e(g,m){var T=g.ap,y=g.collections.sourceLoadHandlers,M=g.elements,I=M.sources,A=M.sourceAnimationWrappers,O=g.props,L=O.sources,q=O.videosPosters,R=document.createElement("video"),Y=document.createElement("source");I[m]=R,le(g,m,"".concat(F," fslightboxv")),R.src=L[m],R.onloadedmetadata=function(V){return y[m].handleVideoLoad(V)},R.controls=!0,R.autoplay=T.i(m),re(g,m),q[m]&&(I[m].poster=q[m]),Y.src=L[m],R.appendChild(Y),setTimeout(y[m].handleNotMetaDatedVideoLoad,3e3),A[m].appendChild(I[m])}function Z(g,m){var T=g.ap,y=g.collections.sourceLoadHandlers,M=g.elements,I=M.sources,A=M.sourceAnimationWrappers,O=g.props.sources[m],L=O.split("?")[1],q=document.createElement("iframe");I[m]=q,le(g,m,"".concat(F," ").concat(s,"youtube-iframe")),q.src="https://www.youtube.com/embed/".concat(O.match(/^.*(youtu.be\/|v\/|u\/\w\/|embed\/|watch\?v=|\&v=)([^#\&\?]*).*/)[2],"?").concat(L||"").concat(T.i(m)?"&mute=1&autoplay=1":"","&enablejsapi=1"),q.allowFullscreen=!0,re(g,m),A[m].appendChild(q),y[m].handleYoutubeLoad(parseInt(q.width),parseInt(q.height))}function me(g,m){var T=g.collections.sourceLoadHandlers,y=g.elements,M=y.sources,I=y.sourceAnimationWrappers,A=g.props.sources;M[m]=A[m],le(g,m,"".concat(M[m].className," ").concat(F)),I[m].appendChild(M[m]),T[m].handleCustomLoad()}function we(g,m){var T=g.elements,y=T.sources,M=T.sourceAnimationWrappers;g.props.sources,y[m]=document.createElement("div"),y[m].className="".concat(s,"invalid-file-wrapper ").concat(c),y[m].innerHTML="Invalid source",M[m].appendChild(y[m]),new oe(g,m).a()}function x(g){var m=g.collections,T=m.sourceLoadHandlers,y=m.sourcesRenderFunctions,M=g.core.sourceDisplayFacade,I=g.resolve;this.runActionsForSourceTypeAndIndex=function(A,O){var L;switch(A!=="invalid"&&(T[O]=I(X,[O])),A){case"image":L=ge;break;case"video":L=_e;break;case"youtube":L=Z;break;case"custom":L=me;break;default:L=we}y[O]=function(){return L(g,O)},M.displaySourcesWhichShouldBeDisplayed()}}function Ce(g,m,T){var y=g.props,M=y.types,I=y.type,A=y.sources;this.getTypeSetByClientForIndex=function(O){var L;return M&&M[O]?L=M[O]:I&&(L=I),L},this.retrieveTypeWithXhrForIndex=function(O){(function(L,q){var R=document.createElement("a");R.href=L;var Y=R.hostname;if(Y==="www.youtube.com"||Y==="youtu.be")return q("youtube");var V=new XMLHttpRequest;V.onreadystatechange=function(){if(V.readyState!==4){if(V.readyState===2){var Q,W=V.getResponseHeader("content-type");switch(W.slice(0,W.indexOf("/"))){case"image":Q="image";break;case"video":Q="video";break;default:Q="invalid"}V.onreadystatechange=null,V.abort(),q(Q)}}else q("invalid")},V.open("GET",L),V.send()})(A[O],function(L){m.handleReceivedSourceTypeForUrl(L,A[O]),T.runActionsForSourceTypeAndIndex(L,O)})}}function rt(g,m){var T=g.core.stageManager,y=g.elements,M=y.smw,I=y.sourceWrappersContainer,A=g.props,O=0,L=document.createElement("div");function q(Y){L.style.transform="translateX(".concat(Y+O,"px)"),O=0}function R(){return(1+A.slideDistance)*innerWidth}L.className="".concat(f," ").concat(u," ").concat(c),L.s=function(){L.style.display="flex"},L.h=function(){L.style.display="none"},L.a=function(){L.classList.add(h)},L.d=function(){L.classList.remove(h)},L.n=function(){L.style.removeProperty("transform")},L.v=function(Y){return O=Y,L},L.ne=function(){q(-R())},L.z=function(){q(0)},L.p=function(){q(R())},T.i(m)||L.h(),M[m]=L,I.appendChild(L),function(Y,V){var Q=Y.elements,W=Q.smw,ne=Q.sourceAnimationWrappers,J=document.createElement("div"),U=document.createElement("div");U.className="fslightboxl";for(var ee=0;ee<3;ee++){var ye=document.createElement("div");U.appendChild(ye)}J.appendChild(U),W[V].appendChild(J),ne[V]=J}(g,m)}function yt(g,m,T){var y=document.createElementNS("http://www.w3.org/2000/svg","svg"),M="".concat(s,"svg");y.setAttributeNS(null,"class","".concat(M)),y.setAttributeNS(null,"viewBox",m);var I=document.createElementNS("http://www.w3.org/2000/svg","path");return I.setAttributeNS(null,"class","".concat(M,"p")),I.setAttributeNS(null,"d",T),y.appendChild(I),g.appendChild(y),y}function Oe(g,m){var T=document.createElement("button");return T.className="fslightboxb ".concat(s,"toolbar-button ").concat(c),T.title=m,g.appendChild(T),T}function $e(g,m){var T=document.createElement("div");T.className="".concat(s,"toolbar"),m.appendChild(T),function(y,M){if(!y.hfs){var I="M4.5 11H3v4h4v-1.5H4.5V11zM3 7h1.5V4.5H7V3H3v4zm10.5 6.5H11V15h4v-4h-1.5v2.5zM11 3v1.5h2.5V7H15V3h-4z",A=Oe(M);A.title="Enter fullscreen";var O=yt(A,"0 0 18 18",I);y.fso=function(){y.ifs=1,A.title="Exit fullscreen",O.classList.add("".concat(s,"fsx")),O.setAttributeNS(null,"viewBox","0 0 950 1024"),O.firstChild.setAttributeNS(null,"d","M682 342h128v84h-212v-212h84v128zM598 810v-212h212v84h-128v128h-84zM342 342v-128h84v212h-212v-84h128zM214 682v-84h212v212h-84v-128h-128z")},y.fsx=function(){y.ifs=0,A.title="Enter fullscreen",O.classList.remove("".concat(s,"fsx")),O.setAttributeNS(null,"viewBox","0 0 18 18"),O.firstChild.setAttributeNS(null,"d",I)},A.onclick=y.fs.t}}(g,T),function(y,M){var I=Oe(M,"Close");I.onclick=y.core.lightboxCloser.closeLightbox,yt(I,"0 0 24 24","M 4.7070312 3.2929688 L 3.2929688 4.7070312 L 10.585938 12 L 3.2929688 19.292969 L 4.7070312 20.707031 L 12 13.414062 L 19.292969 20.707031 L 20.707031 19.292969 L 13.414062 12 L 20.707031 4.7070312 L 19.292969 3.2929688 L 12 10.585938 L 4.7070312 3.2929688 z")}(g,T)}function Qe(g){var m=g.props.sources,T=g.elements.container,y=document.createElement("div");y.className="".concat(s,"nav"),T.appendChild(y),$e(g,y),m.length>1&&function(M,I){var A=M.props.sources,O=(M.stageIndexes,document.createElement("div")),L=document.createElement("span"),q=document.createElement("span"),R=document.createElement("span");O.className="fslightboxsn",M.sn=function(Y){return L.innerHTML=Y},q.className="fslightboxsl",R.innerHTML=A.length,O.appendChild(L),O.appendChild(q),O.appendChild(R),I.appendChild(O)}(g,y)}function De(g,m,T,y){var M=g.elements.container,I=T.charAt(0).toUpperCase()+T.slice(1),A=document.createElement("div");A.className="".concat(p," ").concat(p,"-").concat(T),A.title="".concat(I," slide"),A.onclick=m,function(O,L){var q=document.createElement("button");q.className="fslightboxb ".concat(_," ").concat(c),yt(q,"0 0 20 20",L),O.appendChild(q)}(A,y),M.appendChild(A)}function nt(g){var m=g.core,T=m.lightboxCloser,y=m.slideChangeFacade,M=g.fs;this.listener=function(I){switch(I.key){case"Escape":T.closeLightbox();break;case"ArrowLeft":y.changeToPrevious();break;case"ArrowRight":y.changeToNext();break;case"F11":I.preventDefault(),M.t()}}}function Ze(g){var m=g.elements,T=g.sourcePointerProps,y=g.stageIndexes;function M(I,A){m.smw[I].v(T.swipedX)[A]()}this.runActionsForEvent=function(I){var A,O,L;m.container.contains(m.slideSwipingHoverer)||m.container.appendChild(m.slideSwipingHoverer),A=m.container,O=l,(L=A.classList).contains(O)||L.add(O),T.swipedX=I.screenX-T.downScreenX;var q=y.previous,R=y.next;M(y.current,"z"),q!==void 0&&T.swipedX>0?M(q,"ne"):R!==void 0&&T.swipedX<0&&M(R,"p")}}function ni(g){var m=g.dss,T=g.props.sources,y=g.resolve,M=g.sourcePointerProps,I=y(Ze);T.length===1||m?this.listener=function(){M.swipedX=1}:this.listener=function(A){M.isPointering&&I.runActionsForEvent(A)}}function st(g){var m=g.core.slideIndexChanger,T=g.elements.smw,y=g.stageIndexes,M=g.sws;function I(O){var L=T[y.current];L.a(),L[O]()}function A(O,L){O!==void 0&&(T[O].s(),T[O][L]())}this.runPositiveSwipedXActions=function(){var O=y.previous;if(O===void 0)I("z");else{I("p");var L=y.next;m.changeTo(O);var q=y.previous;M.d(q),M.b(L),I("z"),A(q,"ne")}},this.runNegativeSwipedXActions=function(){var O=y.next;if(O===void 0)I("z");else{I("ne");var L=y.previous;m.changeTo(O);var q=y.next;M.d(q),M.b(L),I("z"),A(q,"p")}}}function Je(g,m){g.contains(m)&&g.removeChild(m)}function ve(g){var m=g.core.lightboxCloser,T=g.dss,y=g.elements,M=g.props,I=g.resolve,A=g.sourcePointerProps,O=I(st);this.runNoSwipeActions=function(){Je(y.container,y.slideSwipingHoverer),A.isSourceDownEventTarget||M.disableBackgroundClose||m.closeLightbox(),A.isPointering=!1},this.runActions=function(){T||(A.swipedX>0?O.runPositiveSwipedXActions():O.runNegativeSwipedXActions()),Je(y.container,y.slideSwipingHoverer),y.container.classList.remove(l),A.isPointering=!1}}function Le(g){var m=g.resolve,T=g.sourcePointerProps,y=m(ve);this.listener=function(){T.isPointering&&(T.swipedX?y.runActions():y.runNoSwipeActions())}}function ft(g){var m=this,T=g.core,y=T.globalEventsController,M=T.scrollbarRecompensor,I=(g.data,g.e),A=g.elements,O=g.fs,L=g.props,q=g.sourcePointerProps,R=g.ud;this.runActions=function(){m.i=1,A.container.classList.add(k),y.removeListeners(),L.exitFullscreenOnClose&&g.ifs&&O.x(),setTimeout(function(){m.i=0,q.isPointering=!1,A.container.classList.remove(k),document.documentElement.classList.remove(d),M.removeRecompense(),R&&A.container.close(),document.body.removeChild(A.container),I("onClose")},270)}}function ot(g,m){var T=g.classList;T.contains(m)&&T.remove(m)}function S(g){var m,T,y,M,I,A,O,L,q;(function(R){var Y=R.ap,V=R.elements.sources,Q=R.props,W=Q.autoplay,ne=Q.autoplays;function J(U,ee){if(ee!="play"||Y.i(U)){var ye=V[U];if(ye){var se=ye.tagName;if(se=="VIDEO")ye[ee]();else if(se=="IFRAME"){var fe=ye.contentWindow;fe&&fe.postMessage('{"event":"command","func":"'.concat(ee,'Video","args":""}'),"*")}}}}Y.i=function(U){return ne[U]||W&&ne[U]!=0},Y.p=function(U){J(U,"play")},Y.c=function(U,ee){J(U,"pause"),J(ee,"play")}})(g),function(R){R.data;var Y=R.fs,V=["fullscreenchange","webkitfullscreenchange","mozfullscreenchange","MSFullscreenChange"],Q=document.documentElement,W=Q.requestFullscreen;function ne(U){for(var ee=0;eeinnerHeight&&(document.body.style.marginRight=Y.scrollbarWidth+"px")}V.addRecompense=function(){document.readyState==="complete"?Q():addEventListener("load",function(){Q(),V.addRecompense=Q})},V.removeRecompense=function(){document.body.style.removeProperty("margin-right")}}(g),function(R){var Y=R.core,V=Y.slideChangeFacade,Q=Y.slideIndexChanger,W=Y.stageManager;R.props.sources.length>1?(V.changeToPrevious=function(){Q.jumpTo(W.getPreviousSlideIndex())},V.changeToNext=function(){Q.jumpTo(W.getNextSlideIndex())}):(V.changeToPrevious=function(){},V.changeToNext=function(){})}(g),function(R){var Y=R.ap,V=(R.componentsServices,R.core),Q=V.slideIndexChanger,W=V.sourceDisplayFacade,ne=V.stageManager,J=R.elements,U=J.smw,ee=J.sourceAnimationWrappers,ye=R.isl,se=R.stageIndexes,fe=R.sws;Q.changeTo=function(Te){Y.c(se.current,Te),se.current=Te,ne.updateStageIndexes(),R.sn(Te+1),W.displaySourcesWhichShouldBeDisplayed()},Q.jumpTo=function(Te){var K=se.previous,B=se.current,ae=se.next,H=ye[B],te=ye[Te];Q.changeTo(Te);for(var j=0;j992?R.mw=J*innerWidth:R.mw=innerWidth,R.mh=J*innerHeight;for(var U=0;U0)&&(g.loc=1),S(g),g.fs.i(),R.container=document.createElement(g.ud?"dialog":"div"),R.container.className="".concat(s,"container ").concat(u," ").concat(b),R.container.setAttribute("tabindex","0"),function(se){var fe=se.elements;fe.slideSwipingHoverer=document.createElement("div"),fe.slideSwipingHoverer.className="".concat(s,"slide-swiping-hoverer ").concat(u," ").concat(f)}(g),Qe(g),function(se){var fe=se.core.sourcesPointerDown,Te=se.elements,K=se.props.sources,B=document.createElement("div");B.className="".concat(f," ").concat(u),Te.container.appendChild(B),B.addEventListener("pointerdown",fe.listener),Te.sourceWrappersContainer=B;for(var ae=0;ae1&&(J=(ne=g).core.slideChangeFacade,De(ne,J.changeToPrevious,"previous","M18.271,9.212H3.615l4.184-4.184c0.306-0.306,0.306-0.801,0-1.107c-0.306-0.306-0.801-0.306-1.107,0L1.21,9.403C1.194,9.417,1.174,9.421,1.158,9.437c-0.181,0.181-0.242,0.425-0.209,0.66c0.005,0.038,0.012,0.071,0.022,0.109c0.028,0.098,0.075,0.188,0.142,0.271c0.021,0.026,0.021,0.061,0.045,0.085c0.015,0.016,0.034,0.02,0.05,0.033l5.484,5.483c0.306,0.307,0.801,0.307,1.107,0c0.306-0.305,0.306-0.801,0-1.105l-4.184-4.185h14.656c0.436,0,0.788-0.353,0.788-0.788S18.707,9.212,18.271,9.212z"),De(ne,J.changeToNext,"next","M1.729,9.212h14.656l-4.184-4.184c-0.307-0.306-0.307-0.801,0-1.107c0.305-0.306,0.801-0.306,1.106,0l5.481,5.482c0.018,0.014,0.037,0.019,0.053,0.034c0.181,0.181,0.242,0.425,0.209,0.66c-0.004,0.038-0.012,0.071-0.021,0.109c-0.028,0.098-0.075,0.188-0.143,0.271c-0.021,0.026-0.021,0.061-0.045,0.085c-0.015,0.016-0.034,0.02-0.051,0.033l-5.483,5.483c-0.306,0.307-0.802,0.307-1.106,0c-0.307-0.305-0.307-0.801,0-1.105l4.184-4.185H1.729c-0.436,0-0.788-0.353-0.788-0.788S1.293,9.212,1.729,9.212z")),function(se){for(var fe=se.props.sources,Te=se.resolve,K=Te(z),B=Te(x),ae=Te(Ce,[K,B]),H=0;H0&&arguments[0]!==void 0?arguments[0]:0,J=Y.previous,U=Y.current,ee=Y.next;Y.current=ne,Q||N(g),A.updateStageIndexes(),Q?(V.c(),V.a(),V.b(J),V.b(U),V.b(ee),q("onShow")):W(),I.displaySourcesWhichShouldBeDisplayed(),g.sn(ne+1),document.body.appendChild(R.container),g.ud&&R.container.showModal(),R.container.focus(),document.documentElement.classList.add(d),M.addRecompense(),y.attachListeners(),O.runActions(),R.smw[ne].n(),m.p(ne),q("onOpen")}}function $t(g,m,T){return($t=si()?Reflect.construct.bind():function(y,M,I){var A=[null];A.push.apply(A,M);var O=new(Function.bind.apply(y,A));return I&&Me(O,I.prototype),O}).apply(null,arguments)}function si(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Me(g,m){return(Me=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(T,y){return T.__proto__=y,T})(g,m)}function ti(g){return function(m){if(Array.isArray(m))return Gt(m)}(g)||function(m){if(typeof Symbol<"u"&&m[Symbol.iterator]!=null||m["@@iterator"]!=null)return Array.from(m)}(g)||function(m,T){if(m){if(typeof m=="string")return Gt(m,T);var y=Object.prototype.toString.call(m).slice(8,-1);if(y==="Object"&&m.constructor&&(y=m.constructor.name),y==="Map"||y==="Set")return Array.from(m);if(y==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(y))return Gt(m,T)}}(g)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function Gt(g,m){(m==null||m>g.length)&&(m=g.length);for(var T=0,y=new Array(m);T1&&arguments[1]!==void 0?arguments[1]:[];return T.unshift(g),$t(m,ti(T))},this.collections={sourceLoadHandlers:[],sourcesRenderFunctions:[],sourceSizers:[]},this.core={globalEventsController:{},lightboxCloser:{},lightboxUpdater:{},scrollbarRecompensor:{},slideChangeFacade:{},slideIndexChanger:{},sourcesPointerDown:{},sourceDisplayFacade:{},stageManager:{},windowResizeActioner:{}},this.ap={},this.fs={},this.sws={},this.e=function(m){g.props[m]&&g.props[m](g)},bt(this),this.close=function(){return g.core.lightboxCloser.closeLightbox()}},window.fsLightboxInstances={},oi(),window.refreshFsLightbox=function(){for(var g in fsLightboxInstances){var m=fsLightboxInstances[g].props;fsLightboxInstances[g]=new FsLightbox,fsLightboxInstances[g].props=m,fsLightboxInstances[g].props.sources=[],fsLightboxInstances[g].elements.a=[]}oi()}}])})})(fc);ki.registerPlugin(ce);(function(o,e){(function(){e.path.isFront,console.log("drupalSettings",e);const t=document.querySelector('main[role="main"]'),r=ki.matchMedia();console.log("gsap_mm",r);function n(){console.log("LeShedTheme init()"),console.log("deploy test to delete"),s(),a(),l(),c(),u()}function s(){document.getElementById("burger-btn").parentElement.addEventListener("click",function(h){this.firstElementChild.toggleAttribute("opened"),this.firstElementChild.nextElementSibling.toggleAttribute("opened")})}function a(){const d=document.querySelector('main[role="main"]'),h=d&&d.querySelector(".layout-content");if(!d||!h)return;const f=new cc({wrapper:d,content:h,duration:1.2,smoothWheel:!0});f.on("scroll",ce.update),ki.ticker.add(_=>f.raf(_*1e3)),ki.ticker.lagSmoothing(0)}function l(){console.log("initHomeColumnScrollSync");const d=document.querySelector(".layout--twocol-section--50-50 .layout__region--first"),h=document.querySelector(".layout--twocol-section--50-50 .layout__region--second");console.log(t,d,h),!(!t||!d||!h)&&(r.add("(min-width: 768px)",()=>([d,h].forEach(f=>{ki.to(f,{y:()=>{const _=t.clientHeight,p=t.scrollHeight-t.clientHeight,v=Math.max(0,f.offsetHeight-_);return p-v},ease:"none",scrollTrigger:{scroller:t,start:0,end:"max",scrub:!0,invalidateOnRefresh:!0}})}),()=>{})),window.addEventListener("load",()=>ce.refresh()))}function u(){console.log("initPageFull");const d=document.querySelector("article.node-type-projet.view-mode-full .cols>.col.left>header, article.node-type-evenement.view-mode-full>.cols>.col.left>header");console.log("pageHeader",d),d&&requestAnimationFrame(()=>{requestAnimationFrame(()=>{const _=d.offsetHeight,p=.4,v=_-_*p;r.add("(min-width: 768px)",()=>{ki.to(d,{scale:p,y:v,ease:"none",scrollTrigger:{scroller:t,start:0,end:v,scrub:!0,invalidateOnRefresh:!0}})})})});const h=document.querySelector("article.node-type-projet.view-mode-full .cols"),f=h&&h.querySelector(".col.left");if(h&&f){const p=()=>{const v=f.offsetHeight-t.clientHeight;return v>0?v:initheaderH?initheaderH.offsetHeight*.6:0};r.add("(min-width: 768px)",()=>{ki.fromTo(f,{y:0},{y:()=>t.scrollHeight-t.clientHeight-p(),ease:"none",scrollTrigger:{scroller:t,start:p,end:"max",scrub:!0,invalidateOnRefresh:!0}})})}}function c(){console.log("initFsLightbox");let d=document.querySelectorAll("article.node-type-projet.view-mode-full .field_images.multiple .field-item a");for(const h of d)h.setAttribute("data-fslightbox","gallery");window.refreshFsLightbox()}n()})()})(Drupal,drupalSettings);