@fynd-design-engineering/fynd-one-v2 3.4.34 → 3.4.36
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/global/css/in-project-settings.css"],
|
|
4
|
-
"sourcesContent": ["/* Progressive scroll css start */\n[fynd-sticky-target] {\n height: 90vh;\n position: sticky;\n top: 12vh;\n z-index: 2;\n}\n\n[fynd-scroll-blocks] {\n display: none;\n}\n\n/* main element to decide the scroll height*/\n[fynd-scroll-source] {\n height: 80vh;\n}\n\n[fynd-sticky-source] {\n height: 80vh;\n width: 100%;\n position: absolute;\n top: 0px;\n opacity: 0;\n background-color: transparent;\n}\n\n[fynd-scroll-container] {\n opacity: 0;\n}\n\n[fynd-sticky-target] {\n height: 80vh;\n border-radius: 1rem;\n overflow: hidden;\n}\n\n[fynd-scroll-column] {\n padding-left: 0rem;\n padding-right: 0rem;\n}\n\n.progressive-scroll-image {\n object-fit: cover;\n}\n\n/* disable everything from tablet and below */\n@media (max-width: 991px) {\n [fynd-scroll-container] {\n opacity: 0;\n display: none;\n }\n\n [fynd-scroll-blocks] {\n display: flex;\n }\n\n [fynd-sticky-source] {\n height: auto;\n position: static;\n opacity: 1;\n }\n\n [fynd-scroll-source] {\n height: auto;\n }\n}\n\n/* Progressive scroll css end */\n\n/* auth css start */\n[fynd-console-auth=\"user-blob\"] {\n display: none;\n}\n\n[fynd-console-auth-status=\"true\"] {\n padding: 0 14px 0 4px !important;\n\n}\n\n[fynd-console-auth-status=\"false\"] {\n padding: 0 16px 0 16px !important;\n\n\n}\n\n[style-nav-primary-button=\"white\"] [fynd-console-auth=\"initial-text\"] {\n color: #ffffff;\n}\n\n[style-nav-primary-button=\"white\"] [fynd-console-auth=user-blob] {\n background-color: #0e0e0e;\n}\n\n/* auth css end */\n\n/* placeholder and badges start */\n.webflow-only-placeholder,\n[only-in-webflow=\"true\"] {\n display: none;\n visibility: hidden;\n}\n\n.w-webflow-badge {\n display: none !important\n}\n\n.termly-styles-logo-cc6217.termly-styles-logo-c34670 {\n display: none !important;\n}\n\n/* placeholder and badges end */\n\n/* product interested fields hide */\n[fynd-wrapper-field=\"product-interested-select\"] {\n display: none;\n}\n\n[fynd-wrapper-field=\"product-interested-input\"] {\n display: none;\n}"],
|
|
5
|
-
"mappings": ";AACA,CAAC;AACG,UAAQ;AACR,YAAU;AACV,OAAK;AACL,WAAS;AACb;AAEA,CAAC;AACG,WAAS;AACb;AAGA,CAAC;AACG,UAAQ;AACZ;AAEA,CAAC;AACG,UAAQ;AACR,SAAO;AACP,YAAU;AACV,OAAK;AACL,WAAS;AACT,oBAAkB;AACtB;AAEA,CAAC;AACG,WAAS;AACb;AAEA,CAAC;AACG,UAAQ;AACR,iBAAe;AACf,YAAU;AACd;AAEA,CAAC;AACG,gBAAc;AACd,iBAAe;AACnB;AAEA,CAAC;AACG,cAAY;AAChB;AAGA,OAAO,CAAC,SAAS,EAAE;AACf,GAAC;AACG,aAAS;AACT,aAAS;AACb;AAEA,GAAC;AACG,aAAS;AACb;AAEA,GAAC;AACG,YAAQ;AACR,cAAU;AACV,aAAS;AACb;AAEA,GAAC;AACG,YAAQ;AACZ;AACJ;AAKA,CAAC;AACG,WAAS;AACb;AAEA,CAAC;AACG,WAAS,EAAE,KAAK,EAAE;AAEtB;AAEA,CAAC;AACG,WAAS,EAAE,KAAK,EAAE;AAGtB;AAEA,CAAC,gCAAkC,CAAC;AAChC,SAAO;AACX;AAEA,CAAC,gCAAkC,CAAC;AAChC,oBAAkB;AACtB;AAKA,CAAC;AACD,CAAC;AACG,WAAS;AACT,cAAY;AAChB;AAEA,CAAC;AACG,WAAS;AACb;AAEA,CAAC,yBAAyB,CAAC;AACvB,WAAS;AACb;AAKA,CAAC;AACG,WAAS;AACb;AAEA,CAAC;AACG,WAAS;AACb;",
|
|
4
|
+
"sourcesContent": ["/* Progressive scroll css start */\n[fynd-sticky-target] {\n height: 90vh;\n position: sticky;\n top: 12vh;\n z-index: 2;\n}\n\n[fynd-scroll-blocks] {\n display: none;\n}\n\n/* main element to decide the scroll height*/\n[fynd-scroll-source] {\n height: 80vh;\n}\n\n[fynd-sticky-source] {\n height: 80vh;\n width: 100%;\n position: absolute;\n top: 0px;\n opacity: 0;\n background-color: transparent;\n}\n\n[fynd-scroll-container] {\n opacity: 0;\n}\n\n[fynd-sticky-target] {\n height: 80vh;\n border-radius: 1rem;\n overflow: hidden;\n}\n\n[fynd-scroll-column] {\n padding-left: 0rem;\n padding-right: 0rem;\n}\n\n.progressive-scroll-image {\n object-fit: cover;\n}\n\n/* disable everything from tablet and below */\n@media (max-width: 991px) {\n [fynd-scroll-container] {\n opacity: 0;\n display: none;\n }\n\n [fynd-scroll-blocks] {\n display: flex;\n }\n\n [fynd-sticky-source] {\n height: auto;\n position: static;\n opacity: 1;\n }\n\n [fynd-scroll-source] {\n height: auto;\n }\n}\n\n/* Progressive scroll css end */\n\n/* auth css start */\n[fynd-console-auth=\"user-blob\"] {\n display: none;\n}\n\n[fynd-console-auth-status=\"true\"] {\n padding: 0 14px 0 4px !important;\n\n}\n\n[fynd-console-auth-status=\"false\"] {\n padding: 0 16px 0 16px !important;\n\n\n}\n\n[style-nav-primary-button=\"white\"] [fynd-console-auth=\"initial-text\"] {\n color: #ffffff;\n}\n\n[style-nav-primary-button=\"white\"] [fynd-console-auth=user-blob] {\n background-color: #0e0e0e;\n}\n\n/* auth css end */\n\n/* placeholder and badges start */\n.webflow-only-placeholder,\n[only-in-webflow=\"true\"] {\n display: none;\n visibility: hidden;\n}\n\n.w-webflow-badge {\n display: none !important\n}\n\n.termly-styles-logo-cc6217.termly-styles-logo-c34670 {\n display: none !important;\n}\n\n/* placeholder and badges end */\n\n/* product interested fields hide */\n[fynd-wrapper-field=\"product-interested-select\"] {\n display: none;\n}\n\n[fynd-wrapper-field=\"product-interested-input\"] {\n display: none;\n}\n\n/* kaily chat */\n[fynd-chat=\"input\"] {\n border: none;\n outline: none;\n width: 100%;\n white-space: nowrap;\n /* stops new lines */\n overflow: hidden;\n pointer-events: auto;\n}\n[fynd-chat=\"input-container\"] {\ntransform: translate(0px, 100px);\n}\n\n[fynd-chat=\"window\"]{\n position: absolute !important;\n z-index: 4;\n transform-origin: bottom center;\n pointer-events: auto;\n overflow: hidden;\n transform: scale(0);\n}\n[fynd-chat=\"window-overlay\"]{\npointer-events: auto;\nopacity: 0;\n display: none;\n}\n\n[fynd-chat=\"wrapper\"]{\n pointer-events: none;\n display: flex;\n}\n\n/* hidden \"ghost\" element for measuring text width */\n[fynd-chat=\"input-ghost\"] {\n position: absolute;\n visibility: hidden;\n white-space: nowrap;\n font-size: 16px;\n font-family: sans-serif;\n}\n\n[fynd-chat=\"input\"]::placeholder {\n color: white;\n}\n\n[fynd-chat=\"input\"]:focus {\n box-shadow: 0 0 0 6px #00000020;\n}\n\n/* transition timings */\n[fynd-chat=\"input\"],\n[fynd-chat=\"input\"]::placeholder ,\n[fynd-chat=\"icon\"] ,\n[fynd-chat=\"button\"] {\n transition: all 0.4s ease;\n}\n\n/* activated input styles */\n[fynd-chat=\"input\"][fynd-chat-active=\"true\"] {\n background-color: #fff;\n border: 1px solid #E3E3E3;\n color: #000;\n}\n[fynd-chat=\"input\"][fynd-chat-active=\"true\"]::placeholder {\n color: #A0A1A2;\n}\n[fynd-chat=\"input\"][fynd-chat-active=\"true\"]:focus {\n box-shadow: 0 0 0 6px #00000020;\n}\n[fynd-chat=\"icon\"][fynd-chat-active=\"true\"]{\n color: #000000;\n}\n[fynd-chat=\"button\"][fynd-chat-active=\"true\"]{\n background-color: #000000;\n color: #ffffff;\n border: 1px solid #000;\n}\n\n/* disabled input styles */\n[fynd-chat=\"input\"][fynd-chat-active=\"false\"] {\n border: 1px solid #ffffff80;\n background-color: #0000001a;\n color: #fff;\n}\n[fynd-chat=\"input\"][fynd-chat-active=\"true\"]:focus {\n box-shadow: 0 0 0 6px #a2a2a220;\n}\n\n[fynd-chat=\"icon\"][fynd-chat-active=\"false\"]{\n color: #fff;\n}\n[fynd-chat=\"button\"][fynd-chat-active=\"false\"]{\n background-color: transparent;\n color: #ffffff;\n border: 1px solid #ffffffb3;\n}\n\n\n@media screen and (max-width: 479px) {\n[fynd-chat=\"input\"] {\n width: 80vw;\n}\n}"],
|
|
5
|
+
"mappings": ";AACA,CAAC;AACG,UAAQ;AACR,YAAU;AACV,OAAK;AACL,WAAS;AACb;AAEA,CAAC;AACG,WAAS;AACb;AAGA,CAAC;AACG,UAAQ;AACZ;AAEA,CAAC;AACG,UAAQ;AACR,SAAO;AACP,YAAU;AACV,OAAK;AACL,WAAS;AACT,oBAAkB;AACtB;AAEA,CAAC;AACG,WAAS;AACb;AAEA,CAAC;AACG,UAAQ;AACR,iBAAe;AACf,YAAU;AACd;AAEA,CAAC;AACG,gBAAc;AACd,iBAAe;AACnB;AAEA,CAAC;AACG,cAAY;AAChB;AAGA,OAAO,CAAC,SAAS,EAAE;AACf,GAAC;AACG,aAAS;AACT,aAAS;AACb;AAEA,GAAC;AACG,aAAS;AACb;AAEA,GAAC;AACG,YAAQ;AACR,cAAU;AACV,aAAS;AACb;AAEA,GAAC;AACG,YAAQ;AACZ;AACJ;AAKA,CAAC;AACG,WAAS;AACb;AAEA,CAAC;AACG,WAAS,EAAE,KAAK,EAAE;AAEtB;AAEA,CAAC;AACG,WAAS,EAAE,KAAK,EAAE;AAGtB;AAEA,CAAC,gCAAkC,CAAC;AAChC,SAAO;AACX;AAEA,CAAC,gCAAkC,CAAC;AAChC,oBAAkB;AACtB;AAKA,CAAC;AACD,CAAC;AACG,WAAS;AACT,cAAY;AAChB;AAEA,CAAC;AACG,WAAS;AACb;AAEA,CAAC,yBAAyB,CAAC;AACvB,WAAS;AACb;AAKA,CAAC;AACG,WAAS;AACb;AAEA,CAAC;AACG,WAAS;AACb;AAGA,CAAC;AACG,UAAQ;AACR,WAAS;AACT,SAAO;AACP,eAAa;AAEb,YAAU;AACV,kBAAgB;AACpB;AACA,CAAC;AACD,aAAW,UAAU,GAAG,EAAE;AAC1B;AAEA,CAAC;AACG,YAAU;AACV,WAAS;AACT,oBAAkB,OAAO;AACzB,kBAAgB;AAChB,YAAU;AACN,aAAW,MAAM;AACzB;AACA,CAAC;AACD,kBAAgB;AAChB,WAAS;AACL,WAAS;AACb;AAEA,CAAC;AACG,kBAAgB;AAChB,WAAS;AACb;AAGA,CAAC;AACG,YAAU;AACV,cAAY;AACZ,eAAa;AACb,aAAW;AACX,eAAa;AACjB;AAEA,CAAC,gBAAkB;AACf,SAAO;AACX;AAEA,CAAC,gBAAkB;AACf,cAAY,EAAE,EAAE,EAAE,IAAI;AAC1B;AAGA,CAAC;AACD,CAAC,gBAAkB;AACnB,CAAC;AACD,CAAC;AACG,cAAY,IAAI,KAAK;AACzB;AAGA,CAAC,gBAAkB,CAAC;AAChB,oBAAkB;AAClB,UAAQ,IAAI,MAAM;AAClB,SAAO;AACX;AACA,CAAC,gBAAkB,CAAC,sBAAwB;AACxC,SAAO;AACX;AACA,CAAC,gBAAkB,CAAC,sBAAwB;AACxC,cAAY,EAAE,EAAE,EAAE,IAAI;AAC1B;AACA,CAAC,eAAiB,CAAC;AACf,SAAO;AACX;AACA,CAAC,iBAAmB,CAAC;AACjB,oBAAkB;AAClB,SAAO;AACP,UAAQ,IAAI,MAAM;AACtB;AAGA,CAAC,gBAAkB,CAAC;AAChB,UAAQ,IAAI,MAAM;AAClB,oBAAkB;AAClB,SAAO;AACX;AACA,CAAC,gBAAkB,CAAC,sBAAwB;AACxC,cAAY,EAAE,EAAE,EAAE,IAAI;AAC1B;AAEA,CAAC,eAAiB,CAAC;AACf,SAAO;AACX;AACA,CAAC,iBAAmB,CAAC;AACjB,oBAAkB;AAClB,SAAO;AACP,UAAQ,IAAI,MAAM;AACtB;AAGA,OAAO,OAAO,IAAI,CAAC,SAAS,EAAE;AAC9B,GAAC;AACG,WAAO;AACX;AACA;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/dist/navigation/main.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";(()=>{function yt(o){if(o===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return o}function Vi(o,t){o.prototype=Object.create(t.prototype),o.prototype.constructor=o,o.__proto__=t}var it={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},Qt={duration:.5,overwrite:!1,delay:0},ri,G,D,ut=1e8,C=1/ut,We=Math.PI*2,Gn=We/4,Wn=0,Yi=Math.sqrt,Qn=Math.cos,$n=Math.sin,U=function(t){return typeof t=="string"},I=function(t){return typeof t=="function"},Tt=function(t){return typeof t=="number"},Pe=function(t){return typeof t>"u"},pt=function(t){return typeof t=="object"},et=function(t){return t!==!1},si=function(){return typeof window<"u"},Me=function(t){return I(t)||U(t)},Xi=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},Q=Array.isArray,Qe=/(?:-?\.?\d|\.)+/gi,ai=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,Ft=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,Be=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,oi=/[+-]=-?[.\d]+/,Gi=/[^,'"\[\]\s]+/gi,Kn=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,N,_t,$e,li,at={},Ee={},Wi,Qi=function(t){return(Ee=$t(t,at))&&$},Le=function(t,e){return console.warn("Invalid property",t,"set to",e,"Missing plugin? gsap.registerPlugin()")},he=function(t,e){return!e&&console.warn(t)},$i=function(t,e){return t&&(at[t]=e)&&Ee&&(Ee[t]=e)||at},ce=function(){return 0},jn={suppressEvents:!0,isStart:!0,kill:!1},be={suppressEvents:!0,kill:!1},Zn={suppressEvents:!0},ui={},Et=[],Ke={},Ki,J={},Ue={},Ii=30,xe=[],fi="",hi=function(t){var e=t[0],i,n;if(pt(e)||I(e)||(t=[t]),!(i=(e._gsap||{}).harness)){for(n=xe.length;n--&&!xe[n].targetTest(e););i=xe[n]}for(n=t.length;n--;)t[n]&&(t[n]._gsap||(t[n]._gsap=new pi(t[n],i)))||t.splice(n,1);return t},Ot=function(t){return t._gsap||hi(ft(t))[0]._gsap},ci=function(t,e,i){return(i=t[e])&&I(i)?t[e]():Pe(i)&&t.getAttribute&&t.getAttribute(e)||i},K=function(t,e){return(t=t.split(",")).forEach(e)||t},z=function(t){return Math.round(t*1e5)/1e5||0},B=function(t){return Math.round(t*1e7)/1e7||0},Ht=function(t,e){var i=e.charAt(0),n=parseFloat(e.substr(2));return t=parseFloat(t),i==="+"?t+n:i==="-"?t-n:i==="*"?t*n:t/n},Jn=function(t,e){for(var i=e.length,n=0;t.indexOf(e[n])<0&&++n<i;);return n<i},Oe=function(){var t=Et.length,e=Et.slice(0),i,n;for(Ke={},Et.length=0,i=0;i<t;i++)n=e[i],n&&n._lazy&&(n.render(n._lazy[0],n._lazy[1],!0)._lazy=0)},_i=function(t){return!!(t._initted||t._startAt||t.add)},ji=function(t,e,i,n){Et.length&&!G&&Oe(),t.render(e,i,n||!!(G&&e<0&&_i(t))),Et.length&&!G&&Oe()},Zi=function(t){var e=parseFloat(t);return(e||e===0)&&(t+"").match(Gi).length<2?e:U(t)?t.trim():t},Ji=function(t){return t},ot=function(t,e){for(var i in e)i in t||(t[i]=e[i]);return t},tr=function(t){return function(e,i){for(var n in i)n in e||n==="duration"&&t||n==="ease"||(e[n]=i[n])}},$t=function(t,e){for(var i in e)t[i]=e[i];return t},zi=function o(t,e){for(var i in e)i!=="__proto__"&&i!=="constructor"&&i!=="prototype"&&(t[i]=pt(e[i])?o(t[i]||(t[i]={}),e[i]):e[i]);return t},Se=function(t,e){var i={},n;for(n in t)n in e||(i[n]=t[n]);return i},le=function(t){var e=t.parent||N,i=t.keyframes?tr(Q(t.keyframes)):ot;if(et(t.inherit))for(;e;)i(t,e.vars.defaults),e=e.parent||e._dp;return t},er=function(t,e){for(var i=t.length,n=i===e.length;n&&i--&&t[i]===e[i];);return i<0},tn=function(t,e,i,n,r){i===void 0&&(i="_first"),n===void 0&&(n="_last");var s=t[n],a;if(r)for(a=e[r];s&&s[r]>a;)s=s._prev;return 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,e},Ae=function(t,e,i,n){i===void 0&&(i="_first"),n===void 0&&(n="_last");var r=e._prev,s=e._next;r?r._next=s:t[i]===e&&(t[i]=s),s?s._prev=r:t[n]===e&&(t[n]=r),e._next=e._prev=e.parent=null},St=function(t,e){t.parent&&(!e||t.parent.autoRemoveChildren)&&t.parent.remove&&t.parent.remove(t),t._act=0},Rt=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},ir=function(t){for(var e=t.parent;e&&e.parent;)e._dirty=1,e.totalDuration(),e=e.parent;return t},je=function(t,e,i,n){return t._startAt&&(G?t._startAt.revert(be):t.vars.immediateRender&&!t.vars.autoRevert||t._startAt.render(e,!0,n))},nr=function o(t){return!t||t._ts&&o(t.parent)},Fi=function(t){return t._repeat?Kt(t._tTime,t=t.duration()+t._rDelay)*t:0},Kt=function(t,e){var i=Math.floor(t=B(t/e));return t&&i===t?i-1:i},ke=function(t,e){return(t-e._start)*e._ts+(e._ts>=0?0:e._dirty?e.totalDuration():e._tDur)},De=function(t){return t._end=B(t._start+(t._tDur/Math.abs(t._ts||t._rts||C)||0))},Ne=function(t,e){var i=t._dp;return i&&i.smoothChildTiming&&t._ts&&(t._start=B(i._time-(t._ts>0?e/t._ts:((t._dirty?t.totalDuration():t._tDur)-e)/-t._ts)),De(t),i._dirty||Rt(i,t)),t},en=function(t,e){var i;if((e._time||!e._dur&&e._initted||e._start<t._time&&(e._dur||!e.add))&&(i=ke(t.rawTime(),e),(!e._dur||pe(0,e.totalDuration(),i)-e._tTime>C)&&e.render(i,!0)),Rt(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=-C}},dt=function(t,e,i,n){return e.parent&&St(e),e._start=B((Tt(i)?i:i||t!==N?lt(t,i,e):t._time)+e._delay),e._end=B(e._start+(e.totalDuration()/Math.abs(e.timeScale())||0)),tn(t,e,"_first","_last",t._sort?"_start":0),Ze(e)||(t._recent=e),n||en(t,e),t._ts<0&&Ne(t,t._tTime),t},nn=function(t,e){return(at.ScrollTrigger||Le("scrollTrigger",e))&&at.ScrollTrigger.create(e,t)},rn=function(t,e,i,n,r){if(yi(t,e,r),!t._initted)return 1;if(!i&&t._pt&&!G&&(t._dur&&t.vars.lazy!==!1||!t._dur&&t.vars.lazy)&&Ki!==tt.frame)return Et.push(t),t._lazy=[r,n],1},rr=function o(t){var e=t.parent;return e&&e._ts&&e._initted&&!e._lock&&(e.rawTime()<0||o(e))},Ze=function(t){var e=t.data;return e==="isFromStart"||e==="isStart"},sr=function(t,e,i,n){var r=t.ratio,s=e<0||!e&&(!t._start&&rr(t)&&!(!t._initted&&Ze(t))||(t._ts<0||t._dp._ts<0)&&!Ze(t))?0:1,a=t._rDelay,l=0,u,f,c;if(a&&t._repeat&&(l=pe(0,t._tDur,e),f=Kt(l,a),t._yoyo&&f&1&&(s=1-s),f!==Kt(t._tTime,a)&&(r=1-s,t.vars.repeatRefresh&&t._initted&&t.invalidate())),s!==r||G||n||t._zTime===C||!e&&t._zTime){if(!t._initted&&rn(t,e,n,i,l))return;for(c=t._zTime,t._zTime=e||(i?C:0),i||(i=e&&!c),t.ratio=s,t._from&&(s=1-s),t._time=0,t._tTime=l,u=t._pt;u;)u.r(s,u.d),u=u._next;e<0&&je(t,e,i,!0),t._onUpdate&&!i&&st(t,"onUpdate"),l&&t._repeat&&!i&&t.parent&&st(t,"onRepeat"),(e>=t._tDur||e<0)&&t.ratio===s&&(s&&St(t,1),!i&&!G&&(st(t,s?"onComplete":"onReverseComplete",!0),t._prom&&t._prom()))}else t._zTime||(t._zTime=e)},ar=function(t,e,i){var n;if(i>e)for(n=t._first;n&&n._start<=i;){if(n.data==="isPause"&&n._start>e)return n;n=n._next}else for(n=t._last;n&&n._start>=i;){if(n.data==="isPause"&&n._start<e)return n;n=n._prev}},jt=function(t,e,i,n){var r=t._repeat,s=B(e)||0,a=t._tTime/t._tDur;return a&&!n&&(t._time*=s/t._dur),t._dur=s,t._tDur=r?r<0?1e10:B(s*(r+1)+t._rDelay*r):s,a>0&&!n&&Ne(t,t._tTime=t._tDur*a),t.parent&&De(t),i||Rt(t.parent,t),t},Hi=function(t){return t instanceof X?Rt(t):jt(t,t._dur)},or={_start:0,endTime:ce,totalDuration:ce},lt=function o(t,e,i){var n=t.labels,r=t._recent||or,s=t.duration()>=ut?r.endTime(!1):t._dur,a,l,u;return U(e)&&(isNaN(e)||e in n)?(l=e.charAt(0),u=e.substr(-1)==="%",a=e.indexOf("="),l==="<"||l===">"?(a>=0&&(e=e.replace(/=/,"")),(l==="<"?r._start:r.endTime(r._repeat>=0))+(parseFloat(e.substr(1))||0)*(u?(a<0?r:i).totalDuration()/100:1)):a<0?(e in n||(n[e]=s),n[e]):(l=parseFloat(e.charAt(a-1)+e.substr(a+1)),u&&i&&(l=l/100*(Q(i)?i[0]:i).totalDuration()),a>1?o(t,e.substr(0,a-1),i)+l:s+l)):e==null?s:+e},ue=function(t,e,i){var n=Tt(e[1]),r=(n?2:1)+(t<2?0:1),s=e[r],a,l;if(n&&(s.duration=e[1]),s.parent=i,t){for(a=s,l=i;l&&!("immediateRender"in a);)a=l.vars.defaults||{},l=et(l.vars.inherit)&&l.parent;s.immediateRender=et(a.immediateRender),t<2?s.runBackwards=1:s.startAt=e[r-1]}return new F(e[0],s,e[r+1])},kt=function(t,e){return t||t===0?e(t):e},pe=function(t,e,i){return i<t?t:i>e?e:i},W=function(t,e){return!U(t)||!(e=Kn.exec(t))?"":e[1]},lr=function(t,e,i){return kt(i,function(n){return pe(t,e,n)})},Je=[].slice,sn=function(t,e){return t&&pt(t)&&"length"in t&&(!e&&!t.length||t.length-1 in t&&pt(t[0]))&&!t.nodeType&&t!==_t},ur=function(t,e,i){return i===void 0&&(i=[]),t.forEach(function(n){var r;return U(n)&&!e||sn(n,1)?(r=i).push.apply(r,ft(n)):i.push(n)})||i},ft=function(t,e,i){return D&&!e&&D.selector?D.selector(t):U(t)&&!i&&($e||!Zt())?Je.call((e||li).querySelectorAll(t),0):Q(t)?ur(t,i):sn(t)?Je.call(t,0):t?[t]:[]},ti=function(t){return t=ft(t)[0]||he("Invalid scope")||{},function(e){var i=t.current||t.nativeElement||t;return ft(e,i.querySelectorAll?i:i===t?he("Invalid scope")||li.createElement("div"):t)}},an=function(t){return t.sort(function(){return .5-Math.random()})},on=function(t){if(I(t))return t;var e=pt(t)?t:{each:t},i=It(e.ease),n=e.from||0,r=parseFloat(e.base)||0,s={},a=n>0&&n<1,l=isNaN(n)||a,u=e.axis,f=n,c=n;return U(n)?f=c={center:.5,edges:.5,end:1}[n]||0:!a&&l&&(f=n[0],c=n[1]),function(_,d,p){var h=(p||e).length,m=s[h],y,v,T,M,g,x,w,E,b;if(!m){if(b=e.grid==="auto"?0:(e.grid||[1,ut])[1],!b){for(w=-ut;w<(w=p[b++].getBoundingClientRect().left)&&b<h;);b<h&&b--}for(m=s[h]=[],y=l?Math.min(b,h)*f-.5:n%b,v=b===ut?0:l?h*c/b-.5:n/b|0,w=0,E=ut,x=0;x<h;x++)T=x%b-y,M=v-(x/b|0),m[x]=g=u?Math.abs(u==="y"?M:T):Yi(T*T+M*M),g>w&&(w=g),g<E&&(E=g);n==="random"&&an(m),m.max=w-E,m.min=E,m.v=h=(parseFloat(e.amount)||parseFloat(e.each)*(b>h?h-1:u?u==="y"?h/b:b:Math.max(b,h/b))||0)*(n==="edges"?-1:1),m.b=h<0?r-h:r,m.u=W(e.amount||e.each)||0,i=i&&h<0?mn(i):i}return h=(m[_]-m.min)/m.max||0,B(m.b+(i?i(h):h)*m.v)+m.u}},ei=function(t){var e=Math.pow(10,((t+"").split(".")[1]||"").length);return function(i){var n=B(Math.round(parseFloat(i)/t)*t*e);return(n-n%1)/e+(Tt(i)?0:W(i))}},ln=function(t,e){var i=Q(t),n,r;return!i&&pt(t)&&(n=i=t.radius||ut,t.values?(t=ft(t.values),(r=!Tt(t[0]))&&(n*=n)):t=ei(t.increment)),kt(e,i?I(t)?function(s){return r=t(s),Math.abs(r-s)<=n?r:s}:function(s){for(var a=parseFloat(r?s.x:s),l=parseFloat(r?s.y:0),u=ut,f=0,c=t.length,_,d;c--;)r?(_=t[c].x-a,d=t[c].y-l,_=_*_+d*d):_=Math.abs(t[c]-a),_<u&&(u=_,f=c);return f=!n||u<=n?t[f]:s,r||f===s||Tt(s)?f:f+W(s)}:ei(t))},un=function(t,e,i,n){return kt(Q(t)?!e:i===!0?!!(i=0):!n,function(){return Q(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+i*.99))/i)*i*n)/n})},fr=function(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];return function(n){return e.reduce(function(r,s){return s(r)},n)}},hr=function(t,e){return function(i){return t(parseFloat(i))+(e||W(i))}},cr=function(t,e,i){return hn(t,e,0,1,i)},fn=function(t,e,i){return kt(i,function(n){return t[~~e(n)]})},_r=function o(t,e,i){var n=e-t;return Q(t)?fn(t,o(0,t.length),e):kt(i,function(r){return(n+(r-t)%n)%n+t})},dr=function o(t,e,i){var n=e-t,r=n*2;return Q(t)?fn(t,o(0,t.length-1),e):kt(i,function(s){return s=(r+(s-t)%r)%r||0,t+(s>n?r-s:s)})},Jt=function(t){for(var e=0,i="",n,r,s,a;~(n=t.indexOf("random(",e));)s=t.indexOf(")",n),a=t.charAt(n+7)==="[",r=t.substr(n+7,s-n-7).match(a?Gi:Qe),i+=t.substr(e,n-e)+un(a?r:+r[0],a?0:+r[1],+r[2]||1e-5),e=s+1;return i+t.substr(e,t.length-e)},hn=function(t,e,i,n,r){var s=e-t,a=n-i;return kt(r,function(l){return i+((l-t)/s*a||0)})},pr=function o(t,e,i,n){var r=isNaN(t+e)?0:function(d){return(1-d)*t+d*e};if(!r){var s=U(t),a={},l,u,f,c,_;if(i===!0&&(n=1)&&(i=null),s)t={p:t},e={p:e};else if(Q(t)&&!Q(e)){for(f=[],c=t.length,_=c-2,u=1;u<c;u++)f.push(o(t[u-1],t[u]));c--,r=function(p){p*=c;var h=Math.min(_,~~p);return f[h](p-h)},i=e}else n||(t=$t(Q(t)?[]:{},t));if(!f){for(l in e)mi.call(a,t,l,"get",e[l]);r=function(p){return Mi(p,a)||(s?t.p:t)}}}return kt(i,r)},Bi=function(t,e,i){var n=t.labels,r=ut,s,a,l;for(s in n)a=n[s]-e,a<0==!!i&&a&&r>(a=Math.abs(a))&&(l=s,r=a);return l},st=function(t,e,i){var n=t.vars,r=n[e],s=D,a=t._ctx,l,u,f;if(r)return l=n[e+"Params"],u=n.callbackScope||t,i&&Et.length&&Oe(),a&&(D=a),f=l?r.apply(u,l):r.call(u),D=s,f},ae=function(t){return St(t),t.scrollTrigger&&t.scrollTrigger.kill(!!G),t.progress()<1&&st(t,"onInterrupt"),t},Wt,cn=[],_n=function(t){if(t)if(t=!t.name&&t.default||t,si()||t.headless){var e=t.name,i=I(t),n=e&&!i&&t.init?function(){this._props=[]}:t,r={init:ce,render:Mi,add:mi,kill:Lr,modifier:Pr,rawVars:0},s={targetTest:0,get:0,getSetter:Re,aliases:{},register:0};if(Zt(),t!==n){if(J[e])return;ot(n,ot(Se(t,r),s)),$t(n.prototype,$t(r,Se(t,s))),J[n.prop=e]=n,t.targetTest&&(xe.push(n),ui[e]=1),e=(e==="css"?"CSS":e.charAt(0).toUpperCase()+e.substr(1))+"Plugin"}$i(e,n),t.register&&t.register($,n,j)}else cn.push(t)},k=255,oe={aqua:[0,k,k],lime:[0,k,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,k],navy:[0,0,128],white:[k,k,k],olive:[128,128,0],yellow:[k,k,0],orange:[k,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[k,0,0],pink:[k,192,203],cyan:[0,k,k],transparent:[k,k,k,0]},qe=function(t,e,i){return t+=t<0?1:t>1?-1:0,(t*6<1?e+(i-e)*t*6:t<.5?i:t*3<2?e+(i-e)*(2/3-t)*6:e)*k+.5|0},dn=function(t,e,i){var n=t?Tt(t)?[t>>16,t>>8&k,t&k]:0:oe.black,r,s,a,l,u,f,c,_,d,p;if(!n){if(t.substr(-1)===","&&(t=t.substr(0,t.length-1)),oe[t])n=oe[t];else if(t.charAt(0)==="#"){if(t.length<6&&(r=t.charAt(1),s=t.charAt(2),a=t.charAt(3),t="#"+r+r+s+s+a+a+(t.length===5?t.charAt(4)+t.charAt(4):"")),t.length===9)return n=parseInt(t.substr(1,6),16),[n>>16,n>>8&k,n&k,parseInt(t.substr(7),16)/255];t=parseInt(t.substr(1),16),n=[t>>16,t>>8&k,t&k]}else if(t.substr(0,3)==="hsl"){if(n=p=t.match(Qe),!e)l=+n[0]%360/360,u=+n[1]/100,f=+n[2]/100,s=f<=.5?f*(u+1):f+u-f*u,r=f*2-s,n.length>3&&(n[3]*=1),n[0]=qe(l+1/3,r,s),n[1]=qe(l,r,s),n[2]=qe(l-1/3,r,s);else if(~t.indexOf("="))return n=t.match(ai),i&&n.length<4&&(n[3]=1),n}else n=t.match(Qe)||oe.transparent;n=n.map(Number)}return e&&!p&&(r=n[0]/k,s=n[1]/k,a=n[2]/k,c=Math.max(r,s,a),_=Math.min(r,s,a),f=(c+_)/2,c===_?l=u=0:(d=c-_,u=f>.5?d/(2-c-_):d/(c+_),l=c===r?(s-a)/d+(s<a?6:0):c===s?(a-r)/d+2:(r-s)/d+4,l*=60),n[0]=~~(l+.5),n[1]=~~(u*100+.5),n[2]=~~(f*100+.5)),i&&n.length<4&&(n[3]=1),n},pn=function(t){var e=[],i=[],n=-1;return t.split(vt).forEach(function(r){var s=r.match(Ft)||[];e.push.apply(e,s),i.push(n+=s.length+1)}),e.c=i,e},Ui=function(t,e,i){var n="",r=(t+n).match(vt),s=e?"hsla(":"rgba(",a=0,l,u,f,c;if(!r)return t;if(r=r.map(function(_){return(_=dn(_,e,1))&&s+(e?_[0]+","+_[1]+"%,"+_[2]+"%,"+_[3]:_.join(","))+")"}),i&&(f=pn(t),l=i.c,l.join(n)!==f.c.join(n)))for(u=t.replace(vt,"1").split(Ft),c=u.length-1;a<c;a++)n+=u[a]+(~l.indexOf(a)?r.shift()||s+"0,0,0,0)":(f.length?f:r.length?r:i).shift());if(!u)for(u=t.split(vt),c=u.length-1;a<c;a++)n+=u[a]+r[a];return n+u[c]},vt=function(){var o="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",t;for(t in oe)o+="|"+t+"\\b";return new RegExp(o+")","gi")}(),mr=/hsl[a]?\(/,di=function(t){var e=t.join(" "),i;if(vt.lastIndex=0,vt.test(e))return i=mr.test(e),t[1]=Ui(t[1],i),t[0]=Ui(t[0],i,pn(t[1])),!0},_e,tt=function(){var o=Date.now,t=500,e=33,i=o(),n=i,r=1e3/240,s=r,a=[],l,u,f,c,_,d,p=function h(m){var y=o()-n,v=m===!0,T,M,g,x;if((y>t||y<0)&&(i+=y-e),n+=y,g=n-i,T=g-s,(T>0||v)&&(x=++c.frame,_=g-c.time*1e3,c.time=g=g/1e3,s+=T+(T>=r?4:r-T),M=1),v||(l=u(h)),M)for(d=0;d<a.length;d++)a[d](g,_,x,m)};return c={time:0,frame:0,tick:function(){p(!0)},deltaRatio:function(m){return _/(1e3/(m||60))},wake:function(){Wi&&(!$e&&si()&&(_t=$e=window,li=_t.document||{},at.gsap=$,(_t.gsapVersions||(_t.gsapVersions=[])).push($.version),Qi(Ee||_t.GreenSockGlobals||!_t.gsap&&_t||{}),cn.forEach(_n)),f=typeof requestAnimationFrame<"u"&&requestAnimationFrame,l&&c.sleep(),u=f||function(m){return setTimeout(m,s-c.time*1e3+1|0)},_e=1,p(2))},sleep:function(){(f?cancelAnimationFrame:clearTimeout)(l),_e=0,u=ce},lagSmoothing:function(m,y){t=m||1/0,e=Math.min(y||33,t)},fps:function(m){r=1e3/(m||240),s=c.time*1e3+r},add:function(m,y,v){var T=y?function(M,g,x,w){m(M,g,x,w),c.remove(T)}:m;return c.remove(m),a[v?"unshift":"push"](T),Zt(),T},remove:function(m,y){~(y=a.indexOf(m))&&a.splice(y,1)&&d>=y&&d--},_listeners:a},c}(),Zt=function(){return!_e&&tt.wake()},O={},gr=/^[\d.\-M][\d.\-,\s]/,yr=/["']/g,vr=function(t){for(var e={},i=t.substr(1,t.length-3).split(":"),n=i[0],r=1,s=i.length,a,l,u;r<s;r++)l=i[r],a=r!==s-1?l.lastIndexOf(","):l.length,u=l.substr(0,a),e[n]=isNaN(u)?u.replace(yr,"").trim():+u,n=l.substr(a+1).trim();return e},Tr=function(t){var e=t.indexOf("(")+1,i=t.indexOf(")"),n=t.indexOf("(",e);return t.substring(e,~n&&n<i?t.indexOf(")",i+1):i)},Mr=function(t){var e=(t+"").split("("),i=O[e[0]];return i&&e.length>1&&i.config?i.config.apply(null,~t.indexOf("{")?[vr(e[1])]:Tr(t).split(",").map(Zi)):O._CE&&gr.test(t)?O._CE("",t):i},mn=function(t){return function(e){return 1-t(1-e)}},gn=function o(t,e){for(var i=t._first,n;i;)i instanceof X?o(i,e):i.vars.yoyoEase&&(!i._yoyo||!i._repeat)&&i._yoyo!==e&&(i.timeline?o(i.timeline,e):(n=i._ease,i._ease=i._yEase,i._yEase=n,i._yoyo=e)),i=i._next},It=function(t,e){return t&&(I(t)?t:O[t]||Mr(t))||e},Bt=function(t,e,i,n){i===void 0&&(i=function(l){return 1-e(1-l)}),n===void 0&&(n=function(l){return l<.5?e(l*2)/2:1-e((1-l)*2)/2});var r={easeIn:e,easeOut:i,easeInOut:n},s;return K(t,function(a){O[a]=at[a]=r,O[s=a.toLowerCase()]=i;for(var l in r)O[s+(l==="easeIn"?".in":l==="easeOut"?".out":".inOut")]=O[a+"."+l]=r[l]}),r},yn=function(t){return function(e){return e<.5?(1-t(1-e*2))/2:.5+t((e-.5)*2)/2}},Ve=function o(t,e,i){var n=e>=1?e:1,r=(i||(t?.3:.45))/(e<1?e:1),s=r/We*(Math.asin(1/n)||0),a=function(f){return f===1?1:n*Math.pow(2,-10*f)*$n((f-s)*r)+1},l=t==="out"?a:t==="in"?function(u){return 1-a(1-u)}:yn(a);return r=We/r,l.config=function(u,f){return o(t,u,f)},l},Ye=function o(t,e){e===void 0&&(e=1.70158);var i=function(s){return s?--s*s*((e+1)*s+e)+1:0},n=t==="out"?i:t==="in"?function(r){return 1-i(1-r)}:yn(i);return n.config=function(r){return o(t,r)},n};K("Linear,Quad,Cubic,Quart,Quint,Strong",function(o,t){var e=t<5?t+1:t;Bt(o+",Power"+(e-1),t?function(i){return Math.pow(i,e)}:function(i){return i},function(i){return 1-Math.pow(1-i,e)},function(i){return i<.5?Math.pow(i*2,e)/2:1-Math.pow((1-i)*2,e)/2})});O.Linear.easeNone=O.none=O.Linear.easeIn;Bt("Elastic",Ve("in"),Ve("out"),Ve());(function(o,t){var e=1/t,i=2*e,n=2.5*e,r=function(a){return a<e?o*a*a:a<i?o*Math.pow(a-1.5/t,2)+.75:a<n?o*(a-=2.25/t)*a+.9375:o*Math.pow(a-2.625/t,2)+.984375};Bt("Bounce",function(s){return 1-r(1-s)},r)})(7.5625,2.75);Bt("Expo",function(o){return Math.pow(2,10*(o-1))*o+o*o*o*o*o*o*(1-o)});Bt("Circ",function(o){return-(Yi(1-o*o)-1)});Bt("Sine",function(o){return o===1?1:-Qn(o*Gn)+1});Bt("Back",Ye("in"),Ye("out"),Ye());O.SteppedEase=O.steps=at.SteppedEase={config:function(t,e){t===void 0&&(t=1);var i=1/t,n=t+(e?0:1),r=e?1:0,s=1-C;return function(a){return((n*pe(0,s,a)|0)+r)*i}}};Qt.ease=O["quad.out"];K("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(o){return fi+=o+","+o+"Params,"});var pi=function(t,e){this.id=Wn++,t._gsap=this,this.target=t,this.harness=e,this.get=e?e.get:ci,this.set=e?e.getSetter:Re},de=function(){function o(e){this.vars=e,this._delay=+e.delay||0,(this._repeat=e.repeat===1/0?-2:e.repeat||0)&&(this._rDelay=e.repeatDelay||0,this._yoyo=!!e.yoyo||!!e.yoyoEase),this._ts=1,jt(this,+e.duration,1,1),this.data=e.data,D&&(this._ctx=D,D.data.push(this)),_e||tt.wake()}var t=o.prototype;return t.delay=function(i){return i||i===0?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+i-this._delay),this._delay=i,this):this._delay},t.duration=function(i){return arguments.length?this.totalDuration(this._repeat>0?i+(i+this._rDelay)*this._repeat:i):this.totalDuration()&&this._dur},t.totalDuration=function(i){return arguments.length?(this._dirty=0,jt(this,this._repeat<0?i:(i-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},t.totalTime=function(i,n){if(Zt(),!arguments.length)return this._tTime;var r=this._dp;if(r&&r.smoothChildTiming&&this._ts){for(Ne(this,i),!r._dp||r.parent||en(r,this);r&&r.parent;)r.parent._time!==r._start+(r._ts>=0?r._tTime/r._ts:(r.totalDuration()-r._tTime)/-r._ts)&&r.totalTime(r._tTime,!0),r=r.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&i<this._tDur||this._ts<0&&i>0||!this._tDur&&!i)&&dt(this._dp,this,this._start-this._delay)}return(this._tTime!==i||!this._dur&&!n||this._initted&&Math.abs(this._zTime)===C||!i&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=i),ji(this,i,n)),this},t.time=function(i,n){return arguments.length?this.totalTime(Math.min(this.totalDuration(),i+Fi(this))%(this._dur+this._rDelay)||(i?this._dur:0),n):this._time},t.totalProgress=function(i,n){return arguments.length?this.totalTime(this.totalDuration()*i,n):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>=0&&this._initted?1:0},t.progress=function(i,n){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-i:i)+Fi(this),n):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},t.iteration=function(i,n){var r=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(i-1)*r,n):this._repeat?Kt(this._tTime,r)+1:1},t.timeScale=function(i,n){if(!arguments.length)return this._rts===-C?0:this._rts;if(this._rts===i)return this;var r=this.parent&&this._ts?ke(this.parent._time,this):this._tTime;return this._rts=+i||0,this._ts=this._ps||i===-C?0:this._rts,this.totalTime(pe(-Math.abs(this._delay),this.totalDuration(),r),n!==!1),De(this),ir(this)},t.paused=function(i){return arguments.length?(this._ps!==i&&(this._ps=i,i?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(Zt(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==C&&(this._tTime-=C)))),this):this._ps},t.startTime=function(i){if(arguments.length){this._start=i;var n=this.parent||this._dp;return n&&(n._sort||!this.parent)&&dt(n,this,i-this._delay),this}return this._start},t.endTime=function(i){return this._start+(et(i)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},t.rawTime=function(i){var n=this.parent||this._dp;return n?i&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?ke(n.rawTime(i),this):this._tTime:this._tTime},t.revert=function(i){i===void 0&&(i=Zn);var n=G;return G=i,_i(this)&&(this.timeline&&this.timeline.revert(i),this.totalTime(-.01,i.suppressEvents)),this.data!=="nested"&&i.kill!==!1&&this.kill(),G=n,this},t.globalTime=function(i){for(var n=this,r=arguments.length?i:n.rawTime();n;)r=n._start+r/(Math.abs(n._ts)||1),n=n._dp;return!this.parent&&this._sat?this._sat.globalTime(i):r},t.repeat=function(i){return arguments.length?(this._repeat=i===1/0?-2:i,Hi(this)):this._repeat===-2?1/0:this._repeat},t.repeatDelay=function(i){if(arguments.length){var n=this._time;return this._rDelay=i,Hi(this),n?this.time(n):this}return this._rDelay},t.yoyo=function(i){return arguments.length?(this._yoyo=i,this):this._yoyo},t.seek=function(i,n){return this.totalTime(lt(this,i),et(n))},t.restart=function(i,n){return this.play().totalTime(i?-this._delay:0,et(n)),this._dur||(this._zTime=-C),this},t.play=function(i,n){return i!=null&&this.seek(i,n),this.reversed(!1).paused(!1)},t.reverse=function(i,n){return i!=null&&this.seek(i||this.totalDuration(),n),this.reversed(!0).paused(!1)},t.pause=function(i,n){return i!=null&&this.seek(i,n),this.paused(!0)},t.resume=function(){return this.paused(!1)},t.reversed=function(i){return arguments.length?(!!i!==this.reversed()&&this.timeScale(-this._rts||(i?-C:0)),this):this._rts<0},t.invalidate=function(){return this._initted=this._act=0,this._zTime=-C,this},t.isActive=function(){var i=this.parent||this._dp,n=this._start,r;return!!(!i||this._ts&&this._initted&&i.isActive()&&(r=i.rawTime(!0))>=n&&r<this.endTime(!0)-C)},t.eventCallback=function(i,n,r){var s=this.vars;return arguments.length>1?(n?(s[i]=n,r&&(s[i+"Params"]=r),i==="onUpdate"&&(this._onUpdate=n)):delete s[i],this):s[i]},t.then=function(i){var n=this;return new Promise(function(r){var s=I(i)?i:Ji,a=function(){var u=n.then;n.then=null,I(s)&&(s=s(n))&&(s.then||s===n)&&(n.then=u),r(s),n.then=u};n._initted&&n.totalProgress()===1&&n._ts>=0||!n._tTime&&n._ts<0?a():n._prom=a})},t.kill=function(){ae(this)},o}();ot(de.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:-C,_prom:0,_ps:!1,_rts:1});var X=function(o){Vi(t,o);function t(i,n){var r;return i===void 0&&(i={}),r=o.call(this,i)||this,r.labels={},r.smoothChildTiming=!!i.smoothChildTiming,r.autoRemoveChildren=!!i.autoRemoveChildren,r._sort=et(i.sortChildren),N&&dt(i.parent||N,yt(r),n),i.reversed&&r.reverse(),i.paused&&r.paused(!0),i.scrollTrigger&&nn(yt(r),i.scrollTrigger),r}var e=t.prototype;return e.to=function(n,r,s){return ue(0,arguments,this),this},e.from=function(n,r,s){return ue(1,arguments,this),this},e.fromTo=function(n,r,s,a){return ue(2,arguments,this),this},e.set=function(n,r,s){return r.duration=0,r.parent=this,le(r).repeatDelay||(r.repeat=0),r.immediateRender=!!r.immediateRender,new F(n,r,lt(this,s),1),this},e.call=function(n,r,s){return dt(this,F.delayedCall(0,n,r),s)},e.staggerTo=function(n,r,s,a,l,u,f){return s.duration=r,s.stagger=s.stagger||a,s.onComplete=u,s.onCompleteParams=f,s.parent=this,new F(n,s,lt(this,l)),this},e.staggerFrom=function(n,r,s,a,l,u,f){return s.runBackwards=1,le(s).immediateRender=et(s.immediateRender),this.staggerTo(n,r,s,a,l,u,f)},e.staggerFromTo=function(n,r,s,a,l,u,f,c){return a.startAt=s,le(a).immediateRender=et(a.immediateRender),this.staggerTo(n,r,a,l,u,f,c)},e.render=function(n,r,s){var a=this._time,l=this._dirty?this.totalDuration():this._tDur,u=this._dur,f=n<=0?0:B(n),c=this._zTime<0!=n<0&&(this._initted||!u),_,d,p,h,m,y,v,T,M,g,x,w;if(this!==N&&f>l&&n>=0&&(f=l),f!==this._tTime||s||c){if(a!==this._time&&u&&(f+=this._time-a,n+=this._time-a),_=f,M=this._start,T=this._ts,y=!T,c&&(u||(a=this._zTime),(n||!r)&&(this._zTime=n)),this._repeat){if(x=this._yoyo,m=u+this._rDelay,this._repeat<-1&&n<0)return this.totalTime(m*100+n,r,s);if(_=B(f%m),f===l?(h=this._repeat,_=u):(g=B(f/m),h=~~g,h&&h===g&&(_=u,h--),_>u&&(_=u)),g=Kt(this._tTime,m),!a&&this._tTime&&g!==h&&this._tTime-g*m-this._dur<=0&&(g=h),x&&h&1&&(_=u-_,w=1),h!==g&&!this._lock){var E=x&&g&1,b=E===(x&&h&1);if(h<g&&(E=!E),a=E?0:f%u?u:f,this._lock=1,this.render(a||(w?0:B(h*m)),r,!u)._lock=0,this._tTime=f,!r&&this.parent&&st(this,"onRepeat"),this.vars.repeatRefresh&&!w&&(this.invalidate()._lock=1),a&&a!==this._time||y!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(u=this._dur,l=this._tDur,b&&(this._lock=2,a=E?u:-1e-4,this.render(a,!0),this.vars.repeatRefresh&&!w&&this.invalidate()),this._lock=0,!this._ts&&!y)return this;gn(this,w)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(v=ar(this,B(a),B(_)),v&&(f-=_-(_=v._start))),this._tTime=f,this._time=_,this._act=!T,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=n,a=0),!a&&f&&!r&&!g&&(st(this,"onStart"),this._tTime!==f))return this;if(_>=a&&n>=0)for(d=this._first;d;){if(p=d._next,(d._act||_>=d._start)&&d._ts&&v!==d){if(d.parent!==this)return this.render(n,r,s);if(d.render(d._ts>0?(_-d._start)*d._ts:(d._dirty?d.totalDuration():d._tDur)+(_-d._start)*d._ts,r,s),_!==this._time||!this._ts&&!y){v=0,p&&(f+=this._zTime=-C);break}}d=p}else{d=this._last;for(var S=n<0?n:_;d;){if(p=d._prev,(d._act||S<=d._end)&&d._ts&&v!==d){if(d.parent!==this)return this.render(n,r,s);if(d.render(d._ts>0?(S-d._start)*d._ts:(d._dirty?d.totalDuration():d._tDur)+(S-d._start)*d._ts,r,s||G&&_i(d)),_!==this._time||!this._ts&&!y){v=0,p&&(f+=this._zTime=S?-C:C);break}}d=p}}if(v&&!r&&(this.pause(),v.render(_>=a?0:-C)._zTime=_>=a?1:-1,this._ts))return this._start=M,De(this),this.render(n,r,s);this._onUpdate&&!r&&st(this,"onUpdate",!0),(f===l&&this._tTime>=this.totalDuration()||!f&&a)&&(M===this._start||Math.abs(T)!==Math.abs(this._ts))&&(this._lock||((n||!u)&&(f===l&&this._ts>0||!f&&this._ts<0)&&St(this,1),!r&&!(n<0&&!a)&&(f||a||!l)&&(st(this,f===l&&n>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(f<l&&this.timeScale()>0)&&this._prom())))}return this},e.add=function(n,r){var s=this;if(Tt(r)||(r=lt(this,r,n)),!(n instanceof de)){if(Q(n))return n.forEach(function(a){return s.add(a,r)}),this;if(U(n))return this.addLabel(n,r);if(I(n))n=F.delayedCall(0,n);else return this}return this!==n?dt(this,n,r):this},e.getChildren=function(n,r,s,a){n===void 0&&(n=!0),r===void 0&&(r=!0),s===void 0&&(s=!0),a===void 0&&(a=-ut);for(var l=[],u=this._first;u;)u._start>=a&&(u instanceof F?r&&l.push(u):(s&&l.push(u),n&&l.push.apply(l,u.getChildren(!0,r,s)))),u=u._next;return l},e.getById=function(n){for(var r=this.getChildren(1,1,1),s=r.length;s--;)if(r[s].vars.id===n)return r[s]},e.remove=function(n){return U(n)?this.removeLabel(n):I(n)?this.killTweensOf(n):(n.parent===this&&Ae(this,n),n===this._recent&&(this._recent=this._last),Rt(this))},e.totalTime=function(n,r){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=B(tt.time-(this._ts>0?n/this._ts:(this.totalDuration()-n)/-this._ts))),o.prototype.totalTime.call(this,n,r),this._forcing=0,this):this._tTime},e.addLabel=function(n,r){return this.labels[n]=lt(this,r),this},e.removeLabel=function(n){return delete this.labels[n],this},e.addPause=function(n,r,s){var a=F.delayedCall(0,r||ce,s);return a.data="isPause",this._hasPause=1,dt(this,a,lt(this,n))},e.removePause=function(n){var r=this._first;for(n=lt(this,n);r;)r._start===n&&r.data==="isPause"&&St(r),r=r._next},e.killTweensOf=function(n,r,s){for(var a=this.getTweensOf(n,s),l=a.length;l--;)wt!==a[l]&&a[l].kill(n,r);return this},e.getTweensOf=function(n,r){for(var s=[],a=ft(n),l=this._first,u=Tt(r),f;l;)l instanceof F?Jn(l._targets,a)&&(u?(!wt||l._initted&&l._ts)&&l.globalTime(0)<=r&&l.globalTime(l.totalDuration())>r:!r||l.isActive())&&s.push(l):(f=l.getTweensOf(a,r)).length&&s.push.apply(s,f),l=l._next;return s},e.tweenTo=function(n,r){r=r||{};var s=this,a=lt(s,n),l=r,u=l.startAt,f=l.onStart,c=l.onStartParams,_=l.immediateRender,d,p=F.to(s,ot({ease:r.ease||"none",lazy:!1,immediateRender:!1,time:a,overwrite:"auto",duration:r.duration||Math.abs((a-(u&&"time"in u?u.time:s._time))/s.timeScale())||C,onStart:function(){if(s.pause(),!d){var m=r.duration||Math.abs((a-(u&&"time"in u?u.time:s._time))/s.timeScale());p._dur!==m&&jt(p,m,0,1).render(p._time,!0,!0),d=1}f&&f.apply(p,c||[])}},r));return _?p.render(0):p},e.tweenFromTo=function(n,r,s){return this.tweenTo(r,ot({startAt:{time:lt(this,n)}},s))},e.recent=function(){return this._recent},e.nextLabel=function(n){return n===void 0&&(n=this._time),Bi(this,lt(this,n))},e.previousLabel=function(n){return n===void 0&&(n=this._time),Bi(this,lt(this,n),1)},e.currentLabel=function(n){return arguments.length?this.seek(n,!0):this.previousLabel(this._time+C)},e.shiftChildren=function(n,r,s){s===void 0&&(s=0);for(var a=this._first,l=this.labels,u;a;)a._start>=s&&(a._start+=n,a._end+=n),a=a._next;if(r)for(u in l)l[u]>=s&&(l[u]+=n);return Rt(this)},e.invalidate=function(n){var r=this._first;for(this._lock=0;r;)r.invalidate(n),r=r._next;return o.prototype.invalidate.call(this,n)},e.clear=function(n){n===void 0&&(n=!0);for(var r=this._first,s;r;)s=r._next,this.remove(r),r=s;return this._dp&&(this._time=this._tTime=this._pTime=0),n&&(this.labels={}),Rt(this)},e.totalDuration=function(n){var r=0,s=this,a=s._last,l=ut,u,f,c;if(arguments.length)return s.timeScale((s._repeat<0?s.duration():s.totalDuration())/(s.reversed()?-n:n));if(s._dirty){for(c=s.parent;a;)u=a._prev,a._dirty&&a.totalDuration(),f=a._start,f>l&&s._sort&&a._ts&&!s._lock?(s._lock=1,dt(s,a,f-a._delay,1)._lock=0):l=f,f<0&&a._ts&&(r-=f,(!c&&!s._dp||c&&c.smoothChildTiming)&&(s._start+=f/s._ts,s._time-=f,s._tTime-=f),s.shiftChildren(-f,!1,-1/0),l=0),a._end>r&&a._ts&&(r=a._end),a=u;jt(s,s===N&&s._time>r?s._time:r,1,1),s._dirty=0}return s._tDur},t.updateRoot=function(n){if(N._ts&&(ji(N,ke(n,N)),Ki=tt.frame),tt.frame>=Ii){Ii+=it.autoSleep||120;var r=N._first;if((!r||!r._ts)&&it.autoSleep&&tt._listeners.length<2){for(;r&&!r._ts;)r=r._next;r||tt.sleep()}}},t}(de);ot(X.prototype,{_lock:0,_hasPause:0,_forcing:0});var br=function(t,e,i,n,r,s,a){var l=new j(this._pt,t,e,0,1,Ti,null,r),u=0,f=0,c,_,d,p,h,m,y,v;for(l.b=i,l.e=n,i+="",n+="",(y=~n.indexOf("random("))&&(n=Jt(n)),s&&(v=[i,n],s(v,t,e),i=v[0],n=v[1]),_=i.match(Be)||[];c=Be.exec(n);)p=c[0],h=n.substring(u,c.index),d?d=(d+1)%5:h.substr(-5)==="rgba("&&(d=1),p!==_[f++]&&(m=parseFloat(_[f-1])||0,l._pt={_next:l._pt,p:h||f===1?h:",",s:m,c:p.charAt(1)==="="?Ht(m,p)-m:parseFloat(p)-m,m:d&&d<4?Math.round:0},u=Be.lastIndex);return l.c=u<n.length?n.substring(u,n.length):"",l.fp=a,(oi.test(n)||y)&&(l.e=0),this._pt=l,l},mi=function(t,e,i,n,r,s,a,l,u,f){I(n)&&(n=n(r||0,t,s));var c=t[e],_=i!=="get"?i:I(c)?u?t[e.indexOf("set")||!I(t["get"+e.substr(3)])?e:"get"+e.substr(3)](u):t[e]():c,d=I(c)?u?Sr:Mn:vi,p;if(U(n)&&(~n.indexOf("random(")&&(n=Jt(n)),n.charAt(1)==="="&&(p=Ht(_,n)+(W(_)||0),(p||p===0)&&(n=p))),!f||_!==n||ii)return!isNaN(_*n)&&n!==""?(p=new j(this._pt,t,e,+_||0,n-(_||0),typeof c=="boolean"?Cr:bn,0,d),u&&(p.fp=u),a&&p.modifier(a,this,t),this._pt=p):(!c&&!(e in t)&&Le(e,n),br.call(this,t,e,_,n,d,l||it.stringFilter,u))},xr=function(t,e,i,n,r){if(I(t)&&(t=fe(t,r,e,i,n)),!pt(t)||t.style&&t.nodeType||Q(t)||Xi(t))return U(t)?fe(t,r,e,i,n):t;var s={},a;for(a in t)s[a]=fe(t[a],r,e,i,n);return s},gi=function(t,e,i,n,r,s){var a,l,u,f;if(J[t]&&(a=new J[t]).init(r,a.rawVars?e[t]:xr(e[t],n,r,s,i),i,n,s)!==!1&&(i._pt=l=new j(i._pt,r,t,0,1,a.render,a,0,a.priority),i!==Wt))for(u=i._ptLookup[i._targets.indexOf(r)],f=a._props.length;f--;)u[a._props[f]]=l;return a},wt,ii,yi=function o(t,e,i){var n=t.vars,r=n.ease,s=n.startAt,a=n.immediateRender,l=n.lazy,u=n.onUpdate,f=n.runBackwards,c=n.yoyoEase,_=n.keyframes,d=n.autoRevert,p=t._dur,h=t._startAt,m=t._targets,y=t.parent,v=y&&y.data==="nested"?y.vars.targets:m,T=t._overwrite==="auto"&&!ri,M=t.timeline,g,x,w,E,b,S,A,P,L,Y,q,H,V;if(M&&(!_||!r)&&(r="none"),t._ease=It(r,Qt.ease),t._yEase=c?mn(It(c===!0?r:c,Qt.ease)):0,c&&t._yoyo&&!t._repeat&&(c=t._yEase,t._yEase=t._ease,t._ease=c),t._from=!M&&!!n.runBackwards,!M||_&&!n.stagger){if(P=m[0]?Ot(m[0]).harness:0,H=P&&n[P.prop],g=Se(n,ui),h&&(h._zTime<0&&h.progress(1),e<0&&f&&a&&!d?h.render(-1,!0):h.revert(f&&p?be:jn),h._lazy=0),s){if(St(t._startAt=F.set(m,ot({data:"isStart",overwrite:!1,parent:y,immediateRender:!0,lazy:!h&&et(l),startAt:null,delay:0,onUpdate:u&&function(){return st(t,"onUpdate")},stagger:0},s))),t._startAt._dp=0,t._startAt._sat=t,e<0&&(G||!a&&!d)&&t._startAt.revert(be),a&&p&&e<=0&&i<=0){e&&(t._zTime=e);return}}else if(f&&p&&!h){if(e&&(a=!1),w=ot({overwrite:!1,data:"isFromStart",lazy:a&&!h&&et(l),immediateRender:a,stagger:0,parent:y},g),H&&(w[P.prop]=H),St(t._startAt=F.set(m,w)),t._startAt._dp=0,t._startAt._sat=t,e<0&&(G?t._startAt.revert(be):t._startAt.render(-1,!0)),t._zTime=e,!a)o(t._startAt,C,C);else if(!e)return}for(t._pt=t._ptCache=0,l=p&&et(l)||l&&!p,x=0;x<m.length;x++){if(b=m[x],A=b._gsap||hi(m)[x]._gsap,t._ptLookup[x]=Y={},Ke[A.id]&&Et.length&&Oe(),q=v===m?x:v.indexOf(b),P&&(L=new P).init(b,H||g,t,q,v)!==!1&&(t._pt=E=new j(t._pt,b,L.name,0,1,L.render,L,0,L.priority),L._props.forEach(function(ct){Y[ct]=E}),L.priority&&(S=1)),!P||H)for(w in g)J[w]&&(L=gi(w,g,t,q,b,v))?L.priority&&(S=1):Y[w]=E=mi.call(t,b,w,"get",g[w],q,v,0,n.stringFilter);t._op&&t._op[x]&&t.kill(b,t._op[x]),T&&t._pt&&(wt=t,N.killTweensOf(b,Y,t.globalTime(e)),V=!t.parent,wt=0),t._pt&&l&&(Ke[A.id]=1)}S&&bi(t),t._onInit&&t._onInit(t)}t._onUpdate=u,t._initted=(!t._op||t._pt)&&!V,_&&e<=0&&M.render(ut,!0,!0)},wr=function(t,e,i,n,r,s,a,l){var u=(t._pt&&t._ptCache||(t._ptCache={}))[e],f,c,_,d;if(!u)for(u=t._ptCache[e]=[],_=t._ptLookup,d=t._targets.length;d--;){if(f=_[d][e],f&&f.d&&f.d._pt)for(f=f.d._pt;f&&f.p!==e&&f.fp!==e;)f=f._next;if(!f)return ii=1,t.vars[e]="+=0",yi(t,a),ii=0,l?he(e+" not eligible for reset"):1;u.push(f)}for(d=u.length;d--;)c=u[d],f=c._pt||c,f.s=(n||n===0)&&!r?n:f.s+(n||0)+s*f.c,f.c=i-f.s,c.e&&(c.e=z(i)+W(c.e)),c.b&&(c.b=f.s+W(c.b))},Er=function(t,e){var i=t[0]?Ot(t[0]).harness:0,n=i&&i.aliases,r,s,a,l;if(!n)return e;r=$t({},e);for(s in n)if(s in r)for(l=n[s].split(","),a=l.length;a--;)r[l[a]]=r[s];return r},Or=function(t,e,i,n){var r=e.ease||n||"power1.inOut",s,a;if(Q(e))a=i[t]||(i[t]=[]),e.forEach(function(l,u){return a.push({t:u/(e.length-1)*100,v:l,e:r})});else for(s in e)a=i[s]||(i[s]=[]),s==="ease"||a.push({t:parseFloat(t),v:e[s],e:r})},fe=function(t,e,i,n,r){return I(t)?t.call(e,i,n,r):U(t)&&~t.indexOf("random(")?Jt(t):t},vn=fi+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",Tn={};K(vn+",id,stagger,delay,duration,paused,scrollTrigger",function(o){return Tn[o]=1});var F=function(o){Vi(t,o);function t(i,n,r,s){var a;typeof n=="number"&&(r.duration=n,n=r,r=null),a=o.call(this,s?n:le(n))||this;var l=a.vars,u=l.duration,f=l.delay,c=l.immediateRender,_=l.stagger,d=l.overwrite,p=l.keyframes,h=l.defaults,m=l.scrollTrigger,y=l.yoyoEase,v=n.parent||N,T=(Q(i)||Xi(i)?Tt(i[0]):"length"in n)?[i]:ft(i),M,g,x,w,E,b,S,A;if(a._targets=T.length?hi(T):he("GSAP target "+i+" not found. https://gsap.com",!it.nullTargetWarn)||[],a._ptLookup=[],a._overwrite=d,p||_||Me(u)||Me(f)){if(n=a.vars,M=a.timeline=new X({data:"nested",defaults:h||{},targets:v&&v.data==="nested"?v.vars.targets:T}),M.kill(),M.parent=M._dp=yt(a),M._start=0,_||Me(u)||Me(f)){if(w=T.length,S=_&&on(_),pt(_))for(E in _)~vn.indexOf(E)&&(A||(A={}),A[E]=_[E]);for(g=0;g<w;g++)x=Se(n,Tn),x.stagger=0,y&&(x.yoyoEase=y),A&&$t(x,A),b=T[g],x.duration=+fe(u,yt(a),g,b,T),x.delay=(+fe(f,yt(a),g,b,T)||0)-a._delay,!_&&w===1&&x.delay&&(a._delay=f=x.delay,a._start+=f,x.delay=0),M.to(b,x,S?S(g,b,T):0),M._ease=O.none;M.duration()?u=f=0:a.timeline=0}else if(p){le(ot(M.vars.defaults,{ease:"none"})),M._ease=It(p.ease||n.ease||"none");var P=0,L,Y,q;if(Q(p))p.forEach(function(H){return M.to(T,H,">")}),M.duration();else{x={};for(E in p)E==="ease"||E==="easeEach"||Or(E,p[E],x,p.easeEach);for(E in x)for(L=x[E].sort(function(H,V){return H.t-V.t}),P=0,g=0;g<L.length;g++)Y=L[g],q={ease:Y.e,duration:(Y.t-(g?L[g-1].t:0))/100*u},q[E]=Y.v,M.to(T,q,P),P+=q.duration;M.duration()<u&&M.to({},{duration:u-M.duration()})}}u||a.duration(u=M.duration())}else a.timeline=0;return d===!0&&!ri&&(wt=yt(a),N.killTweensOf(T),wt=0),dt(v,yt(a),r),n.reversed&&a.reverse(),n.paused&&a.paused(!0),(c||!u&&!p&&a._start===B(v._time)&&et(c)&&nr(yt(a))&&v.data!=="nested")&&(a._tTime=-C,a.render(Math.max(0,-f)||0)),m&&nn(yt(a),m),a}var e=t.prototype;return e.render=function(n,r,s){var a=this._time,l=this._tDur,u=this._dur,f=n<0,c=n>l-C&&!f?l:n<C?0:n,_,d,p,h,m,y,v,T,M;if(!u)sr(this,n,r,s);else if(c!==this._tTime||!n||s||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==f||this._lazy){if(_=c,T=this.timeline,this._repeat){if(h=u+this._rDelay,this._repeat<-1&&f)return this.totalTime(h*100+n,r,s);if(_=B(c%h),c===l?(p=this._repeat,_=u):(m=B(c/h),p=~~m,p&&p===m?(_=u,p--):_>u&&(_=u)),y=this._yoyo&&p&1,y&&(M=this._yEase,_=u-_),m=Kt(this._tTime,h),_===a&&!s&&this._initted&&p===m)return this._tTime=c,this;p!==m&&(T&&this._yEase&&gn(T,y),this.vars.repeatRefresh&&!y&&!this._lock&&_!==h&&this._initted&&(this._lock=s=1,this.render(B(h*p),!0).invalidate()._lock=0))}if(!this._initted){if(rn(this,f?n:_,s,r,c))return this._tTime=0,this;if(a!==this._time&&!(s&&this.vars.repeatRefresh&&p!==m))return this;if(u!==this._dur)return this.render(n,r,s)}if(this._tTime=c,this._time=_,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=v=(M||this._ease)(_/u),this._from&&(this.ratio=v=1-v),!a&&c&&!r&&!m&&(st(this,"onStart"),this._tTime!==c))return this;for(d=this._pt;d;)d.r(v,d.d),d=d._next;T&&T.render(n<0?n:T._dur*T._ease(_/this._dur),r,s)||this._startAt&&(this._zTime=n),this._onUpdate&&!r&&(f&&je(this,n,r,s),st(this,"onUpdate")),this._repeat&&p!==m&&this.vars.onRepeat&&!r&&this.parent&&st(this,"onRepeat"),(c===this._tDur||!c)&&this._tTime===c&&(f&&!this._onUpdate&&je(this,n,!0,!0),(n||!u)&&(c===this._tDur&&this._ts>0||!c&&this._ts<0)&&St(this,1),!r&&!(f&&!a)&&(c||a||y)&&(st(this,c===l?"onComplete":"onReverseComplete",!0),this._prom&&!(c<l&&this.timeScale()>0)&&this._prom()))}return this},e.targets=function(){return this._targets},e.invalidate=function(n){return(!n||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(n),o.prototype.invalidate.call(this,n)},e.resetTo=function(n,r,s,a,l){_e||tt.wake(),this._ts||this.play();var u=Math.min(this._dur,(this._dp._time-this._start)*this._ts),f;return this._initted||yi(this,u),f=this._ease(u/this._dur),wr(this,n,r,s,a,f,u,l)?this.resetTo(n,r,s,a,1):(Ne(this,0),this.parent||tn(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},e.kill=function(n,r){if(r===void 0&&(r="all"),!n&&(!r||r==="all"))return this._lazy=this._pt=0,this.parent?ae(this):this.scrollTrigger&&this.scrollTrigger.kill(!!G),this;if(this.timeline){var s=this.timeline.totalDuration();return this.timeline.killTweensOf(n,r,wt&&wt.vars.overwrite!==!0)._first||ae(this),this.parent&&s!==this.timeline.totalDuration()&&jt(this,this._dur*this.timeline._tDur/s,0,1),this}var a=this._targets,l=n?ft(n):a,u=this._ptLookup,f=this._pt,c,_,d,p,h,m,y;if((!r||r==="all")&&er(a,l))return r==="all"&&(this._pt=0),ae(this);for(c=this._op=this._op||[],r!=="all"&&(U(r)&&(h={},K(r,function(v){return h[v]=1}),r=h),r=Er(a,r)),y=a.length;y--;)if(~l.indexOf(a[y])){_=u[y],r==="all"?(c[y]=r,p=_,d={}):(d=c[y]=c[y]||{},p=r);for(h in p)m=_&&_[h],m&&((!("kill"in m.d)||m.d.kill(h)===!0)&&Ae(this,m,"_pt"),delete _[h]),d!=="all"&&(d[h]=1)}return this._initted&&!this._pt&&f&&ae(this),this},t.to=function(n,r){return new t(n,r,arguments[2])},t.from=function(n,r){return ue(1,arguments)},t.delayedCall=function(n,r,s,a){return new t(r,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:n,onComplete:r,onReverseComplete:r,onCompleteParams:s,onReverseCompleteParams:s,callbackScope:a})},t.fromTo=function(n,r,s){return ue(2,arguments)},t.set=function(n,r){return r.duration=0,r.repeatDelay||(r.repeat=0),new t(n,r)},t.killTweensOf=function(n,r,s){return N.killTweensOf(n,r,s)},t}(de);ot(F.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});K("staggerTo,staggerFrom,staggerFromTo",function(o){F[o]=function(){var t=new X,e=Je.call(arguments,0);return e.splice(o==="staggerFromTo"?5:4,0,0),t[o].apply(t,e)}});var vi=function(t,e,i){return t[e]=i},Mn=function(t,e,i){return t[e](i)},Sr=function(t,e,i,n){return t[e](n.fp,i)},kr=function(t,e,i){return t.setAttribute(e,i)},Re=function(t,e){return I(t[e])?Mn:Pe(t[e])&&t.setAttribute?kr:vi},bn=function(t,e){return e.set(e.t,e.p,Math.round((e.s+e.c*t)*1e6)/1e6,e)},Cr=function(t,e){return e.set(e.t,e.p,!!(e.s+e.c*t),e)},Ti=function(t,e){var i=e._pt,n="";if(!t&&e.b)n=e.b;else if(t===1&&e.e)n=e.e;else{for(;i;)n=i.p+(i.m?i.m(i.s+i.c*t):Math.round((i.s+i.c*t)*1e4)/1e4)+n,i=i._next;n+=e.c}e.set(e.t,e.p,n,e)},Mi=function(t,e){for(var i=e._pt;i;)i.r(t,i.d),i=i._next},Pr=function(t,e,i,n){for(var r=this._pt,s;r;)s=r._next,r.p===n&&r.modifier(t,e,i),r=s},Lr=function(t){for(var e=this._pt,i,n;e;)n=e._next,e.p===t&&!e.op||e.op===t?Ae(this,e,"_pt"):e.dep||(i=1),e=n;return!i},Ar=function(t,e,i,n){n.mSet(t,e,n.m.call(n.tween,i,n.mt),n)},bi=function(t){for(var e=t._pt,i,n,r,s;e;){for(i=e._next,n=r;n&&n.pr>e.pr;)n=n._next;(e._prev=n?n._prev:s)?e._prev._next=e:r=e,(e._next=n)?n._prev=e:s=e,e=i}t._pt=r},j=function(){function o(e,i,n,r,s,a,l,u,f){this.t=i,this.s=r,this.c=s,this.p=n,this.r=a||bn,this.d=l||this,this.set=u||vi,this.pr=f||0,this._next=e,e&&(e._prev=this)}var t=o.prototype;return t.modifier=function(i,n,r){this.mSet=this.mSet||this.set,this.set=Ar,this.m=i,this.mt=r,this.tween=n},o}();K(fi+"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(o){return ui[o]=1});at.TweenMax=at.TweenLite=F;at.TimelineLite=at.TimelineMax=X;N=new X({sortChildren:!1,defaults:Qt,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0});it.stringFilter=di;var zt=[],we={},Dr=[],qi=0,Nr=0,Xe=function(t){return(we[t]||Dr).map(function(e){return e()})},ni=function(){var t=Date.now(),e=[];t-qi>2&&(Xe("matchMediaInit"),zt.forEach(function(i){var n=i.queries,r=i.conditions,s,a,l,u;for(a in n)s=_t.matchMedia(n[a]).matches,s&&(l=1),s!==r[a]&&(r[a]=s,u=1);u&&(i.revert(),l&&e.push(i))}),Xe("matchMediaRevert"),e.forEach(function(i){return i.onMatch(i,function(n){return i.add(null,n)})}),qi=t,Xe("matchMedia"))},xn=function(){function o(e,i){this.selector=i&&ti(i),this.data=[],this._r=[],this.isReverted=!1,this.id=Nr++,e&&this.add(e)}var t=o.prototype;return t.add=function(i,n,r){I(i)&&(r=n,n=i,i=I);var s=this,a=function(){var u=D,f=s.selector,c;return u&&u!==s&&u.data.push(s),r&&(s.selector=ti(r)),D=s,c=n.apply(s,arguments),I(c)&&s._r.push(c),D=u,s.selector=f,s.isReverted=!1,c};return s.last=a,i===I?a(s,function(l){return s.add(null,l)}):i?s[i]=a:a},t.ignore=function(i){var n=D;D=null,i(this),D=n},t.getTweens=function(){var i=[];return this.data.forEach(function(n){return n instanceof o?i.push.apply(i,n.getTweens()):n instanceof F&&!(n.parent&&n.parent.data==="nested")&&i.push(n)}),i},t.clear=function(){this._r.length=this.data.length=0},t.kill=function(i,n){var r=this;if(i?function(){for(var a=r.getTweens(),l=r.data.length,u;l--;)u=r.data[l],u.data==="isFlip"&&(u.revert(),u.getChildren(!0,!0,!1).forEach(function(f){return a.splice(a.indexOf(f),1)}));for(a.map(function(f){return{g:f._dur||f._delay||f._sat&&!f._sat.vars.immediateRender?f.globalTime(0):-1/0,t:f}}).sort(function(f,c){return c.g-f.g||-1/0}).forEach(function(f){return f.t.revert(i)}),l=r.data.length;l--;)u=r.data[l],u instanceof X?u.data!=="nested"&&(u.scrollTrigger&&u.scrollTrigger.revert(),u.kill()):!(u instanceof F)&&u.revert&&u.revert(i);r._r.forEach(function(f){return f(i,r)}),r.isReverted=!0}():this.data.forEach(function(a){return a.kill&&a.kill()}),this.clear(),n)for(var s=zt.length;s--;)zt[s].id===this.id&&zt.splice(s,1)},t.revert=function(i){this.kill(i||{})},o}(),Rr=function(){function o(e){this.contexts=[],this.scope=e,D&&D.data.push(this)}var t=o.prototype;return t.add=function(i,n,r){pt(i)||(i={matches:i});var s=new xn(0,r||this.scope),a=s.conditions={},l,u,f;D&&!s.selector&&(s.selector=D.selector),this.contexts.push(s),n=s.add("onMatch",n),s.queries=i;for(u in i)u==="all"?f=1:(l=_t.matchMedia(i[u]),l&&(zt.indexOf(s)<0&&zt.push(s),(a[u]=l.matches)&&(f=1),l.addListener?l.addListener(ni):l.addEventListener("change",ni)));return f&&n(s,function(c){return s.add(null,c)}),this},t.revert=function(i){this.kill(i||{})},t.kill=function(i){this.contexts.forEach(function(n){return n.kill(i,!0)})},o}(),Ce={registerPlugin:function(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];e.forEach(function(n){return _n(n)})},timeline:function(t){return new X(t)},getTweensOf:function(t,e){return N.getTweensOf(t,e)},getProperty:function(t,e,i,n){U(t)&&(t=ft(t)[0]);var r=Ot(t||{}).get,s=i?Ji:Zi;return i==="native"&&(i=""),t&&(e?s((J[e]&&J[e].get||r)(t,e,i,n)):function(a,l,u){return s((J[a]&&J[a].get||r)(t,a,l,u))})},quickSetter:function(t,e,i){if(t=ft(t),t.length>1){var n=t.map(function(f){return $.quickSetter(f,e,i)}),r=n.length;return function(f){for(var c=r;c--;)n[c](f)}}t=t[0]||{};var s=J[e],a=Ot(t),l=a.harness&&(a.harness.aliases||{})[e]||e,u=s?function(f){var c=new s;Wt._pt=0,c.init(t,i?f+i:f,Wt,0,[t]),c.render(1,c),Wt._pt&&Mi(1,Wt)}:a.set(t,l);return s?u:function(f){return u(t,l,i?f+i:f,a,1)}},quickTo:function(t,e,i){var n,r=$.to(t,ot((n={},n[e]="+=0.1",n.paused=!0,n.stagger=0,n),i||{})),s=function(l,u,f){return r.resetTo(e,l,u,f)};return s.tween=r,s},isTweening:function(t){return N.getTweensOf(t,!0).length>0},defaults:function(t){return t&&t.ease&&(t.ease=It(t.ease,Qt.ease)),zi(Qt,t||{})},config:function(t){return zi(it,t||{})},registerEffect:function(t){var e=t.name,i=t.effect,n=t.plugins,r=t.defaults,s=t.extendTimeline;(n||"").split(",").forEach(function(a){return a&&!J[a]&&!at[a]&&he(e+" effect requires "+a+" plugin.")}),Ue[e]=function(a,l,u){return i(ft(a),ot(l||{},r),u)},s&&(X.prototype[e]=function(a,l,u){return this.add(Ue[e](a,pt(l)?l:(u=l)&&{},this),u)})},registerEase:function(t,e){O[t]=It(e)},parseEase:function(t,e){return arguments.length?It(t,e):O},getById:function(t){return N.getById(t)},exportRoot:function(t,e){t===void 0&&(t={});var i=new X(t),n,r;for(i.smoothChildTiming=et(t.smoothChildTiming),N.remove(i),i._dp=0,i._time=i._tTime=N._time,n=N._first;n;)r=n._next,(e||!(!n._dur&&n instanceof F&&n.vars.onComplete===n._targets[0]))&&dt(i,n,n._start-n._delay),n=r;return dt(N,i,0),i},context:function(t,e){return t?new xn(t,e):D},matchMedia:function(t){return new Rr(t)},matchMediaRefresh:function(){return zt.forEach(function(t){var e=t.conditions,i,n;for(n in e)e[n]&&(e[n]=!1,i=1);i&&t.revert()})||ni()},addEventListener:function(t,e){var i=we[t]||(we[t]=[]);~i.indexOf(e)||i.push(e)},removeEventListener:function(t,e){var i=we[t],n=i&&i.indexOf(e);n>=0&&i.splice(n,1)},utils:{wrap:_r,wrapYoyo:dr,distribute:on,random:un,snap:ln,normalize:cr,getUnit:W,clamp:lr,splitColor:dn,toArray:ft,selector:ti,mapRange:hn,pipe:fr,unitize:hr,interpolate:pr,shuffle:an},install:Qi,effects:Ue,ticker:tt,updateRoot:X.updateRoot,plugins:J,globalTimeline:N,core:{PropTween:j,globals:$i,Tween:F,Timeline:X,Animation:de,getCache:Ot,_removeLinkedListItem:Ae,reverting:function(){return G},context:function(t){return t&&D&&(D.data.push(t),t._ctx=D),D},suppressOverwrites:function(t){return ri=t}}};K("to,from,fromTo,delayedCall,set,killTweensOf",function(o){return Ce[o]=F[o]});tt.add(X.updateRoot);Wt=Ce.to({},{duration:0});var Ir=function(t,e){for(var i=t._pt;i&&i.p!==e&&i.op!==e&&i.fp!==e;)i=i._next;return i},zr=function(t,e){var i=t._targets,n,r,s;for(n in e)for(r=i.length;r--;)s=t._ptLookup[r][n],s&&(s=s.d)&&(s._pt&&(s=Ir(s,n)),s&&s.modifier&&s.modifier(e[n],t,i[r],n))},Ge=function(t,e){return{name:t,headless:1,rawVars:1,init:function(n,r,s){s._onInit=function(a){var l,u;if(U(r)&&(l={},K(r,function(f){return l[f]=1}),r=l),e){l={};for(u in r)l[u]=e(r[u]);r=l}zr(a,r)}}}},$=Ce.registerPlugin({name:"attr",init:function(t,e,i,n,r){var s,a,l;this.tween=i;for(s in e)l=t.getAttribute(s)||"",a=this.add(t,"setAttribute",(l||0)+"",e[s],n,r,0,0,s),a.op=s,a.b=l,this._props.push(s)},render:function(t,e){for(var i=e._pt;i;)G?i.set(i.t,i.p,i.b,i):i.r(t,i.d),i=i._next}},{name:"endArray",headless:1,init:function(t,e){for(var i=e.length;i--;)this.add(t,i,t[i]||0,e[i],0,0,0,0,0,1)}},Ge("roundProps",ei),Ge("modifiers"),Ge("snap",ln))||Ce;F.version=X.version=$.version="3.13.0";Wi=1;si()&&Zt();var Fr=O.Power0,Hr=O.Power1,Br=O.Power2,Ur=O.Power3,qr=O.Power4,Vr=O.Linear,Yr=O.Quad,Xr=O.Cubic,Gr=O.Quart,Wr=O.Quint,Qr=O.Strong,$r=O.Elastic,Kr=O.Back,jr=O.SteppedEase,Zr=O.Bounce,Jr=O.Sine,ts=O.Expo,es=O.Circ;var wn,Ct,ee,ki,Yt,is,En,Ci,ns=function(){return typeof window<"u"},bt={},Vt=180/Math.PI,ie=Math.PI/180,te=Math.atan2,On=1e8,Pi=/([A-Z])/g,rs=/(left|right|width|margin|padding|x)/i,ss=/[\s,\(]\S/,mt={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},wi=function(t,e){return e.set(e.t,e.p,Math.round((e.s+e.c*t)*1e4)/1e4+e.u,e)},as=function(t,e){return e.set(e.t,e.p,t===1?e.e:Math.round((e.s+e.c*t)*1e4)/1e4+e.u,e)},os=function(t,e){return e.set(e.t,e.p,t?Math.round((e.s+e.c*t)*1e4)/1e4+e.u:e.b,e)},ls=function(t,e){var i=e.s+e.c*t;e.set(e.t,e.p,~~(i+(i<0?-.5:.5))+e.u,e)},Nn=function(t,e){return e.set(e.t,e.p,t?e.e:e.b,e)},Rn=function(t,e){return e.set(e.t,e.p,t!==1?e.b:e.e,e)},us=function(t,e,i){return t.style[e]=i},fs=function(t,e,i){return t.style.setProperty(e,i)},hs=function(t,e,i){return t._gsap[e]=i},cs=function(t,e,i){return t._gsap.scaleX=t._gsap.scaleY=i},_s=function(t,e,i,n,r){var s=t._gsap;s.scaleX=s.scaleY=i,s.renderTransform(r,s)},ds=function(t,e,i,n,r){var s=t._gsap;s[e]=i,s.renderTransform(r,s)},R="transform",nt=R+"Origin",ps=function o(t,e){var i=this,n=this.target,r=n.style,s=n._gsap;if(t in bt&&r){if(this.tfm=this.tfm||{},t!=="transform")t=mt[t]||t,~t.indexOf(",")?t.split(",").forEach(function(a){return i.tfm[a]=Mt(n,a)}):this.tfm[t]=s.x?s[t]:Mt(n,t),t===nt&&(this.tfm.zOrigin=s.zOrigin);else return mt.transform.split(",").forEach(function(a){return o.call(i,a,e)});if(this.props.indexOf(R)>=0)return;s.svg&&(this.svgo=n.getAttribute("data-svg-origin"),this.props.push(nt,e,"")),t=R}(r||e)&&this.props.push(t,e,r[t])},In=function(t){t.translate&&(t.removeProperty("translate"),t.removeProperty("scale"),t.removeProperty("rotate"))},ms=function(){var t=this.props,e=this.target,i=e.style,n=e._gsap,r,s;for(r=0;r<t.length;r+=3)t[r+1]?t[r+1]===2?e[t[r]](t[r+2]):e[t[r]]=t[r+2]:t[r+2]?i[t[r]]=t[r+2]:i.removeProperty(t[r].substr(0,2)==="--"?t[r]:t[r].replace(Pi,"-$1").toLowerCase());if(this.tfm){for(s in this.tfm)n[s]=this.tfm[s];n.svg&&(n.renderTransform(),e.setAttribute("data-svg-origin",this.svgo||"")),r=Ci(),(!r||!r.isStart)&&!i[R]&&(In(i),n.zOrigin&&i[nt]&&(i[nt]+=" "+n.zOrigin+"px",n.zOrigin=0,n.renderTransform()),n.uncache=1)}},zn=function(t,e){var i={target:t,props:[],revert:ms,save:ps};return t._gsap||$.core.getCache(t),e&&t.style&&t.nodeType&&e.split(",").forEach(function(n){return i.save(n)}),i},Fn,Ei=function(t,e){var i=Ct.createElementNS?Ct.createElementNS((e||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),t):Ct.createElement(t);return i&&i.style?i:Ct.createElement(t)},ht=function o(t,e,i){var n=getComputedStyle(t);return n[e]||n.getPropertyValue(e.replace(Pi,"-$1").toLowerCase())||n.getPropertyValue(e)||!i&&o(t,ne(e)||e,1)||""},Sn="O,Moz,ms,Ms,Webkit".split(","),ne=function(t,e,i){var n=e||Yt,r=n.style,s=5;if(t in r&&!i)return t;for(t=t.charAt(0).toUpperCase()+t.substr(1);s--&&!(Sn[s]+t in r););return s<0?null:(s===3?"ms":s>=0?Sn[s]:"")+t},Oi=function(){ns()&&window.document&&(wn=window,Ct=wn.document,ee=Ct.documentElement,Yt=Ei("div")||{style:{}},is=Ei("div"),R=ne(R),nt=R+"Origin",Yt.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",Fn=!!ne("perspective"),Ci=$.core.reverting,ki=1)},kn=function(t){var e=t.ownerSVGElement,i=Ei("svg",e&&e.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),n=t.cloneNode(!0),r;n.style.display="block",i.appendChild(n),ee.appendChild(i);try{r=n.getBBox()}catch{}return i.removeChild(n),ee.removeChild(i),r},Cn=function(t,e){for(var i=e.length;i--;)if(t.hasAttribute(e[i]))return t.getAttribute(e[i])},Hn=function(t){var e,i;try{e=t.getBBox()}catch{e=kn(t),i=1}return e&&(e.width||e.height)||i||(e=kn(t)),e&&!e.width&&!e.x&&!e.y?{x:+Cn(t,["x","cx","x1"])||0,y:+Cn(t,["y","cy","y1"])||0,width:0,height:0}:e},Bn=function(t){return!!(t.getCTM&&(!t.parentNode||t.ownerSVGElement)&&Hn(t))},Xt=function(t,e){if(e){var i=t.style,n;e in bt&&e!==nt&&(e=R),i.removeProperty?(n=e.substr(0,2),(n==="ms"||e.substr(0,6)==="webkit")&&(e="-"+e),i.removeProperty(n==="--"?e:e.replace(Pi,"-$1").toLowerCase())):i.removeAttribute(e)}},Pt=function(t,e,i,n,r,s){var a=new j(t._pt,e,i,0,1,s?Rn:Nn);return t._pt=a,a.b=n,a.e=r,t._props.push(i),a},Pn={deg:1,rad:1,turn:1},gs={grid:1,flex:1},Lt=function o(t,e,i,n){var r=parseFloat(i)||0,s=(i+"").trim().substr((r+"").length)||"px",a=Yt.style,l=rs.test(e),u=t.tagName.toLowerCase()==="svg",f=(u?"client":"offset")+(l?"Width":"Height"),c=100,_=n==="px",d=n==="%",p,h,m,y;if(n===s||!r||Pn[n]||Pn[s])return r;if(s!=="px"&&!_&&(r=o(t,e,i,"px")),y=t.getCTM&&Bn(t),(d||s==="%")&&(bt[e]||~e.indexOf("adius")))return p=y?t.getBBox()[l?"width":"height"]:t[f],z(d?r/p*c:r/100*p);if(a[l?"width":"height"]=c+(_?s:n),h=n!=="rem"&&~e.indexOf("adius")||n==="em"&&t.appendChild&&!u?t:t.parentNode,y&&(h=(t.ownerSVGElement||{}).parentNode),(!h||h===Ct||!h.appendChild)&&(h=Ct.body),m=h._gsap,m&&d&&m.width&&l&&m.time===tt.time&&!m.uncache)return z(r/m.width*c);if(d&&(e==="height"||e==="width")){var v=t.style[e];t.style[e]=c+n,p=t[f],v?t.style[e]=v:Xt(t,e)}else(d||s==="%")&&!gs[ht(h,"display")]&&(a.position=ht(t,"position")),h===t&&(a.position="static"),h.appendChild(Yt),p=Yt[f],h.removeChild(Yt),a.position="absolute";return l&&d&&(m=Ot(h),m.time=tt.time,m.width=h[f]),z(_?p*r/c:p&&r?c/p*r:0)},Mt=function(t,e,i,n){var r;return ki||Oi(),e in mt&&e!=="transform"&&(e=mt[e],~e.indexOf(",")&&(e=e.split(",")[0])),bt[e]&&e!=="transform"?(r=ye(t,n),r=e!=="transformOrigin"?r[e]:r.svg?r.origin:ze(ht(t,nt))+" "+r.zOrigin+"px"):(r=t.style[e],(!r||r==="auto"||n||~(r+"").indexOf("calc("))&&(r=Ie[e]&&Ie[e](t,e,i)||ht(t,e)||ci(t,e)||(e==="opacity"?1:0))),i&&!~(r+"").trim().indexOf(" ")?Lt(t,e,r,i)+i:r},ys=function(t,e,i,n){if(!i||i==="none"){var r=ne(e,t,1),s=r&&ht(t,r,1);s&&s!==i?(e=r,i=s):e==="borderColor"&&(i=ht(t,"borderTopColor"))}var a=new j(this._pt,t.style,e,0,1,Ti),l=0,u=0,f,c,_,d,p,h,m,y,v,T,M,g;if(a.b=i,a.e=n,i+="",n+="",n.substring(0,6)==="var(--"&&(n=ht(t,n.substring(4,n.indexOf(")")))),n==="auto"&&(h=t.style[e],t.style[e]=n,n=ht(t,e)||n,h?t.style[e]=h:Xt(t,e)),f=[i,n],di(f),i=f[0],n=f[1],_=i.match(Ft)||[],g=n.match(Ft)||[],g.length){for(;c=Ft.exec(n);)m=c[0],v=n.substring(l,c.index),p?p=(p+1)%5:(v.substr(-5)==="rgba("||v.substr(-5)==="hsla(")&&(p=1),m!==(h=_[u++]||"")&&(d=parseFloat(h)||0,M=h.substr((d+"").length),m.charAt(1)==="="&&(m=Ht(d,m)+M),y=parseFloat(m),T=m.substr((y+"").length),l=Ft.lastIndex-T.length,T||(T=T||it.units[e]||M,l===n.length&&(n+=T,a.e+=T)),M!==T&&(d=Lt(t,e,h,T)||0),a._pt={_next:a._pt,p:v||u===1?v:",",s:d,c:y-d,m:p&&p<4||e==="zIndex"?Math.round:0});a.c=l<n.length?n.substring(l,n.length):""}else a.r=e==="display"&&n==="none"?Rn:Nn;return oi.test(n)&&(a.e=0),this._pt=a,a},Ln={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},vs=function(t){var e=t.split(" "),i=e[0],n=e[1]||"50%";return(i==="top"||i==="bottom"||n==="left"||n==="right")&&(t=i,i=n,n=t),e[0]=Ln[i]||i,e[1]=Ln[n]||n,e.join(" ")},Ts=function(t,e){if(e.tween&&e.tween._time===e.tween._dur){var i=e.t,n=i.style,r=e.u,s=i._gsap,a,l,u;if(r==="all"||r===!0)n.cssText="",l=1;else for(r=r.split(","),u=r.length;--u>-1;)a=r[u],bt[a]&&(l=1,a=a==="transformOrigin"?nt:R),Xt(i,a);l&&(Xt(i,R),s&&(s.svg&&i.removeAttribute("transform"),n.scale=n.rotate=n.translate="none",ye(i,1),s.uncache=1,In(n)))}},Ie={clearProps:function(t,e,i,n,r){if(r.data!=="isFromStart"){var s=t._pt=new j(t._pt,e,i,0,0,Ts);return s.u=n,s.pr=-10,s.tween=r,t._props.push(i),1}}},ge=[1,0,0,1,0,0],Un={},qn=function(t){return t==="matrix(1, 0, 0, 1, 0, 0)"||t==="none"||!t},An=function(t){var e=ht(t,R);return qn(e)?ge:e.substr(7).match(ai).map(z)},Li=function(t,e){var i=t._gsap||Ot(t),n=t.style,r=An(t),s,a,l,u;return i.svg&&t.getAttribute("transform")?(l=t.transform.baseVal.consolidate().matrix,r=[l.a,l.b,l.c,l.d,l.e,l.f],r.join(",")==="1,0,0,1,0,0"?ge:r):(r===ge&&!t.offsetParent&&t!==ee&&!i.svg&&(l=n.display,n.display="block",s=t.parentNode,(!s||!t.offsetParent&&!t.getBoundingClientRect().width)&&(u=1,a=t.nextElementSibling,ee.appendChild(t)),r=An(t),l?n.display=l:Xt(t,"display"),u&&(a?s.insertBefore(t,a):s?s.appendChild(t):ee.removeChild(t))),e&&r.length>6?[r[0],r[1],r[4],r[5],r[12],r[13]]:r)},Si=function(t,e,i,n,r,s){var a=t._gsap,l=r||Li(t,!0),u=a.xOrigin||0,f=a.yOrigin||0,c=a.xOffset||0,_=a.yOffset||0,d=l[0],p=l[1],h=l[2],m=l[3],y=l[4],v=l[5],T=e.split(" "),M=parseFloat(T[0])||0,g=parseFloat(T[1])||0,x,w,E,b;i?l!==ge&&(w=d*m-p*h)&&(E=M*(m/w)+g*(-h/w)+(h*v-m*y)/w,b=M*(-p/w)+g*(d/w)-(d*v-p*y)/w,M=E,g=b):(x=Hn(t),M=x.x+(~T[0].indexOf("%")?M/100*x.width:M),g=x.y+(~(T[1]||T[0]).indexOf("%")?g/100*x.height:g)),n||n!==!1&&a.smooth?(y=M-u,v=g-f,a.xOffset=c+(y*d+v*h)-y,a.yOffset=_+(y*p+v*m)-v):a.xOffset=a.yOffset=0,a.xOrigin=M,a.yOrigin=g,a.smooth=!!n,a.origin=e,a.originIsAbsolute=!!i,t.style[nt]="0px 0px",s&&(Pt(s,a,"xOrigin",u,M),Pt(s,a,"yOrigin",f,g),Pt(s,a,"xOffset",c,a.xOffset),Pt(s,a,"yOffset",_,a.yOffset)),t.setAttribute("data-svg-origin",M+" "+g)},ye=function(t,e){var i=t._gsap||new pi(t);if("x"in i&&!e&&!i.uncache)return i;var n=t.style,r=i.scaleX<0,s="px",a="deg",l=getComputedStyle(t),u=ht(t,nt)||"0",f,c,_,d,p,h,m,y,v,T,M,g,x,w,E,b,S,A,P,L,Y,q,H,V,ct,Te,re,se,Dt,Ri,gt,Nt;return f=c=_=h=m=y=v=T=M=0,d=p=1,i.svg=!!(t.getCTM&&Bn(t)),l.translate&&((l.translate!=="none"||l.scale!=="none"||l.rotate!=="none")&&(n[R]=(l.translate!=="none"?"translate3d("+(l.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(l.rotate!=="none"?"rotate("+l.rotate+") ":"")+(l.scale!=="none"?"scale("+l.scale.split(" ").join(",")+") ":"")+(l[R]!=="none"?l[R]:"")),n.scale=n.rotate=n.translate="none"),w=Li(t,i.svg),i.svg&&(i.uncache?(ct=t.getBBox(),u=i.xOrigin-ct.x+"px "+(i.yOrigin-ct.y)+"px",V=""):V=!e&&t.getAttribute("data-svg-origin"),Si(t,V||u,!!V||i.originIsAbsolute,i.smooth!==!1,w)),g=i.xOrigin||0,x=i.yOrigin||0,w!==ge&&(A=w[0],P=w[1],L=w[2],Y=w[3],f=q=w[4],c=H=w[5],w.length===6?(d=Math.sqrt(A*A+P*P),p=Math.sqrt(Y*Y+L*L),h=A||P?te(P,A)*Vt:0,v=L||Y?te(L,Y)*Vt+h:0,v&&(p*=Math.abs(Math.cos(v*ie))),i.svg&&(f-=g-(g*A+x*L),c-=x-(g*P+x*Y))):(Nt=w[6],Ri=w[7],re=w[8],se=w[9],Dt=w[10],gt=w[11],f=w[12],c=w[13],_=w[14],E=te(Nt,Dt),m=E*Vt,E&&(b=Math.cos(-E),S=Math.sin(-E),V=q*b+re*S,ct=H*b+se*S,Te=Nt*b+Dt*S,re=q*-S+re*b,se=H*-S+se*b,Dt=Nt*-S+Dt*b,gt=Ri*-S+gt*b,q=V,H=ct,Nt=Te),E=te(-L,Dt),y=E*Vt,E&&(b=Math.cos(-E),S=Math.sin(-E),V=A*b-re*S,ct=P*b-se*S,Te=L*b-Dt*S,gt=Y*S+gt*b,A=V,P=ct,L=Te),E=te(P,A),h=E*Vt,E&&(b=Math.cos(E),S=Math.sin(E),V=A*b+P*S,ct=q*b+H*S,P=P*b-A*S,H=H*b-q*S,A=V,q=ct),m&&Math.abs(m)+Math.abs(h)>359.9&&(m=h=0,y=180-y),d=z(Math.sqrt(A*A+P*P+L*L)),p=z(Math.sqrt(H*H+Nt*Nt)),E=te(q,H),v=Math.abs(E)>2e-4?E*Vt:0,M=gt?1/(gt<0?-gt:gt):0),i.svg&&(V=t.getAttribute("transform"),i.forceCSS=t.setAttribute("transform","")||!qn(ht(t,R)),V&&t.setAttribute("transform",V))),Math.abs(v)>90&&Math.abs(v)<270&&(r?(d*=-1,v+=h<=0?180:-180,h+=h<=0?180:-180):(p*=-1,v+=v<=0?180:-180)),e=e||i.uncache,i.x=f-((i.xPercent=f&&(!e&&i.xPercent||(Math.round(t.offsetWidth/2)===Math.round(-f)?-50:0)))?t.offsetWidth*i.xPercent/100:0)+s,i.y=c-((i.yPercent=c&&(!e&&i.yPercent||(Math.round(t.offsetHeight/2)===Math.round(-c)?-50:0)))?t.offsetHeight*i.yPercent/100:0)+s,i.z=_+s,i.scaleX=z(d),i.scaleY=z(p),i.rotation=z(h)+a,i.rotationX=z(m)+a,i.rotationY=z(y)+a,i.skewX=v+a,i.skewY=T+a,i.transformPerspective=M+s,(i.zOrigin=parseFloat(u.split(" ")[2])||!e&&i.zOrigin||0)&&(n[nt]=ze(u)),i.xOffset=i.yOffset=0,i.force3D=it.force3D,i.renderTransform=i.svg?bs:Fn?Vn:Ms,i.uncache=0,i},ze=function(t){return(t=t.split(" "))[0]+" "+t[1]},xi=function(t,e,i){var n=W(e);return z(parseFloat(e)+parseFloat(Lt(t,"x",i+"px",n)))+n},Ms=function(t,e){e.z="0px",e.rotationY=e.rotationX="0deg",e.force3D=0,Vn(t,e)},Ut="0deg",me="0px",qt=") ",Vn=function(t,e){var i=e||this,n=i.xPercent,r=i.yPercent,s=i.x,a=i.y,l=i.z,u=i.rotation,f=i.rotationY,c=i.rotationX,_=i.skewX,d=i.skewY,p=i.scaleX,h=i.scaleY,m=i.transformPerspective,y=i.force3D,v=i.target,T=i.zOrigin,M="",g=y==="auto"&&t&&t!==1||y===!0;if(T&&(c!==Ut||f!==Ut)){var x=parseFloat(f)*ie,w=Math.sin(x),E=Math.cos(x),b;x=parseFloat(c)*ie,b=Math.cos(x),s=xi(v,s,w*b*-T),a=xi(v,a,-Math.sin(x)*-T),l=xi(v,l,E*b*-T+T)}m!==me&&(M+="perspective("+m+qt),(n||r)&&(M+="translate("+n+"%, "+r+"%) "),(g||s!==me||a!==me||l!==me)&&(M+=l!==me||g?"translate3d("+s+", "+a+", "+l+") ":"translate("+s+", "+a+qt),u!==Ut&&(M+="rotate("+u+qt),f!==Ut&&(M+="rotateY("+f+qt),c!==Ut&&(M+="rotateX("+c+qt),(_!==Ut||d!==Ut)&&(M+="skew("+_+", "+d+qt),(p!==1||h!==1)&&(M+="scale("+p+", "+h+qt),v.style[R]=M||"translate(0, 0)"},bs=function(t,e){var i=e||this,n=i.xPercent,r=i.yPercent,s=i.x,a=i.y,l=i.rotation,u=i.skewX,f=i.skewY,c=i.scaleX,_=i.scaleY,d=i.target,p=i.xOrigin,h=i.yOrigin,m=i.xOffset,y=i.yOffset,v=i.forceCSS,T=parseFloat(s),M=parseFloat(a),g,x,w,E,b;l=parseFloat(l),u=parseFloat(u),f=parseFloat(f),f&&(f=parseFloat(f),u+=f,l+=f),l||u?(l*=ie,u*=ie,g=Math.cos(l)*c,x=Math.sin(l)*c,w=Math.sin(l-u)*-_,E=Math.cos(l-u)*_,u&&(f*=ie,b=Math.tan(u-f),b=Math.sqrt(1+b*b),w*=b,E*=b,f&&(b=Math.tan(f),b=Math.sqrt(1+b*b),g*=b,x*=b)),g=z(g),x=z(x),w=z(w),E=z(E)):(g=c,E=_,x=w=0),(T&&!~(s+"").indexOf("px")||M&&!~(a+"").indexOf("px"))&&(T=Lt(d,"x",s,"px"),M=Lt(d,"y",a,"px")),(p||h||m||y)&&(T=z(T+p-(p*g+h*w)+m),M=z(M+h-(p*x+h*E)+y)),(n||r)&&(b=d.getBBox(),T=z(T+n/100*b.width),M=z(M+r/100*b.height)),b="matrix("+g+","+x+","+w+","+E+","+T+","+M+")",d.setAttribute("transform",b),v&&(d.style[R]=b)},xs=function(t,e,i,n,r){var s=360,a=U(r),l=parseFloat(r)*(a&&~r.indexOf("rad")?Vt:1),u=l-n,f=n+u+"deg",c,_;return a&&(c=r.split("_")[1],c==="short"&&(u%=s,u!==u%(s/2)&&(u+=u<0?s:-s)),c==="cw"&&u<0?u=(u+s*On)%s-~~(u/s)*s:c==="ccw"&&u>0&&(u=(u-s*On)%s-~~(u/s)*s)),t._pt=_=new j(t._pt,e,i,n,u,as),_.e=f,_.u="deg",t._props.push(i),_},Dn=function(t,e){for(var i in e)t[i]=e[i];return t},ws=function(t,e,i){var n=Dn({},i._gsap),r="perspective,force3D,transformOrigin,svgOrigin",s=i.style,a,l,u,f,c,_,d,p;n.svg?(u=i.getAttribute("transform"),i.setAttribute("transform",""),s[R]=e,a=ye(i,1),Xt(i,R),i.setAttribute("transform",u)):(u=getComputedStyle(i)[R],s[R]=e,a=ye(i,1),s[R]=u);for(l in bt)u=n[l],f=a[l],u!==f&&r.indexOf(l)<0&&(d=W(u),p=W(f),c=d!==p?Lt(i,l,u,p):parseFloat(u),_=parseFloat(f),t._pt=new j(t._pt,a,l,c,_-c,wi),t._pt.u=p||0,t._props.push(l));Dn(a,n)};K("padding,margin,Width,Radius",function(o,t){var e="Top",i="Right",n="Bottom",r="Left",s=(t<3?[e,i,n,r]:[e+r,e+i,n+i,n+r]).map(function(a){return t<2?o+a:"border"+a+o});Ie[t>1?"border"+o:o]=function(a,l,u,f,c){var _,d;if(arguments.length<4)return _=s.map(function(p){return Mt(a,p,u)}),d=_.join(" "),d.split(_[0]).length===5?_[0]:d;_=(f+"").split(" "),d={},s.forEach(function(p,h){return d[p]=_[h]=_[h]||_[(h-1)/2|0]}),a.init(l,d,c)}});var Ai={name:"css",register:Oi,targetTest:function(t){return t.style&&t.nodeType},init:function(t,e,i,n,r){var s=this._props,a=t.style,l=i.vars.startAt,u,f,c,_,d,p,h,m,y,v,T,M,g,x,w,E;ki||Oi(),this.styles=this.styles||zn(t),E=this.styles.props,this.tween=i;for(h in e)if(h!=="autoRound"&&(f=e[h],!(J[h]&&gi(h,e,i,n,t,r)))){if(d=typeof f,p=Ie[h],d==="function"&&(f=f.call(i,n,t,r),d=typeof f),d==="string"&&~f.indexOf("random(")&&(f=Jt(f)),p)p(this,t,h,f,i)&&(w=1);else if(h.substr(0,2)==="--")u=(getComputedStyle(t).getPropertyValue(h)+"").trim(),f+="",vt.lastIndex=0,vt.test(u)||(m=W(u),y=W(f)),y?m!==y&&(u=Lt(t,h,u,y)+y):m&&(f+=m),this.add(a,"setProperty",u,f,n,r,0,0,h),s.push(h),E.push(h,0,a[h]);else if(d!=="undefined"){if(l&&h in l?(u=typeof l[h]=="function"?l[h].call(i,n,t,r):l[h],U(u)&&~u.indexOf("random(")&&(u=Jt(u)),W(u+"")||u==="auto"||(u+=it.units[h]||W(Mt(t,h))||""),(u+"").charAt(1)==="="&&(u=Mt(t,h))):u=Mt(t,h),_=parseFloat(u),v=d==="string"&&f.charAt(1)==="="&&f.substr(0,2),v&&(f=f.substr(2)),c=parseFloat(f),h in mt&&(h==="autoAlpha"&&(_===1&&Mt(t,"visibility")==="hidden"&&c&&(_=0),E.push("visibility",0,a.visibility),Pt(this,a,"visibility",_?"inherit":"hidden",c?"inherit":"hidden",!c)),h!=="scale"&&h!=="transform"&&(h=mt[h],~h.indexOf(",")&&(h=h.split(",")[0]))),T=h in bt,T){if(this.styles.save(h),d==="string"&&f.substring(0,6)==="var(--"&&(f=ht(t,f.substring(4,f.indexOf(")"))),c=parseFloat(f)),M||(g=t._gsap,g.renderTransform&&!e.parseTransform||ye(t,e.parseTransform),x=e.smoothOrigin!==!1&&g.smooth,M=this._pt=new j(this._pt,a,R,0,1,g.renderTransform,g,0,-1),M.dep=1),h==="scale")this._pt=new j(this._pt,g,"scaleY",g.scaleY,(v?Ht(g.scaleY,v+c):c)-g.scaleY||0,wi),this._pt.u=0,s.push("scaleY",h),h+="X";else if(h==="transformOrigin"){E.push(nt,0,a[nt]),f=vs(f),g.svg?Si(t,f,0,x,0,this):(y=parseFloat(f.split(" ")[2])||0,y!==g.zOrigin&&Pt(this,g,"zOrigin",g.zOrigin,y),Pt(this,a,h,ze(u),ze(f)));continue}else if(h==="svgOrigin"){Si(t,f,1,x,0,this);continue}else if(h in Un){xs(this,g,h,_,v?Ht(_,v+f):f);continue}else if(h==="smoothOrigin"){Pt(this,g,"smooth",g.smooth,f);continue}else if(h==="force3D"){g[h]=f;continue}else if(h==="transform"){ws(this,f,t);continue}}else h in a||(h=ne(h)||h);if(T||(c||c===0)&&(_||_===0)&&!ss.test(f)&&h in a)m=(u+"").substr((_+"").length),c||(c=0),y=W(f)||(h in it.units?it.units[h]:m),m!==y&&(_=Lt(t,h,u,y)),this._pt=new j(this._pt,T?g:a,h,_,(v?Ht(_,v+c):c)-_,!T&&(y==="px"||h==="zIndex")&&e.autoRound!==!1?ls:wi),this._pt.u=y||0,m!==y&&y!=="%"&&(this._pt.b=u,this._pt.r=os);else if(h in a)ys.call(this,t,h,u,v?v+f:f);else if(h in t)this.add(t,h,u||t[h],v?v+f:f,n,r);else if(h!=="parseTransform"){Le(h,f);continue}T||(h in a?E.push(h,0,a[h]):typeof t[h]=="function"?E.push(h,2,t[h]()):E.push(h,1,u||t[h])),s.push(h)}}w&&bi(this)},render:function(t,e){if(e.tween._time||!Ci())for(var i=e._pt;i;)i.r(t,i.d),i=i._next;else e.styles.revert()},get:Mt,aliases:mt,getSetter:function(t,e,i){var n=mt[e];return n&&n.indexOf(",")<0&&(e=n),e in bt&&e!==nt&&(t._gsap.x||Mt(t,"x"))?i&&En===i?e==="scale"?cs:hs:(En=i||{})&&(e==="scale"?_s:ds):t.style&&!Pe(t.style[e])?us:~e.indexOf("-")?fs:Re(t,e)},core:{_removeProperty:Xt,_getMatrix:Li}};$.utils.checkPrefix=ne;$.core.getStyleSaver=zn;(function(o,t,e,i){var n=K(o+","+t+","+e,function(r){bt[r]=1});K(t,function(r){it.units[r]="deg",Un[r]=1}),mt[n[13]]=o+","+t,K(i,function(r){var s=r.split(":");mt[s[1]]=n[s[0]]})})("x,y,z,scale,scaleX,scaleY,xPercent,yPercent","rotation,rotationX,rotationY,skewX,skewY","transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective","0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY");K("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(o){it.units[o]="px"});$.registerPlugin(Ai);var Z=$.registerPlugin(Ai)||$,qs=Z.core.Tween;var Es={lightTransparent:{"style-nav-bg":"transparent","style-nav-link":"black","style-nav-logo":"black","style-nav-tertiary-button":"black","style-nav-secondary-button":"black","style-nav-primary-button":"black","style-nav-toggle":"black","style-body-bg":"white"},darkTransparent:{"style-nav-bg":"transparent","style-nav-link":"white","style-nav-logo":"white","style-nav-tertiary-button":"white","style-nav-secondary-button":"white","style-nav-primary-button":"white","style-nav-toggle":"white","style-body-bg":"black"},scrolled:{"style-nav-bg":"white-blur","style-nav-link":"black","style-nav-logo":"black","style-nav-tertiary-button":"black","style-nav-secondary-button":"black","style-nav-primary-button":"black","style-nav-toggle":"black","style-body-bg":"white"},menuOpened:{"style-nav-bg":"white","style-nav-link":"black","style-nav-logo":"black","style-nav-tertiary-button":"black","style-nav-secondary-button":"black","style-nav-primary-button":"black","style-nav-toggle":"black","style-body-bg":"white"},default:{"style-nav-bg":"white","style-nav-link":"black","style-nav-logo":"black","style-nav-tertiary-button":"black","style-nav-secondary-button":"black","style-nav-primary-button":"black","style-nav-toggle":"black","style-body-bg":"white"}};function ve(o){let t=Es[o];if(!t){console.warn(`Mode "${o}" not found in MODE_ATTRIBUTES`);return}Object.entries(t).forEach(([e,i])=>{document.querySelectorAll(`[${e}]`).forEach(r=>{r.setAttribute(e,i)})})}var Fe=!1;var rt=null,Gt={savedMenuMode:null,savedScrollMode:null,getEl(){return document.querySelector("[style-nav-mode]")},get(){return this.getEl()?.getAttribute("style-nav-mode")||"default"},set(o){let t=this.getEl();t&&t.setAttribute("style-nav-mode",o)},enterMenuOpened(){this.savedMenuMode===null&&(this.savedMenuMode=this.get()),this.set("menuOpened"),ve("menuOpened"),this.lockScroll()},leaveMenuOpened(){this.savedMenuMode!==null&&(this.set(this.savedMenuMode),ve(this.savedMenuMode),this.savedMenuMode=null),this.unlockScroll()},handleScroll(){this.savedMenuMode===null&&(window.scrollY>50?this.savedScrollMode===null&&(this.savedScrollMode=this.get(),this.set("scrolled"),ve("scrolled")):this.savedScrollMode!==null&&this.get()==="scrolled"&&(this.set(this.savedScrollMode),ve(this.savedScrollMode),this.savedScrollMode=null))},lockScroll(){document.documentElement.style.overflow="hidden",document.body.style.overflow="hidden"},unlockScroll(){document.documentElement.style.overflow="",document.body.style.overflow=""}},He=[{name:"solutions",width:1026,height:480,isCurrent:!1},{name:"resources",width:546,height:354,isCurrent:!1},{name:"company",width:436,height:354,isCurrent:!1}],Di={NESTED_MENU_DELAY:10,NESTED_MENU_CLOSE_DELAY:500,MAIN_MENU_CLOSE_TIMEOUT:300},xt={NESTED_MENU:'[data-mobile-nav="nested-menu"]',MAIN_MENU:'[data-mobile-nav="main-menu"]',TOGGLE_MAIN_MENU:'[data-nav-toggle="main-menu"]',TOGGLE_NESTED_MENU:'[data-nav-toggle="nested-menu"]',MAIN_MENU_LINKS:"[data-mobile-link]",NAV_OVERLAY:'[data-nav-element="overlay"]',OPEN_ICON:'[data-menu-icon="open"]',CLOSE_ICON:'[data-menu-icon="close"]',MOBILE_MENU:"[data-mobile-menu]"},At=()=>({dropdownOverlay:document.querySelector('[data-nav-element="overlay"]'),navItems:document.querySelectorAll('[data-nav-item="link"]'),navItemsWrapper:document.querySelectorAll('[data-nav-animation="links"]'),dropdownMover:document.querySelector('[data-nav-item="dropdown-mover"]'),dropdownItems:document.querySelector('[data-nav-item="dropdown-mover"]'),tabLinks:document.querySelectorAll("[data-tab-link]"),tabContents:document.querySelectorAll("[data-tab-content]"),mover:document.querySelector('[data-nav-element="mover"]'),overlay:document.querySelector('[data-nav-element="overlay"]'),wrapper:document.querySelector('[data-nav-element="wrapper"]'),dropdownContents:document.querySelectorAll("[data-desktop-content]"),navlinks:document.querySelectorAll("[data-desktop-navlink]")});function Os(o,t){if(o.length>0){let e=o[0].getAttribute("data-tab-link");o[0].setAttribute("data-tab-link-active","true"),t.forEach(i=>{i.setAttribute("data-tab-content-active",i.getAttribute("data-tab-content")===e?"true":"false")}),o.forEach(i=>{i.addEventListener("mouseover",function(){let n=this.getAttribute("data-tab-link");o.forEach(r=>r.setAttribute("data-tab-link-active","false")),this.setAttribute("data-tab-link-active","true"),t.forEach(r=>{r.setAttribute("data-tab-content-active",r.getAttribute("data-tab-content")===n?"true":"false")})})})}}function Ss(o){o.forEach(t=>{t.addEventListener("mouseleave",()=>{Fe=!1,Ps()})})}function ks(o){o.forEach(t=>{t.addEventListener("mouseenter",function(){let e=parseInt(this.getAttribute("data-nav-link")||"0",10);Fe?Yn(this,e):(Yn(this,e),Fe=!0)})})}function Yn(o,t){rt&&rt.kill(),Fe?(Xn(t),Ds(t),Ls(o,t)):(Xn(t),Ns(t),As(o,t),Cs(t))}function Cs(o){let t=At(),e=He[o].height;t.wrapper.style.display="block",t.overlay.style.display="block",Gt.enterMenuOpened(),Z.killTweensOf([t.mover,t.overlay]),rt=Z.timeline(),rt.to(t.overlay,{opacity:0,duration:.3,ease:"power2.out"}),rt.to(t.mover,{height:`${e}px`,duration:.4,ease:"power2.out"},"-=0.2")}function Ps(){let o=At();rt&&rt.kill(),rt=Z.timeline(),rt.to(o.mover,{height:0,duration:.3,ease:"power2.in"}),rt.to(o.overlay,{opacity:0,duration:.3,ease:"power2.out"},"-=0.1"),rt.to(o.navlinks,{opacity:1,duration:.2},"-=0.2"),rt.call(()=>{o.wrapper.style.display="none",o.overlay.style.display="none",o.dropdownContents.forEach(t=>{t.style.display="none",t.style.opacity="0"}),Gt.leaveMenuOpened()})}function Ls(o,t){let e=At(),i=He[t].height,n=He[t].width,r=o.getBoundingClientRect(),s=o.parentElement.getBoundingClientRect(),a=r.left-s.left;Z.killTweensOf(e.mover),rt=Z.timeline(),rt.to(e.mover,{x:a,width:`${n}px`,height:`${i}px`,duration:.2,ease:"power2.out"})}function As(o,t){let e=At(),i=He[t].width,n=o.getBoundingClientRect(),r=o.parentElement.getBoundingClientRect(),s=n.left-r.left;Z.set(e.mover,{x:s,height:"0px",width:`${i}px`})}function Ds(o){let t=At();Z.killTweensOf(t.dropdownContents),Z.timeline().to(t.dropdownContents,{opacity:0,duration:.15,onComplete:()=>{t.dropdownContents.forEach(n=>{n.style.display="none"});let i=t.dropdownContents[o];i&&(o===0||o===1||o===2?i.style.display="grid":i.style.display="block",Z.to(i,{opacity:1,duration:.15}))}})}function Ns(o){let t=At();t.dropdownContents.forEach(i=>{i.style.opacity="0",i.style.display="none"});let e=t.dropdownContents[o];e&&(o===0||o===1||o===2?e.style.display="grid":e.style.display="block",Z.to(e,{opacity:1,duration:.2,delay:.1}))}function Xn(o){let t=At(),e=t.navlinks[o];Z.killTweensOf(t.navlinks),Z.to(t.navlinks,{opacity:.5,duration:.15}),Z.to(e,{opacity:1,duration:.15})}var Ni=class{constructor(){this.state={isMainMenuOpen:!1,isNestedMenuOpen:!1};this.isAnimating=!1;this.elements=this.getElements(),this.init()}getElements(){let t=document.querySelector(xt.NESTED_MENU),e=document.querySelector(xt.MAIN_MENU),i=document.querySelector(xt.NAV_OVERLAY),n=document.querySelectorAll(xt.OPEN_ICON),r=document.querySelectorAll(xt.CLOSE_ICON);if(!t||!e||!i||n.length===0||r.length===0)throw new Error("Required navigation elements not found");return{nestedMenu:t,mainMenu:e,toggleMainMenuButtons:document.querySelectorAll(xt.TOGGLE_MAIN_MENU),toggleNestedMenuButtons:document.querySelectorAll(xt.TOGGLE_NESTED_MENU),mainMenuLinks:document.querySelectorAll(xt.MAIN_MENU_LINKS),navOverlay:i,openIcons:n,closeIcons:r}}init(){this.setupInitialStyles(),this.bindEventListeners()}setupInitialStyles(){this.elements.nestedMenu.style.display="none",this.elements.nestedMenu.style.transform="translateX(100%)",this.elements.nestedMenu.style.transition="transform 0.5s ease",this.elements.mainMenu.style.display="block",this.elements.mainMenu.style.height="0dvh",this.elements.mainMenu.style.transition="height 0.3s ease-in-out",this.elements.openIcons.forEach(t=>{t.style.transition="opacity 0.2s ease"}),this.elements.closeIcons.forEach(t=>{t.style.transition="opacity 0.2s ease"}),this.updateMenuIcons(!1)}bindEventListeners(){this.elements.toggleMainMenuButtons.forEach((t,e)=>{t.addEventListener("click",i=>{i.preventDefault(),this.handleMainMenuToggle(t)})}),this.elements.toggleNestedMenuButtons.forEach((t,e)=>{t.addEventListener("click",i=>{i.preventDefault(),this.handleNestedMenuToggle(t)})}),this.elements.mainMenuLinks.forEach(t=>{t.addEventListener("click",e=>{let n=e.currentTarget.getAttribute("data-mobile-link");n&&(this.replaceContent(n),this.toggleNestedMenu())})})}openMainMenu(){if(this.state.isMainMenuOpen)return;let{mainMenu:t}=this.elements;this.isAnimating=!0,t.style.overflow="hidden",t.style.display="block",t.style.height="0dvh",this.state.isMainMenuOpen=!0,this.updateMenuIcons(!0),Gt.enterMenuOpened(),requestAnimationFrame(()=>{t.style.height="100dvh";let e=()=>{this.isAnimating=!1};t.addEventListener("transitionend",e,{once:!0}),setTimeout(()=>{this.isAnimating=!1},350)})}closeMainMenu(){if(!this.state.isMainMenuOpen)return;let{mainMenu:t}=this.elements;this.isAnimating=!0,this.state.isMainMenuOpen=!1,this.updateMenuIcons(!1),t.style.height="0dvh";let e=!1,i=()=>{e||(e=!0,t.style.display="none",this.isAnimating=!1,Gt.leaveMenuOpened())},n=r=>{r.target===t&&r.propertyName==="height"&&i()};t.addEventListener("transitionend",n,{once:!0}),setTimeout(()=>{i()},Di.MAIN_MENU_CLOSE_TIMEOUT)}handleMainMenuToggle(t){this.isAnimating||(this.state.isMainMenuOpen?(this.closeMainMenu(),this.state.isNestedMenuOpen&&this.closeNestedMenu()):this.openMainMenu())}handleNestedMenuToggle(t){this.isAnimating||(this.state.isNestedMenuOpen?this.closeNestedMenu():this.openNestedMenu())}toggleMainMenu(){this.state.isMainMenuOpen?(this.closeMainMenu(),this.state.isNestedMenuOpen&&this.closeNestedMenu()):this.openMainMenu()}openNestedMenu(){if(this.state.isNestedMenuOpen)return;let{nestedMenu:t,navOverlay:e}=this.elements;t.style.display="block",e.style.opacity="1",setTimeout(()=>{t.style.transform="translateX(0%)"},Di.NESTED_MENU_DELAY),this.state.isNestedMenuOpen=!0}closeNestedMenu(){if(!this.state.isNestedMenuOpen)return;let{nestedMenu:t,navOverlay:e}=this.elements;t.style.transform="translateX(100%)",e.style.opacity="0",this.state.isNestedMenuOpen=!1,setTimeout(()=>{t.style.display="none"},Di.NESTED_MENU_CLOSE_DELAY)}toggleNestedMenu(){this.state.isNestedMenuOpen?this.closeNestedMenu():this.openNestedMenu()}updateMenuIcons(t){let{openIcons:e,closeIcons:i}=this.elements;t?(e.forEach(n=>{n.style.opacity="0"}),i.forEach(n=>{n.style.opacity="1"})):(e.forEach(n=>{n.style.opacity="1"}),i.forEach(n=>{n.style.opacity="0"}))}replaceContent(t){document.querySelectorAll(xt.MOBILE_MENU).forEach(i=>{i.style.display="none"});let e=document.querySelector(`[data-mobile-menu="${t}"]`);e?e.style.display="block":console.warn(`Content element with data-mobile-menu="${t}" not found`)}getState(){return{...this.state}}closeAllMenus(){this.state.isMainMenuOpen&&this.closeMainMenu(),this.state.isNestedMenuOpen&&this.closeNestedMenu()}};document.addEventListener("DOMContentLoaded",()=>{if(window.addEventListener("scroll",()=>Gt.handleScroll(),{passive:!0}),Gt.handleScroll(),ve(Gt.get()),window.innerWidth>991){let o=At();Os(o.tabLinks,o.tabContents),Ss(o.navItemsWrapper),ks(o.navItems)}try{new Ni}catch(o){console.error("Failed to initialize mobile navigation:",o)}});})();
|
|
1
|
+
"use strict";(()=>{function yt(o){if(o===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return o}function Vi(o,t){o.prototype=Object.create(t.prototype),o.prototype.constructor=o,o.__proto__=t}var it={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},Qt={duration:.5,overwrite:!1,delay:0},ri,G,D,ut=1e8,C=1/ut,We=Math.PI*2,Gn=We/4,Wn=0,Yi=Math.sqrt,Qn=Math.cos,$n=Math.sin,U=function(t){return typeof t=="string"},I=function(t){return typeof t=="function"},Tt=function(t){return typeof t=="number"},Pe=function(t){return typeof t>"u"},pt=function(t){return typeof t=="object"},et=function(t){return t!==!1},si=function(){return typeof window<"u"},Me=function(t){return I(t)||U(t)},Xi=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},Q=Array.isArray,Qe=/(?:-?\.?\d|\.)+/gi,ai=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,Ft=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,Be=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,oi=/[+-]=-?[.\d]+/,Gi=/[^,'"\[\]\s]+/gi,Kn=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,N,_t,$e,li,at={},Ee={},Wi,Qi=function(t){return(Ee=$t(t,at))&&$},Le=function(t,e){return console.warn("Invalid property",t,"set to",e,"Missing plugin? gsap.registerPlugin()")},he=function(t,e){return!e&&console.warn(t)},$i=function(t,e){return t&&(at[t]=e)&&Ee&&(Ee[t]=e)||at},ce=function(){return 0},jn={suppressEvents:!0,isStart:!0,kill:!1},be={suppressEvents:!0,kill:!1},Zn={suppressEvents:!0},ui={},Et=[],Ke={},Ki,J={},Ue={},Ii=30,xe=[],fi="",hi=function(t){var e=t[0],i,n;if(pt(e)||I(e)||(t=[t]),!(i=(e._gsap||{}).harness)){for(n=xe.length;n--&&!xe[n].targetTest(e););i=xe[n]}for(n=t.length;n--;)t[n]&&(t[n]._gsap||(t[n]._gsap=new pi(t[n],i)))||t.splice(n,1);return t},Ot=function(t){return t._gsap||hi(ft(t))[0]._gsap},ci=function(t,e,i){return(i=t[e])&&I(i)?t[e]():Pe(i)&&t.getAttribute&&t.getAttribute(e)||i},K=function(t,e){return(t=t.split(",")).forEach(e)||t},z=function(t){return Math.round(t*1e5)/1e5||0},B=function(t){return Math.round(t*1e7)/1e7||0},Ht=function(t,e){var i=e.charAt(0),n=parseFloat(e.substr(2));return t=parseFloat(t),i==="+"?t+n:i==="-"?t-n:i==="*"?t*n:t/n},Jn=function(t,e){for(var i=e.length,n=0;t.indexOf(e[n])<0&&++n<i;);return n<i},Oe=function(){var t=Et.length,e=Et.slice(0),i,n;for(Ke={},Et.length=0,i=0;i<t;i++)n=e[i],n&&n._lazy&&(n.render(n._lazy[0],n._lazy[1],!0)._lazy=0)},_i=function(t){return!!(t._initted||t._startAt||t.add)},ji=function(t,e,i,n){Et.length&&!G&&Oe(),t.render(e,i,n||!!(G&&e<0&&_i(t))),Et.length&&!G&&Oe()},Zi=function(t){var e=parseFloat(t);return(e||e===0)&&(t+"").match(Gi).length<2?e:U(t)?t.trim():t},Ji=function(t){return t},ot=function(t,e){for(var i in e)i in t||(t[i]=e[i]);return t},tr=function(t){return function(e,i){for(var n in i)n in e||n==="duration"&&t||n==="ease"||(e[n]=i[n])}},$t=function(t,e){for(var i in e)t[i]=e[i];return t},zi=function o(t,e){for(var i in e)i!=="__proto__"&&i!=="constructor"&&i!=="prototype"&&(t[i]=pt(e[i])?o(t[i]||(t[i]={}),e[i]):e[i]);return t},Se=function(t,e){var i={},n;for(n in t)n in e||(i[n]=t[n]);return i},le=function(t){var e=t.parent||N,i=t.keyframes?tr(Q(t.keyframes)):ot;if(et(t.inherit))for(;e;)i(t,e.vars.defaults),e=e.parent||e._dp;return t},er=function(t,e){for(var i=t.length,n=i===e.length;n&&i--&&t[i]===e[i];);return i<0},tn=function(t,e,i,n,r){i===void 0&&(i="_first"),n===void 0&&(n="_last");var s=t[n],a;if(r)for(a=e[r];s&&s[r]>a;)s=s._prev;return 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,e},Ae=function(t,e,i,n){i===void 0&&(i="_first"),n===void 0&&(n="_last");var r=e._prev,s=e._next;r?r._next=s:t[i]===e&&(t[i]=s),s?s._prev=r:t[n]===e&&(t[n]=r),e._next=e._prev=e.parent=null},St=function(t,e){t.parent&&(!e||t.parent.autoRemoveChildren)&&t.parent.remove&&t.parent.remove(t),t._act=0},Rt=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},ir=function(t){for(var e=t.parent;e&&e.parent;)e._dirty=1,e.totalDuration(),e=e.parent;return t},je=function(t,e,i,n){return t._startAt&&(G?t._startAt.revert(be):t.vars.immediateRender&&!t.vars.autoRevert||t._startAt.render(e,!0,n))},nr=function o(t){return!t||t._ts&&o(t.parent)},Fi=function(t){return t._repeat?Kt(t._tTime,t=t.duration()+t._rDelay)*t:0},Kt=function(t,e){var i=Math.floor(t=B(t/e));return t&&i===t?i-1:i},ke=function(t,e){return(t-e._start)*e._ts+(e._ts>=0?0:e._dirty?e.totalDuration():e._tDur)},De=function(t){return t._end=B(t._start+(t._tDur/Math.abs(t._ts||t._rts||C)||0))},Ne=function(t,e){var i=t._dp;return i&&i.smoothChildTiming&&t._ts&&(t._start=B(i._time-(t._ts>0?e/t._ts:((t._dirty?t.totalDuration():t._tDur)-e)/-t._ts)),De(t),i._dirty||Rt(i,t)),t},en=function(t,e){var i;if((e._time||!e._dur&&e._initted||e._start<t._time&&(e._dur||!e.add))&&(i=ke(t.rawTime(),e),(!e._dur||pe(0,e.totalDuration(),i)-e._tTime>C)&&e.render(i,!0)),Rt(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=-C}},dt=function(t,e,i,n){return e.parent&&St(e),e._start=B((Tt(i)?i:i||t!==N?lt(t,i,e):t._time)+e._delay),e._end=B(e._start+(e.totalDuration()/Math.abs(e.timeScale())||0)),tn(t,e,"_first","_last",t._sort?"_start":0),Ze(e)||(t._recent=e),n||en(t,e),t._ts<0&&Ne(t,t._tTime),t},nn=function(t,e){return(at.ScrollTrigger||Le("scrollTrigger",e))&&at.ScrollTrigger.create(e,t)},rn=function(t,e,i,n,r){if(yi(t,e,r),!t._initted)return 1;if(!i&&t._pt&&!G&&(t._dur&&t.vars.lazy!==!1||!t._dur&&t.vars.lazy)&&Ki!==tt.frame)return Et.push(t),t._lazy=[r,n],1},rr=function o(t){var e=t.parent;return e&&e._ts&&e._initted&&!e._lock&&(e.rawTime()<0||o(e))},Ze=function(t){var e=t.data;return e==="isFromStart"||e==="isStart"},sr=function(t,e,i,n){var r=t.ratio,s=e<0||!e&&(!t._start&&rr(t)&&!(!t._initted&&Ze(t))||(t._ts<0||t._dp._ts<0)&&!Ze(t))?0:1,a=t._rDelay,l=0,u,f,c;if(a&&t._repeat&&(l=pe(0,t._tDur,e),f=Kt(l,a),t._yoyo&&f&1&&(s=1-s),f!==Kt(t._tTime,a)&&(r=1-s,t.vars.repeatRefresh&&t._initted&&t.invalidate())),s!==r||G||n||t._zTime===C||!e&&t._zTime){if(!t._initted&&rn(t,e,n,i,l))return;for(c=t._zTime,t._zTime=e||(i?C:0),i||(i=e&&!c),t.ratio=s,t._from&&(s=1-s),t._time=0,t._tTime=l,u=t._pt;u;)u.r(s,u.d),u=u._next;e<0&&je(t,e,i,!0),t._onUpdate&&!i&&st(t,"onUpdate"),l&&t._repeat&&!i&&t.parent&&st(t,"onRepeat"),(e>=t._tDur||e<0)&&t.ratio===s&&(s&&St(t,1),!i&&!G&&(st(t,s?"onComplete":"onReverseComplete",!0),t._prom&&t._prom()))}else t._zTime||(t._zTime=e)},ar=function(t,e,i){var n;if(i>e)for(n=t._first;n&&n._start<=i;){if(n.data==="isPause"&&n._start>e)return n;n=n._next}else for(n=t._last;n&&n._start>=i;){if(n.data==="isPause"&&n._start<e)return n;n=n._prev}},jt=function(t,e,i,n){var r=t._repeat,s=B(e)||0,a=t._tTime/t._tDur;return a&&!n&&(t._time*=s/t._dur),t._dur=s,t._tDur=r?r<0?1e10:B(s*(r+1)+t._rDelay*r):s,a>0&&!n&&Ne(t,t._tTime=t._tDur*a),t.parent&&De(t),i||Rt(t.parent,t),t},Hi=function(t){return t instanceof X?Rt(t):jt(t,t._dur)},or={_start:0,endTime:ce,totalDuration:ce},lt=function o(t,e,i){var n=t.labels,r=t._recent||or,s=t.duration()>=ut?r.endTime(!1):t._dur,a,l,u;return U(e)&&(isNaN(e)||e in n)?(l=e.charAt(0),u=e.substr(-1)==="%",a=e.indexOf("="),l==="<"||l===">"?(a>=0&&(e=e.replace(/=/,"")),(l==="<"?r._start:r.endTime(r._repeat>=0))+(parseFloat(e.substr(1))||0)*(u?(a<0?r:i).totalDuration()/100:1)):a<0?(e in n||(n[e]=s),n[e]):(l=parseFloat(e.charAt(a-1)+e.substr(a+1)),u&&i&&(l=l/100*(Q(i)?i[0]:i).totalDuration()),a>1?o(t,e.substr(0,a-1),i)+l:s+l)):e==null?s:+e},ue=function(t,e,i){var n=Tt(e[1]),r=(n?2:1)+(t<2?0:1),s=e[r],a,l;if(n&&(s.duration=e[1]),s.parent=i,t){for(a=s,l=i;l&&!("immediateRender"in a);)a=l.vars.defaults||{},l=et(l.vars.inherit)&&l.parent;s.immediateRender=et(a.immediateRender),t<2?s.runBackwards=1:s.startAt=e[r-1]}return new F(e[0],s,e[r+1])},kt=function(t,e){return t||t===0?e(t):e},pe=function(t,e,i){return i<t?t:i>e?e:i},W=function(t,e){return!U(t)||!(e=Kn.exec(t))?"":e[1]},lr=function(t,e,i){return kt(i,function(n){return pe(t,e,n)})},Je=[].slice,sn=function(t,e){return t&&pt(t)&&"length"in t&&(!e&&!t.length||t.length-1 in t&&pt(t[0]))&&!t.nodeType&&t!==_t},ur=function(t,e,i){return i===void 0&&(i=[]),t.forEach(function(n){var r;return U(n)&&!e||sn(n,1)?(r=i).push.apply(r,ft(n)):i.push(n)})||i},ft=function(t,e,i){return D&&!e&&D.selector?D.selector(t):U(t)&&!i&&($e||!Zt())?Je.call((e||li).querySelectorAll(t),0):Q(t)?ur(t,i):sn(t)?Je.call(t,0):t?[t]:[]},ti=function(t){return t=ft(t)[0]||he("Invalid scope")||{},function(e){var i=t.current||t.nativeElement||t;return ft(e,i.querySelectorAll?i:i===t?he("Invalid scope")||li.createElement("div"):t)}},an=function(t){return t.sort(function(){return .5-Math.random()})},on=function(t){if(I(t))return t;var e=pt(t)?t:{each:t},i=It(e.ease),n=e.from||0,r=parseFloat(e.base)||0,s={},a=n>0&&n<1,l=isNaN(n)||a,u=e.axis,f=n,c=n;return U(n)?f=c={center:.5,edges:.5,end:1}[n]||0:!a&&l&&(f=n[0],c=n[1]),function(_,d,p){var h=(p||e).length,m=s[h],y,v,T,M,g,x,w,E,b;if(!m){if(b=e.grid==="auto"?0:(e.grid||[1,ut])[1],!b){for(w=-ut;w<(w=p[b++].getBoundingClientRect().left)&&b<h;);b<h&&b--}for(m=s[h]=[],y=l?Math.min(b,h)*f-.5:n%b,v=b===ut?0:l?h*c/b-.5:n/b|0,w=0,E=ut,x=0;x<h;x++)T=x%b-y,M=v-(x/b|0),m[x]=g=u?Math.abs(u==="y"?M:T):Yi(T*T+M*M),g>w&&(w=g),g<E&&(E=g);n==="random"&&an(m),m.max=w-E,m.min=E,m.v=h=(parseFloat(e.amount)||parseFloat(e.each)*(b>h?h-1:u?u==="y"?h/b:b:Math.max(b,h/b))||0)*(n==="edges"?-1:1),m.b=h<0?r-h:r,m.u=W(e.amount||e.each)||0,i=i&&h<0?mn(i):i}return h=(m[_]-m.min)/m.max||0,B(m.b+(i?i(h):h)*m.v)+m.u}},ei=function(t){var e=Math.pow(10,((t+"").split(".")[1]||"").length);return function(i){var n=B(Math.round(parseFloat(i)/t)*t*e);return(n-n%1)/e+(Tt(i)?0:W(i))}},ln=function(t,e){var i=Q(t),n,r;return!i&&pt(t)&&(n=i=t.radius||ut,t.values?(t=ft(t.values),(r=!Tt(t[0]))&&(n*=n)):t=ei(t.increment)),kt(e,i?I(t)?function(s){return r=t(s),Math.abs(r-s)<=n?r:s}:function(s){for(var a=parseFloat(r?s.x:s),l=parseFloat(r?s.y:0),u=ut,f=0,c=t.length,_,d;c--;)r?(_=t[c].x-a,d=t[c].y-l,_=_*_+d*d):_=Math.abs(t[c]-a),_<u&&(u=_,f=c);return f=!n||u<=n?t[f]:s,r||f===s||Tt(s)?f:f+W(s)}:ei(t))},un=function(t,e,i,n){return kt(Q(t)?!e:i===!0?!!(i=0):!n,function(){return Q(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+i*.99))/i)*i*n)/n})},fr=function(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];return function(n){return e.reduce(function(r,s){return s(r)},n)}},hr=function(t,e){return function(i){return t(parseFloat(i))+(e||W(i))}},cr=function(t,e,i){return hn(t,e,0,1,i)},fn=function(t,e,i){return kt(i,function(n){return t[~~e(n)]})},_r=function o(t,e,i){var n=e-t;return Q(t)?fn(t,o(0,t.length),e):kt(i,function(r){return(n+(r-t)%n)%n+t})},dr=function o(t,e,i){var n=e-t,r=n*2;return Q(t)?fn(t,o(0,t.length-1),e):kt(i,function(s){return s=(r+(s-t)%r)%r||0,t+(s>n?r-s:s)})},Jt=function(t){for(var e=0,i="",n,r,s,a;~(n=t.indexOf("random(",e));)s=t.indexOf(")",n),a=t.charAt(n+7)==="[",r=t.substr(n+7,s-n-7).match(a?Gi:Qe),i+=t.substr(e,n-e)+un(a?r:+r[0],a?0:+r[1],+r[2]||1e-5),e=s+1;return i+t.substr(e,t.length-e)},hn=function(t,e,i,n,r){var s=e-t,a=n-i;return kt(r,function(l){return i+((l-t)/s*a||0)})},pr=function o(t,e,i,n){var r=isNaN(t+e)?0:function(d){return(1-d)*t+d*e};if(!r){var s=U(t),a={},l,u,f,c,_;if(i===!0&&(n=1)&&(i=null),s)t={p:t},e={p:e};else if(Q(t)&&!Q(e)){for(f=[],c=t.length,_=c-2,u=1;u<c;u++)f.push(o(t[u-1],t[u]));c--,r=function(p){p*=c;var h=Math.min(_,~~p);return f[h](p-h)},i=e}else n||(t=$t(Q(t)?[]:{},t));if(!f){for(l in e)mi.call(a,t,l,"get",e[l]);r=function(p){return Mi(p,a)||(s?t.p:t)}}}return kt(i,r)},Bi=function(t,e,i){var n=t.labels,r=ut,s,a,l;for(s in n)a=n[s]-e,a<0==!!i&&a&&r>(a=Math.abs(a))&&(l=s,r=a);return l},st=function(t,e,i){var n=t.vars,r=n[e],s=D,a=t._ctx,l,u,f;if(r)return l=n[e+"Params"],u=n.callbackScope||t,i&&Et.length&&Oe(),a&&(D=a),f=l?r.apply(u,l):r.call(u),D=s,f},ae=function(t){return St(t),t.scrollTrigger&&t.scrollTrigger.kill(!!G),t.progress()<1&&st(t,"onInterrupt"),t},Wt,cn=[],_n=function(t){if(t)if(t=!t.name&&t.default||t,si()||t.headless){var e=t.name,i=I(t),n=e&&!i&&t.init?function(){this._props=[]}:t,r={init:ce,render:Mi,add:mi,kill:Lr,modifier:Pr,rawVars:0},s={targetTest:0,get:0,getSetter:Re,aliases:{},register:0};if(Zt(),t!==n){if(J[e])return;ot(n,ot(Se(t,r),s)),$t(n.prototype,$t(r,Se(t,s))),J[n.prop=e]=n,t.targetTest&&(xe.push(n),ui[e]=1),e=(e==="css"?"CSS":e.charAt(0).toUpperCase()+e.substr(1))+"Plugin"}$i(e,n),t.register&&t.register($,n,j)}else cn.push(t)},k=255,oe={aqua:[0,k,k],lime:[0,k,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,k],navy:[0,0,128],white:[k,k,k],olive:[128,128,0],yellow:[k,k,0],orange:[k,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[k,0,0],pink:[k,192,203],cyan:[0,k,k],transparent:[k,k,k,0]},qe=function(t,e,i){return t+=t<0?1:t>1?-1:0,(t*6<1?e+(i-e)*t*6:t<.5?i:t*3<2?e+(i-e)*(2/3-t)*6:e)*k+.5|0},dn=function(t,e,i){var n=t?Tt(t)?[t>>16,t>>8&k,t&k]:0:oe.black,r,s,a,l,u,f,c,_,d,p;if(!n){if(t.substr(-1)===","&&(t=t.substr(0,t.length-1)),oe[t])n=oe[t];else if(t.charAt(0)==="#"){if(t.length<6&&(r=t.charAt(1),s=t.charAt(2),a=t.charAt(3),t="#"+r+r+s+s+a+a+(t.length===5?t.charAt(4)+t.charAt(4):"")),t.length===9)return n=parseInt(t.substr(1,6),16),[n>>16,n>>8&k,n&k,parseInt(t.substr(7),16)/255];t=parseInt(t.substr(1),16),n=[t>>16,t>>8&k,t&k]}else if(t.substr(0,3)==="hsl"){if(n=p=t.match(Qe),!e)l=+n[0]%360/360,u=+n[1]/100,f=+n[2]/100,s=f<=.5?f*(u+1):f+u-f*u,r=f*2-s,n.length>3&&(n[3]*=1),n[0]=qe(l+1/3,r,s),n[1]=qe(l,r,s),n[2]=qe(l-1/3,r,s);else if(~t.indexOf("="))return n=t.match(ai),i&&n.length<4&&(n[3]=1),n}else n=t.match(Qe)||oe.transparent;n=n.map(Number)}return e&&!p&&(r=n[0]/k,s=n[1]/k,a=n[2]/k,c=Math.max(r,s,a),_=Math.min(r,s,a),f=(c+_)/2,c===_?l=u=0:(d=c-_,u=f>.5?d/(2-c-_):d/(c+_),l=c===r?(s-a)/d+(s<a?6:0):c===s?(a-r)/d+2:(r-s)/d+4,l*=60),n[0]=~~(l+.5),n[1]=~~(u*100+.5),n[2]=~~(f*100+.5)),i&&n.length<4&&(n[3]=1),n},pn=function(t){var e=[],i=[],n=-1;return t.split(vt).forEach(function(r){var s=r.match(Ft)||[];e.push.apply(e,s),i.push(n+=s.length+1)}),e.c=i,e},Ui=function(t,e,i){var n="",r=(t+n).match(vt),s=e?"hsla(":"rgba(",a=0,l,u,f,c;if(!r)return t;if(r=r.map(function(_){return(_=dn(_,e,1))&&s+(e?_[0]+","+_[1]+"%,"+_[2]+"%,"+_[3]:_.join(","))+")"}),i&&(f=pn(t),l=i.c,l.join(n)!==f.c.join(n)))for(u=t.replace(vt,"1").split(Ft),c=u.length-1;a<c;a++)n+=u[a]+(~l.indexOf(a)?r.shift()||s+"0,0,0,0)":(f.length?f:r.length?r:i).shift());if(!u)for(u=t.split(vt),c=u.length-1;a<c;a++)n+=u[a]+r[a];return n+u[c]},vt=function(){var o="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",t;for(t in oe)o+="|"+t+"\\b";return new RegExp(o+")","gi")}(),mr=/hsl[a]?\(/,di=function(t){var e=t.join(" "),i;if(vt.lastIndex=0,vt.test(e))return i=mr.test(e),t[1]=Ui(t[1],i),t[0]=Ui(t[0],i,pn(t[1])),!0},_e,tt=function(){var o=Date.now,t=500,e=33,i=o(),n=i,r=1e3/240,s=r,a=[],l,u,f,c,_,d,p=function h(m){var y=o()-n,v=m===!0,T,M,g,x;if((y>t||y<0)&&(i+=y-e),n+=y,g=n-i,T=g-s,(T>0||v)&&(x=++c.frame,_=g-c.time*1e3,c.time=g=g/1e3,s+=T+(T>=r?4:r-T),M=1),v||(l=u(h)),M)for(d=0;d<a.length;d++)a[d](g,_,x,m)};return c={time:0,frame:0,tick:function(){p(!0)},deltaRatio:function(m){return _/(1e3/(m||60))},wake:function(){Wi&&(!$e&&si()&&(_t=$e=window,li=_t.document||{},at.gsap=$,(_t.gsapVersions||(_t.gsapVersions=[])).push($.version),Qi(Ee||_t.GreenSockGlobals||!_t.gsap&&_t||{}),cn.forEach(_n)),f=typeof requestAnimationFrame<"u"&&requestAnimationFrame,l&&c.sleep(),u=f||function(m){return setTimeout(m,s-c.time*1e3+1|0)},_e=1,p(2))},sleep:function(){(f?cancelAnimationFrame:clearTimeout)(l),_e=0,u=ce},lagSmoothing:function(m,y){t=m||1/0,e=Math.min(y||33,t)},fps:function(m){r=1e3/(m||240),s=c.time*1e3+r},add:function(m,y,v){var T=y?function(M,g,x,w){m(M,g,x,w),c.remove(T)}:m;return c.remove(m),a[v?"unshift":"push"](T),Zt(),T},remove:function(m,y){~(y=a.indexOf(m))&&a.splice(y,1)&&d>=y&&d--},_listeners:a},c}(),Zt=function(){return!_e&&tt.wake()},O={},gr=/^[\d.\-M][\d.\-,\s]/,yr=/["']/g,vr=function(t){for(var e={},i=t.substr(1,t.length-3).split(":"),n=i[0],r=1,s=i.length,a,l,u;r<s;r++)l=i[r],a=r!==s-1?l.lastIndexOf(","):l.length,u=l.substr(0,a),e[n]=isNaN(u)?u.replace(yr,"").trim():+u,n=l.substr(a+1).trim();return e},Tr=function(t){var e=t.indexOf("(")+1,i=t.indexOf(")"),n=t.indexOf("(",e);return t.substring(e,~n&&n<i?t.indexOf(")",i+1):i)},Mr=function(t){var e=(t+"").split("("),i=O[e[0]];return i&&e.length>1&&i.config?i.config.apply(null,~t.indexOf("{")?[vr(e[1])]:Tr(t).split(",").map(Zi)):O._CE&&gr.test(t)?O._CE("",t):i},mn=function(t){return function(e){return 1-t(1-e)}},gn=function o(t,e){for(var i=t._first,n;i;)i instanceof X?o(i,e):i.vars.yoyoEase&&(!i._yoyo||!i._repeat)&&i._yoyo!==e&&(i.timeline?o(i.timeline,e):(n=i._ease,i._ease=i._yEase,i._yEase=n,i._yoyo=e)),i=i._next},It=function(t,e){return t&&(I(t)?t:O[t]||Mr(t))||e},Bt=function(t,e,i,n){i===void 0&&(i=function(l){return 1-e(1-l)}),n===void 0&&(n=function(l){return l<.5?e(l*2)/2:1-e((1-l)*2)/2});var r={easeIn:e,easeOut:i,easeInOut:n},s;return K(t,function(a){O[a]=at[a]=r,O[s=a.toLowerCase()]=i;for(var l in r)O[s+(l==="easeIn"?".in":l==="easeOut"?".out":".inOut")]=O[a+"."+l]=r[l]}),r},yn=function(t){return function(e){return e<.5?(1-t(1-e*2))/2:.5+t((e-.5)*2)/2}},Ve=function o(t,e,i){var n=e>=1?e:1,r=(i||(t?.3:.45))/(e<1?e:1),s=r/We*(Math.asin(1/n)||0),a=function(f){return f===1?1:n*Math.pow(2,-10*f)*$n((f-s)*r)+1},l=t==="out"?a:t==="in"?function(u){return 1-a(1-u)}:yn(a);return r=We/r,l.config=function(u,f){return o(t,u,f)},l},Ye=function o(t,e){e===void 0&&(e=1.70158);var i=function(s){return s?--s*s*((e+1)*s+e)+1:0},n=t==="out"?i:t==="in"?function(r){return 1-i(1-r)}:yn(i);return n.config=function(r){return o(t,r)},n};K("Linear,Quad,Cubic,Quart,Quint,Strong",function(o,t){var e=t<5?t+1:t;Bt(o+",Power"+(e-1),t?function(i){return Math.pow(i,e)}:function(i){return i},function(i){return 1-Math.pow(1-i,e)},function(i){return i<.5?Math.pow(i*2,e)/2:1-Math.pow((1-i)*2,e)/2})});O.Linear.easeNone=O.none=O.Linear.easeIn;Bt("Elastic",Ve("in"),Ve("out"),Ve());(function(o,t){var e=1/t,i=2*e,n=2.5*e,r=function(a){return a<e?o*a*a:a<i?o*Math.pow(a-1.5/t,2)+.75:a<n?o*(a-=2.25/t)*a+.9375:o*Math.pow(a-2.625/t,2)+.984375};Bt("Bounce",function(s){return 1-r(1-s)},r)})(7.5625,2.75);Bt("Expo",function(o){return Math.pow(2,10*(o-1))*o+o*o*o*o*o*o*(1-o)});Bt("Circ",function(o){return-(Yi(1-o*o)-1)});Bt("Sine",function(o){return o===1?1:-Qn(o*Gn)+1});Bt("Back",Ye("in"),Ye("out"),Ye());O.SteppedEase=O.steps=at.SteppedEase={config:function(t,e){t===void 0&&(t=1);var i=1/t,n=t+(e?0:1),r=e?1:0,s=1-C;return function(a){return((n*pe(0,s,a)|0)+r)*i}}};Qt.ease=O["quad.out"];K("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(o){return fi+=o+","+o+"Params,"});var pi=function(t,e){this.id=Wn++,t._gsap=this,this.target=t,this.harness=e,this.get=e?e.get:ci,this.set=e?e.getSetter:Re},de=function(){function o(e){this.vars=e,this._delay=+e.delay||0,(this._repeat=e.repeat===1/0?-2:e.repeat||0)&&(this._rDelay=e.repeatDelay||0,this._yoyo=!!e.yoyo||!!e.yoyoEase),this._ts=1,jt(this,+e.duration,1,1),this.data=e.data,D&&(this._ctx=D,D.data.push(this)),_e||tt.wake()}var t=o.prototype;return t.delay=function(i){return i||i===0?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+i-this._delay),this._delay=i,this):this._delay},t.duration=function(i){return arguments.length?this.totalDuration(this._repeat>0?i+(i+this._rDelay)*this._repeat:i):this.totalDuration()&&this._dur},t.totalDuration=function(i){return arguments.length?(this._dirty=0,jt(this,this._repeat<0?i:(i-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},t.totalTime=function(i,n){if(Zt(),!arguments.length)return this._tTime;var r=this._dp;if(r&&r.smoothChildTiming&&this._ts){for(Ne(this,i),!r._dp||r.parent||en(r,this);r&&r.parent;)r.parent._time!==r._start+(r._ts>=0?r._tTime/r._ts:(r.totalDuration()-r._tTime)/-r._ts)&&r.totalTime(r._tTime,!0),r=r.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&i<this._tDur||this._ts<0&&i>0||!this._tDur&&!i)&&dt(this._dp,this,this._start-this._delay)}return(this._tTime!==i||!this._dur&&!n||this._initted&&Math.abs(this._zTime)===C||!i&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=i),ji(this,i,n)),this},t.time=function(i,n){return arguments.length?this.totalTime(Math.min(this.totalDuration(),i+Fi(this))%(this._dur+this._rDelay)||(i?this._dur:0),n):this._time},t.totalProgress=function(i,n){return arguments.length?this.totalTime(this.totalDuration()*i,n):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>=0&&this._initted?1:0},t.progress=function(i,n){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-i:i)+Fi(this),n):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},t.iteration=function(i,n){var r=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(i-1)*r,n):this._repeat?Kt(this._tTime,r)+1:1},t.timeScale=function(i,n){if(!arguments.length)return this._rts===-C?0:this._rts;if(this._rts===i)return this;var r=this.parent&&this._ts?ke(this.parent._time,this):this._tTime;return this._rts=+i||0,this._ts=this._ps||i===-C?0:this._rts,this.totalTime(pe(-Math.abs(this._delay),this.totalDuration(),r),n!==!1),De(this),ir(this)},t.paused=function(i){return arguments.length?(this._ps!==i&&(this._ps=i,i?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(Zt(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==C&&(this._tTime-=C)))),this):this._ps},t.startTime=function(i){if(arguments.length){this._start=i;var n=this.parent||this._dp;return n&&(n._sort||!this.parent)&&dt(n,this,i-this._delay),this}return this._start},t.endTime=function(i){return this._start+(et(i)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},t.rawTime=function(i){var n=this.parent||this._dp;return n?i&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?ke(n.rawTime(i),this):this._tTime:this._tTime},t.revert=function(i){i===void 0&&(i=Zn);var n=G;return G=i,_i(this)&&(this.timeline&&this.timeline.revert(i),this.totalTime(-.01,i.suppressEvents)),this.data!=="nested"&&i.kill!==!1&&this.kill(),G=n,this},t.globalTime=function(i){for(var n=this,r=arguments.length?i:n.rawTime();n;)r=n._start+r/(Math.abs(n._ts)||1),n=n._dp;return!this.parent&&this._sat?this._sat.globalTime(i):r},t.repeat=function(i){return arguments.length?(this._repeat=i===1/0?-2:i,Hi(this)):this._repeat===-2?1/0:this._repeat},t.repeatDelay=function(i){if(arguments.length){var n=this._time;return this._rDelay=i,Hi(this),n?this.time(n):this}return this._rDelay},t.yoyo=function(i){return arguments.length?(this._yoyo=i,this):this._yoyo},t.seek=function(i,n){return this.totalTime(lt(this,i),et(n))},t.restart=function(i,n){return this.play().totalTime(i?-this._delay:0,et(n)),this._dur||(this._zTime=-C),this},t.play=function(i,n){return i!=null&&this.seek(i,n),this.reversed(!1).paused(!1)},t.reverse=function(i,n){return i!=null&&this.seek(i||this.totalDuration(),n),this.reversed(!0).paused(!1)},t.pause=function(i,n){return i!=null&&this.seek(i,n),this.paused(!0)},t.resume=function(){return this.paused(!1)},t.reversed=function(i){return arguments.length?(!!i!==this.reversed()&&this.timeScale(-this._rts||(i?-C:0)),this):this._rts<0},t.invalidate=function(){return this._initted=this._act=0,this._zTime=-C,this},t.isActive=function(){var i=this.parent||this._dp,n=this._start,r;return!!(!i||this._ts&&this._initted&&i.isActive()&&(r=i.rawTime(!0))>=n&&r<this.endTime(!0)-C)},t.eventCallback=function(i,n,r){var s=this.vars;return arguments.length>1?(n?(s[i]=n,r&&(s[i+"Params"]=r),i==="onUpdate"&&(this._onUpdate=n)):delete s[i],this):s[i]},t.then=function(i){var n=this;return new Promise(function(r){var s=I(i)?i:Ji,a=function(){var u=n.then;n.then=null,I(s)&&(s=s(n))&&(s.then||s===n)&&(n.then=u),r(s),n.then=u};n._initted&&n.totalProgress()===1&&n._ts>=0||!n._tTime&&n._ts<0?a():n._prom=a})},t.kill=function(){ae(this)},o}();ot(de.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:-C,_prom:0,_ps:!1,_rts:1});var X=function(o){Vi(t,o);function t(i,n){var r;return i===void 0&&(i={}),r=o.call(this,i)||this,r.labels={},r.smoothChildTiming=!!i.smoothChildTiming,r.autoRemoveChildren=!!i.autoRemoveChildren,r._sort=et(i.sortChildren),N&&dt(i.parent||N,yt(r),n),i.reversed&&r.reverse(),i.paused&&r.paused(!0),i.scrollTrigger&&nn(yt(r),i.scrollTrigger),r}var e=t.prototype;return e.to=function(n,r,s){return ue(0,arguments,this),this},e.from=function(n,r,s){return ue(1,arguments,this),this},e.fromTo=function(n,r,s,a){return ue(2,arguments,this),this},e.set=function(n,r,s){return r.duration=0,r.parent=this,le(r).repeatDelay||(r.repeat=0),r.immediateRender=!!r.immediateRender,new F(n,r,lt(this,s),1),this},e.call=function(n,r,s){return dt(this,F.delayedCall(0,n,r),s)},e.staggerTo=function(n,r,s,a,l,u,f){return s.duration=r,s.stagger=s.stagger||a,s.onComplete=u,s.onCompleteParams=f,s.parent=this,new F(n,s,lt(this,l)),this},e.staggerFrom=function(n,r,s,a,l,u,f){return s.runBackwards=1,le(s).immediateRender=et(s.immediateRender),this.staggerTo(n,r,s,a,l,u,f)},e.staggerFromTo=function(n,r,s,a,l,u,f,c){return a.startAt=s,le(a).immediateRender=et(a.immediateRender),this.staggerTo(n,r,a,l,u,f,c)},e.render=function(n,r,s){var a=this._time,l=this._dirty?this.totalDuration():this._tDur,u=this._dur,f=n<=0?0:B(n),c=this._zTime<0!=n<0&&(this._initted||!u),_,d,p,h,m,y,v,T,M,g,x,w;if(this!==N&&f>l&&n>=0&&(f=l),f!==this._tTime||s||c){if(a!==this._time&&u&&(f+=this._time-a,n+=this._time-a),_=f,M=this._start,T=this._ts,y=!T,c&&(u||(a=this._zTime),(n||!r)&&(this._zTime=n)),this._repeat){if(x=this._yoyo,m=u+this._rDelay,this._repeat<-1&&n<0)return this.totalTime(m*100+n,r,s);if(_=B(f%m),f===l?(h=this._repeat,_=u):(g=B(f/m),h=~~g,h&&h===g&&(_=u,h--),_>u&&(_=u)),g=Kt(this._tTime,m),!a&&this._tTime&&g!==h&&this._tTime-g*m-this._dur<=0&&(g=h),x&&h&1&&(_=u-_,w=1),h!==g&&!this._lock){var E=x&&g&1,b=E===(x&&h&1);if(h<g&&(E=!E),a=E?0:f%u?u:f,this._lock=1,this.render(a||(w?0:B(h*m)),r,!u)._lock=0,this._tTime=f,!r&&this.parent&&st(this,"onRepeat"),this.vars.repeatRefresh&&!w&&(this.invalidate()._lock=1),a&&a!==this._time||y!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(u=this._dur,l=this._tDur,b&&(this._lock=2,a=E?u:-1e-4,this.render(a,!0),this.vars.repeatRefresh&&!w&&this.invalidate()),this._lock=0,!this._ts&&!y)return this;gn(this,w)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(v=ar(this,B(a),B(_)),v&&(f-=_-(_=v._start))),this._tTime=f,this._time=_,this._act=!T,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=n,a=0),!a&&f&&!r&&!g&&(st(this,"onStart"),this._tTime!==f))return this;if(_>=a&&n>=0)for(d=this._first;d;){if(p=d._next,(d._act||_>=d._start)&&d._ts&&v!==d){if(d.parent!==this)return this.render(n,r,s);if(d.render(d._ts>0?(_-d._start)*d._ts:(d._dirty?d.totalDuration():d._tDur)+(_-d._start)*d._ts,r,s),_!==this._time||!this._ts&&!y){v=0,p&&(f+=this._zTime=-C);break}}d=p}else{d=this._last;for(var S=n<0?n:_;d;){if(p=d._prev,(d._act||S<=d._end)&&d._ts&&v!==d){if(d.parent!==this)return this.render(n,r,s);if(d.render(d._ts>0?(S-d._start)*d._ts:(d._dirty?d.totalDuration():d._tDur)+(S-d._start)*d._ts,r,s||G&&_i(d)),_!==this._time||!this._ts&&!y){v=0,p&&(f+=this._zTime=S?-C:C);break}}d=p}}if(v&&!r&&(this.pause(),v.render(_>=a?0:-C)._zTime=_>=a?1:-1,this._ts))return this._start=M,De(this),this.render(n,r,s);this._onUpdate&&!r&&st(this,"onUpdate",!0),(f===l&&this._tTime>=this.totalDuration()||!f&&a)&&(M===this._start||Math.abs(T)!==Math.abs(this._ts))&&(this._lock||((n||!u)&&(f===l&&this._ts>0||!f&&this._ts<0)&&St(this,1),!r&&!(n<0&&!a)&&(f||a||!l)&&(st(this,f===l&&n>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(f<l&&this.timeScale()>0)&&this._prom())))}return this},e.add=function(n,r){var s=this;if(Tt(r)||(r=lt(this,r,n)),!(n instanceof de)){if(Q(n))return n.forEach(function(a){return s.add(a,r)}),this;if(U(n))return this.addLabel(n,r);if(I(n))n=F.delayedCall(0,n);else return this}return this!==n?dt(this,n,r):this},e.getChildren=function(n,r,s,a){n===void 0&&(n=!0),r===void 0&&(r=!0),s===void 0&&(s=!0),a===void 0&&(a=-ut);for(var l=[],u=this._first;u;)u._start>=a&&(u instanceof F?r&&l.push(u):(s&&l.push(u),n&&l.push.apply(l,u.getChildren(!0,r,s)))),u=u._next;return l},e.getById=function(n){for(var r=this.getChildren(1,1,1),s=r.length;s--;)if(r[s].vars.id===n)return r[s]},e.remove=function(n){return U(n)?this.removeLabel(n):I(n)?this.killTweensOf(n):(n.parent===this&&Ae(this,n),n===this._recent&&(this._recent=this._last),Rt(this))},e.totalTime=function(n,r){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=B(tt.time-(this._ts>0?n/this._ts:(this.totalDuration()-n)/-this._ts))),o.prototype.totalTime.call(this,n,r),this._forcing=0,this):this._tTime},e.addLabel=function(n,r){return this.labels[n]=lt(this,r),this},e.removeLabel=function(n){return delete this.labels[n],this},e.addPause=function(n,r,s){var a=F.delayedCall(0,r||ce,s);return a.data="isPause",this._hasPause=1,dt(this,a,lt(this,n))},e.removePause=function(n){var r=this._first;for(n=lt(this,n);r;)r._start===n&&r.data==="isPause"&&St(r),r=r._next},e.killTweensOf=function(n,r,s){for(var a=this.getTweensOf(n,s),l=a.length;l--;)wt!==a[l]&&a[l].kill(n,r);return this},e.getTweensOf=function(n,r){for(var s=[],a=ft(n),l=this._first,u=Tt(r),f;l;)l instanceof F?Jn(l._targets,a)&&(u?(!wt||l._initted&&l._ts)&&l.globalTime(0)<=r&&l.globalTime(l.totalDuration())>r:!r||l.isActive())&&s.push(l):(f=l.getTweensOf(a,r)).length&&s.push.apply(s,f),l=l._next;return s},e.tweenTo=function(n,r){r=r||{};var s=this,a=lt(s,n),l=r,u=l.startAt,f=l.onStart,c=l.onStartParams,_=l.immediateRender,d,p=F.to(s,ot({ease:r.ease||"none",lazy:!1,immediateRender:!1,time:a,overwrite:"auto",duration:r.duration||Math.abs((a-(u&&"time"in u?u.time:s._time))/s.timeScale())||C,onStart:function(){if(s.pause(),!d){var m=r.duration||Math.abs((a-(u&&"time"in u?u.time:s._time))/s.timeScale());p._dur!==m&&jt(p,m,0,1).render(p._time,!0,!0),d=1}f&&f.apply(p,c||[])}},r));return _?p.render(0):p},e.tweenFromTo=function(n,r,s){return this.tweenTo(r,ot({startAt:{time:lt(this,n)}},s))},e.recent=function(){return this._recent},e.nextLabel=function(n){return n===void 0&&(n=this._time),Bi(this,lt(this,n))},e.previousLabel=function(n){return n===void 0&&(n=this._time),Bi(this,lt(this,n),1)},e.currentLabel=function(n){return arguments.length?this.seek(n,!0):this.previousLabel(this._time+C)},e.shiftChildren=function(n,r,s){s===void 0&&(s=0);for(var a=this._first,l=this.labels,u;a;)a._start>=s&&(a._start+=n,a._end+=n),a=a._next;if(r)for(u in l)l[u]>=s&&(l[u]+=n);return Rt(this)},e.invalidate=function(n){var r=this._first;for(this._lock=0;r;)r.invalidate(n),r=r._next;return o.prototype.invalidate.call(this,n)},e.clear=function(n){n===void 0&&(n=!0);for(var r=this._first,s;r;)s=r._next,this.remove(r),r=s;return this._dp&&(this._time=this._tTime=this._pTime=0),n&&(this.labels={}),Rt(this)},e.totalDuration=function(n){var r=0,s=this,a=s._last,l=ut,u,f,c;if(arguments.length)return s.timeScale((s._repeat<0?s.duration():s.totalDuration())/(s.reversed()?-n:n));if(s._dirty){for(c=s.parent;a;)u=a._prev,a._dirty&&a.totalDuration(),f=a._start,f>l&&s._sort&&a._ts&&!s._lock?(s._lock=1,dt(s,a,f-a._delay,1)._lock=0):l=f,f<0&&a._ts&&(r-=f,(!c&&!s._dp||c&&c.smoothChildTiming)&&(s._start+=f/s._ts,s._time-=f,s._tTime-=f),s.shiftChildren(-f,!1,-1/0),l=0),a._end>r&&a._ts&&(r=a._end),a=u;jt(s,s===N&&s._time>r?s._time:r,1,1),s._dirty=0}return s._tDur},t.updateRoot=function(n){if(N._ts&&(ji(N,ke(n,N)),Ki=tt.frame),tt.frame>=Ii){Ii+=it.autoSleep||120;var r=N._first;if((!r||!r._ts)&&it.autoSleep&&tt._listeners.length<2){for(;r&&!r._ts;)r=r._next;r||tt.sleep()}}},t}(de);ot(X.prototype,{_lock:0,_hasPause:0,_forcing:0});var br=function(t,e,i,n,r,s,a){var l=new j(this._pt,t,e,0,1,Ti,null,r),u=0,f=0,c,_,d,p,h,m,y,v;for(l.b=i,l.e=n,i+="",n+="",(y=~n.indexOf("random("))&&(n=Jt(n)),s&&(v=[i,n],s(v,t,e),i=v[0],n=v[1]),_=i.match(Be)||[];c=Be.exec(n);)p=c[0],h=n.substring(u,c.index),d?d=(d+1)%5:h.substr(-5)==="rgba("&&(d=1),p!==_[f++]&&(m=parseFloat(_[f-1])||0,l._pt={_next:l._pt,p:h||f===1?h:",",s:m,c:p.charAt(1)==="="?Ht(m,p)-m:parseFloat(p)-m,m:d&&d<4?Math.round:0},u=Be.lastIndex);return l.c=u<n.length?n.substring(u,n.length):"",l.fp=a,(oi.test(n)||y)&&(l.e=0),this._pt=l,l},mi=function(t,e,i,n,r,s,a,l,u,f){I(n)&&(n=n(r||0,t,s));var c=t[e],_=i!=="get"?i:I(c)?u?t[e.indexOf("set")||!I(t["get"+e.substr(3)])?e:"get"+e.substr(3)](u):t[e]():c,d=I(c)?u?Sr:Mn:vi,p;if(U(n)&&(~n.indexOf("random(")&&(n=Jt(n)),n.charAt(1)==="="&&(p=Ht(_,n)+(W(_)||0),(p||p===0)&&(n=p))),!f||_!==n||ii)return!isNaN(_*n)&&n!==""?(p=new j(this._pt,t,e,+_||0,n-(_||0),typeof c=="boolean"?Cr:bn,0,d),u&&(p.fp=u),a&&p.modifier(a,this,t),this._pt=p):(!c&&!(e in t)&&Le(e,n),br.call(this,t,e,_,n,d,l||it.stringFilter,u))},xr=function(t,e,i,n,r){if(I(t)&&(t=fe(t,r,e,i,n)),!pt(t)||t.style&&t.nodeType||Q(t)||Xi(t))return U(t)?fe(t,r,e,i,n):t;var s={},a;for(a in t)s[a]=fe(t[a],r,e,i,n);return s},gi=function(t,e,i,n,r,s){var a,l,u,f;if(J[t]&&(a=new J[t]).init(r,a.rawVars?e[t]:xr(e[t],n,r,s,i),i,n,s)!==!1&&(i._pt=l=new j(i._pt,r,t,0,1,a.render,a,0,a.priority),i!==Wt))for(u=i._ptLookup[i._targets.indexOf(r)],f=a._props.length;f--;)u[a._props[f]]=l;return a},wt,ii,yi=function o(t,e,i){var n=t.vars,r=n.ease,s=n.startAt,a=n.immediateRender,l=n.lazy,u=n.onUpdate,f=n.runBackwards,c=n.yoyoEase,_=n.keyframes,d=n.autoRevert,p=t._dur,h=t._startAt,m=t._targets,y=t.parent,v=y&&y.data==="nested"?y.vars.targets:m,T=t._overwrite==="auto"&&!ri,M=t.timeline,g,x,w,E,b,S,A,P,L,Y,q,H,V;if(M&&(!_||!r)&&(r="none"),t._ease=It(r,Qt.ease),t._yEase=c?mn(It(c===!0?r:c,Qt.ease)):0,c&&t._yoyo&&!t._repeat&&(c=t._yEase,t._yEase=t._ease,t._ease=c),t._from=!M&&!!n.runBackwards,!M||_&&!n.stagger){if(P=m[0]?Ot(m[0]).harness:0,H=P&&n[P.prop],g=Se(n,ui),h&&(h._zTime<0&&h.progress(1),e<0&&f&&a&&!d?h.render(-1,!0):h.revert(f&&p?be:jn),h._lazy=0),s){if(St(t._startAt=F.set(m,ot({data:"isStart",overwrite:!1,parent:y,immediateRender:!0,lazy:!h&&et(l),startAt:null,delay:0,onUpdate:u&&function(){return st(t,"onUpdate")},stagger:0},s))),t._startAt._dp=0,t._startAt._sat=t,e<0&&(G||!a&&!d)&&t._startAt.revert(be),a&&p&&e<=0&&i<=0){e&&(t._zTime=e);return}}else if(f&&p&&!h){if(e&&(a=!1),w=ot({overwrite:!1,data:"isFromStart",lazy:a&&!h&&et(l),immediateRender:a,stagger:0,parent:y},g),H&&(w[P.prop]=H),St(t._startAt=F.set(m,w)),t._startAt._dp=0,t._startAt._sat=t,e<0&&(G?t._startAt.revert(be):t._startAt.render(-1,!0)),t._zTime=e,!a)o(t._startAt,C,C);else if(!e)return}for(t._pt=t._ptCache=0,l=p&&et(l)||l&&!p,x=0;x<m.length;x++){if(b=m[x],A=b._gsap||hi(m)[x]._gsap,t._ptLookup[x]=Y={},Ke[A.id]&&Et.length&&Oe(),q=v===m?x:v.indexOf(b),P&&(L=new P).init(b,H||g,t,q,v)!==!1&&(t._pt=E=new j(t._pt,b,L.name,0,1,L.render,L,0,L.priority),L._props.forEach(function(ct){Y[ct]=E}),L.priority&&(S=1)),!P||H)for(w in g)J[w]&&(L=gi(w,g,t,q,b,v))?L.priority&&(S=1):Y[w]=E=mi.call(t,b,w,"get",g[w],q,v,0,n.stringFilter);t._op&&t._op[x]&&t.kill(b,t._op[x]),T&&t._pt&&(wt=t,N.killTweensOf(b,Y,t.globalTime(e)),V=!t.parent,wt=0),t._pt&&l&&(Ke[A.id]=1)}S&&bi(t),t._onInit&&t._onInit(t)}t._onUpdate=u,t._initted=(!t._op||t._pt)&&!V,_&&e<=0&&M.render(ut,!0,!0)},wr=function(t,e,i,n,r,s,a,l){var u=(t._pt&&t._ptCache||(t._ptCache={}))[e],f,c,_,d;if(!u)for(u=t._ptCache[e]=[],_=t._ptLookup,d=t._targets.length;d--;){if(f=_[d][e],f&&f.d&&f.d._pt)for(f=f.d._pt;f&&f.p!==e&&f.fp!==e;)f=f._next;if(!f)return ii=1,t.vars[e]="+=0",yi(t,a),ii=0,l?he(e+" not eligible for reset"):1;u.push(f)}for(d=u.length;d--;)c=u[d],f=c._pt||c,f.s=(n||n===0)&&!r?n:f.s+(n||0)+s*f.c,f.c=i-f.s,c.e&&(c.e=z(i)+W(c.e)),c.b&&(c.b=f.s+W(c.b))},Er=function(t,e){var i=t[0]?Ot(t[0]).harness:0,n=i&&i.aliases,r,s,a,l;if(!n)return e;r=$t({},e);for(s in n)if(s in r)for(l=n[s].split(","),a=l.length;a--;)r[l[a]]=r[s];return r},Or=function(t,e,i,n){var r=e.ease||n||"power1.inOut",s,a;if(Q(e))a=i[t]||(i[t]=[]),e.forEach(function(l,u){return a.push({t:u/(e.length-1)*100,v:l,e:r})});else for(s in e)a=i[s]||(i[s]=[]),s==="ease"||a.push({t:parseFloat(t),v:e[s],e:r})},fe=function(t,e,i,n,r){return I(t)?t.call(e,i,n,r):U(t)&&~t.indexOf("random(")?Jt(t):t},vn=fi+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",Tn={};K(vn+",id,stagger,delay,duration,paused,scrollTrigger",function(o){return Tn[o]=1});var F=function(o){Vi(t,o);function t(i,n,r,s){var a;typeof n=="number"&&(r.duration=n,n=r,r=null),a=o.call(this,s?n:le(n))||this;var l=a.vars,u=l.duration,f=l.delay,c=l.immediateRender,_=l.stagger,d=l.overwrite,p=l.keyframes,h=l.defaults,m=l.scrollTrigger,y=l.yoyoEase,v=n.parent||N,T=(Q(i)||Xi(i)?Tt(i[0]):"length"in n)?[i]:ft(i),M,g,x,w,E,b,S,A;if(a._targets=T.length?hi(T):he("GSAP target "+i+" not found. https://gsap.com",!it.nullTargetWarn)||[],a._ptLookup=[],a._overwrite=d,p||_||Me(u)||Me(f)){if(n=a.vars,M=a.timeline=new X({data:"nested",defaults:h||{},targets:v&&v.data==="nested"?v.vars.targets:T}),M.kill(),M.parent=M._dp=yt(a),M._start=0,_||Me(u)||Me(f)){if(w=T.length,S=_&&on(_),pt(_))for(E in _)~vn.indexOf(E)&&(A||(A={}),A[E]=_[E]);for(g=0;g<w;g++)x=Se(n,Tn),x.stagger=0,y&&(x.yoyoEase=y),A&&$t(x,A),b=T[g],x.duration=+fe(u,yt(a),g,b,T),x.delay=(+fe(f,yt(a),g,b,T)||0)-a._delay,!_&&w===1&&x.delay&&(a._delay=f=x.delay,a._start+=f,x.delay=0),M.to(b,x,S?S(g,b,T):0),M._ease=O.none;M.duration()?u=f=0:a.timeline=0}else if(p){le(ot(M.vars.defaults,{ease:"none"})),M._ease=It(p.ease||n.ease||"none");var P=0,L,Y,q;if(Q(p))p.forEach(function(H){return M.to(T,H,">")}),M.duration();else{x={};for(E in p)E==="ease"||E==="easeEach"||Or(E,p[E],x,p.easeEach);for(E in x)for(L=x[E].sort(function(H,V){return H.t-V.t}),P=0,g=0;g<L.length;g++)Y=L[g],q={ease:Y.e,duration:(Y.t-(g?L[g-1].t:0))/100*u},q[E]=Y.v,M.to(T,q,P),P+=q.duration;M.duration()<u&&M.to({},{duration:u-M.duration()})}}u||a.duration(u=M.duration())}else a.timeline=0;return d===!0&&!ri&&(wt=yt(a),N.killTweensOf(T),wt=0),dt(v,yt(a),r),n.reversed&&a.reverse(),n.paused&&a.paused(!0),(c||!u&&!p&&a._start===B(v._time)&&et(c)&&nr(yt(a))&&v.data!=="nested")&&(a._tTime=-C,a.render(Math.max(0,-f)||0)),m&&nn(yt(a),m),a}var e=t.prototype;return e.render=function(n,r,s){var a=this._time,l=this._tDur,u=this._dur,f=n<0,c=n>l-C&&!f?l:n<C?0:n,_,d,p,h,m,y,v,T,M;if(!u)sr(this,n,r,s);else if(c!==this._tTime||!n||s||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==f||this._lazy){if(_=c,T=this.timeline,this._repeat){if(h=u+this._rDelay,this._repeat<-1&&f)return this.totalTime(h*100+n,r,s);if(_=B(c%h),c===l?(p=this._repeat,_=u):(m=B(c/h),p=~~m,p&&p===m?(_=u,p--):_>u&&(_=u)),y=this._yoyo&&p&1,y&&(M=this._yEase,_=u-_),m=Kt(this._tTime,h),_===a&&!s&&this._initted&&p===m)return this._tTime=c,this;p!==m&&(T&&this._yEase&&gn(T,y),this.vars.repeatRefresh&&!y&&!this._lock&&_!==h&&this._initted&&(this._lock=s=1,this.render(B(h*p),!0).invalidate()._lock=0))}if(!this._initted){if(rn(this,f?n:_,s,r,c))return this._tTime=0,this;if(a!==this._time&&!(s&&this.vars.repeatRefresh&&p!==m))return this;if(u!==this._dur)return this.render(n,r,s)}if(this._tTime=c,this._time=_,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=v=(M||this._ease)(_/u),this._from&&(this.ratio=v=1-v),!a&&c&&!r&&!m&&(st(this,"onStart"),this._tTime!==c))return this;for(d=this._pt;d;)d.r(v,d.d),d=d._next;T&&T.render(n<0?n:T._dur*T._ease(_/this._dur),r,s)||this._startAt&&(this._zTime=n),this._onUpdate&&!r&&(f&&je(this,n,r,s),st(this,"onUpdate")),this._repeat&&p!==m&&this.vars.onRepeat&&!r&&this.parent&&st(this,"onRepeat"),(c===this._tDur||!c)&&this._tTime===c&&(f&&!this._onUpdate&&je(this,n,!0,!0),(n||!u)&&(c===this._tDur&&this._ts>0||!c&&this._ts<0)&&St(this,1),!r&&!(f&&!a)&&(c||a||y)&&(st(this,c===l?"onComplete":"onReverseComplete",!0),this._prom&&!(c<l&&this.timeScale()>0)&&this._prom()))}return this},e.targets=function(){return this._targets},e.invalidate=function(n){return(!n||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(n),o.prototype.invalidate.call(this,n)},e.resetTo=function(n,r,s,a,l){_e||tt.wake(),this._ts||this.play();var u=Math.min(this._dur,(this._dp._time-this._start)*this._ts),f;return this._initted||yi(this,u),f=this._ease(u/this._dur),wr(this,n,r,s,a,f,u,l)?this.resetTo(n,r,s,a,1):(Ne(this,0),this.parent||tn(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},e.kill=function(n,r){if(r===void 0&&(r="all"),!n&&(!r||r==="all"))return this._lazy=this._pt=0,this.parent?ae(this):this.scrollTrigger&&this.scrollTrigger.kill(!!G),this;if(this.timeline){var s=this.timeline.totalDuration();return this.timeline.killTweensOf(n,r,wt&&wt.vars.overwrite!==!0)._first||ae(this),this.parent&&s!==this.timeline.totalDuration()&&jt(this,this._dur*this.timeline._tDur/s,0,1),this}var a=this._targets,l=n?ft(n):a,u=this._ptLookup,f=this._pt,c,_,d,p,h,m,y;if((!r||r==="all")&&er(a,l))return r==="all"&&(this._pt=0),ae(this);for(c=this._op=this._op||[],r!=="all"&&(U(r)&&(h={},K(r,function(v){return h[v]=1}),r=h),r=Er(a,r)),y=a.length;y--;)if(~l.indexOf(a[y])){_=u[y],r==="all"?(c[y]=r,p=_,d={}):(d=c[y]=c[y]||{},p=r);for(h in p)m=_&&_[h],m&&((!("kill"in m.d)||m.d.kill(h)===!0)&&Ae(this,m,"_pt"),delete _[h]),d!=="all"&&(d[h]=1)}return this._initted&&!this._pt&&f&&ae(this),this},t.to=function(n,r){return new t(n,r,arguments[2])},t.from=function(n,r){return ue(1,arguments)},t.delayedCall=function(n,r,s,a){return new t(r,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:n,onComplete:r,onReverseComplete:r,onCompleteParams:s,onReverseCompleteParams:s,callbackScope:a})},t.fromTo=function(n,r,s){return ue(2,arguments)},t.set=function(n,r){return r.duration=0,r.repeatDelay||(r.repeat=0),new t(n,r)},t.killTweensOf=function(n,r,s){return N.killTweensOf(n,r,s)},t}(de);ot(F.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});K("staggerTo,staggerFrom,staggerFromTo",function(o){F[o]=function(){var t=new X,e=Je.call(arguments,0);return e.splice(o==="staggerFromTo"?5:4,0,0),t[o].apply(t,e)}});var vi=function(t,e,i){return t[e]=i},Mn=function(t,e,i){return t[e](i)},Sr=function(t,e,i,n){return t[e](n.fp,i)},kr=function(t,e,i){return t.setAttribute(e,i)},Re=function(t,e){return I(t[e])?Mn:Pe(t[e])&&t.setAttribute?kr:vi},bn=function(t,e){return e.set(e.t,e.p,Math.round((e.s+e.c*t)*1e6)/1e6,e)},Cr=function(t,e){return e.set(e.t,e.p,!!(e.s+e.c*t),e)},Ti=function(t,e){var i=e._pt,n="";if(!t&&e.b)n=e.b;else if(t===1&&e.e)n=e.e;else{for(;i;)n=i.p+(i.m?i.m(i.s+i.c*t):Math.round((i.s+i.c*t)*1e4)/1e4)+n,i=i._next;n+=e.c}e.set(e.t,e.p,n,e)},Mi=function(t,e){for(var i=e._pt;i;)i.r(t,i.d),i=i._next},Pr=function(t,e,i,n){for(var r=this._pt,s;r;)s=r._next,r.p===n&&r.modifier(t,e,i),r=s},Lr=function(t){for(var e=this._pt,i,n;e;)n=e._next,e.p===t&&!e.op||e.op===t?Ae(this,e,"_pt"):e.dep||(i=1),e=n;return!i},Ar=function(t,e,i,n){n.mSet(t,e,n.m.call(n.tween,i,n.mt),n)},bi=function(t){for(var e=t._pt,i,n,r,s;e;){for(i=e._next,n=r;n&&n.pr>e.pr;)n=n._next;(e._prev=n?n._prev:s)?e._prev._next=e:r=e,(e._next=n)?n._prev=e:s=e,e=i}t._pt=r},j=function(){function o(e,i,n,r,s,a,l,u,f){this.t=i,this.s=r,this.c=s,this.p=n,this.r=a||bn,this.d=l||this,this.set=u||vi,this.pr=f||0,this._next=e,e&&(e._prev=this)}var t=o.prototype;return t.modifier=function(i,n,r){this.mSet=this.mSet||this.set,this.set=Ar,this.m=i,this.mt=r,this.tween=n},o}();K(fi+"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(o){return ui[o]=1});at.TweenMax=at.TweenLite=F;at.TimelineLite=at.TimelineMax=X;N=new X({sortChildren:!1,defaults:Qt,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0});it.stringFilter=di;var zt=[],we={},Dr=[],qi=0,Nr=0,Xe=function(t){return(we[t]||Dr).map(function(e){return e()})},ni=function(){var t=Date.now(),e=[];t-qi>2&&(Xe("matchMediaInit"),zt.forEach(function(i){var n=i.queries,r=i.conditions,s,a,l,u;for(a in n)s=_t.matchMedia(n[a]).matches,s&&(l=1),s!==r[a]&&(r[a]=s,u=1);u&&(i.revert(),l&&e.push(i))}),Xe("matchMediaRevert"),e.forEach(function(i){return i.onMatch(i,function(n){return i.add(null,n)})}),qi=t,Xe("matchMedia"))},xn=function(){function o(e,i){this.selector=i&&ti(i),this.data=[],this._r=[],this.isReverted=!1,this.id=Nr++,e&&this.add(e)}var t=o.prototype;return t.add=function(i,n,r){I(i)&&(r=n,n=i,i=I);var s=this,a=function(){var u=D,f=s.selector,c;return u&&u!==s&&u.data.push(s),r&&(s.selector=ti(r)),D=s,c=n.apply(s,arguments),I(c)&&s._r.push(c),D=u,s.selector=f,s.isReverted=!1,c};return s.last=a,i===I?a(s,function(l){return s.add(null,l)}):i?s[i]=a:a},t.ignore=function(i){var n=D;D=null,i(this),D=n},t.getTweens=function(){var i=[];return this.data.forEach(function(n){return n instanceof o?i.push.apply(i,n.getTweens()):n instanceof F&&!(n.parent&&n.parent.data==="nested")&&i.push(n)}),i},t.clear=function(){this._r.length=this.data.length=0},t.kill=function(i,n){var r=this;if(i?function(){for(var a=r.getTweens(),l=r.data.length,u;l--;)u=r.data[l],u.data==="isFlip"&&(u.revert(),u.getChildren(!0,!0,!1).forEach(function(f){return a.splice(a.indexOf(f),1)}));for(a.map(function(f){return{g:f._dur||f._delay||f._sat&&!f._sat.vars.immediateRender?f.globalTime(0):-1/0,t:f}}).sort(function(f,c){return c.g-f.g||-1/0}).forEach(function(f){return f.t.revert(i)}),l=r.data.length;l--;)u=r.data[l],u instanceof X?u.data!=="nested"&&(u.scrollTrigger&&u.scrollTrigger.revert(),u.kill()):!(u instanceof F)&&u.revert&&u.revert(i);r._r.forEach(function(f){return f(i,r)}),r.isReverted=!0}():this.data.forEach(function(a){return a.kill&&a.kill()}),this.clear(),n)for(var s=zt.length;s--;)zt[s].id===this.id&&zt.splice(s,1)},t.revert=function(i){this.kill(i||{})},o}(),Rr=function(){function o(e){this.contexts=[],this.scope=e,D&&D.data.push(this)}var t=o.prototype;return t.add=function(i,n,r){pt(i)||(i={matches:i});var s=new xn(0,r||this.scope),a=s.conditions={},l,u,f;D&&!s.selector&&(s.selector=D.selector),this.contexts.push(s),n=s.add("onMatch",n),s.queries=i;for(u in i)u==="all"?f=1:(l=_t.matchMedia(i[u]),l&&(zt.indexOf(s)<0&&zt.push(s),(a[u]=l.matches)&&(f=1),l.addListener?l.addListener(ni):l.addEventListener("change",ni)));return f&&n(s,function(c){return s.add(null,c)}),this},t.revert=function(i){this.kill(i||{})},t.kill=function(i){this.contexts.forEach(function(n){return n.kill(i,!0)})},o}(),Ce={registerPlugin:function(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];e.forEach(function(n){return _n(n)})},timeline:function(t){return new X(t)},getTweensOf:function(t,e){return N.getTweensOf(t,e)},getProperty:function(t,e,i,n){U(t)&&(t=ft(t)[0]);var r=Ot(t||{}).get,s=i?Ji:Zi;return i==="native"&&(i=""),t&&(e?s((J[e]&&J[e].get||r)(t,e,i,n)):function(a,l,u){return s((J[a]&&J[a].get||r)(t,a,l,u))})},quickSetter:function(t,e,i){if(t=ft(t),t.length>1){var n=t.map(function(f){return $.quickSetter(f,e,i)}),r=n.length;return function(f){for(var c=r;c--;)n[c](f)}}t=t[0]||{};var s=J[e],a=Ot(t),l=a.harness&&(a.harness.aliases||{})[e]||e,u=s?function(f){var c=new s;Wt._pt=0,c.init(t,i?f+i:f,Wt,0,[t]),c.render(1,c),Wt._pt&&Mi(1,Wt)}:a.set(t,l);return s?u:function(f){return u(t,l,i?f+i:f,a,1)}},quickTo:function(t,e,i){var n,r=$.to(t,ot((n={},n[e]="+=0.1",n.paused=!0,n.stagger=0,n),i||{})),s=function(l,u,f){return r.resetTo(e,l,u,f)};return s.tween=r,s},isTweening:function(t){return N.getTweensOf(t,!0).length>0},defaults:function(t){return t&&t.ease&&(t.ease=It(t.ease,Qt.ease)),zi(Qt,t||{})},config:function(t){return zi(it,t||{})},registerEffect:function(t){var e=t.name,i=t.effect,n=t.plugins,r=t.defaults,s=t.extendTimeline;(n||"").split(",").forEach(function(a){return a&&!J[a]&&!at[a]&&he(e+" effect requires "+a+" plugin.")}),Ue[e]=function(a,l,u){return i(ft(a),ot(l||{},r),u)},s&&(X.prototype[e]=function(a,l,u){return this.add(Ue[e](a,pt(l)?l:(u=l)&&{},this),u)})},registerEase:function(t,e){O[t]=It(e)},parseEase:function(t,e){return arguments.length?It(t,e):O},getById:function(t){return N.getById(t)},exportRoot:function(t,e){t===void 0&&(t={});var i=new X(t),n,r;for(i.smoothChildTiming=et(t.smoothChildTiming),N.remove(i),i._dp=0,i._time=i._tTime=N._time,n=N._first;n;)r=n._next,(e||!(!n._dur&&n instanceof F&&n.vars.onComplete===n._targets[0]))&&dt(i,n,n._start-n._delay),n=r;return dt(N,i,0),i},context:function(t,e){return t?new xn(t,e):D},matchMedia:function(t){return new Rr(t)},matchMediaRefresh:function(){return zt.forEach(function(t){var e=t.conditions,i,n;for(n in e)e[n]&&(e[n]=!1,i=1);i&&t.revert()})||ni()},addEventListener:function(t,e){var i=we[t]||(we[t]=[]);~i.indexOf(e)||i.push(e)},removeEventListener:function(t,e){var i=we[t],n=i&&i.indexOf(e);n>=0&&i.splice(n,1)},utils:{wrap:_r,wrapYoyo:dr,distribute:on,random:un,snap:ln,normalize:cr,getUnit:W,clamp:lr,splitColor:dn,toArray:ft,selector:ti,mapRange:hn,pipe:fr,unitize:hr,interpolate:pr,shuffle:an},install:Qi,effects:Ue,ticker:tt,updateRoot:X.updateRoot,plugins:J,globalTimeline:N,core:{PropTween:j,globals:$i,Tween:F,Timeline:X,Animation:de,getCache:Ot,_removeLinkedListItem:Ae,reverting:function(){return G},context:function(t){return t&&D&&(D.data.push(t),t._ctx=D),D},suppressOverwrites:function(t){return ri=t}}};K("to,from,fromTo,delayedCall,set,killTweensOf",function(o){return Ce[o]=F[o]});tt.add(X.updateRoot);Wt=Ce.to({},{duration:0});var Ir=function(t,e){for(var i=t._pt;i&&i.p!==e&&i.op!==e&&i.fp!==e;)i=i._next;return i},zr=function(t,e){var i=t._targets,n,r,s;for(n in e)for(r=i.length;r--;)s=t._ptLookup[r][n],s&&(s=s.d)&&(s._pt&&(s=Ir(s,n)),s&&s.modifier&&s.modifier(e[n],t,i[r],n))},Ge=function(t,e){return{name:t,headless:1,rawVars:1,init:function(n,r,s){s._onInit=function(a){var l,u;if(U(r)&&(l={},K(r,function(f){return l[f]=1}),r=l),e){l={};for(u in r)l[u]=e(r[u]);r=l}zr(a,r)}}}},$=Ce.registerPlugin({name:"attr",init:function(t,e,i,n,r){var s,a,l;this.tween=i;for(s in e)l=t.getAttribute(s)||"",a=this.add(t,"setAttribute",(l||0)+"",e[s],n,r,0,0,s),a.op=s,a.b=l,this._props.push(s)},render:function(t,e){for(var i=e._pt;i;)G?i.set(i.t,i.p,i.b,i):i.r(t,i.d),i=i._next}},{name:"endArray",headless:1,init:function(t,e){for(var i=e.length;i--;)this.add(t,i,t[i]||0,e[i],0,0,0,0,0,1)}},Ge("roundProps",ei),Ge("modifiers"),Ge("snap",ln))||Ce;F.version=X.version=$.version="3.13.0";Wi=1;si()&&Zt();var Fr=O.Power0,Hr=O.Power1,Br=O.Power2,Ur=O.Power3,qr=O.Power4,Vr=O.Linear,Yr=O.Quad,Xr=O.Cubic,Gr=O.Quart,Wr=O.Quint,Qr=O.Strong,$r=O.Elastic,Kr=O.Back,jr=O.SteppedEase,Zr=O.Bounce,Jr=O.Sine,ts=O.Expo,es=O.Circ;var wn,Ct,ee,ki,Yt,is,En,Ci,ns=function(){return typeof window<"u"},bt={},Vt=180/Math.PI,ie=Math.PI/180,te=Math.atan2,On=1e8,Pi=/([A-Z])/g,rs=/(left|right|width|margin|padding|x)/i,ss=/[\s,\(]\S/,mt={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},wi=function(t,e){return e.set(e.t,e.p,Math.round((e.s+e.c*t)*1e4)/1e4+e.u,e)},as=function(t,e){return e.set(e.t,e.p,t===1?e.e:Math.round((e.s+e.c*t)*1e4)/1e4+e.u,e)},os=function(t,e){return e.set(e.t,e.p,t?Math.round((e.s+e.c*t)*1e4)/1e4+e.u:e.b,e)},ls=function(t,e){var i=e.s+e.c*t;e.set(e.t,e.p,~~(i+(i<0?-.5:.5))+e.u,e)},Nn=function(t,e){return e.set(e.t,e.p,t?e.e:e.b,e)},Rn=function(t,e){return e.set(e.t,e.p,t!==1?e.b:e.e,e)},us=function(t,e,i){return t.style[e]=i},fs=function(t,e,i){return t.style.setProperty(e,i)},hs=function(t,e,i){return t._gsap[e]=i},cs=function(t,e,i){return t._gsap.scaleX=t._gsap.scaleY=i},_s=function(t,e,i,n,r){var s=t._gsap;s.scaleX=s.scaleY=i,s.renderTransform(r,s)},ds=function(t,e,i,n,r){var s=t._gsap;s[e]=i,s.renderTransform(r,s)},R="transform",nt=R+"Origin",ps=function o(t,e){var i=this,n=this.target,r=n.style,s=n._gsap;if(t in bt&&r){if(this.tfm=this.tfm||{},t!=="transform")t=mt[t]||t,~t.indexOf(",")?t.split(",").forEach(function(a){return i.tfm[a]=Mt(n,a)}):this.tfm[t]=s.x?s[t]:Mt(n,t),t===nt&&(this.tfm.zOrigin=s.zOrigin);else return mt.transform.split(",").forEach(function(a){return o.call(i,a,e)});if(this.props.indexOf(R)>=0)return;s.svg&&(this.svgo=n.getAttribute("data-svg-origin"),this.props.push(nt,e,"")),t=R}(r||e)&&this.props.push(t,e,r[t])},In=function(t){t.translate&&(t.removeProperty("translate"),t.removeProperty("scale"),t.removeProperty("rotate"))},ms=function(){var t=this.props,e=this.target,i=e.style,n=e._gsap,r,s;for(r=0;r<t.length;r+=3)t[r+1]?t[r+1]===2?e[t[r]](t[r+2]):e[t[r]]=t[r+2]:t[r+2]?i[t[r]]=t[r+2]:i.removeProperty(t[r].substr(0,2)==="--"?t[r]:t[r].replace(Pi,"-$1").toLowerCase());if(this.tfm){for(s in this.tfm)n[s]=this.tfm[s];n.svg&&(n.renderTransform(),e.setAttribute("data-svg-origin",this.svgo||"")),r=Ci(),(!r||!r.isStart)&&!i[R]&&(In(i),n.zOrigin&&i[nt]&&(i[nt]+=" "+n.zOrigin+"px",n.zOrigin=0,n.renderTransform()),n.uncache=1)}},zn=function(t,e){var i={target:t,props:[],revert:ms,save:ps};return t._gsap||$.core.getCache(t),e&&t.style&&t.nodeType&&e.split(",").forEach(function(n){return i.save(n)}),i},Fn,Ei=function(t,e){var i=Ct.createElementNS?Ct.createElementNS((e||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),t):Ct.createElement(t);return i&&i.style?i:Ct.createElement(t)},ht=function o(t,e,i){var n=getComputedStyle(t);return n[e]||n.getPropertyValue(e.replace(Pi,"-$1").toLowerCase())||n.getPropertyValue(e)||!i&&o(t,ne(e)||e,1)||""},Sn="O,Moz,ms,Ms,Webkit".split(","),ne=function(t,e,i){var n=e||Yt,r=n.style,s=5;if(t in r&&!i)return t;for(t=t.charAt(0).toUpperCase()+t.substr(1);s--&&!(Sn[s]+t in r););return s<0?null:(s===3?"ms":s>=0?Sn[s]:"")+t},Oi=function(){ns()&&window.document&&(wn=window,Ct=wn.document,ee=Ct.documentElement,Yt=Ei("div")||{style:{}},is=Ei("div"),R=ne(R),nt=R+"Origin",Yt.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",Fn=!!ne("perspective"),Ci=$.core.reverting,ki=1)},kn=function(t){var e=t.ownerSVGElement,i=Ei("svg",e&&e.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),n=t.cloneNode(!0),r;n.style.display="block",i.appendChild(n),ee.appendChild(i);try{r=n.getBBox()}catch{}return i.removeChild(n),ee.removeChild(i),r},Cn=function(t,e){for(var i=e.length;i--;)if(t.hasAttribute(e[i]))return t.getAttribute(e[i])},Hn=function(t){var e,i;try{e=t.getBBox()}catch{e=kn(t),i=1}return e&&(e.width||e.height)||i||(e=kn(t)),e&&!e.width&&!e.x&&!e.y?{x:+Cn(t,["x","cx","x1"])||0,y:+Cn(t,["y","cy","y1"])||0,width:0,height:0}:e},Bn=function(t){return!!(t.getCTM&&(!t.parentNode||t.ownerSVGElement)&&Hn(t))},Xt=function(t,e){if(e){var i=t.style,n;e in bt&&e!==nt&&(e=R),i.removeProperty?(n=e.substr(0,2),(n==="ms"||e.substr(0,6)==="webkit")&&(e="-"+e),i.removeProperty(n==="--"?e:e.replace(Pi,"-$1").toLowerCase())):i.removeAttribute(e)}},Pt=function(t,e,i,n,r,s){var a=new j(t._pt,e,i,0,1,s?Rn:Nn);return t._pt=a,a.b=n,a.e=r,t._props.push(i),a},Pn={deg:1,rad:1,turn:1},gs={grid:1,flex:1},Lt=function o(t,e,i,n){var r=parseFloat(i)||0,s=(i+"").trim().substr((r+"").length)||"px",a=Yt.style,l=rs.test(e),u=t.tagName.toLowerCase()==="svg",f=(u?"client":"offset")+(l?"Width":"Height"),c=100,_=n==="px",d=n==="%",p,h,m,y;if(n===s||!r||Pn[n]||Pn[s])return r;if(s!=="px"&&!_&&(r=o(t,e,i,"px")),y=t.getCTM&&Bn(t),(d||s==="%")&&(bt[e]||~e.indexOf("adius")))return p=y?t.getBBox()[l?"width":"height"]:t[f],z(d?r/p*c:r/100*p);if(a[l?"width":"height"]=c+(_?s:n),h=n!=="rem"&&~e.indexOf("adius")||n==="em"&&t.appendChild&&!u?t:t.parentNode,y&&(h=(t.ownerSVGElement||{}).parentNode),(!h||h===Ct||!h.appendChild)&&(h=Ct.body),m=h._gsap,m&&d&&m.width&&l&&m.time===tt.time&&!m.uncache)return z(r/m.width*c);if(d&&(e==="height"||e==="width")){var v=t.style[e];t.style[e]=c+n,p=t[f],v?t.style[e]=v:Xt(t,e)}else(d||s==="%")&&!gs[ht(h,"display")]&&(a.position=ht(t,"position")),h===t&&(a.position="static"),h.appendChild(Yt),p=Yt[f],h.removeChild(Yt),a.position="absolute";return l&&d&&(m=Ot(h),m.time=tt.time,m.width=h[f]),z(_?p*r/c:p&&r?c/p*r:0)},Mt=function(t,e,i,n){var r;return ki||Oi(),e in mt&&e!=="transform"&&(e=mt[e],~e.indexOf(",")&&(e=e.split(",")[0])),bt[e]&&e!=="transform"?(r=ye(t,n),r=e!=="transformOrigin"?r[e]:r.svg?r.origin:ze(ht(t,nt))+" "+r.zOrigin+"px"):(r=t.style[e],(!r||r==="auto"||n||~(r+"").indexOf("calc("))&&(r=Ie[e]&&Ie[e](t,e,i)||ht(t,e)||ci(t,e)||(e==="opacity"?1:0))),i&&!~(r+"").trim().indexOf(" ")?Lt(t,e,r,i)+i:r},ys=function(t,e,i,n){if(!i||i==="none"){var r=ne(e,t,1),s=r&&ht(t,r,1);s&&s!==i?(e=r,i=s):e==="borderColor"&&(i=ht(t,"borderTopColor"))}var a=new j(this._pt,t.style,e,0,1,Ti),l=0,u=0,f,c,_,d,p,h,m,y,v,T,M,g;if(a.b=i,a.e=n,i+="",n+="",n.substring(0,6)==="var(--"&&(n=ht(t,n.substring(4,n.indexOf(")")))),n==="auto"&&(h=t.style[e],t.style[e]=n,n=ht(t,e)||n,h?t.style[e]=h:Xt(t,e)),f=[i,n],di(f),i=f[0],n=f[1],_=i.match(Ft)||[],g=n.match(Ft)||[],g.length){for(;c=Ft.exec(n);)m=c[0],v=n.substring(l,c.index),p?p=(p+1)%5:(v.substr(-5)==="rgba("||v.substr(-5)==="hsla(")&&(p=1),m!==(h=_[u++]||"")&&(d=parseFloat(h)||0,M=h.substr((d+"").length),m.charAt(1)==="="&&(m=Ht(d,m)+M),y=parseFloat(m),T=m.substr((y+"").length),l=Ft.lastIndex-T.length,T||(T=T||it.units[e]||M,l===n.length&&(n+=T,a.e+=T)),M!==T&&(d=Lt(t,e,h,T)||0),a._pt={_next:a._pt,p:v||u===1?v:",",s:d,c:y-d,m:p&&p<4||e==="zIndex"?Math.round:0});a.c=l<n.length?n.substring(l,n.length):""}else a.r=e==="display"&&n==="none"?Rn:Nn;return oi.test(n)&&(a.e=0),this._pt=a,a},Ln={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},vs=function(t){var e=t.split(" "),i=e[0],n=e[1]||"50%";return(i==="top"||i==="bottom"||n==="left"||n==="right")&&(t=i,i=n,n=t),e[0]=Ln[i]||i,e[1]=Ln[n]||n,e.join(" ")},Ts=function(t,e){if(e.tween&&e.tween._time===e.tween._dur){var i=e.t,n=i.style,r=e.u,s=i._gsap,a,l,u;if(r==="all"||r===!0)n.cssText="",l=1;else for(r=r.split(","),u=r.length;--u>-1;)a=r[u],bt[a]&&(l=1,a=a==="transformOrigin"?nt:R),Xt(i,a);l&&(Xt(i,R),s&&(s.svg&&i.removeAttribute("transform"),n.scale=n.rotate=n.translate="none",ye(i,1),s.uncache=1,In(n)))}},Ie={clearProps:function(t,e,i,n,r){if(r.data!=="isFromStart"){var s=t._pt=new j(t._pt,e,i,0,0,Ts);return s.u=n,s.pr=-10,s.tween=r,t._props.push(i),1}}},ge=[1,0,0,1,0,0],Un={},qn=function(t){return t==="matrix(1, 0, 0, 1, 0, 0)"||t==="none"||!t},An=function(t){var e=ht(t,R);return qn(e)?ge:e.substr(7).match(ai).map(z)},Li=function(t,e){var i=t._gsap||Ot(t),n=t.style,r=An(t),s,a,l,u;return i.svg&&t.getAttribute("transform")?(l=t.transform.baseVal.consolidate().matrix,r=[l.a,l.b,l.c,l.d,l.e,l.f],r.join(",")==="1,0,0,1,0,0"?ge:r):(r===ge&&!t.offsetParent&&t!==ee&&!i.svg&&(l=n.display,n.display="block",s=t.parentNode,(!s||!t.offsetParent&&!t.getBoundingClientRect().width)&&(u=1,a=t.nextElementSibling,ee.appendChild(t)),r=An(t),l?n.display=l:Xt(t,"display"),u&&(a?s.insertBefore(t,a):s?s.appendChild(t):ee.removeChild(t))),e&&r.length>6?[r[0],r[1],r[4],r[5],r[12],r[13]]:r)},Si=function(t,e,i,n,r,s){var a=t._gsap,l=r||Li(t,!0),u=a.xOrigin||0,f=a.yOrigin||0,c=a.xOffset||0,_=a.yOffset||0,d=l[0],p=l[1],h=l[2],m=l[3],y=l[4],v=l[5],T=e.split(" "),M=parseFloat(T[0])||0,g=parseFloat(T[1])||0,x,w,E,b;i?l!==ge&&(w=d*m-p*h)&&(E=M*(m/w)+g*(-h/w)+(h*v-m*y)/w,b=M*(-p/w)+g*(d/w)-(d*v-p*y)/w,M=E,g=b):(x=Hn(t),M=x.x+(~T[0].indexOf("%")?M/100*x.width:M),g=x.y+(~(T[1]||T[0]).indexOf("%")?g/100*x.height:g)),n||n!==!1&&a.smooth?(y=M-u,v=g-f,a.xOffset=c+(y*d+v*h)-y,a.yOffset=_+(y*p+v*m)-v):a.xOffset=a.yOffset=0,a.xOrigin=M,a.yOrigin=g,a.smooth=!!n,a.origin=e,a.originIsAbsolute=!!i,t.style[nt]="0px 0px",s&&(Pt(s,a,"xOrigin",u,M),Pt(s,a,"yOrigin",f,g),Pt(s,a,"xOffset",c,a.xOffset),Pt(s,a,"yOffset",_,a.yOffset)),t.setAttribute("data-svg-origin",M+" "+g)},ye=function(t,e){var i=t._gsap||new pi(t);if("x"in i&&!e&&!i.uncache)return i;var n=t.style,r=i.scaleX<0,s="px",a="deg",l=getComputedStyle(t),u=ht(t,nt)||"0",f,c,_,d,p,h,m,y,v,T,M,g,x,w,E,b,S,A,P,L,Y,q,H,V,ct,Te,re,se,Dt,Ri,gt,Nt;return f=c=_=h=m=y=v=T=M=0,d=p=1,i.svg=!!(t.getCTM&&Bn(t)),l.translate&&((l.translate!=="none"||l.scale!=="none"||l.rotate!=="none")&&(n[R]=(l.translate!=="none"?"translate3d("+(l.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(l.rotate!=="none"?"rotate("+l.rotate+") ":"")+(l.scale!=="none"?"scale("+l.scale.split(" ").join(",")+") ":"")+(l[R]!=="none"?l[R]:"")),n.scale=n.rotate=n.translate="none"),w=Li(t,i.svg),i.svg&&(i.uncache?(ct=t.getBBox(),u=i.xOrigin-ct.x+"px "+(i.yOrigin-ct.y)+"px",V=""):V=!e&&t.getAttribute("data-svg-origin"),Si(t,V||u,!!V||i.originIsAbsolute,i.smooth!==!1,w)),g=i.xOrigin||0,x=i.yOrigin||0,w!==ge&&(A=w[0],P=w[1],L=w[2],Y=w[3],f=q=w[4],c=H=w[5],w.length===6?(d=Math.sqrt(A*A+P*P),p=Math.sqrt(Y*Y+L*L),h=A||P?te(P,A)*Vt:0,v=L||Y?te(L,Y)*Vt+h:0,v&&(p*=Math.abs(Math.cos(v*ie))),i.svg&&(f-=g-(g*A+x*L),c-=x-(g*P+x*Y))):(Nt=w[6],Ri=w[7],re=w[8],se=w[9],Dt=w[10],gt=w[11],f=w[12],c=w[13],_=w[14],E=te(Nt,Dt),m=E*Vt,E&&(b=Math.cos(-E),S=Math.sin(-E),V=q*b+re*S,ct=H*b+se*S,Te=Nt*b+Dt*S,re=q*-S+re*b,se=H*-S+se*b,Dt=Nt*-S+Dt*b,gt=Ri*-S+gt*b,q=V,H=ct,Nt=Te),E=te(-L,Dt),y=E*Vt,E&&(b=Math.cos(-E),S=Math.sin(-E),V=A*b-re*S,ct=P*b-se*S,Te=L*b-Dt*S,gt=Y*S+gt*b,A=V,P=ct,L=Te),E=te(P,A),h=E*Vt,E&&(b=Math.cos(E),S=Math.sin(E),V=A*b+P*S,ct=q*b+H*S,P=P*b-A*S,H=H*b-q*S,A=V,q=ct),m&&Math.abs(m)+Math.abs(h)>359.9&&(m=h=0,y=180-y),d=z(Math.sqrt(A*A+P*P+L*L)),p=z(Math.sqrt(H*H+Nt*Nt)),E=te(q,H),v=Math.abs(E)>2e-4?E*Vt:0,M=gt?1/(gt<0?-gt:gt):0),i.svg&&(V=t.getAttribute("transform"),i.forceCSS=t.setAttribute("transform","")||!qn(ht(t,R)),V&&t.setAttribute("transform",V))),Math.abs(v)>90&&Math.abs(v)<270&&(r?(d*=-1,v+=h<=0?180:-180,h+=h<=0?180:-180):(p*=-1,v+=v<=0?180:-180)),e=e||i.uncache,i.x=f-((i.xPercent=f&&(!e&&i.xPercent||(Math.round(t.offsetWidth/2)===Math.round(-f)?-50:0)))?t.offsetWidth*i.xPercent/100:0)+s,i.y=c-((i.yPercent=c&&(!e&&i.yPercent||(Math.round(t.offsetHeight/2)===Math.round(-c)?-50:0)))?t.offsetHeight*i.yPercent/100:0)+s,i.z=_+s,i.scaleX=z(d),i.scaleY=z(p),i.rotation=z(h)+a,i.rotationX=z(m)+a,i.rotationY=z(y)+a,i.skewX=v+a,i.skewY=T+a,i.transformPerspective=M+s,(i.zOrigin=parseFloat(u.split(" ")[2])||!e&&i.zOrigin||0)&&(n[nt]=ze(u)),i.xOffset=i.yOffset=0,i.force3D=it.force3D,i.renderTransform=i.svg?bs:Fn?Vn:Ms,i.uncache=0,i},ze=function(t){return(t=t.split(" "))[0]+" "+t[1]},xi=function(t,e,i){var n=W(e);return z(parseFloat(e)+parseFloat(Lt(t,"x",i+"px",n)))+n},Ms=function(t,e){e.z="0px",e.rotationY=e.rotationX="0deg",e.force3D=0,Vn(t,e)},Ut="0deg",me="0px",qt=") ",Vn=function(t,e){var i=e||this,n=i.xPercent,r=i.yPercent,s=i.x,a=i.y,l=i.z,u=i.rotation,f=i.rotationY,c=i.rotationX,_=i.skewX,d=i.skewY,p=i.scaleX,h=i.scaleY,m=i.transformPerspective,y=i.force3D,v=i.target,T=i.zOrigin,M="",g=y==="auto"&&t&&t!==1||y===!0;if(T&&(c!==Ut||f!==Ut)){var x=parseFloat(f)*ie,w=Math.sin(x),E=Math.cos(x),b;x=parseFloat(c)*ie,b=Math.cos(x),s=xi(v,s,w*b*-T),a=xi(v,a,-Math.sin(x)*-T),l=xi(v,l,E*b*-T+T)}m!==me&&(M+="perspective("+m+qt),(n||r)&&(M+="translate("+n+"%, "+r+"%) "),(g||s!==me||a!==me||l!==me)&&(M+=l!==me||g?"translate3d("+s+", "+a+", "+l+") ":"translate("+s+", "+a+qt),u!==Ut&&(M+="rotate("+u+qt),f!==Ut&&(M+="rotateY("+f+qt),c!==Ut&&(M+="rotateX("+c+qt),(_!==Ut||d!==Ut)&&(M+="skew("+_+", "+d+qt),(p!==1||h!==1)&&(M+="scale("+p+", "+h+qt),v.style[R]=M||"translate(0, 0)"},bs=function(t,e){var i=e||this,n=i.xPercent,r=i.yPercent,s=i.x,a=i.y,l=i.rotation,u=i.skewX,f=i.skewY,c=i.scaleX,_=i.scaleY,d=i.target,p=i.xOrigin,h=i.yOrigin,m=i.xOffset,y=i.yOffset,v=i.forceCSS,T=parseFloat(s),M=parseFloat(a),g,x,w,E,b;l=parseFloat(l),u=parseFloat(u),f=parseFloat(f),f&&(f=parseFloat(f),u+=f,l+=f),l||u?(l*=ie,u*=ie,g=Math.cos(l)*c,x=Math.sin(l)*c,w=Math.sin(l-u)*-_,E=Math.cos(l-u)*_,u&&(f*=ie,b=Math.tan(u-f),b=Math.sqrt(1+b*b),w*=b,E*=b,f&&(b=Math.tan(f),b=Math.sqrt(1+b*b),g*=b,x*=b)),g=z(g),x=z(x),w=z(w),E=z(E)):(g=c,E=_,x=w=0),(T&&!~(s+"").indexOf("px")||M&&!~(a+"").indexOf("px"))&&(T=Lt(d,"x",s,"px"),M=Lt(d,"y",a,"px")),(p||h||m||y)&&(T=z(T+p-(p*g+h*w)+m),M=z(M+h-(p*x+h*E)+y)),(n||r)&&(b=d.getBBox(),T=z(T+n/100*b.width),M=z(M+r/100*b.height)),b="matrix("+g+","+x+","+w+","+E+","+T+","+M+")",d.setAttribute("transform",b),v&&(d.style[R]=b)},xs=function(t,e,i,n,r){var s=360,a=U(r),l=parseFloat(r)*(a&&~r.indexOf("rad")?Vt:1),u=l-n,f=n+u+"deg",c,_;return a&&(c=r.split("_")[1],c==="short"&&(u%=s,u!==u%(s/2)&&(u+=u<0?s:-s)),c==="cw"&&u<0?u=(u+s*On)%s-~~(u/s)*s:c==="ccw"&&u>0&&(u=(u-s*On)%s-~~(u/s)*s)),t._pt=_=new j(t._pt,e,i,n,u,as),_.e=f,_.u="deg",t._props.push(i),_},Dn=function(t,e){for(var i in e)t[i]=e[i];return t},ws=function(t,e,i){var n=Dn({},i._gsap),r="perspective,force3D,transformOrigin,svgOrigin",s=i.style,a,l,u,f,c,_,d,p;n.svg?(u=i.getAttribute("transform"),i.setAttribute("transform",""),s[R]=e,a=ye(i,1),Xt(i,R),i.setAttribute("transform",u)):(u=getComputedStyle(i)[R],s[R]=e,a=ye(i,1),s[R]=u);for(l in bt)u=n[l],f=a[l],u!==f&&r.indexOf(l)<0&&(d=W(u),p=W(f),c=d!==p?Lt(i,l,u,p):parseFloat(u),_=parseFloat(f),t._pt=new j(t._pt,a,l,c,_-c,wi),t._pt.u=p||0,t._props.push(l));Dn(a,n)};K("padding,margin,Width,Radius",function(o,t){var e="Top",i="Right",n="Bottom",r="Left",s=(t<3?[e,i,n,r]:[e+r,e+i,n+i,n+r]).map(function(a){return t<2?o+a:"border"+a+o});Ie[t>1?"border"+o:o]=function(a,l,u,f,c){var _,d;if(arguments.length<4)return _=s.map(function(p){return Mt(a,p,u)}),d=_.join(" "),d.split(_[0]).length===5?_[0]:d;_=(f+"").split(" "),d={},s.forEach(function(p,h){return d[p]=_[h]=_[h]||_[(h-1)/2|0]}),a.init(l,d,c)}});var Ai={name:"css",register:Oi,targetTest:function(t){return t.style&&t.nodeType},init:function(t,e,i,n,r){var s=this._props,a=t.style,l=i.vars.startAt,u,f,c,_,d,p,h,m,y,v,T,M,g,x,w,E;ki||Oi(),this.styles=this.styles||zn(t),E=this.styles.props,this.tween=i;for(h in e)if(h!=="autoRound"&&(f=e[h],!(J[h]&&gi(h,e,i,n,t,r)))){if(d=typeof f,p=Ie[h],d==="function"&&(f=f.call(i,n,t,r),d=typeof f),d==="string"&&~f.indexOf("random(")&&(f=Jt(f)),p)p(this,t,h,f,i)&&(w=1);else if(h.substr(0,2)==="--")u=(getComputedStyle(t).getPropertyValue(h)+"").trim(),f+="",vt.lastIndex=0,vt.test(u)||(m=W(u),y=W(f)),y?m!==y&&(u=Lt(t,h,u,y)+y):m&&(f+=m),this.add(a,"setProperty",u,f,n,r,0,0,h),s.push(h),E.push(h,0,a[h]);else if(d!=="undefined"){if(l&&h in l?(u=typeof l[h]=="function"?l[h].call(i,n,t,r):l[h],U(u)&&~u.indexOf("random(")&&(u=Jt(u)),W(u+"")||u==="auto"||(u+=it.units[h]||W(Mt(t,h))||""),(u+"").charAt(1)==="="&&(u=Mt(t,h))):u=Mt(t,h),_=parseFloat(u),v=d==="string"&&f.charAt(1)==="="&&f.substr(0,2),v&&(f=f.substr(2)),c=parseFloat(f),h in mt&&(h==="autoAlpha"&&(_===1&&Mt(t,"visibility")==="hidden"&&c&&(_=0),E.push("visibility",0,a.visibility),Pt(this,a,"visibility",_?"inherit":"hidden",c?"inherit":"hidden",!c)),h!=="scale"&&h!=="transform"&&(h=mt[h],~h.indexOf(",")&&(h=h.split(",")[0]))),T=h in bt,T){if(this.styles.save(h),d==="string"&&f.substring(0,6)==="var(--"&&(f=ht(t,f.substring(4,f.indexOf(")"))),c=parseFloat(f)),M||(g=t._gsap,g.renderTransform&&!e.parseTransform||ye(t,e.parseTransform),x=e.smoothOrigin!==!1&&g.smooth,M=this._pt=new j(this._pt,a,R,0,1,g.renderTransform,g,0,-1),M.dep=1),h==="scale")this._pt=new j(this._pt,g,"scaleY",g.scaleY,(v?Ht(g.scaleY,v+c):c)-g.scaleY||0,wi),this._pt.u=0,s.push("scaleY",h),h+="X";else if(h==="transformOrigin"){E.push(nt,0,a[nt]),f=vs(f),g.svg?Si(t,f,0,x,0,this):(y=parseFloat(f.split(" ")[2])||0,y!==g.zOrigin&&Pt(this,g,"zOrigin",g.zOrigin,y),Pt(this,a,h,ze(u),ze(f)));continue}else if(h==="svgOrigin"){Si(t,f,1,x,0,this);continue}else if(h in Un){xs(this,g,h,_,v?Ht(_,v+f):f);continue}else if(h==="smoothOrigin"){Pt(this,g,"smooth",g.smooth,f);continue}else if(h==="force3D"){g[h]=f;continue}else if(h==="transform"){ws(this,f,t);continue}}else h in a||(h=ne(h)||h);if(T||(c||c===0)&&(_||_===0)&&!ss.test(f)&&h in a)m=(u+"").substr((_+"").length),c||(c=0),y=W(f)||(h in it.units?it.units[h]:m),m!==y&&(_=Lt(t,h,u,y)),this._pt=new j(this._pt,T?g:a,h,_,(v?Ht(_,v+c):c)-_,!T&&(y==="px"||h==="zIndex")&&e.autoRound!==!1?ls:wi),this._pt.u=y||0,m!==y&&y!=="%"&&(this._pt.b=u,this._pt.r=os);else if(h in a)ys.call(this,t,h,u,v?v+f:f);else if(h in t)this.add(t,h,u||t[h],v?v+f:f,n,r);else if(h!=="parseTransform"){Le(h,f);continue}T||(h in a?E.push(h,0,a[h]):typeof t[h]=="function"?E.push(h,2,t[h]()):E.push(h,1,u||t[h])),s.push(h)}}w&&bi(this)},render:function(t,e){if(e.tween._time||!Ci())for(var i=e._pt;i;)i.r(t,i.d),i=i._next;else e.styles.revert()},get:Mt,aliases:mt,getSetter:function(t,e,i){var n=mt[e];return n&&n.indexOf(",")<0&&(e=n),e in bt&&e!==nt&&(t._gsap.x||Mt(t,"x"))?i&&En===i?e==="scale"?cs:hs:(En=i||{})&&(e==="scale"?_s:ds):t.style&&!Pe(t.style[e])?us:~e.indexOf("-")?fs:Re(t,e)},core:{_removeProperty:Xt,_getMatrix:Li}};$.utils.checkPrefix=ne;$.core.getStyleSaver=zn;(function(o,t,e,i){var n=K(o+","+t+","+e,function(r){bt[r]=1});K(t,function(r){it.units[r]="deg",Un[r]=1}),mt[n[13]]=o+","+t,K(i,function(r){var s=r.split(":");mt[s[1]]=n[s[0]]})})("x,y,z,scale,scaleX,scaleY,xPercent,yPercent","rotation,rotationX,rotationY,skewX,skewY","transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective","0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY");K("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(o){it.units[o]="px"});$.registerPlugin(Ai);var Z=$.registerPlugin(Ai)||$,qs=Z.core.Tween;var Es={lightTransparent:{"style-nav-bg":"transparent","style-nav-link":"black","style-nav-logo":"black","style-nav-tertiary-button":"black","style-nav-secondary-button":"black","style-nav-primary-button":"black","style-nav-toggle":"black","style-body-bg":"white"},darkTransparent:{"style-nav-bg":"transparent","style-nav-link":"white","style-nav-logo":"white","style-nav-tertiary-button":"white","style-nav-secondary-button":"white","style-nav-primary-button":"white","style-nav-toggle":"white","style-body-bg":"black"},scrolled:{"style-nav-bg":"white-blur","style-nav-link":"black","style-nav-logo":"black","style-nav-tertiary-button":"black","style-nav-secondary-button":"black","style-nav-primary-button":"black","style-nav-toggle":"black","style-body-bg":"white"},menuOpened:{"style-nav-bg":"white","style-nav-link":"black","style-nav-logo":"black","style-nav-tertiary-button":"black","style-nav-secondary-button":"black","style-nav-primary-button":"black","style-nav-toggle":"black","style-body-bg":"white"},default:{"style-nav-bg":"white","style-nav-link":"black","style-nav-logo":"black","style-nav-tertiary-button":"black","style-nav-secondary-button":"black","style-nav-primary-button":"black","style-nav-toggle":"black","style-body-bg":"white"}};function ve(o){let t=Es[o];if(!t){console.warn(`Mode "${o}" not found in MODE_ATTRIBUTES`);return}Object.entries(t).forEach(([e,i])=>{document.querySelectorAll(`[${e}]`).forEach(r=>{r.setAttribute(e,i)})})}var Fe=!1;var rt=null,Gt={savedMenuMode:null,savedScrollMode:null,getEl(){return document.querySelector("[style-nav-mode]")},get(){return this.getEl()?.getAttribute("style-nav-mode")||"default"},set(o){let t=this.getEl();t&&t.setAttribute("style-nav-mode",o)},enterMenuOpened(){this.savedMenuMode===null&&(this.savedMenuMode=this.get()),this.set("menuOpened"),ve("menuOpened"),this.lockScroll()},leaveMenuOpened(){this.savedMenuMode!==null&&(this.set(this.savedMenuMode),ve(this.savedMenuMode),this.savedMenuMode=null),this.unlockScroll()},handleScroll(){this.savedMenuMode===null&&(window.scrollY>50?this.savedScrollMode===null&&(this.savedScrollMode=this.get(),this.set("scrolled"),ve("scrolled")):this.savedScrollMode!==null&&this.get()==="scrolled"&&(this.set(this.savedScrollMode),ve(this.savedScrollMode),this.savedScrollMode=null))},lockScroll(){document.documentElement.style.overflow="hidden",document.body.style.overflow="hidden"},unlockScroll(){document.documentElement.style.overflow="",document.body.style.overflow=""}},He=[{name:"solutions",width:1026,height:480,isCurrent:!1},{name:"resources",width:490,height:220,isCurrent:!1},{name:"company",width:436,height:220,isCurrent:!1}],Di={NESTED_MENU_DELAY:10,NESTED_MENU_CLOSE_DELAY:500,MAIN_MENU_CLOSE_TIMEOUT:300},xt={NESTED_MENU:'[data-mobile-nav="nested-menu"]',MAIN_MENU:'[data-mobile-nav="main-menu"]',TOGGLE_MAIN_MENU:'[data-nav-toggle="main-menu"]',TOGGLE_NESTED_MENU:'[data-nav-toggle="nested-menu"]',MAIN_MENU_LINKS:"[data-mobile-link]",NAV_OVERLAY:'[data-nav-element="overlay"]',OPEN_ICON:'[data-menu-icon="open"]',CLOSE_ICON:'[data-menu-icon="close"]',MOBILE_MENU:"[data-mobile-menu]"},At=()=>({dropdownOverlay:document.querySelector('[data-nav-element="overlay"]'),navItems:document.querySelectorAll('[data-nav-item="link"]'),navItemsWrapper:document.querySelectorAll('[data-nav-animation="links"]'),dropdownMover:document.querySelector('[data-nav-item="dropdown-mover"]'),dropdownItems:document.querySelector('[data-nav-item="dropdown-mover"]'),tabLinks:document.querySelectorAll("[data-tab-link]"),tabContents:document.querySelectorAll("[data-tab-content]"),mover:document.querySelector('[data-nav-element="mover"]'),overlay:document.querySelector('[data-nav-element="overlay"]'),wrapper:document.querySelector('[data-nav-element="wrapper"]'),dropdownContents:document.querySelectorAll("[data-desktop-content]"),navlinks:document.querySelectorAll("[data-desktop-navlink]")});function Os(o,t){if(o.length>0){let e=o[0].getAttribute("data-tab-link");o[0].setAttribute("data-tab-link-active","true"),t.forEach(i=>{i.setAttribute("data-tab-content-active",i.getAttribute("data-tab-content")===e?"true":"false")}),o.forEach(i=>{i.addEventListener("mouseover",function(){let n=this.getAttribute("data-tab-link");o.forEach(r=>r.setAttribute("data-tab-link-active","false")),this.setAttribute("data-tab-link-active","true"),t.forEach(r=>{r.setAttribute("data-tab-content-active",r.getAttribute("data-tab-content")===n?"true":"false")})})})}}function Ss(o){o.forEach(t=>{t.addEventListener("mouseleave",()=>{Fe=!1,Ps()})})}function ks(o){o.forEach(t=>{t.addEventListener("mouseenter",function(){let e=parseInt(this.getAttribute("data-nav-link")||"0",10);Fe?Yn(this,e):(Yn(this,e),Fe=!0)})})}function Yn(o,t){rt&&rt.kill(),Fe?(Xn(t),Ds(t),Ls(o,t)):(Xn(t),Ns(t),As(o,t),Cs(t))}function Cs(o){let t=At(),e=He[o].height;t.wrapper.style.display="block",t.overlay.style.display="block",Gt.enterMenuOpened(),Z.killTweensOf([t.mover,t.overlay]),rt=Z.timeline(),rt.to(t.overlay,{opacity:0,duration:.3,ease:"power2.out"}),rt.to(t.mover,{height:`${e}px`,duration:.4,ease:"power2.out"},"-=0.2")}function Ps(){let o=At();rt&&rt.kill(),rt=Z.timeline(),rt.to(o.mover,{height:0,duration:.3,ease:"power2.in"}),rt.to(o.overlay,{opacity:0,duration:.3,ease:"power2.out"},"-=0.1"),rt.to(o.navlinks,{opacity:1,duration:.2},"-=0.2"),rt.call(()=>{o.wrapper.style.display="none",o.overlay.style.display="none",o.dropdownContents.forEach(t=>{t.style.display="none",t.style.opacity="0"}),Gt.leaveMenuOpened()})}function Ls(o,t){let e=At(),i=He[t].height,n=He[t].width,r=o.getBoundingClientRect(),s=o.parentElement.getBoundingClientRect(),a=r.left-s.left;Z.killTweensOf(e.mover),rt=Z.timeline(),rt.to(e.mover,{x:a,width:`${n}px`,height:`${i}px`,duration:.2,ease:"power2.out"})}function As(o,t){let e=At(),i=He[t].width,n=o.getBoundingClientRect(),r=o.parentElement.getBoundingClientRect(),s=n.left-r.left;Z.set(e.mover,{x:s,height:"0px",width:`${i}px`})}function Ds(o){let t=At();Z.killTweensOf(t.dropdownContents),Z.timeline().to(t.dropdownContents,{opacity:0,duration:.15,onComplete:()=>{t.dropdownContents.forEach(n=>{n.style.display="none"});let i=t.dropdownContents[o];i&&(o===0||o===1||o===2?i.style.display="grid":i.style.display="block",Z.to(i,{opacity:1,duration:.15}))}})}function Ns(o){let t=At();t.dropdownContents.forEach(i=>{i.style.opacity="0",i.style.display="none"});let e=t.dropdownContents[o];e&&(o===0||o===1||o===2?e.style.display="grid":e.style.display="block",Z.to(e,{opacity:1,duration:.2,delay:.1}))}function Xn(o){let t=At(),e=t.navlinks[o];Z.killTweensOf(t.navlinks),Z.to(t.navlinks,{opacity:.5,duration:.15}),Z.to(e,{opacity:1,duration:.15})}var Ni=class{constructor(){this.state={isMainMenuOpen:!1,isNestedMenuOpen:!1};this.isAnimating=!1;this.elements=this.getElements(),this.init()}getElements(){let t=document.querySelector(xt.NESTED_MENU),e=document.querySelector(xt.MAIN_MENU),i=document.querySelector(xt.NAV_OVERLAY),n=document.querySelectorAll(xt.OPEN_ICON),r=document.querySelectorAll(xt.CLOSE_ICON);if(!t||!e||!i||n.length===0||r.length===0)throw new Error("Required navigation elements not found");return{nestedMenu:t,mainMenu:e,toggleMainMenuButtons:document.querySelectorAll(xt.TOGGLE_MAIN_MENU),toggleNestedMenuButtons:document.querySelectorAll(xt.TOGGLE_NESTED_MENU),mainMenuLinks:document.querySelectorAll(xt.MAIN_MENU_LINKS),navOverlay:i,openIcons:n,closeIcons:r}}init(){this.setupInitialStyles(),this.bindEventListeners()}setupInitialStyles(){this.elements.nestedMenu.style.display="none",this.elements.nestedMenu.style.transform="translateX(100%)",this.elements.nestedMenu.style.transition="transform 0.5s ease",this.elements.mainMenu.style.display="block",this.elements.mainMenu.style.height="0dvh",this.elements.mainMenu.style.transition="height 0.3s ease-in-out",this.elements.openIcons.forEach(t=>{t.style.transition="opacity 0.2s ease"}),this.elements.closeIcons.forEach(t=>{t.style.transition="opacity 0.2s ease"}),this.updateMenuIcons(!1)}bindEventListeners(){this.elements.toggleMainMenuButtons.forEach((t,e)=>{t.addEventListener("click",i=>{i.preventDefault(),this.handleMainMenuToggle(t)})}),this.elements.toggleNestedMenuButtons.forEach((t,e)=>{t.addEventListener("click",i=>{i.preventDefault(),this.handleNestedMenuToggle(t)})}),this.elements.mainMenuLinks.forEach(t=>{t.addEventListener("click",e=>{let n=e.currentTarget.getAttribute("data-mobile-link");n&&(this.replaceContent(n),this.toggleNestedMenu())})})}openMainMenu(){if(this.state.isMainMenuOpen)return;let{mainMenu:t}=this.elements;this.isAnimating=!0,t.style.overflow="hidden",t.style.display="block",t.style.height="0dvh",this.state.isMainMenuOpen=!0,this.updateMenuIcons(!0),Gt.enterMenuOpened(),requestAnimationFrame(()=>{t.style.height="100dvh";let e=()=>{this.isAnimating=!1};t.addEventListener("transitionend",e,{once:!0}),setTimeout(()=>{this.isAnimating=!1},350)})}closeMainMenu(){if(!this.state.isMainMenuOpen)return;let{mainMenu:t}=this.elements;this.isAnimating=!0,this.state.isMainMenuOpen=!1,this.updateMenuIcons(!1),t.style.height="0dvh";let e=!1,i=()=>{e||(e=!0,t.style.display="none",this.isAnimating=!1,Gt.leaveMenuOpened())},n=r=>{r.target===t&&r.propertyName==="height"&&i()};t.addEventListener("transitionend",n,{once:!0}),setTimeout(()=>{i()},Di.MAIN_MENU_CLOSE_TIMEOUT)}handleMainMenuToggle(t){this.isAnimating||(this.state.isMainMenuOpen?(this.closeMainMenu(),this.state.isNestedMenuOpen&&this.closeNestedMenu()):this.openMainMenu())}handleNestedMenuToggle(t){this.isAnimating||(this.state.isNestedMenuOpen?this.closeNestedMenu():this.openNestedMenu())}toggleMainMenu(){this.state.isMainMenuOpen?(this.closeMainMenu(),this.state.isNestedMenuOpen&&this.closeNestedMenu()):this.openMainMenu()}openNestedMenu(){if(this.state.isNestedMenuOpen)return;let{nestedMenu:t,navOverlay:e}=this.elements;t.style.display="block",e.style.opacity="1",setTimeout(()=>{t.style.transform="translateX(0%)"},Di.NESTED_MENU_DELAY),this.state.isNestedMenuOpen=!0}closeNestedMenu(){if(!this.state.isNestedMenuOpen)return;let{nestedMenu:t,navOverlay:e}=this.elements;t.style.transform="translateX(100%)",e.style.opacity="0",this.state.isNestedMenuOpen=!1,setTimeout(()=>{t.style.display="none"},Di.NESTED_MENU_CLOSE_DELAY)}toggleNestedMenu(){this.state.isNestedMenuOpen?this.closeNestedMenu():this.openNestedMenu()}updateMenuIcons(t){let{openIcons:e,closeIcons:i}=this.elements;t?(e.forEach(n=>{n.style.opacity="0"}),i.forEach(n=>{n.style.opacity="1"})):(e.forEach(n=>{n.style.opacity="1"}),i.forEach(n=>{n.style.opacity="0"}))}replaceContent(t){document.querySelectorAll(xt.MOBILE_MENU).forEach(i=>{i.style.display="none"});let e=document.querySelector(`[data-mobile-menu="${t}"]`);e?e.style.display="block":console.warn(`Content element with data-mobile-menu="${t}" not found`)}getState(){return{...this.state}}closeAllMenus(){this.state.isMainMenuOpen&&this.closeMainMenu(),this.state.isNestedMenuOpen&&this.closeNestedMenu()}};document.addEventListener("DOMContentLoaded",()=>{if(window.addEventListener("scroll",()=>Gt.handleScroll(),{passive:!0}),Gt.handleScroll(),ve(Gt.get()),window.innerWidth>991){let o=At();Os(o.tabLinks,o.tabContents),Ss(o.navItemsWrapper),ks(o.navItems)}try{new Ni}catch(o){console.error("Failed to initialize mobile navigation:",o)}});})();
|
|
2
2
|
/*! Bundled license information:
|
|
3
3
|
|
|
4
4
|
gsap/gsap-core.js:
|