vendor: 4,522 bytes, line 1
1!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.imgSeqViewer=e():t.imgSeqViewer=e()}(self,(()=>(()=>{"use strict";var t={d:(e,i)=>{for(var n in i)t.o(i,n)&&!t.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:i[n]})},o:(t,e)=>Object.prototype.hasOwnProperty.call(t,e)},e={};function i(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function n(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}t.d(e,{default:()=>gs});var r,o,s,a,l,h,u,c,d,f,p,g,m,_={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},v={duration:.5,overwrite:!1,delay:0},y=1e8,x=1e-8,w=2*Math.PI,b=w/4,T=0,S=Math.sqrt,M=Math.cos,k=Math.sin,E=function(t){return"string"==typeof t},D=function(t){return"function"==typeof t},C=function(t){return"number"==typeof t},O=function(t){return void 0===t},A=function(t){return"object"==typeof t},P=function(t){return!1!==t},L=function(){return"undefined"!=typeof window},R=function(t){return D(t)||E(t)},F="function"==typeof ArrayBuffer&&ArrayBuffer.isView||function(){},I=Array.isArray,N=/(?:-?\.?\d|\.)+/gi,X=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,Y=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,z=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,B=/[+-]=-?[.\d]+/,q=/[^,'"\[\]\s]+/gi,H=/[\d.+\-=]+(?:e[-+]\d*)*/i,W={},U={},V=function(t){return(U=vt(t,W))&&oi},Z=function(t,e){return console.warn("Invalid property",t,"set to",e,"Missing plugin? gsap.registerPlugin()")},j=function(t,e){return!e&&console.warn(t)},G=function(t,e){return t&&(W[t]=e)&&U&&(U[t]=e)||W},K=function(){return 0},Q={},$=[],J={},tt={},et={},it=30,nt=[],rt="",ot=function(t){var e,i,n=t[0];if(A(n)||D(n)||(t=[t]),!(e=(n._gsap||{}).harness)){for(i=nt.length;i--&&!nt[i].targetTest(n););e=nt[i]}for(i=t.length;i--;)t[i]&&(t[i]._gsap||(t[i]._gsap=new Oe(t[i],e)))||t.splice(i,1);return t},st=function(t){return t._gsap||ot(Gt(t))[0]._gsap},at=function(t,e,i){return(i=t[e])&&D(i)?t[e]():O(i)&&t.getAttribute&&t.getAttribute(e)||i},lt=function(t,e){return(t=t.split(",")).forEach(e)||t},ht=function(t){return Math.round(1e5*t)/1e5||0},ut=function(t){return Math.round(1e7*t)/1e7||0},ct=function(t,e){for(var i=e.length,n=0;t.indexOf(e[n])<0&&++n<i;);return n<i},dt=function(){var t,e,i=$.length,n=$.slice(0);for(J={},$.length=0,t=0;t<i;t++)(e=n[t])&&e._lazy&&(e.render(e._lazy[0],e._lazy[1],!0)._lazy=0)},ft=function(t,e,i,n){$.length&&dt(),t.render(e,i,n),$.length&&dt()},pt=function(t){var e=parseFloat(t);return(e||0===e)&&(t+"").match(q).length<2?e:E(t)?t.trim():t},gt=function(t){return t},mt=function(t,e){for(var i in e)i in t||(t[i]=e[i]);return t},_t=function(t,e){for(var i in e)i in t||"duration"===i||"ease"===i||(t[i]=e[i])},vt=function(t,e){for(var i in e)t[i]=e[i];return t},yt=function t(e,i){for(var n in i)"__proto__"!==n&&"constructor"!==n&&"prototype"!==n&&(e[n]=A(i[n])?t(e[n]||(e[n]={}),i[n]):i[n]);return e},xt=function(t,e){var i,n={};for(i in t)i in e||(n[i]=t[i]);return n},wt=function(t){var e=t.parent||o,i=t.keyframes?_t:mt;if(P(t.inherit))for(;e;)i(t,e.vars.defaults),e=e.parent||e._dp;return t},bt=function(t,e,i,n){void 0===i&&(i="_first"),void 0===n&&(n="_last");var r=e._prev,o=e._next;r?r._next=o:t[i]===e&&(t[i]=o),o?o._prev=r:t[n]===e&&(t[n]=r),e._next=e._prev=e.parent=null},Tt=function(t,e){t.parent&&(!e||t.parent.autoRemoveChildren)&&t.parent.remove(t),t._act=0},St=function(t,e){if(t&&(!e||e._end>t._dur||e._start<0))for(var i=t;i;)i._dirty=1,i=i.parent;return t},Mt=function(t){for(var e=t.parent;e&&e.parent;)e._dirty=1,e.totalDuration(),e=e.parent;return t},kt=function t(e){return!e||e._ts&&t(e.parent)},Et=function(t){return t._repeat?Dt(t._tTime,t=t.duration()+t._rDelay)*t:0},Dt=function(t,e){var i=Math.floor(t/=e);return t&&i===t?i-1:i},Ct=function(t,e){return(t-e._start)*e._ts+(e._ts>=0?0:e._dirty?e.totalDuration():e._tDur)},Ot=function(t){return t._end=ut(t._start+(t._tDur/Math.abs(t._ts||t._rts||x)||0))},At=function(t,e){var i=t._dp;return i&&i.smoothChildTiming&&t._ts&&(t._start=ut(i._time-(t._ts>0?e/t._ts:((t._dirty?t.totalDuration():t._tDur)-e)/-t._ts)),Ot(t),i._dirty||St(i,t)),t},Pt=function(t,e){var i;if((e._time||e._initted&&!e._dur)&&(i=Ct(t.rawTime(),e),(!e._dur||Wt(0,e.totalDuration(),i)-e._tTime>x)&&e.render(i,!0)),St(t,e)._dp&&t._initted&&t._time>=t._dur&&t._ts){if(t._dur<t.duration())for(i=t;i._dp;)i.rawTime()>=0&&i.totalTime(i._tTime),i=i._dp;t._zTime=-1e-8}}
vendor: 4,290 bytes, line 1
1,Lt=function(t,e,i,n){return e.parent&&Tt(e),e._start=ut((C(i)?i:i||t!==o?Bt(t,i,e):t._time)+e._delay),e._end=ut(e._start+(e.totalDuration()/Math.abs(e.timeScale())||0)),function(t,e,i,n,r){void 0===i&&(i="_first"),void 0===n&&(n="_last");var o,s=t[n];if(r)for(o=e[r];s&&s[r]>o;)s=s._prev;s?(e._next=s._next,s._next=e):(e._next=t[i],t[i]=e),e._next?e._next._prev=e:t[n]=e,e._prev=s,e.parent=e._dp=t}(t,e,"_first","_last",t._sort?"_start":0),Nt(e)||(t._recent=e),n||Pt(t,e),t},Rt=function(t,e){return(W.ScrollTrigger||Z("scrollTrigger",e))&&W.ScrollTrigger.create(e,t)},Ft=function(t,e,i,n){return Ne(t,e),t._initted?!i&&t._pt&&(t._dur&&!1!==t.vars.lazy||!t._dur&&t.vars.lazy)&&u!==_e.frame?($.push(t),t._lazy=[e,n],1):void 0:1},It=function t(e){var i=e.parent;return i&&i._ts&&i._initted&&!i._lock&&(i.rawTime()<0||t(i))},Nt=function(t){var e=t.data;return"isFromStart"===e||"isStart"===e},Xt=function(t,e,i,n){var r=t._repeat,o=ut(e)||0,s=t._tTime/t._tDur;return s&&!n&&(t._time*=o/t._dur),t._dur=o,t._tDur=r?r<0?1e10:ut(o*(r+1)+t._rDelay*r):o,s&&!n?At(t,t._tTime=t._tDur*s):t.parent&&Ot(t),i||St(t.parent,t),t},Yt=function(t){return t instanceof Pe?St(t):Xt(t,t._dur)},zt={_start:0,endTime:K,totalDuration:K},Bt=function t(e,i,n){var r,o,s,a=e.labels,l=e._recent||zt,h=e.duration()>=y?l.endTime(!1):e._dur;return E(i)&&(isNaN(i)||i in a)?(o=i.charAt(0),s="%"===i.substr(-1),r=i.indexOf("="),"<"===o||">"===o?(r>=0&&(i=i.replace(/=/,"")),("<"===o?l._start:l.endTime(l._repeat>=0))+(parseFloat(i.substr(1))||0)*(s?(r<0?l:n).totalDuration()/100:1)):r<0?(i in a||(a[i]=h),a[i]):(o=parseFloat(i.charAt(r-1)+i.substr(r+1)),s&&n&&(o=o/100*(I(n)?n[0]:n).totalDuration()),r>1?t(e,i.substr(0,r-1),n)+o:h+o)):null==i?h:+i},qt=function(t,e,i){var n,r,o=C(e[1]),s=(o?2:1)+(t<2?0:1),a=e[s];if(o&&(a.duration=e[1]),a.parent=i,t){for(n=a,r=i;r&&!("immediateRender"in n);)n=r.vars.defaults||{},r=P(r.vars.inherit)&&r.parent;a.immediateRender=P(n.immediateRender),t<2?a.runBackwards=1:a.startAt=e[s-1]}return new Be(e[0],a,e[s+1])},Ht=function(t,e){return t||0===t?e(t):e},Wt=function(t,e,i){return i<t?t:i>e?e:i},Ut=function(t){if("string"!=typeof t)return"";var e=H.exec(t);return e?t.substr(e.index+e[0].length):""},Vt=[].slice,Zt=function(t,e){return t&&A(t)&&"length"in t&&(!e&&!t.length||t.length-1 in t&&A(t[0]))&&!t.nodeType&&t!==s},jt=function(t,e,i){return void 0===i&&(i=[]),t.forEach((function(t){var n;return E(t)&&!e||Zt(t,1)?(n=i).push.apply(n,Gt(t)):i.push(t)}))||i},Gt=function(t,e,i){return!E(t)||i||!a&&ve()?I(t)?jt(t,i):Zt(t)?Vt.call(t,0):t?[t]:[]:Vt.call((e||l).querySelectorAll(t),0)},Kt=function(t){return t.sort((function(){return.5-Math.random()}))},Qt=function(t){if(D(t))return t;var e=A(t)?t:{each:t},i=Me(e.ease),n=e.from||0,r=parseFloat(e.base)||0,o={},s=n>0&&n<1,a=isNaN(n)||s,l=e.axis,h=n,u=n;return E(n)?h=u={center:.5,edges:.5,end:1}[n]||0:!s&&a&&(h=n[0],u=n[1]),function(t,s,c){var d,f,p,g,m,_,v,x,w,b=(c||e).length,T=o[b];if(!T){if(!(w="auto"===e.grid?0:(e.grid||[1,y])[1])){for(v=-y;v<(v=c[w++].getBoundingClientRect().left)&&w<b;);w--}for(T=o[b]=[],d=a?Math.min(w,b)*h-.5:n%w,f=a?b*u/w-.5:n/w|0,v=0,x=y,_=0;_<b;_++)p=_%w-d,g=f-(_/w|0),T[_]=m=l?Math.abs("y"===l?g:p):S(p*p+g*g),m>v&&(v=m),m<x&&(x=m);"random"===n&&Kt(T),T.max=v-x,T.min=x,T.v=b=(parseFloat(e.amount)||parseFloat(e.each)*(w>b?b-1:l?"y"===l?b/w:w:Math.max(w,b/w))||0)*("edges"===n?-1:1),T.b=b<0?r-b:r,T.u=Ut(e.amount||e.each)||0,i=i&&b<0?Te(i):i}return b=(T[t]-T.min)/T.max||0,ut(T.b+(i?i(b):b)*T.v)+T.u}},$t=function(t){var e=Math.pow(10,((t+"").split(".")[1]||"").length);return function(i){var n=Math.round(parseFloat(i)/t)*t*e;return(n-n%1)/e+(C(i)?0:Ut(i))}},Jt=function(t,e){var i,n,r=I(t);return!r&&A(t)&&(i=r=t.radius||y,t.values?(t=Gt(t.values),(n=!C(t[0]))&&(i*=i)):t=$t(t.increment)),Ht(e,r?D(t)?function(e){return n=t(e),Math.abs(n-e)<=i?n:e}:function(e){for(var r,o,s=parseFloat(n?e.x:e),a=parseFloat(n?e.y:0),l=y,h=0,u=t.length;u--;)(r=n?(r=t[u].x-s)*r+(o=t[u].y-a)*o:Math.abs(t[u]-s))<l&&(l=r,h=u);return h=!i||l<=i?t[h]:e,n||h===e||C(e)?h:h+Ut(e)}:$t(t))},te=function(t,e,i,n){return Ht(I(t)?!e:!0===i?!!(i=0):!n,(function(){return I(t)?t[~~(Math.random()*t.length)]:(i=i||1e-5)&&(n=i<1?Math.pow(10,(i+"").length-2):1)&&Math.floor(Math.round((t-i/2+Math.random()*(e-t+.99*i))/i)*i*n)/n}))}
vendor: 5,352 bytes, line 1
1,ee=function(t,e,i){return Ht(i,(function(i){return t[~~e(i)]}))},ie=function(t){for(var e,i,n,r,o=0,s="";~(e=t.indexOf("random(",o));)n=t.indexOf(")",e),r="["===t.charAt(e+7),i=t.substr(e+7,n-e-7).match(r?q:N),s+=t.substr(o,e-o)+te(r?i:+i[0],r?0:+i[1],+i[2]||1e-5),o=n+1;return s+t.substr(o,t.length-o)},ne=function(t,e,i,n,r){var o=e-t,s=n-i;return Ht(r,(function(e){return i+((e-t)/o*s||0)}))},re=function(t,e,i){var n,r,o,s=t.labels,a=y;for(n in s)(r=s[n]-e)<0==!!i&&r&&a>(r=Math.abs(r))&&(o=n,a=r);return o},oe=function(t,e,i){var n,r,o=t.vars,s=o[e];if(s)return n=o[e+"Params"],r=o.callbackScope||t,i&&$.length&&dt(),n?s.apply(r,n):s.call(r)},se=function(t){return Tt(t),t.scrollTrigger&&t.scrollTrigger.kill(!1),t.progress()<1&&oe(t,"onInterrupt"),t},ae=function(t){var e=(t=!t.name&&t.default||t).name,i=D(t),n=e&&!i&&t.init?function(){this._props=[]}:t,r={init:K,render:Ke,add:Fe,kill:$e,modifier:Qe,rawVars:0},o={targetTest:0,get:0,getSetter:Ve,aliases:{},register:0};if(ve(),t!==n){if(tt[e])return;mt(n,mt(xt(t,r),o)),vt(n.prototype,vt(r,xt(t,o))),tt[n.prop=e]=n,t.targetTest&&(nt.push(n),Q[e]=1),e=("css"===e?"CSS":e.charAt(0).toUpperCase()+e.substr(1))+"Plugin"}G(e,n),t.register&&t.register(oi,n,ei)},le=255,he={aqua:[0,le,le],lime:[0,le,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,le],navy:[0,0,128],white:[le,le,le],olive:[128,128,0],yellow:[le,le,0],orange:[le,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[le,0,0],pink:[le,192,203],cyan:[0,le,le],transparent:[le,le,le,0]},ue=function(t,e,i){return(6*(t=t<0?t+1:t>1?t-1:t)<1?e+(i-e)*t*6:t<.5?i:3*t<2?e+(i-e)*(2/3-t)*6:e)*le+.5|0},ce=function(t,e,i){var n,r,o,s,a,l,h,u,c,d,f=t?C(t)?[t>>16,t>>8&le,t&le]:0:he.black;if(!f){if(","===t.substr(-1)&&(t=t.substr(0,t.length-1)),he[t])f=he[t];else if("#"===t.charAt(0)){if(t.length<6&&(n=t.charAt(1),r=t.charAt(2),o=t.charAt(3),t="#"+n+n+r+r+o+o+(5===t.length?t.charAt(4)+t.charAt(4):"")),9===t.length)return[(f=parseInt(t.substr(1,6),16))>>16,f>>8&le,f&le,parseInt(t.substr(7),16)/255];f=[(t=parseInt(t.substr(1),16))>>16,t>>8&le,t&le]}else if("hsl"===t.substr(0,3))if(f=d=t.match(N),e){if(~t.indexOf("="))return f=t.match(X),i&&f.length<4&&(f[3]=1),f}else s=+f[0]%360/360,a=+f[1]/100,n=2*(l=+f[2]/100)-(r=l<=.5?l*(a+1):l+a-l*a),f.length>3&&(f[3]*=1),f[0]=ue(s+1/3,n,r),f[1]=ue(s,n,r),f[2]=ue(s-1/3,n,r);else f=t.match(N)||he.transparent;f=f.map(Number)}return e&&!d&&(n=f[0]/le,r=f[1]/le,o=f[2]/le,l=((h=Math.max(n,r,o))+(u=Math.min(n,r,o)))/2,h===u?s=a=0:(c=h-u,a=l>.5?c/(2-h-u):c/(h+u),s=h===n?(r-o)/c+(r<o?6:0):h===r?(o-n)/c+2:(n-r)/c+4,s*=60),f[0]=~~(s+.5),f[1]=~~(100*a+.5),f[2]=~~(100*l+.5)),i&&f.length<4&&(f[3]=1),f},de=function(t){var e=[],i=[],n=-1;return t.split(pe).forEach((function(t){var r=t.match(Y)||[];e.push.apply(e,r),i.push(n+=r.length+1)})),e.c=i,e},fe=function(t,e,i){var n,r,o,s,a="",l=(t+a).match(pe),h=e?"hsla(":"rgba(",u=0;if(!l)return t;if(l=l.map((function(t){return(t=ce(t,e,1))&&h+(e?t[0]+","+t[1]+"%,"+t[2]+"%,"+t[3]:t.join(","))+")"})),i&&(o=de(t),(n=i.c).join(a)!==o.c.join(a)))for(s=(r=t.replace(pe,"1").split(Y)).length-1;u<s;u++)a+=r[u]+(~n.indexOf(u)?l.shift()||h+"0,0,0,0)":(o.length?o:l.length?l:i).shift());if(!r)for(s=(r=t.split(pe)).length-1;u<s;u++)a+=r[u]+l[u];return a+r[s]},pe=function(){var t,e="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b";for(t in he)e+="|"+t+"\\b";return new RegExp(e+")","gi")}(),ge=/hsl[a]?\(/,me=function(t){var e,i=t.join(" ");if(pe.lastIndex=0,pe.test(i))return e=ge.test(i),t[1]=fe(t[1],e),t[0]=fe(t[0],e,de(t[1])),!0},_e=function(){var t,e,i,n,r,o,u=Date.now,c=500,f=33,p=u(),g=p,m=1e3/240,_=m,v=[],y=function i(s){var a,l,h,d,y=u()-g,x=!0===s;if(y>c&&(p+=y-f),((a=(h=(g+=y)-p)-_)>0||x)&&(d=++n.frame,r=h-1e3*n.time,n.time=h/=1e3,_+=a+(a>=m?4:m-a),l=1),x||(t=e(i)),l)for(o=0;o<v.length;o++)v[o](h,r,d,s)};return n={time:0,frame:0,tick:function(){y(!0)},deltaRatio:function(t){return r/(1e3/(t||60))},wake:function(){h&&(!a&&L()&&(s=a=window,l=s.document||{},W.gsap=oi,(s.gsapVersions||(s.gsapVersions=[])).push(oi.version),V(U||s.GreenSockGlobals||!s.gsap&&s||{}),i=s.requestAnimationFrame),t&&n.sleep(),e=i||function(t){return setTimeout(t,_-1e3*n.time+1|0)},d=1,y(2))},sleep:function(){(i?s.cancelAnimationFrame:clearTimeout)(t),d=0,e=K},lagSmoothing:function(t,e){c=t||1e8,f=Math.min(e,c,0)},fps:function(t){m=1e3/(t||240),_=1e3*n.time+m},add:function(t){v.indexOf(t)<0&&v.push(t),ve()},remove:function(t){var e;~(e=v.indexOf(t))&&v.splice(e,1)&&o>=e&&o--},_listeners:v}}(),ve=function(){return!d&&_e.wake()},ye={},xe=/^[\d.\-M][\d.\-,\s]/,we=/["']/g,be=function(t){for(var e,i,n,r={},o=t.substr(1,t.length-3).split(":"),s=o[0],a=1,l=o.length;a<l;a++)i=o[a],e=a!==l-1?i.lastIndexOf(","):i.length,n=i.substr(0,e),r[s]=isNaN(n)?n.replace(we,"").trim():+n,s=i.substr(e+1).trim();return r},Te=function(t){return function(e){return 1-t(1-e)}},Se=function t(e,i){for(var n,r=e._first;r;)r instanceof Pe?t(r,i):!r.vars.yoyoEase||r._yoyo&&r._repeat||r._yoyo===i||(r.timeline?t(r.timeline,i):(n=r._ease,r._ease=r._yEase,r._yEase=n,r._yoyo=i)),r=r._next},Me=function(t,e){return t&&(D(t)?t:ye[t]||function(t){var e,i,n,r,o=(t+"").split("("),s=ye[o[0]];return s&&o.length>1&&s.config?s.config.apply(null,~t.indexOf("{")?[be(o[1])]:(e=t,i=e.indexOf("(")+1,n=e.indexOf(")"),r=e.indexOf("(",
vendor: 15,168 bytes, line 1
1i),e.substring(i,~r&&r<n?e.indexOf(")",n+1):n)).split(",").map(pt)):ye._CE&&xe.test(t)?ye._CE("",t):s}(t))||e},ke=function(t,e,i,n){void 0===i&&(i=function(t){return 1-e(1-t)}),void 0===n&&(n=function(t){return t<.5?e(2*t)/2:1-e(2*(1-t))/2});var r,o={easeIn:e,easeOut:i,easeInOut:n};return lt(t,(function(t){for(var e in ye[t]=W[t]=o,ye[r=t.toLowerCase()]=i,o)ye[r+("easeIn"===e?".in":"easeOut"===e?".out":".inOut")]=ye[t+"."+e]=o[e]})),o},Ee=function(t){return function(e){return e<.5?(1-t(1-2*e))/2:.5+t(2*(e-.5))/2}},De=function t(e,i,n){var r=i>=1?i:1,o=(n||(e?.3:.45))/(i<1?i:1),s=o/w*(Math.asin(1/r)||0),a=function(t){return 1===t?1:r*Math.pow(2,-10*t)*k((t-s)*o)+1},l="out"===e?a:"in"===e?function(t){return 1-a(1-t)}:Ee(a);return o=w/o,l.config=function(i,n){return t(e,i,n)},l},Ce=function t(e,i){void 0===i&&(i=1.70158);var n=function(t){return t?--t*t*((i+1)*t+i)+1:0},r="out"===e?n:"in"===e?function(t){return 1-n(1-t)}:Ee(n);return r.config=function(i){return t(e,i)},r};lt("Linear,Quad,Cubic,Quart,Quint,Strong",(function(t,e){var i=e<5?e+1:e;ke(t+",Power"+(i-1),e?function(t){return Math.pow(t,i)}:function(t){return t},(function(t){return 1-Math.pow(1-t,i)}),(function(t){return t<.5?Math.pow(2*t,i)/2:1-Math.pow(2*(1-t),i)/2}))})),ye.Linear.easeNone=ye.none=ye.Linear.easeIn,ke("Elastic",De("in"),De("out"),De()),f=7.5625,g=1/(p=2.75),ke("Bounce",(function(t){return 1-m(1-t)}),m=function(t){return t<g?f*t*t:t<.7272727272727273?f*Math.pow(t-1.5/p,2)+.75:t<.9090909090909092?f*(t-=2.25/p)*t+.9375:f*Math.pow(t-2.625/p,2)+.984375}),ke("Expo",(function(t){return t?Math.pow(2,10*(t-1)):0})),ke("Circ",(function(t){return-(S(1-t*t)-1)})),ke("Sine",(function(t){return 1===t?1:1-M(t*b)})),ke("Back",Ce("in"),Ce("out"),Ce()),ye.SteppedEase=ye.steps=W.SteppedEase={config:function(t,e){void 0===t&&(t=1);var i=1/t,n=t+(e?0:1),r=e?1:0;return function(t){return((n*Wt(0,.99999999,t)|0)+r)*i}}},v.ease=ye["quad.out"],lt("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",(function(t){return rt+=t+","+t+"Params,"}));var Oe=function(t,e){this.id=T++,t._gsap=this,this.target=t,this.harness=e,this.get=e?e.get:at,this.set=e?e.getSetter:Ve},Ae=function(){function t(t){this.vars=t,this._delay=+t.delay||0,(this._repeat=t.repeat===1/0?-2:t.repeat||0)&&(this._rDelay=t.repeatDelay||0,this._yoyo=!!t.yoyo||!!t.yoyoEase),this._ts=1,Xt(this,+t.duration,1,1),this.data=t.data,d||_e.wake()}var e=t.prototype;return e.delay=function(t){return t||0===t?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+t-this._delay),this._delay=t,this):this._delay},e.duration=function(t){return arguments.length?this.totalDuration(this._repeat>0?t+(t+this._rDelay)*this._repeat:t):this.totalDuration()&&this._dur},e.totalDuration=function(t){return arguments.length?(this._dirty=0,Xt(this,this._repeat<0?t:(t-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(t,e){if(ve(),!arguments.length)return this._tTime;var i=this._dp;if(i&&i.smoothChildTiming&&this._ts){for(At(this,t),!i._dp||i.parent||Pt(i,this);i&&i.parent;)i.parent._time!==i._start+(i._ts>=0?i._tTime/i._ts:(i.totalDuration()-i._tTime)/-i._ts)&&i.totalTime(i._tTime,!0),i=i.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&t<this._tDur||this._ts<0&&t>0||!this._tDur&&!t)&&Lt(this._dp,this,this._start-this._delay)}return(this._tTime!==t||!this._dur&&!e||this._initted&&Math.abs(this._zTime)===x||!t&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=t),ft(this,t,e)),this},e.time=function(t,e){return arguments.length?this.totalTime(Math.min(this.totalDuration(),t+Et(this))%(this._dur+this._rDelay)||(t?this._dur:0),e):this._time},e.totalProgress=function(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.ratio},e.progress=function(t,e){return arguments.length?this.totalTime(this.duration()*(!this._yoyo||1&this.iteration()?t:1-t)+Et(this),e):this.duration()?Math.min(1,this._time/this._dur):this.ratio},e.iteration=function(t,e){var i=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(t-1)*i,e):this._repeat?Dt(this._tTime,i)+1:1},e.timeScale=function(t){if(!arguments.length)return-1e-8===this._rts?0:this._rts;if(this._rts===t)return this;var e=this.parent&&this._ts?Ct(this.parent._time,this):this._tTime;return this._rts=+t||0,this._ts=this._ps||-1e-8===t?0:this._rts,Mt(this.totalTime(Wt(-this._delay,this._tDur,e),!0)),Ot(this),this},e.paused=function(t){return arguments.length?(this._ps!==t&&(this._ps=t,t?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(ve(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,1===this.progress()&&Math.abs(this._zTime)!==x&&(this._tTime-=x)))),this):this._ps},e.startTime=function(t){if(arguments.length){this._start=t;var e=this.parent||this._dp;return e&&(e._sort||!this.parent)&&Lt(e,this,t-this._delay),this}return this._start},e.endTime=function(t){return this._start+(P(t)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},e.rawTime=function(t){var e=this.parent||this._dp;return e?t&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?Ct(e.rawTime(t),this):this._tTime:this._tTime},e.globalTime=function(t){for(var e=this,i=arguments.length?t:e.rawTime();e;)i=e._start+i/(e._ts||1),e=e._dp;return i},e.repeat=function(t){return arguments.length?(this._repeat=t===1/0?-2:t,Yt(this)):-2===this._repeat?1/0:this._repeat},e.repeatDelay=function(t){if(arguments.length){var e=this._time;return this._rDelay=t,Yt(this),e?this.time(e):this}return this._rDelay},e.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},e.seek=function(t,e){return this.totalTime(Bt(this,t),P(e))},e.restart=function(t,e){return this.play().totalTime(t?-this._delay:0,P(e))},e.play=function(t,e){return null!=t&&this.seek(t,e),this.reversed(!1).paused(!1)},e.reverse=function(t,e){return null!=t&&this.seek(t||this.totalDuration(),e),this.reversed(!0).paused(!1)},e.pause=function(t,e){return null!=t&&this.seek(t,e),this.paused(!0)},e.resume=function(){return this.paused(!1)},e.reversed=function(t){return arguments.length?(!!t!==this.reversed()&&this.timeScale(-this._rts||(t?-1e-8:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-1e-8,this},e.isActive=function(){var t,e=this.parent||this._dp,i=this._start;return!(e&&!(this._ts&&this._initted&&e.isActive()&&(t=e.rawTime(!0))>=i&&t<this.endTime(!0)-x))},e.eventCallback=function(t,e,i){var n=this.vars;return arguments.length>1?(e?(n[t]=e,i&&(n[t+"Params"]=i),"onUpdate"===t&&(this._onUpdate=e)):delete n[t],this):n[t]},e.then=function(t){var e=this;return new Promise((function(i){var n=D(t)?t:gt,r=function(){var t=e.then;e.then=null,D(n)&&(n=n(e))&&(n.then||n===e)&&(e.then=t),i(n),e.then=t};e._initted&&1===e.totalProgress()&&e._ts>=0||!e._tTime&&e._ts<0?r():e._prom=r}))},e.kill=function(){se(this)},t}();mt(Ae.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-1e-8,_prom:0,_ps:!1,_rts:1});var Pe=function(t){function e(e,n){var r;return void 0===e&&(e={}),(r=t.call(this,e)||this).labels={},r.smoothChildTiming=!!e.smoothChildTiming,r.autoRemoveChildren=!!e.autoRemoveChildren,r._sort=P(e.sortChildren),o&&Lt(e.parent||o,i(r),n),e.reversed&&r.reverse(),e.paused&&r.paused(!0),e.scrollTrigger&&Rt(i(r),e.scrollTrigger),r}n(e,t);var r=e.prototype;return r.to=function(t,e,i){return qt(0,arguments,this),this},r.from=function(t,e,i){return qt(1,arguments,this),this},r.fromTo=function(t,e,i,n){return qt(2,arguments,this),this},r.set=function(t,e,i){return e.duration=0,e.parent=this,wt(e).repeatDelay||(e.repeat=0),e.immediateRender=!!e.immediateRender,new Be(t,e,Bt(this,i),1),this},r.call=function(t,e,i){return Lt(this,Be.delayedCall(0,t,e),i)},r.staggerTo=function(t,e,i,n,r,o,s){return i.duration=e,i.stagger=i.stagger||n,i.onComplete=o,i.onCompleteParams=s,i.parent=this,new Be(t,i,Bt(this,r)),this},r.staggerFrom=function(t,e,i,n,r,o,s){return i.runBackwards=1,wt(i).immediateRender=P(i.immediateRender),this.staggerTo(t,e,i,n,r,o,s)},r.staggerFromTo=function(t,e,i,n,r,o,s,a){return n.startAt=i,wt(n).immediateRender=P(n.immediateRender),this.staggerTo(t,e,n,r,o,s,a)},r.render=function(t,e,i){var n,r,s,a,l,h,u,c,d,f,p,g,m=this._time,_=this._dirty?this.totalDuration():this._tDur,v=this._dur,y=t<=0?0:ut(t),w=this._zTime<0!=t<0&&(this._initted||!v);if(this!==o&&y>_&&t>=0&&(y=_),y!==this._tTime||i||w){if(m!==this._time&&v&&(y+=this._time-m,t+=this._time-m),n=y,d=this._start,h=!(c=this._ts),w&&(v||(m=this._zTime),(t||!e)&&(this._zTime=t)),this._repeat){if(p=this._yoyo,l=v+this._rDelay,this._repeat<-1&&t<0)return this.totalTime(100*l+t,e,i);if(n=ut(y%l),y===_?(a=this._repeat,n=v):((a=~~(y/l))&&a===y/l&&(n=v,a--),n>v&&(n=v)),f=Dt(this._tTime,l),!m&&this._tTime&&f!==a&&(f=a),p&&1&a&&(n=v-n,g=1),a!==f&&!this._lock){var b=p&&1&f,T=b===(p&&1&a);if(a<f&&(b=!b),m=b?0:v,this._lock=1,this.render(m||(g?0:ut(a*l)),e,!v)._lock=0,this._tTime=y,!e&&this.parent&&oe(this,"onRepeat"),this.vars.repeatRefresh&&!g&&(this.invalidate()._lock=1),m&&m!==this._time||h!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(v=this._dur,_=this._tDur,T&&(this._lock=2,m=b?v:-1e-4,this.render(m,!0),this.vars.repeatRefresh&&!g&&this.invalidate()),this._lock=0,!this._ts&&!h)return this;Se(this,g)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(u=function(t,e,i){var n;if(i>e)for(n=t._first;n&&n._start<=i;){if(!n._dur&&"isPause"===n.data&&n._start>e)return n;n=n._next}else for(n=t._last;n&&n._start>=i;){if(!n._dur&&"isPause"===n.data&&n._start<e)return n;n=n._prev}}(this,ut(m),ut(n)),u&&(y-=n-(n=u._start))),this._tTime=y,this._time=n,this._act=!c,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=t,m=0),!m&&n&&!e&&(oe(this,"onStart"),this._tTime!==y))return this;if(n>=m&&t>=0)for(r=this._first;r;){if(s=r._next,(r._act||n>=r._start)&&r._ts&&u!==r){if(r.parent!==this)return this.render(t,e,i);if(r.render(r._ts>0?(n-r._start)*r._ts:(r._dirty?r.totalDuration():r._tDur)+(n-r._start)*r._ts,e,i),n!==this._time||!this._ts&&!h){u=0,s&&(y+=this._zTime=-1e-8);break}}r=s}else{r=this._last;for(var S=t<0?t:n;r;){if(s=r._prev,(r._act||S<=r._end)&&r._ts&&u!==r){if(r.parent!==this)return this.render(t,e,i);if(r.render(r._ts>0?(S-r._start)*r._ts:(r._dirty?r.totalDuration():r._tDur)+(S-r._start)*r._ts,e,i),n!==this._time||!this._ts&&!h){u=0,s&&(y+=this._zTime=S?-1e-8:x);break}}r=s}}if(u&&!e&&(this.pause(),u.render(n>=m?0:-1e-8)._zTime=n>=m?1:-1,this._ts))return this._start=d,Ot(this),this.render(t,e,i);this._onUpdate&&!e&&oe(this,"onUpdate",!0),(y===_&&_>=this.totalDuration()||!y&&m)&&(d!==this._start&&Math.abs(c)===Math.abs(this._ts)||this._lock||((t||!v)&&(y===_&&this._ts>0||!y&&this._ts<0)&&Tt(this,1),e||t<0&&!m||!y&&!m&&_||(oe(this,y===_&&t>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(y<_&&this.timeScale()>0)&&this._prom())))}return this},r.add=function(t,e){var i=this;if(C(e)||(e=Bt(this,e,t)),!(t instanceof Ae)){if(I(t))return t.forEach((function(t){return i.add(t,e)})),this;if(E(t))return this.addLabel(t,e);if(!D(t))return this;t=Be.delayedCall(0,t)}return this!==t?Lt(this,t,e):this},r.getChildren=function(t,e,i,n){void 0===t&&(t=!0),void 0===e&&(e=!0),void 0===i&&(i=!0),void 0===n&&(n=-y);for(var r=[],o=this._first;o;)o._start>=n&&(o instanceof Be?e&&r.push(o):(i&&r.push(o),t&&r.push.apply(r,o.getChildren(!0,e,i)))),o=o._next;return r},r.getById=function(t){for(var e=this.getChildren(1,1,1),i=e.length;i--;)if(e[i].vars.id===t)return e[i]},r.remove=function(t){return E(t)?this.removeLabel(t):D(t)?this.killTweensOf(t):(bt(this,t),t===this._recent&&(this._recent=this._last),St(this))},r.totalTime=function(e,i){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=ut(_e.time-(this._ts>0?e/this._ts:(this.totalDuration()-e)/-this._ts))),t.prototype.totalTime.call(this,e,i),this._forcing=0,this):this._tTime},r.addLabel=function(t,e){return this.labels[t]=Bt(this,e),this},r.removeLabel=function(t){return delete this.labels[t],this},r.addPause=function(t,e,i){var n=Be.delayedCall(0,e||K,i);return n.data="isPause",this._hasPause=1,Lt(this,n,Bt(this,t))},r.removePause=function(t){var e=this._first;for(t=Bt(this,t);e;)e._start===t&&"isPause"===e.data&&Tt(e),e=e._next},r.killTweensOf=function(t,e,i){for(var n=this.getTweensOf(t,i),r=n.length;r--;)Le!==n[r]&&n[r].kill(t,e);return this},r.getTweensOf=function(t,e){for(var i,n=[],r=Gt(t),o=this._first,s=C(e);o;)o instanceof Be?ct(o._targets,r)&&(s?(!Le||o._initted&&o._ts)&&o.globalTime(0)<=e&&o.globalTime(o.totalDuration())>e:!e||o.isActive())&&n.push(o):(i=o.getTweensOf(r,e)).length&&n.push.apply(n,i),o=o._next;return n},r.tweenTo=function(t,e){e=e||{};var i,n=this,r=Bt(n,t),o=e,s=o.startAt,a=o.onStart,l=o.onStartParams,h=o.immediateRender,u=Be.to(n,mt({ease:e.ease||"none",lazy:!1,immediateRender:!1,time:r,overwrite:"auto",duration:e.duration||Math.abs((r-(s&&"time"in s?s.time:n._time))/n.timeScale())||x,onStart:function(){if(n.pause(),!i){var t=e.duration||Math.abs((r-(s&&"time"in s?s.time:n._time))/n.timeScale());u._dur!==t&&Xt(u,t,0,1).render(u._time,!0,!0),i=1}a&&a.apply(u,l||[])}},e));return h?u.render(0):u},r.tweenFromTo=function(t,e,i){return this.tweenTo(e,mt({startAt:{time:Bt(this,t)}},i))},r.recent=function(){return this._recent},r.nextLabel=function(t){return void 0===t&&(t=this._time),re(this,Bt(this,t))},r.previousLabel=function(t){return void 0===t&&(t=this._time),re(this,Bt(this,t),1)},r.currentLabel=function(t){return arguments.length?this.seek(t,!0):this.previousLabel(this._time+x)},r.shiftChildren=function(t,e,i){void 0===i&&(i=0);for(var n,r=this._first,o=this.labels;r;)r._start>=i&&(r._start+=t,r._end+=t),r=r._next;if(e)for(n in o)o[n]>=i&&(o[n]+=t);return St(this)},r.invalidate=function(){var e=this._first;for(this._lock=0;e;)e.invalidate(),e=e._next;return t.prototype.invalidate.call(this)},r.clear=function(t){void 0===t&&(t=!0);for(var e,i=this._first;i;)e=i._next,this.remove(i),i=e;return this._dp&&(this._time=this._tTime=this._pTime=0),t&&(this.labels={}),St(this)},r.totalDuration=function(t){var e,i,n,r=0,s=this,a=s._last,l=y;if(arguments.length)return s.timeScale((s._repeat<0?s.duration():s.totalDuration())/(s.reversed()?-t:t));if(s._dirty){for(n=s.parent;a;)e=a._prev,a._dirty&&a.totalDuration(),(i=a._start)>l&&s._sort&&a._ts&&!s._lock?(s._lock=1,Lt(s,a,i-a._delay,1)._lock=0):l=i,i<0&&a._ts&&(r-=i,(!n&&!s._dp||n&&n.smoothChildTiming)&&(s._start+=i/s._ts,s._time-=i,s._tTime-=i),s.shiftChildren(-i,!1,-Infinity),l=0),a._end>r&&a._ts&&(r=a._end),a=e;Xt(s,s===o&&s._time>r?s._time:r,1,1),s._dirty=0}return s._tDur},e.updateRoot=function(t){if(o._ts&&(ft(o,Ct(t,o)),u=_e.frame),_e.frame>=it){it+=_.autoSleep||120;var e=o._first;if((!e||!e._ts)&&_.autoSleep&&_e._listeners.length<2){for(;e&&!e._ts;)e=e._next;e||_e.sleep()}}},e}(Ae);mt(Pe.prototype,{_lock:0,_hasPause:0,_forcing:0});
vendor: 28,084 bytes, line 1
1var Le,Re=function(t,e,i,n,r,o,s){var a,l,h,u,c,d,f,p,g=new ei(this._pt,t,e,0,1,Ge,null,r),m=0,_=0;for(g.b=i,g.e=n,i+="",(f=~(n+="").indexOf("random("))&&(n=ie(n)),o&&(o(p=[i,n],t,e),i=p[0],n=p[1]),l=i.match(z)||[];a=z.exec(n);)u=a[0],c=n.substring(m,a.index),h?h=(h+1)%5:"rgba("===c.substr(-5)&&(h=1),u!==l[_++]&&(d=parseFloat(l[_-1])||0,g._pt={_next:g._pt,p:c||1===_?c:",",s:d,c:"="===u.charAt(1)?parseFloat(u.substr(2))*("-"===u.charAt(0)?-1:1):parseFloat(u)-d,m:h&&h<4?Math.round:0},m=z.lastIndex);return g.c=m<n.length?n.substring(m,n.length):"",g.fp=s,(B.test(n)||f)&&(g.e=0),this._pt=g,g},Fe=function(t,e,i,n,r,o,s,a,l){D(n)&&(n=n(r||0,t,o));var h,u=t[e],c="get"!==i?i:D(u)?l?t[e.indexOf("set")||!D(t["get"+e.substr(3)])?e:"get"+e.substr(3)](l):t[e]():u,d=D(u)?l?We:He:qe;if(E(n)&&(~n.indexOf("random(")&&(n=ie(n)),"="===n.charAt(1)&&((h=parseFloat(c)+parseFloat(n.substr(2))*("-"===n.charAt(0)?-1:1)+(Ut(c)||0))||0===h)&&(n=h)),c!==n)return isNaN(c*n)||""===n?(!u&&!(e in t)&&Z(e,n),Re.call(this,t,e,c,n,d,a||_.stringFilter,l)):(h=new ei(this._pt,t,e,+c||0,n-(c||0),"boolean"==typeof u?je:Ze,0,d),l&&(h.fp=l),s&&h.modifier(s,this,t),this._pt=h)},Ie=function(t,e,i,n,r,o){var s,a,l,h;if(tt[t]&&!1!==(s=new tt[t]).init(r,s.rawVars?e[t]:function(t,e,i,n,r){if(D(t)&&(t=Xe(t,r,e,i,n)),!A(t)||t.style&&t.nodeType||I(t)||F(t))return E(t)?Xe(t,r,e,i,n):t;var o,s={};for(o in t)s[o]=Xe(t[o],r,e,i,n);return s}(e[t],n,r,o,i),i,n,o)&&(i._pt=a=new ei(i._pt,r,t,0,1,s.render,s,0,s.priority),i!==c))for(l=i._ptLookup[i._targets.indexOf(r)],h=s._props.length;h--;)l[s._props[h]]=a;return s},Ne=function t(e,i){var n,s,a,l,h,u,c,d,f,p,g,m,_,y=e.vars,w=y.ease,b=y.startAt,T=y.immediateRender,S=y.lazy,M=y.onUpdate,k=y.onUpdateParams,E=y.callbackScope,D=y.runBackwards,C=y.yoyoEase,O=y.keyframes,A=y.autoRevert,L=e._dur,R=e._startAt,F=e._targets,I=e.parent,N=I&&"nested"===I.data?I.parent._targets:F,X="auto"===e._overwrite&&!r,Y=e.timeline;if(Y&&(!O||!w)&&(w="none"),e._ease=Me(w,v.ease),e._yEase=C?Te(Me(!0===C?w:C,v.ease)):0,C&&e._yoyo&&!e._repeat&&(C=e._yEase,e._yEase=e._ease,e._ease=C),e._from=!Y&&!!y.runBackwards,!Y){if(m=(d=F[0]?st(F[0]).harness:0)&&y[d.prop],n=xt(y,Q),R&&R.render(-1,!0).kill(),b)if(Tt(e._startAt=Be.set(F,mt({data:"isStart",overwrite:!1,parent:I,immediateRender:!0,lazy:P(S),startAt:null,delay:0,onUpdate:M,onUpdateParams:k,callbackScope:E,stagger:0},b))),i<0&&!T&&!A&&e._startAt.render(-1,!0),T){if(i>0&&!A&&(e._startAt=0),L&&i<=0)return void(i&&(e._zTime=i))}else!1===A&&(e._startAt=0);else if(D&&L)if(R)!A&&(e._startAt=0);else if(i&&(T=!1),a=mt({overwrite:!1,data:"isFromStart",lazy:T&&P(S),immediateRender:T,stagger:0,parent:I},n),m&&(a[d.prop]=m),Tt(e._startAt=Be.set(F,a)),i<0&&e._startAt.render(-1,!0),T){if(!i)return}else t(e._startAt,x);for(e._pt=0,S=L&&P(S)||S&&!L,s=0;s<F.length;s++){if(c=(h=F[s])._gsap||ot(F)[s]._gsap,e._ptLookup[s]=p={},J[c.id]&&$.length&&dt(),g=N===F?s:N.indexOf(h),d&&!1!==(f=new d).init(h,m||n,e,g,N)&&(e._pt=l=new ei(e._pt,h,f.name,0,1,f.render,f,0,f.priority),f._props.forEach((function(t){p[t]=l})),f.priority&&(u=1)),!d||m)for(a in n)tt[a]&&(f=Ie(a,n,e,g,h,N))?f.priority&&(u=1):p[a]=l=Fe.call(e,h,a,"get",n[a],g,N,0,y.stringFilter);e._op&&e._op[s]&&e.kill(h,e._op[s]),X&&e._pt&&(Le=e,o.killTweensOf(h,p,e.globalTime(i)),_=!e.parent,Le=0),e._pt&&S&&(J[c.id]=1)}u&&ti(e),e._onInit&&e._onInit(e)}e._onUpdate=M,e._initted=(!e._op||e._pt)&&!_},Xe=function(t,e,i,n,r){return D(t)?t.call(e,i,n,r):E(t)&&~t.indexOf("random(")?ie(t):t},Ye=rt+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase",ze=(Ye+",id,stagger,delay,duration,paused,scrollTrigger").split(","),Be=function(t){function e(e,n,s,a){var l;"number"==typeof n&&(s.duration=n,n=s,s=null);var h,u,c,d,f,p,g,m,v=(l=t.call(this,a?n:wt(n))||this).vars,y=v.duration,x=v.delay,w=v.immediateRender,b=v.stagger,T=v.overwrite,S=v.keyframes,M=v.defaults,k=v.scrollTrigger,E=v.yoyoEase,D=n.parent||o,O=(I(e)||F(e)?C(e[0]):"length"in n)?[e]:Gt(e);if(l._targets=O.length?ot(O):j("GSAP target "+e+" not found. https://greensock.com",!_.nullTargetWarn)||[],l._ptLookup=[],l._overwrite=T,S||b||R(y)||R(x)){if(n=l.vars,(h=l.timeline=new Pe({data:"nested",defaults:M||{}})).kill(),h.parent=h._dp=i(l),h._start=0,S)wt(mt(h.vars.defaults,{ease:"none"})),b?O.forEach((function(t,e){return S.forEach((function(i,n){return h.to(t,i,n?">":e*b)}))})):S.forEach((function(t){return h.to(O,t,">")}));else{if(d=O.length,g=b?Qt(b):K,A(b))for(f in b)~Ye.indexOf(f)&&(m||(m={}),m[f]=b[f]);for(u=0;u<d;u++){for(f in c={},n)ze.indexOf(f)<0&&(c[f]=n[f]);c.stagger=0,E&&(c.yoyoEase=E),m&&vt(c,m),p=O[u],c.duration=+Xe(y,i(l),u,p,O),c.delay=(+Xe(x,i(l),u,p,O)||0)-l._delay,!b&&1===d&&c.delay&&(l._delay=x=c.delay,l._start+=x,c.delay=0),h.to(p,c,g(u,p,O))}h.duration()?y=x=0:l.timeline=0}y||l.duration(y=h.duration())}else l.timeline=0;return!0!==T||r||(Le=i(l),o.killTweensOf(O),Le=0),Lt(D,i(l),s),n.reversed&&l.reverse(),n.paused&&l.paused(!0),(w||!y&&!S&&l._start===ut(D._time)&&P(w)&&kt(i(l))&&"nested"!==D.data)&&(l._tTime=-1e-8,l.render(Math.max(0,-x))),k&&Rt(i(l),k),l}n(e,t);var s=e.prototype;return s.render=function(t,e,i){var n,r,o,s,a,l,h,u,c,d=this._time,f=this._tDur,p=this._dur,g=t>f-x&&t>=0?f:t<x?0:t;if(p){if(g!==this._tTime||!t||i||!this._initted&&this._tTime||this._startAt&&this._zTime<0!=t<0){if(n=g,u=this.timeline,this._repeat){if(s=p+this._rDelay,this._repeat<-1&&t<0)return this.totalTime(100*s+t,e,i);if(n=ut(g%s),g===f?(o=this._repeat,n=p):((o=~~(g/s))&&o===g/s&&(n=p,o--),n>p&&(n=p)),(l=this._yoyo&&1&o)&&(c=this._yEase,n=p-n),a=Dt(this._tTime,s),n===d&&!i&&this._initted)return this;o!==a&&(u&&this._yEase&&Se(u,l),!this.vars.repeatRefresh||l||this._lock||(this._lock=i=1,this.render(ut(s*o),!0).invalidate()._lock=0))}if(!this._initted){if(Ft(this,t<0?t:n,i,e))return this._tTime=0,this;if(p!==this._dur)return this.render(t,e,i)}if(this._tTime=g,this._time=n,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=h=(c||this._ease)(n/p),this._from&&(this.ratio=h=1-h),n&&!d&&!e&&(oe(this,"onStart"),this._tTime!==g))return this;for(r=this._pt;r;)r.r(h,r.d),r=r._next;u&&u.render(t<0?t:!n&&l?-1e-8:u._dur*h,e,i)||this._startAt&&(this._zTime=t),this._onUpdate&&!e&&(t<0&&this._startAt&&this._startAt.render(t,!0,i),oe(this,"onUpdate")),this._repeat&&o!==a&&this.vars.onRepeat&&!e&&this.parent&&oe(this,"onRepeat"),g!==this._tDur&&g||this._tTime!==g||(t<0&&this._startAt&&!this._onUpdate&&this._startAt.render(t,!0,!0),(t||!p)&&(g===this._tDur&&this._ts>0||!g&&this._ts<0)&&Tt(this,1),e||t<0&&!d||!g&&!d||(oe(this,g===f?"onComplete":"onReverseComplete",!0),this._prom&&!(g<f&&this.timeScale()>0)&&this._prom()))}}else!function(t,e,i,n){var r,o,s,a=t.ratio,l=e<0||!e&&(!t._start&&It(t)&&(t._initted||!Nt(t))||(t._ts<0||t._dp._ts<0)&&!Nt(t))?0:1,h=t._rDelay,u=0;if(h&&t._repeat&&(u=Wt(0,t._tDur,e),o=Dt(u,h),s=Dt(t._tTime,h),t._yoyo&&1&o&&(l=1-l),o!==s&&(a=1-l,t.vars.repeatRefresh&&t._initted&&t.invalidate())),l!==a||n||t._zTime===x||!e&&t._zTime){if(!t._initted&&Ft(t,e,n,i))return;for(s=t._zTime,t._zTime=e||(i?x:0),i||(i=e&&!s),t.ratio=l,t._from&&(l=1-l),t._time=0,t._tTime=u,r=t._pt;r;)r.r(l,r.d),r=r._next;t._startAt&&e<0&&t._startAt.render(e,!0,!0),t._onUpdate&&!i&&oe(t,"onUpdate"),u&&t._repeat&&!i&&t.parent&&oe(t,"onRepeat"),(e>=t._tDur||e<0)&&t.ratio===l&&(l&&Tt(t,1),i||(oe(t,l?"onComplete":"onReverseComplete",!0),t._prom&&t._prom()))}else t._zTime||(t._zTime=e)}(this,t,e,i);return this},s.targets=function(){return this._targets},s.invalidate=function(){return this._pt=this._op=this._startAt=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(),t.prototype.invalidate.call(this)},s.kill=function(t,e){if(void 0===e&&(e="all"),!(t||e&&"all"!==e))return this._lazy=this._pt=0,this.parent?se(this):this;if(this.timeline){var i=this.timeline.totalDuration();return this.timeline.killTweensOf(t,e,Le&&!0!==Le.vars.overwrite)._first||se(this),this.parent&&i!==this.timeline.totalDuration()&&Xt(this,this._dur*this.timeline._tDur/i,0,1),this}var n,r,o,s,a,l,h,u=this._targets,c=t?Gt(t):u,d=this._ptLookup,f=this._pt;if((!e||"all"===e)&&function(t,e){for(var i=t.length,n=i===e.length;n&&i--&&t[i]===e[i];);return i<0}(u,c))return"all"===e&&(this._pt=0),se(this);for(n=this._op=this._op||[],"all"!==e&&(E(e)&&(a={},lt(e,(function(t){return a[t]=1})),e=a),e=function(t,e){var i,n,r,o,s=t[0]?st(t[0]).harness:0,a=s&&s.aliases;if(!a)return e;for(n in i=vt({},e),a)if(n in i)for(r=(o=a[n].split(",")).length;r--;)i[o[r]]=i[n];return i}(u,e)),h=u.length;h--;)if(~c.indexOf(u[h]))for(a in r=d[h],"all"===e?(n[h]=e,s=r,o={}):(o=n[h]=n[h]||{},s=e),s)(l=r&&r[a])&&("kill"in l.d&&!0!==l.d.kill(a)||bt(this,l,"_pt"),delete r[a]),"all"!==o&&(o[a]=1);return this._initted&&!this._pt&&f&&se(this),this},e.to=function(t,i){return new e(t,i,arguments[2])},e.from=function(t,e){return qt(1,arguments)},e.delayedCall=function(t,i,n,r){return new e(i,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:t,onComplete:i,onReverseComplete:i,onCompleteParams:n,onReverseCompleteParams:n,callbackScope:r})},e.fromTo=function(t,e,i){return qt(2,arguments)},e.set=function(t,i){return i.duration=0,i.repeatDelay||(i.repeat=0),new e(t,i)},e.killTweensOf=function(t,e,i){return o.killTweensOf(t,e,i)},e}(Ae);mt(Be.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),lt("staggerTo,staggerFrom,staggerFromTo",(function(t){Be[t]=function(){var e=new Pe,i=Vt.call(arguments,0);return i.splice("staggerFromTo"===t?5:4,0,0),e[t].apply(e,i)}}));var qe=function(t,e,i){return t[e]=i},He=function(t,e,i){return t[e](i)},We=function(t,e,i,n){return t[e](n.fp,i)},Ue=function(t,e,i){return t.setAttribute(e,i)},Ve=function(t,e){return D(t[e])?He:O(t[e])&&t.setAttribute?Ue:qe},Ze=function(t,e){return e.set(e.t,e.p,Math.round(1e6*(e.s+e.c*t))/1e6,e)},je=function(t,e){return e.set(e.t,e.p,!!(e.s+e.c*t),e)},Ge=function(t,e){var i=e._pt,n="";if(!t&&e.b)n=e.b;else if(1===t&&e.e)n=e.e;else{for(;i;)n=i.p+(i.m?i.m(i.s+i.c*t):Math.round(1e4*(i.s+i.c*t))/1e4)+n,i=i._next;n+=e.c}e.set(e.t,e.p,n,e)},Ke=function(t,e){for(var i=e._pt;i;)i.r(t,i.d),i=i._next},Qe=function(t,e,i,n){for(var r,o=this._pt;o;)r=o._next,o.p===n&&o.modifier(t,e,i),o=r},$e=function(t){for(var e,i,n=this._pt;n;)i=n._next,n.p===t&&!n.op||n.op===t?bt(this,n,"_pt"):n.dep||(e=1),n=i;return!e},Je=function(t,e,i,n){n.mSet(t,e,n.m.call(n.tween,i,n.mt),n)},ti=function(t){for(var e,i,n,r,o=t._pt;o;){for(e=o._next,i=n;i&&i.pr>o.pr;)i=i._next;(o._prev=i?i._prev:r)?o._prev._next=o:n=o,(o._next=i)?i._prev=o:r=o,o=e}t._pt=n},ei=function(){function t(t,e,i,n,r,o,s,a,l){this.t=e,this.s=n,this.c=r,this.p=i,this.r=o||Ze,this.d=s||this,this.set=a||qe,this.pr=l||0,this._next=t,t&&(t._prev=this)}return t.prototype.modifier=function(t,e,i){this.mSet=this.mSet||this.set,this.set=Je,this.m=t,this.mt=i,this.tween=e},t}();lt(rt+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",(function(t){return Q[t]=1})),W.TweenMax=W.TweenLite=Be,W.TimelineLite=W.TimelineMax=Pe,o=new Pe({sortChildren:!1,defaults:v,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),_.stringFilter=me;var ii={registerPlugin:function(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];e.forEach((function(t){return ae(t)}))},timeline:function(t){return new Pe(t)},getTweensOf:function(t,e){return o.getTweensOf(t,e)},getProperty:function(t,e,i,n){E(t)&&(t=Gt(t)[0]);var r=st(t||{}).get,o=i?gt:pt;return"native"===i&&(i=""),t?e?o((tt[e]&&tt[e].get||r)(t,e,i,n)):function(e,i,n){return o((tt[e]&&tt[e].get||r)(t,e,i,n))}:t},quickSetter:function(t,e,i){if((t=Gt(t)).length>1){var n=t.map((function(t){return oi.quickSetter(t,e,i)})),r=n.length;return function(t){for(var e=r;e--;)n[e](t)}}t=t[0]||{};var o=tt[e],s=st(t),a=s.harness&&(s.harness.aliases||{})[e]||e,l=o?function(e){var n=new o;c._pt=0,n.init(t,i?e+i:e,c,0,[t]),n.render(1,n),c._pt&&Ke(1,c)}:s.set(t,a);return o?l:function(e){return l(t,a,i?e+i:e,s,1)}},isTweening:function(t){return o.getTweensOf(t,!0).length>0},defaults:function(t){return t&&t.ease&&(t.ease=Me(t.ease,v.ease)),yt(v,t||{})},config:function(t){return yt(_,t||{})},registerEffect:function(t){var e=t.name,i=t.effect,n=t.plugins,r=t.defaults,o=t.extendTimeline;(n||"").split(",").forEach((function(t){return t&&!tt[t]&&!W[t]&&j(e+" effect requires "+t+" plugin.")})),et[e]=function(t,e,n){return i(Gt(t),mt(e||{},r),n)},o&&(Pe.prototype[e]=function(t,i,n){return this.add(et[e](t,A(i)?i:(n=i)&&{},this),n)})},registerEase:function(t,e){ye[t]=Me(e)},parseEase:function(t,e){return arguments.length?Me(t,e):ye},getById:function(t){return o.getById(t)},exportRoot:function(t,e){void 0===t&&(t={});var i,n,r=new Pe(t);for(r.smoothChildTiming=P(t.smoothChildTiming),o.remove(r),r._dp=0,r._time=r._tTime=o._time,i=o._first;i;)n=i._next,!e&&!i._dur&&i instanceof Be&&i.vars.onComplete===i._targets[0]||Lt(r,i,i._start-i._delay),i=n;return Lt(o,r,0),r},utils:{wrap:function t(e,i,n){var r=i-e;return I(e)?ee(e,t(0,e.length),i):Ht(n,(function(t){return(r+(t-e)%r)%r+e}))},wrapYoyo:function t(e,i,n){var r=i-e,o=2*r;return I(e)?ee(e,t(0,e.length-1),i):Ht(n,(function(t){return e+((t=(o+(t-e)%o)%o||0)>r?o-t:t)}))},distribute:Qt,random:te,snap:Jt,normalize:function(t,e,i){return ne(t,e,0,1,i)},getUnit:Ut,clamp:function(t,e,i){return Ht(i,(function(i){return Wt(t,e,i)}))},splitColor:ce,toArray:Gt,selector:function(t){return t=Gt(t)[0]||j("Invalid scope")||{},function(e){var i=t.current||t.nativeElement||t;return Gt(e,i.querySelectorAll?i:i===t?j("Invalid scope")||l.createElement("div"):t)}},mapRange:ne,pipe:function(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];return function(t){return e.reduce((function(t,e){return e(t)}),t)}},unitize:function(t,e){return function(i){return t(parseFloat(i))+(e||Ut(i))}},interpolate:function t(e,i,n,r){var o=isNaN(e+i)?0:function(t){return(1-t)*e+t*i};if(!o){var s,a,l,h,u,c=E(e),d={};if(!0===n&&(r=1)&&(n=null),c)e={p:e},i={p:i};else if(I(e)&&!I(i)){for(l=[],h=e.length,u=h-2,a=1;a<h;a++)l.push(t(e[a-1],e[a]));h--,o=function(t){t*=h;var e=Math.min(u,~~t);return l[e](t-e)},n=i}else r||(e=vt(I(e)?[]:{},e));if(!l){for(s in i)Fe.call(d,e,s,"get",i[s]);o=function(t){return Ke(t,d)||(c?e.p:e)}}}return Ht(n,o)},shuffle:Kt},install:V,effects:et,ticker:_e,updateRoot:Pe.updateRoot,plugins:tt,globalTimeline:o,core:{PropTween:ei,globals:G,Tween:Be,Timeline:Pe,Animation:Ae,getCache:st,_removeLinkedListItem:bt,suppressOverwrites:function(t){return r=t}}};lt("to,from,fromTo,delayedCall,set,killTweensOf",(function(t){return ii[t]=Be[t]})),_e.add(Pe.updateRoot),c=ii.to({},{duration:0});var ni=function(t,e){for(var i=t._pt;i&&i.p!==e&&i.op!==e&&i.fp!==e;)i=i._next;return i},ri=function(t,e){return{name:t,rawVars:1,init:function(t,i,n){n._onInit=function(t){var n,r;if(E(i)&&(n={},lt(i,(function(t){return n[t]=1})),i=n),e){for(r in n={},i)n[r]=e(i[r]);i=n}!function(t,e){var i,n,r,o=t._targets;for(i in e)for(n=o.length;n--;)(r=t._ptLookup[n][i])&&(r=r.d)&&(r._pt&&(r=ni(r,i)),r&&r.modifier&&r.modifier(e[i],t,o[n],i))}(t,i)}}}},oi=ii.registerPlugin({name:"attr",init:function(t,e,i,n,r){var o,s;for(o in e)(s=this.add(t,"setAttribute",(t.getAttribute(o)||0)+"",e[o],n,r,0,0,o))&&(s.op=o),this._props.push(o)}},{name:"endArray",init:function(t,e){for(var i=e.length;i--;)this.add(t,i,t[i]||0,e[i])}},ri("roundProps",$t),ri("modifiers"),ri("snap",Jt))||ii;Be.version=Pe.version=oi.version="3.8.0",h=1,L()&&ve();ye.Power0,ye.Power1,ye.Power2,ye.Power3,ye.Power4,ye.Linear,ye.Quad,ye.Cubic,ye.Quart,ye.Quint,ye.Strong,ye.Elastic,ye.Back,ye.SteppedEase,ye.Bounce,ye.Sine,ye.Expo,ye.Circ;var si,ai,li,hi,ui,ci,di,fi={},pi=180/Math.PI,gi=Math.PI/180,mi=Math.atan2,_i=/([A-Z])/g,vi=/(?:left|right|width|margin|padding|x)/i,yi=/[\s,\(]\S/,xi={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},wi=function(t,e){return e.set(e.t,e.p,Math.round(1e4*(e.s+e.c*t))/1e4+e.u,e)},bi=function(t,e){return e.set(e.t,e.p,1===t?e.e:Math.round(1e4*(e.s+e.c*t))/1e4+e.u,e)},Ti=function(t,e){return e.set(e.t,e.p,t?Math.round(1e4*(e.s+e.c*t))/1e4+e.u:e.b,e)},Si=function(t,e){var i=e.s+e.c*t;e.set(e.t,e.p,~~(i+(i<0?-.5:.5))+e.u,e)},Mi=function(t,e){return e.set(e.t,e.p,t?e.e:e.b,e)},ki=function(t,e){return e.set(e.t,e.p,1!==t?e.b:e.e,e)},Ei=function(t,e,i){return t.style[e]=i},Di=function(t,e,i){return t.style.setProperty(e,i)},Ci=function(t,e,i){return t._gsap[e]=i},Oi=function(t,e,i){return t._gsap.scaleX=t._gsap.scaleY=i},Ai=function(t,e,i,n,r){var o=t._gsap;o.scaleX=o.scaleY=i,o.renderTransform(r,o)},Pi=function(t,e,i,n,r){var o=t._gsap;o[e]=i,o.renderTransform(r,o)},Li="transform",Ri=Li+"Origin",Fi=function(t,e){var i=ai.createElementNS?ai.createElementNS((e||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),t):ai.createElement(t);return i.style?i:ai.createElement(t)},Ii=function t(e,i,n){var r=getComputedStyle(e);return r[i]||r.getPropertyValue(i.replace(_i,"-$1").toLowerCase())||r.getPropertyValue(i)||!n&&t(e,Xi(i)||i,1)||""},Ni="O,Moz,ms,Ms,Webkit".split(","),Xi=function(t,e,i){var n=(e||ui).style,r=5;if(t in n&&!i)return t;for(t=t.charAt(0).toUpperCase()+t.substr(1);r--&&!(Ni[r]+t in n););return r<0?null:(3===r?"ms":r>=0?Ni[r]:"")+t},Yi=function(){"undefined"!=typeof window&&window.document&&(si=window,ai=si.document,li=ai.documentElement,ui=Fi("div")||{style:{}},Fi("div"),Li=Xi(Li),Ri=Li+"Origin",ui.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",di=!!Xi("perspective"),hi=1)},zi=function t(e){var i,n=Fi("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),r=this.parentNode,o=this.nextSibling,s=this.style.cssText;if(li.appendChild(n),n.appendChild(this),this.style.display="block",e)try{i=this.getBBox(),this._gsapBBox=this.getBBox,this.getBBox=t}catch(t){}else this._gsapBBox&&(i=this._gsapBBox());return r&&(o?r.insertBefore(this,o):r.appendChild(this)),li.removeChild(n),this.style.cssText=s,i},Bi=function(t,e){for(var i=e.length;i--;)if(t.hasAttribute(e[i]))return t.getAttribute(e[i])},qi=function(t){var e;try{e=t.getBBox()}catch(i){e=zi.call(t,!0)}return e&&(e.width||e.height)||t.getBBox===zi||(e=zi.call(t,!0)),!e||e.width||e.x||e.y?e:{x:+Bi(t,["x","cx","x1"])||0,y:+Bi(t,["y","cy","y1"])||0,width:0,height:0}},Hi=function(t){return!(!t.getCTM||t.parentNode&&!t.ownerSVGElement||!qi(t))},Wi=function(t,e){if(e){var i=t.style;e in fi&&e!==Ri&&(e=Li),i.removeProperty?("ms"!==e.substr(0,2)&&"webkit"!==e.substr(0,6)||(e="-"+e),i.removeProperty(e.replace(_i,"-$1").toLowerCase())):i.removeAttribute(e)}},Ui=function(t,e,i,n,r,o){var s=new ei(t._pt,e,i,0,1,o?ki:Mi);return t._pt=s,s.b=n,s.e=r,t._props.push(i),s},Vi={deg:1,rad:1,turn:1},Zi=function t(e,i,n,r){var o,s,a,l,h=parseFloat(n)||0,u=(n+"").trim().substr((h+"").length)||"px",c=ui.style,d=vi.test(i),f="svg"===e.tagName.toLowerCase(),p=(f?"client":"offset")+(d?"Width":"Height"),g=100,m="px"===r,_="%"===r;return r===u||!h||Vi[r]||Vi[u]?h:("px"!==u&&!m&&(h=t(e,i,n,"px")),l=e.getCTM&&Hi(e),!_&&"%"!==u||!fi[i]&&!~i.indexOf("adius")?(c[d?"width":"height"]=g+(m?u:r),s=~i.indexOf("adius")||"em"===r&&e.appendChild&&!f?e:e.parentNode,l&&(s=(e.ownerSVGElement||{}).parentNode),s&&s!==ai&&s.appendChild||(s=ai.body),(a=s._gsap)&&_&&a.width&&d&&a.time===_e.time?ht(h/a.width*g):((_||"%"===u)&&(c.position=Ii(e,"position")),s===e&&(c.position="static"),s.appendChild(ui),o=ui[p],s.removeChild(ui),c.position="absolute",d&&_&&((a=st(s)).time=_e.time,a.width=s[p]),ht(m?o*h/g:o&&h?g/o*h:0))):(o=l?e.getBBox()[d?"width":"height"]:e[p],ht(_?h/o*g:h/100*o)))},ji=function(t,e,i,n){var r;return hi||Yi(),e in xi&&"transform"!==e&&~(e=xi[e]).indexOf(",")&&(e=e.split(",")[0]),fi[e]&&"transform"!==e?(r=sn(t,n),r="transformOrigin"!==e?r[e]:r.svg?r.origin:an(Ii(t,Ri))+" "+r.zOrigin+"px"):(!(r=t.style[e])||"auto"===r||n||~(r+"").indexOf("calc("))&&(r=$i[e]&&$i[e](t,e,i)||Ii(t,e)||at(t,e)||("opacity"===e?1:0)),i&&!~(r+"").trim().indexOf(" ")?Zi(t,e,r,i)+i:r},Gi=function(t,e,i,n){if(!i||"none"===i){var r=Xi(e,t,1),o=r&&Ii(t,r,1);o&&o!==i?(e=r,i=o):"borderColor"===e&&(i=Ii(t,"borderTopColor"))}var s,a,l,h,u,c,d,f,p,g,m,v,y=new ei(this._pt,t.style,e,0,1,Ge),x=0,w=0;if(y.b=i,y.e=n,i+="","auto"===(n+="")&&(t.style[e]=n,n=Ii(t,e)||n,t.style[e]=i),me(s=[i,n]),n=s[1],l=(i=s[0]).match(Y)||[],(n.match(Y)||[]).length){for(;a=Y.exec(n);)d=a[0],p=n.substring(x,a.index),u?u=(u+1)%5:"rgba("!==p.substr(-5)&&"hsla("!==p.substr(-5)||(u=1),d!==(c=l[w++]||"")&&(h=parseFloat(c)||0,m=c.substr((h+"").length),(v="="===d.charAt(1)?+(d.charAt(0)+"1"):0)&&(d=d.substr(2)),f=parseFloat(d),g=d.substr((f+"").length),x=Y.lastIndex-g.length,g||(g=g||_.units[e]||m,x===n.length&&(n+=g,y.e+=g)),m!==g&&(h=Zi(t,e,c,g)||0),y._pt={_next:y._pt,p:p||1===w?p:",",s:h,c:v?v*f:f-h,m:u&&u<4||"zIndex"===e?Math.round:0});y.c=x<n.length?n.substring(x,n.length):""}else y.r="display"===e&&"none"===n?ki:Mi;return B.test(n)&&(y.e=0),this._pt=y,y},Ki={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},Qi=function(t,e){if(e.tween&&e.tween._time===e.tween._dur){var i,n,r,o=e.t,s=o.style,a=e.u,l=o._gsap;if("all"===a||!0===a)s.cssText="",n=1;else for(r=(a=a.split(",")).length;--r>-1;)i=a[r],fi[i]&&(n=1,i="transformOrigin"===i?Ri:Li),Wi(o,i);n&&(Wi(o,Li),l&&(l.svg&&o.removeAttribute("transform"),sn(o,1),l.uncache=1))}},$i={clearProps:function(t,e,i,n,r){if("isFromStart"!==r.data){var o=t._pt=new ei(t._pt,e,i,0,0,Qi);return o.u=n,o.pr=-10,o.tween=r,t._props.push(i),1}}},Ji=[1,0,0,1,0,0],tn={},en=function(t){return"matrix(1, 0, 0, 1, 0, 0)"===t||"none"===t||!t},nn=function(t){var e=Ii(t,Li);return en(e)?Ji:e.substr(7).match(X).map(ht)},rn=function(t,e){var i,n,r,o,s=t._gsap||st(t),a=t.style,l=nn(t);return s.svg&&t.getAttribute("transform")?"1,0,0,1,0,0"===(l=[(r=t.transform.baseVal.consolidate().matrix).a,r.b,r.c,r.d,r.e,r.f]).join(",")?Ji:l:(l!==Ji||t.offsetParent||t===li||s.svg||(r=a.display,a.display="block",(i=t.parentNode)&&t.offsetParent||(o=1,n=t.nextSibling,li.appendChild(t)),l=nn(t),r?a.display=r:Wi(t,"display"),o&&(n?i.insertBefore(t,n):i?i.appendChild(t):li.removeChild(t))),e&&l.length>6?[l[0],l[1],l[4],l[5],l[12],l[13]]:l)},on=function(t,e,i,n,r,o){var s,a,l,h=t._gsap,u=r||rn(t,!0),c=h.xOrigin||0,d=h.yOrigin||0,f=h.xOffset||0,p=h.yOffset||0,g=u[0],m=u[1],_=u[2],v=u[3],y=u[4],x=u[5],w=e.split(" "),b=parseFloat(w[0])||0,T=parseFloat(w[1])||0;i?u!==Ji&&(a=g*v-m*_)&&(l=b*(-m/a)+T*(g/a)-(g*x-m*y)/a,b=b*(v/a)+T*(-_/a)+(_*x-v*y)/a,T=l):(b=(s=qi(t)).x+(~w[0].indexOf("%")?b/100*s.width:b),T=s.y+(~(w[1]||w[0]).indexOf("%")?T/100*s.height:T)),n||!1!==n&&h.smooth?(y=b-c,x=T-d,h.xOffset=f+(y*g+x*_)-y,h.yOffset=p+(y*m+x*v)-x):h.xOffset=h.yOffset=0,h.xOrigin=b,h.yOrigin=T,h.smooth=!!n,h.origin=e,h.originIsAbsolute=!!i,t.style[Ri]="0px 0px",o&&(Ui(o,h,"xOrigin",c,b),Ui(o,h,"yOrigin",d,T),Ui(o,h,"xOffset",f,h.xOffset),Ui(o,h,"yOffset",p,h.yOffset)),t.setAttribute("data-svg-origin",b+" "+T)},sn=function(t,e){var i=t._gsap||new Oe(t);if("x"in i&&!e&&!i.uncache)return i;var n,r,o,s,a,l,h,u,c,d,f,p,g,m,v,y,x,w,b,T,S,M,k,E,D,C,O,A,P,L,R,F,I=t.style,N=i.scaleX<0,X="px",Y="deg",z=Ii(t,Ri)||"0";return n=r=o=l=h=u=c=d=f=0,s=a=1,i.svg=!(!t.getCTM||!Hi(t)),m=rn(t,i.svg),i.svg&&(E=(!i.uncache||"0px 0px"===z)&&!e&&t.getAttribute("data-svg-origin"),on(t,E||z,!!E||i.originIsAbsolute,!1!==i.smooth,m)),p=i.xOrigin||0,g=i.yOrigin||0,m!==Ji&&(w=m[0],b=m[1],T=m[2],S=m[3],n=M=m[4],r=k=m[5],6===m.length?(s=Math.sqrt(w*w+b*b),a=Math.sqrt(S*S+T*T),l=w||b?mi(b,w)*pi:0,(c=T||S?mi(T,S)*pi+l:0)&&(a*=Math.abs(Math.cos(c*gi))),i.svg&&(n-=p-(p*w+g*T),r-=g-(p*b+g*S))):(F=m[6],L=m[7],O=m[8],A=m[9],P=m[10],R=m[11],n=m[12],r=m[13],o=m[14],h=(v=mi(F,P))*pi,v&&(E=M*(y=Math.cos(-v))+O*(x=Math.sin(-v)),D=k*y+A*x,C=F*y+P*x,O=M*-x+O*y,A=k*-x+A*y,P=F*-x+P*y,R=L*-x+R*y,M=E,k=D,F=C),u=(v=mi(-T,P))*pi,v&&(y=Math.cos(-v),R=S*(x=Math.sin(-v))+R*y,w=E=w*y-O*x,b=D=b*y-A*x,T=C=T*y-P*x),l=(v=mi(b,w))*pi,v&&(E=w*(y=Math.cos(v))+b*(x=Math.sin(v)),D=M*y+k*x,b=b*y-w*x,k=k*y-M*x,w=E,M=D),h&&Math.abs(h)+Math.abs(l)>359.9&&(h=l=0,u=180-u),s=ht(Math.sqrt(w*w+b*b+T*T)),a=ht(Math.sqrt(k*k+F*F)),v=mi(M,k),c=Math.abs(v)>2e-4?v*pi:0,f=R?1/(R<0?-R:R):0),i.svg&&(E=t.getAttribute("transform"),i.forceCSS=t.setAttribute("transform","")||!en(Ii(t,Li)),E&&t.setAttribute("transform",E))),Math.abs(c)>90&&Math.abs(c)<270&&(N?(s*=-1,c+=l<=0?180:-180,l+=l<=0?180:-180):(a*=-1,c+=c<=0?180:-180)),i.x=n-((i.xPercent=n&&(i.xPercent||(Math.round(t.offsetWidth/2)===Math.round(-n)?-50:0)))?t.offsetWidth*i.xPercent/100:0)+X,i.y=r-((i.yPercent=r&&(i.yPercent||(Math.round(t.offsetHeight/2)===Math.round(-r)?-50:0)))?t.offsetHeight*i.yPercent/100:0)+X,i.z=o+X,i.scaleX=ht(s),i.scaleY=ht(a),i.rotation=ht(l)+Y,i.rotationX=ht(h)+Y,i.rotationY=ht(u)+Y,i.skewX=c+Y,i.skewY=d+Y,i.transformPerspective=f+X,(i.zOrigin=parseFloat(z.split(" ")[2])||0)&&(I[Ri]=an(z)),i.xOffset=i.yOffset=0,i.force3D=_.force3D,i.renderTransform=i.svg?pn:di?fn:hn,i.uncache=0,i},an=function(t){return(t=t.split(" "))[0]+" "+t[1]},ln=function(t,e,i){var n=Ut(e);return ht(parseFloat(e)+parseFloat(Zi(t,"x",i+"px",n)))+n},hn=function(t,e){e.z="0px",e.rotationY=e.rotationX="0deg",e.force3D=0,fn(t,e)},un="0deg",cn="0px",dn=") ",fn=function(t,e){var i=e||this,n=i.xPercent,r=i.yPercent,o=i.x,s=i.y,a=i.z,l=i.rotation,h=i.rotationY,u=i.rotationX,c=i.skewX,d=i.skewY,f=i.scaleX,p=i.scaleY,g=i.transformPerspective,m=i.force3D,_=i.target,v=i.zOrigin,y="",x="auto"===m&&t&&1!==t||!0===m;if(v&&(u!==un||h!==un)){var w,b=parseFloat(h)*gi,T=Math.sin(b),S=Math.cos(b);b=parseFloat(u)*gi,w=Math.cos(b),o=ln(_,o,T*w*-v),s=ln(_,s,-Math.sin(b)*-v),a=ln(_,a,S*w*-v+v)}g!==cn&&(y+="perspective("+g+dn),(n||r)&&(y+="translate("+n+"%, "+r+"%) "),(x||o!==cn||s!==cn||a!==cn)&&(y+=a!==cn||x?"translate3d("+o+", "+s+", "+a+") ":"translate("+o+", "+s+dn),l!==un&&(y+="rotate("+l+dn),h!==un&&(y+="rotateY("+h+dn),u!==un&&(y+="rotateX("+u+dn),c===un&&d===un||(y+="skew("+c+", "+d+dn),1===f&&1===p||(y+="scale("+f+", "+p+dn),_.style[Li]=y||"translate(0, 0)"},pn=function(t,e){var i,n,r,o,s,a=e||this,l=a.xPercent,h=a.yPercent,u=a.x,c=a.y,d=a.rotation,f=a.skewX,p=a.skewY,g=a.scaleX,m=a.scaleY,_=a.target,v=a.xOrigin,y=a.yOrigin,x=a.xOffset,w=a.yOffset,b=a.forceCSS,T=parseFloat(u),S=parseFloat(c);d=parseFloat(d),f=parseFloat(f),(p=parseFloat(p))&&(f+=p=parseFloat(p),d+=p),d||f?(d*=gi,f*=gi,i=Math.cos(d)*g,n=Math.sin(d)*g,r=Math.sin(d-f)*-m,o=Math.cos(d-f)*m,f&&(p*=gi,s=Math.tan(f-p),r*=s=Math.sqrt(1+s*s),o*=s,p&&(s=Math.tan(p),i*=s=Math.sqrt(1+s*s),n*=s)),i=ht(i),n=ht(n),r=ht(r),o=ht(o)):(i=g,o=m,n=r=0),(T&&!~(u+"").indexOf("px")||S&&!~(c+"").indexOf("px"))&&(T=Zi(_,"x",u,"px"),S=Zi(_,"y",c,"px")),(v||y||x||w)&&(T=ht(T+v-(v*i+y*r)+x),S=ht(S+y-(v*n+y*o)+w)),(l||h)&&(s=_.getBBox(),T=ht(T+l/100*s.width),S=ht(S+h/100*s.height)),s="matrix("+i+","+n+","+r+","+o+","+T+","+S+")",_.setAttribute("transform",s),b&&(_.style[Li]=s)},gn=function(t,e,i,n,r,o){var s,a,l=360,h=E(r),u=parseFloat(r)*(h&&~r.indexOf("rad")?pi:1),c=o?u*o:u-n,d=n+c+"deg";return h&&("short"===(s=r.split("_")[1])&&(c%=l)!==c%180&&(c+=c<0?l:-360),"cw"===s&&c<0?c=(c+36e9)%l-~~(c/l)*l:"ccw"===s&&c>0&&(c=(c-36e9)%l-~~(c/l)*l)),t._pt=a=new ei(t._pt,e,i,n,c,bi),a.e=d,a.u="deg",t._props.push(i),a},mn=function(t,e){for(var i in e)t[i]=e[i];return t},_n=function(t,e,i){var n,r,o,s,a,l,h,u=mn({},i._gsap),c=i.style;for(r in u.svg?(o=i.getAttribute("transform"),i.setAttribute("transform",""),c[Li]=e,n=sn(i,1),Wi(i,Li),i.setAttribute("transform",o)):(o=getComputedStyle(i)[Li],c[Li]=e,n=sn(i,1),c[Li]=o),fi)(o=u[r])!==(s=n[r])&&"perspective,force3D,transformOrigin,svgOrigin".indexOf(r)<0&&(a=Ut(o)!==(h=Ut(s))?Zi(i,r,o,h):parseFloat(o),l=parseFloat(s),t._pt=new ei(t._pt,n,r,a,l-a,wi),t._pt.u=h||0,t._props.push(r));mn(n,u)};lt("padding,margin,Width,Radius",(function(t,e){var i="Top",n="Right",r="Bottom",o="Left",s=(e<3?[i,n,r,o]:[i+o,i+n,r+n,r+o]).map((function(i){return e<2?t+i:"border"+i+t}));$i[e>1?"border"+t:t]=function(t,e,i,n,r){var o,a;if(arguments.length<4)return o=s.map((function(e){return ji(t,e,
1i)})),5===(a=o.join(" ")).split(o[0]).length?o[0]:a;o=(n+"").split(" "),a={},s.forEach((function(t,e){return a[t]=o[e]=o[e]||o[(e-1)/2|0]})),t.init(e,a,r)}}));var vn,yn,xn,wn={name:"css",register:Yi,targetTest:function(t){return t.style&&t.nodeType},init:function(t,e,i,n,r){var o,s,a,l,h,u,c,d,f,p,g,m,v,y,x,w,b,T,S,M=this._props,k=t.style,D=i.vars.startAt;for(c in hi||Yi(),e)if("autoRound"!==c&&(s=e[c],!tt[c]||!Ie(c,e,i,n,t,r)))if(h=typeof s,u=$i[c],"function"===h&&(h=typeof(s=s.call(i,n,t,r))),"string"===h&&~s.indexOf("random(")&&(s=ie(s)),u)u(this,t,c,s,i)&&(x=1);else if("--"===c.substr(0,2))o=(getComputedStyle(t).getPropertyValue(c)+"").trim(),s+="",pe.lastIndex=0,pe.test(o)||(d=Ut(o),f=Ut(s)),f?d!==f&&(o=Zi(t,c,o,f)+f):d&&(s+=d),this.add(k,"setProperty",o,s,n,r,0,0,c),M.push(c);else if("undefined"!==h){if(D&&c in D?(o="function"==typeof D[c]?D[c].call(i,n,t,r):D[c],c in _.units&&!Ut(o)&&(o+=_.units[c]),E(o)&&~o.indexOf("random(")&&(o=ie(o)),"="===(o+"").charAt(1)&&(o=ji(t,c))):o=ji(t,c),l=parseFloat(o),(p="string"===h&&"="===s.charAt(1)?+(s.charAt(0)+"1"):0)&&(s=s.substr(2)),a=parseFloat(s),c in xi&&("autoAlpha"===c&&(1===l&&"hidden"===ji(t,"visibility")&&a&&(l=0),Ui(this,k,"visibility",l?"inherit":"hidden",a?"inherit":"hidden",!a)),"scale"!==c&&"transform"!==c&&~(c=xi[c]).indexOf(",")&&(c=c.split(",")[0])),g=c in fi)if(m||((v=t._gsap).renderTransform&&!e.parseTransform||sn(t,e.parseTransform),y=!1!==e.smoothOrigin&&v.smooth,(m=this._pt=new ei(this._pt,k,Li,0,1,v.renderTransform,v,0,-1)).dep=1),"scale"===c)this._pt=new ei(this._pt,v,"scaleY",v.scaleY,(p?p*a:a-v.scaleY)||0),M.push("scaleY",c),c+="X";else{if("transformOrigin"===c){b=void 0,T=void 0,S=void 0,b=(w=s).split(" "),T=b[0],S=b[1]||"50%","top"!==T&&"bottom"!==T&&"left"!==S&&"right"!==S||(w=T,T=S,S=w),b[0]=Ki[T]||T,b[1]=Ki[S]||S,s=b.join(" "),v.svg?on(t,s,0,y,0,this):((f=parseFloat(s.split(" ")[2])||0)!==v.zOrigin&&Ui(this,v,"zOrigin",v.zOrigin,f),Ui(this,k,c,an(o),an(s)));continue}if("svgOrigin"===c){on(t,s,1,y,0,this);continue}if(c in tn){gn(this,v,c,l,s,p);continue}if("smoothOrigin"===c){Ui(this,v,"smooth",v.smooth,s);continue}if("force3D"===c){v[c]=s;continue}if("transform"===c){_n(this,s,t);continue}}else c in k||(c=Xi(c)||c);if(g||(a||0===a)&&(l||0===l)&&!yi.test(s)&&c in k)a||(a=0),(d=(o+"").substr((l+"").length))!==(f=Ut(s)||(c in _.units?_.units[c]:d))&&(l=Zi(t,c,o,f)),this._pt=new ei(this._pt,g?v:k,c,l,p?p*a:a-l,g||"px"!==f&&"zIndex"!==c||!1===e.autoRound?wi:Si),this._pt.u=f||0,d!==f&&"%"!==f&&(this._pt.b=o,this._pt.r=Ti);else if(c in k)Gi.call(this,t,c,o,s);else{if(!(c in t)){Z(c,s);continue}this.add(t,c,o||t[c],s,n,r)}M.push(c)}x&&ti(this)},get:ji,aliases:xi,getSetter:function(t,e,i){var n=xi[e];return n&&n.indexOf(",")<0&&(e=n),e in fi&&e!==Ri&&(t._gsap.x||ji(t,"x"))?i&&ci===i?"scale"===e?Oi:Ci:(ci=i||{})&&("scale"===e?Ai:Pi):t.style&&!O(t.style[e])?Ei:~e.indexOf("-")?Di:Ve(t,e)},core:{_removeProperty:Wi,_getMatrix:rn}};oi.utils.checkPrefix=Xi,xn=lt((vn="x,y,z,scale,scaleX,scaleY,xPercent,yPercent")+","+(yn="rotation,rotationX,rotationY,skewX,skewY")+",transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective",(function(t){fi[t]=1})),lt(yn,(function(t){_.units[t]="deg",tn[t]=1})),xi[xn[13]]=vn+","+yn,lt("0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY",(function(t){var e=t.split(":");xi[e[1]]=xn[e[0]]})),lt("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",(function(t){_.units[t]="px"})),oi.registerPlugin(wn);var bn,Tn,Sn,Mn,kn,En,Dn,Cn,On,An=oi.registerPlugin(wn)||oi,Pn=(An.core.Tween,"transform"),Ln=Pn+"Origin",Rn=function(t){var e=t.ownerDocument||t;!(Pn in t.style)&&"msTransform"in t.style&&(Ln=(Pn="msTransform")+"Origin");for(;e.parentNode&&(e=e.parentNode););if(Tn=window,Dn=new qn,e){bn=e,Sn=e.documentElement,Mn=e.body,(Cn=bn.createElementNS("http://www.w3.org/2000/svg","g")).style.transform="none";var i=e.createElement("div"),n=e.createElement("div");Mn.appendChild(i),i.appendChild(n),i.style.position="static",i.style[Pn]="translate3d(0,0,1px)",On=n.offsetParent!==i,Mn.removeChild(i)}return e},Fn=[],In=[],Nn=function(t){return t.ownerSVGElement||("svg"===(t.tagName+"").toLowerCase()?t:null)},Xn=function t(e){return"fixed"===Tn.getComputedStyle(e).position||((e=e.parentNode)&&1===e.nodeType?t(e):void 0)},Yn=function t(e,i){if(e.parentNode&&(bn||Rn(e))){var n=Nn(e),r=n?n.getAttribute("xmlns")||"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",o=n?i?"rect":"g":"div",s=2!==i?0:100,a=3===i?100:0,l="position:absolute;display:block;pointer-events:none;margin:0;padding:0;",h=bn.createElementNS?bn.createElementNS(r.replace(/^https/,"http"),o):bn.createElement(o);return i&&(n?(En||(En=t(e)),h.setAttribute("width",.01),h.setAttribute("height",.01),h.setAttribute("transform","translate("+s+","+a+")"),En.appendChild(h)):(kn||((kn=t(e)).style.cssText=l),h.style.cssText=l+"width:0.1px;height:0.1px;top:"+a+"px;left:"+s+"px",kn.appendChild(h))),h}throw"Need document and parent."},zn=function(t,e){var i,n,r,o,s,a,l=Nn(t),h=t===l,u=l?Fn:In,c=t.parentNode;if(t===Tn)return t;if(u.length||u.push(Yn(t,1),Yn(t,2),Yn(t,3)),i=l?En:kn,l)h?(r=function(t){var e,i=t.getCTM();
1return i||(e=t.style[Pn],t.style[Pn]="none",t.appendChild(Cn),i=Cn.getCTM(),t.removeChild(Cn),e?t.style[Pn]=e:t.style.removeProperty(Pn.replace(/([A-Z])/g,"-$1").toLowerCase())),i||Dn.clone()}(t),o=-r.e/r.a,s=-r.f/r.d,n=Dn):(r=t.getBBox(),n=(n=t.transform?t.transform.baseVal:{}).numberOfItems?n.numberOfItems>1?function(t){for(var e=new qn,i=0;i<t.numberOfItems;i++)e.multiply(t.getItem(i).matrix);return e}(n):n.getItem(0).matrix:Dn,o=n.a*r.x+n.c*r.y,s=n.b*r.x+n.d*r.y),e&&"g"===t.tagName.toLowerCase()&&(o=s=0),(h?l:c).appendChild(i),i.setAttribute("transform","matrix("+n.a+","+n.b+","+n.c+","+n.d+","+(n.e+o)+","+(n.f+s)+")");else{if(o=s=0,On)for(n=t.offsetParent,r=t;r&&(r=r.parentNode)&&r!==n&&r.parentNode;)(Tn.getComputedStyle(r)[Pn]+"").length>4&&(o=r.offsetLeft,s=r.offsetTop,r=0);if("absolute"!==(a=Tn.getComputedStyle(t)).position&&"fixed"!==a.position)for(n=t.offsetParent;c&&c!==n;)o+=c.scrollLeft||0,s+=c.scrollTop||0,c=c.parentNode;(r=i.style).top=t.offsetTop-s+"px",r.left=t.offsetLeft-o+"px",r[Pn]=a[Pn],r[Ln]=a[Ln],r.position="fixed"===a.position?"fixed":"absolute",t.parentNode.appendChild(i)}return i},Bn=function(t,e,i,n,r,o,s){return t.a=e,t.b=i,t.c=n,t.d=r,t.e=o,t.f=s,t},qn=function(){function t(t,e,i,n,r,o){void 0===t&&(t=1),void 0===e&&(e=0),void 0===i&&(i=0),void 0===n&&(n=1),void 0===r&&(r=0),void 0===o&&(o=0),Bn(this,t,e,i,n,r,o)}var e=t.prototype;return e.inverse=function(){var t=this.a,e=this.b,i=this.c,n=this.d,r=this.e,o=this.f,s=t*n-e*i||1e-10;return Bn(this,n/s,-e/s,-i/s,t/s,(i*o-n*r)/s,-(t*o-e*r)/s)},e.multiply=function(t){var e=this.a,i=this.b,n=this.c,r=this.d,o=this.e,s=this.f,a=t.a,l=t.c,h=t.b,u=t.d,c=t.e,d=t.f;return Bn(this,a*e+h*n,a*i+h*r,l*e+u*n,l*i+u*r,o+c*e+d*n,s+c*i+d*r)},e.clone=function(){return new t(this.a,this.b,this.c,this.d,this.e,this.f)},e.equals=function(t){var e=this.a,i=this.b,n=this.c,r=this.d,o=this.e,s=this.f;return e===t.a&&i===t.b&&n===t.c&&r===t.d&&o===t.e&&s===t.f},e.apply=function(t,e){void 0===e&&(e={});var i=t.x,n=t.y,r=this.a,o=this.b,s=this.c,a=this.d,l=this.e,h=this.f;return e.x=i*r+n*s+l||0,e.y=i*o+n*a+h||0,e},t}();function Hn(t,e,i,n){if(!t||!t.parentNode||(bn||Rn(t)).documentElement===t)return new qn;var r=function(t){for(var e,i;t&&t!==Mn;)(i=t._gsap)&&i.uncache&&i.get(t,"x"),i&&!i.scaleX&&!i.scaleY&&i.renderTransform&&(i.scaleX=i.scaleY=1e-4,i.renderTransform(1,i),e?e.push(i):e=[i]),t=t.parentNode;return e}(t),o=Nn(t)?Fn:In,s=zn(t,i),a=o[0].getBoundingClientRect(),l=o[1].getBoundingClientRect(),h=o[2].getBoundingClientRect(),u=s.parentNode,c=!n&&Xn(t),d=new qn((l.left-a.left)/100,(l.top-a.top)/100,(h.left-a.left)/100,(h.top-a.top)/100,a.left+(c?0:Tn.pageXOffset||bn.scrollLeft||Sn.scrollLeft||Mn.scrollLeft||0),a.top+(c?0:Tn.pageYOffset||bn.scrollTop||Sn.scrollTop||Mn.scrollTop||0));if(u.removeChild(s),r)for(a=r.length;a--;)(l=r[a]).scaleX=l.scaleY=0,l.renderTransform(1,l);return e?d.inverse():d}var Wn,Un,Vn,Zn,jn,Gn,Kn,Qn,$n,Jn,tr,er,ir,nr,rr,or,sr,ar,lr,hr,ur,cr=function(){return"undefined"!=typeof window},dr=function(){return Wn||cr()&&(Wn=window.gsap)&&Wn.registerPlugin&&Wn},fr=function(t){return"function"==typeof t},pr=function(t){return"object"==typeof t},gr=function(t){return void 0===t},mr=function(){return!1},_r="transform",vr="transformOrigin",yr=function(t){return Math.round(1e4*t)/1e4},xr=Array.isArray,wr=function(t,e){var i=Vn.createElementNS?Vn.createElementNS((e||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),t):Vn.createElement(t);return i.style?i:Vn.createElement(t)},br=180/Math.PI,Tr=1e20,Sr=new qn,Mr=Date.now||function(){return(new Date).getTime()},kr=[],Er={},Dr=0,Cr=/^(?:a|input|textarea|button|select)$/i,Or=0,Ar={},Pr={},Lr=function(t,e){var i,n={};for(i in t)n[i]=e?t[i]*e:t[i];return n},Rr=function t(e,i){for(var n,r=e.length;r--;)i?e[r].style.touchAction=i:e[r].style.removeProperty("touch-action"),(n=e[r].children)&&n.length&&t(n,i)},Fr=function(){return kr.forEach((function(t){return t()}))},Ir=function(){return!kr.length&&Wn.ticker.remove(Fr)},Nr=function(t){for(var e=kr.length;e--;)kr[e]===t&&kr.splice(e,1);Wn.to(Ir,{overwrite:!0,delay:15,duration:0,onComplete:Ir,data:"_draggable"})}
1,Xr=function(t,e,i,n){if(t.addEventListener){var r=ir[e];n=n||(tr?{passive:!1}:null),t.addEventListener(r||e,i,n),r&&e!==r&&t.addEventListener(e,i,n)}},Yr=function(t,e,i){if(t.removeEventListener){var n=ir[e];t.removeEventListener(n||e,i),n&&e!==n&&t.removeEventListener(e,i)}},zr=function(t){t.preventDefault&&t.preventDefault(),t.preventManipulation&&t.preventManipulation()},Br=function t(e){rr=e.touches&&nr<e.touches.length,Yr(e.target,"touchend",t)},qr=function(t){rr=t.touches&&nr<t.touches.length,Xr(t.target,"touchend",Br)},Hr=function(t){return Un.pageYOffset||t.scrollTop||t.documentElement.scrollTop||t.body.scrollTop||0},Wr=function(t){return Un.pageXOffset||t.scrollLeft||t.documentElement.scrollLeft||t.body.scrollLeft||0},Ur=function t(e,i){Xr(e,"scroll",i),Zr(e.parentNode)||t(e.parentNode,i)},Vr=function t(e,i){Yr(e,"scroll",i),Zr(e.parentNode)||t(e.parentNode,i)},Zr=function(t){return!(t&&t!==Zn&&9!==t.nodeType&&t!==Vn.body&&t!==Un&&t.nodeType&&t.parentNode)},jr=function(t,e){var i="x"===e?"Width":"Height",n="scroll"+i,r="client"+i;return Math.max(0,Zr(t)?Math.max(Zn[n],jn[n])-(Un["inner"+i]||Zn[r]||jn[r]):t[n]-t[r])},Gr=function t(e,i){var n=jr(e,"x"),r=jr(e,"y");Zr(e)?e=Pr:t(e.parentNode,i),e._gsMaxScrollX=n,e._gsMaxScrollY=r,i||(e._gsScrollX=e.scrollLeft||0,e._gsScrollY=e.scrollTop||0)},Kr=function(t,e,i){var n=t.style;n&&(gr(n[e])&&(e=$n(e,t)||e),null==i?n.removeProperty&&n.removeProperty(e.replace(/([A-Z])/g,"-$1").toLowerCase()):n[e]=i)},Qr=function(t){return Un.getComputedStyle(t instanceof Element?t:t.host||(t.parentNode||{}).host||t)},$r={},Jr=function(t){if(t===Un)return $r.left=$r.top=0,$r.width=$r.right=Zn.clientWidth||t.innerWidth||jn.clientWidth||0,$r.height=$r.bottom=(t.innerHeight||0)-20<Zn.clientHeight?Zn.clientHeight:t.innerHeight||jn.clientHeight||0,$r;var e=t.ownerDocument||Vn,i=gr(t.pageX)?t.nodeType||gr(t.left)||gr(t.top)?Jn(t)[0].getBoundingClientRect():t:{left:t.pageX-Wr(e),top:t.pageY-Hr(e),right:t.pageX-Wr(e)+1,bottom:t.pageY-Hr(e)+1};return gr(i.right)&&!gr(i.width)?(i.right=i.left+i.width,i.bottom=i.top+i.height):gr(i.width)&&(i={width:i.right-i.left,height:i.bottom-i.top,right:i.right,left:i.left,bottom:i.bottom,top:i.top}),i},to=function(t,e,i){var n,r=t.vars,o=r[i],s=t._listeners[e];return fr(o)&&(n=o.apply(r.callbackScope||t,r[i+"Params"]||[t.pointerEvent])),s&&!1===t.dispatchEvent(e)&&(n=!1),n},eo=function(t,e){var i,n,r,o=Jn(t)[0];return o.nodeType||o===Un?no(o,e):gr(t.left)?{left:n=t.min||t.minX||t.minRotation||0,top:i=t.min||t.minY||0,width:(t.max||t.maxX||t.maxRotation||0)-n,height:(t.max||t.maxY||0)-i}:(r={x:0,y:0},{left:t.left-r.x,top:t.top-r.y,width:t.width,height:t.height})},io={},no=function(t,e){e=Jn(e)[0];var i,n,r,o,s,a,l,h,u,c,d,f,p,g,m=t.getBBox&&t.ownerSVGElement,_=t.ownerDocument||Vn;if(t===Un)r=Hr(_),n=(i=Wr(_))+(_.documentElement.clientWidth||t.innerWidth||_.body.clientWidth||0),o=r+((t.innerHeight||0)-20<_.documentElement.clientHeight?_.documentElement.clientHeight:t.innerHeight||_.body.clientHeight||0);else{if(e===Un||gr(e))return t.getBoundingClientRect();i=r=0,m?(d=(c=t.getBBox()).width,f=c.height):(t.viewBox&&(c=t.viewBox.baseVal)&&(i=c.x||0,r=c.y||0,d=c.width,f=c.height),d||(c="border-box"===(p=Qr(t)).boxSizing,d=(parseFloat(p.width)||t.clientWidth||0)+(c?0:parseFloat(p.borderLeftWidth)+parseFloat(p.borderRightWidth)),f=(parseFloat(p.height)||t.clientHeight||0)+(c?0:parseFloat(p.borderTopWidth)+parseFloat(p.borderBottomWidth)))),n=d,o=f}return t===e?{left:i,top:r,width:n-i,height:o-r}:(a=(s=Hn(e,!0).multiply(Hn(t))).apply({x:i,y:r}),l=s.apply({x:n,y:r}),h=s.apply({x:n,y:o}),u=s.apply({x:i,y:o}),i=Math.min(a.x,l.x,h.x,u.x),r=Math.min(a.y,l.y,h.y,u.y),{left:i+((g=e.parentNode||{}).scrollLeft||0),top:r+(g.scrollTop||0),width:Math.max(a.x,l.x,h.x,u.x)-i,height:Math.max(a.y,l.y,h.y,u.y)-r})},ro=function(t,e,i,n,r,o){var s,a,l,h={};if(e)if(1!==r&&e instanceof Array){if(h.end=s=[],l=e.length,pr(e[0]))for(a=0;a<l;a++)s[a]=Lr(e[a],r);else for(a=0;a<l;a++)s[a]=e[a]*r;i+=1.1,n-=1.1}else fr(e)?h.end=function(i){var n,o,s=e.call(t,i);if(1!==r)if(pr(s)){for(o in n={},s)n[o]=s[o]*r;s=n}
1else s*=r;return s}:h.end=e;return(i||0===i)&&(h.max=i),(n||0===n)&&(h.min=n),o&&(h.velocity=0),h},oo=function t(e){var i;return!(!e||!e.getAttribute||e===jn)&&(!("true"!==(i=e.getAttribute("data-clickable"))&&("false"===i||!e.onclick&&!Cr.test(e.nodeName+"")&&"true"!==e.getAttribute("contentEditable")))||t(e.parentNode))},so=function(t,e){for(var i,n=t.length;n--;)(i=t[n]).ondragstart=i.onselectstart=e?null:mr,Wn.set(i,{lazy:!0,userSelect:e?"text":"none"})},ao=function t(e){return"fixed"===Qr(e).position||((e=e.parentNode)&&1===e.nodeType?t(e):void 0)},lo=function(t,e){t=Wn.utils.toArray(t)[0],e=e||{};var i,n,r,o,s,a,l=document.createElement("div"),h=l.style,u=t.firstChild,c=0,d=0,f=t.scrollTop,p=t.scrollLeft,g=t.scrollWidth,m=t.scrollHeight,_=0,v=0,y=0;hr&&!1!==e.force3D?(s="translate3d(",a="px,0px)"):_r&&(s="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(i,n){if(!arguments.length)return-(t.scrollLeft+d);var r=t.scrollLeft-p,o=d;if((r>2||r<-2)&&!n)return p=t.scrollLeft,Wn.killTweensOf(this,{left:1,scrollLeft:1}),this.left(-p),void(e.onKill&&e.onKill());(i=-i)<0?(d=i-.5|0,i=0):i>v?(d=i-v|0,i=v):d=0,(d||o)&&(this._skip||(h[_r]=s+-d+"px,"+-c+a),d+_>=0&&(h.paddingRight=d+_+"px")),t.scrollLeft=0|i,p=t.scrollLeft},this.top=function(i,n){if(!arguments.length)return-(t.scrollTop+c);var r=t.scrollTop-f,o=c;if((r>2||r<-2)&&!n)return f=t.scrollTop,Wn.killTweensOf(this,{top:1,scrollTop:1}),this.top(-f),void(e.onKill&&e.onKill());(i=-i)<0?(c=i-.5|0,i=0):i>y?(c=i-y|0,i=y):c=0,(c||o)&&(this._skip||(h[_r]=s+-d+"px,"+-c+a)),t.scrollTop=0|i,f=t.scrollTop},this.maxScrollTop=function(){return y},this.maxScrollLeft=function(){return v},this.disable=function(){for(u=l.firstChild;u;)o=u.nextSibling,t.appendChild(u),u=o;t===l.parentNode&&t.removeChild(l)},this.enable=function(){if((u=t.firstChild)!==l){for(;u;)o=u.nextSibling,l.appendChild(u),u=o;t.appendChild(l),this.calibrate()}},this.calibrate=function(e){var o,s,a,u=t.clientWidth===i;f=t.scrollTop,p=t.scrollLeft,u&&t.clientHeight===n&&l.offsetHeight===r&&g===t.scrollWidth&&m===t.scrollHeight&&!e||((c||d)&&(s=this.left(),a=this.top(),this.left(-t.scrollLeft),this.top(-t.scrollTop)),o=Qr(t),u&&!e||(h.display="block",h.width="auto",h.paddingRight="0px",(_=Math.max(0,t.scrollWidth-t.clientWidth))&&(_+=parseFloat(o.paddingLeft)+(ur?parseFloat(o.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",ur&&(h.paddingBottom=o.paddingBottom),i=t.clientWidth,n=t.clientHeight,g=t.scrollWidth,m=t.scrollHeight,v=t.scrollWidth-i,y=t.scrollHeight-n,r=l.offsetHeight,h.display="block",(s||a)&&(this.left(s),this.top(a)))},this.content=l,this.element=t,this._skip=!1,this.enable()},ho=function(t){if(cr()&&document.body){var e=window&&window.navigator;Un=window,Vn=document,Zn=Vn.documentElement,jn=Vn.body,Gn=wr("div"),lr=!!window.PointerEvent,(Kn=wr("div")).style.cssText="visibility:hidden;height:1px;top:-1px;pointer-events:none;position:relative;clear:both;cursor:grab",ar="grab"===Kn.style.cursor?"grab":"move",or=e&&-1!==e.userAgent.toLowerCase().indexOf("android"),er="ontouchstart"in Zn&&"orientation"in Un||e&&(e.MaxTouchPoints>0||e.msMaxTouchPoints>0),n=wr("div"),r=wr("div"),o=r.style,s=jn,o.display="inline-block",o.position="relative",n.style.cssText=r.innerHTML="width:90px;height:40px;padding:10px;overflow:auto;visibility:hidden",n.appendChild(r),s.appendChild(n),i=r.offsetHeight+18>n.scrollHeight,s.removeChild(n),ur=i,ir=function(t){for(var e=t.split(","),i=(("onpointerdown"in Gn?"pointerdown,pointermove,pointerup,pointercancel":"onmspointerdown"in Gn?"MSPointerDown,MSPointerMove,MSPointerUp,MSPointerCancel":t).split(",")),n={},r=4;--r>-1;)n[e[r]]=i[r],n[i[r]]=e[r];try{Zn.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){tr=1}}))}catch(t){}return n}("touchstart,touchmove,touchend,touchcancel"),Xr(Vn,"touchcancel",mr),Xr(Un,"touchmove",mr),jn&&jn.addEventListener("touchstart",mr),Xr(Vn,"contextmenu",(function(){for(var t in Er)Er[t].isPressed&&Er[t].endDrag(
1)})),Wn=Qn=dr()}var i,n,r,o,s;Wn?(sr=Wn.plugins.inertia,$n=Wn.utils.checkPrefix,_r=$n(_r),vr=$n(vr),Jn=Wn.utils.toArray,hr=!!$n("perspective")):t&&console.warn("Please gsap.registerPlugin(Draggable)")},uo=function(t){var e,i;function n(e,i){var r;r=t.call(this)||this,Qn||ho(1),e=Jn(e)[0],sr||(sr=Wn.plugins.inertia),r.vars=i=Lr(i||{}),r.target=e,r.x=r.y=r.rotation=0,r.dragResistance=parseFloat(i.dragResistance)||0,r.edgeResistance=isNaN(i.edgeResistance)?1:parseFloat(i.edgeResistance)||0,r.lockAxis=i.lockAxis,r.autoScroll=i.autoScroll||0,r.lockedAxis=null,r.allowEventDefault=!!i.allowEventDefault,Wn.getProperty(e,"x");var o,s,a,l,h,u,c,d,f,p,g,m,_,v,y,x,w,b,T,S,M,k,E,D,C,O,A,P,L,R,F,I,N=(i.type||"x,y").toLowerCase(),X=~N.indexOf("x")||~N.indexOf("y"),Y=-1!==N.indexOf("rotation"),z=Y?"rotation":X?"x":"left",B=X?"y":"top",q=!(!~N.indexOf("x")&&!~N.indexOf("left")&&"scroll"!==N),H=!(!~N.indexOf("y")&&!~N.indexOf("top")&&"scroll"!==N),W=i.minimumMovement||2,U=function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(r),V=Jn(i.trigger||i.handle||e),Z={},j=0,G=!1,K=i.autoScrollMarginTop||40,Q=i.autoScrollMarginRight||40,$=i.autoScrollMarginBottom||40,J=i.autoScrollMarginLeft||40,tt=i.clickableTest||oo,et=0,it=e._gsap||Wn.core.getCache(e),nt=ao(e),rt=function(t,i){return parseFloat(it.get(e,t,i))},ot=e.ownerDocument||Vn,st=function(t){return zr(t),t.stopImmediatePropagation&&t.stopImmediatePropagation(),!1},at=function t(i){if(U.autoScroll&&U.isDragging&&(G||w)){var n,r,o,a,l,h,u,c,f=e,p=15*U.autoScroll;for(G=!1,Pr.scrollTop=null!=Un.pageYOffset?Un.pageYOffset:null!=ot.documentElement.scrollTop?ot.documentElement.scrollTop:ot.body.scrollTop,Pr.scrollLeft=null!=Un.pageXOffset?Un.pageXOffset:null!=ot.documentElement.scrollLeft?ot.documentElement.scrollLeft:ot.body.scrollLeft,a=U.pointerX-Pr.scrollLeft,l=U.pointerY-Pr.scrollTop;f&&!r;)n=(r=Zr(f.parentNode))?Pr:f.parentNode,o=r?{bottom:Math.max(Zn.clientHeight,Un.innerHeight||0),right:Math.max(Zn.clientWidth,Un.innerWidth||0),left:0,top:0}:n.getBoundingClientRect(),h=u=0,H&&((c=n._gsMaxScrollY-n.scrollTop)<0?u=c:l>o.bottom-$&&c?(G=!0,u=Math.min(c,p*(1-Math.max(0,o.bottom-l)/$)|0)):l<o.top+K&&n.scrollTop&&(G=!0,u=-Math.min(n.scrollTop,p*(1-Math.max(0,l-o.top)/K)|0)),u&&(n.scrollTop+=u)),q&&((c=n._gsMaxScrollX-n.scrollLeft)<0?h=c:a>o.right-Q&&c?(G=!0,h=Math.min(c,p*(1-Math.max(0,o.right-a)/Q)|0)):a<o.left+J&&n.scrollLeft&&(G=!0,h=-Math.min(n.scrollLeft,p*(1-Math.max(0,a-o.left)/J)|0)),h&&(n.scrollLeft+=h)),r&&(h||u)&&(Un.scrollTo(n.scrollLeft,n.scrollTop),xt(U.pointerX+h,U.pointerY+u)),f=n}if(w){var g=U.x,m=U.y;Y?(U.deltaX=g-parseFloat(it.rotation),U.rotation=g,it.rotation=g+"deg",it.renderTransform(1,it)):s?(H&&(U.deltaY=m-s.top(),s.top(m)),q&&(U.deltaX=g-s.left(),s.left(g))):X?(H&&(U.deltaY=m-parseFloat(it.y),it.y=m+"px"),q&&(U.deltaX=g-parseFloat(it.x),it.x=g+"px"),it.renderTransform(1,it)):(H&&(U.deltaY=m-parseFloat(e.style.top||0),e.style.top=m+"px"),q&&(U.deltaX=g-parseFloat(e.style.left||0),e.style.left=g+"px")),!d||i||P||(P=!0,!1===to(U,"drag","onDrag")&&(q&&(U.x-=U.deltaX),H&&(U.y-=U.deltaY),t(!0)),P=!1)}w=!1},lt=function(t,i){var n,r,o=U.x,a=U.y;e._gsap||(it=Wn.core.getCache(e)),it.uncache&&Wn.getProperty(e,"x"),X?(U.x=parseFloat(it.x),U.y=parseFloat(it.y)):Y?U.x=U.rotation=parseFloat(it.rotation):s?(U.y=s.top(),U.x=s.left()):(U.y=parseFloat(e.style.top||(r=Qr(e))&&r.top)||0,U.x=parseFloat(e.style.left||(r||{}).left)||0),(T||S||M)&&!i&&(U.isDragging||U.isThrowing)&&(M&&(Ar.x=U.x,Ar.y=U.y,(n=M(Ar)).x!==U.x&&(U.x=n.x,w=!0),n.y!==U.y&&(U.y=n.y,w=!0)),T&&(n=T(U.x))!==U.x&&(U.x=n,Y&&(U.rotation=n),w=!0),S&&((n=S(U.y))!==U.y&&(U.y=n),w=!0)),w&&at(!0),t||(U.deltaX=U.x-o,U.deltaY=U.y-a,to(U,"throwupdate","onThrowUpdate"))},ht=function(t,e,i,n){return null==e&&(e=-Tr),null==i&&(i=Tr),fr(t)?function(r){var o=U.isPressed?1-U.edgeResistance:1;return t.call(U,r>i?i+(r-i)*o:r<e?e+(r-e)*o:r)*n}:xr(t)?function(n){for(var r,o,s=t.length,a=0,l=Tr;--s>-1;)(o=(r=t[s])-n)<0&&(o=-o),o<l&&r>=e&&r<=i&&(a=s,l=o);return t[a]}:isNaN(t)?function(t){return t}:function(){return t*n}},ut=function(){var t,n,r,o;c=!1,s?(s.calibrate(),U.minX=g=-s.maxScrollLeft(),U.minY=_=-s.maxScrollTop(),U.maxX=p=U.maxY=m=0,c=!0):i.bounds&&(t=eo(i.bounds,e.parentNode),Y?(U.minX=g=t.left,U.maxX=p=t.left+t.width,U.minY=_=U.maxY=m=0):gr(i.bounds.maxX)&&gr(i.bounds.maxY)?(n=eo(e,e.parentNode),U.minX=g=Math.round(rt(z,"px")+t.left-n.left-.5),U.minY=_=Math.round(rt(B,"px")+t.top-n.top-.5),U.maxX=p=Math.round(g+(t.width-n.width)),U.maxY=m=Math.round(_+(t.height-n.height))):(t=i.bounds,U.minX=g=t.minX,U.minY=_=t.minY,U.maxX=p=t.maxX,U.maxY=m=t.maxY),g>p&&(U.minX=p,U.maxX=p=g,g=U.minX),_>m&&(U.minY=m,U.maxY=m=_,_=U.minY),Y&&(U.minRotation=g,U.maxRotation=p),c=!0),i.liveSnap&&(r=!0===i.liveSnap?i.snap||{}:i.liveSnap,o=xr(r)||fr(r),Y?(T=ht(o?r:r.rotation,g,p,1),S=null):r.points?M=function(t,e,
1i,n,r,o,s){return o=o&&o<Tr?o*o:Tr,fr(t)?function(a){var l,h,u,c=U.isPressed?1-U.edgeResistance:1,d=a.x,f=a.y;return a.x=d=d>i?i+(d-i)*c:d<e?e+(d-e)*c:d,a.y=f=f>r?r+(f-r)*c:f<n?n+(f-n)*c:f,(l=t.call(U,a))!==a&&(a.x=l.x,a.y=l.y),1!==s&&(a.x*=s,a.y*=s),o<Tr&&(h=a.x-d)*h+(u=a.y-f)*u>o&&(a.x=d,a.y=f),a}:xr(t)?function(e){for(var i,n,r,s,a=t.length,l=0,h=Tr;--a>-1;)(s=(i=(r=t[a]).x-e.x)*i+(n=r.y-e.y)*n)<h&&(l=a,h=s);return h<=o?t[l]:e}:function(t){return t}}(o?r:r.points,g,p,_,m,r.radius,s?-1:1):(q&&(T=ht(o?r:r.x||r.left||r.scrollLeft,g,p,s?-1:1)),H&&(S=ht(o?r:r.y||r.top||r.scrollTop,_,m,s?-1:1))))},ct=function(){U.isThrowing=!1,to(U,"throwcomplete","onThrowComplete")},dt=function(){U.isThrowing=!1},ft=function(t,n){var r,o,a,l;t&&sr?(!0===t&&(r=i.snap||i.liveSnap||{},o=xr(r)||fr(r),t={resistance:(i.throwResistance||i.resistance||1e3)/(Y?10:1)},Y?t.rotation=ro(U,o?r:r.rotation,p,g,1,n):(q&&(t[z]=ro(U,o?r:r.points||r.x||r.left,p,g,s?-1:1,n||"x"===U.lockedAxis)),H&&(t[B]=ro(U,o?r:r.points||r.y||r.top,m,_,s?-1:1,n||"y"===U.lockedAxis)),(r.points||xr(r)&&pr(r[0]))&&(t.linkedProps=z+","+B,t.radius=r.radius))),U.isThrowing=!0,l=isNaN(i.overshootTolerance)?1===i.edgeResistance?0:1-U.edgeResistance+.2:i.overshootTolerance,t.duration||(t.duration={max:Math.max(i.minDuration||0,"maxDuration"in i?i.maxDuration:2),min:isNaN(i.minDuration)?0===l||pr(t)&&t.resistance>1e3?0:.5:i.minDuration,overshoot:l}),U.tween=a=Wn.to(s||e,{inertia:t,data:"_draggable",onComplete:ct,onInterrupt:dt,onUpdate:i.fastMode?to:lt,onUpdateParams:i.fastMode?[U,"onthrowupdate","onThrowUpdate"]:r&&r.radius?[!1,!0]:[]}),i.fastMode||(s&&(s._skip=!0),a.render(1e9,!0,!0),lt(!0,!0),U.endX=U.x,U.endY=U.y,Y&&(U.endRotation=U.x),a.play(0),lt(!0,!0),s&&(s._skip=!1))):c&&U.applyBounds()},pt=function(t){var i,n=D;D=Hn(e.parentNode,!0),t&&U.isPressed&&!D.equals(n||new qn)&&(i=n.inverse().apply({x:a,y:l}),D.apply(i,i),a=i.x,l=i.y),D.equals(Sr)&&(D=null)},gt=function(){var t,i,n,r=1-U.edgeResistance,o=nt?Wr(ot):0,d=nt?Hr(ot):0;pt(!1),io.x=U.pointerX-o,io.y=U.pointerY-d,D&&D.apply(io,io),a=io.x,l=io.y,w&&(xt(U.pointerX,U.pointerY),at(!0)),I=Hn(e),s?(ut(),u=s.top(),h=s.left()):(mt()?(lt(!0,!0),ut()):U.applyBounds(),Y?(t=e.ownerSVGElement?[it.xOrigin-e.getBBox().x,it.yOrigin-e.getBBox().y]:(Qr(e)[vr]||"0 0").split(" "),x=U.rotationOrigin=Hn(e).apply({x:parseFloat(t[0])||0,y:parseFloat(t[1])||0}),lt(!0,!0),i=U.pointerX-x.x-o,n=x.y-U.pointerY+d,h=U.x,u=U.y=Math.atan2(n,i)*br):(u=rt(B,"px"),h=rt(z,"px"))),c&&r&&(h>p?h=p+(h-p)/r:h<g&&(h=g-(g-h)/r),Y||(u>m?u=m+(u-m)/r:u<_&&(u=_-(_-u)/r))),U.startX=h=yr(h),U.startY=u=yr(u)},mt=function(){return U.tween&&U.tween.isActive()},_t=function(){!Kn.parentNode||mt()||U.isDragging||Kn.parentNode.removeChild(Kn)},vt=function(t,r){var h;if(!o||U.isPressed||!t||!("mousedown"!==t.type&&"pointerdown"!==t.type||r)&&Mr()-et<30&&ir[U.pointerEvent.type])F&&t&&o&&zr(t);else{if(C=mt(),U.pointerEvent=t,ir[t.type]?(E=~t.type.indexOf("touch")?t.currentTarget||t.target:ot,Xr(E,"touchend",wt),Xr(E,"touchmove",yt),Xr(E,"touchcancel",wt),Xr(ot,"touchstart",qr)):(E=null,Xr(ot,"mousemove",yt)),A=null,lr&&E||(Xr(ot,"mouseup",wt),t&&t.target&&Xr(t.target,"mouseup",wt)),k=tt.call(U,t.target)&&!1===i.dragClickables&&!r)return Xr(t.target,"change",wt),to(U,"pressInit","onPressInit"),to(U,"press","onPress"),so(V,!0),void(F=!1);var u;if(O=!(!E||q===H||!1===U.vars.allowNativeTouchScrolling||U.vars.allowContextMenu&&t&&(t.ctrlKey||t.which>2))&&(q?"y":"x"),(F=!O&&!U.allowEventDefault)&&(zr(t),Xr(Un,"touchforcechange",zr)),t.changedTouches?(t=v=t.changedTouches[0],y=t.identifier):t.pointerId?y=t.pointerId:v=y=null,nr++,u=at,kr.push(u),1===kr.length&&Wn.ticker.add(Fr),l=U.pointerY=t.pageY,a=U.pointerX=t.pageX,to(U,"pressInit","onPressInit"),(O||U.autoScroll)&&Gr(e.parentNode),!e.parentNode||!U.autoScroll||s||Y||!e.parentNode._gsMaxScrollX||Kn.parentNode||e.getBBox||(Kn.style.width=e.parentNode.scrollWidth+"px",e.parentNode.appendChild(Kn)),gt(),U.tween&&U.tween.kill(),U.isThrowing=!1,Wn.killTweensOf(s||e,Z,!0),s&&Wn.killTweensOf(e,{scrollTo:1},!0),U.tween=U.lockedAxis=null,(i.zIndexBoost||!Y&&!s&&!1!==i.zIndexBoost)&&(e.style.zIndex=n.zIndex++),U.isPressed=!0,d=!(!i.onDrag&&!U._listeners.drag),f=!(!i.onMove&&!U._listeners.move),!1!==i.cursor||i.activeCursor)for(h=V.length;--h>-1;)Wn.set(V[h],{cursor:i.activeCursor||i.cursor||("grab"===ar?"grabbing":ar)});to(U,"press","onPress")}},yt=function(t){var i,n,r,s,h,u,c=t;if(o&&!rr&&U.isPressed&&t){if(U.pointerEvent=t,i=t.changedTouches){if((t=i[0])!==v&&t.identifier!==y){for(s=i.length;--s>-1&&(t=i[s]).identifier!==y&&t.target!==e;);if(s<0)return}}else if(t.pointerId&&y&&t.pointerId!==y)return;E&&O&&!A&&(io.x=t.pageX-(nt?Wr(ot):0),io.y=t.pageY-(nt?Hr(ot):0),D&&D.apply(io,io
1),n=io.x,r=io.y,((h=Math.abs(n-a))!==(u=Math.abs(r-l))&&(h>W||u>W)||or&&O===A)&&(A=h>u&&q?"x":"y",O&&A!==O&&Xr(Un,"touchforcechange",zr),!1!==U.vars.lockAxisOnTouchScroll&&q&&H&&(U.lockedAxis="x"===A?"y":"x",fr(U.vars.onLockAxis)&&U.vars.onLockAxis.call(U,c)),or&&O===A))?wt(c):(U.allowEventDefault||O&&(!A||O===A)||!1===c.cancelable?F&&(F=!1):(zr(c),F=!0),U.autoScroll&&(G=!0),xt(t.pageX,t.pageY,f))}else F&&t&&o&&zr(t)},xt=function(t,e,i){var n,r,o,s,d,f,v=1-U.dragResistance,y=1-U.edgeResistance,b=U.pointerX,k=U.pointerY,E=u,C=U.x,O=U.y,A=U.endX,P=U.endY,L=U.endRotation,R=w;U.pointerX=t,U.pointerY=e,nt&&(t-=Wr(ot),e-=Hr(ot)),Y?(s=Math.atan2(x.y-e,t-x.x)*br,(d=U.y-s)>180?(u-=360,U.y=s):d<-180&&(u+=360,U.y=s),U.x!==h||Math.abs(u-s)>W?(U.y=s,o=h+(u-s)*v):o=h):(D&&(f=t*D.a+e*D.c+D.e,e=t*D.b+e*D.d+D.f,t=f),(r=e-l)<W&&r>-W&&(r=0),(n=t-a)<W&&n>-W&&(n=0),(U.lockAxis||U.lockedAxis)&&(n||r)&&((f=U.lockedAxis)||(U.lockedAxis=f=q&&Math.abs(n)>Math.abs(r)?"y":H?"x":null,f&&fr(U.vars.onLockAxis)&&U.vars.onLockAxis.call(U,U.pointerEvent)),"y"===f?r=0:"x"===f&&(n=0)),o=yr(h+n*v),s=yr(u+r*v)),(T||S||M)&&(U.x!==o||U.y!==s&&!Y)&&(M&&(Ar.x=o,Ar.y=s,f=M(Ar),o=yr(f.x),s=yr(f.y)),T&&(o=yr(T(o))),S&&(s=yr(S(s)))),c&&(o>p?o=p+Math.round((o-p)*y):o<g&&(o=g+Math.round((o-g)*y)),Y||(s>m?s=Math.round(m+(s-m)*y):s<_&&(s=Math.round(_+(s-_)*y)))),(U.x!==o||U.y!==s&&!Y)&&(Y?(U.endRotation=U.x=U.endX=o,w=!0):(H&&(U.y=U.endY=s,w=!0),q&&(U.x=U.endX=o,w=!0)),i&&!1===to(U,"move","onMove")?(U.pointerX=b,U.pointerY=k,u=E,U.x=C,U.y=O,U.endX=A,U.endY=P,U.endRotation=L,w=R):!U.isDragging&&U.isPressed&&(U.isDragging=!0,to(U,"dragstart","onDragStart")))},wt=function t(n,r){if(o&&U.isPressed&&(!n||null==y||r||!(n.pointerId&&n.pointerId!==y&&n.target!==e||n.changedTouches&&!function(t,e){for(var i=t.length;i--;)if(t[i].identifier===e)return!0}(n.changedTouches,y)))){U.isPressed=!1;var s,a,l,h,u,c=n,d=U.isDragging,f=U.vars.allowContextMenu&&n&&(n.ctrlKey||n.which>2),p=Wn.delayedCall(.001,_t);if(E?(Yr(E,"touchend",t),Yr(E,"touchmove",yt),Yr(E,"touchcancel",t),Yr(ot,"touchstart",qr)):Yr(ot,"mousemove",yt),Yr(Un,"touchforcechange",zr),lr&&E||(Yr(ot,"mouseup",t),n&&n.target&&Yr(n.target,"mouseup",t)),w=!1,d&&(j=Or=Mr(),U.isDragging=!1),k&&!f)return n&&(Yr(n.target,"change",t),U.pointerEvent=c),so(V,!1),to(U,"release","onRelease"),to(U,"click","onClick"),void(k=!1);for(Nr(at),a=V.length;--a>-1;)Kr(V[a],"cursor",i.cursor||(!1!==i.cursor?ar:null));
1if(nr--,n){if((s=n.changedTouches)&&(n=s[0])!==v&&n.identifier!==y){for(a=s.length;--a>-1&&(n=s[a]).identifier!==y&&n.target!==e;);if(a<0)return}U.pointerEvent=c,U.pointerX=n.pageX,U.pointerY=n.pageY}return f&&c?(zr(c),F=!0,to(U,"release","onRelease")):c&&!d?(F=!1,C&&(i.snap||i.bounds)&&ft(i.inertia||i.throwProps),to(U,"release","onRelease"),or&&"touchmove"===c.type||-1!==c.type.indexOf("cancel")||(to(U,"click","onClick"),Mr()-et<300&&to(U,"doubleclick","onDoubleClick"),h=c.target||e,et=Mr(),u=function(){et===L||!U.enabled()||U.isPressed||c.defaultPrevented||(h.click?h.click():ot.createEvent&&((l=ot.createEvent("MouseEvents")).initMouseEvent("click",!0,!0,Un,1,U.pointerEvent.screenX,U.pointerEvent.screenY,U.pointerX,U.pointerY,!1,!1,!1,!1,0,null),h.dispatchEvent(l)))},or||c.defaultPrevented||Wn.delayedCall(.05,u))):(ft(i.inertia||i.throwProps),U.allowEventDefault||!c||!1===i.dragClickables&&tt.call(U,c.target)||!d||O&&(!A||O!==A)||!1===c.cancelable?F=!1:(F=!0,zr(c)),to(U,"release","onRelease")),mt()&&p.duration(U.tween.duration()),d&&to(U,"dragend","onDragEnd"),!0}F&&n&&o&&zr(n)},bt=function(t){if(t&&U.isDragging&&!s){var i=t.target||e.parentNode,n=i.scrollLeft-i._gsScrollX,r=i.scrollTop-i._gsScrollY;(n||r)&&(D?(a-=n*D.a+r*D.c,l-=r*D.d+n*D.b):(a-=n,l-=r),i._gsScrollX+=n,i._gsScrollY+=r,xt(U.pointerX,U.pointerY))}},Tt=function(t){var e=Mr(),i=e-et<100,n=e-j<50,r=i&&L===et,o=U.pointerEvent&&U.pointerEvent.defaultPrevented,s=i&&R===et,a=t.isTrusted||null==t.isTrusted&&i&&r;if((r||n&&!1!==U.vars.suppressClickOnDrag)&&t.stopImmediatePropagation&&t.stopImmediatePropagation(),i&&(!U.pointerEvent||!U.pointerEvent.defaultPrevented)&&(!r||a&&!s))return a&&r&&(R=et),void(L=et);(U.isPressed||n||i)&&(a&&t.detail&&i&&!o||zr(t)),i||n||(t&&t.target&&(U.pointerEvent=t),to(U,"click","onClick"))},St=function(t){return D?{x:t.x*D.a+t.y*D.c+D.e,y:t.x*D.b+t.y*D.d+D.f}:{x:t.x,y:t.y}};return(b=n.get(e))&&b.kill(),r.startDrag=function(t,i){var n,r,o,s;vt(t||U.pointerEvent,!0),i&&!U.hitTest(t||U.pointerEvent)&&(n=Jr(t||U.pointerEvent),r=Jr(e),o=St({x:n.left+n.width/2,y:n.top+n.height/2}),s=St({x:r.left+r.width/2,y:r.top+r.height/2}),a-=o.x-s.x,l-=o.y-s.y),U.isDragging||(U.isDragging=!0,to(U,"dragstart","onDragStart"))},r.drag=yt,r.endDrag=function(t){return wt(t||U.pointerEvent,!0)},r.timeSinceDrag=function(){return U.isDragging?0:(Mr()-j)/1e3},r.timeSinceClick=function(){return(Mr()-et)/1e3},r.hitTest=function(t,e){return n.hitTest(U.target,t,e)},r.getDirection=function(t,i){var n,r,o,s,a,l,c="velocity"===t&&sr?t:pr(t)&&!Y?"element":"start";return"element"===c&&(a=Jr(U.target),l=Jr(t)),n="start"===c?U.x-h:"velocity"===c?sr.getVelocity(e,z):a.left+a.width/2-(l.left+l.width/2),Y?n<0?"counter-clockwise":"clockwise":(i=i||2,r="start"===c?U.y-u:"velocity"===c?sr.getVelocity(e,B):a.top+a.height/2-(l.top+l.height/2),s=(o=Math.abs(n/r))<1/i?"":n<0?"left":"right",o<i&&(""!==s&&(s+="-"),s+=r<0?"up":"down"),s)},r.applyBounds=function(t,n){var r,o,s,a,l,h;if(t&&i.bounds!==t)return i.bounds=t,U.update(!0,n);if(lt(!0),ut(),c&&!mt()){if(r=U.x,o=U.y,r>p?r=p:r<g&&(r=g),o>m?o=m:o<_&&(o=_),(U.x!==r||U.y!==o)&&(s=!0,U.x=U.endX=r,Y?U.endRotation=r:U.y=U.endY=o,w=!0,at(!0),U.autoScroll&&!U.isDragging))for(Gr(e.parentNode),a=e,Pr.scrollTop=null!=Un.pageYOffset?Un.pageYOffset:null!=ot.documentElement.scrollTop?ot.documentElement.scrollTop:ot.body.scrollTop,Pr.scrollLeft=null!=Un.pageXOffset?Un.pageXOffset:null!=ot.documentElement.scrollLeft?ot.documentElement.scrollLeft:ot.body.scrollLeft;a&&!h;)l=(h=Zr(a.parentNode))?Pr:a.parentNode,H&&l.scrollTop>l._gsMaxScrollY&&(l.scrollTop=l._gsMaxScrollY),q&&l.scrollLeft>l._gsMaxScrollX&&(l.scrollLeft=l._gsMaxScrollX),a=l;U.isThrowing&&(s||U.endX>p||U.endX<g||U.endY>m||U.endY<_)&&ft(i.inertia||i.throwProps,s)}return U},r.update=function(t,i,n){if(i&&U.isPressed){var r=Hn(e),o=I.apply({x:U.x-h,y:U.y-u}),s=Hn(e.parentNode,!0);s.apply({x:r.e-o.x,y:r.f-o.y},o),U.x-=o.x-s.e,U.y-=o.y-s.f,at(!0),gt()}var a=U.x,l=U.y;return pt(!i),t?U.applyBounds():(w&&n&&at(!0),lt(!0)),i&&(xt(U.pointerX,U.pointerY),w&&at(!0)),U.isPressed&&!i&&(q&&Math.abs(a-U.x)>.01||H&&Math.abs(l-U.y)>.01&&!Y)&>(),U.autoScroll&&(Gr(e.parentNode,U.isDragging),G=U.isDragging,at(!0),Vr(e,bt),Ur(e,bt)),U},r.enable=function(t){var n,r,a,l={lazy:!0};if(!1!==i.cursor&&(l.cursor=i.cursor||ar),Wn.utils.checkPrefix("touchCallout")&&(l.touchCallout="none"),"soft"!==t){for(Rr(V,q===H?"none":i.allowNativeTouchScrolling&&e.scrollHeight===e.clientHeight==(e.scrollWidth===e.clientHeight)||i.allowEventDefault?"manipulation":q?"pan-y":"pan-x"),r=V.length;--r>-1;
1)a=V[r],lr||Xr(a,"mousedown",vt),Xr(a,"touchstart",vt),Xr(a,"click",Tt,!0),Wn.set(a,l),a.getBBox&&a.ownerSVGElement&&Wn.set(a.ownerSVGElement,{touchAction:q===H?"none":i.allowNativeTouchScrolling||i.allowEventDefault?"manipulation":q?"pan-y":"pan-x"}),i.allowContextMenu||Xr(a,"contextmenu",st);so(V,!1)}return Ur(e,bt),o=!0,sr&&"soft"!==t&&sr.track(s||e,X?"x,y":Y?"rotation":"top,left"),e._gsDragID=n="d"+Dr++,Er[n]=U,s&&(s.enable(),s.element._gsDragID=n),(i.bounds||Y)&>(),i.bounds&&U.applyBounds(),U},r.disable=function(t){for(var i,n=U.isDragging,r=V.length;--r>-1;)Kr(V[r],"cursor",null);if("soft"!==t){for(Rr(V,null),r=V.length;--r>-1;)i=V[r],Kr(i,"touchCallout",null),Yr(i,"mousedown",vt),Yr(i,"touchstart",vt),Yr(i,"click",Tt),Yr(i,"contextmenu",st);so(V,!0),E&&(Yr(E,"touchcancel",wt),Yr(E,"touchend",wt),Yr(E,"touchmove",yt)),Yr(ot,"mouseup",wt),Yr(ot,"mousemove",yt)}return Vr(e,bt),o=!1,sr&&"soft"!==t&&sr.untrack(s||e,X?"x,y":Y?"rotation":"top,left"),s&&s.disable(),Nr(at),U.isDragging=U.isPressed=k=!1,n&&to(U,"dragend","onDragEnd"),U},r.enabled=function(t,e){return arguments.length?t?U.enable(e):U.disable(e):o},r.kill=function(){return U.isThrowing=!1,U.tween&&U.tween.kill(),U.disable(),Wn.set(V,{clearProps:"userSelect"}),delete Er[e._gsDragID],U},~N.indexOf("scroll")&&(s=r.scrollProxy=new lo(e,function(t,e){for(var i in e)i in t||(t[i]=e[i]);return t}({onKill:function(){U.isPressed&&wt(null)}},i)),e.style.overflowY=H&&!er?"auto":"hidden",e.style.overflowX=q&&!er?"auto":"hidden",e=s.content),Y?Z.rotation=1:(q&&(Z[z]=1),H&&(Z[B]=1)),it.force3D=!("force3D"in i)||i.force3D,r.enable(),r}return i=t,(e=n).prototype=Object.create(i.prototype),e.prototype.constructor=e,e.__proto__=i,n.register=function(t){Wn=t,ho()},n.create=function(t,e){return Qn||ho(!0),Jn(t).map((function(t){return new n(t,e)}))},n.get=function(t){return Er[(Jn(t)[0]||{})._gsDragID]},n.timeSinceDrag=function(){return(Mr()-Or)/1e3},n.hitTest=function(t,e,i){if(t===e)return!1;var n,r,o,s=Jr(t),a=Jr(e),l=s.top,h=s.left,u=s.right,c=s.bottom,d=s.width,f=s.height,p=a.left>u||a.right<h||a.top>c||a.bottom<l;return p||!i?!p:(o=-1!==(i+"").indexOf("%"),i=parseFloat(i)||0,(n={left:Math.max(h,a.left),top:Math.max(l,a.top)}).width=Math.min(u,a.right)-n.left,n.height=Math.min(c,a.bottom)-n.top,!(n.width<0||n.height<0)&&(o?(i*=.01,(r=n.width*n.height)>=d*f*i||r>=a.width*a.height*i):n.width>i&&n.height>i))},n}(function(){function t(t){this._listeners={},this.target=t||this}var e=t.prototype;return e.addEventListener=function(t,e){var i=this._listeners[t]||(this._listeners[t]=[]);~i.indexOf(e)||i.push(e)},e.removeEventListener=function(t,e){var i=this._listeners[t],n=i&&i.indexOf(e)||-1;n>-1&&i.splice(n,1)},e.dispatchEvent=function(t){var e,i=this;return(this._listeners[t]||[]).forEach((function(n){return!1===n.call(i,{type:t,target:i.target})&&(e=!1)})),e},t}());!function(t,e){for(var i in e)i in t||(t[i]=e[i])}(uo.prototype,{pointerX:0,pointerY:0,startX:0,startY:0,deltaX:0,deltaY:0,isDragging:!1,isPressed:!1}),uo.zIndex=1e3,uo.version="3.8.0",dr()&&Wn.registerPlugin(uo);var co,fo,po,go,mo,_o,vo,yo,xo=function(){return co||"undefined"!=typeof window&&(co=window.gsap)},wo={},bo=function(t){return yo(t).id},To=function(t){return wo[bo("string"==typeof t?po(t)[0]:t)]},So=function(t){var e,i=mo;if(t-vo>=.05)for(vo,vo=t;i;)((e=i.g(i.t,i.p))!==i.v1||t-i.t1>.2)&&(i.v2=i.v1,i.v1=e,i.t2=i.t1,i.t1=t),i=i._next},Mo={deg:360,rad:2*Math.PI},ko=function(){(co=xo())&&(po=co.utils.toArray,go=co.utils.getUnit,yo=co.core.getCache,_o=co.ticker,fo=1)},Eo=function(t,e,i,n){this.t=t,this.p=e,this.g=t._gsap.get,this.rCap=Mo[i||go(this.g(t,e))],this.v1=this.v2=0,this.t1=this.t2=_o.time,n&&(this._next=n,n._prev=this)},Do=function(){function t(t,e){fo||ko(),this.target=po(t)[0],wo[bo(this.target)]=this,this._props={},e&&this.add(e)}t.register=function(t){co=t,ko()};var e=t.prototype;return e.get=function(t,e){var i,n,r,o=this._props[t]||console.warn("Not tracking "+t+" velocity.");return i=parseFloat(e?o.v1:o.g(o.t,o.p))-parseFloat(o.v2),(n=o.rCap)&&(i%=n)!==i%(n/2)&&(i=i<0?i+n:i-n),r=i/((e?o.t1:_o.time)-o.t2),Math.round(1e4*r)/1e4},e.getAll=function(){var t,e={},i=this._props;for(t in i)e[t]=this.get(t);return e},e.isTracking=function(t){return t in this._props},e.add=function(t,e){t in this._props||(mo||(_o.add(So),vo=_o.time),mo=this._props[t]=new Eo(this.target,t,e,mo))},e.remove=function(t){var e,i,n=this._props[t];n&&(e=n._prev,i=n._next,e&&(e._next=i),i?i._prev=e:mo===n&&(_o.remove(So),mo=0),delete this._props[t])},e.kill=function(t){for(var e in this._props)this.remove(e);t||delete wo[bo(this.target)]},t.track=function(e,i,n){fo||ko();for(var r,o,s=[],a=po(e),l=i.split(","),h=(n||"").split(","),u=a.length;u--;){for(r=To(a[u])||new t(a[u]),o=l.length;o--;)r.add(l[o],h[o]||h[0]);s.push(r)}return s},t.untrack=function(t,e){var i=(e||"").split(",");po(t).forEach((function(t){var e=To(t);
1e&&(i.length?i.forEach((function(t){return e.remove(t)})):e.kill(1))}))},t.isTracking=function(t,e){var i=To(t);return i&&i.isTracking(e)},t.getVelocity=function(t,e){var i=To(t);return i&&i.isTracking(e)?i.get(e):console.warn("Not tracking velocity of "+e)},t}();Do.getByTarget=To,xo()&&co.registerPlugin(Do);var Co,Oo,Ao,Po,Lo,Ro,Fo,Io,No,Xo,Yo,zo,Bo=Do.getByTarget,qo=function(){return Co||"undefined"!=typeof window&&(Co=window.gsap)&&Co.registerPlugin&&Co},Ho=function(t){return"number"==typeof t},Wo=function(t){return"object"==typeof t},Uo=function(t){return"function"==typeof t},Vo=Array.isArray,Zo=function(t){return t},jo=1e10,Go=function(t,e,i){for(var n in e)n in t||n===i||(t[n]=e[n]);return t},Ko=function t(e){var i,n,r={};for(i in e)r[i]=Wo(n=e[i])&&!Vo(n)?t(n):n;return r},Qo=function(t,e,i,n,r){var o,s,a,l,h=e.length,u=0,c=jo;if(Wo(t)){for(;h--;){for(a in o=e[h],s=0,t)s+=(l=o[a]-t[a])*l;s<c&&(u=h,c=s)}if((r||jo)<jo&&r<Math.sqrt(c))return t}else for(;h--;)(s=(o=e[h])-t)<0&&(s=-s),s<c&&o>=n&&o<=i&&(u=h,c=s);return e[u]},$o=function(t,e,i,n,r,o,s){if("auto"===t.end)return t;var a,l,h=t.end;if(i=isNaN(i)?jo:i,n=isNaN(n)?-1e10:n,Wo(e)){if(a=e.calculated?e:(Uo(h)?h(e,s):Qo(e,h,i,n,o))||e,!e.calculated){for(l in a)e[l]=a[l];e.calculated=!0}a=a[r]}else a=Uo(h)?h(e,s):Vo(h)?Qo(e,h,i,n,o):parseFloat(h);return a>i?a=i:a<n&&(a=n),{max:a,min:a,unitFactor:t.unitFactor}},Jo=function(t,e,i){return isNaN(t[e])?i:+t[e]},ts=function(t,e){return.05*e*t/Xo},es=function(t,e,i){return Math.abs((e-t)*Xo/i/.05)},is={resistance:1,checkpoint:1,preventOvershoot:1,linkedProps:1,radius:1,duration:1},ns=function(t,e,i,n){if(e.linkedProps){var r,o,s,a,l,h,u=e.linkedProps.split(","),c={};for(r=0;r<u.length;r++)(s=e[o=u[r]])&&(a=Ho(s.velocity)?s.velocity:(l=l||Bo(t))&&l.isTracking(o)?l.get(o):0,h=Math.abs(a/Jo(s,"resistance",n)),c[o]=parseFloat(i(t,o))+ts(a,h));return c}},rs=function(){(Co=qo())&&(Ao=Co.parseEase,Po=Co.utils.toArray,Fo=Co.utils.getUnit,No=Co.core.getCache,Yo=Co.utils.clamp,Lo=Ao("power3"),Xo=Lo(.05),Io=Co.core.PropTween,Co.config({resistance:100,unitFactors:{time:1e3,totalTime:1e3,progress:1e3,totalProgress:1e3}}),Ro=Co.config(),Co.registerPlugin(Do),Oo=1)},os={version:"3.8.0",name:"inertia",register:function(t){Co=t,rs()},init:function(t,e,i,n,r){Oo||rs();var o=Bo(t);if("auto"===e){if(!o)return void console.warn("No inertia tracking on "+t+". InertiaPlugin.track(target) first.");e=o.getAll()}this.target=t,this.tween=i,zo=e;var s,a,l,h,u,c,d,f,p,g=t._gsap,m=g.get,_=e.duration,v=Wo(_),y=e.preventOvershoot||v&&0===_.overshoot,x=Jo(e,"resistance",Ro.resistance),w=Ho(_)?_:function(t,e,i,n,r,o){if(void 0===i&&(i=10),void 0===n&&(n=.2),void 0===r&&(r=1),void 0===o&&(o=0),"string"==typeof t&&(t=Po(t)[0]),!t)return 0;var s,a,l,h,u,c,d,f,p,g,m=0,_=jo,v=e.inertia||e,y=No(t).get,x=Jo(v,"resistance",Ro.resistance);for(s in g=ns(t,v,y,x),v)is[s]||(a=v[s],Wo(a)||((f=f||Bo(t))&&f.isTracking(s)?a=Ho(a)?{velocity:a}:{velocity:f.get(s)}:(h=+a||0,l=Math.abs(h/x))),Wo(a)&&(h=Ho(a.velocity)?a.velocity:(f=f||Bo(t))&&f.isTracking(s)?f.get(s):0,l=Yo(n,i,Math.abs(h/Jo(a,"resistance",x))),c=(u=parseFloat(y(t,s))||0)+ts(h,l),"end"in a&&(a=$o(a,g&&s in g?g:c,a.max,a.min,s,v.radius,h),o&&(zo===e&&(zo=v=Ko(e)),v[s]=Go(a,v[s],"end"))),"max"in a&&c>+a.max+1e-10?(p=a.unitFactor||Ro.unitFactors[s]||1,(d=u>a.max&&a.min!==a.max||h*p>-15&&h*p<45?n+.1*(i-n):es(u,a.max,h))+r<_&&(_=d+r)):"min"in a&&c<+a.min-1e-10&&(p=a.unitFactor||Ro.unitFactors[s]||1,(d=u<a.min&&a.min!==a.max||h*p>-45&&h*p<15?n+.1*(i-n):es(u,a.min,h))+r<_&&(_=d+r)),d>m&&(m=d)),l>m&&(m=l));return m>_&&(m=_),m>i?i:m<n?n:m}(t,e,v&&_.max||10,v&&_.min||.2,v&&"overshoot"in _?+_.overshoot:y?0:1,!0);for(s in e=zo,zo=0,p=ns(t,e,m,x),e)is[s]||(a=e[s],Uo(a)&&(a=a(n,t,r)),Ho(a)?u=a:Wo(a)&&!isNaN(a.velocity)?u=+a.velocity:o&&o.isTracking(s)?u=o.get(s):console.warn("ERROR: No velocity was defined for "+t+" property: "+s),c=ts(u,w),f=0,l=m(t,s),h=Fo(l),l=parseFloat(l),Wo(a)&&(d=l+c,"end"in a&&(a=$o(a,p&&s in p?p:d,a.max,a.min,s,e.radius,u)),"max"in a&&+a.max<d?y||a.preventOvershoot?c=a.max-l:f=a.max-l-c:"min"in a&&+a.min>d&&(y||a.preventOvershoot?c=a.min-l:f=a.min-l-c)),this._props.push(s),this._pt=new Io(this._pt,t,s,l,0,Zo,0,g.set(t,s,this)),this._pt.u=h||0,this._pt.c1=c,this._pt.c2=f);return i.duration(w),1},render:function(t,e){var i,n=e._pt;for(t=Lo(e.tween._time/e.tween._dur);n;)n.set(n.t,n.p,(i=n.s+n.c1*t+n.c2*t*t,Math.round(1e4*i)/1e4+n.u),n.d,t),n=n._next}};"track,untrack,isTracking,getVelocity,getByTarget".split(",").forEach((function(t){return os[t]=Do[t]})),qo()&&Co.registerPlugin(os);const ss="rotateModel",as="zoomIn",ls="zoomOut",hs="modelReset",us="arClick",cs="dimensionCl
1ick",ds="modelChange",fs={Android:function(){return navigator.userAgent.match(/Android/i)},iOS:function(){return navigator.userAgent.match(/iPhone|iPad|iPod/i)},Opera:function(){return navigator.userAgent.match(/Opera Mini/i)},Windows:function(){return navigator.userAgent.match(/IEMobile/i)},any:function(){return fs.Android()||fs.iOS()||fs.Opera()||fs.Windows()}},ps=fs;class gs{constructor(t){An.registerPlugin(uo,os),this.renderDom=document.querySelector(t),this.canvas=document.createElement("canvas"),this.canvas.ariaLabel="sequence image viewer",this.canvas.setAttribute("role","img"),this.context=this.canvas.getContext("2d"),this.renderDom.appendChild(this.canvas),this.pixelRatio=window.devicePixelRatio||1,this.sceneLength=0,this.totalImageArr=[],this.dimensionImageArr=[],this.images=[],this.currentFrame,this.seq={frame:0},this.frameCount=72,this.pixelsperincrement=ps.any()?10:40,this.width=this.renderDom.clientWidth,this.height=this.renderDom.clientHeight,this.imageSize={width:1e3,height:1e3},this.isInfinity=!0,this.type="contain",this.imageRatio=this.imageSize.height/this.imageSize.width,this.winRatio=this.height/this.width,this.rect={w:this.width,h:this.height,x:0,y:0},this.position={x:0,y:0},this.scale={x:1,y:1},this.zoomScale={max:1.5,min:.8},this.zoomFactor=5,this.lastZoomScale=null,this.seqframePosition={front:0,back:36,right:18,left:54},this.initFrame=this.seqframePosition.front,this.imageSrc="",this.fileExtendsion="png",this.ui=null,this.draggable=null,this.spriteslider=null,this.arModelSrc=null,this.scene=[],this.dimType=[],this.dimensionImgName=[],this.currentScene=0,this.isInteractionGuideShow=!1,this.isActiveDimension=!1,this.modelName="",this.modelColor="",this.loadingContainer=null,this.isEventBinded=null}init(){this.setDomBinding(),this.resize()}setDomBinding(){const t=this.renderDom,e=t.querySelector(".btn-zoomin"),i=t.querySelector(".btn-zoomout"),n=t.querySelector(".btn-reset"),r=t.querySelector(".btn-more"),o=t.querySelector(".btn-changetype"),s=t.querySelector(".btn-ar"),a=t.querySelector(".btn-toggle-dimension"),l=t.querySelector(".btn-spin-left"),h=t.querySelector(".btn-spin-right"),u=t.querySelector(".btn-close-pos"),c=t.querySelector(".pos-container");this.loadingContainer=t.querySelector(".loading-container"),null===this.arModelSrc&&(s.style.display="none"),e?.addEventListener("click",(()=>{t.dispatchEvent(new CustomEvent(as,{}))})),i?.addEventListener("click",(()=>{t.dispatchEvent(new CustomEvent(ls,{}))})),n?.addEventListener("click",(()=>{t.dispatchEvent(new CustomEvent(hs,{}))})),r?.addEventListener("click",(()=>{c.classList.contains("show")?c.classList.remove("show"):c.classList.add("show")})),u?.addEventListener("click",(()=>{c.classList.remove("show")})),l?.addEventListener("click",(()=>{t.dispatchEvent(new CustomEvent(ss,{detail:{side:"left"}}))})),h?.addEventListener("click",(()=>{t.dispatchEvent(new CustomEvent(ss,{detail:{side:"right"}}))})),s?.addEventListener("click",(()=>{t.dispatchEvent(new CustomEvent(us,{}))})),o?.addEventListener("click",(()=>{t.dispatchEvent(new CustomEvent(ds,{}))})),a?.addEventListener("click",(e=>{t.dispatchEvent(new CustomEvent(cs,{}))}))}getValidate(){this.scene<1&&console.error("img name error")}onLoadComplete(){console.log("image load complete"),this.gotoSeqFrame(this.initFrame),this.hideLoader()}hideLoader(){this.renderDom.querySelector(".loading-container").classList.add("hide"),this.interactionHandler(!0)}interactionHandler(t){const e=this.renderDom.querySelector(".interaction-container");t?(this.isInteractionGuideShow=!0,e.classList.add("show"),setTimeout((()=>{this.interactionHandler(!1)}),3e3)):(this.isInteractionGuideShow=!1,e.classList.remove("show"))}getCurrentFrameApi(){init().then(((t,e)=>{this.setImageLoader(t,e)}))}setImageLoader(t,e){const i=this,n=this.frameCount,r=this.loadingContainer.querySelector(".progress");let o=[],s=0,a=0;null==e?(o.push(t),this.sceneLength=1,this.renderDom.querySelector(".btn-changetype").style.display="none",o[0].reverse()):(o.push(t),o.push(e),this.sceneLength=2,o[0].reverse(),o[1].reverse()),i.totalImageArr=[],i.dimensionImageArr=[];for(let t=0;t<this.sceneLength;t++){i.totalImageArr.push([]),i.dimensionImageArr.push([]);for(let e=0;e<n;e++){const l=new Image;if(l.src=o[t][e],i.totalImageArr[t].push(l),"true"===i.dimType[t]){const n=new Image;n.src=o[t][e],i.dimensionImageArr[t].push(n)}l.addEventListener("load",(function(){s++,a=s/n*100,r.innerHTML=a.toFixed(0)+"%",s===n&&i.onLoadComplete()}),!1)}}this.setImageSeqDrag()}setImageSeqDrag(){const t=this,e=this.frameCount,i=this.pixelsperincrement;this.images=this.totalImageArr[this.currentScene],this.spriteslider=document.createElement("div"),this.spriteslider.multiplier=this.spriteslider.lastmultiplier=0,this.draggable=uo.create(this.spriteslider,{type:"x",trigger:t.canvas,edgeResistance:0,inertia:!0,onDrag:function(){if(t.isInteractionGuideShow&&t.interactionHandler(!1),this.isDragging){const n=this.target;let r;t.isInfinity?(n.multiplier=Math.floor(this.x/i)%e,r=n.multiplier<0?e-1+n.multiplier:n.multiplier):(n.multiplier=Math.floor(this.x/i),r=n.multiplier<=0?0:n.multiplier>=e-1?e-1:n.multiplier),t.seq.frame=r,t.render()}},onThrowUpdate:function(){const n=this.target;let r;t.isInfinity?(n.multiplier=Math.floor(this.x/i)%e,r=n.multiplier<0?e-1+n.multiplier:n.multiplier):(n.multiplier=Math.floor(this.x/i),r=n.multiplier<=0?0:n.multiplier>=e-1?e-1:n.multiplier),t.seq.frame=r,t.render()}}),t.isInfinity||this.draggable[0].applyBounds({minX:0,maxX:e*i}),this.images[0].onload=this.render.bind(this),this.addEvent()}addEvent(){if(this.isEventBinded)return;window.addEventListener("resize",(t=>this.resize()));const t=document.querySelector(".seq-viewer-container .dimension-info");this.renderDom.addEventListener(cs,(()=>{this.isActiveDimension?(this.dimensionContainerHandler(!1),t.classList.remove("show")):(this.dimensionContainerHandler(!0),t.classList.add("show"))}));const e=this.renderDom.querySelector(".pos-container");this.renderDom.addEventListener("click",(t=>
1{"CANVAS"===t.target.nodeName&&e.classList.contains("show")&&e.classList.remove("show")})),this.renderDom.addEventListener(us,(()=>{if(ps.Android()){const t=`intent://arvr.google.com/scene-viewer/1.0?file=${this.arModelSrc}&mode=ar_only#Intent;scheme=https;package=com.google.ar.core;action=android.intent.action.VIEW;S.browser_fallback_url=https://developers.google.com/ar;end;`;location.href=t}else if(ps.iOS()){const t=this.arModelSrc.replace(".glb",".usdz");location.href=t}else console.log("#not support pc")})),this.renderDom.addEventListener("wheel",(t=>{t.deltaY>0?this.doZoom(this.zoomFactor):this.doZoom(-this.zoomFactor),this.render()})),this.renderDom.addEventListener(as,(()=>{this.doZoom(this.zoomFactor),this.render()})),this.renderDom.addEventListener(ls,(()=>{this.doZoom(-this.zoomFactor),this.render()})),this.renderDom.addEventListener("touchstart",(t=>{this.lastZoomScale=null})),this.renderDom.addEventListener("touchmove",(t=>{2==t.targetTouches.length?(t.preventDefault(),this.doZoom(this.gesturePinchZoom(t))):t.targetTouches.length}));const i=this.renderDom.querySelector(".btn-changetype .change-type-1"),n=this.renderDom.querySelector(".btn-changetype .change-type-2");this.renderDom.addEventListener(ds,(()=>{this.setChangeScene(),0===this.currentScene?(i?.classList.add("show"),n?.classList.remove("show")):(i?.classList.remove("show"),n?.classList.add("show"))})),this.renderDom.addEventListener(hs,(()=>{this.resetScalePosition(),this.gotoSeqFrame(this.seqframePosition.front)})),this.renderDom.addEventListener(ss,(t=>{switch(t.detail.side.toLowerCase()){case"front":this.gotoSeqFrame(this.seqframePosition.front);break;case"back":this.gotoSeqFrame(this.seqframePosition.back);break;case"right":this.gotoSeqFrame(this.seqframePosition.right);break;case"left":this.gotoSeqFrame(this.seqframePosition.left)}})),this.isEventBinded=!0}dimensionContainerHandler(t,e=!0){e&&(this.isActiveDimension=t),this.render()}resetScalePosition(){this.scale.x=1,this.scale.y=1,this.position.x=0,this.position.y=0}setChangeScene(){this.sceneLength>1&&(this.currentScene=0===this.currentScene?1:0,this.images=this.totalImageArr[this.currentScene],this.render())}gotoSeqFrame(t,e=.5){const i=this;An.killTweensOf(i.spriteslider),An.to(i.seq,{frame:t,duration:e,onUpdate:function(){i.seq.frame=Math.floor(i.seq.frame);const t=Math.floor(i.seq.frame*i.pixelsperincrement);An.set(i.draggable[0].target,{x:t}),i.draggable[0].update(!0),i.render()}})}coverImg(){const t=this.type,e=this.imageRatio,i=this.winRatio;this.context.lineWidth=2;const n=this.rect;let r=this.seq.frame;if(e<i&&"contain"===t||e>i&&"cover"===t){const t=this.width*e;n.w=this.width*this.scale.x,n.h=t*this.scale.y,n.x=(this.width-n.w)/2,n.y=(this.height-n.h)/2}if(e>i&&"contain"===t||e<i&&"cover"===t){const t=this.width*i/e;n.w=t*this.scale.x,n.h=this.height*this.scale.y,n.x=(this.width-n.w)/2,n.y=(this.height-n.h)/2}if(this.context.drawImage(this.images[r],n.x,n.y,n.w,n.h),this.isActiveDimension)try{this.context.drawImage(this.dimensionImageArr[this.currentScene][r],n.x,n.y,n.w,n.h)}catch(t){}}gesturePinchZoom(t){let e=!1;if(t.targetTouches.length>=2){let i=t.targetTouches[0],n=t.targetTouches[1],r=Math.sqrt(Math.pow(n.pageX-i.pageX,2)+Math.pow(n.pageY-i.pageY,2));this.lastZoomScale&&(e=r-this.lastZoomScale),this.lastZoomScale=r}return e}doZoom(t){this.isInteractionGuideShow&&this.interactionHandler(!1);let e=this.scale.x+t/100;e>=this.zoomScale.max?e=this.zoomScale.max:e<=this.zoomScale.min&&(e=this.zoomScale.min),this.scale.x=e,this.scale.y=e,this.render()}render(){this.images.length>0&&(this.context.clearRect(0,0,this.canvas.width,this.canvas.height),this.coverImg())}resize(){const t=this.renderDom.clientWidth,e=this.renderDom.clientHeight;this.width=t,this.height=e,this.winRatio=this.height/this.width,this.canvas.width=this.width*this.pixelRatio,this.canvas.height=this.height*this.pixelRatio,this.context.scale(this.pixelRatio,this.pixelRatio),this.canvas.style.width=t+"px",this.canvas.style.height=e+"px",this.doZoom(0),this.render()}}return window.componentsGallery360=(t,e,i=null)=>{t.setImageLoader(e,i)},e=e.default})()));
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.