PageSourceSearch

https://m.vten.ru/scripts/gsap.js?v=1791236498059

js vten.ru collected 2026-10-06 04:55:57 UTC 123,940 bytes, 1 lines download raw bytes

1(()=>{"use strict";let t,e,r,i,s,n,o,a,l={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},h={duration:.5,overwrite:!1,delay:0},p=1e8,d=1e-8,u=2*Math.PI,c=u/4,g=0,f=Math.sqrt,m=Math.cos,_=Math.sin,y=t=>"string"==typeof t,x=t=>"function"==typeof t,v=t=>"number"==typeof t,w=t=>void 0===t,b=t=>"object"==typeof t,T=t=>!1!==t,M=()=>"undefined"!=typeof window,k=t=>x(t)||y(t),P=Array.isArray,C=/(?:-?\.?\d|\.)+/gi,S=/[-+=.]*\d+[.e\-+]*\d*[e\-\+]*\d*/g,O=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,E=/[-+=.]*\d+(?:\.|e-|e)*\d*/gi,A=/\(([^()]+)\)/i,L=/[+-]=-?[\.\d]+/,D=/[#\-+.]*\b[a-z\d-=+%.]+/gi,Y={},X={},N=t=>(X=lt(t,Y))&&qe,R=(t,e)=>console.warn("Invalid property",t,"set to",e,"Missing plugin? gsap.registerPlugin()"),B=(t,e)=>!e&&console.warn(t),F=(t,e)=>t&&(Y[t]=e)&&X&&(X[t]=e)||Y,z=()=>0,I={},W=[],V={},H={},U={},q=30,j=[],G="",K=t=>{let e,r,i=t[0];if(b(i)||x(i)||(t=[t]),!(e=(i._gsap||{}).harness)){for(r=j.length;r--&&!j[r].targetTest(i););e=j[r]}for(r=t.length;r--;)t[r]&&(t[r]._gsap||(t[r]._gsap=new _e(t[r],e)))||t.splice(r,1);return t},Q=t=>t._gsap||K(Dt(t))[0]._gsap,Z=(t,e)=>{let r=t[e];return x(r)?t[e]():w(r)&&t.getAttribute(e)||r},$=(t,e)=>(t=t.split(",")).forEach(e)||t,J=t=>Math.round(1e5*t)/1e5||0,tt=(t,e)=>{let r=e.length,i=0;for(;t.indexOf(e[i])<0&&++i<r;);return i<r},et=(t,e,r)=>{let i,s=v(t[1]),n=(s?2:1)+(e<2?0:1),o=t[n];if(s&&(o.duration=t[1]),o.parent=r,e){for(i=o;r&&!("immediateRender"in i);)i=r.vars.defaults||{},r=T(r.vars.inherit)&&r.parent;o.immediateRender=T(i.immediateRender),e<2?o.runBackwards=1:o.startAt=t[n-1]}return o},rt=()=>{let t,e,r=W.length,i=W.slice(0);for(V={},W.length=0,t=0;t<r;t++)e=i[t],e&&e._lazy&&(e.render(e._lazy[0],e._lazy[1],!0)._lazy=0)},it=(t,e,r,i)=>{W.length&&rt(),t.render(e,r,i),W.length&&rt()},st=t=>{let e=parseFloat(t);return(e||0===e)&&(t+"").match(D).length<2?e:t},nt=t=>t,ot=(t,e)=>{for(let r in e)r in t||(t[r]=e[r]);return t},at=(t,e)=>{for(let r in e)r in t||"duration"===r||"ease"===r||(t[r]=e[r])},lt=(t,e)=>{for(let r in e)t[r]=e[r];return t},ht=(t,e)=>{for(let r in e)t[r]=b(e[r])?ht(t[r]||(t[r]={}),e[r]):e[r];return t},pt=(t,e)=>{let r,i={};for(r in t)r in e||(i[r]=t[r]);return i},dt=e=>{let r=e.parent||t,i=e.keyframes?at:ot;if(T(e.inherit))for(;r;)i(e,r.vars.defaults),r=r.parent||r._dp;return e},ut=function(t,e){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"_first",i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"_last",s=e._prev,n=e._next;s?s._next=n:t[r]===e&&(t[r]=n),n?n._prev=s:t[i]===e&&(t[i]=s),e._next=e._prev=e.parent=null},ct=(t,e)=>{!t.parent||e&&!t.parent.autoRemoveChildren||t.parent.remove(t),t._act=0},gt=t=>{let e=t;for(;e;)e._dirty=1,e=e.parent;return t},ft=t=>!t||t._ts&&ft(t.parent),mt=t=>t._repeat?_t(t._tTime,t=t.duration()+t._rDelay)*t:0,_t=(t,e)=>(t/=e)&&~~t===t?~~t-1:~~t,yt=(t,e)=>(t-e._start)*e._ts+(e._ts>=0?0:e._dirty?e.totalDuration():e._tDur),xt=t=>t._end=J(t._start+(t._tDur/Math.abs(t._ts||t._rts||d)||0)),vt=(t,e)=>{let r;if((e._time||e._initted&&!e._dur)&&(r=yt(t.rawTime(),e),(!e._dur||Ot(0,e.totalDuration(),r)-e._tTime>d)&&e.render(r,!0)),gt(t)._dp&&t._initted&&t._time>=t._dur&&t._ts){if(t._dur<t.duration())for(r=t;r._dp;)r.rawTime()>=0&&r.totalTime(r._tTime),r=r._dp;t._zTime=-1e-8}},wt=(t,e,r,i)=>(e.parent&&ct(e),e._start=J(r+e._delay),e._end=J(e._start+(e.totalDuration()/Math.abs(e.timeScale())||0)),function(t,e){let r,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"_first",s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"_last",n=arguments.length>4?arguments[4]:void 0,o=t[s];if(n)for(r=e[n];o&&o[n]>r;)o=o._prev;o?(e._next=o._next,o._next=e):(e._next=t[i],t[i]=e),e._next?e._next._prev=e:t[s]=e,e._prev=o,e.parent=e._dp=t}(t,e,"_first","_last",t._sort?"_start":0),t._recent=e,i||vt(t,e),t),bt=(t,e)=>(Y.ScrollTrigger||R("scrollTrigger",e))&&Y.ScrollTrigger.create(e,t),Tt=(t,e,r,i)=>(Me(t,e),t._initted?!r&&t._pt&&(t._dur&&!1!==t.vars.lazy||!t._dur&&t.vars.lazy)&&n!==se.frame?(W.push(t),t._lazy=[e,i],1):void 0:1),Mt=(t,e,r)=>{let i=t._repeat,s=J(e)||0;return t._dur=s,t._tDur=i?i<0?1e10:J(s*(i+1)+t._rDelay*i):s,t._time>s&&(t._time=s,t._tTime=Math.min(t._tTime,t._tDur)),!r&&gt(t.parent),t.parent&&xt(t),t},kt=t=>t instanceof xe?gt(t):Mt(t,t._dur),Pt={_start:0,endTime:z},Ct=(t,e)=>{let r,i,s=t.labels,n=t._recent||Pt,o=t.duration()>=p?n.endTime(!1):t._dur;return y(e)&&(isNaN(e)||e in s)?(r=e.charAt(0),"<"===r||">"===r?("<"===r?n._start:n.endTime(n._repeat>=0))+(parseFloat(e.substr(1))||0):(r=e.indexOf("="),r<0?(e in s||(s[e]=o),s[e]):(i=+(e.charAt(r-1)+e.substr(r+1)),r>1?Ct(t,e.substr(0,r-1))+i:o+i))):null==e?o:+e},St=(t,e)=>t||0===t?e(t):e,Ot=(t,e,r)=>r<t?t:r>e?e:r,Et=t=>(t+"").substr((parseFloat(t)+"").length),At=[].slice,Lt=(t,r)=>
1t&&b(t)&&"length"in t&&(!r&&!t.length||t.length-1 in t&&b(t[0]))&&!t.nodeType&&t!==e,Dt=(t,e)=>!y(t)||e||!r&&ne()?P(t)?function(t,e){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return t.forEach(t=>y(t)&&!e||Lt(t,1)?r.push(...Dt(t)):r.push(t))||r}(t,e):Lt(t)?At.call(t,0):t?[t]:[]:At.call(i.querySelectorAll(t),0),Yt=t=>t.sort(()=>.5-Math.random()),Xt=t=>{if(x(t))return t;let e=b(t)?t:{each:t},r=ue(e.ease),i=e.from||0,s=parseFloat(e.base)||0,n={},o=i>0&&i<1,a=isNaN(i)||o,l=e.axis,h=i,d=i;return y(i)?h=d={center:.5,edges:.5,end:1}[i]||0:!o&&a&&(h=i[0],d=i[1]),(t,o,u)=>{let c,g,m,_,y,x,v,w,b,T=(u||e).length,M=n[T];if(!M){if(b="auto"===e.grid?0:(e.grid||[1,p])[1],!b){for(v=-p;v<(v=u[b++].getBoundingClientRect().left)&&b<T;);b--}for(M=n[T]=[],c=a?Math.min(b,T)*h-.5:i%b,g=a?T*d/b-.5:i/b|0,v=0,w=p,x=0;x<T;x++)m=x%b-c,_=g-(x/b|0),M[x]=y=l?Math.abs("y"===l?_:m):f(m*m+_*_),y>v&&(v=y),y<w&&(w=y);"random"===i&&Yt(M),M.max=v-w,M.min=w,M.v=T=(parseFloat(e.amount)||parseFloat(e.each)*(b>T?T-1:l?"y"===l?T/b:b:Math.max(b,T/b))||0)*("edges"===i?-1:1),M.b=T<0?s-T:s,M.u=Et(e.amount||e.each)||0,r=r&&T<0?pe(r):r}return T=(M[t]-M.min)/M.max||0,J(M.b+(r?r(T):T)*M.v)+M.u}},Nt=t=>{let e=t<1?Math.pow(10,(t+"").length-2):1;return r=>Math.floor(Math.round(parseFloat(r)/t)*t*e)/e+(v(r)?0:Et(r))},Rt=(t,e)=>{let r,i,s=P(t);return!s&&b(t)&&(r=s=t.radius||p,t.values?(t=Dt(t.values),(i=!v(t[0]))&&(r*=r)):t=Nt(t.increment)),St(e,s?x(t)?e=>(i=t(e),Math.abs(i-e)<=r?i:e):e=>{let s,n,o=parseFloat(i?e.x:e),a=parseFloat(i?e.y:0),l=p,h=0,d=t.length;for(;d--;)i?(s=t[d].x-o,n=t[d].y-a,s=s*s+n*n):s=Math.abs(t[d]-o),s<l&&(l=s,h=d);return h=!r||l<=r?t[h]:e,i||h===e||v(e)?h:h+Et(e)}:Nt(t))},Bt=(t,e,r,i)=>St(P(t)?!e:!0===r?!!(r=0):!i,()=>P(t)?t[~~(Math.random()*t.length)]:(r=r||1e-5)&&(i=r<1?10**((r+"").length-2):1)&&Math.floor(Math.round((t+Math.random()*(e-t))/r)*r*i)/i),Ft=(t,e,r)=>St(r,r=>t[~~e(r)]),zt=function(t,e,r){let i=e-t;return P(t)?Ft(t,zt(0,t.length),e):St(r,e=>(i+(e-t)%i)%i+t)},It=(t,e,r)=>{let i=e-t,s=2*i;return P(t)?Ft(t,It(0,t.length-1),e):St(r,e=>t+((e=(s+(e-t)%s)%s||0)>i?s-e:e))},Wt=t=>{let e,r,i,s,n=0,o="";for(;~(e=t.indexOf("random(",n));)i=t.indexOf(")",e),s="["===t.charAt(e+7),r=t.substr(e+7,i-e-7).match(s?D:C),o+=t.substr(n,e-n)+Bt(s?r:+r[0],+r[1],+r[2]||1e-5),n=i+1;return o+t.substr(n,t.length-n)},Vt=(t,e,r,i,s)=>{let n=e-t,o=i-r;return St(s,e=>r+((e-t)/n*o||0))},Ht=(t,e,r,i)=>{let s=isNaN(t+e)?0:r=>(1-r)*t+r*e;if(!s){let n,o,a,l,h,p=y(t),d={};if(!0===r&&(i=1)&&(r=null),p)t={p:t},e={p:e};else if(P(t)&&!P(e)){for(a=[],l=t.length,h=l-2,o=1;o<l;o++)a.push(Ht(t[o-1],t[o]));l--,s=t=>{t*=l;let e=Math.min(h,~~t);return a[e](t-e)},r=e}else i||(t=lt(P(t)?[]:{},t));if(!a){for(n in e)be.call(d,t,n,"get",e[n]);s=e=>Re(e,d)||(p?t.p:t)}}return St(r,s)},Ut=(t,e,r)=>{let i,s,n,o=t.labels,a=p;for(i in o)s=o[i]-e,s<0==!!r&&s&&a>(s=Math.abs(s))&&(n=i,a=s);return n},qt=(t,e,r)=>{let i,s,n=t.vars,o=n[e];if(o)return i=n[e+"Params"],s=n.callbackScope||t,r&&W.length&&rt(),i?o.apply(s,i):o.call(s)},jt=t=>(ct(t),t.progress()<1&&qt(t,"onInterrupt"),t),Gt=t=>{let e=(t=!t.name&&t.default||t).name,r=x(t),i=e&&!r&&t.init?function(){this._props=[]}:t,s={init:z,render:Re,add:be,kill:Fe,modifier:Be,rawVars:0},n={targetTest:0,get:0,getSetter:De,aliases:{},register:0};if(ne(),t!==i){if(H[e])return;ot(i,ot(pt(t,s),n)),lt(i.prototype,lt(s,pt(t,n))),H[i.prop=e]=i,t.targetTest&&(j.push(i),I[e]=1),e=("css"===e?"CSS":e.charAt(0).toUpperCase()+e.substr(1))+"Plugin"}F(e,i),t.register&&t.register(qe,i,We)},Kt=255,Qt={aqua:[0,Kt,Kt],lime:[0,Kt,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,Kt],navy:[0,0,128],white:[Kt,Kt,Kt],olive:[128,128,0],yellow:[Kt,Kt,0],orange:[Kt,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[Kt,0,0],pink:[Kt,192,203],cyan:[0,Kt,Kt],transparent:[Kt,Kt,Kt,0]},Zt=(t,e,r)=>(6*(t=t<0?t+1:t>1?t-1:t)<1?e+(r-e)*t*6:t<.5?r:3*t<2?e+(r-e)*(2/3-t)*6:e)*Kt+.5|0,$t=(t,e,r)=>{let i,s,n,o,a,l,h,p,d,u,c=t?v(t)?[t>>16,t>>8&Kt,t&Kt]:0:Qt.black;if(!c){if(","===t.substr(-1)&&(t=t.substr(0,t.length-1)),Qt[t])c=Qt[t];else if("#"===t.charAt(0))4===t.length&&(i=t.charAt(1),s=t.charAt(2),n=t.charAt(3),t="#"+i+i+s+s+n+n),c=[(t=parseInt(t.substr(1),16))>>16,t>>8&Kt,t&Kt];else if("hsl"===t.substr(0,3))if(c=u=t.match(C),e){if(~t.indexOf("="))return c=t.match(S),r&&c.length<4&&(c[3]=1),c}else o=+c[0]%360/360,a=+c[1]/100,l=+c[2]/100,s=l<=.5?l*(a+1):l+a-l*a,i=2*l-s,c.length>3&&(c[3]*=1),c[0]=Zt(o+1/3,i,s),c[1]=Zt(o,i,s),c[2]=Zt(o-1/3,i,s);else c=t.match(C)||Qt.transparent;c=c.map(Number)}return e&&!u&&(i=c[0]/Kt,s=c[1]/Kt,n=c[2]/Kt,h=Math.max(i,s,n),p=Math.min(i,s,n),l=(h+p)/2,h===p?o=a=0:(d=h-p,a=l>.5?d/(2-h-p):d/(h+p),o=h===i?(s-n)/d+(s<n?6:0):h===s?(n-i)/d+2:(i-s)/d+4,o*=60),c[0]=~~(o+.5),c[1]=~~(100*a+.5),c[2]=~~(100*l+.5)),r&&c.length<4&&(c[3]=1),c},Jt=t=>{let e=[],r=[],i=-1;return t.split(ee).forEach(t=>{let s=t.match(O)||[];e.push(...s),r.push(i+=s.length+1)}),e.c=r,e},te=(t,e,r)=>{let i,s,n,o,a="",l=(t+a).match(ee),h=e?"hsla(":"rgba(",p=0;if(!l)return t;if(l=l.map(t=>(t=$t(t,e,1))&&h+(e?t[0]+","+t[1]+"%,"+t[2]+"%,"+t[3]:t.join(","))+")"),r&&(n=Jt(t),i=r.c,i.join(a)!==n.c.join(a)))for(s=t.replace(ee,"1").split(O),o=s.length-1;p<o;p++)a+=s[p]+(~i.indexOf(p)?l.shift()||h+"0,0,0,0)":(n.length?n:l.length?l:r).shift());if(!s)for(s=t.split(ee),o=s.length-1;p<o;p++)a+=s[p]+l[p];return a+s[o]},ee=function(){let t,e="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3}){1,2}\\b";for(t in Qt)e+="|"+t+"\\b";return new RegExp(e+")","gi")}(),re=/hsl[a]?\(/,ie=t=>{let e,r=t.join(" ");if(ee.lastIndex=0,ee.test(r))return e=re.test(r),t[1]=te(t[1],e),t[0]=te(t[0],e,Jt(t[1])
1),!0},se=function(){let t,n,o,l,h=Date.now,p=500,d=33,u=h(),c=u,g=1/240,f=g,m=[],_=e=>{let r,i,s=h()-c,o=!0===e;s>p&&(u+=s-d),c+=s,l.time=(c-u)/1e3,r=l.time-f,(r>0||o)&&(l.frame++,f+=r+(r>=g?.004:g-r),i=1),o||(t=n(_)),i&&m.forEach(t=>t(l.time,s,l.frame,e))};return l={time:0,frame:0,tick(){_(!0)},wake(){s&&(!r&&M()&&(e=r=window,i=e.document||{},Y.gsap=qe,(e.gsapVersions||(e.gsapVersions=[])).push(qe.version),N(X||e.GreenSockGlobals||!e.gsap&&e||{}),o=e.requestAnimationFrame),t&&l.sleep(),n=o||(t=>setTimeout(t,1e3*(f-l.time)+1|0)),a=1,_(2))},sleep(){(o?e.cancelAnimationFrame:clearTimeout)(t),a=0,n=z},lagSmoothing(t,e){p=t||1e8,d=Math.min(e,p,0)},fps(t){g=1/(t||240),f=l.time+g},add(t){m.indexOf(t)<0&&m.push(t),ne()},remove(t){let e;~(e=m.indexOf(t))&&m.splice(e,1)},_listeners:m},l}(),ne=()=>!a&&se.wake(),oe={},ae=/^[\d.\-M][\d.\-,\s]/,le=/["']/g,he=t=>{let e,r,i,s={},n=t.substr(1,t.length-3).split(":"),o=n[0],a=1,l=n.length;for(;a<l;a++)r=n[a],e=a!==l-1?r.lastIndexOf(","):r.length,i=r.substr(0,e),s[o]=isNaN(i)?i.replace(le,"").trim():+i,o=r.substr(e+1).trim();return s},pe=t=>e=>1-t(1-e),de=(t,e)=>{let r,i=t._first;for(;i;)i instanceof xe?de(i,e):!i.vars.yoyoEase||i._yoyo&&i._repeat||i._yoyo===e||(i.timeline?de(i.timeline,e):(r=i._ease,i._ease=i._yEase,i._yEase=r,i._yoyo=e)),i=i._next},ue=(t,e)=>t&&(x(t)?t:oe[t]||(t=>{let e=(t+"").split("("),r=oe[e[0]];return r&&e.length>1&&r.config?r.config.apply(null,~t.indexOf("{")?[he(e[1])]:A.exec(t)[1].split(",").map(st)):oe._CE&&ae.test(t)?oe._CE("",t):r})(t))||e,ce=function(t,e){let r,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t=>1-e(1-t),s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:t=>t<.5?e(2*t)/2:1-e(2*(1-t))/2,n={easeIn:e,easeOut:i,easeInOut:s};return $(t,t=>{oe[t]=Y[t]=n,oe[r=t.toLowerCase()]=i;for(let e in n)oe[r+("easeIn"===e?".in":"easeOut"===e?".out":".inOut")]=oe[t+"."+e]=n[e]}),n},ge=t=>e=>e<.5?(1-t(1-2*e))/2:.5+t(2*(e-.5))/2,fe=(t,e,r)=>{let i=e>=1?e:1,s=(r||(t?.3:.45))/(e<1?e:1),n=s/u*(Math.asin(1/i)||0),o=t=>1===t?1:i*2**(-10*t)*_((t-n)*s)+1,a="out"===t?o:"in"===t?t=>1-o(1-t):ge(o);return s=u/s,a.config=(e,r)=>fe(t,e,r),a},me=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1.70158,r=t=>t?--t*t*((e+1)*t+e)+1:0,i="out"===t?r:"in"===t?t=>1-r(1-t):ge(r);return i.config=e=>me(t,e),i};$("Linear,Quad,Cubic,Quart,Quint,Strong",(t,e)=>{let r=e<5?e+1:e;ce(t+",Power"+(r-1),e?t=>t**r:t=>t,t=>1-(1-t)**r,t=>t<.5?(2*t)**r/2:1-(2*(1-t))**r/2)}),oe.Linear.easeNone=oe.none=oe.Linear.easeIn,ce("Elastic",fe("in"),fe("out"),fe()),((t,e)=>{let r=1/e,i=2*r,s=2.5*r,n=n=>n<r?t*n*n:n<i?t*(n-1.5/e)**2+.75:n<s?t*(n-=2.25/e)*n+.9375:t*(n-2.625/e)**2+.984375;ce("Bounce",t=>1-n(1-t),n)})(7.5625,2.75),ce("Expo",t=>t?2**(10*(t-1)):0),ce("Circ",t=>-(f(1-t*t)-1)),ce("Sine",t=>1===t?1:1-m(t*c)),ce("Back",me("in"),me("out"),me()),oe.SteppedEase=oe.steps=Y.SteppedEase={config(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,e=arguments.length>1?arguments[1]:void 0,r=1/t,i=t+(e?0:1),s=e?1:0;return t=>((i*Ot(0,.99999999,t)|0)+s)*r}},h.ease=oe["quad.out"],$("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",t=>G+=t+","+t+"Params,");class _e{constructor(t,e){this.id=g++,t._gsap=this,this.target=t,this.harness=e,this.get=e?e.get:Z,this.set=e?e.getSetter:De}}class ye{constructor(e,r){let i=e.parent||t;this.vars=e,this._delay=+e.delay||0,(this._repeat=e.repeat||0)&&(this._rDelay=e.repeatDelay||0,this._yoyo=!!e.yoyo||!!e.yoyoEase),this._ts=1,Mt(this,+e.duration,1),this.data=e.data,a||se.wake(),i&&wt(i,this,r||0===r?r:i._time,1),e.reversed&&this.reverse(),e.paused&&this.paused(!0)}delay(t){return t||0===t?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+t-this._delay),this._delay=t,this):this._delay}duration(t){return arguments.length?this.totalDuration(this._repeat>0?t+(t+this._rDelay)*this._repeat:t):this.totalDuration()&&this._dur}totalDuration(t){return arguments.length?(this._dirty=0,Mt(this,this._repeat<0?t:(t-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur}totalTime(t,e){if(ne(),!arguments.length)return this._tTime;let r=this.parent||this._dp;if(r&&r.smoothChildTiming&&this._ts){for(this._start=J(r._time-(this._ts>0?t/this._ts:((this._dirty?this.totalDuration():this._tDur)-t)/-this._ts
1)),xt(this),r._dirty||gt(r);r.parent;)r.parent._time!==r._start+(r._ts>=0?r._tTime/r._ts:(r.totalDuration()-r._tTime)/-r._ts)&&r.totalTime(r._tTime,!0),r=r.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&t<this._tDur||this._ts<0&&t>0||!this._tDur&&!t)&&wt(this._dp,this,this._start-this._delay)}return(this._tTime!==t||!this._dur&&!e||this._initted&&Math.abs(this._zTime)===d||!t&&!this._initted)&&(this._ts||(this._pTime=t),it(this,t,e)),this}time(t,e){return arguments.length?this.totalTime(Math.min(this.totalDuration(),t+mt(this))%this._dur||(t?this._dur:0),e):this._time}totalProgress(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.ratio}progress(t,e){return arguments.length?this.totalTime(this.duration()*(!this._yoyo||1&this.iteration()?t:1-t)+mt(this),e):this.duration()?Math.min(1,this._time/this._dur):this.ratio}iteration(t,e){let r=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(t-1)*r,e):this._repeat?_t(this._tTime,r)+1:1}timeScale(t){if(!arguments.length)return-1e-8===this._rts?0:this._rts;if(this._rts===t)return this;let e=this.parent&&this._ts?yt(this.parent._time,this):this._tTime;return this._rts=+t||0,this._ts=this._ps||-1e-8===t?0:this._rts,(t=>{let e=t.parent;for(;e&&e.parent;)e._dirty=1,e.totalDuration(),e=e.parent;return t})(this.totalTime(Ot(0,this._tDur,e),!0))}paused(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):(ne(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,1===this.progress()&&(this._tTime-=d)&&Math.abs(this._zTime)!==d))),this):this._ps}startTime(t){if(arguments.length){this._start=t;let e=this.parent||this._dp;return e&&(e._sort||!this.parent)&&wt(e,this,t-this._delay),this}return this._start}endTime(t){return this._start+(T(t)?this.totalDuration():this.duration())/Math.abs(this._ts)}rawTime(t){let e=this.parent||this._dp;return e?t&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?yt(e.rawTime(t),this):this._tTime:this._tTime}repeat(t){return arguments.length?(this._repeat=t,kt(this)):this._repeat}repeatDelay(t){return arguments.length?(this._rDelay=t,kt(this)):this._rDelay}yoyo(t){return arguments.length?(this._yoyo=t,this):this._yoyo}seek(t,e){return this.totalTime(Ct(this,t),T(e))}restart(t,e){return this.play().totalTime(t?-this._delay:0,T(e))}play(t,e){return null!=t&&this.seek(t,e),this.reversed(!1).paused(!1)}reverse(t,e){return null!=t&&this.seek(t||this.totalDuration(),e),this.reversed(!0).paused(!1)}pause(t,e){return null!=t&&this.seek(t,e),this.paused(!0)}resume(){return this.paused(!1)}reversed(t){return arguments.length?(!!t!==this.reversed()&&this.timeScale(-this._rts||(t?-1e-8:0)),this):this._rts<0}invalidate(){return this._initted=0,this._zTime=-1e-8,this}isActive(t){let e,r=this.parent||this._dp,i=this._start;return!(r&&!(this._ts&&(this._initted||!t)&&r.isActive(t)&&(e=r.rawTime(!0))>=i&&e<this.endTime(!0)-d))}eventCallback(t,e,r){let i=this.vars;return arguments.length>1?(e?(i[t]=e,r&&(i[t+"Params"]=r),"onUpdate"===t&&(this._onUpdate=e)):delete i[t],this):i[t]}then(t){let e=this;return new Promise(r=>{let i=x(t)?t:nt,s=()=>{let t=e.then;e.then=null,x(i)&&(i=i(e))&&(i.then||i===e)&&(e.then=t),r(i),e.then=t};e._initted&&1===e.totalProgress()&&e._ts>=0||!e._tTime&&e._ts<0?s():e._prom=s})}kill(){jt(this)}}ot(ye.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-1e-8,_prom:0,_ps:!1,_rts:1});class xe extends ye{constructor(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};super(t,arguments.length>1?arguments[1]:void 0),this.labels={},this.smoothChildTiming=!!t.smoothChildTiming,this.autoRemoveChildren=!!t.autoRemoveChildren,this._sort=T(t.sortChildren),this.parent&&vt(this.parent,this),t.scrollTrigger&&bt(this,t.scrollTrigger)}to(t,e,r){return new Se(t,et(arguments,0,this),Ct(this,v(e)?arguments[3]:r)),this}from(t,e,r){return new Se(t,et(arguments,1,this),Ct(this,v(e)?arguments[3]:r)),this}fromTo(t,e,r,i){return new Se(t,et(arguments,2,this),Ct(this,v(e)?arguments[4]:i)),this}set(t,e,r){return e.duration=0,e.parent=this,dt(e).repeatDelay||(e.repeat=0),e.immediateRender=!!e.immediateRender,new Se(t,e,Ct(this,r),1),this}call(t,e,r){return wt(this,Se.delayedCall(0,t,e),Ct(this,r))}staggerTo(t,e,r,i,s,n,o){return r.duration=e,r.stagger=r.stagger||i,r.onComplete=n,r.onCompleteParams=o,r.parent=this,new Se(t,r,Ct(this,s)),this}staggerFrom(t,e,r,i,s,n,o){return r.runBackwards=1,dt(r).immediateRender=T(r.immediateRender),this.staggerTo(t,e,r,i,s,n,o)}staggerFromTo(t,e,r,i,s,n,o,a){return i.startAt=r,dt(i).immediateRender=T(i.immediateRender),this.staggerTo(t,e,
1i,s,n,o,a)}render(e,r,i){let s,n,o,a,l,h,p,u,c,g,f,m,_=this._time,y=this._dirty?this.totalDuration():this._tDur,x=this._dur,v=this!==t&&e>y-d&&e>=0?y:e<d?0:e,w=this._zTime<0!=e<0&&(this._initted||!x);if(v!==this._tTime||i||w){if(_!==this._time&&x&&(v+=this._time-_,e+=this._time-_),s=v,c=this._start,u=this._ts,h=!u,w&&(x||(_=this._zTime),(e||!r)&&(this._zTime=e)),this._repeat&&(f=this._yoyo,l=x+this._rDelay,s=J(v%l),(s>x||y===v)&&(s=x),a=~~(v/l),a&&a===v/l&&(s=x,a--),g=_t(this._tTime,l),!_&&this._tTime&&g!==a&&(g=a),f&&1&a&&(s=x-s,m=1),a!==g&&!this._lock)){let t=f&&1&g,e=t===(f&&1&a);if(a<g&&(t=!t),_=t?0:x,this._lock=1,this.render(_||(m?0:J(a*l)),r,!x)._lock=0,!r&&this.parent&&qt(this,"onRepeat"),this.vars.repeatRefresh&&!m&&(this.invalidate()._lock=1),_!==this._time||h!==!this._ts)return this;if(e&&(this._lock=2,_=t?x+1e-4:-1e-4,this.render(_,!0),this.vars.repeatRefresh&&!m&&this.invalidate()),this._lock=0,!this._ts&&!h)return this;de(this,m)}if(this._hasPause&&!this._forcing&&this._lock<2&&(p=((t,e,r)=>{let i;if(r>e)for(i=t._first;i&&i._start<=r;){if(!i._dur&&"isPause"===i.data&&i._start>e)return i;i=i._next}else for(i=t._last;i&&i._start>=r;){if(!i._dur&&"isPause"===i.data&&i._start<e)return i;i=i._prev}})(this,J(_),J(s)),p&&(v-=s-(s=p._start))),this._tTime=v,this._time=s,this._act=!u,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=e),_||!s||r||qt(this,"onStart"),s>=_&&e>=0)for(n=this._first;n;){if(o=n._next,(n._act||s>=n._start)&&n._ts&&p!==n){if(n.parent!==this)return this.render(e,r,i);if(n.render(n._ts>0?(s-n._start)*n._ts:(n._dirty?n.totalDuration():n._tDur)+(s-n._start)*n._ts,r,i),s!==this._time||!this._ts&&!h){p=0,o&&(v+=this._zTime=-1e-8);break}}n=o}else{n=this._last;let t=e<0?e:s;for(;n;){if(o=n._prev,(n._act||t<=n._end)&&n._ts&&p!==n){if(n.parent!==this)return this.render(e,r,i);if(n.render(n._ts>0?(t-n._start)*n._ts:(n._dirty?n.totalDuration():n._tDur)+(t-n._start)*n._ts,r,i),s!==this._time||!this._ts&&!h){p=0,o&&(v+=this._zTime=t?-1e-8:d);break}}n=o}}if(p&&!r&&(this.pause(),p.render(s>=_?0:-1e-8)._zTime=s>=_?1:-1,this._ts))return this._start=c,xt(this),this.render(e,r,i);this._onUpdate&&!r&&qt(this,"onUpdate",!0),(v===y&&y>=this.totalDuration()||!v&&_)&&(c!==this._start&&Math.abs(u)===Math.abs(this._ts)||this._lock||((e||!x)&&(v===y&&this._ts>0||!v&&this._ts<0)&&ct(this,1),r||e<0&&!_||!v&&!_||(qt(this,v===y?"onComplete":"onReverseComplete",!0),this._prom&&!(v<y&&this.timeScale()>0)&&this._prom())))}return this}add(t,e){if(v(e)||(e=Ct(this,e)),!(t instanceof ye)){if(P(t))return t.forEach(t=>this.add(t,e)),gt(this);if(y(t))return this.addLabel(t,e);if(!x(t))return this;t=Se.delayedCall(0,t)}return this!==t?wt(this,t,e):this}getChildren(){let t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:-p,s=[],n=this._first;for(;n;)n._start>=i&&(n instanceof Se?e&&s.push(n):(r&&s.push(n),t&&s.push(...n.getChildren(!0,e,r)))),n=n._next;return s}getById(t){let e=this.getChildren(1,1,1),r=e.length;for(;r--;)if(e[r].vars.id===t)return e[r]}remove(t){return y(t)?this.removeLabel(t):x(t)?this.killTweensOf(t):(ut(this,t),t===this._recent&&(this._recent=this._last),gt(this))}totalTime(t,e){return arguments.length?(this._forcing=1,this.parent||this._dp||!this._ts||(this._start=J(se.time-(this._ts>0?t/this._ts:(this.totalDuration()-t)/-this._ts))),super.totalTime(t,e),this._forcing=0,this):this._tTime}addLabel(t,e){return this.labels[t]=Ct(this,e),this}removeLabel(t){return delete this.labels[t],this}addPause(t,e,r){let i=Se.delayedCall(0,e||z,r);return i.data="isPause",this._hasPause=1,wt(this,i,Ct(this,t))}removePause(t){let e=this._first;for(t=Ct(this,t);e;)e._start===t&&"isPause"===e.data&&ct(e),e=e._next}killTweensOf(t,e,r){let i=this.getTweensOf(t,r),s=i.length;for(;s--;)ve!==i[s]&&i[s].kill(t,e);return this}getTweensOf(t,e){let r,i=[],s=Dt(t),n=this._first;for(;n;)n instanceof Se?!tt(n._targets,s)||e&&!n.isActive("started"===e)||i.push(n):(r=n.getTweensOf(s,e)).length&&i.push(...r),n=n._next;return i}tweenTo(t,e){e=e||{};let r=this,i=Ct(r,t),s=e,n=s.startAt,o=s.onStart,a=s.onStartParams,l=Se.to(r,ot(e,{ease:"none",lazy:!1,time:i,duration:e.duration||Math.abs((i-(n&&"time"in n?n.time:r._time))/r.timeScale())||d,onStart:()=>{r.pause();let t=e.duration||Math.abs((i-r._time)/r.timeScale());l._dur!==t&&Mt(l,t).render(l._time,!0,!0),o&&o.apply(l,a||[])}}));return l}tweenFromTo(t,e,r){return this.tweenTo(e,ot({startAt:{time:Ct(this,t)}},r))}recent(){return this._recent}nextLabel(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._time;return Ut(this,Ct(this,t))}previousLabel(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._time;return Ut(this,Ct(this,t),1)}currentLabel(t){return arguments.length?this.seek(t,!0):this.previousLabel(this._time+d)}shiftChildren(t,e){let r,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,s=this._first,n=this.labels;for(;s;)s._start>=i&&(s._start+=t),s=s._next;if(e)for(r in n)n[r]>=i&&(n[r]+=t);return gt(this)}invalidate(){let t=this._first;for(this._lock=0;t;
1)t.invalidate(),t=t._next;return super.invalidate()}clear(){let t,e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],r=this._first;for(;r;)t=r._next,this.remove(r),r=t;return this._time=this._tTime=this._pTime=0,e&&(this.labels={}),gt(this)}totalDuration(e){let r,i,s,n,o=0,a=this,l=a._last,h=p;if(arguments.length)return a.timeScale((a._repeat<0?a.duration():a.totalDuration())/(a.reversed()?-e:e));if(a._dirty){for(n=a.parent;l;)r=l._prev,l._dirty&&l.totalDuration(),s=l._start,s>h&&a._sort&&l._ts&&!a._lock?(a._lock=1,wt(a,l,s-l._delay,1)._lock=0):h=s,s<0&&l._ts&&(o-=s,(!n&&!a._dp||n&&n.smoothChildTiming)&&(a._start+=s/a._ts,a._time-=s,a._tTime-=s),a.shiftChildren(-s,!1,-1/0),h=0),i=xt(l),i>o&&l._ts&&(o=i),l=r;Mt(a,a===t&&a._time>o?a._time:o,1),a._dirty=0}return a._tDur}static updateRoot(e){if(t._ts&&(it(t,yt(e,t)),n=se.frame),se.frame>=q){q+=l.autoSleep||120;let e=t._first;if((!e||!e._ts)&&l.autoSleep&&se._listeners.length<2){for(;e&&!e._ts;)e=e._next;e||se.sleep()}}}}ot(xe.prototype,{_lock:0,_hasPause:0,_forcing:0});let ve,we=function(t,e,r,i,s,n,o){let a,l,h,p,d,u,c,g,f=new We(this._pt,t,e,0,1,Ne,null,s),m=0,_=0;for(f.b=r,f.e=i,r+="",(c=~(i+="").indexOf("random("))&&(i=Wt(i)),n&&(g=[r,i],n(g,t,e),r=g[0],i=g[1]),l=r.match(E)||[];a=E.exec(i);)p=a[0],d=i.substring(m,a.index),h?h=(h+1)%5:"rgba("===d.substr(-5)&&(h=1),p!==l[_++]&&(u=parseFloat(l[_-1])||0,f._pt={_next:f._pt,p:d||1===_?d:",",s:u,c:"="===p.charAt(1)?parseFloat(p.substr(2))*("-"===p.charAt(0)?-1:1):parseFloat(p)-u,m:h&&h<4?Math.round:0},m=E.lastIndex);return f.c=m<i.length?i.substring(m,i.length):"",f.fp=o,(L.test(i)||c)&&(f.e=0),this._pt=f,f},be=function(t,e,r,i,s,n,o,a,h){x(i)&&(i=i(s||0,t,n));let p,d=t[e],u="get"!==r?r:x(d)?h?t[e.indexOf("set")||!x(t["get"+e.substr(3)])?e:"get"+e.substr(3)](h):t[e]():d,c=x(d)?h?Ae:Ee:Oe;if(y(i)&&(~i.indexOf("random(")&&(i=Wt(i)),"="===i.charAt(1)&&(i=parseFloat(u)+parseFloat(i.substr(2))*("-"===i.charAt(0)?-1:1)+(Et(u)||0))),u!==i)return isNaN(u+i)?(!d&&!(e in t)&&R(e,i),we.call(this,t,e,u,i,c,a||l.stringFilter,h)):(p=new We(this._pt,t,e,+u||0,i-(u||0),"boolean"==typeof d?Xe:Ye,0,c),h&&(p.fp=h),o&&p.modifier(o,this,t),this._pt=p)},Te=(t,e,r,i,s,n)=>{let a,l,h,p;if(H[t]&&!1!==(a=new H[t]).init(s,a.rawVars?e[t]:((t,e,r,i,s)=>{if(x(t)&&(t=ke(t,s,e,r,i)),!b(t)||t.style&&t.nodeType||P(t))return y(t)?ke(t,s,e,r,i):t;let n,o={};for(n in t)o[n]=ke(t[n],s,e,r,i);return o})(e[t],i,s,n,r),r,i,n)&&(r._pt=l=new We(r._pt,s,t,0,1,a.render,a,0,a.priority),r!==o))for(h=r._ptLookup[r._targets.indexOf(s)],p=a._props.length;p--;)h[a._props[p]]=l;return a},Me=(e,r)=>{let i,s,n,o,a,l,p,u,c,g,f,m,_=e.vars,y=_.ease,x=_.startAt,v=_.immediateRender,w=_.lazy,b=_.onUpdate,M=_.onUpdateParams,k=_.callbackScope,P=_.runBackwards,C=_.yoyoEase,S=_.keyframes,O=_.autoRevert,E=e._dur,A=e._startAt,L=e._targets,D=e.parent,Y=D&&"nested"===D.data?D.parent._targets:L,X="auto"===e._overwrite,N=e.timeline;if(N&&(!S||!y)&&(y="none"),e._ease=ue(y,h.ease),e._yEase=C?pe(ue(!0===C?y:C,h.ease)):0,C&&e._yoyo&&!e._repeat&&(C=e._yEase,e._yEase=e._ease,e._ease=C),!N){if(u=L[0]?Q(L[0]).harness:0,m=u&&_[u.prop],i=pt(_,I),A&&A.render(-1,!0).kill(),x){if(ct(e._startAt=Se.set(L,ot({data:"isStart",overwrite:!1,parent:D,immediateRender:!0,lazy:T(w),startAt:null,delay:0,onUpdate:b,onUpdateParams:M,callbackScope:k,stagger:0},x))),v)if(r>0)!O&&(e._startAt=0);else if(E)return}else if(P&&E)if(A)!O&&(e._startAt=0);else if(r&&(v=!1),n=ot({overwrite:!1,data:"isFromStart",lazy:v&&T(w),immediateRender:v,stagger:0,parent:D},i),m&&(n[u.prop]=m),ct(e._startAt=Se.set(L,n)),v){if(!r)return}else Me(e._startAt,d);for(e._pt=0,w=E&&T(w)||w&&!E,s=0;s<L.length;s++){if(a=L[s],p=a._gsap||K(L)[s]._gsap,e._ptLookup[s]=g={},V[p.id]&&rt(),f=Y===L?s:Y.indexOf(a),u&&!1!==(c=new u).init(a,m||i,e,f,Y)&&(e._pt=o=new We(e._pt,a,c.name,0,1,c.render,c,0,c.priority),c._props.forEach(t=>{g[t]=o}),c.priority&&(l=1)),!u||m)for(n in i)H[n]&&(c=Te(n,i,e,f,a,Y))?c.priority&&(l=1):g[n]=o=be.call(e,a,n,"get",i[n],f,Y,0,_.stringFilter);e._op&&e._op[s]&&e.kill(a,e._op[s]),X&&e._pt&&(ve=e,t.killTweensOf(a,g,"started"),ve=0),e._pt&&w&&(V[p.id]=1)}l&&Ie(e),e._onInit&&e._onInit(e)}e._from=!N&&!!_.runBackwards,e._onUpdate=b,e._initted=!!e.parent},ke=(t,e,r,i,s)=>x(t)?t.call(e,r,i,s):y(t)&&~t.indexOf("random(")?Wt(t):t,Pe=G+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase",Ce=(Pe+",id,stagger,delay,duration,paused,scrollTrigger").split(",");class Se extends ye{constructor(e,r,i,s){"number"==typeof r&&(i.duration=r,r=i,i=null),super(s?r:dt(r),i);let n,o,a,h,p,d,u,c,g=this.vars,f=g.duration,m=g.delay,_=g.immediateRender,y=g.stagger,x=g.overwrite,w=g.keyframes,M=g.defaults,C=g.scrollTrigger,S=g.yoyoEase,O=this.parent,E=(P(e)?v(e[0]):"length"in r)?[e]:Dt(e);
1if(this._targets=E.length?K(E):B("GSAP target "+e+" not found. https://greensock.com",!l.nullTargetWarn)||[],this._ptLookup=[],this._overwrite=x,w||y||k(f)||k(m)){if(r=this.vars,n=this.timeline=new xe({data:"nested",defaults:M||{}}),n.kill(),n.parent=this,w)ot(n.vars.defaults,{ease:"none"}),w.forEach(t=>n.to(E,t,">"));else{if(h=E.length,u=y?Xt(y):z,b(y))for(p in y)~Pe.indexOf(p)&&(c||(c={}),c[p]=y[p]);for(o=0;o<h;o++){for(p in a={},r)Ce.indexOf(p)<0&&(a[p]=r[p]);a.stagger=0,S&&(a.yoyoEase=S),c&&lt(a,c),d=E[o],a.duration=+ke(f,this,o,d,E),a.delay=(+ke(m,this,o,d,E)||0)-this._delay,!y&&1===h&&a.delay&&(this._delay=m=a.delay,this._start+=m,a.delay=0),n.to(d,a,u(o,d,E))}n.duration()?f=m=0:this.timeline=0}f||this.duration(f=n.duration())}else this.timeline=0;!0===x&&(ve=this,t.killTweensOf(E),ve=0),O&&vt(O,this),(_||!f&&!w&&this._start===J(O._time)&&T(_)&&ft(this)&&"nested"!==O.data)&&(this._tTime=-1e-8,this.render(Math.max(0,-m))),C&&bt(this,C)}render(t,e,r){let i,s,n,o,a,l,h,p,u,c=this._time,g=this._tDur,f=this._dur,m=t>g-d&&t>=0?g:t<d?0:t;if(f){if(m!==this._tTime||!t||r||this._startAt&&this._zTime<0!=t<0){if(i=m,p=this.timeline,this._repeat){if(o=f+this._rDelay,i=J(m%o),(i>f||g===m)&&(i=f),n=~~(m/o),n&&n===m/o&&(i=f,n--),l=this._yoyo&&1&n,l&&(u=this._yEase,i=f-i),a=_t(this._tTime,o),i===c&&!r&&this._initted)return this;n!==a&&(p&&this._yEase&&de(p,l),!this.vars.repeatRefresh||l||this._lock||(this._lock=r=1,this.render(J(o*n),!0).invalidate()._lock=0))}if(!this._initted){if(Tt(this,i,r,e))return this._tTime=0,this;if(f!==this._dur)return this.render(t,e,r)}for(this._tTime=m,this._time=i,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=h=(u||this._ease)(i/f),this._from&&(this.ratio=h=1-h),i&&!c&&!e&&qt(this,"onStart"),s=this._pt;s;)s.r(h,s.d),s=s._next;p&&p.render(t<0?t:!i&&l?-1e-8:p._dur*h,e,r)||this._startAt&&(this._zTime=t),this._onUpdate&&!e&&(t<0&&this._startAt&&this._startAt.render(t,!0,r),qt(this,"onUpdate")),this._repeat&&n!==a&&this.vars.onRepeat&&!e&&this.parent&&qt(this,"onRepeat"),m!==this._tDur&&m||this._tTime!==m||(t<0&&this._startAt&&!this._onUpdate&&this._startAt.render(t,!0,!0),(t||!f)&&(m===this._tDur&&this._ts>0||!m&&this._ts<0)&&ct(this,1),e||t<0&&!c||!m&&!c||(qt(this,m===g?"onComplete":"onReverseComplete",!0),this._prom&&!(m<g&&this.timeScale()>0)&&this._prom()))}}else((t,e,r,i)=>{let s,n,o,a=t.ratio,l=e<0||!e&&a&&!t._start&&t._zTime>d&&!t._dp._lock||t._ts<0||t._dp._ts<0?0:1,h=t._rDelay,p=0;if(h&&t._repeat&&(p=Ot(0,t._tDur,e),n=_t(p,h),o=_t(t._tTime,h),n!==o&&(a=1-l,t.vars.repeatRefresh&&t._initted&&t.invalidate())),t._initted||!Tt(t,e,i,r))if(l!==a||i||t._zTime===d||!e&&t._zTime){for(o=t._zTime,t._zTime=e||(r?d:0),r||(r=e&&!o),t.ratio=l,t._from&&(l=1-l),t._time=0,t._tTime=p,r||qt(t,"onStart"),s=t._pt;s;)s.r(l,s.d),s=s._next;t._startAt&&e<0&&t._startAt.render(e,!0,!0),t._onUpdate&&!r&&qt(t,"onUpdate"),p&&t._repeat&&!r&&t.parent&&qt(t,"onRepeat"),(e>=t._tDur||e<0)&&t.ratio===l&&(l&&ct(t,1),r||(qt(t,l?"onComplete":"onReverseComplete",!0),t._prom&&t._prom()))}else t._zTime||(t._zTime=e)})(this,t,e,r);return this}targets(){return this._targets}invalidate(){return this._pt=this._op=this._startAt=this._onUpdate=this._act=this._lazy=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(),super.invalidate()}kill(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"all";if(!(t||e&&"all"!==e)&&(this._lazy=0,this.parent))return jt(this);if(this.timeline){let r=this.timeline.totalDuration();return this.timeline.killTweensOf(t,e,ve&&!0!==ve.vars.overwrite)._first||jt(this),this.parent&&r!==this.timeline.totalDuration()&&Mt(this,this._dur*this.timeline._tDur/r),this}let r,i,s,n,o,a,l,h=this._targets,p=t?Dt(t):h,d=this._ptLookup,u=this._pt;if((!e||"all"===e)&&((t,e)=>{let r=t.length,i=r===e.length;for(;i&&r--&&t[r]===e[r];);return r<0}
1)(h,p))return jt(this);for((r=this._op=this._op||[],"all"!==e&&(y(e)&&(o={},$(e,t=>o[t]=1),e=o),e=((t,e)=>{let r,i,s,n,o=t[0]?Q(t[0]).harness:0,a=o&&o.aliases;if(!a)return e;for(i in r=lt({},e),a)if(i in r)for(n=a[i].split(","),s=n.length;s--;)r[n[s]]=r[i];return r})(h,e)),l=h.length);l--;)if(~p.indexOf(h[l]))for(o in i=d[l],"all"===e?(r[l]=e,n=i,s={}):(s=r[l]=r[l]||{},n=e),n)a=i&&i[o],a&&("kill"in a.d&&!0!==a.d.kill(o)||ut(this,a,"_pt"),delete i[o]),"all"!==s&&(s[o]=1);return this._initted&&!this._pt&&u&&jt(this),this}static to(t,e){return new Se(t,e,arguments[2])}static from(t,e){return new Se(t,et(arguments,1))}static delayedCall(t,e,r,i){return new Se(e,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:t,onComplete:e,onReverseComplete:e,onCompleteParams:r,onReverseCompleteParams:r,callbackScope:i})}static fromTo(t,e,r){return new Se(t,et(arguments,2))}static set(t,e){return e.duration=0,e.repeatDelay||(e.repeat=0),new Se(t,e)}static killTweensOf(e,r,i){return t.killTweensOf(e,r,i)}}ot(Se.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),$("staggerTo,staggerFrom,staggerFromTo",t=>{Se[t]=function(){let e=new xe,r=At.call(arguments,0);return r.splice("staggerFromTo"===t?5:4,0,0),e[t].apply(e,r)}});let Oe=(t,e,r)=>t[e]=r,Ee=(t,e,r)=>t[e](r),Ae=(t,e,r,i)=>t[e](i.fp,r),Le=(t,e,r)=>t.setAttribute(e,r),De=(t,e)=>x(t[e])?Ee:w(t[e])&&t.setAttribute?Le:Oe,Ye=(t,e)=>e.set(e.t,e.p,Math.round(1e4*(e.s+e.c*t))/1e4,e),Xe=(t,e)=>e.set(e.t,e.p,!!(e.s+e.c*t),e),Ne=function(t,e){let r=e._pt,i="";if(!t&&e.b)i=e.b;else if(1===t&&e.e)i=e.e;else{for(;r;)i=r.p+(r.m?r.m(r.s+r.c*t):Math.round(1e4*(r.s+r.c*t))/1e4)+i,r=r._next;i+=e.c}e.set(e.t,e.p,i,e)},Re=function(t,e){let r=e._pt;for(;r;)r.r(t,r.d),r=r._next},Be=function(t,e,r,i){let s,n=this._pt;for(;n;)s=n._next,n.p===i&&n.modifier(t,e,r),n=s},Fe=function(t){let e,r,i=this._pt;for(;i;)r=i._next,i.p===t&&!i.op||i.op===t?ut(this,i,"_pt"):i.dep||(e=1),i=r;return!e},ze=(t,e,r,i)=>{i.mSet(t,e,i.m.call(i.tween,r,i.mt),i)},Ie=t=>{let e,r,i,s,n=t._pt;for(;n;){for(e=n._next,r=i;r&&r.pr>n.pr;)r=r._next;(n._prev=r?r._prev:s)?n._prev._next=n:i=n,(n._next=r)?r._prev=n:s=n,n=e}t._pt=i};class We{constructor(t,e,r,i,s,n,o,a,l){this.t=e,this.s=i,this.c=s,this.p=r,this.r=n||Ye,this.d=o||this,this.set=a||Oe,this.pr=l||0,this._next=t,t&&(t._prev=this)}modifier(t,e,r){this.mSet=this.mSet||this.set,this.set=ze,this.m=t,this.mt=r,this.tween=e}}$(G+"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",t=>I[t]=1),Y.TweenMax=Y.TweenLite=Se,Y.TimelineLite=Y.TimelineMax=xe,t=new xe({sortChildren:!1,defaults:h,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),l.stringFilter=ie;const Ve={registerPlugin(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];e.forEach(t=>Gt(t))},timeline:t=>new xe(t),getTweensOf:(e,r)=>t.getTweensOf(e,r),getProperty(t,e,r,i){y(t)&&(t=Dt(t)[0]);let s=Q(t||{}).get,n=r?nt:st;return"native"===r&&(r=""),t?e?n((H[e]&&H[e].get||s)(t,e,r,i)):(e,r,i)=>n((H[e]&&H[e].get||s)(t,e,r,i)):t},quickSetter(t,e,r){if((t=Dt(t)).length>1){let i=t.map(t=>qe.quickSetter(t,e,r)),s=i.length;return t=>{let e=s;for(;e--;)i[e](t)}}t=t[0]||{};let i=H[e],s=Q(t),n=s.harness&&(s.harness.aliases||{})[e]||e,a=i?e=>{let s=new i;o._pt=0,s.init(t,r?e+r:e,o,0,[t]),s.render(1,s),o._pt&&Re(1,o)}:s.set(t,n);return i?a:e=>a(t,n,r?e+r:e,s,1)},isTweening:e=>t.getTweensOf(e,!0).length>0,defaults:t=>(t&&t.ease&&(t.ease=ue(t.ease,h.ease)),ht(h,t||{})),config:t=>ht(l,t||{}),registerEffect(t){let e=t.name,r=t.effect,i=t.plugins,s=t.defaults,n=t.extendTimeline;(i||"").split(",").forEach(t=>t&&!H[t]&&!Y[t]&&B(e+" effect requires "+t+" plugin.")),U[e]=(t,e,i)=>r(Dt(t),ot(e||{},s),i),n&&(xe.prototype[e]=function(t,r,i){return this.add(U[e](t,b(r)?r:(i=r)&&{},this),i)})},registerEase(t,e){oe[t]=ue(e)},parseEase(t,e){return arguments.length?ue(t,e):oe},getById:e=>t.getById(e),exportRoot(){let e,r,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},s=arguments.length>1?arguments[1]:void 0,n=new xe(i);for(n.smoothChildTiming=T(i.smoothChildTiming),t.remove(n),n._dp=0,n._time=n._tTime=t._time,e=t._first;e;)r=e._next,!s&&!e._dur&&e instanceof Se&&e.vars.onComplete===e._targets[0]||wt(n,e,e._start-e._delay),e=r;return wt(t,n,0),n},utils:{wrap:zt,wrapYoyo:It,distribute:Xt,random:Bt,snap:Rt,normalize:(t,e,r)=>Vt(t,e,0,1,r),getUnit:Et,clamp:(t,e,r)=>St(r,r=>Ot(t,e,r)),splitColor:$t,toArray:Dt,mapRange:Vt,pipe:function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return t=>e.reduce((t,e)=>e(t),t)},unitize:(t,e)=>r=>t(parseFloat(r))+(e||Et(r)),interpolate:Ht,shuffle:Yt},install:N,effects:U,ticker:se,updateRoot:xe.updateRoot,plugins:H,globalTimeline:t,core:{PropTween:We,globals:F,Tween:Se,Timeline:xe,Animation:ye,getCache:Q,_removeLinkedListItem:ut}};$("to,from,fromTo,delayedCall,set,killTweensOf",t=>Ve[t]=Se[t]),se.add(xe.updateRoot),o=Ve.to({},{duration:0});let He=(t,e)=>{let r=t._pt;for(;r&&r.p!==e&&r.op!==e&&r.fp!==e;)r=r._next;return r},Ue=(t,e)=>({name:t,rawVars:1,init(t,r,i){i._onInit=t=>{let i,s;if(y(r)&&(i={},$(r,t=>i[t]=1),r=i),e){for(s in i={},r)i[s]=e(r[s]);r=i}((t,e)=>{let r,i,s,n=t._targets;for(r in e)for(i=n.length;i--;)s=t._ptLookup[i][r],s&&(s=s.d)&&(s._pt&&(s=He(s,r)),s&&s.modifier&&s.modifier(e[r],t,n[i],r))})(t,r)}}});const qe=Ve.registerPlugin({name:"attr",init(t,e,r,i,s){let n,o;for(n in e)o=this.add(t,"setAttribute",(t.getAttribute(n)||0)+"",e[n],i,s,0,0,n),o&&(o.op=n),this._props.push(n)}},{name:"endArray",init(t,e){let r=e.length;for(;r--;)this.add(t,r,t[r]||0,e[r])}},Ue("roundProps",Nt),Ue("modifiers"),Ue("snap",Rt))||Ve;Se.version=xe.version=qe.version="3.3.4",s=1,M()&&ne();oe.Power0,oe.Power1,oe.Power2,oe.Power3,oe.Power4,oe.Linear,oe.Quad,oe.Cubic,oe.Quart,oe.Quint,oe.Strong,oe.Elastic,oe.Back,oe.SteppedEase,oe.Bounce,oe.Sine,oe.Expo,oe.Circ;let je,Ge,Ke,Qe,Ze,$e,Je,tr,er={},rr=180/Math.PI,ir=Math.PI/180,sr=Math.atan2,nr=/([A-Z])/g,or=/(?:left|right|width|margin|padding|x)/i,ar=/[\s,\(]\S/,lr={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},hr=(t,e)=>e.set(e.t,e.p,Math.round(1e4*(e.s+e.c*t))/1e4+e.u,e),pr=(t,e)=>e.set(e.t,e.p,1===t?e.e:Math.round(1e4*(e.s+e.c*t))/1e4+e.u,e),dr=(t,e)=>e.set(e.t,e.p,t?Math.round(1e4*(e.s+e.c*t))/1e4+e.u:e.b,e),ur=(t,e)=>{let r=e.s+e.c*t;e.set(e.t,e.p,~~(r+(r<0?-.5:.5))+e.u,e)},cr=(t,e)=>e.set(e.t,e.p,t?e.e:e.b,e),gr=(t,e)=>e.set(e.t,e.p,1!==t?e.b:e.e,e),fr=(t,e,r)=>t.style[e]=r,mr=(t,e,r)=>t.style.setProperty(e,r),_r=(t,e,r)=>t._gsap[e]=r,yr=(t,e,r)=>t._gsap.scaleX=t._gsap.scaleY=r,xr=(t,e,r,i,s)=>{let n=t._gsap;n.scaleX=n.scaleY=r,n.renderTransform(s,n)},vr=(t,e,r,i,s)=>{let n=t._gsap;n[e]=r,n.renderTransform(s,n)},wr="transform",br=wr+"Origin",Tr=(t,e)=>{let r=Ge.createElementNS?Ge.createElementNS((e||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),t):Ge.createElement(t);return r.style?r:Ge.createElement(t)},Mr=(t,e,r)=>{let i=getComputedStyle(t);return i[e]||i.getPropertyValue(e.replace(nr,"-$1").toLowerCase())||i.getPropertyValue(e)||!r&&Mr(t,Pr(e)||e,1)||""},kr="O,Moz,ms,Ms,Webkit".split(","),Pr=(t,e,r)=>{let i=(e||Ze).style,s=5;if(t in i&&!r)return t;for(t=t.charAt(0).toUpperCase()+t.substr(1);s--&&!(kr[s]+t in i););return s<0?null:(3===s?"ms":s>=0?kr[s]:"")+t},Cr=()=>{"undefined"!=typeof window&&window.document&&(je=window,Ge=je.document,Ke=Ge.documentElement,Ze=Tr("div")||{style:{}},$e=Tr("div"),wr=Pr(wr),br=Pr(br),Ze.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",tr=!!Pr("perspective"),Qe=1)},Sr=function(t){let e,r=Tr("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),i=this.parentNode,s=this.nextSibling,n=this.style.cssText;if(Ke.appendChild(r),r.appendChild(this),this.style.display="block",t)try{e=this.getBBox(),this._gsapBBox=this.getBBox,this.getBBox=Sr}catch(t){}else this._gsapBBox&&(e=this._gsapBBox());return i&&(s?i.insertBefore(this,s):i.appendChild(this)),Ke.removeChild(r),this.style.cssText=n,e},Or=(t,e)=>{let r=e.length;for(;r--;)if(t.hasAttribute(e[r]))return t.getAttribute(e[r])},Er=t=>{let e;try{e=t.getBBox()}catch(r){e=Sr.call(t,!0)}return e&&(e.width||e.height)||t.getBBox===Sr||(e=Sr.call(t,!0)),!e||e.width||e.x||e.y?e:{x:+Or(t,["x","cx","x1"])||0,y:+Or(t,["y","cy","y1"])||0,width:0,height:0}},Ar=t=>!(!t.getCTM||t.parentNode&&!t.ownerSVGElement||!Er(t)),Lr=(t,e)=>{if(e){let r=t.style;e in er&&(e=wr),r.removeProperty?("ms"!==e.substr(0,2)&&"webkit"!==e.substr(0,6)||(e="-"+e),r.removeProperty(e.replace(nr,"-$1").toLowerCase())):r.removeAttribute(e)}},Dr=(t,e,r,i,s,n)=>{let o=new We(t._pt,e,r,0,1,n?gr:cr);return t._pt=o,o.b=i,o.e=s,t._props.push(r),o}
1,Yr={deg:1,rad:1,turn:1},Xr=(t,e,r,i)=>{let s,n,o,a,l=parseFloat(r)||0,h=(r+"").trim().substr((l+"").length)||"px",p=Ze.style,d=or.test(e),u="svg"===t.tagName.toLowerCase(),c=(u?"client":"offset")+(d?"Width":"Height"),g=100,f="px"===i,m="%"===i;return i===h||!l||Yr[i]||Yr[h]?l:("px"!==h&&!f&&(l=Xr(t,e,r,"px")),a=t.getCTM&&Ar(t),m&&(er[e]||~e.indexOf("adius"))?J(l/(a?t.getBBox()[d?"width":"height"]:t[c])*g):(p[d?"width":"height"]=g+(f?h:i),n=~e.indexOf("adius")||"em"===i&&t.appendChild&&!u?t:t.parentNode,a&&(n=(t.ownerSVGElement||{}).parentNode),n&&n!==Ge&&n.appendChild||(n=Ge.body),o=n._gsap,o&&m&&o.width&&d&&o.time===se.time?J(l/o.width*g):((m||"%"===h)&&(p.position=Mr(t,"position")),n===t&&(p.position="static"),n.appendChild(Ze),s=Ze[c],n.removeChild(Ze),p.position="absolute",d&&m&&(o=Q(n),o.time=se.time,o.width=n[c]),J(f?s*l/g:s&&l?g/s*l:0))))},Nr=(t,e,r,i)=>{let s;return Qe||Cr(),e in lr&&"transform"!==e&&~(e=lr[e]).indexOf(",")&&(e=e.split(",")[0]),er[e]&&"transform"!==e?(s=Gr(t,i),s="transformOrigin"!==e?s[e]:Kr(Mr(t,br))+" "+s.zOrigin+"px"):(s=t.style[e],(!s||"auto"===s||i||~(s+"").indexOf("calc("))&&(s=Ir[e]&&Ir[e](t,e,r)||Mr(t,e)||Z(t,e)||("opacity"===e?1:0))),r&&!~(s+"").indexOf(" ")?Xr(t,e,s,r)+r:s},Rr=function(t,e,r,i){if(!r||"none"===r){let i=Pr(e,t,1),s=i&&Mr(t,i,1);s&&s!==r&&(e=i,r=s)}let s,n,o,a,h,p,d,u,c,g,f,m,_,y=new We(this._pt,t.style,e,0,1,Ne),x=0,v=0;if(y.b=r,y.e=i,r+="","auto"===(i+="")&&(t.style[e]=i,i=Mr(t,e)||i,t.style[e]=r),s=[r,i],ie(s),i=s[1],o=(r=s[0]).match(O)||[],_=i.match(O)||[],_.length){for(;n=O.exec(i);)d=n[0],c=i.substring(x,n.index),h?h=(h+1)%5:"rgba("!==c.substr(-5)&&"hsla("!==c.substr(-5)||(h=1),d!==(p=o[v++]||"")&&(a=parseFloat(p)||0,f=p.substr((a+"").length),m="="===d.charAt(1)?+(d.charAt(0)+"1"):0,m&&(d=d.substr(2)),u=parseFloat(d),g=d.substr((u+"").length),x=O.lastIndex-g.length,g||(g=g||l.units[e]||f,x===i.length&&(i+=g,y.e+=g)),f!==g&&(a=Xr(t,e,p,g)||0),y._pt={_next:y._pt,p:c||1===v?c:",",s:a,c:m?m*u:u-a,m:h&&h<4?Math.round:0});y.c=x<i.length?i.substring(x,i.length):""}else y.r="display"===e&&"none"===i?gr:cr;return L.test(i)&&(y.e=0),this._pt=y,y},Br={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},Fr=t=>{let e=t.split(" "),r=e[0],i=e[1]||"50%";return"top"!==r&&"bottom"!==r&&"left"!==i&&"right"!==i||(t=r,r=i,i=t),e[0]=Br[r]||r,e[1]=Br[i]||i,e.join(" ")},zr=(t,e)=>{if(e.tween&&e.tween._time===e.tween._dur){let t,r,i,s=e.t,n=s.style,o=e.u,a=s._gsap;if("all"===o||!0===o)n.cssText="",r=1;else for(o=o.split(","),i=o.length;--i>-1;)t=o[i],er[t]&&(r=1,t="transformOrigin"===t?br:wr),Lr(s,t);r&&(Lr(s,wr),a&&(a.svg&&s.removeAttribute("transform"),Gr(s,1),a.uncache=1))}},Ir={clearProps(t,e,r,i,s){if("isFromStart"!==s.data){let n=t._pt=new We(t._pt,e,r,0,0,zr);return n.u=i,n.pr=-10,n.tween=s,t._props.push(r),1}}},Wr=[1,0,0,1,0,0],Vr={},Hr=t=>"matrix(1, 0, 0, 1, 0, 0)"===t||"none"===t||!t,Ur=t=>{let e=Mr(t,wr);return Hr(e)?Wr:e.substr(7).match(S).map(J)},qr=(t,e)=>{let r,i,s,n,o=t._gsap||Q(t),a=t.style,l=Ur(t);return o.svg&&t.getAttribute("transform")?(s=t.transform.baseVal.consolidate().matrix,l=[s.a,s.b,s.c,s.d,s.e,s.f],"1,0,0,1,0,0"===l.join(",")?Wr:l):(l!==Wr||t.offsetParent||t===Ke||o.svg||(s=a.display,a.display="block",r=t.parentNode,r&&t.offsetParent||(n=1,i=t.nextSibling,Ke.appendChild(t)),l=Ur(t),s?a.display=s:Lr(t,"display"),n&&(i?r.insertBefore(t,i):r?r.appendChild(t):Ke.removeChild(t))),e&&l.length>6?[l[0],l[1],l[4],l[5],l[12],l[13]]:l)},jr=(t,e,r,i,s,n)=>{let o,a,l,h,p=t._gsap,d=s||qr(t,!0),u=p.xOrigin||0,c=p.yOrigin||0,g=p.xOffset||0,f=p.yOffset||0,m=d[0],_=d[1],y=d[2],x=d[3],v=d[4],w=d[5],b=e.split(" "),T=parseFloat(b[0])||0,M=parseFloat(b[1])||0;r?d!==Wr&&(a=m*x-_*y)&&(l=T*(x/a)+M*(-y/a)+(y*w-x*v)/a,h=T*(-_/a)+M*(m/a)-(m*w-_*v)/a,T=l,M=h):(o=Er(t),T=o.x+(~b[0].indexOf("%")?T/100*o.width:T),M=o.y+(~(b[1]||b[0]).indexOf("%")?M/100*o.height:M)),i||!1!==i&&p.smooth?(v=T-u,w=M-c,p.xOffset=g+(v*m+w*y)-v,p.yOffset=f+(v*_+w*x)-w):p.xOffset=p.yOffset=0,p.xOrigin=T,p.yOrigin=M,p.smooth=!!i,p.origin=e,p.originIsAbsolute=!!r,t.style[br]="0px 0px",n&&(Dr(n,p,"xOrigin",u,T),Dr(n,p,"yOrigin",c,M),Dr(n,p,"xOffset",g,p.xOffset),Dr(n,p,"yOffset",f,p.yOffset)),t.setAttribute("data-svg-origin",T+" "+M)},Gr=(t,e)=>{let r=t._gsap||new _e(t);if("x"in r&&!e&&!r.uncache)return r;let i,s,n,o,a,h,p,d,u,c,g,f,m,_,y,x,v,w,b,T,M,k,P,C,S,O,E,A,L,D,Y,X,N=t.style,R=r.scaleX<0,B="px",F="deg",z=Mr(t,br)||"0";return i=s=n=h=p=d=u=c=g=0,o=a=1,r.svg=!(!t.getCTM||!Ar(t)),_=qr(t,r.svg),r.svg&&(C=!r.uncache&&t.getAttribute("data-svg-origin"),jr(t,C||z,!!C||r.originIsAbsolute,!1!==r.smooth,_)),f=r.xOrigin||0,m=r.yOrigin||0,_!==Wr&&(w=_[0],b=_[1],T=_[2],M=_[3],i=k=_[4],s=P=_[5],6===_.length?(o=Math.sqrt(w*w+b*b),a=Math.sqrt(M*M+T*T),h=w||b?sr(b,w)*rr:0,u=T||M?sr(T,M)*rr+h:0,u&&(a*=Math.cos(u*ir)),r.svg&&(i-=f-(f*w+m*T),s-=m-(f*b+m*M))):(X=_[6],D=_[7],E=_[8],A=_[9],L=_[10],Y=_[11],i=_[12],s=_[13],n=_[14],y=sr(X,L),p=y*rr,y&&
1(x=Math.cos(-y),v=Math.sin(-y),C=k*x+E*v,S=P*x+A*v,O=X*x+L*v,E=k*-v+E*x,A=P*-v+A*x,L=X*-v+L*x,Y=D*-v+Y*x,k=C,P=S,X=O),y=sr(-T,L),d=y*rr,y&&(x=Math.cos(-y),v=Math.sin(-y),C=w*x-E*v,S=b*x-A*v,O=T*x-L*v,Y=M*v+Y*x,w=C,b=S,T=O),y=sr(b,w),h=y*rr,y&&(x=Math.cos(y),v=Math.sin(y),C=w*x+b*v,S=k*x+P*v,b=b*x-w*v,P=P*x-k*v,w=C,k=S),p&&Math.abs(p)+Math.abs(h)>359.9&&(p=h=0,d=180-d),o=J(Math.sqrt(w*w+b*b+T*T)),a=J(Math.sqrt(P*P+X*X)),y=sr(k,P),u=Math.abs(y)>2e-4?y*rr:0,g=Y?1/(Y<0?-Y:Y):0),r.svg&&(C=t.getAttribute("transform"),r.forceCSS=t.setAttribute("transform","")||!Hr(Mr(t,wr)),C&&t.setAttribute("transform",C))),Math.abs(u)>90&&Math.abs(u)<270&&(R?(o*=-1,u+=h<=0?180:-180,h+=h<=0?180:-180):(a*=-1,u+=u<=0?180:-180)),r.x=((r.xPercent=i&&Math.round(t.offsetWidth/2)===Math.round(-i)?-50:0)?0:i)+B,r.y=((r.yPercent=s&&Math.round(t.offsetHeight/2)===Math.round(-s)?-50:0)?0:s)+B,r.z=n+B,r.scaleX=J(o),r.scaleY=J(a),r.rotation=J(h)+F,r.rotationX=J(p)+F,r.rotationY=J(d)+F,r.skewX=u+F,r.skewY=c+F,r.transformPerspective=g+B,(r.zOrigin=parseFloat(z.split(" ")[2])||0)&&(N[br]=Kr(z)),r.xOffset=r.yOffset=0,r.force3D=l.force3D,r.renderTransform=r.svg?ri:tr?ei:Zr,r.uncache=0,r},Kr=t=>(t=t.split(" "))[0]+" "+t[1],Qr=(t,e,r)=>{let i=Et(e);return J(parseFloat(e)+parseFloat(Xr(t,"x",r+"px",i)))+i},Zr=(t,e)=>{e.z="0px",e.rotationY=e.rotationX="0deg",e.force3D=0,ei(t,e)},$r="0deg",Jr="0px",ti=") ",ei=function(t,e){let r=e||this,i=r.xPercent,s=r.yPercent,n=r.x,o=r.y,a=r.z,l=r.rotation,h=r.rotationY,p=r.rotationX,d=r.skewX,u=r.skewY,c=r.scaleX,g=r.scaleY,f=r.transformPerspective,m=r.force3D,_=r.target,y=r.zOrigin,x="",v="auto"===m&&t&&1!==t||!0===m;if(y&&(p!==$r||h!==$r)){let t,e=parseFloat(h)*ir,r=Math.sin(e),i=Math.cos(e);e=parseFloat(p)*ir,t=Math.cos(e),n=Qr(_,n,r*t*-y),o=Qr(_,o,-Math.sin(e)*-y),a=Qr(_,a,i*t*-y+y)}f!==Jr&&(x+="perspective("+f+ti),(i||s)&&(x+="translate("+i+"%, "+s+"%) "),(v||n!==Jr||o!==Jr||a!==Jr)&&(x+=a!==Jr||v?"translate3d("+n+", "+o+", "+a+") ":"translate("+n+", "+o+ti),l!==$r&&(x+="rotate("+l+ti),h!==$r&&(x+="rotateY("+h+ti),p!==$r&&(x+="rotateX("+p+ti),d===$r&&u===$r||(x+="skew("+d+", "+u+ti),1===c&&1===g||(x+="scale("+c+", "+g+ti),_.style[wr]=x||"translate(0, 0)"},ri=function(t,e){let r,i,s,n,o,a=e||this,l=a.xPercent,h=a.yPercent,p=a.x,d=a.y,u=a.rotation,c=a.skewX,g=a.skewY,f=a.scaleX,m=a.scaleY,_=a.target,y=a.xOrigin,x=a.yOrigin,v=a.xOffset,w=a.yOffset,b=a.forceCSS,T=parseFloat(p),M=parseFloat(d);u=parseFloat(u),c=parseFloat(c),g=parseFloat(g),g&&(g=parseFloat(g),c+=g,u+=g),u||c?(u*=ir,c*=ir,r=Math.cos(u)*f,i=Math.sin(u)*f,s=Math.sin(u-c)*-m,n=Math.cos(u-c)*m,c&&(g*=ir,o=Math.tan(c-g),o=Math.sqrt(1+o*o),s*=o,n*=o,g&&(o=Math.tan(g),o=Math.sqrt(1+o*o),r*=o,i*=o)),r=J(r),i=J(i),s=J(s),n=J(n)):(r=f,n=m,i=s=0),(T&&!~(p+"").indexOf("px")||M&&!~(d+"").indexOf("px"))&&(T=Xr(_,"x",p,"px"),M=Xr(_,"y",d,"px")),(y||x||v||w)&&(T=J(T+y-(y*r+x*s)+v),M=J(M+x-(y*i+x*n)+w)),(l||h)&&(o=_.getBBox(),T=J(T+l/100*o.width),M=J(M+h/100*o.height)),o="matrix("+r+","+i+","+s+","+n+","+T+","+M+")",_.setAttribute("transform",o),b&&(_.style[wr]=o)},ii=function(t,e,r,i,s,n){let o,a,l=360,h=y(s),p=parseFloat(s)*(h&&~s.indexOf("rad")?rr:1),d=n?p*n:p-i,u=i+d+"deg";return h&&(o=s.split("_")[1],"short"===o&&(d%=l,d!==d%180&&(d+=d<0?l:-360)),"cw"===o&&d<0?d=(d+36e9)%l-~~(d/l)*l:"ccw"===o&&d>0&&(d=(d-36e9)%l-~~(d/l)*l)),t._pt=a=new We(t._pt,e,r,i,d,pr),a.e=u,a.u="deg",t._props.push(r),a},si=(t,e,r)=>{let i,s,n,o,a,l,h,p,d=$e.style,u=r._gsap;for(s in d.cssText=getComputedStyle(r).cssText+";position:absolute;display:block;",d[wr]=e,Ge.body.appendChild($e),i=Gr($e,1),er)n=u[s],o=i[s],n!==o&&"perspective,force3D,transformOrigin,svgOrigin".indexOf(s)<0&&(h=Et(n),p=Et(o),a=h!==p?Xr(r,s,n,p):parseFloat(n),l=parseFloat(o),t._pt=new We(t._pt,u,s,a,l-a,hr),t._pt.u=p||0,t._props.push(s));Ge.body.removeChild($e)};$("padding,margin,Width,Radius",(t,e)=>{let r="Top",i="Right",s="Bottom",n="Left",o=(e<3?[r,i,s,n]:[r+n,r+i,s+i,s+n]).map(r=>e<2?t+r:"border"+r+t);Ir[e>1?"border"+t:t]=function(t,e,r,i,s){let n,a;if(arguments.length<4)return n=o.map(e=>Nr(t,e,r)),a=n.join(" "),5===a.split(n[0]).length?n[0]:a;n=(i+"").split(" "),a={},o.forEach((t,e)=>a[t]=n[e]=n[e]||n[(e-1)/2|0]),t.init(e,a,s)}});const ni={name:"css",register:Cr,targetTest:t=>t.style&&t.nodeType,init(t,e,r,i,s){let n,o,a,h,p,d,u,c,g,f,m,_,y,x,v,w=this._props,b=t.style;for(u in Qe||Cr(),e)if("autoRound"!==u&&(o=e[u],!H[u]||!Te(u,e,r,i,t,s)))if(p=typeof o,d=Ir[u],"function"===p&&(o=o.call(r,i,t,s),p=typeof o),"string"===p&&~o.indexOf("random(")&&(o=Wt(o)),d)d(this,t,u,o,r)&&(v=1);else if("--"===u.substr(0,2))this.add(b,"setProperty",getComputedStyle(t).getPropertyValue(u)+"",o+"",i,s,0,0,u);else{if(n=Nr(t,u),h=parseFloat(n),f="string"===p&&"="===o.charAt(1)?+(o.charAt(0)+"1"):0,f&&(o=o.substr(2)),a=parseFloat(o),u in lr&&("autoAlpha"===u&&(1===h&&"hidden"===Nr(t,"visibility")&&a&&(h=0),Dr(this,b,"visibility",h?"inherit":"hidden",a?"inherit":"hidden",!a)),"scale"!==u&&"transform"!==u&&(u=lr[u],~u.indexOf(",")&&(u=u.split(",")[0]))),m=u in er,m)if(_||(y=t._gsap,y.renderTransform||Gr(t),x=!1!==e.smoothOrigin&&y.smooth,_=this._pt=new We(this._pt,b,wr,0,1,y.renderTransform,y,0,-1),_.dep=1),"scale"===u)this._pt=new We(this._pt,y,"scaleY",y.scaleY,f?f*a:a-y.scaleY),w.push("scaleY",u),u+="X";
1else{if("transformOrigin"===u){o=Fr(o),y.svg?jr(t,o,0,x,0,this):(g=parseFloat(o.split(" ")[2])||0,g!==y.zOrigin&&Dr(this,y,"zOrigin",y.zOrigin,g),Dr(this,b,u,Kr(n),Kr(o)));continue}if("svgOrigin"===u){jr(t,o,1,x,0,this);continue}if(u in Vr){ii(this,y,u,h,o,f);continue}if("smoothOrigin"===u){Dr(this,y,"smooth",y.smooth,o);continue}if("force3D"===u){y[u]=o;continue}if("transform"===u){si(this,o,t);continue}}else u in b||(u=Pr(u)||u);if(m||(a||0===a)&&(h||0===h)&&!ar.test(o)&&u in b)c=(n+"").substr((h+"").length),a||(a=0),g=(o+"").substr((a+"").length)||(u in l.units?l.units[u]:c),c!==g&&(h=Xr(t,u,n,g)),this._pt=new We(this._pt,m?y:b,u,h,f?f*a:a-h,"px"!==g||!1===e.autoRound||m?hr:ur),this._pt.u=g||0,c!==g&&(this._pt.b=n,this._pt.r=dr);else if(u in b)Rr.call(this,t,u,n,o);else{if(!(u in t)){R(u,o);continue}this.add(t,u,t[u],o,i,s)}w.push(u)}v&&Ie(this)},get:Nr,aliases:lr,getSetter(t,e,r){let i=lr[e];return i&&i.indexOf(",")<0&&(e=i),e in er&&e!==br&&(t._gsap.x||Nr(t,"x"))?r&&Je===r?"scale"===e?yr:_r:(Je=r||{})&&("scale"===e?xr:vr):t.style&&!w(t.style[e])?fr:~e.indexOf("-")?mr:De(t,e)},core:{_removeProperty:Lr,_getMatrix:qr}};qe.utils.checkPrefix=Pr,function(t,e){let r=$(t+","+e+",transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective",t=>{er[t]=1});$(e,t=>{l.units[t]="deg",Vr[t]=1}),lr[r[13]]=t+","+e,$("0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY",t=>{let e=t.split(":");lr[e[1]]=r[e[0]]})}("x,y,z,scale,scaleX,scaleY,xPercent,yPercent","rotation,rotationX,rotationY,skewX,skewY"),$("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",t=>{l.units[t]="px"}),qe.registerPlugin(ni);let oi=/[achlmqstvz]|(-?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,ai=/(?:(-)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,li=/[\+\-]?\d*\.?\d+e[\+\-]?\d+/gi,hi=/(^[#\.][a-z]|[a-y][a-z])/i,pi=Math.PI/180,di=180/Math.PI,ui=Math.sin,ci=Math.cos,gi=Math.abs,fi=Math.sqrt,mi=Math.atan2,_i=1e8,yi=t=>"string"==typeof t,xi=t=>"number"==typeof t,vi={},wi={},bi=1e5,Ti=t=>Math.round((t+_i)%1*bi)/bi||(t<0?0:1),Mi=t=>Math.round(t*bi)/bi||0,ki=(t,e,r,i)=>{let s=t[e],n=1===i?6:Ni(s,r,i);if(n&&n+r+2<s.length)return t.splice(e,0,s.slice(0,r+n+2)),s.splice(0,r+n),1},Pi=(t,e)=>(e.totalLength=t.totalLength,t.samples?(e.samples=t.samples.slice(0),e.lookup=t.lookup.slice(0),e.minLength=t.minLength,e.resolution=t.resolution):e.totalPoints=t.totalPoints,e),Ci=(t,e)=>{let r=t.length,i=t[r-1]||[],s=i.length;e[0]===i[s-2]&&e[1]===i[s-1]&&(e=i.concat(e.slice(2)),r--),t[r]=e};function Si(t){let e,r=(t=yi(t)&&hi.test(t)&&document.querySelector(t)||t).getAttribute?t:0;return r&&(t=t.getAttribute("d"))?(r._gsPath||(r._gsPath={}),e=r._gsPath[t],e&&!e._dirty?e:r._gsPath[t]=Ii(t)):t?yi(t)?Ii(t):xi(t[0])?[t]:t:console.warn("Expecting a <path> element or an SVG path data string")}function Oi(t){let e,r=0;for(t.reverse();r<t.length;r+=2)e=t[r],t[r]=t[r+1],t[r+1]=e;t.reversed=!t.reversed}let Ei={rect:"rx,ry,x,y,width,height",circle:"r,cx,cy",ellipse:"rx,ry,cx,cy",line:"x1,x2,y1,y2"};function Ai(t,e){let r,i,s,n,o,a,l,h,p,d,u,c,g,f,m,_,y,x,v,w,b,T,M=t.tagName.toLowerCase(),k=.552284749831;return"path"!==M&&t.getBBox?(a=((t,e)=>{let r,i=document.createElementNS("http://www.w3.org/2000/svg","path"),s=[].slice.call(t.attributes),n=s.length;for(e=","+e+",";--n>-1;)r=s[n].nodeName.toLowerCase(),e.indexOf(","+r+",")<0&&i.setAttributeNS(null,r,s[n].nodeValue);return i})(t,"x,y,width,height,cx,cy,rx,ry,r,x1,x2,y1,y2,points"),T=((t,e)=>{let r=e?e.split(","):[],i={},s=r.length;for(;--s>-1;)i[r[s]]=+t.getAttribute(r[s])||0;return i})(t,Ei[M]),"rect"===M?(n=T.rx,o=T.ry||n,i=T.x,s=T.y,d=T.width-2*n,u=T.height-2*o,n||o?(c=i+n*(1-k),g=i+n,f=g+d,m=f+n*k,_=f+n,y=s+o*(1-k),x=s+o,v=x+u,w=v+o*k,b=v+o,r="M"+_+","+x+" V"+v+" C"+[_,w,m,b,f,b,f-(f-g)/3,b,g+(f-g)/3,b,g,b,c,b,i,w,i,v,i,v-(v-x)/3,i,x+(v-x)/3,i,x,i,y,c,s,g,s,g+(f-g)/3,s,f-(f-g)/3,s,f,s,m,s,_,y,_,x].join(",")+"z"):r="M"+(i+d)+","+s+" v"+u+" h"+-d+" v"+-u+" h"+d+"z"):"circle"===M||"ellipse"===M?("circle"===M?(n=o=T.r,h=n*k):(n=T.rx,o=T.ry,h=o*k),i=T.cx,s=T.cy,l=n*k,r="M"+(i+n)+","+s+" C"+[i+n,s+h,i+l,s+o,i,s+o,i-l,s+o,i-n,s+h,i-n,s,i-n,s-h,i-l,s-o,i,s-o,i+l,s-o,i+n,s-h,i+n,s].join(",")+"z"):"line"===M?r="M"+T.x1+","+T.y1+" L"+T.x2+","+T.y2:"polyline"!==M&&"polygon"!==M||(p=(t.getAttribute("points")+"").match(ai)||[],i=p.shift(),s=p.shift(),r="M"+i+","+s+" L"+p.join(","),"polygon"===M&&(r+=","+i+","+s+"z")),a.setAttribute("d",Hi(a._gsRawPath=Ii(r))),e&&t.parentNode&&(t.parentNode.insertBefore(a,t),t.parentNode.removeChild(t)),a):t}function Li(t,e,r){let i,s=t[e],n=t[e+2],o=t[e+4];return s+=(n-s)*r,n+=(o-n)*r,s+=(n-s)*r,i=n+(o+(t[e+6]-o)*r-n)*r-s,s=t[e+1],n=t[e+3],o=t[e+5],s+=(n-s)*r,n+=(o-n)*r,s+=(n-s)*r,Mi(mi(n+(o+(t[e+7]-o)*r-n)*r-s,i)*di)}function Di(t,e,r){void 0===r&&(r=1);let i=(e=e||0)>r,s=Math.max(0,~~(gi(r-e)-1e-8));if(i&&(i=r,r=e,e=i,i=1,s-=s?1:0),e<0||r<0){let t=1+~~Math.min(e,r);e+=t,r+=t}let n,o,a,l,h,p,d,u=function(t){let e=[],r=0;for(;r<t.length;r++)e[r]=Pi(t[r],t[r].slice(0));return Pi(t,e)}(t.totalLength?t:Xi(t)),c=r>1,g=Ri(u,e,vi,!0),f=Ri(u,r,wi),m=f.segment,_=g.segment,y=f.segIndex,x=g.segIndex,v=f.i,w=g.i,b=x===y,T=v===w&&b,M=b&&w>v||T&&g.t>f.t;
1if(c||s){if(ki(u,x,w,g.t)&&(n=1,x++,T?M?f.t/=g.t:(f.t=(f.t-g.t)/(1-g.t),y++,v=0):x<=y+1&&!M&&(y++,b&&(v-=w))),f.t?ki(u,y,v,f.t)&&(M&&n&&x++,i&&y++):(y--,i&&x--),l=[],h=u.length,p=1+h*s,d=x,i)for(y=(y||h)-1,p+=(h-y+x)%h,a=0;a<p;a++)Ci(l,u[d]),d=(d||h)-1;else for(p+=(h-x+y)%h,a=0;a<p;a++)Ci(l,u[d++%h]);u=l}else if(o=1===f.t?6:Ni(m,v,f.t),e!==r)for(n=Ni(_,w,T?g.t/f.t:g.t),b&&(o+=n),m.splice(v+o+2),(n||w)&&_.splice(0,w+n),a=u.length;a--;)(a<x||a>y)&&u.splice(a,1);else m.angle=Li(m,v+o,0),v+=o,g=m[v],f=m[v+1],m.length=m.totalLength=0,m.totalPoints=u.totalPoints=8,m.push(g,f,g,f,g,f,g,f);return i&&((t,e)=>{let r=t.length;for(e||t.reverse();r--;)t[r].reversed||Oi(t[r])})(u,c||s),u.totalLength=0,u}function Yi(t,e,r){e=e||0,t.samples||(t.samples=[],t.lookup=[]);let i,s,n,o,a,l,h,p,d,u,c,g,f,m,_,y,x,v=~~t.resolution||12,w=1/v,b=r?e+6*r+1:t.length,T=t[e],M=t[e+1],k=e?e/6*v:0,P=t.samples,C=t.lookup,S=(e?t.minLength:_i)||_i,O=P[k+r*v-1],E=e?P[k-1]:0;for(P.length=C.length=0,s=e+2;s<b;s+=6){if(n=t[s+4]-T,o=t[s+2]-T,a=t[s]-T,p=t[s+5]-M,d=t[s+3]-M,u=t[s+1]-M,l=h=c=g=0,gi(n)<1e-5&&gi(p)<1e-5&&gi(a)+gi(u)<1e-5)t.length>8&&(t.splice(s,6),s-=6,b-=6);else for(i=1;i<=v;i++)m=w*i,f=1-m,l=h-(h=(m*m*n+3*f*(m*o+f*a))*m),c=g-(g=(m*m*p+3*f*(m*d+f*u))*m),y=fi(c*c+l*l),y<S&&(S=y),E+=y,P[k++]=E;T+=n,M+=p}if(O)for(O-=E;k<P.length;k++)P[k]+=O;if(P.length&&S)for(t.totalLength=x=P[P.length-1]||0,t.minLength=S,y=_=0,i=0;i<x;i+=S)C[y++]=P[_]<i?++_:_;else t.totalLength=P[0]=0;return e?E-P[e/2-1]:E}function Xi(t,e){let r,i,s;for(s=r=i=0;s<t.length;s++)t[s].resolution=~~e||12,i+=t[s].length,r+=Yi(t[s]);return t.totalPoints=i,t.totalLength=r,t}function Ni(t,e,r){if(r<=0||r>=1)return 0;let i=t[e],s=t[e+1],n=t[e+2],o=t[e+3],a=t[e+4],l=t[e+5],h=i+(n-i)*r,p=n+(a-n)*r,d=s+(o-s)*r,u=o+(l-o)*r,c=h+(p-h)*r,g=d+(u-d)*r,f=a+(t[e+6]-a)*r,m=l+(t[e+7]-l)*r;return p+=(f-p)*r,u+=(m-u)*r,t.splice(e+2,4,Mi(h),Mi(d),Mi(c),Mi(g),Mi(c+(p-c)*r),Mi(g+(u-g)*r),Mi(p),Mi(u),Mi(f),Mi(m)),t.samples&&t.samples.splice(e/6*t.resolution|0,0,0,0,0,0,0,0),6}function Ri(t,e,r,i){r=r||{},t.totalLength||Xi(t),(e<0||e>1)&&(e=Ti(e));let s,n,o,a,l,h,p,d=0,u=t[0];if(t.length>1){for(o=t.totalLength*e,l=h=0;(l+=t[h++].totalLength)<o;)d=h;u=t[d],a=l-u.totalLength,e=(o-a)/(l-a)||0}return s=u.samples,n=u.resolution,o=u.totalLength*e,h=u.lookup[~~(o/u.minLength)]||0,a=h?s[h-1]:0,l=s[h],l<o&&(a=l,l=s[++h]),p=1/n*((o-a)/(l-a)+h%n),h=6*~~(h/n),i&&1===p&&(h+6<u.length?(h+=6,p=0):d+1<t.length&&(h=p=0,u=t[++d])),r.t=p,r.i=h,r.path=t,r.segment=u,r.segIndex=d,r}function Bi(t,e,r,i){let s,n,o,a,l,h,p,d,u,c=t[0],g=i||{};if((e<0||e>1)&&(e=Ti(e)),t.length>1){for(o=t.totalLength*e,l=h=0;(l+=t[h++].totalLength)<o;)c=t[h];a=l-c.totalLength,e=(o-a)/(l-a)||0}return s=c.samples,n=c.resolution,o=c.totalLength*e,h=c.lookup[~~(o/c.minLength)]||0,a=h?s[h-1]:0,l=s[h],l<o&&(a=l,l=s[++h]),p=1/n*((o-a)/(l-a)+h%n)||0,u=1-p,h=6*~~(h/n),d=c[h],g.x=Mi((p*p*(c[h+6]-d)+3*u*(p*(c[h+4]-d)+u*(c[h+2]-d)))*p+d),g.y=Mi((p*p*(c[h+7]-(d=c[h+1]))+3*u*(p*(c[h+5]-d)+u*(c[h+3]-d)))*p+d),r&&(g.angle=c.totalLength?Li(c,h,p>=1?1-1e-9:p||1e-9):c.angle||0),g}function Fi(t,e,r,i,s,n,o){let a,l,h,p,d,u=t.length;for(;--u>-1;)for(a=t[u],l=a.length,h=0;h<l;h+=2)p=a[h],d=a[h+1],a[h]=p*e+d*i+n,a[h+1]=p*r+d*s+o;return t._dirty=1,t}function zi(t,e,r,i,s,n,o,a,l){if(t===a&&e===l)return;r=gi(r),i=gi(i);let h=s%360*pi,p=ci(h),d=ui(h),u=Math.PI,c=2*u,g=(t-a)/2,f=(e-l)/2,m=p*g+d*f,_=-d*g+p*f,y=m*m,x=_*_,v=y/(r*r)+x/(i*i);v>1&&(r=fi(v)*r,i=fi(v)*i);let w=r*r,b=i*i,T=(w*b-w*x-b*y)/(w*x+b*y);T<0&&(T=0);let M=(n===o?-1:1)*fi(T),k=M*(r*_/i),P=M*(-i*m/r),C=(t+a)/2+(p*k-d*P),S=(e+l)/2+(d*k+p*P),O=(m-k)/r,E=(_-P)/i,A=(-m-k)/r,L=(-_-P)/i,D=O*O+E*E,Y=(E<0?-1:1)*Math.acos(O/fi(D)),X=(O*L-E*A<0?-1:1)*Math.acos((O*A+E*L)/fi(D*(A*A+L*L)));isNaN(X)&&(X=u),!o&&X>0?X-=c:o&&X<0&&(X+=c),Y%=c,X%=c;let N,R=Math.ceil(gi(X)/(c/4)),B=[],F=X/R,z=4/3*ui(F/2)/(1+ci(F/2)),I=p*r,W=d*r,V=d*-i,H=p*i;for(N=0;N<R;N++)m=ci(s=Y+N*F),_=ui(s),O=ci(s+=F),E=ui(s),B.push(m-z*_,_+z*m,O+z*E,E-z*O,O,E);for(N=0;N<B.length;N+=2)m=B[N],_=B[N+1],B[N]=m*I+_*V+C,B[N+1]=m*W+_*H+S;return B[N-2]=a,B[N-1]=l,B}function Ii(t){let e,r,i,s,n,o,a,l,h,p,d,u,c,g,f,m=(t+"").replace(li,t=>{let e=+t;return e<1e-4&&e>-1e-4?0:e}).match(oi)||[],_=[],y=0,x=0,v=2/3,w=m.length,b=0,T="ERROR: malformed path: "+t,M=function(t,e,r,i){p=(r-t)/3,d=(i-e)/3,a.push(t+p,e+d,r-p,i-d,r,i)};if(!t||!isNaN(m[0])||isNaN(m[1]))return console.log(T),_;for(e=0;e<w;e++)if(c=n,isNaN(m[e])?(n=m[e].toUpperCase(),o=n!==m[e]):e--,i=+m[e+1],s=+m[e+2],o&&(i+=y,s+=x),e||(l=i,h=s),"M"===n)a&&(a.length<8?_.length-=1:b+=a.length),y=l=i,x=h=s,a=[i,s],_.push(a),e+=2,n="L";else if("C"===n)a||(a=[0,0]),o||(y=x=0),a.push(i,s,y+1*m[e+3],x+1*m[e+4],y+=1*m[e+5],x+=1*m[e+6]),e+=6;else if("S"===n)p=y,d=x,"C"!==c&&"S"!==c||(p+=y-a[a.length-4],d+=x-a[a.length-3]),o||(y=x=0),a.push(p,d,i,s,y+=1*m[e+3],x+=1*m[e+4]),e+=4;else if("Q"===n)p=y+(i-y)*v,d=x+(s-x)*v,o||(y=x=0),y+=1*m[e+3],x+=1*m[e+4],a.push(p,d,y+(i-y)*v,x+(s-x)*v,y,x),e+=4;else if("T"===n)p=y-a[a.length-4],d=x-a[a.length-3],a.push(y+p,x+d,i+(y+1.5*p-i)*v,s+(x+1.5*d-s)*v,y=i,x=s),e+=2;else if("H"===n)M(y,x,y=i,x),e+=1;
1else if("V"===n)M(y,x,y,x=i+(o?x-y:0)),e+=1;else if("L"===n||"Z"===n)"Z"===n&&(i=l,s=h,a.closed=!0),("L"===n||gi(y-i)>.5||gi(x-s)>.5)&&(M(y,x,i,s),"L"===n&&(e+=2)),y=i,x=s;else if("A"===n){if(g=m[e+4],f=m[e+5],p=m[e+6],d=m[e+7],r=7,g.length>1&&(g.length<3?(d=p,p=f,r--):(d=f,p=g.substr(2),r-=2),f=g.charAt(1),g=g.charAt(0)),u=zi(y,x,+m[e+1],+m[e+2],+m[e+3],+g,+f,(o?y:0)+1*p,(o?x:0)+1*d),e+=r,u)for(r=0;r<u.length;r++)a.push(u[r]);y=a[a.length-2],x=a[a.length-1]}else console.log(T);return e=a.length,e<6?(_.pop(),e=0):a[0]===a[e-2]&&a[1]===a[e-1]&&(a.closed=!0),_.totalPoints=b+e,_}function Wi(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,r=t[0],i=0,s=[r,i],n=2;for(;n<t.length;n+=2)s.push(r,i,t[n],i=(t[n]-r)*e/2,r=t[n],-i);return s}function Vi(t,e,r){let i,s,n,o,a,l,h,p,d,u,c,g,f,m,_=t.length-2,y=+t[0],x=+t[1],v=+t[2],w=+t[3],b=[y,x,y,x],T=v-y,M=w-x,k=Math.abs(t[_]-y)<.001&&Math.abs(t[_+1]-x)<.001;for(isNaN(r)&&(r=Math.PI/10),k&&(t.push(v,w),v=y,w=x,y=t[_-2],x=t[_-1],t.unshift(y,x),_+=4),e=e||0===e?+e:1,a=2;a<_;a+=2)i=y,s=x,y=v,x=w,v=+t[a+2],w=+t[a+3],l=T,p=M,T=v-y,M=w-x,h=v-i,d=w-s,g=l*l+p*p,f=T*T+M*M,m=h*h+d*d,n=Math.acos((g+f-m)/fi(4*g*f)),c=n/Math.PI*e,u=fi(g)*c,c*=fi(f),y===i&&x===s||(n>r?(o=mi(d,h),b.push(Mi(y-ci(o)*u),Mi(x-ui(o)*u),Mi(y),Mi(x),Mi(y+ci(o)*c),Mi(x+ui(o)*c))):(o=mi(p,l),b.push(Mi(y-ci(o)*u),Mi(x-ui(o)*u)),o=mi(M,T),b.push(Mi(y),Mi(x),Mi(y+ci(o)*c),Mi(x+ui(o)*c))));return b.push(Mi(v),Mi(w),Mi(v),Mi(w)),k&&(b.splice(0,6),b.length=b.length-6),b}function Hi(t){xi(t[0])&&(t=[t]);let e,r,i,s,n="",o=t.length;for(r=0;r<o;r++){for(s=t[r],n+="M"+Mi(s[0])+","+Mi(s[1])+" C",e=s.length,i=2;i<e;i++)n+=Mi(s[i++])+","+Mi(s[i++])+" "+Mi(s[i++])+","+Mi(s[i++])+" "+Mi(s[i++])+","+Mi(s[i])+" ";s.closed&&(n+="z")}return n}let Ui,qi,ji,Gi,Ki,Qi,Zi,$i,Ji="transform",ts=Ji+"Origin",es=t=>{let e=t.ownerDocument||t;!(Ji in t.style)&&"msTransform"in t.style&&(Ji="msTransform",ts=Ji+"Origin");for(;e.parentNode&&(e=e.parentNode););if(qi=window,Zi=new hs,e){Ui=e,ji=e.documentElement,Gi=e.body;let t=e.createElement("div"),r=e.createElement("div");Gi.appendChild(t),t.appendChild(r),t.style.position="static",t.style[Ji]="translate3d(0,0,1px)",$i=r.offsetParent!==t,Gi.removeChild(t)}return e},rs=[],is=[],ss=t=>t.ownerSVGElement||("svg"===(t.tagName+"").toLowerCase()?t:null),ns=t=>"fixed"===qi.getComputedStyle(t).position||((t=t.parentNode)&&1===t.nodeType?ns(t):void 0),os=(t,e)=>{if(t.parentNode&&(Ui||es(t))){let r=ss(t),i=r?r.getAttribute("xmlns")||"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",s=r?e?"rect":"g":"div",n=2!==e?0:100,o=3===e?100:0,a="position:absolute;display:block;pointer-events:none;",l=Ui.createElementNS?Ui.createElementNS(i.replace(/^https/,"http"),s):Ui.createElement(s);return e&&(r?(Qi||(Qi=os(t)),l.setAttribute("width",.01),l.setAttribute("height",.01),l.setAttribute("transform","translate("+n+","+o+")"),Qi.appendChild(l)):(Ki||(Ki=os(t),Ki.style.cssText=a),l.style.cssText=a+"width:0.1px;height:0.1px;top:"+o+"px;left:"+n+"px",Ki.appendChild(l))),l}throw"Need document and parent."},as=(t,e)=>{let r,i,s,n,o,a=ss(t),l=t===a,h=a?rs:is;
1if(t===qi)return t;if(h.length||h.push(os(t,1),os(t,2),os(t,3)),r=a?Qi:Ki,a)s=l?{x:0,y:0}:t.getBBox(),i=t.transform?t.transform.baseVal:{},i.numberOfItems?(i=i.numberOfItems>1?(t=>{let e=new hs,r=0;for(;r<t.numberOfItems;r++)e.multiply(t.getItem(r).matrix);return e})(i):i.getItem(0).matrix,n=i.a*s.x+i.c*s.y,o=i.b*s.x+i.d*s.y):(i=Zi,n=s.x,o=s.y),e&&"g"===t.tagName.toLowerCase()&&(n=o=0),r.setAttribute("transform","matrix("+i.a+","+i.b+","+i.c+","+i.d+","+(i.e+n)+","+(i.f+o)+")"),(l?a:t.parentNode).appendChild(r);else{if(n=o=0,$i)for(i=t.offsetParent,s=t;s&&(s=s.parentNode)&&s!==i&&s.parentNode;)(qi.getComputedStyle(s)[Ji]+"").length>4&&(n=s.offsetLeft,o=s.offsetTop,s=0);s=r.style,s.top=t.offsetTop-o+"px",s.left=t.offsetLeft-n+"px",i=qi.getComputedStyle(t),s[Ji]=i[Ji],s[ts]=i[ts],s.border=i.border,s.borderLeftStyle=i.borderLeftStyle,s.borderTopStyle=i.borderTopStyle,s.borderLeftWidth=i.borderLeftWidth,s.borderTopWidth=i.borderTopWidth,s.position="fixed"===i.position?"fixed":"absolute",t.parentNode.appendChild(r)}return r},ls=(t,e,r,i,s,n,o)=>(t.a=e,t.b=r,t.c=i,t.d=s,t.e=n,t.f=o,t);class hs{constructor(){ls(this,arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,arguments.length>5&&void 0!==arguments[5]?arguments[5]:0)}inverse(){let t=this.a,e=this.b,r=this.c,i=this.d,s=this.e,n=this.f,o=t*i-e*r||1e-10;return ls(this,i/o,-e/o,-r/o,t/o,(r*n-i*s)/o,-(t*n-e*s)/o)}multiply(t){let e=this.a,r=this.b,i=this.c,s=this.d,n=this.e,o=this.f,a=t.a,l=t.c,h=t.b,p=t.d,d=t.e,u=t.f;
1return ls(this,a*e+h*i,a*r+h*s,l*e+p*i,l*r+p*s,n+d*e+u*i,o+d*r+u*s)}clone(){return new hs(this.a,this.b,this.c,this.d,this.e,this.f)}equals(t){let e=this.a,r=this.b,i=this.c,s=this.d,n=this.e,o=this.f;return e===t.a&&r===t.b&&i===t.c&&s===t.d&&n===t.e&&o===t.f}apply(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.x,i=t.y,s=this.a,n=this.b,o=this.c,a=this.d,l=this.e,h=this.f;return e.x=r*s+i*o+l||0,e.y=r*n+i*a+h||0,e}}function ps(t,e,r){if(!t||!t.parentNode||(Ui||es(t)).documentElement===t)return new hs;let i=(t=>{let e,r;for(;t&&t!==Gi;)r=t._gsap,r&&!r.scaleX&&!r.scaleY&&r.renderTransform&&(r.scaleX=r.scaleY=1e-4,r.renderTransform(1,r),e?e.push(r):e=[r]),t=t.parentNode;return e})(t.parentNode),s=ss(t)?rs:is,n=as(t,r),o=s[0].getBoundingClientRect(),a=s[1].getBoundingClientRect(),l=s[2].getBoundingClientRect(),h=n.parentNode,p=ns(t),d=new hs((a.left-o.left)/100,(a.top-o.top)/100,(l.left-o.left)/100,(l.top-o.top)/100,o.left+(p?0:qi.pageXOffset||Ui.scrollLeft||ji.scrollLeft||Gi.scrollLeft||0),o.top+(p?0:qi.pageYOffset||Ui.scrollTop||ji.scrollTop||Gi.scrollTop||0));if(h.removeChild(n),i)for(o=i.length;o--;)a=i[o],a.scaleX=a.scaleY=0,a.renderTransform(1,a);return e?d.inverse():d}let ds,us,cs,gs,fs=["x","translateX","left","marginLeft"],ms=["y","translateY","top","marginTop"],_s=Math.PI/180,ys=(t,e,r,i)=>{let s=e.length,n=2===i?0:i,o=0;for(;o<s;o++)t[n]=parseFloat(e[o][r]),2===i&&(t[n+1]=0),n+=2;return t},xs=(t,e,r)=>parseFloat(t._gsap.get(t,e,r||"px"))||0,vs=t=>{let e,r=t[0],i=t[1];for(e=2;e<t.length;e+=2)r=t[e]+=r,i=t[e+1]+=i},ws=(t,e,r,i,s,n,o)=>{if("cubic"===o.type)e=[e];else{e.unshift(xs(r,i,o.unitX),s?xs(r,s,o.unitY):0),o.relative&&vs(e),e=[(s?Vi:Wi)(e,o.curviness)]}return e=n(Ps(e,r,o)),Cs(t,r,i,e,"x",o.unitX),s&&Cs(t,r,s,e,"y",o.unitY),Xi(e,o.resolution||(0===o.curviness?20:12))},bs=t=>t,Ts=/[-+\.]*\d+[\.e\-\+]*\d*[e\-\+]*\d*/g,Ms=(t,e,r)=>{let i,s,n,o=ps(t);return"svg"===(t.tagName+"").toLowerCase()?(i=t.viewBox.baseVal,s=i.x,n=i.y,i.width||(i={width:+t.getAttribute("width"),height:+t.getAttribute("height")})):(i=e&&t.getBBox&&t.getBBox(),s=n=0),e&&"auto"!==e&&(s+=e.push?e[0]*(i?i.width:t.offsetWidth||0):e.x,n+=e.push?e[1]*(i?i.height:t.offsetHeight||0):e.y),r.apply(s||n?o.apply({x:s,y:n}):{x:o.e,y:o.f})},ks=(t,e,r,i)=>{let s,n=ps(t.parentNode,!0,!0),o=n.clone().multiply(ps(e)),a=Ms(t,r,n),l=Ms(e,i,n),h=l.x,p=l.y;return o.e=o.f=0,"auto"===i&&e.getTotalLength&&"path"===e.tagName.toLowerCase()&&(s=e.getAttribute("d").match(Ts)||[],s=o.apply({x:+s[0],y:+s[1]}),h+=s.x,p+=s.y),(s||e.getBBox&&t.getBBox&&e.ownerSVGElement===t.ownerSVGElement)&&(s=o.apply(e.getBBox()),h-=s.x,p-=s.y),o.e=h-a.x,o.f=p-a.y,o},Ps=(t,e,r)=>{let i,s,n,o=r.align,a=r.matrix,l=r.offsetX,h=r.offsetY,p=r.alignOrigin,d=t[0][0],u=t[0][1],c=xs(e,"x"),g=xs(e,"y");return t&&t.length?(o&&("self"===o||(i=gs(o)[0]||e)===e?Fi(t,1,0,0,1,c-d,g-u):(p&&!1!==p[2]?ds.set(e,{transformOrigin:100*p[0]+"% "+100*p[1]+"%"}):p=[xs(e,"xPercent")/-100,xs(e,"yPercent")/-100],s=ks(e,i,p,"auto"),n=s.apply({x:d,y:u}),Fi(t,s.a,s.b,s.c,s.d,c+s.e-(n.x-s.e),g+s.f-(n.y-s.f)))),a?Fi(t,a.a,a.b,a.c,a.d,a.e,a.f):(l||h)&&Fi(t,1,0,0,1,l||0,h||0),t):Si("M0,0L0,0")},Cs=(t,e,r,i,s,n)=>{let o=e._gsap,a=o.harness,l=a&&a.aliases&&a.aliases[r],h=l&&l.indexOf(",")<0?l:r,p=t._pt=new us(t._pt,e,h,0,0,bs,0,o.set(e,h,t));p.u=cs(o.get(e,h,n))||0,p.path=i,p.pp=s,t._props.push(h)};const Ss={version:"3.3.4",name:"motionPath",register(t,e,r){ds=t,cs=ds.utils.getUnit,gs=ds.utils.toArray,us=r},init(t,e){if(!ds)return console.warn("Please gsap.registerPlugin(MotionPathPlugin)"),!1;"object"==typeof e&&!e.style&&e.path||(e={path:e});let r,i,s,n,o=[],a=e.path,l=a[0],h=e.autoRotate,p=(d=e.start,u="end"in e?e.end:1,t=>d||1!==u?Di(t,d,u):t);var d,u;if(this.rawPaths=o,this.target=t,(this.rotate=h||0===h)&&(this.rOffset=parseFloat(h)||0,this.radians=!!e.useRadians,this.rProp=e.rotation||"rotation",this.rSet=t._gsap.set(t,this.rProp,this),this.ru=cs(t._gsap.get(t,this.rProp))||0),Array.isArray(a)&&!("closed"in a)&&"number"!=typeof l){for(i in l)~fs.indexOf(i)?s=i:~ms.indexOf(i)&&(n=i);for(i in s&&n?o.push(ws(this,ys(ys([],a,s,0),a,n,1),t,e.x||s,e.y||n,p,e)):s=n=0,l)i!==s&&i!==n&&o.push(ws(this,ys([],a,i,2),t,i,0,p,e))}else r=p(Ps(Si(e.path),t,e)),Xi(r,e.resolution),o.push(r),Cs(this,t,e.x||"x",r,"x",e.unitX||"px"),Cs(this,t,e.y||"y",r,"y",e.unitY||"px")},render(t,e){let r=e.rawPaths,i=r.length,s=e._pt;for(t>1?t=1:t<0&&(t=0);i--;)Bi(r[i],t,!i&&e.rotate,r[i]);for(;s;)s.set(s.t,s.p,s.path[s.pp]+s.u,s.d,t),s=s._next;e.rotate&&e.rSet(e.target,e.rProp,r[0].angle*(e.radians?_s:1)+e.rOffset+e.ru,e,t)},getLength:t=>Xi(Si(t)).totalLength,sliceRawPath:Di,getRawPath:Si,pointsToSegment:Vi,stringToRawPath:Ii,rawPathToString:Hi,transformRawPath:Fi,getGlobalMatrix:ps,getPositionOnPath:Bi,cacheRawPathMeasurements:Xi,convertToPath:(t,e)=>gs(t).map(t=>Ai(t,!1!==e)),convertCoordinates(t,e,r){let i=ps(e,!0,!0).multiply(
1ps(t));return r?i.apply(r):i},getAlignMatrix:ks,getRelativePosition(t,e,r,i){let s=ks(t,e,r,i);return{x:s.e,y:s.f}},arrayToRawPath(t,e){let r=ys(ys([],t,(e=e||{}).x||"x",0),t,e.y||"y",1);return e.relative&&vs(r),["cubic"===e.type?r:Vi(r,e.curviness)]}};(ds||"undefined"!=typeof window&&(ds=window.gsap)&&ds.registerPlugin&&ds)&&ds.registerPlugin(Ss);let Os,Es,As=()=>Os||"undefined"!=typeof window&&(Os=window.gsap)&&Os.registerPlugin&&Os,Ls=()=>{Os=As(),Os?(Os.registerEase("_CE",Rs.create),Es=1):console.warn("Please gsap.registerPlugin(CustomEase)")},Ds=t=>~~(1e3*t+(t<0?-.5:.5))/1e3,Ys=/[-+=\.]*\d+[\.e\-\+]*\d*[e\-\+]*\d*/gi,Xs=/[cLlsSaAhHvVtTqQ]/g,Ns=function(t,e,r,i,s,n,o,a,l,h,p){let d,u=(t+r)/2,c=(e+i)/2,g=(r+s)/2,f=(i+n)/2,m=(s+o)/2,_=(n+a)/2,y=(u+g)/2,x=(c+f)/2,v=(g+m)/2,w=(f+_)/2,b=(y+v)/2,T=(x+w)/2,M=o-t,k=a-e,P=Math.abs((r-o)*k-(i-a)*M),C=Math.abs((s-o)*k-(n-a)*M);return h||(h=[{x:t,y:e},{x:o,y:a}],p=1),h.splice(p||h.length-1,0,{x:b,y:T}),(P+C)*(P+C)>l*(M*M+k*k)&&(d=h.length,Ns(t,e,u,c,y,x,b,T,l,h,p),Ns(b,T,v,w,m,_,o,a,l,h,p+1+(h.length-d))),h};class Rs{constructor(t,e,r){Es||Ls(),this.id=t,this.setData(e,r)}setData(t,e){e=e||{};let r,i,s,n,o,a,l,h,p,d=(t=t||"0,0,1,1").match(Ys),u=1,c=[],g=[],f=e.precision||1,m=f<=1;if(this.data=t,(Xs.test(t)||~t.indexOf("M")&&t.indexOf("C")<0)&&(d=Ii(t)[0]),r=d.length,4===r)d.unshift(0,0),d.push(1,1),r=8;else if((r-2)%6)throw"Invalid CustomEase";for(0===+d[0]&&1===+d[r-2]||((t,e,r)=>{r||0===r||(r=Math.max(+t[t.length-1],+t[1]));let i,s=-1*+t[0],n=-r,o=t.length,a=1/(+t[o-2]+s),l=-e||(Math.abs(+t[o-1]-+t[1])<.01*(+t[o-2]-+t[0])?(t=>{let e,r=t.length,i=1e20;for(e=1;e<r;e+=6)+t[e]<i&&(i=+t[e]);return i})(t)+n:+t[o-1]+n);for(l=l?1/l:-a,i=0;i<o;i+=2)t[i]=(+t[i]+s)*a,t[i+1]=(+t[i+1]+n)*l})(d,e.height,e.originY),this.segment=d,n=2;n<r;n+=6)i={x:+d[n-2],y:+d[n-1]},s={x:+d[n+4],y:+d[n+5]},c.push(i,s),Ns(i.x,i.y,+d[n],+d[n+1],+d[n+2],+d[n+3],s.x,s.y,1/(2e5*f),c,c.length-1);for(r=c.length,n=0;n<r;n++)l=c[n],h=c[n-1]||l,l.x>h.x||h.y!==l.y&&h.x===l.x||l===h?(h.cx=l.x-h.x,h.cy=l.y-h.y,h.n=l,h.nx=l.x,m&&n>1&&Math.abs(h.cy/h.cx-c[n-2].cy/c[n-2].cx)>2&&(m=0),h.cx<u&&(h.cx?u=h.cx:(h.cx=.001,n===r-1&&(h.x-=.001,u=Math.min(u,.001),m=0)))):(c.splice(n--,1),r--);if(r=1/u+1|0,o=1/r,a=0,l=c[0],m){for(n=0;n<r;n++)p=n*o,l.nx<p&&(l=c[++a]),i=l.y+(p-l.x)/l.cx*l.cy,g[n]={x:p,cx:o,y:i,cy:0,nx:9},n&&(g[n-1].cy=i-g[n-1].y);g[r-1].cy=c[c.length-1].y-i}else{for(n=0;n<r;n++)l.nx<n*o&&(l=c[++a]),g[n]=l;a<c.length-1&&(g[n-1]=c[c.length-2])}return this.ease=t=>{let e=g[t*r|0]||g[r-1];return e.nx<t&&(e=e.n),e.y+(t-e.x)/e.cx*e.cy},this.ease.custom=this,this.id&&Os.registerEase(this.id,this.ease),this}getSVGData(t){return Rs.getSVGData(this,t)}static create(t,e,r){return new Rs(t,e,r).ease}static register(t){Os=t,Ls()}static get(t){return Os.parseEase(t)}static getSVGData(t,e){let r,i,s,n,o,a,l,h,p,d,u=(e=e||{}).width||100,c=e.height||100,g=e.x||0,f=(e.y||0)+c,m=Os.utils.toArray(e.path)[0];if(e.invert&&(c=-c,f=0),"string"==typeof t&&(t=Os.parseEase(t)),t.custom&&(t=t.custom),t instanceof Rs)r=Hi(Fi([t.segment],u,0,0,-c,g,f));else{for(r=[g,f],l=Math.max(5,200*(e.precision||1)),n=1/l,l+=2,h=5/l,p=Ds(g+n*u),d=Ds(f+t(n)*-c),i=(d-f)/(p-g),s=2;s<l;s++)o=Ds(g+s*n*u),a=Ds(f+t(s*n)*-c),(Math.abs((a-d)/(o-p)-i)>h||s===l-1)&&(r.push(p,d),i=(a-d)/(o-p)),p=o,d=a;r="M"+r.join(",")}return m&&m.setAttribute("d",r),r}}As()&&Os.registerPlugin(Rs),Rs.version="3.3.4";let Bs,Fs,zs,Is=()=>Bs||"undefined"!=typeof window&&(Bs=window.gsap)&&Bs.registerPlugin&&Bs,Ws={easeOut:"M0,1,C0.7,1,0.6,0,1,0",easeInOut:"M0,0,C0.1,0,0.24,1,0.444,1,0.644,1,0.6,0,1,0",anticipate:"M0,0,C0,0.222,0.024,0.386,0,0.4,0.18,0.455,0.65,0.646,0.7,0.67,0.9,0.76,1,0.846,1,1",uniform:"M0,0,C0,0.95,0,1,0,1,0,1,1,1,1,1,1,1,1,0,1,0"},Vs=t=>t,Hs=t=>{if(!Fs)if(Bs=Is(),zs=Bs&&Bs.parseEase("_CE"),zs){for(let t in Ws)Ws[t]=zs("",Ws[t]);Fs=1,qs("wiggle").config=t=>"object"==typeof t?qs("",t):qs("wiggle("+t+")",{wiggles:+t})}else t&&console.warn("Please gsap.registerPlugin(CustomEase, CustomWiggle)")},Us=(t,e)=>("function"!=typeof t&&(t=Bs.parseEase(t)||zs("",t)),t.custom||!e?t:e=>1-t(e)),qs=(t,e)=>{Fs||Hs(1);let r,i,s,n,o,a,l,h,p,d=0|((e=e||{}).wiggles||10),u=1/d,c=u/2,g="anticipate"===e.type,f=Ws[e.type]||Ws.easeOut,m=Vs;if(g&&(m=f,f=Ws.easeOut),e.timingEase&&(m=Us(e.timingEase)),e.amplitudeEase&&(f=Us(e.amplitudeEase,!0)),a=m(c),l=g?-f(c):f(c),h=[0,0,a/4,0,a/2,l,a,l],"random"===e.type){for(h.length=4,r=m(u),i=2*Math.random()-1,p=2;p<d;p++)c=r,l=i,r=m(u*p),i=2*Math.random()-1,s=Math.atan2(i-h[h.length-3],r-h[h.length-4]),n=Math.cos(s)*u,o=Math.sin(s)*u,h.push(c-n,l-o,c,l,c+n,l+o);h.push(r,0,1,0)}else{for(p=1;p<d;p++)h.push(m(c+u/2),l),c+=u,l=(l>0?-1:1)*f(p*u),a=m(c),h.push(m(c-u/2),l,a,l);h.push(m(c+u/4),l,m(c+u/4),0,1,0)}for(p=h.length;--p>-1;)h[p]=~~(1e3*h[p])/1e3;return h[2]="C"+h[2],zs(t,"M"+h.join(","))};
1class js{constructor(t,e){this.ease=qs(t,e)}static create(t,e){return qs(t,e)}static register(t){Bs=t,Hs()}}Is()&&Bs.registerPlugin(js),js.version="3.3.4";let Gs,Ks,Qs,Zs,$s,Js,tn,en=()=>"undefined"!=typeof window,rn=()=>Gs||en()&&(Gs=window.gsap)&&Gs.registerPlugin&&Gs,sn=t=>"string"==typeof t,nn=(t,e)=>{let r="x"===e?"Width":"Height",i="scroll"+r,s="client"+r;return t===Qs||t===Zs||t===$s?Math.max(Zs[i],$s[i])-(Qs["inner"+r]||Zs[s]||$s[s]):t[i]-t["offset"+r]},on=(t,e)=>{let r="scroll"+("x"===e?"Left":"Top");return t===Qs&&(null!=t.pageXOffset?r="page"+e.toUpperCase()+"Offset":t=null!=Zs[r]?Zs:$s),()=>t[r]},an=(t,e)=>{let r=Js(t)[0].getBoundingClientRect(),i=!e||e===Qs||e===$s,s=i?{top:Zs.clientTop-(Qs.pageYOffset||Zs.scrollTop||$s.scrollTop||0),left:Zs.clientLeft-(Qs.pageXOffset||Zs.scrollLeft||$s.scrollLeft||0)}:e.getBoundingClientRect(),n={x:r.left-s.left,y:r.top-s.top};return!i&&e&&(n.x+=on(e,"x")(),n.y+=on(e,"y")()),n},ln=(t,e,r,i)=>isNaN(t)||"object"==typeof t?sn(t)&&"="===t.charAt(1)?parseFloat(t.substr(2))*("-"===t.charAt(0)?-1:1)+i:"max"===t?nn(e,r):Math.min(nn(e,r),an(t,e)[r]):parseFloat(t),hn=()=>{Gs=rn(),en()&&Gs&&document.body&&(Qs=window,$s=document.body,Zs=document.documentElement,Js=Gs.utils.toArray,Gs.config({autoKillThreshold:7}),tn=Gs.config(),Ks=1)};const pn={version:"3.3.4",name:"scrollTo",rawVars:1,register(t){Gs=t,hn()},init(t,e,r,i,s){Ks||hn();let n=this;n.isWin=t===Qs,n.target=t,n.tween=r,"object"!=typeof e?sn((e={y:e}).y)&&"max"!==e.y&&"="!==e.y.charAt(1)&&(e.x=e.y):e.nodeType&&(e={y:e,x:e}),n.vars=e,n.autoKill=!!e.autoKill,n.getX=on(t,"x"),n.getY=on(t,"y"),n.x=n.xPrev=n.getX(),n.y=n.yPrev=n.getY(),null!=e.x?(n.add(n,"x",n.x,ln(e.x,t,"x",n.x)-(e.offsetX||0),i,s,Math.round),n._props.push("scrollTo_x")):n.skipX=1,null!=e.y?(n.add(n,"y",n.y,ln(e.y,t,"y",n.y)-(e.offsetY||0),i,s,Math.round),n._props.push("scrollTo_y")):n.skipY=1},render(t,e){let r,i,s,n,o,a=e._pt,l=e.target,h=e.tween,p=e.autoKill,d=e.xPrev,u=e.yPrev,c=e.isWin;for(;a;)a.r(t,a.d),a=a._next;r=c||!e.skipX?e.getX():d,i=c||!e.skipY?e.getY():u,s=i-u,n=r-d,o=tn.autoKillThreshold,e.x<0&&(e.x=0),e.y<0&&(e.y=0),p&&(!e.skipX&&(n>o||n<-o)&&r<nn(l,"x")&&(e.skipX=1),!e.skipY&&(s>o||s<-o)&&i<nn(l,"y")&&(e.skipY=1),e.skipX&&e.skipY&&(h.kill(),e.vars.onAutoKill&&e.vars.onAutoKill.apply(h,e.vars.onAutoKillParams||[]))),c?Qs.scrollTo(e.skipX?r:e.x,e.skipY?i:e.y):(e.skipY||(l.scrollTop=e.y),e.skipX||(l.scrollLeft=e.x)),e.xPrev=e.x,e.yPrev=e.y},kill(t){let e="scrollTo"===t;(e||"scrollTo_x"===t)&&(this.skipX=1),(e||"scrollTo_y"===t)&&(this.skipY=1)}};pn.max=nn,pn.getOffset=an,pn.buildGetter=on,rn()&&Gs.registerPlugin(pn);let dn,un,cn,gn=Math.PI/180,fn=()=>dn||"undefined"!=typeof window&&(dn=window.gsap)&&dn.registerPlugin&&dn,mn=t=>Math.round(1e4*t)/1e4,_n=t=>{dn=t||fn(),un||(cn=dn.utils.getUnit,un=1)};class yn{constructor(t,e,r,i,s){let n=t._gsap,o=n.get(t,e);this.p=e,this.set=n.set(t,e),this.s=this.val=parseFloat(o),this.u=cn(o)||0,this.vel=r||0,this.v=this.vel/s,i||0===i?(this.acc=i,this.a=this.acc/(s*s)):this.acc=this.a=0}}const xn={version:"3.3.4",name:"physics2D",register:_n,init(t,e,r){un||_n();let i=this,s=+e.angle||0,n=+e.velocity||0,o=+e.acceleration||0,a=e.xProp||"x",l=e.yProp||"y",h=e.accelerationAngle||0===e.accelerationAngle?+e.accelerationAngle:s;i.target=t,i.tween=r,i.step=0,i.sps=30,e.gravity&&(o=+e.gravity,h=90),s*=gn,h*=gn,i.fr=1-(+e.friction||0),i._props.push(a,l),i.xp=new yn(t,a,Math.cos(s)*n,Math.cos(h)*o,i.sps),i.yp=new yn(t,l,Math.sin(s)*n,Math.sin(h)*o,i.sps),i.skipX=i.skipY=0},render(t,e){let r,i,s,n,o,a,l=e.xp,h=e.yp,p=e.tween,d=e.target,u=e.step,c=e.sps,g=e.fr,f=e.skipX,m=e.skipY,_=p._from?p._dur-p._time:p._time;if(1===e.fr)s=_*_*.5,r=l.s+(l.vel*_+l.acc*s),i=h.s+(h.vel*_+h.acc*s);else{if(_*=c,n=a=(0|_)-u,o=_%1,a>=0)for(;a--;)l.v+=l.a,h.v+=h.a,l.v*=g,h.v*=g,l.val+=l.v,h.val+=h.v;else for(a=-a;a--;)l.val-=l.v,h.val-=h.v,l.v/=g,h.v/=g,l.v-=l.a,h.v-=h.a;r=l.val+l.v*o,i=h.val+h.v*o,e.step+=n}f||l.set(d,l.p,mn(r)+l.u),m||h.set(d,h.p,mn(i)+h.u)},kill(t){this.xp.p===t&&(this.skipX=1),this.yp.p===t&&(this.skipY=1)}};fn()&&dn.registerPlugin(xn);let vn,wn,bn,Tn,Mn,kn,Pn,Cn,Sn,On,En,An,Ln,Dn,Yn,Xn,Nn,Rn,Bn,Fn,zn,In=()=>"undefined"!=typeof window,Wn=()=>vn||In()&&(vn=window.gsap)&&vn.registerPlugin&&vn,Vn=t=>"function"==typeof t,Hn=t=>"object"==typeof t,Un=t=>void 0===t,qn=()=>
1!1,jn="transform",Gn="transformOrigin",Kn=t=>Math.round(1e4*t)/1e4,Qn=Array.isArray,Zn=(t,e)=>{let r=bn.createElementNS?bn.createElementNS((e||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),t):bn.createElement(t);return r.style?r:bn.createElement(t)},$n=180/Math.PI,Jn=1e20,to=new hs,eo=Date.now||(()=>(new Date).getTime()),ro=[],io={},so=0,no=/^(?:a|input|textarea|button|select)$/i,oo=0,ao={},lo={},ho=(t,e)=>{let r,i={};for(r in t)i[r]=e?t[r]*e:t[r];return i},po=()=>ro.forEach(t=>t()),uo=()=>!ro.length&&vn.ticker.remove(po),co=t=>{let e=ro.length;for(;e--;)ro[e]===t&&ro.splice(e,1);vn.to(uo,{overwrite:!0,delay:15,duration:0,onComplete:uo,data:"_draggable"})},go=(t,e,r,i)=>{if(t.addEventListener){let s=Ln[e];i=i||(En?{passive:!1}:null),t.addEventListener(s||e,r,i),s&&e!==s&&t.addEventListener(e,r,i)}},fo=(t,e,r)=>{if(t.removeEventListener){let i=Ln[e];t.removeEventListener(i||e,r),i&&e!==i&&t.removeEventListener(e,r)}},mo=t=>{t.preventDefault&&t.preventDefault(),t.preventManipulation&&t.preventManipulation()},_o=t=>{Yn=t.touches&&Dn<t.touches.length,fo(t.target,"touchend",_o)},yo=t=>{Yn=t.touches&&Dn<t.touches.length,go(t.target,"touchend",_o)},xo=t=>wn.pageYOffset||t.scrollTop||t.documentElement.scrollTop||t.body.scrollTop||0,vo=t=>wn.pageXOffset||t.scrollLeft||t.documentElement.scrollLeft||t.body.scrollLeft||0,wo=(t,e)=>{go(t,"scroll",e),To(t.parentNode)||wo(t.parentNode,e)},bo=(t,e)=>{fo(t,"scroll",e),To(t.parentNode)||bo(t.parentNode,e)},To=t=>!(t&&t!==Tn&&9!==t.nodeType&&t!==bn.body&&t!==wn&&t.nodeType&&t.parentNode),Mo=(t,e)=>{let r="x"===e?"Width":"Height",i="scroll"+r,s="client"+r;return Math.max(0,To(t)?Math.max(Tn[i],Mn[i])-(wn["inner"+r]||Tn[s]||Mn[s]):t[i]-t[s])},ko=(t,e)=>{let r=Mo(t,"x"),i=Mo(t,"y");To(t)?t=lo:ko(t.parentNode,e),t._gsMaxScrollX=r,t._gsMaxScrollY=i,e||(t._gsScrollX=t.scrollLeft||0,t._gsScrollY=t.scrollTop||0)},Po=(t,e,r)=>{let i=t.style;i&&(Un(i[e])&&(e=Sn(e,t)||e),null==r?i.removeProperty&&i.removeProperty(e.replace(/([A-Z])/g,"-$1").toLowerCase()):i[e]=r)},Co=t=>wn.getComputedStyle(t instanceof Element?t:t.host||(t.parentNode||{}).host||t),So={},Oo=t=>{if(t===wn)return So.left=So.top=0,So.width=So.right=Tn.clientWidth||t.innerWidth||Mn.clientWidth||0,So.height=So.bottom=(t.innerHeight||0)-20<Tn.clientHeight?Tn.clientHeight:t.innerHeight||Mn.clientHeight||0,So;let e=t.ownerDocument||bn,r=Un(t.pageX)?t.nodeType||Un(t.left)||Un(t.top)?On(t)[0].getBoundingClientRect():t:{left:t.pageX-vo(e),top:t.pageY-xo(e),right:t.pageX-vo(e)+1,bottom:t.pageY-xo(e)+1};return Un(r.right)&&!Un(r.width)?(r.right=r.left+r.width,r.bottom=r.top+r.height):Un(r.width)&&(r={width:r.right-r.left,height:r.bottom-r.top,right:r.right,left:r.left,bottom:r.bottom,top:r.top}),r},Eo=(t,e,r)=>{let i,s=t.vars,n=s[r],o=t._listeners[e];return Vn(n)&&(i=n.apply(s.callbackScope||t,s[r+"Params"]||[t.pointerEvent])),o&&!1===t.dispatchEvent(e)&&(i=!1),i},Ao=(t,e)=>{let r,i,s,n=On(t)[0];return n.nodeType||n===wn?Do(n,e):Un(t.left)?(i=t.min||t.minX||t.minRotation||0,r=t.min||t.minY||0,{left:i,top:r,width:(t.max||t.maxX||t.maxRotation||0)-i,height:(t.max||t.maxY||0)-r}):(s={x:0,y:0},{left:t.left-s.x,top:t.top-s.y,width:t.width,height:t.height})},Lo={},Do=(t,e)=>{e=On(e)[0];let r,i,s,n,o,a,l,h,p,d,u,c,g,f,m=t.getBBox&&t.ownerSVGElement,_=t.ownerDocument||bn;if(t===wn)s=xo(_),r=vo(_),i=r+(_.documentElement.clientWidth||t.innerWidth||_.body.clientWidth||0),n=s+((t.innerHeight||0)-20<_.documentElement.clientHeight?_.documentElement.clientHeight:t.innerHeight||_.body.clientHeight||0);else{if(e===wn||Un(e))return t.getBoundingClientRect();r=s=0,m?(d=t.getBBox(),u=d.width,c=d.height):(t.viewBox&&(d=t.viewBox.baseVal)&&(r=d.x||0,s=d.y||0,u=d.width,c=d.height),u||(g=Co(t),d="border-box"===g.boxSizing,u=(parseFloat(g.width)||t.clientWidth||0)+(d?0:parseFloat(g.borderLeftWidth)+parseFloat(g.borderRightWidth)),c=(parseFloat(g.height)||t.clientHeight||0)+(d?0:parseFloat(g.borderTopWidth)+parseFloat(g.borderBottomWidth)))),i=u,n=c}return t===e?{left:r,top:s,width:i-r,height:n-s}
1:(o=ps(e,!0).multiply(ps(t)),a=o.apply({x:r,y:s}),l=o.apply({x:i,y:s}),h=o.apply({x:i,y:n}),p=o.apply({x:r,y:n}),r=Math.min(a.x,l.x,h.x,p.x),s=Math.min(a.y,l.y,h.y,p.y),f=e.parentNode||{},{left:r+(f.scrollLeft||0),top:s+(f.scrollTop||0),width:Math.max(a.x,l.x,h.x,p.x)-r,height:Math.max(a.y,l.y,h.y,p.y)-s})},Yo=(t,e,r,i,s,n)=>{let o,a,l,h={};if(e)if(1!==s&&e instanceof Array){if(h.end=o=[],l=e.length,Hn(e[0]))for(a=0;a<l;a++)o[a]=ho(e[a],s);else for(a=0;a<l;a++)o[a]=e[a]*s;r+=1.1,i-=1.1}else Vn(e)?h.end=r=>{let i,n,o=e.call(t,r);if(1!==s)if(Hn(o)){for(n in i={},o)i[n]=o[n]*s;o=i}else o*=s;return o}:h.end=e;return(r||0===r)&&(h.max=r),(i||0===i)&&(h.min=i),n&&(h.velocity=0),h},Xo=t=>{let e;return!(!t||!t.getAttribute||t===Mn)&&(!("true"!==(e=t.getAttribute("data-clickable"))&&("false"===e||!t.onclick&&!no.test(t.nodeName+"")&&"true"!==t.getAttribute("contentEditable")))||Xo(t.parentNode))},No=(t,e)=>{let r,i=t.length;for(;i--;)r=t[i],r.ondragstart=r.onselectstart=e?null:qn,vn.set(r,{lazy:!0,userSelect:e?"text":"none"})},Ro=t=>"fixed"===Co(t).position||((t=t.parentNode)&&1===t.nodeType?Ro(t):void 0),Bo=function(t,e){t=vn.utils.toArray(t)[0],e=e||{};let r,i,s,n,o,a,l=document.createElement("div"),h=l.style,p=t.firstChild,d=0,u=0,c=t.scrollTop,g=t.scrollLeft,f=t.scrollWidth,m=t.scrollHeight,_=0,y=0,x=0;Fn&&!1!==e.force3D?(o="translate3d(",a="px,0px)"):jn&&(o="translate(",a="px)"),this.scrollTop=function(t,e){if(!arguments.length)return-this.top();this.top(-t,e)},this.scrollLeft=function(t,e){if(!arguments.length)return-this.left();this.left(-t,e)},this.left=function(r,i){if(!arguments.length)return-(t.scrollLeft+u);let s=t.scrollLeft-g,n=u;if((s>2||s<-2)&&!i)return g=t.scrollLeft,vn.killTweensOf(this,{left:1,scrollLeft:1}),this.left(-g),void(e.onKill&&e.onKill());(r=-r)<0?(u=r-.5|0,r=0):r>y?(u=r-y|0,r=y):u=0,(u||n)&&(this._skip||(h[jn]=o+-u+"px,"+-d+a),u+_>=0&&(h.paddingRight=u+_+"px")),t.scrollLeft=0|r,g=t.scrollLeft},this.top=function(r,i){if(!arguments.length)return-(t.scrollTop+d);let s=t.scrollTop-c,n=d;if((s>2||s<-2)&&!i)return c=t.scrollTop,vn.killTweensOf(this,{top:1,scrollTop:1}),this.top(-c),void(e.onKill&&e.onKill());(r=-r)<0?(d=r-.5|0,r=0):r>x?(d=r-x|0,r=x):d=0,(d||n)&&(this._skip||(h[jn]=o+-u+"px,"+-d+a)),t.scrollTop=0|r,c=t.scrollTop},this.maxScrollTop=()=>x,this.maxScrollLeft=()=>y,this.disable=function(){for(p=l.firstChild;p;)n=p.nextSibling,t.appendChild(p),p=n;t===l.parentNode&&t.removeChild(l)},this.enable=function(){if(p=t.firstChild,p!==l){for(;p;)n=p.nextSibling,l.appendChild(p),p=n;t.appendChild(l),this.calibrate()}},this.calibrate=function(e){let n,o,a,p=t.clientWidth===r;c=t.scrollTop,g=t.scrollLeft,p&&t.clientHeight===i&&l.offsetHeight===s&&f===t.scrollWidth&&m===t.scrollHeight&&!e||((d||u)&&(o=this.left(),a=this.top(),this.left(-t.scrollLeft),this.top(-t.scrollTop)),n=Co(t),p&&!e||(h.display="block",h.width="auto",h.paddingRight="0px",_=Math.max(0,t.scrollWidth-t.clientWidth),_&&(_+=parseFloat(n.paddingLeft)+(zn?parseFloat(n.paddingRight):0))),h.display="inline-block",h.position="relative",h.overflow="visible",h.verticalAlign="top",h.boxSizing="content-box",h.width="100%",h.paddingRight=_+"px",zn&&(h.paddingBottom=n.paddingBottom),r=t.clientWidth,i=t.clientHeight,f=t.scrollWidth,m=t.scrollHeight,y=t.scrollWidth-r,x=t.scrollHeight-i,s=l.offsetHeight,h.display="block",(o||a)&&(this.left(o),this.top(a)))},this.content=l,this.element=t,this._skip=!1,this.enable()},Fo=t=>{if(In()&&document.body){let t=window&&window.navigator;wn=window,bn=document,Tn=bn.documentElement,Mn=bn.body,kn=Zn("div"),Bn=!!window.PointerEvent,Pn=Zn("div"),Pn.style.cssText="visibility:hidden;height:1px;top:-1px;pointer-events:none;position:relative;clear:both;cursor:grab",Rn="grab"===Pn.style.cursor?"grab":"move",Xn=t&&-1!==t.userAgent.toLowerCase().indexOf("android"),An="ontouchstart"in Tn&&"orientation"in wn||t&&(t.MaxTouchPoints>0||t.msMaxTouchPoints>0),zn=function(){let t,e=Zn("div"),r=Zn("div"),i=r.style,s=Mn;return i.display="inline-block",i.position="relative",e.style.cssText=r.innerHTML="width:90px;height:40px;padding:10px;overflow:auto;visibility:hidden",e.appendChild(r),s.appendChild(e),t=r.offsetHeight+18>e.scrollHeight,s.removeChild(e),t}(),Ln=function(t){let e=t.split(","),r=(Un(kn.onpointerdown)?Un(kn.onmspointerdown)?t:"MSPointerDown,MSPointerMove,MSPointerUp,MSPointerCancel":"pointerdown,pointermove,pointerup,pointercancel").split(","),i={},s=4;for(;--s>-1;)i[e[s]]=r[s],i[r[s]]=e[s];try{Tn.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){En=1}}))}catch(t){}return i}("touchstart,touchmove,touchend,touchcancel"),go(bn,"touchcancel",qn),go(wn,"touchmove",qn),Mn&&Mn.addEventListener("touchstart",qn),go(bn,"contextmenu",function(){for(let t in io)io[t].isPressed&&io[t].endDrag(
1)}),vn=Cn=Wn()}vn?(Nn=vn.plugins.inertia,Sn=vn.utils.checkPrefix,jn=Sn(jn),Gn=Sn(Gn),On=vn.utils.toArray,Fn=!!Sn("perspective")):t&&console.warn("Please gsap.registerPlugin(Draggable)")};class zo{constructor(t){this._listeners={},this.target=t||this}addEventListener(t,e){let r=this._listeners[t]||(this._listeners[t]=[]);~r.indexOf(e)||r.push(e)}removeEventListener(t,e){let r=this._listeners[t],i=r&&r.indexOf(e)||-1;i>-1&&r.splice(i,1)}dispatchEvent(t){let e;return(this._listeners[t]||[]).forEach(r=>!1===r.call(this,{type:t,target:this.target})&&(e=!1)),e}}class Io extends zo{constructor(t,e){super(),vn||Fo(1),t=On(t)[0],Nn||(Nn=vn.plugins.inertia),this.vars=e=ho(e||{}),this.target=t,this.x=this.y=this.rotation=0,this.dragResistance=parseFloat(e.dragResistance)||0,this.edgeResistance=isNaN(e.edgeResistance)?1:parseFloat(e.edgeResistance)||0,this.lockAxis=e.lockAxis,this.autoScroll=e.autoScroll||0,this.lockedAxis=null,this.allowEventDefault=!!e.allowEventDefault,vn.getProperty(t,"x");let r,i,s,n,o,a,l,h,p,d,u,c,g,f,m,_,y,x,v,w,b,T,M,k,P,C,S,O,E,A,L,D=(e.type||"x,y").toLowerCase(),Y=~D.indexOf("x")||~D.indexOf("y"),X=-1!==D.indexOf("rotation"),N=X?"rotation":Y?"x":"left",R=Y?"y":"top",B=!(!~D.indexOf("x")&&!~D.indexOf("left")&&"scroll"!==D),F=!(!~D.indexOf("y")&&!~D.indexOf("top")&&"scroll"!==D),z=e.minimumMovement||2,I=this,W=On(e.trigger||e.handle||t),V={},H=0,U=!1,q=e.autoScrollMarginTop||40,j=e.autoScrollMarginRight||40,G=e.autoScrollMarginBottom||40,K=e.autoScrollMarginLeft||40,Q=e.clickableTest||Xo,Z=0,$=t._gsap||vn.core.getCache(t),J=Ro(t),tt=(e,r)=>parseFloat($.get(t,e,r)),et=t.ownerDocument||bn,rt=t=>(mo(t),t.stopImmediatePropagation&&t.stopImmediatePropagation(),!1),it=e=>{if(I.autoScroll&&I.isDragging&&(U||y)){let e,r,i,s,n,o,a,l,h=t,p=15*I.autoScroll;for(U=!1,lo.scrollTop=null!=wn.pageYOffset?wn.pageYOffset:null!=et.documentElement.scrollTop?et.documentElement.scrollTop:et.body.scrollTop,lo.scrollLeft=null!=wn.pageXOffset?wn.pageXOffset:null!=et.documentElement.scrollLeft?et.documentElement.scrollLeft:et.body.scrollLeft,s=I.pointerX-lo.scrollLeft,n=I.pointerY-lo.scrollTop;h&&!r;)r=To(h.parentNode),e=r?lo:h.parentNode,i=r?{bottom:Math.max(Tn.clientHeight,wn.innerHeight||0),right:Math.max(Tn.clientWidth,wn.innerWidth||0),left:0,top:0}:e.getBoundingClientRect(),o=a=0,F&&(l=e._gsMaxScrollY-e.scrollTop,l<0?a=l:n>i.bottom-G&&l?(U=!0,a=Math.min(l,p*(1-Math.max(0,i.bottom-n)/G)|0)):n<i.top+q&&e.scrollTop&&(U=!0,a=-Math.min(e.scrollTop,p*(1-Math.max(0,n-i.top)/q)|0)),a&&(e.scrollTop+=a)),B&&(l=e._gsMaxScrollX-e.scrollLeft,l<0?o=l:s>i.right-j&&l?(U=!0,o=Math.min(l,p*(1-Math.max(0,i.right-s)/j)|0)):s<i.left+K&&e.scrollLeft&&(U=!0,o=-Math.min(e.scrollLeft,p*(1-Math.max(0,s-i.left)/K)|0)),o&&(e.scrollLeft+=o)),r&&(o||a)&&(wn.scrollTo(e.scrollLeft,e.scrollTop),mt(I.pointerX+o,I.pointerY+a)),h=e}if(y){let r=I.x,s=I.y;X?(I.deltaX=r-parseFloat($.rotation),I.rotation=r,$.rotation=r+"deg",$.renderTransform(1,$)):i?(F&&(I.deltaY=s-i.top(),i.top(s)),B&&(I.deltaX=r-i.left(),i.left(r))):Y?(F&&(I.deltaY=s-parseFloat($.y),$.y=s+"px"),B&&(I.deltaX=r-parseFloat($.x),$.x=r+"px"),$.renderTransform(1,$)):(F&&(I.deltaY=s-parseFloat(t.style.top||0),t.style.top=s+"px"),B&&(I.deltaY=r-parseFloat(t.style.left||0),t.style.left=r+"px")),!h||e||O||(O=!0,!1===Eo(I,"drag","onDrag")&&(B&&(I.x-=I.deltaX),F&&(I.y-=I.deltaY),it(!0)),O=!1)}y=!1},st=(e,r)=>{let s,n,o=I.x,a=I.y;t._gsap||($=vn.core.getCache(t)),Y?(I.x=parseFloat($.x),I.y=parseFloat($.y)):X?I.x=I.rotation=parseFloat($.rotation):i?(I.y=i.top(),I.x=i.left()):(I.y=parseInt(t.style.top||(n=Co(t))&&n.top,10)||0,I.x=parseInt(t.style.left||(n||{}).left,10)||0),(v||w||b)&&!r&&(I.isDragging||I.isThrowing)&&(b&&(ao.x=I.x,ao.y=I.y,s=b(ao),s.x!==I.x&&(I.x=s.x,y=!0),s.y!==I.y&&(I.y=s.y,y=!0)),v&&(s=v(I.x),s!==I.x&&(I.x=s,X&&(I.rotation=s),y=!0)),w&&(s=w(I.y),s!==I.y&&(I.y=s),y=!0)),y&&it(!0),e||(I.deltaX=I.x-o,I.deltaY=I.y-a,Eo(I,"throwupdate","onThrowUpdate"))},nt=(t,e,r,i)=>(null==e&&(e=-Jn),null==r&&(r=Jn),Vn(t)?s=>{let n=I.isPressed?1-I.edgeResistance:1;return t.call(I,s>r?r+(s-r)*n:s<e?e+(s-e)*n:s)*i}:Qn(t)?i=>{let s,n,o=t.length,a=0,l=Jn;for(;--o>-1;)s=t[o],n=s-i,n<0&&(n=-n),n<l&&s>=e&&s<=r&&(a=o,l=n);return t[a]}:isNaN(t)?t=>t:()=>t*i),ot=()=>{let r,s,n,o;l=!1,i?(i.calibrate(),I.minX=u=-i.maxScrollLeft(),I.minY=g=-i.maxScrollTop(),I.maxX=d=I.maxY=c=0,l=!0):e.bounds&&(r=Ao(e.bounds,t.parentNode),X?(I.minX=u=r.left,I.maxX=d=r.left+r.
1width,I.minY=g=I.maxY=c=0):Un(e.bounds.maxX)&&Un(e.bounds.maxY)?(s=Ao(t,t.parentNode),I.minX=u=Math.round(tt(N,"px")+r.left-s.left-.5),I.minY=g=Math.round(tt(R,"px")+r.top-s.top-.5),I.maxX=d=Math.round(u+(r.width-s.width)),I.maxY=c=Math.round(g+(r.height-s.height))):(r=e.bounds,I.minX=u=r.minX,I.minY=g=r.minY,I.maxX=d=r.maxX,I.maxY=c=r.maxY),u>d&&(I.minX=d,I.maxX=d=u,u=I.minX),g>c&&(I.minY=c,I.maxY=c=g,g=I.minY),X&&(I.minRotation=u,I.maxRotation=d),l=!0),e.liveSnap&&(n=!0===e.liveSnap?e.snap||{}:e.liveSnap,o=Qn(n)||Vn(n),X?(v=nt(o?n:n.rotation,u,d,1),w=null):n.points?b=((t,e,r,i,s,n,o)=>(n=n&&n<Jn?n*n:Jn,Vn(t)?a=>{let l,h,p,d=I.isPressed?1-I.edgeResistance:1,u=a.x,c=a.y;return a.x=u=u>r?r+(u-r)*d:u<e?e+(u-e)*d:u,a.y=c=c>s?s+(c-s)*d:c<i?i+(c-i)*d:c,l=t.call(I,a),l!==a&&(a.x=l.x,a.y=l.y),1!==o&&(a.x*=o,a.y*=o),n<Jn&&(h=a.x-u,p=a.y-c,h*h+p*p>n&&(a.x=u,a.y=c)),a}:Qn(t)?e=>{let r,i,s,o,a=t.length,l=0,h=Jn;for(;--a>-1;)s=t[a],r=s.x-e.x,i=s.y-e.y,o=r*r+i*i,o<h&&(l=a,h=o);return h<=n?t[l]:e}:t=>t))(o?n:n.points,u,d,g,c,n.radius,i?-1:1):(B&&(v=nt(o?n:n.x||n.left||n.scrollLeft,u,d,i?-1:1)),F&&(w=nt(o?n:n.y||n.top||n.scrollTop,g,c,i?-1:1))))},at=()=>{I.isThrowing=!1,Eo(I,"throwcomplete","onThrowComplete")},lt=()=>{I.isThrowing=!1},ht=(r,s)=>{let n,o,a,h;r&&Nn?(!0===r&&(n=e.snap||e.liveSnap||{},o=Qn(n)||Vn(n),r={resistance:(e.throwResistance||e.resistance||1e3)/(X?10:1)},X?r.rotation=Yo(I,o?n:n.rotation,d,u,1,s):(B&&(r[N]=Yo(I,o?n:n.points||n.x||n.left,d,u,i?-1:1,s||"x"===I.lockedAxis)),F&&(r[R]=Yo(I,o?n:n.points||n.y||n.top,c,g,i?-1:1,s||"y"===I.lockedAxis)),(n.points||Qn(n)&&Hn(n[0]))&&(r.linkedProps=N+","+R,r.radius=n.radius))),I.isThrowing=!0,h=isNaN(e.overshootTolerance)?1===e.edgeResistance?0:1-I.edgeResistance+.2:e.overshootTolerance,r.duration||(r.duration={max:Math.max(e.minDuration||0,"maxDuration"in e?e.maxDuration:2),min:isNaN(e.minDuration)?0===h||Hn(r)&&r.resistance>1e3?0:.5:e.minDuration,overshoot:h}),I.tween=a=vn.to(i||t,{inertia:r,data:"_draggable",onComplete:at,onInterrupt:lt,onUpdate:e.fastMode?Eo:st,onUpdateParams:e.fastMode?[I,"onthrowupdate","onThrowUpdate"]:n&&n.radius?[!1,!0]:[]}),e.fastMode||(i&&(i._skip=!0),a.render(1e9,!0,!0),st(!0,!0),I.endX=I.x,I.endY=I.y,X&&(I.endRotation=I.x),a.play(0),st(!0,!0),i&&(i._skip=!1))):l&&I.applyBounds()},pt=e=>{let r,i=k;k=ps(t.parentNode,!0),e&&I.isPressed&&!k.equals(i||new hs)&&(r=i.inverse().apply({x:s,y:n}),k.apply(r,r),s=r.x,n=r.y),k.equals(to)&&(k=null)},dt=()=>{let e,r,h,p=1-I.edgeResistance;pt(!1),k&&(Lo.x=I.pointerX,Lo.y=I.pointerY,k.apply(Lo,Lo),s=Lo.x,n=Lo.y),y&&(mt(I.pointerX,I.pointerY),it(!0)),i?(ot(),a=i.top(),o=i.left()):(ut()?(st(!0,!0),ot()):I.applyBounds(),X?(e=t.ownerSVGElement?[$.xOrigin-t.getBBox().x,$.yOrigin-t.getBBox().y]:(Co(t)[Gn]||"0 0").split(" "),_=I.rotationOrigin=ps(t).apply({x:parseFloat(e[0])||0,y:parseFloat(e[1])||0}),st(!0,!0),r=I.pointerX-_.x,h=_.y-I.pointerY,J&&(r-=vo(et),h+=xo(et)),o=I.x,a=I.y=Math.atan2(h,r)*$n):(a=tt(R,"px"),o=tt(N,"px"))),l&&p&&(o>d?o=d+(o-d)/p:o<u&&(o=u-(u-o)/p),X||(a>c?a=c+(a-c)/p:a<g&&(a=g-(g-a)/p))),I.startX=o,I.startY=a},ut=()=>I.tween&&I.tween.isActive(),ct=()=>{!Pn.parentNode||ut()||I.isDragging||Pn.parentNode.removeChild(Pn)},gt=(o,a)=>{let l;if(!r||I.isPressed||!o||!("mousedown"!==o.type&&"pointerdown"!==o.type||a)&&eo()-Z<30&&Ln[I.pointerEvent.type])L&&o&&r&&mo(o);else{if(P=ut(),I.pointerEvent=o,Ln[o.type]?(M=~o.type.indexOf("touch")?o.currentTarget||o.target:et,go(M,"touchend",_t),go(M,"touchmove",ft),go(M,"touchcancel",_t),go(et,"touchstart",yo)):(M=null,go(et,"mousemove",ft)),S=null,Bn&&M||(go(et,"mouseup",_t),o&&o.target&&go(o.target,"mouseup",_t)),T=Q.call(I,o.target)&&!1===e.dragClickables&&!a,T)return go(o.target,"change",_t),Eo(I,"pressInit","onPressInit"),Eo(I,"press","onPress"),void No(W,!0);var d;if(C=!(!M||B===F||!1===I.vars.allowNativeTouchScrolling||I.vars.allowContextMenu&&o&&(o.ctrlKey||o.which>2))&&(B?"y":"x"),L=!C&&!I.allowEventDefault,L&&(mo(o),go(wn,"touchforcechange",mo)),o.changedTouches?(o=f=o.changedTouches[0],m=o.identifier):o.pointerId?m=o.pointerId:f=m=null,Dn++,d=it,ro.push(d),1===ro.length&&vn.ticker.add(po),n=I.pointerY=o.pageY,s=I.pointerX=o.pageX,Eo(I,"pressInit","onPressInit"),(C||I.autoScroll)&&ko(t.parentNode),!t.parentNode||!I.autoScroll||i||X||!t.parentNode._gsMaxScrollX||Pn.parentNode||t.getBBox||(Pn.style.width=t.parentNode.scrollWidth+"px",t.parentNode.appendChild(Pn)
1),dt(),I.tween&&I.tween.kill(),I.isThrowing=!1,vn.killTweensOf(i||t,V,!0),i&&vn.killTweensOf(t,{scrollTo:1},!0),I.tween=I.lockedAxis=null,(e.zIndexBoost||!X&&!i&&!1!==e.zIndexBoost)&&(t.style.zIndex=Io.zIndex++),I.isPressed=!0,h=!(!e.onDrag&&!I._listeners.drag),p=!(!e.onMove&&!I._listeners.move),!X&&(!1!==e.cursor||e.activeCursor))for(l=W.length;--l>-1;)vn.set(W[l],{cursor:e.activeCursor||e.cursor||("grab"===Rn?"grabbing":Rn)});Eo(I,"press","onPress")}},ft=t=>{let e,i,o,a,l,h,d=t;if(r&&!Yn&&I.isPressed&&t){if(I.pointerEvent=t,e=t.changedTouches,e){if((t=e[0])!==f&&t.identifier!==m){for(a=e.length;--a>-1&&(t=e[a]).identifier!==m;);if(a<0)return}}else if(t.pointerId&&m&&t.pointerId!==m)return;M&&C&&!S&&(Lo.x=t.pageX,Lo.y=t.pageY,k&&k.apply(Lo,Lo),i=Lo.x,o=Lo.y,l=Math.abs(i-s),h=Math.abs(o-n),(l!==h&&(l>z||h>z)||Xn&&C===S)&&(S=l>h&&B?"x":"y",C&&S!==C&&go(wn,"touchforcechange",mo),!1!==I.vars.lockAxisOnTouchScroll&&B&&F&&(I.lockedAxis="x"===S?"y":"x",Vn(I.vars.onLockAxis)&&I.vars.onLockAxis.call(I,d)),Xn&&C===S))?_t(d):(I.allowEventDefault||C&&(!S||C===S)||!1===d.cancelable?L&&(L=!1):(mo(d),L=!0),I.autoScroll&&(U=!0),mt(t.pageX-(J&&X?vo(et):0),t.pageY-(J&&X?xo(et):0),p))}else L&&t&&r&&mo(t)},mt=(t,e,r)=>{let i,h,p,f,m,x,T=1-I.dragResistance,M=1-I.edgeResistance,P=I.pointerX,C=I.pointerY,S=a,O=I.x,E=I.y,A=I.endX,L=I.endY,D=I.endRotation,Y=y;I.pointerX=t,I.pointerY=e,X?(f=Math.atan2(_.y-e,t-_.x)*$n,m=I.y-f,m>180?(a-=360,I.y=f):m<-180&&(a+=360,I.y=f),I.x!==o||Math.abs(a-f)>z?(I.y=f,p=o+(a-f)*T):p=o):(k&&(x=t*k.a+e*k.c+k.e,e=t*k.b+e*k.d+k.f,t=x),h=e-n,i=t-s,h<z&&h>-z&&(h=0),i<z&&i>-z&&(i=0),(I.lockAxis||I.lockedAxis)&&(i||h)&&(x=I.lockedAxis,x||(I.lockedAxis=x=B&&Math.abs(i)>Math.abs(h)?"y":F?"x":null,x&&Vn(I.vars.onLockAxis)&&I.vars.onLockAxis.call(I,I.pointerEvent)),"y"===x?h=0:"x"===x&&(i=0)),p=Kn(o+i*T),f=Kn(a+h*T)),(v||w||b)&&(I.x!==p||I.y!==f&&!X)?(b&&(ao.x=p,ao.y=f,x=b(ao),p=Kn(x.x),f=Kn(x.y)),v&&(p=Kn(v(p))),w&&(f=Kn(w(f)))):l&&(p>d?p=d+Math.round((p-d)*M):p<u&&(p=u+Math.round((p-u)*M)),X||(f>c?f=Math.round(c+(f-c)*M):f<g&&(f=Math.round(g+(f-g)*M)))),(I.x!==p||I.y!==f&&!X)&&(X?(I.endRotation=I.x=I.endX=p,y=!0):(F&&(I.y=I.endY=f,y=!0),B&&(I.x=I.endX=p,y=!0)),r&&!1===Eo(I,"move","onMove")?(I.pointerX=P,I.pointerY=C,a=S,I.x=O,I.y=E,I.endX=A,I.endY=L,I.endRotation=D,y=Y):!I.isDragging&&I.isPressed&&(I.isDragging=!0,Eo(I,"dragstart","onDragStart")))},_t=(i,s)=>{if(!r||!I.isPressed||i&&null!=m&&!s&&(i.pointerId&&i.pointerId!==m||i.changedTouches&&!((t,e)=>{let r=t.length;for(;r--;)if(t[r].identifier===e)return!0})(i.changedTouches,m)))return void(L&&i&&r&&mo(i));I.isPressed=!1;let n,o,a,l,h,p=i,d=I.isDragging,u=I.vars.allowContextMenu&&i&&(i.ctrlKey||i.which>2),c=vn.delayedCall(.001,ct);if(M?(fo(M,"touchend",_t),fo(M,"touchmove",ft),fo(M,"touchcancel",_t),fo(et,"touchstart",yo)):fo(et,"mousemove",ft),fo(wn,"touchforcechange",mo),Bn&&M||(fo(et,"mouseup",_t),i&&i.target&&fo(i.target,"mouseup",_t)),y=!1,T&&!u)return i&&(fo(i.target,"change",_t),I.pointerEvent=p),No(W,!1),Eo(I,"release","onRelease"),Eo(I,"click","onClick"),void(T=!1);if(co(it),!X)for(o=W.length;--o>-1;)Po(W[o],"cursor",e.cursor||(!1!==e.cursor?Rn:null));if(d&&(H=oo=eo(),I.isDragging=!1),Dn--,i){if(n=i.changedTouches,n&&(i=n[0])!==f&&i.identifier!==m){for(o=n.length;--o>-1&&(i=n[o]).identifier!==m;);if(o<0)return}I.pointerEvent=p,I.pointerX=i.pageX,I.pointerY=i.pageY}return u&&p?(mo(p),L=!0,Eo(I,"release","onRelease")):p&&!d?(L=!1,P&&(e.snap||e.bounds)&&ht(e.inertia||e.throwProps),Eo(I,"release","onRelease"),Xn&&"touchmove"===p.type||-1!==p.type.indexOf("cancel")||(Eo(I,"click","onClick"),eo()-Z<300&&Eo(I,"doubleclick","onDoubleClick"),l=p.target||t,Z=eo(),h=()=>{Z===E||!I.enabled()||I.isPressed||p.defaultPrevented||(l.click?l.click():et.createEvent&&(a=et.createEvent("MouseEvents"),a.initMouseEvent("click",!0,!0,wn,1,I.pointerEvent.screenX,I.pointerEvent.screenY,I.pointerX,I.pointerY,!1,!1,!1,!1,0,null),l.dispatchEvent(a)))},Xn||p.defaultPrevented||vn.delayedCall(.05,h))):(ht(e.inertia||e.throwProps),I.allowEventDefault||!p||!1===e.dragClickables&&Q.call(I,p.target)||!d||C&&(!S||C!==S)||!1===p.cancelable?L=!1:(L=!0,mo(p)),Eo(I,"release","onRelease")),ut()&&c.duration(I.tween.duration()),d&&Eo(I,"dragend","onDragEnd"),!0},yt=e=>{if(e&&I.isDragging&&!i){let r=e.target||t.parentNode,i=r.scrollLeft-r._gsScrollX,o=r.scrollTop-r._gsScrollY;(i||o)&&(k?(s-=i*k.a+o*k.c,n-=o*k.d+i*k.b):(s-=i,n-=o),r._gsScrollX+=i,r._gsScrollY+=o,mt(I.pointerX,I.pointerY))}},xt=t=>{let e=eo(),r=e-Z<40,i=e-H<40,s=r&&E===Z,n=I.pointerEvent&&I.pointerEvent.defaultPrevented,o=r&&A===Z,a=t.isTrusted||null==t.isTrusted&&r&&s;if((s||i&&!1!==I.vars.suppressClickOnDrag)&&t.stopImmediatePropagation&&t.stopImmediatePropagation(),r&&(!I.pointerEvent||!I.pointerEvent.defaultPrevented)&&(!s||a&&!o))return a&&s&&(A=Z),void(E=Z);(I.isPressed||i||r)&&(a&&t.detail&&r&&!n||mo(t))},vt=t=>k?{x:t.x*k.a+t.y*k.c+k.e,y:t.x*k.b+t.y*k.d+k.f}:{x:t.x,y:t.y};x=Io.get(t),x&&x.kill(),this.startDrag=(e,r)=>{let i,o,a,l;gt(e||I.pointerEvent,!0),r&&!I.hitTest(e||I.pointerEvent)&&(i=Oo(e||I.pointerEvent),o=Oo(t),a=vt({x:i.left+i.width/2,y:i.top+i.height/2}),l=vt({x:o.left+o.width/2,y:o.top+o.height/2}),s-=a.x-l.x,n-=a.y-l.y),I.isDragging||(I.isDragging=!0,Eo(I,"dragstart","onDragStart"))},this.drag=ft,this.endDrag=t=>_t(t||I.pointerEvent,!0),this.timeSinceDrag=()=>I.isDragging?0:(eo()-H)/1e3,this.timeSinceClick=()=>(eo()-Z)/1e3,this.hitTest=(t,e)=>Io.hitTest(I.target,t,e),this.getDirection=(e,r)=>{let i,s,n,l,h,p,d="velocity"===e&&Nn?e:Hn(e)&&!X?"element":"start";return"element"===d&&(h=Oo(I.target),p=Oo(e)),i="start"===d?I.x-o:"velocity"===d?Nn.getVelocity(t,N):h.left+h.width/2-(p.left+p.width/2),X?i<0?"counter-clockwise":"clockwise":(r=r||2,s="start"===d?I.y-a:"velocity"===d?Nn.getVelocity(t,R):h.top+h.height/2-(p.top+p.height/2),n=Math.abs(i/s),l=n<1/r?"":i<0?"left":"right",n<r&&(""!==l&&(l+="-"),l+=s<0?"up":"down"),l)},this.applyBounds=(r,i)=>{let s,n,o,a,h,p;
1if(r&&e.bounds!==r)return e.bounds=r,I.update(!0,i);if(st(!0),ot(),l&&!ut()){if(s=I.x,n=I.y,s>d?s=d:s<u&&(s=u),n>c?n=c:n<g&&(n=g),(I.x!==s||I.y!==n)&&(o=!0,I.x=I.endX=s,X?I.endRotation=s:I.y=I.endY=n,y=!0,it(!0),I.autoScroll&&!I.isDragging))for(ko(t.parentNode),a=t,lo.scrollTop=null!=wn.pageYOffset?wn.pageYOffset:null!=et.documentElement.scrollTop?et.documentElement.scrollTop:et.body.scrollTop,lo.scrollLeft=null!=wn.pageXOffset?wn.pageXOffset:null!=et.documentElement.scrollLeft?et.documentElement.scrollLeft:et.body.scrollLeft;a&&!p;)p=To(a.parentNode),h=p?lo:a.parentNode,F&&h.scrollTop>h._gsMaxScrollY&&(h.scrollTop=h._gsMaxScrollY),B&&h.scrollLeft>h._gsMaxScrollX&&(h.scrollLeft=h._gsMaxScrollX),a=h;I.isThrowing&&(o||I.endX>d||I.endX<u||I.endY>c||I.endY<g)&&ht(e.inertia||e.throwProps,o)}return I},this.update=(e,r,i)=>{let s=I.x,n=I.y;return pt(!r),e?I.applyBounds():(y&&i&&it(!0),st(!0)),r&&(mt(I.pointerX,I.pointerY),y&&it(!0)),I.isPressed&&!r&&(B&&Math.abs(s-I.x)>.01||F&&Math.abs(n-I.y)>.01&&!X)&&dt(),I.autoScroll&&(ko(t.parentNode,I.isDragging),U=I.isDragging,it(!0),bo(t,yt),wo(t,yt)),I},this.enable=s=>{let n,o,a,l={lazy:!0};if(X||!1===e.cursor||(l.cursor=e.cursor||Rn),vn.utils.checkPrefix("touchCallout")&&(l.touchCallout="none"),l.touchAction=B===F?"none":e.allowNativeTouchScrolling||e.allowEventDefault?"manipulation":B?"pan-y":"pan-x","soft"!==s){for(o=W.length;--o>-1;)a=W[o],Bn||go(a,"mousedown",gt),go(a,"touchstart",gt),go(a,"click",xt,!0),vn.set(a,l),a.getBBox&&a.ownerSVGElement&&vn.set(a.ownerSVGElement,{touchAction:B===F?"none":e.allowNativeTouchScrolling||e.allowEventDefault?"manipulation":B?"pan-y":"pan-x"}),e.allowContextMenu||go(a,"contextmenu",rt);No(W,!1)}return wo(t,yt),r=!0,Nn&&"soft"!==s&&Nn.track(i||t,Y?"x,y":X?"rotation":"top,left"),t._gsDragID=n="d"+so++,io[n]=I,i&&(i.enable(),i.element._gsDragID=n),(e.bounds||X)&&dt(),e.bounds&&I.applyBounds(),I},this.disable=e=>{let s,n,o=I.isDragging;if(!X)for(s=W.length;--s>-1;)Po(W[s],"cursor",null);if("soft"!==e){for(s=W.length;--s>-1;)n=W[s],Po(n,"touchCallout",null),Po(n,"touchAction",null),fo(n,"mousedown",gt),fo(n,"touchstart",gt),fo(n,"click",xt),fo(n,"contextmenu",rt);No(W,!0),M&&(fo(M,"touchcancel",_t),fo(M,"touchend",_t),fo(M,"touchmove",ft)),fo(et,"mouseup",_t),fo(et,"mousemove",ft)}return bo(t,yt),r=!1,Nn&&"soft"!==e&&Nn.untrack(i||t,Y?"x,y":X?"rotation":"top,left"),i&&i.disable(),co(it),I.isDragging=I.isPressed=T=!1,o&&Eo(I,"dragend","onDragEnd"),I},this.enabled=function(t,e){return arguments.length?t?I.enable(e):I.disable(e):r},this.kill=function(){return I.isThrowing=!1,I.tween&&I.tween.kill(),I.disable(),vn.set(W,{clearProps:"userSelect"}),delete io[t._gsDragID],I},~D.indexOf("scroll")&&(i=this.scrollProxy=new Bo(t,((t,e)=>{for(let r in e)r in t||(t[r]=e[r]);return t})({onKill:function(){I.isPressed&&_t(null)}},e)),t.style.overflowY=F&&!An?"auto":"hidden",t.style.overflowX=B&&!An?"auto":"hidden",t=i.content),X?V.rotation=1:(B&&(V[N]=1),F&&(V[R]=1)),$.force3D=!("force3D"in e)||e.force3D,this.enable()}static register(t){vn=t,Fo()}static create(t,e){return Cn||Fo(!0),On(t).map(t=>new Io(t,e))}static get(t){return io[(On(t)[0]||{})._gsDragID]}static timeSinceDrag(){return(eo()-oo)/1e3}static hitTest(t,e,r){if(t===e)return!1;let i,s,n,o=Oo(t),a=Oo(e),l=o.top,h=o.left,p=o.right,d=o.bottom,u=o.width,c=o.height,g=a.left>p||a.right<h||a.top>d||a.bottom<l;return g||!r?!g:(n=-1!==(r+"").indexOf("%"),r=parseFloat(r)||0,i={left:Math.max(h,a.left),top:Math.max(l,a.top)},i.width=Math.min(p,a.right)-i.left,i.height=Math.min(d,a.bottom)-i.top,!(i.width<0||i.height<0)&&(n?(r*=.01,s=i.width*i.height,s>=u*c*r||s>=a.width*a.height*r):i.width>r&&i.height>r))}}((t,e)=>{for(let r in e)r in t||(t[r]=e[r])})(Io.prototype,{pointerX:0,pointerY:0,startX:0,startY:0,deltaX:0,deltaY:0,isDragging:!1,isPressed:!1}),Io.zIndex=1e3,Io.version="3.3.4",Wn()&&vn.registerPlugin(Io);let Wo,Vo,Ho,Uo,qo,jo,Go,Ko,Qo,Zo,$o,Jo,ta,ea,ra,ia,sa,na,oa,aa=1,la=Date.now,ha=la(),pa=0,da=1,ua=t=>t,ca=()=>"undefined"!=typeof window,ga=()=>Wo||ca()&&(Wo=window.gsap)&&Wo.registerPlugin&&Wo,fa=t=>!!~Go.indexOf(t),ma=(t,e)=>{let r=e.s;return function(e){return arguments.length?t[r]=e:t[r]}},_a=(t,e)=>{let r=e.s,i=e.d2;
1return(r="scroll"+i)&&fa(t)?Math.max(qo[r],jo[r])-(Ho["inner"+i]||qo["client"+i]||jo["client"+i]):t[r]-t["offset"+i]},ya=t=>"string"==typeof t,xa=t=>"function"==typeof t,va=t=>"number"==typeof t,wa=t=>"object"==typeof t,ba=Math.abs,Ta="scrollLeft",Ma="scrollTop",ka="left",Pa="top",Ca="right",Sa="bottom",Oa="width",Ea="height",Aa="Right",La="Left",Da="Top",Ya="Bottom",Xa="padding",Na="margin",Ra="Width",Ba="Height",Fa="px",za={s:Ta,p:ka,p2:La,os:Ca,os2:Aa,d:Oa,d2:Ra,a:"x",sc:function(t){return arguments.length?Ho.scrollTo(t,Ia.sc()):Ho.pageXOffset||Uo[Ta]||qo[Ta]||jo[Ta]||0}},Ia={s:Ma,p:Pa,p2:Da,os:Sa,os2:Ya,d:Ea,d2:Ba,a:"y",op:za,sc:function(t){return arguments.length?Ho.scrollTo(za.sc(),t):Ho.pageYOffset||Uo[Ma]||qo[Ma]||jo[Ma]||0}},Wa=t=>Ho.getComputedStyle(t),Va=(t,e)=>{for(let r in e)r in t||(t[r]=e[r]);return t},Ha=(t,e)=>{let r=e&&"matrix(1, 0, 0, 1, 0, 0)"!==Wa(t)[sa]&&Wo.to(t,{x:0,y:0,xPercent:0,yPercent:0,rotation:0,rotationX:0,rotationY:0,scale:1,skewX:0,skewY:0}).progress(1),i=t.getBoundingClientRect();return r&&r.progress(0).kill(),i},Ua=(t,e)=>{let r=e.d2;return t["offset"+r]||t["client"+r]||0},qa=(t,e,r,i)=>r.split(",").forEach(r=>t(e,r,i)),ja=(t,e,r)=>t.addEventListener(e,r,{passive:!0}),Ga=(t,e,r)=>t.removeEventListener(e,r),Ka={startColor:"green",endColor:"red",indent:0,fontSize:"16px",fontWeight:"normal"},Qa={toggleActions:"play",anticipatePin:0},Za={top:0,left:0,center:.5,bottom:1,right:1},$a=(t,e)=>{if(ya(t)){let r=t.indexOf("="),i=~r?+(t.charAt(r-1)+1)*parseFloat(t.substr(r+1)):0;i&&(t.indexOf("%")>r&&(i*=e/100),t=t.substr(0,r-1)),t=i+(t in Za?Za[t]*e:~t.indexOf("%")?parseFloat(t)*e/100:parseFloat(t)||0)}return t},Ja=(t,e,r,i,s,n,o)=>{let a=s.startColor,l=s.endColor,h=s.fontSize,p=s.indent,d=s.fontWeight,u=Uo.createElement("div"),c=fa(r),g=-1!==t.indexOf("scroller"),f=c?jo:r,m=-1!==t.indexOf("start"),_=m?a:l,y="border-color:"+_+";font-size:"+h+";color:"+_+";font-weight:"+d+";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";return y+="position:"+(g&&c?"fixed;":"absolute;"),(g||!c)&&(y+=(i===Ia?Ca:Sa)+":"+(n+parseFloat(p))+"px;"),o&&(y+="box-sizing:border-box;text-align:left;width:"+o.offsetWidth+"px;"),u._isStart=m,u.setAttribute("class","gsap-marker-"+t),u.style.cssText=y,u.innerText=e||0===e?t+"-"+e:t,f.insertBefore(u,f.children[0]),u._offset=u["offset"+i.op.d2],tl(u,0,i,c,m),u},tl=(t,e,r,i,s)=>{let n={},o=r[s?"os2":"p2"],a=r[s?"p2":"os2"];t._isFlipped=s,n[r.a+"Percent"]=s?-100:0,n[r.a]=s?1:0,n["border"+o+Ra]=1,n["border"+a+Ra]=0,n[r.p]=e,Wo.set(t,n)},el=[],rl={},il=()=>Zo||(Zo=Qo(pl)),sl=()=>{Zo||(Zo=Qo(pl),pa||ll("scrollStart"),pa=la())},nl=()=>!ra&&la()-pa>200&&Ko.restart(!0),ol={},al=[],ll=t=>ol[t]&&ol[t].map(t=>t())||al,hl=t=>{let e=ll("refreshInit"),r=el.length;for(na=r;na--;)el[na].scroll.rec=el[na].scroll();for(na=0;na<r;na++)el[na]&&el[na].refresh(!0!==t);for(e.forEach(t=>t&&t.render&&t.render(-1)),na=el.length;na--;)el[na].scroll.rec=0;ll("refresh")},pl=()=>{let t=el.length,e=la(),r=e-ha>=50;for(r&&(pa&&!ia&&e-pa>200&&(pa=0,ll("scrollEnd")),ta=ha,ha=e),na=0;na<t;na++)el[na]&&el[na].update(0,r);Zo=0},dl=[ka,Pa,Sa,Ca,Na+Ya,Na+Aa,Na+Da,Na+La,"display","flexShrink"],ul=dl.concat([Oa,Ea,"boxSizing","max"+Ra,"max"+Ba,"position",Na,Xa,Xa+Da,Xa+Aa,Xa+Ya,Xa+La]),cl=(t,e,r)=>{if(ml(r),t.parentNode===e){let r=e.parentNode;r&&(r.insertBefore(t,e),r.removeChild(e))}},gl=(t,e,r)=>{if(t.parentNode!==e){let i,s=dl.length,n=e.style,o=t.style;for(;s--;)i=dl[s],n[i]=r[i];n.position="absolute"===r.position?"absolute":"relative",o[Sa]=o[Ca]="auto",n.overflow="visible",n.boxSizing="border-box",n[Oa]=Ua(t,za)+Fa,n[Ea]=Ua(t,Ia)+Fa,n[Xa]=o[Na]=o[Pa]=o[ka]="0",o[Oa]=r[Oa],o[Ea]=r[Ea],o[Xa]=r[Xa],t.parentNode.insertBefore(e,t),e.appendChild(t)}},fl=/([A-Z])/g,ml=t=>{let e,r,i=t.t.style,s=t.length,n=0;for(;n<s;n+=2)r=t[n+1],e=t[n],r?i[e]=r:i[e]&&i.removeProperty(e.replace(fl,"-$1").toLowerCase())},_l=t=>{let e=ul.length,r=t.style,i=[],s=0;for(;s<e;s++)i.push(ul[s],r[ul[s]]);return i.t=t,i},yl={left:0,top:0},xl=(t,e,r,i,s,n,o,a,l,h,p,d)=>
1{if(xa(t)&&(t=t(a)),ya(t)&&"max"===t.substr(0,3)&&(t=d+("="===t.charAt(4)?$a("0"+t.substr(3),r):0)),va(t))o&&tl(o,r,i,p,!0);else{xa(e)&&(e=e(a));let n,d,u,c=$o(e)[0]||jo,g=Ha(c)||{},f=t.split(" ");g&&(g.left||g.top)||"none"!==Wa(c).display||(u=c.style.display,c.style.display="block",g=Ha(c),u?c.style.display=u:c.style.removeProperty("display")),n=$a(f[0],g[i.d]),d=$a(f[1]||"0",r),t=g[i.p]-l[i.p]-h+n+s-d,o&&tl(o,d,i,p,r-d<20||o._isStart&&d>20),r-=r-d}if(n){let e=t+r,s=n._isStart;d="scroll"+i.d2,tl(n,e,i,p,s&&e>20||!s&&(p?Math.max(jo[d],qo[d]):n.parentNode[d])<=e+1),p&&(l=Ha(o),p&&(n.style[i.op.p]=l[i.op.p]-i.op.m-n._offset+Fa))}return Math.round(t)},vl=/(?:webkit|moz|length)/i,wl=(t,e)=>{let r,i=fa(t)?e.sc:ma(t,e),s="_scroll"+e.p2,n=(e,o,a,l,h)=>{let p=n.tween,d=o.onComplete,u={};return p&&p.kill(),r=i(),o[s]=e,o.modifiers=u,u[s]=t=>(i()!==r?(p.kill(),n.tween=0,t=i()):l&&(t=a+l*p.ratio+h*p.ratio*p.ratio),r=Math.round(t)),o.onComplete=()=>{n.tween=0,d&&d.call(p)},p=n.tween=Wo.to(t,o),p};return t[s]=i,n};za.op=Ia;class bl{constructor(t,e){Vo||bl.register(Wo)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),this.init(t,e)}init(t,e){if(this.progress=0,this.vars&&this.kill(1),!da)return void(this.update=this.refresh=this.kill=ua);let r,i,s,n,o,a,l,h,p,d,u,c,g,f,m,_,y,x,v,w,b,T,M,k,P,C,S,O,E,A,L,D,Y,X,N,R,B=(t=Va(ya(t)||va(t)||t.nodeType?{trigger:t}:t,Qa)).horizontal?za:Ia,F=t,z=F.onUpdate,I=F.toggleClass,W=F.id,V=F.onToggle,H=F.onRefresh,U=F.scrub,q=F.trigger,j=F.pin,G=F.pinSpacing,K=F.invalidateOnRefresh,Q=F.anticipatePin,Z=F.onScrubComplete,$=F.onSnapComplete,J=F.once,tt=F.snap,et=F.pinReparent,rt=!U&&0!==U,it=$o(t.scroller||Ho)[0],st=Wo.core.getCache(it),nt=fa(it),ot=[t.onEnter,t.onLeave,t.onEnterBack,t.onLeaveBack],at=rt&&(J?"play":t.toggleActions).split(" "),lt="markers"in t?t.markers:Qa.markers,ht=nt?0:parseFloat(Wa(it)["border"+B.p2+Ra])||0,pt=this,dt=()=>bl.removeEventListener("scrollEnd",dt)||pt.refresh(),ut=t.onRefreshInit&&(()=>t.onRefreshInit(pt));var ct;Q*=45,el.push(pt),pt.scroller=it,pt.scroll=nt?B.sc:ma(it,B),o=pt.scroll(),pt.vars=t,e=e||t.animation,st.tweenScroll=st.tweenScroll||{top:wl(it,Ia),left:wl(it,za)},pt.tweenTo=r=st.tweenScroll[B.p],e&&(e.vars.lazy=!1,e._initted||!1!==e.vars.immediateRender&&e.render(-.01,!0,!0),pt.animation=e.pause(),e.scrollTrigger=pt,Y=va(U)&&U,Y&&(D=Wo.to(e,{ease:"power3",duration:Y,onComplete:()=>Z&&Z(pt)})),E=0,W||(W=e.vars.id)),tt&&(wa(tt)||(tt={snapTo:tt}),s=xa(tt.snapTo)?tt.snapTo:"labels"===tt.snapTo?(t=>e=>{let r,i=[],s=t.labels,n=t.duration();for(r in s)i.push(s[r]/n);return Wo.utils.snap(i,e)})(e):Wo.utils.snap(tt.snapTo),X=tt.duration||{min:.1,max:2},X=wa(X)?Jo(X.min,X.max):Jo(X,X),N=Wo.delayedCall(tt.delay||Y/2||.1,()=>{if(!pa||pa===L&&!ia){let t=e&&!rt?e.totalProgress():pt.progress,i=(t-A)/(la()-ta)*1e3||0,n=ba(i/2)*i/.185,o=t+n,a=Jo(0,1,s(o,pt)),p=a-t-n,d=pt.scroll(),u=Math.round(l+a*f),c=r.tween;if(d<=h&&d>=l){if(c&&!c._initted){if(c.data<=Math.abs(u-d))return;c.kill()}r(u,{duration:X(ba(.185*Math.max(ba(o-t),ba(a-t))/i/.05||0)),ease:tt.ease||"power3",data:Math.abs(u-d),onComplete:()=>{E=A=e&&!rt?e.totalProgress():pt.progress,$&&$(pt)}},l+t*f,n*f,p*f)}}else N.restart(!0)}).pause()),W&&(rl[W]=pt),q=pt.trigger=$o(q||j)[0],j=!0===j?q:$o(j)[0],ya(I)&&(I={targets:q,className:I}),j&&(!1===G||G===Na||(G="flex"!==Wa(j.parentNode).display&&Xa),pt.pin=j,!1!==t.force3D&&Wo.set(j,{force3D:!0}),i=Wo.core.getCache(j),i.spacer?m=i.pinState:(i.spacer=x=Uo.createElement("div"),x.setAttribute("class","pin-spacer"+(W?" pin-spacer-"+W:"")),i.pinState=m=_l(j)),pt.spacer=x=i.spacer,O=Wa(j),k=O[G+B.os2],w=Wo.getProperty(j),b=Wo.quickSetter(j,B.a,Fa),gl(j,x,O),y=_l(j)),lt&&(g=wa(lt)?Va(lt,Ka):Ka,u=Ja("scroller-start",W,it,B,g,0),c=Ja("scroller-end",W,it,B,g,0,u),v=u["offset"+B.op.d2],p=Ja("start",W,it,B,g,v),d=Ja("end",W,it,B,g,v),nt||((ct=it).style.position="absolute"===Wa(ct).position?"absolute":"relative",Wo.set([u,c],{force3D:!0}),C=Wo.quickSetter(u,B.a,Fa),S=Wo.quickSetter(c,B.a,Fa))),pt.revert=t=>{let e=!1!==t;e!==n&&(pt.update(e),j&&e&&cl(j,x,m),n=e)},pt.refresh=r=>{if(ra||!R)return;if(j&&r&&pa)return void ja(bl,"scrollEnd",dt);let i=Math.max(pt.scroll(),pt.scroll.rec||0),s=pt.progress,o=e&&e.progress();ra=1,D&&D.kill(),K&&e&&e.progress(0).invalidate().progress(pt.progress),n||pt.revert();let a,g,v,b,k,C,S,O=(nt?Ho["inner"+B.d2]:it["client"+B.d2])||0,E=nt?yl:Ha(it),A=_a(it,B),L=0,Y=0,X=t.end,N=t.endTrigger||q,F=t.start||(j||!q?"0 0":"0 100%"),z=j&&Math.max(0,el.indexOf(pt))||0;if(z)for(C=z;C--;)el[C].pin===j&&el[C].revert();if(l=xl(F,q,O,B,pt.scroll(),p,u,pt,E,ht,nt,A)||(j?-.001:0),xa(X)&&(X=X(pt)),ya(X)&&!X.indexOf("+=")&&(~X.indexOf(" ")?X=(ya(F
1)?F.split(" ")[0]:"")+X:(L=$a(X.substr(2),O),X=ya(F)?F:l+L,N=q)),h=Math.max(l,xl(X||(N?"100% 0":A),N,O,B,pt.scroll()+L,d,c,pt,E,ht,nt,A))||-.001,f=h-l||(l-=.01)&&.001,j){for(C=z;C--;)S=el[C],S.pin===j&&S.start-S._pinPush<l&&(Y+=S.end-S.start);if(l+=Y,h+=Y,pt._pinPush=Y,p&&Y&&(a={},a[B.a]="+="+Y,Wo.set([p,d],a)),a=Wa(j),b=B===Ia,v=pt.scroll(),T=parseFloat(w(B.a))+Y,gl(j,x,a),y=_l(j),g=Ha(j,!0),G&&(x.style[G+B.os2]=f+Y+Fa,P=G===Xa?Ua(j,B)+f+Y:0,P&&(x.style[B.d]=P+Fa),nt&&pt.scroll(i)),nt&&(k={top:g.top+(b?v-l:0)+Fa,left:g.left+(b?0:v-l)+Fa,boxSizing:"border-box",position:"fixed"},k[Oa]=k["max"+Ra]=Math.ceil(g.width)+Fa,k[Ea]=k["max"+Ba]=Math.ceil(g.height)+Fa,k[Na]=k[Na+Da]=k[Na+Aa]=k[Na+Ya]=k[Na+La]="0",k[Xa]=a[Xa],k[Xa+Da]=a[Xa+Da],k[Xa+Aa]=a[Xa+Aa],k[Xa+Ya]=a[Xa+Ya],k[Xa+La]=a[Xa+La],_=((t,e,r)=>{let i,s=[],n=t.length,o=r?8:0;for(;o<n;o+=2)i=t[o],s.push(i,i in e?e[i]:t[o+1]);return s.t=t.t,s})(m,k,et)),e?(e.progress(1,!0),M=w(B.a)-T+f+Y,f!==M&&_.splice(_.length-2,2),e.progress(0,!0)):M=f,z)for(C=0;C<z;C++)el[C].pin===j&&el[C].revert(!1)}else if(q&&pt.scroll())for(g=q.parentNode;g&&g!==jo;)g._pinOffset&&(l-=g._pinOffset,h-=g._pinOffset),g=g.parentNode;pt.start=l,pt.end=h,pt.scroll()<i&&pt.scroll(i),pt.revert(!1),ra=0,o&&rt&&e.progress(o,!0),s!==pt.progress&&(D&&e.totalProgress(s,!0),pt.progress=s,pt.update()),j&&G&&(x._pinOffset=Math.round(pt.progress*M)),H&&H(pt)},pt.getVelocity=()=>(pt.scroll()-a)/(la()-ta)*1e3||0,pt.update=(t,i)=>{let s,n,p,d,c,g,m=pt.scroll(),v=t?0:(m-l)/f,w=v<0?0:v>1?1:v||0,P=pt.progress;if(i&&(a=o,o=m,tt&&(A=E,E=e&&!rt?e.totalProgress():w)),Q&&!w&&j&&!ra&&l<m+(m-a)/(la()-ta)*Q&&(w=1e-4),w!==P&&R){if(s=pt.isActive=!!w&&w<1,n=!!P&&P<1,g=s!==n,c=g||!!w!=!!P,pt.direction=w>P?1:-1,pt.progress=w,rt||(!D||ra||aa?e&&e.totalProgress(w,!!ra):(D.vars.totalProgress=w,D.invalidate().restart())),j)if(t&&G&&(x.style[G+B.os2]=k),nt){if(c){if(d=!t&&h+1>m&&m+1>=_a(it,B),et){if(!ra&&(s||d)){let t=Ha(j,!0),e=m-l;j.style.top=t.top+(B===Ia?e:0)+Fa,j.style.left=t.left+(B===Ia?0:e)+Fa}((t,e)=>{if(t.parentNode!==e){let r,i,s=t.style;if(e===jo)for(r in t._stOrig=s.cssText,i=Wa(t),i)+r||vl.test(r)||!i[r]||"string"!=typeof s[r]||"0"===r||(s[r]=i[r]);else s.cssText=t._stOrig;e.appendChild(t)}})(j,ra||!s&&!d?x:jo)}ml(s||d?_:y),M!==f&&w<1&&s||b(T+(1!==w||d?0:M))}}else b(T+M*w);!tt||r.tween||ra||aa||(L=pa,N.restart(!0)),I&&g&&(!J||s)&&$o(I.targets).forEach(t=>t.classList[s?"add":"remove"](I.className)),z&&!rt&&!t&&z(pt),c&&!ra?(p=w&&!P?0:1===w?1:1===P?2:3,rt&&(d=!g&&"none"!==at[p+1]&&at[p+1]||at[p],e&&("complete"===d||"reset"===d||d in e)&&("complete"===d?e.pause().totalProgress(1):"reset"===d?e.restart(!0).pause():e[d]()),z&&z(pt)),!g&&oa||(V&&g&&V(pt),ot[p]&&ot[p](pt),J&&(1===w?pt.kill():ot[p]=0),g||(p=1===w?1:3,ot[p]&&ot[p](pt)))):rt&&z&&!ra&&z(pt)}S&&(C(m+(u._isFlipped?1:0)),S(m))},pt.enable=()=>{R||(R=!0,ja(it,"resize",nl),ja(it,"scroll",sl),ut&&ja(bl,"refreshInit",ut),e&&e.add?Wo.delayedCall(.01,pt.refresh)&&(f=.01)&&(l=h=0):pt.refresh())},pt.disable=t=>{if(R&&(R=pt.isActive=!1,D&&D.pause(),t!==R&&pt.update(1),j&&cl(j,x,m),ut&&Ga(bl,"refreshInit",ut),N&&(N.pause(),r.tween&&r.tween.kill()),!nt)){let t=el.length;for(;t--;)if(el[t].scroller===it&&el[t]!==pt)return;Ga(it,"resize",nl),Ga(it,"scroll",sl)}},pt.kill=t=>{pt.disable(t),W&&delete rl[W];let r=el.indexOf(pt);el.splice(r,1),r===na&&na--,e&&(e.scrollTrigger=null)},pt.enable()}static register(t){if(Wo=t||ga(),ca()&&window.document&&(Ho=window,Uo=document,qo=Uo.documentElement,jo=Uo.body),Wo&&($o=Wo.utils.toArray,Jo=Wo.utils.clamp,Wo.core.globals("ScrollTrigger",bl),jo)){Qo=Ho.requestAnimationFrame||(t=>setTimeout(t,16)),ja(Ho,"mousewheel",sl),Go=[Ho,Uo,qo,jo],ja(Uo,"scroll",sl);let t,e=jo.style,r=e.borderTop;e.borderTop="1px solid #000",t=Ha(jo),Ia.m=Math.round(t.top+Ia.sc())||0,za.m=Math.round(t.left+za.sc())||0,r?e.borderTop=r:e.removeProperty("border-top"),ea=setInterval(il,100),Wo.delayedCall(.5,()=>aa=0),ja(Uo,"touchcancel",ua),ja(jo,"touchstart",ua),qa(ja,Uo,"pointerdown,touchstart,mousedown",()=>ia=1),qa(ja,Uo,"pointerup,touchend,mouseup",()=>ia=0),sa=Wo.utils.checkPrefix("transform"),ul.push(sa),Vo=la(),Ko=Wo.delayedCall(.2,hl).pause(),ja(Uo,"visibilitychange",()=>
1Uo.hidden||hl()),ja(Uo,"DOMContentLoaded",hl),ja(Ho,"load",()=>pa||hl()),ja(Ho,"resize",nl)}return Vo}static defaults(t){for(let e in t)Qa[e]=t[e]}static kill(){da=0,el.slice(0).forEach(t=>t.kill(1))}static config(t){"limitCallbacks"in t&&(oa=!!t.limitCallbacks);let e=t.syncInterval;e&&clearInterval(ea)||(ea=e)&&setInterval(il,e)}}bl.version="3.3.4",bl.create=(t,e)=>new bl(t,e),bl.refresh=t=>t?nl():hl(!0),bl.update=pl,bl.maxScroll=(t,e)=>_a(t,e?za:Ia),bl.getScrollFunc=(t,e)=>(e=e?za:Ia)&&(fa(t)?e.sc:ma(t,e)),bl.getById=t=>rl[t],bl.getAll=()=>el.slice(0),bl.isScrolling=()=>!!pa,bl.addEventListener=(t,e)=>{let r=ol[t]||(ol[t]=[]);~r.indexOf(e)||r.push(e)},bl.removeEventListener=(t,e)=>{let r=ol[t],i=r&&r.indexOf(e);i>=0&&r.splice(i,1)},bl.batch=(t,e)=>{let r,i=[],s={},n=e.interval||.016,o=e.batchMax||1e9,a=(t,e)=>{let r=[],i=[],s=Wo.delayedCall(n,()=>{e(r,i),r=[],i=[]}).pause();return t=>{r.length||s.restart(!0),r.push(t.trigger),i.push(t),o<=r.length&&s.progress(1)}};for(r in e)s[r]="on"===r.substr(0,2)&&xa(e[r])&&"onRefreshInit"!==r?a(0,e[r]):e[r];return xa(o)&&(o=o(),ja(bl,"refresh",()=>o=e.batchMax())),$o(t).forEach(t=>{let e={};for(r in s)e[r]=s[r];e.trigger=t,i.push(bl.create(e))}),i},ga()&&Wo.registerPlugin(bl),qe.registerPlugin(ni,Ss,pn,xn,Rs,js,Io,bl),globalThis.CustomEase=Rs,globalThis.CustomWiggle=js,globalThis.Draggable=Io,globalThis.ScrollTrigger=bl,globalThis.gsap=qe})();

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.