@julien-wiegandt/open-ui 0.1.53 → 0.1.54

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.
@@ -25,6 +25,7 @@ export type PopoverStyleProps = {
25
25
  zIndex?: number;
26
26
  placement?: "left" | "right" | "top" | "bottom";
27
27
  bgcolor?: string;
28
+ arrowcolor?: string;
28
29
  radius?: Radius;
29
30
  } & MarginProps & PaddingProps & React.HTMLAttributes<HTMLDivElement>;
30
31
  export type PopoverProps = {} & PopoverStyleProps;
@@ -36,5 +37,6 @@ export declare const Popover: React.ForwardRefExoticComponent<{
36
37
  zIndex?: number;
37
38
  placement?: "left" | "right" | "top" | "bottom";
38
39
  bgcolor?: string;
40
+ arrowcolor?: string;
39
41
  radius?: Radius;
40
42
  } & MarginProps & PaddingProps & React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
package/dist/open-ui.js CHANGED
@@ -4790,7 +4790,8 @@ const $d = gt(be)`
4790
4790
  display: `${e.visible ? "block" : "none"}`,
4791
4791
  opacity: `${e.visible && s.height !== 0 && s.width !== 0 ? 1 : 0}`,
4792
4792
  transition: "opacity 0.25s ease",
4793
- backgroundColor: `${e.bgcolor ?? r.palette[e.color].light}`,
4793
+ zIndex: `${(e.zIndex ?? 9) - 1}`,
4794
+ backgroundColor: `${e.arrowcolor ?? e.bgcolor ?? r.palette[e.color].light}`,
4794
4795
  rotate: "45deg",
4795
4796
  position: "absolute",
4796
4797
  top: Ei({
@@ -14,39 +14,39 @@
14
14
  *
15
15
  * This source code is licensed under the MIT license found in the
16
16
  * LICENSE file in the root directory of this source tree.
17
- */var Ts;function jc(){return Ts||(Ts=1,process.env.NODE_ENV!=="production"&&(function(){function n(P){if(P==null)return null;if(typeof P=="function")return P.$$typeof===Y?null:P.displayName||P.name||null;if(typeof P=="string")return P;switch(P){case p:return"Fragment";case x:return"Profiler";case y:return"StrictMode";case _:return"Suspense";case w:return"SuspenseList";case R:return"Activity"}if(typeof P=="object")switch(typeof P.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),P.$$typeof){case g:return"Portal";case k:return(P.displayName||"Context")+".Provider";case S:return(P._context.displayName||"Context")+".Consumer";case C:var N=P.render;return P=P.displayName,P||(P=N.displayName||N.name||"",P=P!==""?"ForwardRef("+P+")":"ForwardRef"),P;case v:return N=P.displayName||null,N!==null?N:n(P.type)||"Memo";case b:N=P._payload,P=P._init;try{return n(P(N))}catch{}}return null}function e(P){return""+P}function t(P){try{e(P);var N=!1}catch{N=!0}if(N){N=console;var $=N.error,V=typeof Symbol=="function"&&Symbol.toStringTag&&P[Symbol.toStringTag]||P.constructor.name||"Object";return $.call(N,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",V),e(P)}}function r(P){if(P===p)return"<>";if(typeof P=="object"&&P!==null&&P.$$typeof===b)return"<...>";try{var N=n(P);return N?"<"+N+">":"<...>"}catch{return"<...>"}}function i(){var P=z.A;return P===null?null:P.getOwner()}function o(){return Error("react-stack-top-frame")}function s(P){if(F.call(P,"key")){var N=Object.getOwnPropertyDescriptor(P,"key").get;if(N&&N.isReactWarning)return!1}return P.key!==void 0}function a(P,N){function $(){U||(U=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",N))}$.isReactWarning=!0,Object.defineProperty(P,"key",{get:$,configurable:!0})}function c(){var P=n(this.type);return X[P]||(X[P]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),P=this.props.ref,P!==void 0?P:null}function u(P,N,$,V,H,ae,xe,qe){return $=ae.ref,P={$$typeof:l,type:P,key:N,props:ae,_owner:H},($!==void 0?$:null)!==null?Object.defineProperty(P,"ref",{enumerable:!1,get:c}):Object.defineProperty(P,"ref",{enumerable:!1,value:null}),P._store={},Object.defineProperty(P._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(P,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(P,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:xe}),Object.defineProperty(P,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:qe}),Object.freeze&&(Object.freeze(P.props),Object.freeze(P)),P}function f(P,N,$,V,H,ae,xe,qe){var q=N.children;if(q!==void 0)if(V)if(M(q)){for(V=0;V<q.length;V++)d(q[V]);Object.freeze&&Object.freeze(q)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else d(q);if(F.call(N,"key")){q=n(P);var Ae=Object.keys(N).filter(function(We){return We!=="key"});V=0<Ae.length?"{key: someKey, "+Ae.join(": ..., ")+": ...}":"{key: someKey}",J[q+V]||(Ae=0<Ae.length?"{"+Ae.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
17
+ */var Ts;function jc(){return Ts||(Ts=1,process.env.NODE_ENV!=="production"&&(function(){function n(P){if(P==null)return null;if(typeof P=="function")return P.$$typeof===Y?null:P.displayName||P.name||null;if(typeof P=="string")return P;switch(P){case p:return"Fragment";case x:return"Profiler";case y:return"StrictMode";case _:return"Suspense";case w:return"SuspenseList";case R:return"Activity"}if(typeof P=="object")switch(typeof P.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),P.$$typeof){case g:return"Portal";case k:return(P.displayName||"Context")+".Provider";case S:return(P._context.displayName||"Context")+".Consumer";case C:var $=P.render;return P=P.displayName,P||(P=$.displayName||$.name||"",P=P!==""?"ForwardRef("+P+")":"ForwardRef"),P;case v:return $=P.displayName||null,$!==null?$:n(P.type)||"Memo";case b:$=P._payload,P=P._init;try{return n(P($))}catch{}}return null}function e(P){return""+P}function t(P){try{e(P);var $=!1}catch{$=!0}if($){$=console;var N=$.error,V=typeof Symbol=="function"&&Symbol.toStringTag&&P[Symbol.toStringTag]||P.constructor.name||"Object";return N.call($,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",V),e(P)}}function r(P){if(P===p)return"<>";if(typeof P=="object"&&P!==null&&P.$$typeof===b)return"<...>";try{var $=n(P);return $?"<"+$+">":"<...>"}catch{return"<...>"}}function i(){var P=z.A;return P===null?null:P.getOwner()}function o(){return Error("react-stack-top-frame")}function s(P){if(F.call(P,"key")){var $=Object.getOwnPropertyDescriptor(P,"key").get;if($&&$.isReactWarning)return!1}return P.key!==void 0}function a(P,$){function N(){U||(U=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",$))}N.isReactWarning=!0,Object.defineProperty(P,"key",{get:N,configurable:!0})}function c(){var P=n(this.type);return X[P]||(X[P]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),P=this.props.ref,P!==void 0?P:null}function u(P,$,N,V,H,ae,xe,qe){return N=ae.ref,P={$$typeof:l,type:P,key:$,props:ae,_owner:H},(N!==void 0?N:null)!==null?Object.defineProperty(P,"ref",{enumerable:!1,get:c}):Object.defineProperty(P,"ref",{enumerable:!1,value:null}),P._store={},Object.defineProperty(P._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(P,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(P,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:xe}),Object.defineProperty(P,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:qe}),Object.freeze&&(Object.freeze(P.props),Object.freeze(P)),P}function f(P,$,N,V,H,ae,xe,qe){var q=$.children;if(q!==void 0)if(V)if(M(q)){for(V=0;V<q.length;V++)d(q[V]);Object.freeze&&Object.freeze(q)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else d(q);if(F.call($,"key")){q=n(P);var Ae=Object.keys($).filter(function(We){return We!=="key"});V=0<Ae.length?"{key: someKey, "+Ae.join(": ..., ")+": ...}":"{key: someKey}",J[q+V]||(Ae=0<Ae.length?"{"+Ae.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
18
18
  let props = %s;
19
19
  <%s {...props} />
20
20
  React keys must be passed directly to JSX without using spread:
21
21
  let props = %s;
22
- <%s key={someKey} {...props} />`,V,q,Ae,q),J[q+V]=!0)}if(q=null,$!==void 0&&(t($),q=""+$),s(N)&&(t(N.key),q=""+N.key),"key"in N){$={};for(var Fe in N)Fe!=="key"&&($[Fe]=N[Fe])}else $=N;return q&&a($,typeof P=="function"?P.displayName||P.name||"Unknown":P),u(P,q,ae,H,i(),$,xe,qe)}function d(P){typeof P=="object"&&P!==null&&P.$$typeof===l&&P._store&&(P._store.validated=1)}var h=E,l=Symbol.for("react.transitional.element"),g=Symbol.for("react.portal"),p=Symbol.for("react.fragment"),y=Symbol.for("react.strict_mode"),x=Symbol.for("react.profiler"),S=Symbol.for("react.consumer"),k=Symbol.for("react.context"),C=Symbol.for("react.forward_ref"),_=Symbol.for("react.suspense"),w=Symbol.for("react.suspense_list"),v=Symbol.for("react.memo"),b=Symbol.for("react.lazy"),R=Symbol.for("react.activity"),Y=Symbol.for("react.client.reference"),z=h.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,F=Object.prototype.hasOwnProperty,M=Array.isArray,G=console.createTask?console.createTask:function(){return null};h={react_stack_bottom_frame:function(P){return P()}};var U,X={},j=h.react_stack_bottom_frame.bind(h,o)(),ie=G(r(o)),J={};cn.Fragment=p,cn.jsx=function(P,N,$,V,H){var ae=1e4>z.recentlyCreatedOwnerStacks++;return f(P,N,$,!1,V,H,ae?Error("react-stack-top-frame"):j,ae?G(r(P)):ie)},cn.jsxs=function(P,N,$,V,H){var ae=1e4>z.recentlyCreatedOwnerStacks++;return f(P,N,$,!0,V,H,ae?Error("react-stack-top-frame"):j,ae?G(r(P)):ie)}})()),cn}var Ss;function Bc(){return Ss||(Ss=1,process.env.NODE_ENV==="production"?Wn.exports=Fc():Wn.exports=jc()),Wn.exports}var A=Bc();function At(n){if(n===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function ks(n,e){n.prototype=Object.create(e.prototype),n.prototype.constructor=n,n.__proto__=e}/*!
22
+ <%s key={someKey} {...props} />`,V,q,Ae,q),J[q+V]=!0)}if(q=null,N!==void 0&&(t(N),q=""+N),s($)&&(t($.key),q=""+$.key),"key"in $){N={};for(var Fe in $)Fe!=="key"&&(N[Fe]=$[Fe])}else N=$;return q&&a(N,typeof P=="function"?P.displayName||P.name||"Unknown":P),u(P,q,ae,H,i(),N,xe,qe)}function d(P){typeof P=="object"&&P!==null&&P.$$typeof===l&&P._store&&(P._store.validated=1)}var h=E,l=Symbol.for("react.transitional.element"),g=Symbol.for("react.portal"),p=Symbol.for("react.fragment"),y=Symbol.for("react.strict_mode"),x=Symbol.for("react.profiler"),S=Symbol.for("react.consumer"),k=Symbol.for("react.context"),C=Symbol.for("react.forward_ref"),_=Symbol.for("react.suspense"),w=Symbol.for("react.suspense_list"),v=Symbol.for("react.memo"),b=Symbol.for("react.lazy"),R=Symbol.for("react.activity"),Y=Symbol.for("react.client.reference"),z=h.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,F=Object.prototype.hasOwnProperty,M=Array.isArray,G=console.createTask?console.createTask:function(){return null};h={react_stack_bottom_frame:function(P){return P()}};var U,X={},j=h.react_stack_bottom_frame.bind(h,o)(),ie=G(r(o)),J={};cn.Fragment=p,cn.jsx=function(P,$,N,V,H){var ae=1e4>z.recentlyCreatedOwnerStacks++;return f(P,$,N,!1,V,H,ae?Error("react-stack-top-frame"):j,ae?G(r(P)):ie)},cn.jsxs=function(P,$,N,V,H){var ae=1e4>z.recentlyCreatedOwnerStacks++;return f(P,$,N,!0,V,H,ae?Error("react-stack-top-frame"):j,ae?G(r(P)):ie)}})()),cn}var Ss;function Bc(){return Ss||(Ss=1,process.env.NODE_ENV==="production"?Wn.exports=Fc():Wn.exports=jc()),Wn.exports}var A=Bc();function At(n){if(n===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function ks(n,e){n.prototype=Object.create(e.prototype),n.prototype.constructor=n,n.__proto__=e}/*!
23
23
  * GSAP 3.13.0
24
24
  * https://gsap.com
25
25
  *
26
26
  * @license Copyright 2008-2025, GreenSock. All rights reserved.
27
27
  * Subject to the terms at https://gsap.com/standard-license
28
28
  * @author: Jack Doyle, jack@greensock.com
29
- */var Ke={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},Ar={duration:.5,overwrite:!1,delay:0},Li,De,pe,it=1e8,ue=1/it,Fi=Math.PI*2,Yc=Fi/4,Wc=0,Cs=Math.sqrt,Xc=Math.cos,Vc=Math.sin,Oe=function(e){return typeof e=="string"},_e=function(e){return typeof e=="function"},Dt=function(e){return typeof e=="number"},ji=function(e){return typeof e>"u"},Tt=function(e){return typeof e=="object"},Xe=function(e){return e!==!1},Bi=function(){return typeof window<"u"},Xn=function(e){return _e(e)||Oe(e)},Ps=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},Ie=Array.isArray,Yi=/(?:-?\.?\d|\.)+/gi,Es=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,Dr=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,Wi=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,Rs=/[+-]=-?[.\d]+/,Os=/[^,'"\[\]\s]+/gi,Hc=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,ge,St,Xi,Vi,Qe={},Vn={},Ms,As=function(e){return(Vn=$r(e,Qe))&&Ue},Hi=function(e,t){return console.warn("Invalid property",e,"set to",t,"Missing plugin? gsap.registerPlugin()")},un=function(e,t){return!t&&console.warn(e)},Ds=function(e,t){return e&&(Qe[e]=t)&&Vn&&(Vn[e]=t)||Qe},fn=function(){return 0},Uc={suppressEvents:!0,isStart:!0,kill:!1},Hn={suppressEvents:!0,kill:!1},Gc={suppressEvents:!0},Ui={},Xt=[],Gi={},Ns,Ze={},qi={},$s=30,Un=[],Ki="",Qi=function(e){var t=e[0],r,i;if(Tt(t)||_e(t)||(e=[e]),!(r=(t._gsap||{}).harness)){for(i=Un.length;i--&&!Un[i].targetTest(t););r=Un[i]}for(i=e.length;i--;)e[i]&&(e[i]._gsap||(e[i]._gsap=new ua(e[i],r)))||e.splice(i,1);return e},or=function(e){return e._gsap||Qi(st(e))[0]._gsap},Is=function(e,t,r){return(r=e[t])&&_e(r)?e[t]():ji(r)&&e.getAttribute&&e.getAttribute(t)||r},Ve=function(e,t){return(e=e.split(",")).forEach(t)||e},ve=function(e){return Math.round(e*1e5)/1e5||0},Se=function(e){return Math.round(e*1e7)/1e7||0},Nr=function(e,t){var r=t.charAt(0),i=parseFloat(t.substr(2));return e=parseFloat(e),r==="+"?e+i:r==="-"?e-i:r==="*"?e*i:e/i},qc=function(e,t){for(var r=t.length,i=0;e.indexOf(t[i])<0&&++i<r;);return i<r},Gn=function(){var e=Xt.length,t=Xt.slice(0),r,i;for(Gi={},Xt.length=0,r=0;r<e;r++)i=t[r],i&&i._lazy&&(i.render(i._lazy[0],i._lazy[1],!0)._lazy=0)},Zi=function(e){return!!(e._initted||e._startAt||e.add)},zs=function(e,t,r,i){Xt.length&&!De&&Gn(),e.render(t,r,!!(De&&t<0&&Zi(e))),Xt.length&&!De&&Gn()},Ls=function(e){var t=parseFloat(e);return(t||t===0)&&(e+"").match(Os).length<2?t:Oe(e)?e.trim():e},Fs=function(e){return e},Je=function(e,t){for(var r in t)r in e||(e[r]=t[r]);return e},Kc=function(e){return function(t,r){for(var i in r)i in t||i==="duration"&&e||i==="ease"||(t[i]=r[i])}},$r=function(e,t){for(var r in t)e[r]=t[r];return e},js=function n(e,t){for(var r in t)r!=="__proto__"&&r!=="constructor"&&r!=="prototype"&&(e[r]=Tt(t[r])?n(e[r]||(e[r]={}),t[r]):t[r]);return e},qn=function(e,t){var r={},i;for(i in e)i in t||(r[i]=e[i]);return r},dn=function(e){var t=e.parent||ge,r=e.keyframes?Kc(Ie(e.keyframes)):Je;if(Xe(e.inherit))for(;t;)r(e,t.vars.defaults),t=t.parent||t._dp;return e},Qc=function(e,t){for(var r=e.length,i=r===t.length;i&&r--&&e[r]===t[r];);return r<0},Bs=function(e,t,r,i,o){var s=e[i],a;if(o)for(a=t[o];s&&s[o]>a;)s=s._prev;return s?(t._next=s._next,s._next=t):(t._next=e[r],e[r]=t),t._next?t._next._prev=t:e[i]=t,t._prev=s,t.parent=t._dp=e,t},Kn=function(e,t,r,i){r===void 0&&(r="_first"),i===void 0&&(i="_last");var o=t._prev,s=t._next;o?o._next=s:e[r]===t&&(e[r]=s),s?s._prev=o:e[i]===t&&(e[i]=o),t._next=t._prev=t.parent=null},Vt=function(e,t){e.parent&&(!t||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},sr=function(e,t){if(e&&(!t||t._end>e._dur||t._start<0))for(var r=e;r;)r._dirty=1,r=r.parent;return e},Zc=function(e){for(var t=e.parent;t&&t.parent;)t._dirty=1,t.totalDuration(),t=t.parent;return e},Ji=function(e,t,r,i){return e._startAt&&(De?e._startAt.revert(Hn):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(t,!0,i))},Jc=function n(e){return!e||e._ts&&n(e.parent)},Ys=function(e){return e._repeat?Ir(e._tTime,e=e.duration()+e._rDelay)*e:0},Ir=function(e,t){var r=Math.floor(e=Se(e/t));return e&&r===e?r-1:r},Qn=function(e,t){return(e-t._start)*t._ts+(t._ts>=0?0:t._dirty?t.totalDuration():t._tDur)},Zn=function(e){return e._end=Se(e._start+(e._tDur/Math.abs(e._ts||e._rts||ue)||0))},Jn=function(e,t){var r=e._dp;return r&&r.smoothChildTiming&&e._ts&&(e._start=Se(r._time-(e._ts>0?t/e._ts:((e._dirty?e.totalDuration():e._tDur)-t)/-e._ts)),Zn(e),r._dirty||sr(r,e)),e},Ws=function(e,t){var r;if((t._time||!t._dur&&t._initted||t._start<e._time&&(t._dur||!t.add))&&(r=Qn(e.rawTime(),t),(!t._dur||pn(0,t.totalDuration(),r)-t._tTime>ue)&&t.render(r,!0)),sr(e,t)._dp&&e._initted&&e._time>=e._dur&&e._ts){if(e._dur<e.duration())for(r=e;r._dp;)r.rawTime()>=0&&r.totalTime(r._tTime),r=r._dp;e._zTime=-ue}},kt=function(e,t,r,i){return t.parent&&Vt(t),t._start=Se((Dt(r)?r:r||e!==ge?ot(e,r,t):e._time)+t._delay),t._end=Se(t._start+(t.totalDuration()/Math.abs(t.timeScale())||0)),Bs(e,t,"_first","_last",e._sort?"_start":0),eo(t)||(e._recent=t),i||Ws(e,t),e._ts<0&&Jn(e,e._tTime),e},Xs=function(e,t){return(Qe.ScrollTrigger||Hi("scrollTrigger",t))&&Qe.ScrollTrigger.create(t,e)},Vs=function(e,t,r,i,o){if(co(e,t,o),!e._initted)return 1;if(!r&&e._pt&&!De&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&Ns!==tt.frame)return Xt.push(e),e._lazy=[o,i],1},eu=function n(e){var t=e.parent;return t&&t._ts&&t._initted&&!t._lock&&(t.rawTime()<0||n(t))},eo=function(e){var t=e.data;return t==="isFromStart"||t==="isStart"},tu=function(e,t,r,i){var o=e.ratio,s=t<0||!t&&(!e._start&&eu(e)&&!(!e._initted&&eo(e))||(e._ts<0||e._dp._ts<0)&&!eo(e))?0:1,a=e._rDelay,c=0,u,f,d;if(a&&e._repeat&&(c=pn(0,e._tDur,t),f=Ir(c,a),e._yoyo&&f&1&&(s=1-s),f!==Ir(e._tTime,a)&&(o=1-s,e.vars.repeatRefresh&&e._initted&&e.invalidate())),s!==o||De||i||e._zTime===ue||!t&&e._zTime){if(!e._initted&&Vs(e,t,i,r,c))return;for(d=e._zTime,e._zTime=t||(r?ue:0),r||(r=t&&!d),e.ratio=s,e._from&&(s=1-s),e._time=0,e._tTime=c,u=e._pt;u;)u.r(s,u.d),u=u._next;t<0&&Ji(e,t,r,!0),e._onUpdate&&!r&&et(e,"onUpdate"),c&&e._repeat&&!r&&e.parent&&et(e,"onRepeat"),(t>=e._tDur||t<0)&&e.ratio===s&&(s&&Vt(e,1),!r&&!De&&(et(e,s?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=t)},ru=function(e,t,r){var i;if(r>t)for(i=e._first;i&&i._start<=r;){if(i.data==="isPause"&&i._start>t)return i;i=i._next}else for(i=e._last;i&&i._start>=r;){if(i.data==="isPause"&&i._start<t)return i;i=i._prev}},zr=function(e,t,r,i){var o=e._repeat,s=Se(t)||0,a=e._tTime/e._tDur;return a&&!i&&(e._time*=s/e._dur),e._dur=s,e._tDur=o?o<0?1e10:Se(s*(o+1)+e._rDelay*o):s,a>0&&!i&&Jn(e,e._tTime=e._tDur*a),e.parent&&Zn(e),r||sr(e.parent,e),e},Hs=function(e){return e instanceof Ye?sr(e):zr(e,e._dur)},nu={_start:0,endTime:fn,totalDuration:fn},ot=function n(e,t,r){var i=e.labels,o=e._recent||nu,s=e.duration()>=it?o.endTime(!1):e._dur,a,c,u;return Oe(t)&&(isNaN(t)||t in i)?(c=t.charAt(0),u=t.substr(-1)==="%",a=t.indexOf("="),c==="<"||c===">"?(a>=0&&(t=t.replace(/=/,"")),(c==="<"?o._start:o.endTime(o._repeat>=0))+(parseFloat(t.substr(1))||0)*(u?(a<0?o:r).totalDuration()/100:1)):a<0?(t in i||(i[t]=s),i[t]):(c=parseFloat(t.charAt(a-1)+t.substr(a+1)),u&&r&&(c=c/100*(Ie(r)?r[0]:r).totalDuration()),a>1?n(e,t.substr(0,a-1),r)+c:s+c)):t==null?s:+t},hn=function(e,t,r){var i=Dt(t[1]),o=(i?2:1)+(e<2?0:1),s=t[o],a,c;if(i&&(s.duration=t[1]),s.parent=r,e){for(a=s,c=r;c&&!("immediateRender"in a);)a=c.vars.defaults||{},c=Xe(c.vars.inherit)&&c.parent;s.immediateRender=Xe(a.immediateRender),e<2?s.runBackwards=1:s.startAt=t[o-1]}return new ke(t[0],s,t[o+1])},Ht=function(e,t){return e||e===0?t(e):t},pn=function(e,t,r){return r<e?e:r>t?t:r},ze=function(e,t){return!Oe(e)||!(t=Hc.exec(e))?"":t[1]},iu=function(e,t,r){return Ht(r,function(i){return pn(e,t,i)})},to=[].slice,Us=function(e,t){return e&&Tt(e)&&"length"in e&&(!t&&!e.length||e.length-1 in e&&Tt(e[0]))&&!e.nodeType&&e!==St},ou=function(e,t,r){return r===void 0&&(r=[]),e.forEach(function(i){var o;return Oe(i)&&!t||Us(i,1)?(o=r).push.apply(o,st(i)):r.push(i)})||r},st=function(e,t,r){return pe&&!t&&pe.selector?pe.selector(e):Oe(e)&&!r&&(Xi||!Fr())?to.call((t||Vi).querySelectorAll(e),0):Ie(e)?ou(e,r):Us(e)?to.call(e,0):e?[e]:[]},ro=function(e){return e=st(e)[0]||un("Invalid scope")||{},function(t){var r=e.current||e.nativeElement||e;return st(t,r.querySelectorAll?r:r===e?un("Invalid scope")||Vi.createElement("div"):e)}},Gs=function(e){return e.sort(function(){return .5-Math.random()})},qs=function(e){if(_e(e))return e;var t=Tt(e)?e:{each:e},r=ar(t.ease),i=t.from||0,o=parseFloat(t.base)||0,s={},a=i>0&&i<1,c=isNaN(i)||a,u=t.axis,f=i,d=i;return Oe(i)?f=d={center:.5,edges:.5,end:1}[i]||0:!a&&c&&(f=i[0],d=i[1]),function(h,l,g){var p=(g||t).length,y=s[p],x,S,k,C,_,w,v,b,R;if(!y){if(R=t.grid==="auto"?0:(t.grid||[1,it])[1],!R){for(v=-it;v<(v=g[R++].getBoundingClientRect().left)&&R<p;);R<p&&R--}for(y=s[p]=[],x=c?Math.min(R,p)*f-.5:i%R,S=R===it?0:c?p*d/R-.5:i/R|0,v=0,b=it,w=0;w<p;w++)k=w%R-x,C=S-(w/R|0),y[w]=_=u?Math.abs(u==="y"?C:k):Cs(k*k+C*C),_>v&&(v=_),_<b&&(b=_);i==="random"&&Gs(y),y.max=v-b,y.min=b,y.v=p=(parseFloat(t.amount)||parseFloat(t.each)*(R>p?p-1:u?u==="y"?p/R:R:Math.max(R,p/R))||0)*(i==="edges"?-1:1),y.b=p<0?o-p:o,y.u=ze(t.amount||t.each)||0,r=r&&p<0?aa(r):r}return p=(y[h]-y.min)/y.max||0,Se(y.b+(r?r(p):p)*y.v)+y.u}},no=function(e){var t=Math.pow(10,((e+"").split(".")[1]||"").length);return function(r){var i=Se(Math.round(parseFloat(r)/e)*e*t);return(i-i%1)/t+(Dt(r)?0:ze(r))}},Ks=function(e,t){var r=Ie(e),i,o;return!r&&Tt(e)&&(i=r=e.radius||it,e.values?(e=st(e.values),(o=!Dt(e[0]))&&(i*=i)):e=no(e.increment)),Ht(t,r?_e(e)?function(s){return o=e(s),Math.abs(o-s)<=i?o:s}:function(s){for(var a=parseFloat(o?s.x:s),c=parseFloat(o?s.y:0),u=it,f=0,d=e.length,h,l;d--;)o?(h=e[d].x-a,l=e[d].y-c,h=h*h+l*l):h=Math.abs(e[d]-a),h<u&&(u=h,f=d);return f=!i||u<=i?e[f]:s,o||f===s||Dt(s)?f:f+ze(s)}:no(e))},Qs=function(e,t,r,i){return Ht(Ie(e)?!t:r===!0?!!(r=0):!i,function(){return Ie(e)?e[~~(Math.random()*e.length)]:(r=r||1e-5)&&(i=r<1?Math.pow(10,(r+"").length-2):1)&&Math.floor(Math.round((e-r/2+Math.random()*(t-e+r*.99))/r)*r*i)/i})},su=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(i){return t.reduce(function(o,s){return s(o)},i)}},au=function(e,t){return function(r){return e(parseFloat(r))+(t||ze(r))}},lu=function(e,t,r){return Js(e,t,0,1,r)},Zs=function(e,t,r){return Ht(r,function(i){return e[~~t(i)]})},cu=function n(e,t,r){var i=t-e;return Ie(e)?Zs(e,n(0,e.length),t):Ht(r,function(o){return(i+(o-e)%i)%i+e})},uu=function n(e,t,r){var i=t-e,o=i*2;return Ie(e)?Zs(e,n(0,e.length-1),t):Ht(r,function(s){return s=(o+(s-e)%o)%o||0,e+(s>i?o-s:s)})},gn=function(e){for(var t=0,r="",i,o,s,a;~(i=e.indexOf("random(",t));)s=e.indexOf(")",i),a=e.charAt(i+7)==="[",o=e.substr(i+7,s-i-7).match(a?Os:Yi),r+=e.substr(t,i-t)+Qs(a?o:+o[0],a?0:+o[1],+o[2]||1e-5),t=s+1;return r+e.substr(t,e.length-t)},Js=function(e,t,r,i,o){var s=t-e,a=i-r;return Ht(o,function(c){return r+((c-e)/s*a||0)})},fu=function n(e,t,r,i){var o=isNaN(e+t)?0:function(l){return(1-l)*e+l*t};if(!o){var s=Oe(e),a={},c,u,f,d,h;if(r===!0&&(i=1)&&(r=null),s)e={p:e},t={p:t};else if(Ie(e)&&!Ie(t)){for(f=[],d=e.length,h=d-2,u=1;u<d;u++)f.push(n(e[u-1],e[u]));d--,o=function(g){g*=d;var p=Math.min(h,~~g);return f[p](g-p)},r=t}else i||(e=$r(Ie(e)?[]:{},e));if(!f){for(c in t)ao.call(a,e,c,"get",t[c]);o=function(g){return ho(g,a)||(s?e.p:e)}}}return Ht(r,o)},ea=function(e,t,r){var i=e.labels,o=it,s,a,c;for(s in i)a=i[s]-t,a<0==!!r&&a&&o>(a=Math.abs(a))&&(c=s,o=a);return c},et=function(e,t,r){var i=e.vars,o=i[t],s=pe,a=e._ctx,c,u,f;if(o)return c=i[t+"Params"],u=i.callbackScope||e,r&&Xt.length&&Gn(),a&&(pe=a),f=c?o.apply(u,c):o.call(u),pe=s,f},mn=function(e){return Vt(e),e.scrollTrigger&&e.scrollTrigger.kill(!!De),e.progress()<1&&et(e,"onInterrupt"),e},Lr,ta=[],ra=function(e){if(e)if(e=!e.name&&e.default||e,Bi()||e.headless){var t=e.name,r=_e(e),i=t&&!r&&e.init?function(){this._props=[]}:e,o={init:fn,render:ho,add:ao,kill:Pu,modifier:Cu,rawVars:0},s={targetTest:0,get:0,getSetter:fo,aliases:{},register:0};if(Fr(),e!==i){if(Ze[t])return;Je(i,Je(qn(e,o),s)),$r(i.prototype,$r(o,qn(e,s))),Ze[i.prop=t]=i,e.targetTest&&(Un.push(i),Ui[t]=1),t=(t==="css"?"CSS":t.charAt(0).toUpperCase()+t.substr(1))+"Plugin"}Ds(t,i),e.register&&e.register(Ue,i,He)}else ta.push(e)},fe=255,_n={aqua:[0,fe,fe],lime:[0,fe,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,fe],navy:[0,0,128],white:[fe,fe,fe],olive:[128,128,0],yellow:[fe,fe,0],orange:[fe,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[fe,0,0],pink:[fe,192,203],cyan:[0,fe,fe],transparent:[fe,fe,fe,0]},io=function(e,t,r){return e+=e<0?1:e>1?-1:0,(e*6<1?t+(r-t)*e*6:e<.5?r:e*3<2?t+(r-t)*(2/3-e)*6:t)*fe+.5|0},na=function(e,t,r){var i=e?Dt(e)?[e>>16,e>>8&fe,e&fe]:0:_n.black,o,s,a,c,u,f,d,h,l,g;if(!i){if(e.substr(-1)===","&&(e=e.substr(0,e.length-1)),_n[e])i=_n[e];else if(e.charAt(0)==="#"){if(e.length<6&&(o=e.charAt(1),s=e.charAt(2),a=e.charAt(3),e="#"+o+o+s+s+a+a+(e.length===5?e.charAt(4)+e.charAt(4):"")),e.length===9)return i=parseInt(e.substr(1,6),16),[i>>16,i>>8&fe,i&fe,parseInt(e.substr(7),16)/255];e=parseInt(e.substr(1),16),i=[e>>16,e>>8&fe,e&fe]}else if(e.substr(0,3)==="hsl"){if(i=g=e.match(Yi),!t)c=+i[0]%360/360,u=+i[1]/100,f=+i[2]/100,s=f<=.5?f*(u+1):f+u-f*u,o=f*2-s,i.length>3&&(i[3]*=1),i[0]=io(c+1/3,o,s),i[1]=io(c,o,s),i[2]=io(c-1/3,o,s);else if(~e.indexOf("="))return i=e.match(Es),r&&i.length<4&&(i[3]=1),i}else i=e.match(Yi)||_n.transparent;i=i.map(Number)}return t&&!g&&(o=i[0]/fe,s=i[1]/fe,a=i[2]/fe,d=Math.max(o,s,a),h=Math.min(o,s,a),f=(d+h)/2,d===h?c=u=0:(l=d-h,u=f>.5?l/(2-d-h):l/(d+h),c=d===o?(s-a)/l+(s<a?6:0):d===s?(a-o)/l+2:(o-s)/l+4,c*=60),i[0]=~~(c+.5),i[1]=~~(u*100+.5),i[2]=~~(f*100+.5)),r&&i.length<4&&(i[3]=1),i},ia=function(e){var t=[],r=[],i=-1;return e.split(Ut).forEach(function(o){var s=o.match(Dr)||[];t.push.apply(t,s),r.push(i+=s.length+1)}),t.c=r,t},oa=function(e,t,r){var i="",o=(e+i).match(Ut),s=t?"hsla(":"rgba(",a=0,c,u,f,d;if(!o)return e;if(o=o.map(function(h){return(h=na(h,t,1))&&s+(t?h[0]+","+h[1]+"%,"+h[2]+"%,"+h[3]:h.join(","))+")"}),r&&(f=ia(e),c=r.c,c.join(i)!==f.c.join(i)))for(u=e.replace(Ut,"1").split(Dr),d=u.length-1;a<d;a++)i+=u[a]+(~c.indexOf(a)?o.shift()||s+"0,0,0,0)":(f.length?f:o.length?o:r).shift());if(!u)for(u=e.split(Ut),d=u.length-1;a<d;a++)i+=u[a]+o[a];return i+u[d]},Ut=(function(){var n="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",e;for(e in _n)n+="|"+e+"\\b";return new RegExp(n+")","gi")})(),du=/hsl[a]?\(/,sa=function(e){var t=e.join(" "),r;if(Ut.lastIndex=0,Ut.test(t))return r=du.test(t),e[1]=oa(e[1],r),e[0]=oa(e[0],r,ia(e[1])),!0},yn,tt=(function(){var n=Date.now,e=500,t=33,r=n(),i=r,o=1e3/240,s=o,a=[],c,u,f,d,h,l,g=function p(y){var x=n()-i,S=y===!0,k,C,_,w;if((x>e||x<0)&&(r+=x-t),i+=x,_=i-r,k=_-s,(k>0||S)&&(w=++d.frame,h=_-d.time*1e3,d.time=_=_/1e3,s+=k+(k>=o?4:o-k),C=1),S||(c=u(p)),C)for(l=0;l<a.length;l++)a[l](_,h,w,y)};return d={time:0,frame:0,tick:function(){g(!0)},deltaRatio:function(y){return h/(1e3/(y||60))},wake:function(){Ms&&(!Xi&&Bi()&&(St=Xi=window,Vi=St.document||{},Qe.gsap=Ue,(St.gsapVersions||(St.gsapVersions=[])).push(Ue.version),As(Vn||St.GreenSockGlobals||!St.gsap&&St||{}),ta.forEach(ra)),f=typeof requestAnimationFrame<"u"&&requestAnimationFrame,c&&d.sleep(),u=f||function(y){return setTimeout(y,s-d.time*1e3+1|0)},yn=1,g(2))},sleep:function(){(f?cancelAnimationFrame:clearTimeout)(c),yn=0,u=fn},lagSmoothing:function(y,x){e=y||1/0,t=Math.min(x||33,e)},fps:function(y){o=1e3/(y||240),s=d.time*1e3+o},add:function(y,x,S){var k=x?function(C,_,w,v){y(C,_,w,v),d.remove(k)}:y;return d.remove(y),a[S?"unshift":"push"](k),Fr(),k},remove:function(y,x){~(x=a.indexOf(y))&&a.splice(x,1)&&l>=x&&l--},_listeners:a},d})(),Fr=function(){return!yn&&tt.wake()},te={},hu=/^[\d.\-M][\d.\-,\s]/,pu=/["']/g,gu=function(e){for(var t={},r=e.substr(1,e.length-3).split(":"),i=r[0],o=1,s=r.length,a,c,u;o<s;o++)c=r[o],a=o!==s-1?c.lastIndexOf(","):c.length,u=c.substr(0,a),t[i]=isNaN(u)?u.replace(pu,"").trim():+u,i=c.substr(a+1).trim();return t},mu=function(e){var t=e.indexOf("(")+1,r=e.indexOf(")"),i=e.indexOf("(",t);return e.substring(t,~i&&i<r?e.indexOf(")",r+1):r)},_u=function(e){var t=(e+"").split("("),r=te[t[0]];return r&&t.length>1&&r.config?r.config.apply(null,~e.indexOf("{")?[gu(t[1])]:mu(e).split(",").map(Ls)):te._CE&&hu.test(e)?te._CE("",e):r},aa=function(e){return function(t){return 1-e(1-t)}},la=function n(e,t){for(var r=e._first,i;r;)r instanceof Ye?n(r,t):r.vars.yoyoEase&&(!r._yoyo||!r._repeat)&&r._yoyo!==t&&(r.timeline?n(r.timeline,t):(i=r._ease,r._ease=r._yEase,r._yEase=i,r._yoyo=t)),r=r._next},ar=function(e,t){return e&&(_e(e)?e:te[e]||_u(e))||t},lr=function(e,t,r,i){r===void 0&&(r=function(c){return 1-t(1-c)}),i===void 0&&(i=function(c){return c<.5?t(c*2)/2:1-t((1-c)*2)/2});var o={easeIn:t,easeOut:r,easeInOut:i},s;return Ve(e,function(a){te[a]=Qe[a]=o,te[s=a.toLowerCase()]=r;for(var c in o)te[s+(c==="easeIn"?".in":c==="easeOut"?".out":".inOut")]=te[a+"."+c]=o[c]}),o},ca=function(e){return function(t){return t<.5?(1-e(1-t*2))/2:.5+e((t-.5)*2)/2}},oo=function n(e,t,r){var i=t>=1?t:1,o=(r||(e?.3:.45))/(t<1?t:1),s=o/Fi*(Math.asin(1/i)||0),a=function(f){return f===1?1:i*Math.pow(2,-10*f)*Vc((f-s)*o)+1},c=e==="out"?a:e==="in"?function(u){return 1-a(1-u)}:ca(a);return o=Fi/o,c.config=function(u,f){return n(e,u,f)},c},so=function n(e,t){t===void 0&&(t=1.70158);var r=function(s){return s?--s*s*((t+1)*s+t)+1:0},i=e==="out"?r:e==="in"?function(o){return 1-r(1-o)}:ca(r);return i.config=function(o){return n(e,o)},i};Ve("Linear,Quad,Cubic,Quart,Quint,Strong",function(n,e){var t=e<5?e+1:e;lr(n+",Power"+(t-1),e?function(r){return Math.pow(r,t)}:function(r){return r},function(r){return 1-Math.pow(1-r,t)},function(r){return r<.5?Math.pow(r*2,t)/2:1-Math.pow((1-r)*2,t)/2})}),te.Linear.easeNone=te.none=te.Linear.easeIn,lr("Elastic",oo("in"),oo("out"),oo()),(function(n,e){var t=1/e,r=2*t,i=2.5*t,o=function(a){return a<t?n*a*a:a<r?n*Math.pow(a-1.5/e,2)+.75:a<i?n*(a-=2.25/e)*a+.9375:n*Math.pow(a-2.625/e,2)+.984375};lr("Bounce",function(s){return 1-o(1-s)},o)})(7.5625,2.75),lr("Expo",function(n){return Math.pow(2,10*(n-1))*n+n*n*n*n*n*n*(1-n)}),lr("Circ",function(n){return-(Cs(1-n*n)-1)}),lr("Sine",function(n){return n===1?1:-Xc(n*Yc)+1}),lr("Back",so("in"),so("out"),so()),te.SteppedEase=te.steps=Qe.SteppedEase={config:function(e,t){e===void 0&&(e=1);var r=1/e,i=e+(t?0:1),o=t?1:0,s=1-ue;return function(a){return((i*pn(0,s,a)|0)+o)*r}}},Ar.ease=te["quad.out"],Ve("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(n){return Ki+=n+","+n+"Params,"});var ua=function(e,t){this.id=Wc++,e._gsap=this,this.target=e,this.harness=t,this.get=t?t.get:Is,this.set=t?t.getSetter:fo},xn=(function(){function n(t){this.vars=t,this._delay=+t.delay||0,(this._repeat=t.repeat===1/0?-2:t.repeat||0)&&(this._rDelay=t.repeatDelay||0,this._yoyo=!!t.yoyo||!!t.yoyoEase),this._ts=1,zr(this,+t.duration,1,1),this.data=t.data,pe&&(this._ctx=pe,pe.data.push(this)),yn||tt.wake()}var e=n.prototype;return e.delay=function(r){return r||r===0?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+r-this._delay),this._delay=r,this):this._delay},e.duration=function(r){return arguments.length?this.totalDuration(this._repeat>0?r+(r+this._rDelay)*this._repeat:r):this.totalDuration()&&this._dur},e.totalDuration=function(r){return arguments.length?(this._dirty=0,zr(this,this._repeat<0?r:(r-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(r,i){if(Fr(),!arguments.length)return this._tTime;var o=this._dp;if(o&&o.smoothChildTiming&&this._ts){for(Jn(this,r),!o._dp||o.parent||Ws(o,this);o&&o.parent;)o.parent._time!==o._start+(o._ts>=0?o._tTime/o._ts:(o.totalDuration()-o._tTime)/-o._ts)&&o.totalTime(o._tTime,!0),o=o.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&r<this._tDur||this._ts<0&&r>0||!this._tDur&&!r)&&kt(this._dp,this,this._start-this._delay)}return(this._tTime!==r||!this._dur&&!i||this._initted&&Math.abs(this._zTime)===ue||!r&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=r),zs(this,r,i)),this},e.time=function(r,i){return arguments.length?this.totalTime(Math.min(this.totalDuration(),r+Ys(this))%(this._dur+this._rDelay)||(r?this._dur:0),i):this._time},e.totalProgress=function(r,i){return arguments.length?this.totalTime(this.totalDuration()*r,i):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>=0&&this._initted?1:0},e.progress=function(r,i){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-r:r)+Ys(this),i):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},e.iteration=function(r,i){var o=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(r-1)*o,i):this._repeat?Ir(this._tTime,o)+1:1},e.timeScale=function(r,i){if(!arguments.length)return this._rts===-ue?0:this._rts;if(this._rts===r)return this;var o=this.parent&&this._ts?Qn(this.parent._time,this):this._tTime;return this._rts=+r||0,this._ts=this._ps||r===-ue?0:this._rts,this.totalTime(pn(-Math.abs(this._delay),this.totalDuration(),o),i!==!1),Zn(this),Zc(this)},e.paused=function(r){return arguments.length?(this._ps!==r&&(this._ps=r,r?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(Fr(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==ue&&(this._tTime-=ue)))),this):this._ps},e.startTime=function(r){if(arguments.length){this._start=r;var i=this.parent||this._dp;return i&&(i._sort||!this.parent)&&kt(i,this,r-this._delay),this}return this._start},e.endTime=function(r){return this._start+(Xe(r)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},e.rawTime=function(r){var i=this.parent||this._dp;return i?r&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?Qn(i.rawTime(r),this):this._tTime:this._tTime},e.revert=function(r){r===void 0&&(r=Gc);var i=De;return De=r,Zi(this)&&(this.timeline&&this.timeline.revert(r),this.totalTime(-.01,r.suppressEvents)),this.data!=="nested"&&r.kill!==!1&&this.kill(),De=i,this},e.globalTime=function(r){for(var i=this,o=arguments.length?r:i.rawTime();i;)o=i._start+o/(Math.abs(i._ts)||1),i=i._dp;return!this.parent&&this._sat?this._sat.globalTime(r):o},e.repeat=function(r){return arguments.length?(this._repeat=r===1/0?-2:r,Hs(this)):this._repeat===-2?1/0:this._repeat},e.repeatDelay=function(r){if(arguments.length){var i=this._time;return this._rDelay=r,Hs(this),i?this.time(i):this}return this._rDelay},e.yoyo=function(r){return arguments.length?(this._yoyo=r,this):this._yoyo},e.seek=function(r,i){return this.totalTime(ot(this,r),Xe(i))},e.restart=function(r,i){return this.play().totalTime(r?-this._delay:0,Xe(i)),this._dur||(this._zTime=-ue),this},e.play=function(r,i){return r!=null&&this.seek(r,i),this.reversed(!1).paused(!1)},e.reverse=function(r,i){return r!=null&&this.seek(r||this.totalDuration(),i),this.reversed(!0).paused(!1)},e.pause=function(r,i){return r!=null&&this.seek(r,i),this.paused(!0)},e.resume=function(){return this.paused(!1)},e.reversed=function(r){return arguments.length?(!!r!==this.reversed()&&this.timeScale(-this._rts||(r?-ue:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-ue,this},e.isActive=function(){var r=this.parent||this._dp,i=this._start,o;return!!(!r||this._ts&&this._initted&&r.isActive()&&(o=r.rawTime(!0))>=i&&o<this.endTime(!0)-ue)},e.eventCallback=function(r,i,o){var s=this.vars;return arguments.length>1?(i?(s[r]=i,o&&(s[r+"Params"]=o),r==="onUpdate"&&(this._onUpdate=i)):delete s[r],this):s[r]},e.then=function(r){var i=this;return new Promise(function(o){var s=_e(r)?r:Fs,a=function(){var u=i.then;i.then=null,_e(s)&&(s=s(i))&&(s.then||s===i)&&(i.then=u),o(s),i.then=u};i._initted&&i.totalProgress()===1&&i._ts>=0||!i._tTime&&i._ts<0?a():i._prom=a})},e.kill=function(){mn(this)},n})();Je(xn.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:-ue,_prom:0,_ps:!1,_rts:1});var Ye=(function(n){ks(e,n);function e(r,i){var o;return r===void 0&&(r={}),o=n.call(this,r)||this,o.labels={},o.smoothChildTiming=!!r.smoothChildTiming,o.autoRemoveChildren=!!r.autoRemoveChildren,o._sort=Xe(r.sortChildren),ge&&kt(r.parent||ge,At(o),i),r.reversed&&o.reverse(),r.paused&&o.paused(!0),r.scrollTrigger&&Xs(At(o),r.scrollTrigger),o}var t=e.prototype;return t.to=function(i,o,s){return hn(0,arguments,this),this},t.from=function(i,o,s){return hn(1,arguments,this),this},t.fromTo=function(i,o,s,a){return hn(2,arguments,this),this},t.set=function(i,o,s){return o.duration=0,o.parent=this,dn(o).repeatDelay||(o.repeat=0),o.immediateRender=!!o.immediateRender,new ke(i,o,ot(this,s),1),this},t.call=function(i,o,s){return kt(this,ke.delayedCall(0,i,o),s)},t.staggerTo=function(i,o,s,a,c,u,f){return s.duration=o,s.stagger=s.stagger||a,s.onComplete=u,s.onCompleteParams=f,s.parent=this,new ke(i,s,ot(this,c)),this},t.staggerFrom=function(i,o,s,a,c,u,f){return s.runBackwards=1,dn(s).immediateRender=Xe(s.immediateRender),this.staggerTo(i,o,s,a,c,u,f)},t.staggerFromTo=function(i,o,s,a,c,u,f,d){return a.startAt=s,dn(a).immediateRender=Xe(a.immediateRender),this.staggerTo(i,o,a,c,u,f,d)},t.render=function(i,o,s){var a=this._time,c=this._dirty?this.totalDuration():this._tDur,u=this._dur,f=i<=0?0:Se(i),d=this._zTime<0!=i<0&&(this._initted||!u),h,l,g,p,y,x,S,k,C,_,w,v;if(this!==ge&&f>c&&i>=0&&(f=c),f!==this._tTime||s||d){if(a!==this._time&&u&&(f+=this._time-a,i+=this._time-a),h=f,C=this._start,k=this._ts,x=!k,d&&(u||(a=this._zTime),(i||!o)&&(this._zTime=i)),this._repeat){if(w=this._yoyo,y=u+this._rDelay,this._repeat<-1&&i<0)return this.totalTime(y*100+i,o,s);if(h=Se(f%y),f===c?(p=this._repeat,h=u):(_=Se(f/y),p=~~_,p&&p===_&&(h=u,p--),h>u&&(h=u)),_=Ir(this._tTime,y),!a&&this._tTime&&_!==p&&this._tTime-_*y-this._dur<=0&&(_=p),w&&p&1&&(h=u-h,v=1),p!==_&&!this._lock){var b=w&&_&1,R=b===(w&&p&1);if(p<_&&(b=!b),a=b?0:f%u?u:f,this._lock=1,this.render(a||(v?0:Se(p*y)),o,!u)._lock=0,this._tTime=f,!o&&this.parent&&et(this,"onRepeat"),this.vars.repeatRefresh&&!v&&(this.invalidate()._lock=1),a&&a!==this._time||x!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(u=this._dur,c=this._tDur,R&&(this._lock=2,a=b?u:-1e-4,this.render(a,!0),this.vars.repeatRefresh&&!v&&this.invalidate()),this._lock=0,!this._ts&&!x)return this;la(this,v)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(S=ru(this,Se(a),Se(h)),S&&(f-=h-(h=S._start))),this._tTime=f,this._time=h,this._act=!k,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=i,a=0),!a&&f&&!o&&!_&&(et(this,"onStart"),this._tTime!==f))return this;if(h>=a&&i>=0)for(l=this._first;l;){if(g=l._next,(l._act||h>=l._start)&&l._ts&&S!==l){if(l.parent!==this)return this.render(i,o,s);if(l.render(l._ts>0?(h-l._start)*l._ts:(l._dirty?l.totalDuration():l._tDur)+(h-l._start)*l._ts,o,s),h!==this._time||!this._ts&&!x){S=0,g&&(f+=this._zTime=-ue);break}}l=g}else{l=this._last;for(var Y=i<0?i:h;l;){if(g=l._prev,(l._act||Y<=l._end)&&l._ts&&S!==l){if(l.parent!==this)return this.render(i,o,s);if(l.render(l._ts>0?(Y-l._start)*l._ts:(l._dirty?l.totalDuration():l._tDur)+(Y-l._start)*l._ts,o,s||De&&Zi(l)),h!==this._time||!this._ts&&!x){S=0,g&&(f+=this._zTime=Y?-ue:ue);break}}l=g}}if(S&&!o&&(this.pause(),S.render(h>=a?0:-ue)._zTime=h>=a?1:-1,this._ts))return this._start=C,Zn(this),this.render(i,o,s);this._onUpdate&&!o&&et(this,"onUpdate",!0),(f===c&&this._tTime>=this.totalDuration()||!f&&a)&&(C===this._start||Math.abs(k)!==Math.abs(this._ts))&&(this._lock||((i||!u)&&(f===c&&this._ts>0||!f&&this._ts<0)&&Vt(this,1),!o&&!(i<0&&!a)&&(f||a||!c)&&(et(this,f===c&&i>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(f<c&&this.timeScale()>0)&&this._prom())))}return this},t.add=function(i,o){var s=this;if(Dt(o)||(o=ot(this,o,i)),!(i instanceof xn)){if(Ie(i))return i.forEach(function(a){return s.add(a,o)}),this;if(Oe(i))return this.addLabel(i,o);if(_e(i))i=ke.delayedCall(0,i);else return this}return this!==i?kt(this,i,o):this},t.getChildren=function(i,o,s,a){i===void 0&&(i=!0),o===void 0&&(o=!0),s===void 0&&(s=!0),a===void 0&&(a=-it);for(var c=[],u=this._first;u;)u._start>=a&&(u instanceof ke?o&&c.push(u):(s&&c.push(u),i&&c.push.apply(c,u.getChildren(!0,o,s)))),u=u._next;return c},t.getById=function(i){for(var o=this.getChildren(1,1,1),s=o.length;s--;)if(o[s].vars.id===i)return o[s]},t.remove=function(i){return Oe(i)?this.removeLabel(i):_e(i)?this.killTweensOf(i):(i.parent===this&&Kn(this,i),i===this._recent&&(this._recent=this._last),sr(this))},t.totalTime=function(i,o){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=Se(tt.time-(this._ts>0?i/this._ts:(this.totalDuration()-i)/-this._ts))),n.prototype.totalTime.call(this,i,o),this._forcing=0,this):this._tTime},t.addLabel=function(i,o){return this.labels[i]=ot(this,o),this},t.removeLabel=function(i){return delete this.labels[i],this},t.addPause=function(i,o,s){var a=ke.delayedCall(0,o||fn,s);return a.data="isPause",this._hasPause=1,kt(this,a,ot(this,i))},t.removePause=function(i){var o=this._first;for(i=ot(this,i);o;)o._start===i&&o.data==="isPause"&&Vt(o),o=o._next},t.killTweensOf=function(i,o,s){for(var a=this.getTweensOf(i,s),c=a.length;c--;)Gt!==a[c]&&a[c].kill(i,o);return this},t.getTweensOf=function(i,o){for(var s=[],a=st(i),c=this._first,u=Dt(o),f;c;)c instanceof ke?qc(c._targets,a)&&(u?(!Gt||c._initted&&c._ts)&&c.globalTime(0)<=o&&c.globalTime(c.totalDuration())>o:!o||c.isActive())&&s.push(c):(f=c.getTweensOf(a,o)).length&&s.push.apply(s,f),c=c._next;return s},t.tweenTo=function(i,o){o=o||{};var s=this,a=ot(s,i),c=o,u=c.startAt,f=c.onStart,d=c.onStartParams,h=c.immediateRender,l,g=ke.to(s,Je({ease:o.ease||"none",lazy:!1,immediateRender:!1,time:a,overwrite:"auto",duration:o.duration||Math.abs((a-(u&&"time"in u?u.time:s._time))/s.timeScale())||ue,onStart:function(){if(s.pause(),!l){var y=o.duration||Math.abs((a-(u&&"time"in u?u.time:s._time))/s.timeScale());g._dur!==y&&zr(g,y,0,1).render(g._time,!0,!0),l=1}f&&f.apply(g,d||[])}},o));return h?g.render(0):g},t.tweenFromTo=function(i,o,s){return this.tweenTo(o,Je({startAt:{time:ot(this,i)}},s))},t.recent=function(){return this._recent},t.nextLabel=function(i){return i===void 0&&(i=this._time),ea(this,ot(this,i))},t.previousLabel=function(i){return i===void 0&&(i=this._time),ea(this,ot(this,i),1)},t.currentLabel=function(i){return arguments.length?this.seek(i,!0):this.previousLabel(this._time+ue)},t.shiftChildren=function(i,o,s){s===void 0&&(s=0);for(var a=this._first,c=this.labels,u;a;)a._start>=s&&(a._start+=i,a._end+=i),a=a._next;if(o)for(u in c)c[u]>=s&&(c[u]+=i);return sr(this)},t.invalidate=function(i){var o=this._first;for(this._lock=0;o;)o.invalidate(i),o=o._next;return n.prototype.invalidate.call(this,i)},t.clear=function(i){i===void 0&&(i=!0);for(var o=this._first,s;o;)s=o._next,this.remove(o),o=s;return this._dp&&(this._time=this._tTime=this._pTime=0),i&&(this.labels={}),sr(this)},t.totalDuration=function(i){var o=0,s=this,a=s._last,c=it,u,f,d;if(arguments.length)return s.timeScale((s._repeat<0?s.duration():s.totalDuration())/(s.reversed()?-i:i));if(s._dirty){for(d=s.parent;a;)u=a._prev,a._dirty&&a.totalDuration(),f=a._start,f>c&&s._sort&&a._ts&&!s._lock?(s._lock=1,kt(s,a,f-a._delay,1)._lock=0):c=f,f<0&&a._ts&&(o-=f,(!d&&!s._dp||d&&d.smoothChildTiming)&&(s._start+=f/s._ts,s._time-=f,s._tTime-=f),s.shiftChildren(-f,!1,-1/0),c=0),a._end>o&&a._ts&&(o=a._end),a=u;zr(s,s===ge&&s._time>o?s._time:o,1,1),s._dirty=0}return s._tDur},e.updateRoot=function(i){if(ge._ts&&(zs(ge,Qn(i,ge)),Ns=tt.frame),tt.frame>=$s){$s+=Ke.autoSleep||120;var o=ge._first;if((!o||!o._ts)&&Ke.autoSleep&&tt._listeners.length<2){for(;o&&!o._ts;)o=o._next;o||tt.sleep()}}},e})(xn);Je(Ye.prototype,{_lock:0,_hasPause:0,_forcing:0});var yu=function(e,t,r,i,o,s,a){var c=new He(this._pt,e,t,0,1,ma,null,o),u=0,f=0,d,h,l,g,p,y,x,S;for(c.b=r,c.e=i,r+="",i+="",(x=~i.indexOf("random("))&&(i=gn(i)),s&&(S=[r,i],s(S,e,t),r=S[0],i=S[1]),h=r.match(Wi)||[];d=Wi.exec(i);)g=d[0],p=i.substring(u,d.index),l?l=(l+1)%5:p.substr(-5)==="rgba("&&(l=1),g!==h[f++]&&(y=parseFloat(h[f-1])||0,c._pt={_next:c._pt,p:p||f===1?p:",",s:y,c:g.charAt(1)==="="?Nr(y,g)-y:parseFloat(g)-y,m:l&&l<4?Math.round:0},u=Wi.lastIndex);return c.c=u<i.length?i.substring(u,i.length):"",c.fp=a,(Rs.test(i)||x)&&(c.e=0),this._pt=c,c},ao=function(e,t,r,i,o,s,a,c,u,f){_e(i)&&(i=i(o||0,e,s));var d=e[t],h=r!=="get"?r:_e(d)?u?e[t.indexOf("set")||!_e(e["get"+t.substr(3)])?t:"get"+t.substr(3)](u):e[t]():d,l=_e(d)?u?Tu:pa:uo,g;if(Oe(i)&&(~i.indexOf("random(")&&(i=gn(i)),i.charAt(1)==="="&&(g=Nr(h,i)+(ze(h)||0),(g||g===0)&&(i=g))),!f||h!==i||lo)return!isNaN(h*i)&&i!==""?(g=new He(this._pt,e,t,+h||0,i-(h||0),typeof d=="boolean"?ku:ga,0,l),u&&(g.fp=u),a&&g.modifier(a,this,e),this._pt=g):(!d&&!(t in e)&&Hi(t,i),yu.call(this,e,t,h,i,l,c||Ke.stringFilter,u))},xu=function(e,t,r,i,o){if(_e(e)&&(e=vn(e,o,t,r,i)),!Tt(e)||e.style&&e.nodeType||Ie(e)||Ps(e))return Oe(e)?vn(e,o,t,r,i):e;var s={},a;for(a in e)s[a]=vn(e[a],o,t,r,i);return s},fa=function(e,t,r,i,o,s){var a,c,u,f;if(Ze[e]&&(a=new Ze[e]).init(o,a.rawVars?t[e]:xu(t[e],i,o,s,r),r,i,s)!==!1&&(r._pt=c=new He(r._pt,o,e,0,1,a.render,a,0,a.priority),r!==Lr))for(u=r._ptLookup[r._targets.indexOf(o)],f=a._props.length;f--;)u[a._props[f]]=c;return a},Gt,lo,co=function n(e,t,r){var i=e.vars,o=i.ease,s=i.startAt,a=i.immediateRender,c=i.lazy,u=i.onUpdate,f=i.runBackwards,d=i.yoyoEase,h=i.keyframes,l=i.autoRevert,g=e._dur,p=e._startAt,y=e._targets,x=e.parent,S=x&&x.data==="nested"?x.vars.targets:y,k=e._overwrite==="auto"&&!Li,C=e.timeline,_,w,v,b,R,Y,z,F,M,G,U,X,j;if(C&&(!h||!o)&&(o="none"),e._ease=ar(o,Ar.ease),e._yEase=d?aa(ar(d===!0?o:d,Ar.ease)):0,d&&e._yoyo&&!e._repeat&&(d=e._yEase,e._yEase=e._ease,e._ease=d),e._from=!C&&!!i.runBackwards,!C||h&&!i.stagger){if(F=y[0]?or(y[0]).harness:0,X=F&&i[F.prop],_=qn(i,Ui),p&&(p._zTime<0&&p.progress(1),t<0&&f&&a&&!l?p.render(-1,!0):p.revert(f&&g?Hn:Uc),p._lazy=0),s){if(Vt(e._startAt=ke.set(y,Je({data:"isStart",overwrite:!1,parent:x,immediateRender:!0,lazy:!p&&Xe(c),startAt:null,delay:0,onUpdate:u&&function(){return et(e,"onUpdate")},stagger:0},s))),e._startAt._dp=0,e._startAt._sat=e,t<0&&(De||!a&&!l)&&e._startAt.revert(Hn),a&&g&&t<=0&&r<=0){t&&(e._zTime=t);return}}else if(f&&g&&!p){if(t&&(a=!1),v=Je({overwrite:!1,data:"isFromStart",lazy:a&&!p&&Xe(c),immediateRender:a,stagger:0,parent:x},_),X&&(v[F.prop]=X),Vt(e._startAt=ke.set(y,v)),e._startAt._dp=0,e._startAt._sat=e,t<0&&(De?e._startAt.revert(Hn):e._startAt.render(-1,!0)),e._zTime=t,!a)n(e._startAt,ue,ue);else if(!t)return}for(e._pt=e._ptCache=0,c=g&&Xe(c)||c&&!g,w=0;w<y.length;w++){if(R=y[w],z=R._gsap||Qi(y)[w]._gsap,e._ptLookup[w]=G={},Gi[z.id]&&Xt.length&&Gn(),U=S===y?w:S.indexOf(R),F&&(M=new F).init(R,X||_,e,U,S)!==!1&&(e._pt=b=new He(e._pt,R,M.name,0,1,M.render,M,0,M.priority),M._props.forEach(function(ie){G[ie]=b}),M.priority&&(Y=1)),!F||X)for(v in _)Ze[v]&&(M=fa(v,_,e,U,R,S))?M.priority&&(Y=1):G[v]=b=ao.call(e,R,v,"get",_[v],U,S,0,i.stringFilter);e._op&&e._op[w]&&e.kill(R,e._op[w]),k&&e._pt&&(Gt=e,ge.killTweensOf(R,G,e.globalTime(t)),j=!e.parent,Gt=0),e._pt&&c&&(Gi[z.id]=1)}Y&&_a(e),e._onInit&&e._onInit(e)}e._onUpdate=u,e._initted=(!e._op||e._pt)&&!j,h&&t<=0&&C.render(it,!0,!0)},vu=function(e,t,r,i,o,s,a,c){var u=(e._pt&&e._ptCache||(e._ptCache={}))[t],f,d,h,l;if(!u)for(u=e._ptCache[t]=[],h=e._ptLookup,l=e._targets.length;l--;){if(f=h[l][t],f&&f.d&&f.d._pt)for(f=f.d._pt;f&&f.p!==t&&f.fp!==t;)f=f._next;if(!f)return lo=1,e.vars[t]="+=0",co(e,a),lo=0,c?un(t+" not eligible for reset"):1;u.push(f)}for(l=u.length;l--;)d=u[l],f=d._pt||d,f.s=(i||i===0)&&!o?i:f.s+(i||0)+s*f.c,f.c=r-f.s,d.e&&(d.e=ve(r)+ze(d.e)),d.b&&(d.b=f.s+ze(d.b))},wu=function(e,t){var r=e[0]?or(e[0]).harness:0,i=r&&r.aliases,o,s,a,c;if(!i)return t;o=$r({},t);for(s in i)if(s in o)for(c=i[s].split(","),a=c.length;a--;)o[c[a]]=o[s];return o},bu=function(e,t,r,i){var o=t.ease||i||"power1.inOut",s,a;if(Ie(t))a=r[e]||(r[e]=[]),t.forEach(function(c,u){return a.push({t:u/(t.length-1)*100,v:c,e:o})});else for(s in t)a=r[s]||(r[s]=[]),s==="ease"||a.push({t:parseFloat(e),v:t[s],e:o})},vn=function(e,t,r,i,o){return _e(e)?e.call(t,r,i,o):Oe(e)&&~e.indexOf("random(")?gn(e):e},da=Ki+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",ha={};Ve(da+",id,stagger,delay,duration,paused,scrollTrigger",function(n){return ha[n]=1});var ke=(function(n){ks(e,n);function e(r,i,o,s){var a;typeof i=="number"&&(o.duration=i,i=o,o=null),a=n.call(this,s?i:dn(i))||this;var c=a.vars,u=c.duration,f=c.delay,d=c.immediateRender,h=c.stagger,l=c.overwrite,g=c.keyframes,p=c.defaults,y=c.scrollTrigger,x=c.yoyoEase,S=i.parent||ge,k=(Ie(r)||Ps(r)?Dt(r[0]):"length"in i)?[r]:st(r),C,_,w,v,b,R,Y,z;if(a._targets=k.length?Qi(k):un("GSAP target "+r+" not found. https://gsap.com",!Ke.nullTargetWarn)||[],a._ptLookup=[],a._overwrite=l,g||h||Xn(u)||Xn(f)){if(i=a.vars,C=a.timeline=new Ye({data:"nested",defaults:p||{},targets:S&&S.data==="nested"?S.vars.targets:k}),C.kill(),C.parent=C._dp=At(a),C._start=0,h||Xn(u)||Xn(f)){if(v=k.length,Y=h&&qs(h),Tt(h))for(b in h)~da.indexOf(b)&&(z||(z={}),z[b]=h[b]);for(_=0;_<v;_++)w=qn(i,ha),w.stagger=0,x&&(w.yoyoEase=x),z&&$r(w,z),R=k[_],w.duration=+vn(u,At(a),_,R,k),w.delay=(+vn(f,At(a),_,R,k)||0)-a._delay,!h&&v===1&&w.delay&&(a._delay=f=w.delay,a._start+=f,w.delay=0),C.to(R,w,Y?Y(_,R,k):0),C._ease=te.none;C.duration()?u=f=0:a.timeline=0}else if(g){dn(Je(C.vars.defaults,{ease:"none"})),C._ease=ar(g.ease||i.ease||"none");var F=0,M,G,U;if(Ie(g))g.forEach(function(X){return C.to(k,X,">")}),C.duration();else{w={};for(b in g)b==="ease"||b==="easeEach"||bu(b,g[b],w,g.easeEach);for(b in w)for(M=w[b].sort(function(X,j){return X.t-j.t}),F=0,_=0;_<M.length;_++)G=M[_],U={ease:G.e,duration:(G.t-(_?M[_-1].t:0))/100*u},U[b]=G.v,C.to(k,U,F),F+=U.duration;C.duration()<u&&C.to({},{duration:u-C.duration()})}}u||a.duration(u=C.duration())}else a.timeline=0;return l===!0&&!Li&&(Gt=At(a),ge.killTweensOf(k),Gt=0),kt(S,At(a),o),i.reversed&&a.reverse(),i.paused&&a.paused(!0),(d||!u&&!g&&a._start===Se(S._time)&&Xe(d)&&Jc(At(a))&&S.data!=="nested")&&(a._tTime=-ue,a.render(Math.max(0,-f)||0)),y&&Xs(At(a),y),a}var t=e.prototype;return t.render=function(i,o,s){var a=this._time,c=this._tDur,u=this._dur,f=i<0,d=i>c-ue&&!f?c:i<ue?0:i,h,l,g,p,y,x,S,k,C;if(!u)tu(this,i,o,s);else if(d!==this._tTime||!i||s||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==f||this._lazy){if(h=d,k=this.timeline,this._repeat){if(p=u+this._rDelay,this._repeat<-1&&f)return this.totalTime(p*100+i,o,s);if(h=Se(d%p),d===c?(g=this._repeat,h=u):(y=Se(d/p),g=~~y,g&&g===y?(h=u,g--):h>u&&(h=u)),x=this._yoyo&&g&1,x&&(C=this._yEase,h=u-h),y=Ir(this._tTime,p),h===a&&!s&&this._initted&&g===y)return this._tTime=d,this;g!==y&&(k&&this._yEase&&la(k,x),this.vars.repeatRefresh&&!x&&!this._lock&&h!==p&&this._initted&&(this._lock=s=1,this.render(Se(p*g),!0).invalidate()._lock=0))}if(!this._initted){if(Vs(this,f?i:h,s,o,d))return this._tTime=0,this;if(a!==this._time&&!(s&&this.vars.repeatRefresh&&g!==y))return this;if(u!==this._dur)return this.render(i,o,s)}if(this._tTime=d,this._time=h,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=S=(C||this._ease)(h/u),this._from&&(this.ratio=S=1-S),!a&&d&&!o&&!y&&(et(this,"onStart"),this._tTime!==d))return this;for(l=this._pt;l;)l.r(S,l.d),l=l._next;k&&k.render(i<0?i:k._dur*k._ease(h/this._dur),o,s)||this._startAt&&(this._zTime=i),this._onUpdate&&!o&&(f&&Ji(this,i,o,s),et(this,"onUpdate")),this._repeat&&g!==y&&this.vars.onRepeat&&!o&&this.parent&&et(this,"onRepeat"),(d===this._tDur||!d)&&this._tTime===d&&(f&&!this._onUpdate&&Ji(this,i,!0,!0),(i||!u)&&(d===this._tDur&&this._ts>0||!d&&this._ts<0)&&Vt(this,1),!o&&!(f&&!a)&&(d||a||x)&&(et(this,d===c?"onComplete":"onReverseComplete",!0),this._prom&&!(d<c&&this.timeScale()>0)&&this._prom()))}return this},t.targets=function(){return this._targets},t.invalidate=function(i){return(!i||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(i),n.prototype.invalidate.call(this,i)},t.resetTo=function(i,o,s,a,c){yn||tt.wake(),this._ts||this.play();var u=Math.min(this._dur,(this._dp._time-this._start)*this._ts),f;return this._initted||co(this,u),f=this._ease(u/this._dur),vu(this,i,o,s,a,f,u,c)?this.resetTo(i,o,s,a,1):(Jn(this,0),this.parent||Bs(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},t.kill=function(i,o){if(o===void 0&&(o="all"),!i&&(!o||o==="all"))return this._lazy=this._pt=0,this.parent?mn(this):this.scrollTrigger&&this.scrollTrigger.kill(!!De),this;if(this.timeline){var s=this.timeline.totalDuration();return this.timeline.killTweensOf(i,o,Gt&&Gt.vars.overwrite!==!0)._first||mn(this),this.parent&&s!==this.timeline.totalDuration()&&zr(this,this._dur*this.timeline._tDur/s,0,1),this}var a=this._targets,c=i?st(i):a,u=this._ptLookup,f=this._pt,d,h,l,g,p,y,x;if((!o||o==="all")&&Qc(a,c))return o==="all"&&(this._pt=0),mn(this);for(d=this._op=this._op||[],o!=="all"&&(Oe(o)&&(p={},Ve(o,function(S){return p[S]=1}),o=p),o=wu(a,o)),x=a.length;x--;)if(~c.indexOf(a[x])){h=u[x],o==="all"?(d[x]=o,g=h,l={}):(l=d[x]=d[x]||{},g=o);for(p in g)y=h&&h[p],y&&((!("kill"in y.d)||y.d.kill(p)===!0)&&Kn(this,y,"_pt"),delete h[p]),l!=="all"&&(l[p]=1)}return this._initted&&!this._pt&&f&&mn(this),this},e.to=function(i,o){return new e(i,o,arguments[2])},e.from=function(i,o){return hn(1,arguments)},e.delayedCall=function(i,o,s,a){return new e(o,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:i,onComplete:o,onReverseComplete:o,onCompleteParams:s,onReverseCompleteParams:s,callbackScope:a})},e.fromTo=function(i,o,s){return hn(2,arguments)},e.set=function(i,o){return o.duration=0,o.repeatDelay||(o.repeat=0),new e(i,o)},e.killTweensOf=function(i,o,s){return ge.killTweensOf(i,o,s)},e})(xn);Je(ke.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),Ve("staggerTo,staggerFrom,staggerFromTo",function(n){ke[n]=function(){var e=new Ye,t=to.call(arguments,0);return t.splice(n==="staggerFromTo"?5:4,0,0),e[n].apply(e,t)}});var uo=function(e,t,r){return e[t]=r},pa=function(e,t,r){return e[t](r)},Tu=function(e,t,r,i){return e[t](i.fp,r)},Su=function(e,t,r){return e.setAttribute(t,r)},fo=function(e,t){return _e(e[t])?pa:ji(e[t])&&e.setAttribute?Su:uo},ga=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e6)/1e6,t)},ku=function(e,t){return t.set(t.t,t.p,!!(t.s+t.c*e),t)},ma=function(e,t){var r=t._pt,i="";if(!e&&t.b)i=t.b;else if(e===1&&t.e)i=t.e;else{for(;r;)i=r.p+(r.m?r.m(r.s+r.c*e):Math.round((r.s+r.c*e)*1e4)/1e4)+i,r=r._next;i+=t.c}t.set(t.t,t.p,i,t)},ho=function(e,t){for(var r=t._pt;r;)r.r(e,r.d),r=r._next},Cu=function(e,t,r,i){for(var o=this._pt,s;o;)s=o._next,o.p===i&&o.modifier(e,t,r),o=s},Pu=function(e){for(var t=this._pt,r,i;t;)i=t._next,t.p===e&&!t.op||t.op===e?Kn(this,t,"_pt"):t.dep||(r=1),t=i;return!r},Eu=function(e,t,r,i){i.mSet(e,t,i.m.call(i.tween,r,i.mt),i)},_a=function(e){for(var t=e._pt,r,i,o,s;t;){for(r=t._next,i=o;i&&i.pr>t.pr;)i=i._next;(t._prev=i?i._prev:s)?t._prev._next=t:o=t,(t._next=i)?i._prev=t:s=t,t=r}e._pt=o},He=(function(){function n(t,r,i,o,s,a,c,u,f){this.t=r,this.s=o,this.c=s,this.p=i,this.r=a||ga,this.d=c||this,this.set=u||uo,this.pr=f||0,this._next=t,t&&(t._prev=this)}var e=n.prototype;return e.modifier=function(r,i,o){this.mSet=this.mSet||this.set,this.set=Eu,this.m=r,this.mt=o,this.tween=i},n})();Ve(Ki+"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(n){return Ui[n]=1}),Qe.TweenMax=Qe.TweenLite=ke,Qe.TimelineLite=Qe.TimelineMax=Ye,ge=new Ye({sortChildren:!1,defaults:Ar,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),Ke.stringFilter=sa;var cr=[],ei={},Ru=[],ya=0,Ou=0,po=function(e){return(ei[e]||Ru).map(function(t){return t()})},go=function(){var e=Date.now(),t=[];e-ya>2&&(po("matchMediaInit"),cr.forEach(function(r){var i=r.queries,o=r.conditions,s,a,c,u;for(a in i)s=St.matchMedia(i[a]).matches,s&&(c=1),s!==o[a]&&(o[a]=s,u=1);u&&(r.revert(),c&&t.push(r))}),po("matchMediaRevert"),t.forEach(function(r){return r.onMatch(r,function(i){return r.add(null,i)})}),ya=e,po("matchMedia"))},xa=(function(){function n(t,r){this.selector=r&&ro(r),this.data=[],this._r=[],this.isReverted=!1,this.id=Ou++,t&&this.add(t)}var e=n.prototype;return e.add=function(r,i,o){_e(r)&&(o=i,i=r,r=_e);var s=this,a=function(){var u=pe,f=s.selector,d;return u&&u!==s&&u.data.push(s),o&&(s.selector=ro(o)),pe=s,d=i.apply(s,arguments),_e(d)&&s._r.push(d),pe=u,s.selector=f,s.isReverted=!1,d};return s.last=a,r===_e?a(s,function(c){return s.add(null,c)}):r?s[r]=a:a},e.ignore=function(r){var i=pe;pe=null,r(this),pe=i},e.getTweens=function(){var r=[];return this.data.forEach(function(i){return i instanceof n?r.push.apply(r,i.getTweens()):i instanceof ke&&!(i.parent&&i.parent.data==="nested")&&r.push(i)}),r},e.clear=function(){this._r.length=this.data.length=0},e.kill=function(r,i){var o=this;if(r?(function(){for(var a=o.getTweens(),c=o.data.length,u;c--;)u=o.data[c],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,d){return d.g-f.g||-1/0}).forEach(function(f){return f.t.revert(r)}),c=o.data.length;c--;)u=o.data[c],u instanceof Ye?u.data!=="nested"&&(u.scrollTrigger&&u.scrollTrigger.revert(),u.kill()):!(u instanceof ke)&&u.revert&&u.revert(r);o._r.forEach(function(f){return f(r,o)}),o.isReverted=!0})():this.data.forEach(function(a){return a.kill&&a.kill()}),this.clear(),i)for(var s=cr.length;s--;)cr[s].id===this.id&&cr.splice(s,1)},e.revert=function(r){this.kill(r||{})},n})(),Mu=(function(){function n(t){this.contexts=[],this.scope=t,pe&&pe.data.push(this)}var e=n.prototype;return e.add=function(r,i,o){Tt(r)||(r={matches:r});var s=new xa(0,o||this.scope),a=s.conditions={},c,u,f;pe&&!s.selector&&(s.selector=pe.selector),this.contexts.push(s),i=s.add("onMatch",i),s.queries=r;for(u in r)u==="all"?f=1:(c=St.matchMedia(r[u]),c&&(cr.indexOf(s)<0&&cr.push(s),(a[u]=c.matches)&&(f=1),c.addListener?c.addListener(go):c.addEventListener("change",go)));return f&&i(s,function(d){return s.add(null,d)}),this},e.revert=function(r){this.kill(r||{})},e.kill=function(r){this.contexts.forEach(function(i){return i.kill(r,!0)})},n})(),ti={registerPlugin:function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];t.forEach(function(i){return ra(i)})},timeline:function(e){return new Ye(e)},getTweensOf:function(e,t){return ge.getTweensOf(e,t)},getProperty:function(e,t,r,i){Oe(e)&&(e=st(e)[0]);var o=or(e||{}).get,s=r?Fs:Ls;return r==="native"&&(r=""),e&&(t?s((Ze[t]&&Ze[t].get||o)(e,t,r,i)):function(a,c,u){return s((Ze[a]&&Ze[a].get||o)(e,a,c,u))})},quickSetter:function(e,t,r){if(e=st(e),e.length>1){var i=e.map(function(f){return Ue.quickSetter(f,t,r)}),o=i.length;return function(f){for(var d=o;d--;)i[d](f)}}e=e[0]||{};var s=Ze[t],a=or(e),c=a.harness&&(a.harness.aliases||{})[t]||t,u=s?function(f){var d=new s;Lr._pt=0,d.init(e,r?f+r:f,Lr,0,[e]),d.render(1,d),Lr._pt&&ho(1,Lr)}:a.set(e,c);return s?u:function(f){return u(e,c,r?f+r:f,a,1)}},quickTo:function(e,t,r){var i,o=Ue.to(e,Je((i={},i[t]="+=0.1",i.paused=!0,i.stagger=0,i),r||{})),s=function(c,u,f){return o.resetTo(t,c,u,f)};return s.tween=o,s},isTweening:function(e){return ge.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=ar(e.ease,Ar.ease)),js(Ar,e||{})},config:function(e){return js(Ke,e||{})},registerEffect:function(e){var t=e.name,r=e.effect,i=e.plugins,o=e.defaults,s=e.extendTimeline;(i||"").split(",").forEach(function(a){return a&&!Ze[a]&&!Qe[a]&&un(t+" effect requires "+a+" plugin.")}),qi[t]=function(a,c,u){return r(st(a),Je(c||{},o),u)},s&&(Ye.prototype[t]=function(a,c,u){return this.add(qi[t](a,Tt(c)?c:(u=c)&&{},this),u)})},registerEase:function(e,t){te[e]=ar(t)},parseEase:function(e,t){return arguments.length?ar(e,t):te},getById:function(e){return ge.getById(e)},exportRoot:function(e,t){e===void 0&&(e={});var r=new Ye(e),i,o;for(r.smoothChildTiming=Xe(e.smoothChildTiming),ge.remove(r),r._dp=0,r._time=r._tTime=ge._time,i=ge._first;i;)o=i._next,(t||!(!i._dur&&i instanceof ke&&i.vars.onComplete===i._targets[0]))&&kt(r,i,i._start-i._delay),i=o;return kt(ge,r,0),r},context:function(e,t){return e?new xa(e,t):pe},matchMedia:function(e){return new Mu(e)},matchMediaRefresh:function(){return cr.forEach(function(e){var t=e.conditions,r,i;for(i in t)t[i]&&(t[i]=!1,r=1);r&&e.revert()})||go()},addEventListener:function(e,t){var r=ei[e]||(ei[e]=[]);~r.indexOf(t)||r.push(t)},removeEventListener:function(e,t){var r=ei[e],i=r&&r.indexOf(t);i>=0&&r.splice(i,1)},utils:{wrap:cu,wrapYoyo:uu,distribute:qs,random:Qs,snap:Ks,normalize:lu,getUnit:ze,clamp:iu,splitColor:na,toArray:st,selector:ro,mapRange:Js,pipe:su,unitize:au,interpolate:fu,shuffle:Gs},install:As,effects:qi,ticker:tt,updateRoot:Ye.updateRoot,plugins:Ze,globalTimeline:ge,core:{PropTween:He,globals:Ds,Tween:ke,Timeline:Ye,Animation:xn,getCache:or,_removeLinkedListItem:Kn,reverting:function(){return De},context:function(e){return e&&pe&&(pe.data.push(e),e._ctx=pe),pe},suppressOverwrites:function(e){return Li=e}}};Ve("to,from,fromTo,delayedCall,set,killTweensOf",function(n){return ti[n]=ke[n]}),tt.add(Ye.updateRoot),Lr=ti.to({},{duration:0});var Au=function(e,t){for(var r=e._pt;r&&r.p!==t&&r.op!==t&&r.fp!==t;)r=r._next;return r},Du=function(e,t){var r=e._targets,i,o,s;for(i in t)for(o=r.length;o--;)s=e._ptLookup[o][i],s&&(s=s.d)&&(s._pt&&(s=Au(s,i)),s&&s.modifier&&s.modifier(t[i],e,r[o],i))},mo=function(e,t){return{name:e,headless:1,rawVars:1,init:function(i,o,s){s._onInit=function(a){var c,u;if(Oe(o)&&(c={},Ve(o,function(f){return c[f]=1}),o=c),t){c={};for(u in o)c[u]=t(o[u]);o=c}Du(a,o)}}}},Ue=ti.registerPlugin({name:"attr",init:function(e,t,r,i,o){var s,a,c;this.tween=r;for(s in t)c=e.getAttribute(s)||"",a=this.add(e,"setAttribute",(c||0)+"",t[s],i,o,0,0,s),a.op=s,a.b=c,this._props.push(s)},render:function(e,t){for(var r=t._pt;r;)De?r.set(r.t,r.p,r.b,r):r.r(e,r.d),r=r._next}},{name:"endArray",headless:1,init:function(e,t){for(var r=t.length;r--;)this.add(e,r,e[r]||0,t[r],0,0,0,0,0,1)}},mo("roundProps",no),mo("modifiers"),mo("snap",Ks))||ti;ke.version=Ye.version=Ue.version="3.13.0",Ms=1,Bi()&&Fr(),te.Power0,te.Power1,te.Power2,te.Power3,te.Power4,te.Linear,te.Quad,te.Cubic,te.Quart,te.Quint,te.Strong,te.Elastic,te.Back,te.SteppedEase,te.Bounce,te.Sine,te.Expo,te.Circ;/*!
29
+ */var Ke={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},Ar={duration:.5,overwrite:!1,delay:0},Li,De,pe,it=1e8,ue=1/it,Fi=Math.PI*2,Yc=Fi/4,Wc=0,Cs=Math.sqrt,Xc=Math.cos,Vc=Math.sin,Oe=function(e){return typeof e=="string"},_e=function(e){return typeof e=="function"},Dt=function(e){return typeof e=="number"},ji=function(e){return typeof e>"u"},Tt=function(e){return typeof e=="object"},Xe=function(e){return e!==!1},Bi=function(){return typeof window<"u"},Xn=function(e){return _e(e)||Oe(e)},Ps=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},Ie=Array.isArray,Yi=/(?:-?\.?\d|\.)+/gi,Es=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,Dr=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,Wi=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,Rs=/[+-]=-?[.\d]+/,Os=/[^,'"\[\]\s]+/gi,Hc=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,ge,St,Xi,Vi,Qe={},Vn={},Ms,As=function(e){return(Vn=Nr(e,Qe))&&Ue},Hi=function(e,t){return console.warn("Invalid property",e,"set to",t,"Missing plugin? gsap.registerPlugin()")},un=function(e,t){return!t&&console.warn(e)},Ds=function(e,t){return e&&(Qe[e]=t)&&Vn&&(Vn[e]=t)||Qe},fn=function(){return 0},Uc={suppressEvents:!0,isStart:!0,kill:!1},Hn={suppressEvents:!0,kill:!1},Gc={suppressEvents:!0},Ui={},Xt=[],Gi={},$s,Ze={},qi={},Ns=30,Un=[],Ki="",Qi=function(e){var t=e[0],r,i;if(Tt(t)||_e(t)||(e=[e]),!(r=(t._gsap||{}).harness)){for(i=Un.length;i--&&!Un[i].targetTest(t););r=Un[i]}for(i=e.length;i--;)e[i]&&(e[i]._gsap||(e[i]._gsap=new ua(e[i],r)))||e.splice(i,1);return e},or=function(e){return e._gsap||Qi(st(e))[0]._gsap},Is=function(e,t,r){return(r=e[t])&&_e(r)?e[t]():ji(r)&&e.getAttribute&&e.getAttribute(t)||r},Ve=function(e,t){return(e=e.split(",")).forEach(t)||e},ve=function(e){return Math.round(e*1e5)/1e5||0},Se=function(e){return Math.round(e*1e7)/1e7||0},$r=function(e,t){var r=t.charAt(0),i=parseFloat(t.substr(2));return e=parseFloat(e),r==="+"?e+i:r==="-"?e-i:r==="*"?e*i:e/i},qc=function(e,t){for(var r=t.length,i=0;e.indexOf(t[i])<0&&++i<r;);return i<r},Gn=function(){var e=Xt.length,t=Xt.slice(0),r,i;for(Gi={},Xt.length=0,r=0;r<e;r++)i=t[r],i&&i._lazy&&(i.render(i._lazy[0],i._lazy[1],!0)._lazy=0)},Zi=function(e){return!!(e._initted||e._startAt||e.add)},zs=function(e,t,r,i){Xt.length&&!De&&Gn(),e.render(t,r,!!(De&&t<0&&Zi(e))),Xt.length&&!De&&Gn()},Ls=function(e){var t=parseFloat(e);return(t||t===0)&&(e+"").match(Os).length<2?t:Oe(e)?e.trim():e},Fs=function(e){return e},Je=function(e,t){for(var r in t)r in e||(e[r]=t[r]);return e},Kc=function(e){return function(t,r){for(var i in r)i in t||i==="duration"&&e||i==="ease"||(t[i]=r[i])}},Nr=function(e,t){for(var r in t)e[r]=t[r];return e},js=function n(e,t){for(var r in t)r!=="__proto__"&&r!=="constructor"&&r!=="prototype"&&(e[r]=Tt(t[r])?n(e[r]||(e[r]={}),t[r]):t[r]);return e},qn=function(e,t){var r={},i;for(i in e)i in t||(r[i]=e[i]);return r},dn=function(e){var t=e.parent||ge,r=e.keyframes?Kc(Ie(e.keyframes)):Je;if(Xe(e.inherit))for(;t;)r(e,t.vars.defaults),t=t.parent||t._dp;return e},Qc=function(e,t){for(var r=e.length,i=r===t.length;i&&r--&&e[r]===t[r];);return r<0},Bs=function(e,t,r,i,o){var s=e[i],a;if(o)for(a=t[o];s&&s[o]>a;)s=s._prev;return s?(t._next=s._next,s._next=t):(t._next=e[r],e[r]=t),t._next?t._next._prev=t:e[i]=t,t._prev=s,t.parent=t._dp=e,t},Kn=function(e,t,r,i){r===void 0&&(r="_first"),i===void 0&&(i="_last");var o=t._prev,s=t._next;o?o._next=s:e[r]===t&&(e[r]=s),s?s._prev=o:e[i]===t&&(e[i]=o),t._next=t._prev=t.parent=null},Vt=function(e,t){e.parent&&(!t||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},sr=function(e,t){if(e&&(!t||t._end>e._dur||t._start<0))for(var r=e;r;)r._dirty=1,r=r.parent;return e},Zc=function(e){for(var t=e.parent;t&&t.parent;)t._dirty=1,t.totalDuration(),t=t.parent;return e},Ji=function(e,t,r,i){return e._startAt&&(De?e._startAt.revert(Hn):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(t,!0,i))},Jc=function n(e){return!e||e._ts&&n(e.parent)},Ys=function(e){return e._repeat?Ir(e._tTime,e=e.duration()+e._rDelay)*e:0},Ir=function(e,t){var r=Math.floor(e=Se(e/t));return e&&r===e?r-1:r},Qn=function(e,t){return(e-t._start)*t._ts+(t._ts>=0?0:t._dirty?t.totalDuration():t._tDur)},Zn=function(e){return e._end=Se(e._start+(e._tDur/Math.abs(e._ts||e._rts||ue)||0))},Jn=function(e,t){var r=e._dp;return r&&r.smoothChildTiming&&e._ts&&(e._start=Se(r._time-(e._ts>0?t/e._ts:((e._dirty?e.totalDuration():e._tDur)-t)/-e._ts)),Zn(e),r._dirty||sr(r,e)),e},Ws=function(e,t){var r;if((t._time||!t._dur&&t._initted||t._start<e._time&&(t._dur||!t.add))&&(r=Qn(e.rawTime(),t),(!t._dur||pn(0,t.totalDuration(),r)-t._tTime>ue)&&t.render(r,!0)),sr(e,t)._dp&&e._initted&&e._time>=e._dur&&e._ts){if(e._dur<e.duration())for(r=e;r._dp;)r.rawTime()>=0&&r.totalTime(r._tTime),r=r._dp;e._zTime=-ue}},kt=function(e,t,r,i){return t.parent&&Vt(t),t._start=Se((Dt(r)?r:r||e!==ge?ot(e,r,t):e._time)+t._delay),t._end=Se(t._start+(t.totalDuration()/Math.abs(t.timeScale())||0)),Bs(e,t,"_first","_last",e._sort?"_start":0),eo(t)||(e._recent=t),i||Ws(e,t),e._ts<0&&Jn(e,e._tTime),e},Xs=function(e,t){return(Qe.ScrollTrigger||Hi("scrollTrigger",t))&&Qe.ScrollTrigger.create(t,e)},Vs=function(e,t,r,i,o){if(co(e,t,o),!e._initted)return 1;if(!r&&e._pt&&!De&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&$s!==tt.frame)return Xt.push(e),e._lazy=[o,i],1},eu=function n(e){var t=e.parent;return t&&t._ts&&t._initted&&!t._lock&&(t.rawTime()<0||n(t))},eo=function(e){var t=e.data;return t==="isFromStart"||t==="isStart"},tu=function(e,t,r,i){var o=e.ratio,s=t<0||!t&&(!e._start&&eu(e)&&!(!e._initted&&eo(e))||(e._ts<0||e._dp._ts<0)&&!eo(e))?0:1,a=e._rDelay,c=0,u,f,d;if(a&&e._repeat&&(c=pn(0,e._tDur,t),f=Ir(c,a),e._yoyo&&f&1&&(s=1-s),f!==Ir(e._tTime,a)&&(o=1-s,e.vars.repeatRefresh&&e._initted&&e.invalidate())),s!==o||De||i||e._zTime===ue||!t&&e._zTime){if(!e._initted&&Vs(e,t,i,r,c))return;for(d=e._zTime,e._zTime=t||(r?ue:0),r||(r=t&&!d),e.ratio=s,e._from&&(s=1-s),e._time=0,e._tTime=c,u=e._pt;u;)u.r(s,u.d),u=u._next;t<0&&Ji(e,t,r,!0),e._onUpdate&&!r&&et(e,"onUpdate"),c&&e._repeat&&!r&&e.parent&&et(e,"onRepeat"),(t>=e._tDur||t<0)&&e.ratio===s&&(s&&Vt(e,1),!r&&!De&&(et(e,s?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=t)},ru=function(e,t,r){var i;if(r>t)for(i=e._first;i&&i._start<=r;){if(i.data==="isPause"&&i._start>t)return i;i=i._next}else for(i=e._last;i&&i._start>=r;){if(i.data==="isPause"&&i._start<t)return i;i=i._prev}},zr=function(e,t,r,i){var o=e._repeat,s=Se(t)||0,a=e._tTime/e._tDur;return a&&!i&&(e._time*=s/e._dur),e._dur=s,e._tDur=o?o<0?1e10:Se(s*(o+1)+e._rDelay*o):s,a>0&&!i&&Jn(e,e._tTime=e._tDur*a),e.parent&&Zn(e),r||sr(e.parent,e),e},Hs=function(e){return e instanceof Ye?sr(e):zr(e,e._dur)},nu={_start:0,endTime:fn,totalDuration:fn},ot=function n(e,t,r){var i=e.labels,o=e._recent||nu,s=e.duration()>=it?o.endTime(!1):e._dur,a,c,u;return Oe(t)&&(isNaN(t)||t in i)?(c=t.charAt(0),u=t.substr(-1)==="%",a=t.indexOf("="),c==="<"||c===">"?(a>=0&&(t=t.replace(/=/,"")),(c==="<"?o._start:o.endTime(o._repeat>=0))+(parseFloat(t.substr(1))||0)*(u?(a<0?o:r).totalDuration()/100:1)):a<0?(t in i||(i[t]=s),i[t]):(c=parseFloat(t.charAt(a-1)+t.substr(a+1)),u&&r&&(c=c/100*(Ie(r)?r[0]:r).totalDuration()),a>1?n(e,t.substr(0,a-1),r)+c:s+c)):t==null?s:+t},hn=function(e,t,r){var i=Dt(t[1]),o=(i?2:1)+(e<2?0:1),s=t[o],a,c;if(i&&(s.duration=t[1]),s.parent=r,e){for(a=s,c=r;c&&!("immediateRender"in a);)a=c.vars.defaults||{},c=Xe(c.vars.inherit)&&c.parent;s.immediateRender=Xe(a.immediateRender),e<2?s.runBackwards=1:s.startAt=t[o-1]}return new ke(t[0],s,t[o+1])},Ht=function(e,t){return e||e===0?t(e):t},pn=function(e,t,r){return r<e?e:r>t?t:r},ze=function(e,t){return!Oe(e)||!(t=Hc.exec(e))?"":t[1]},iu=function(e,t,r){return Ht(r,function(i){return pn(e,t,i)})},to=[].slice,Us=function(e,t){return e&&Tt(e)&&"length"in e&&(!t&&!e.length||e.length-1 in e&&Tt(e[0]))&&!e.nodeType&&e!==St},ou=function(e,t,r){return r===void 0&&(r=[]),e.forEach(function(i){var o;return Oe(i)&&!t||Us(i,1)?(o=r).push.apply(o,st(i)):r.push(i)})||r},st=function(e,t,r){return pe&&!t&&pe.selector?pe.selector(e):Oe(e)&&!r&&(Xi||!Fr())?to.call((t||Vi).querySelectorAll(e),0):Ie(e)?ou(e,r):Us(e)?to.call(e,0):e?[e]:[]},ro=function(e){return e=st(e)[0]||un("Invalid scope")||{},function(t){var r=e.current||e.nativeElement||e;return st(t,r.querySelectorAll?r:r===e?un("Invalid scope")||Vi.createElement("div"):e)}},Gs=function(e){return e.sort(function(){return .5-Math.random()})},qs=function(e){if(_e(e))return e;var t=Tt(e)?e:{each:e},r=ar(t.ease),i=t.from||0,o=parseFloat(t.base)||0,s={},a=i>0&&i<1,c=isNaN(i)||a,u=t.axis,f=i,d=i;return Oe(i)?f=d={center:.5,edges:.5,end:1}[i]||0:!a&&c&&(f=i[0],d=i[1]),function(h,l,g){var p=(g||t).length,y=s[p],x,S,k,C,_,w,v,b,R;if(!y){if(R=t.grid==="auto"?0:(t.grid||[1,it])[1],!R){for(v=-it;v<(v=g[R++].getBoundingClientRect().left)&&R<p;);R<p&&R--}for(y=s[p]=[],x=c?Math.min(R,p)*f-.5:i%R,S=R===it?0:c?p*d/R-.5:i/R|0,v=0,b=it,w=0;w<p;w++)k=w%R-x,C=S-(w/R|0),y[w]=_=u?Math.abs(u==="y"?C:k):Cs(k*k+C*C),_>v&&(v=_),_<b&&(b=_);i==="random"&&Gs(y),y.max=v-b,y.min=b,y.v=p=(parseFloat(t.amount)||parseFloat(t.each)*(R>p?p-1:u?u==="y"?p/R:R:Math.max(R,p/R))||0)*(i==="edges"?-1:1),y.b=p<0?o-p:o,y.u=ze(t.amount||t.each)||0,r=r&&p<0?aa(r):r}return p=(y[h]-y.min)/y.max||0,Se(y.b+(r?r(p):p)*y.v)+y.u}},no=function(e){var t=Math.pow(10,((e+"").split(".")[1]||"").length);return function(r){var i=Se(Math.round(parseFloat(r)/e)*e*t);return(i-i%1)/t+(Dt(r)?0:ze(r))}},Ks=function(e,t){var r=Ie(e),i,o;return!r&&Tt(e)&&(i=r=e.radius||it,e.values?(e=st(e.values),(o=!Dt(e[0]))&&(i*=i)):e=no(e.increment)),Ht(t,r?_e(e)?function(s){return o=e(s),Math.abs(o-s)<=i?o:s}:function(s){for(var a=parseFloat(o?s.x:s),c=parseFloat(o?s.y:0),u=it,f=0,d=e.length,h,l;d--;)o?(h=e[d].x-a,l=e[d].y-c,h=h*h+l*l):h=Math.abs(e[d]-a),h<u&&(u=h,f=d);return f=!i||u<=i?e[f]:s,o||f===s||Dt(s)?f:f+ze(s)}:no(e))},Qs=function(e,t,r,i){return Ht(Ie(e)?!t:r===!0?!!(r=0):!i,function(){return Ie(e)?e[~~(Math.random()*e.length)]:(r=r||1e-5)&&(i=r<1?Math.pow(10,(r+"").length-2):1)&&Math.floor(Math.round((e-r/2+Math.random()*(t-e+r*.99))/r)*r*i)/i})},su=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(i){return t.reduce(function(o,s){return s(o)},i)}},au=function(e,t){return function(r){return e(parseFloat(r))+(t||ze(r))}},lu=function(e,t,r){return Js(e,t,0,1,r)},Zs=function(e,t,r){return Ht(r,function(i){return e[~~t(i)]})},cu=function n(e,t,r){var i=t-e;return Ie(e)?Zs(e,n(0,e.length),t):Ht(r,function(o){return(i+(o-e)%i)%i+e})},uu=function n(e,t,r){var i=t-e,o=i*2;return Ie(e)?Zs(e,n(0,e.length-1),t):Ht(r,function(s){return s=(o+(s-e)%o)%o||0,e+(s>i?o-s:s)})},gn=function(e){for(var t=0,r="",i,o,s,a;~(i=e.indexOf("random(",t));)s=e.indexOf(")",i),a=e.charAt(i+7)==="[",o=e.substr(i+7,s-i-7).match(a?Os:Yi),r+=e.substr(t,i-t)+Qs(a?o:+o[0],a?0:+o[1],+o[2]||1e-5),t=s+1;return r+e.substr(t,e.length-t)},Js=function(e,t,r,i,o){var s=t-e,a=i-r;return Ht(o,function(c){return r+((c-e)/s*a||0)})},fu=function n(e,t,r,i){var o=isNaN(e+t)?0:function(l){return(1-l)*e+l*t};if(!o){var s=Oe(e),a={},c,u,f,d,h;if(r===!0&&(i=1)&&(r=null),s)e={p:e},t={p:t};else if(Ie(e)&&!Ie(t)){for(f=[],d=e.length,h=d-2,u=1;u<d;u++)f.push(n(e[u-1],e[u]));d--,o=function(g){g*=d;var p=Math.min(h,~~g);return f[p](g-p)},r=t}else i||(e=Nr(Ie(e)?[]:{},e));if(!f){for(c in t)ao.call(a,e,c,"get",t[c]);o=function(g){return ho(g,a)||(s?e.p:e)}}}return Ht(r,o)},ea=function(e,t,r){var i=e.labels,o=it,s,a,c;for(s in i)a=i[s]-t,a<0==!!r&&a&&o>(a=Math.abs(a))&&(c=s,o=a);return c},et=function(e,t,r){var i=e.vars,o=i[t],s=pe,a=e._ctx,c,u,f;if(o)return c=i[t+"Params"],u=i.callbackScope||e,r&&Xt.length&&Gn(),a&&(pe=a),f=c?o.apply(u,c):o.call(u),pe=s,f},mn=function(e){return Vt(e),e.scrollTrigger&&e.scrollTrigger.kill(!!De),e.progress()<1&&et(e,"onInterrupt"),e},Lr,ta=[],ra=function(e){if(e)if(e=!e.name&&e.default||e,Bi()||e.headless){var t=e.name,r=_e(e),i=t&&!r&&e.init?function(){this._props=[]}:e,o={init:fn,render:ho,add:ao,kill:Pu,modifier:Cu,rawVars:0},s={targetTest:0,get:0,getSetter:fo,aliases:{},register:0};if(Fr(),e!==i){if(Ze[t])return;Je(i,Je(qn(e,o),s)),Nr(i.prototype,Nr(o,qn(e,s))),Ze[i.prop=t]=i,e.targetTest&&(Un.push(i),Ui[t]=1),t=(t==="css"?"CSS":t.charAt(0).toUpperCase()+t.substr(1))+"Plugin"}Ds(t,i),e.register&&e.register(Ue,i,He)}else ta.push(e)},fe=255,_n={aqua:[0,fe,fe],lime:[0,fe,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,fe],navy:[0,0,128],white:[fe,fe,fe],olive:[128,128,0],yellow:[fe,fe,0],orange:[fe,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[fe,0,0],pink:[fe,192,203],cyan:[0,fe,fe],transparent:[fe,fe,fe,0]},io=function(e,t,r){return e+=e<0?1:e>1?-1:0,(e*6<1?t+(r-t)*e*6:e<.5?r:e*3<2?t+(r-t)*(2/3-e)*6:t)*fe+.5|0},na=function(e,t,r){var i=e?Dt(e)?[e>>16,e>>8&fe,e&fe]:0:_n.black,o,s,a,c,u,f,d,h,l,g;if(!i){if(e.substr(-1)===","&&(e=e.substr(0,e.length-1)),_n[e])i=_n[e];else if(e.charAt(0)==="#"){if(e.length<6&&(o=e.charAt(1),s=e.charAt(2),a=e.charAt(3),e="#"+o+o+s+s+a+a+(e.length===5?e.charAt(4)+e.charAt(4):"")),e.length===9)return i=parseInt(e.substr(1,6),16),[i>>16,i>>8&fe,i&fe,parseInt(e.substr(7),16)/255];e=parseInt(e.substr(1),16),i=[e>>16,e>>8&fe,e&fe]}else if(e.substr(0,3)==="hsl"){if(i=g=e.match(Yi),!t)c=+i[0]%360/360,u=+i[1]/100,f=+i[2]/100,s=f<=.5?f*(u+1):f+u-f*u,o=f*2-s,i.length>3&&(i[3]*=1),i[0]=io(c+1/3,o,s),i[1]=io(c,o,s),i[2]=io(c-1/3,o,s);else if(~e.indexOf("="))return i=e.match(Es),r&&i.length<4&&(i[3]=1),i}else i=e.match(Yi)||_n.transparent;i=i.map(Number)}return t&&!g&&(o=i[0]/fe,s=i[1]/fe,a=i[2]/fe,d=Math.max(o,s,a),h=Math.min(o,s,a),f=(d+h)/2,d===h?c=u=0:(l=d-h,u=f>.5?l/(2-d-h):l/(d+h),c=d===o?(s-a)/l+(s<a?6:0):d===s?(a-o)/l+2:(o-s)/l+4,c*=60),i[0]=~~(c+.5),i[1]=~~(u*100+.5),i[2]=~~(f*100+.5)),r&&i.length<4&&(i[3]=1),i},ia=function(e){var t=[],r=[],i=-1;return e.split(Ut).forEach(function(o){var s=o.match(Dr)||[];t.push.apply(t,s),r.push(i+=s.length+1)}),t.c=r,t},oa=function(e,t,r){var i="",o=(e+i).match(Ut),s=t?"hsla(":"rgba(",a=0,c,u,f,d;if(!o)return e;if(o=o.map(function(h){return(h=na(h,t,1))&&s+(t?h[0]+","+h[1]+"%,"+h[2]+"%,"+h[3]:h.join(","))+")"}),r&&(f=ia(e),c=r.c,c.join(i)!==f.c.join(i)))for(u=e.replace(Ut,"1").split(Dr),d=u.length-1;a<d;a++)i+=u[a]+(~c.indexOf(a)?o.shift()||s+"0,0,0,0)":(f.length?f:o.length?o:r).shift());if(!u)for(u=e.split(Ut),d=u.length-1;a<d;a++)i+=u[a]+o[a];return i+u[d]},Ut=(function(){var n="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",e;for(e in _n)n+="|"+e+"\\b";return new RegExp(n+")","gi")})(),du=/hsl[a]?\(/,sa=function(e){var t=e.join(" "),r;if(Ut.lastIndex=0,Ut.test(t))return r=du.test(t),e[1]=oa(e[1],r),e[0]=oa(e[0],r,ia(e[1])),!0},yn,tt=(function(){var n=Date.now,e=500,t=33,r=n(),i=r,o=1e3/240,s=o,a=[],c,u,f,d,h,l,g=function p(y){var x=n()-i,S=y===!0,k,C,_,w;if((x>e||x<0)&&(r+=x-t),i+=x,_=i-r,k=_-s,(k>0||S)&&(w=++d.frame,h=_-d.time*1e3,d.time=_=_/1e3,s+=k+(k>=o?4:o-k),C=1),S||(c=u(p)),C)for(l=0;l<a.length;l++)a[l](_,h,w,y)};return d={time:0,frame:0,tick:function(){g(!0)},deltaRatio:function(y){return h/(1e3/(y||60))},wake:function(){Ms&&(!Xi&&Bi()&&(St=Xi=window,Vi=St.document||{},Qe.gsap=Ue,(St.gsapVersions||(St.gsapVersions=[])).push(Ue.version),As(Vn||St.GreenSockGlobals||!St.gsap&&St||{}),ta.forEach(ra)),f=typeof requestAnimationFrame<"u"&&requestAnimationFrame,c&&d.sleep(),u=f||function(y){return setTimeout(y,s-d.time*1e3+1|0)},yn=1,g(2))},sleep:function(){(f?cancelAnimationFrame:clearTimeout)(c),yn=0,u=fn},lagSmoothing:function(y,x){e=y||1/0,t=Math.min(x||33,e)},fps:function(y){o=1e3/(y||240),s=d.time*1e3+o},add:function(y,x,S){var k=x?function(C,_,w,v){y(C,_,w,v),d.remove(k)}:y;return d.remove(y),a[S?"unshift":"push"](k),Fr(),k},remove:function(y,x){~(x=a.indexOf(y))&&a.splice(x,1)&&l>=x&&l--},_listeners:a},d})(),Fr=function(){return!yn&&tt.wake()},te={},hu=/^[\d.\-M][\d.\-,\s]/,pu=/["']/g,gu=function(e){for(var t={},r=e.substr(1,e.length-3).split(":"),i=r[0],o=1,s=r.length,a,c,u;o<s;o++)c=r[o],a=o!==s-1?c.lastIndexOf(","):c.length,u=c.substr(0,a),t[i]=isNaN(u)?u.replace(pu,"").trim():+u,i=c.substr(a+1).trim();return t},mu=function(e){var t=e.indexOf("(")+1,r=e.indexOf(")"),i=e.indexOf("(",t);return e.substring(t,~i&&i<r?e.indexOf(")",r+1):r)},_u=function(e){var t=(e+"").split("("),r=te[t[0]];return r&&t.length>1&&r.config?r.config.apply(null,~e.indexOf("{")?[gu(t[1])]:mu(e).split(",").map(Ls)):te._CE&&hu.test(e)?te._CE("",e):r},aa=function(e){return function(t){return 1-e(1-t)}},la=function n(e,t){for(var r=e._first,i;r;)r instanceof Ye?n(r,t):r.vars.yoyoEase&&(!r._yoyo||!r._repeat)&&r._yoyo!==t&&(r.timeline?n(r.timeline,t):(i=r._ease,r._ease=r._yEase,r._yEase=i,r._yoyo=t)),r=r._next},ar=function(e,t){return e&&(_e(e)?e:te[e]||_u(e))||t},lr=function(e,t,r,i){r===void 0&&(r=function(c){return 1-t(1-c)}),i===void 0&&(i=function(c){return c<.5?t(c*2)/2:1-t((1-c)*2)/2});var o={easeIn:t,easeOut:r,easeInOut:i},s;return Ve(e,function(a){te[a]=Qe[a]=o,te[s=a.toLowerCase()]=r;for(var c in o)te[s+(c==="easeIn"?".in":c==="easeOut"?".out":".inOut")]=te[a+"."+c]=o[c]}),o},ca=function(e){return function(t){return t<.5?(1-e(1-t*2))/2:.5+e((t-.5)*2)/2}},oo=function n(e,t,r){var i=t>=1?t:1,o=(r||(e?.3:.45))/(t<1?t:1),s=o/Fi*(Math.asin(1/i)||0),a=function(f){return f===1?1:i*Math.pow(2,-10*f)*Vc((f-s)*o)+1},c=e==="out"?a:e==="in"?function(u){return 1-a(1-u)}:ca(a);return o=Fi/o,c.config=function(u,f){return n(e,u,f)},c},so=function n(e,t){t===void 0&&(t=1.70158);var r=function(s){return s?--s*s*((t+1)*s+t)+1:0},i=e==="out"?r:e==="in"?function(o){return 1-r(1-o)}:ca(r);return i.config=function(o){return n(e,o)},i};Ve("Linear,Quad,Cubic,Quart,Quint,Strong",function(n,e){var t=e<5?e+1:e;lr(n+",Power"+(t-1),e?function(r){return Math.pow(r,t)}:function(r){return r},function(r){return 1-Math.pow(1-r,t)},function(r){return r<.5?Math.pow(r*2,t)/2:1-Math.pow((1-r)*2,t)/2})}),te.Linear.easeNone=te.none=te.Linear.easeIn,lr("Elastic",oo("in"),oo("out"),oo()),(function(n,e){var t=1/e,r=2*t,i=2.5*t,o=function(a){return a<t?n*a*a:a<r?n*Math.pow(a-1.5/e,2)+.75:a<i?n*(a-=2.25/e)*a+.9375:n*Math.pow(a-2.625/e,2)+.984375};lr("Bounce",function(s){return 1-o(1-s)},o)})(7.5625,2.75),lr("Expo",function(n){return Math.pow(2,10*(n-1))*n+n*n*n*n*n*n*(1-n)}),lr("Circ",function(n){return-(Cs(1-n*n)-1)}),lr("Sine",function(n){return n===1?1:-Xc(n*Yc)+1}),lr("Back",so("in"),so("out"),so()),te.SteppedEase=te.steps=Qe.SteppedEase={config:function(e,t){e===void 0&&(e=1);var r=1/e,i=e+(t?0:1),o=t?1:0,s=1-ue;return function(a){return((i*pn(0,s,a)|0)+o)*r}}},Ar.ease=te["quad.out"],Ve("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(n){return Ki+=n+","+n+"Params,"});var ua=function(e,t){this.id=Wc++,e._gsap=this,this.target=e,this.harness=t,this.get=t?t.get:Is,this.set=t?t.getSetter:fo},xn=(function(){function n(t){this.vars=t,this._delay=+t.delay||0,(this._repeat=t.repeat===1/0?-2:t.repeat||0)&&(this._rDelay=t.repeatDelay||0,this._yoyo=!!t.yoyo||!!t.yoyoEase),this._ts=1,zr(this,+t.duration,1,1),this.data=t.data,pe&&(this._ctx=pe,pe.data.push(this)),yn||tt.wake()}var e=n.prototype;return e.delay=function(r){return r||r===0?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+r-this._delay),this._delay=r,this):this._delay},e.duration=function(r){return arguments.length?this.totalDuration(this._repeat>0?r+(r+this._rDelay)*this._repeat:r):this.totalDuration()&&this._dur},e.totalDuration=function(r){return arguments.length?(this._dirty=0,zr(this,this._repeat<0?r:(r-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(r,i){if(Fr(),!arguments.length)return this._tTime;var o=this._dp;if(o&&o.smoothChildTiming&&this._ts){for(Jn(this,r),!o._dp||o.parent||Ws(o,this);o&&o.parent;)o.parent._time!==o._start+(o._ts>=0?o._tTime/o._ts:(o.totalDuration()-o._tTime)/-o._ts)&&o.totalTime(o._tTime,!0),o=o.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&r<this._tDur||this._ts<0&&r>0||!this._tDur&&!r)&&kt(this._dp,this,this._start-this._delay)}return(this._tTime!==r||!this._dur&&!i||this._initted&&Math.abs(this._zTime)===ue||!r&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=r),zs(this,r,i)),this},e.time=function(r,i){return arguments.length?this.totalTime(Math.min(this.totalDuration(),r+Ys(this))%(this._dur+this._rDelay)||(r?this._dur:0),i):this._time},e.totalProgress=function(r,i){return arguments.length?this.totalTime(this.totalDuration()*r,i):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>=0&&this._initted?1:0},e.progress=function(r,i){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-r:r)+Ys(this),i):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},e.iteration=function(r,i){var o=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(r-1)*o,i):this._repeat?Ir(this._tTime,o)+1:1},e.timeScale=function(r,i){if(!arguments.length)return this._rts===-ue?0:this._rts;if(this._rts===r)return this;var o=this.parent&&this._ts?Qn(this.parent._time,this):this._tTime;return this._rts=+r||0,this._ts=this._ps||r===-ue?0:this._rts,this.totalTime(pn(-Math.abs(this._delay),this.totalDuration(),o),i!==!1),Zn(this),Zc(this)},e.paused=function(r){return arguments.length?(this._ps!==r&&(this._ps=r,r?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(Fr(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==ue&&(this._tTime-=ue)))),this):this._ps},e.startTime=function(r){if(arguments.length){this._start=r;var i=this.parent||this._dp;return i&&(i._sort||!this.parent)&&kt(i,this,r-this._delay),this}return this._start},e.endTime=function(r){return this._start+(Xe(r)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},e.rawTime=function(r){var i=this.parent||this._dp;return i?r&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?Qn(i.rawTime(r),this):this._tTime:this._tTime},e.revert=function(r){r===void 0&&(r=Gc);var i=De;return De=r,Zi(this)&&(this.timeline&&this.timeline.revert(r),this.totalTime(-.01,r.suppressEvents)),this.data!=="nested"&&r.kill!==!1&&this.kill(),De=i,this},e.globalTime=function(r){for(var i=this,o=arguments.length?r:i.rawTime();i;)o=i._start+o/(Math.abs(i._ts)||1),i=i._dp;return!this.parent&&this._sat?this._sat.globalTime(r):o},e.repeat=function(r){return arguments.length?(this._repeat=r===1/0?-2:r,Hs(this)):this._repeat===-2?1/0:this._repeat},e.repeatDelay=function(r){if(arguments.length){var i=this._time;return this._rDelay=r,Hs(this),i?this.time(i):this}return this._rDelay},e.yoyo=function(r){return arguments.length?(this._yoyo=r,this):this._yoyo},e.seek=function(r,i){return this.totalTime(ot(this,r),Xe(i))},e.restart=function(r,i){return this.play().totalTime(r?-this._delay:0,Xe(i)),this._dur||(this._zTime=-ue),this},e.play=function(r,i){return r!=null&&this.seek(r,i),this.reversed(!1).paused(!1)},e.reverse=function(r,i){return r!=null&&this.seek(r||this.totalDuration(),i),this.reversed(!0).paused(!1)},e.pause=function(r,i){return r!=null&&this.seek(r,i),this.paused(!0)},e.resume=function(){return this.paused(!1)},e.reversed=function(r){return arguments.length?(!!r!==this.reversed()&&this.timeScale(-this._rts||(r?-ue:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-ue,this},e.isActive=function(){var r=this.parent||this._dp,i=this._start,o;return!!(!r||this._ts&&this._initted&&r.isActive()&&(o=r.rawTime(!0))>=i&&o<this.endTime(!0)-ue)},e.eventCallback=function(r,i,o){var s=this.vars;return arguments.length>1?(i?(s[r]=i,o&&(s[r+"Params"]=o),r==="onUpdate"&&(this._onUpdate=i)):delete s[r],this):s[r]},e.then=function(r){var i=this;return new Promise(function(o){var s=_e(r)?r:Fs,a=function(){var u=i.then;i.then=null,_e(s)&&(s=s(i))&&(s.then||s===i)&&(i.then=u),o(s),i.then=u};i._initted&&i.totalProgress()===1&&i._ts>=0||!i._tTime&&i._ts<0?a():i._prom=a})},e.kill=function(){mn(this)},n})();Je(xn.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:-ue,_prom:0,_ps:!1,_rts:1});var Ye=(function(n){ks(e,n);function e(r,i){var o;return r===void 0&&(r={}),o=n.call(this,r)||this,o.labels={},o.smoothChildTiming=!!r.smoothChildTiming,o.autoRemoveChildren=!!r.autoRemoveChildren,o._sort=Xe(r.sortChildren),ge&&kt(r.parent||ge,At(o),i),r.reversed&&o.reverse(),r.paused&&o.paused(!0),r.scrollTrigger&&Xs(At(o),r.scrollTrigger),o}var t=e.prototype;return t.to=function(i,o,s){return hn(0,arguments,this),this},t.from=function(i,o,s){return hn(1,arguments,this),this},t.fromTo=function(i,o,s,a){return hn(2,arguments,this),this},t.set=function(i,o,s){return o.duration=0,o.parent=this,dn(o).repeatDelay||(o.repeat=0),o.immediateRender=!!o.immediateRender,new ke(i,o,ot(this,s),1),this},t.call=function(i,o,s){return kt(this,ke.delayedCall(0,i,o),s)},t.staggerTo=function(i,o,s,a,c,u,f){return s.duration=o,s.stagger=s.stagger||a,s.onComplete=u,s.onCompleteParams=f,s.parent=this,new ke(i,s,ot(this,c)),this},t.staggerFrom=function(i,o,s,a,c,u,f){return s.runBackwards=1,dn(s).immediateRender=Xe(s.immediateRender),this.staggerTo(i,o,s,a,c,u,f)},t.staggerFromTo=function(i,o,s,a,c,u,f,d){return a.startAt=s,dn(a).immediateRender=Xe(a.immediateRender),this.staggerTo(i,o,a,c,u,f,d)},t.render=function(i,o,s){var a=this._time,c=this._dirty?this.totalDuration():this._tDur,u=this._dur,f=i<=0?0:Se(i),d=this._zTime<0!=i<0&&(this._initted||!u),h,l,g,p,y,x,S,k,C,_,w,v;if(this!==ge&&f>c&&i>=0&&(f=c),f!==this._tTime||s||d){if(a!==this._time&&u&&(f+=this._time-a,i+=this._time-a),h=f,C=this._start,k=this._ts,x=!k,d&&(u||(a=this._zTime),(i||!o)&&(this._zTime=i)),this._repeat){if(w=this._yoyo,y=u+this._rDelay,this._repeat<-1&&i<0)return this.totalTime(y*100+i,o,s);if(h=Se(f%y),f===c?(p=this._repeat,h=u):(_=Se(f/y),p=~~_,p&&p===_&&(h=u,p--),h>u&&(h=u)),_=Ir(this._tTime,y),!a&&this._tTime&&_!==p&&this._tTime-_*y-this._dur<=0&&(_=p),w&&p&1&&(h=u-h,v=1),p!==_&&!this._lock){var b=w&&_&1,R=b===(w&&p&1);if(p<_&&(b=!b),a=b?0:f%u?u:f,this._lock=1,this.render(a||(v?0:Se(p*y)),o,!u)._lock=0,this._tTime=f,!o&&this.parent&&et(this,"onRepeat"),this.vars.repeatRefresh&&!v&&(this.invalidate()._lock=1),a&&a!==this._time||x!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(u=this._dur,c=this._tDur,R&&(this._lock=2,a=b?u:-1e-4,this.render(a,!0),this.vars.repeatRefresh&&!v&&this.invalidate()),this._lock=0,!this._ts&&!x)return this;la(this,v)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(S=ru(this,Se(a),Se(h)),S&&(f-=h-(h=S._start))),this._tTime=f,this._time=h,this._act=!k,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=i,a=0),!a&&f&&!o&&!_&&(et(this,"onStart"),this._tTime!==f))return this;if(h>=a&&i>=0)for(l=this._first;l;){if(g=l._next,(l._act||h>=l._start)&&l._ts&&S!==l){if(l.parent!==this)return this.render(i,o,s);if(l.render(l._ts>0?(h-l._start)*l._ts:(l._dirty?l.totalDuration():l._tDur)+(h-l._start)*l._ts,o,s),h!==this._time||!this._ts&&!x){S=0,g&&(f+=this._zTime=-ue);break}}l=g}else{l=this._last;for(var Y=i<0?i:h;l;){if(g=l._prev,(l._act||Y<=l._end)&&l._ts&&S!==l){if(l.parent!==this)return this.render(i,o,s);if(l.render(l._ts>0?(Y-l._start)*l._ts:(l._dirty?l.totalDuration():l._tDur)+(Y-l._start)*l._ts,o,s||De&&Zi(l)),h!==this._time||!this._ts&&!x){S=0,g&&(f+=this._zTime=Y?-ue:ue);break}}l=g}}if(S&&!o&&(this.pause(),S.render(h>=a?0:-ue)._zTime=h>=a?1:-1,this._ts))return this._start=C,Zn(this),this.render(i,o,s);this._onUpdate&&!o&&et(this,"onUpdate",!0),(f===c&&this._tTime>=this.totalDuration()||!f&&a)&&(C===this._start||Math.abs(k)!==Math.abs(this._ts))&&(this._lock||((i||!u)&&(f===c&&this._ts>0||!f&&this._ts<0)&&Vt(this,1),!o&&!(i<0&&!a)&&(f||a||!c)&&(et(this,f===c&&i>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(f<c&&this.timeScale()>0)&&this._prom())))}return this},t.add=function(i,o){var s=this;if(Dt(o)||(o=ot(this,o,i)),!(i instanceof xn)){if(Ie(i))return i.forEach(function(a){return s.add(a,o)}),this;if(Oe(i))return this.addLabel(i,o);if(_e(i))i=ke.delayedCall(0,i);else return this}return this!==i?kt(this,i,o):this},t.getChildren=function(i,o,s,a){i===void 0&&(i=!0),o===void 0&&(o=!0),s===void 0&&(s=!0),a===void 0&&(a=-it);for(var c=[],u=this._first;u;)u._start>=a&&(u instanceof ke?o&&c.push(u):(s&&c.push(u),i&&c.push.apply(c,u.getChildren(!0,o,s)))),u=u._next;return c},t.getById=function(i){for(var o=this.getChildren(1,1,1),s=o.length;s--;)if(o[s].vars.id===i)return o[s]},t.remove=function(i){return Oe(i)?this.removeLabel(i):_e(i)?this.killTweensOf(i):(i.parent===this&&Kn(this,i),i===this._recent&&(this._recent=this._last),sr(this))},t.totalTime=function(i,o){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=Se(tt.time-(this._ts>0?i/this._ts:(this.totalDuration()-i)/-this._ts))),n.prototype.totalTime.call(this,i,o),this._forcing=0,this):this._tTime},t.addLabel=function(i,o){return this.labels[i]=ot(this,o),this},t.removeLabel=function(i){return delete this.labels[i],this},t.addPause=function(i,o,s){var a=ke.delayedCall(0,o||fn,s);return a.data="isPause",this._hasPause=1,kt(this,a,ot(this,i))},t.removePause=function(i){var o=this._first;for(i=ot(this,i);o;)o._start===i&&o.data==="isPause"&&Vt(o),o=o._next},t.killTweensOf=function(i,o,s){for(var a=this.getTweensOf(i,s),c=a.length;c--;)Gt!==a[c]&&a[c].kill(i,o);return this},t.getTweensOf=function(i,o){for(var s=[],a=st(i),c=this._first,u=Dt(o),f;c;)c instanceof ke?qc(c._targets,a)&&(u?(!Gt||c._initted&&c._ts)&&c.globalTime(0)<=o&&c.globalTime(c.totalDuration())>o:!o||c.isActive())&&s.push(c):(f=c.getTweensOf(a,o)).length&&s.push.apply(s,f),c=c._next;return s},t.tweenTo=function(i,o){o=o||{};var s=this,a=ot(s,i),c=o,u=c.startAt,f=c.onStart,d=c.onStartParams,h=c.immediateRender,l,g=ke.to(s,Je({ease:o.ease||"none",lazy:!1,immediateRender:!1,time:a,overwrite:"auto",duration:o.duration||Math.abs((a-(u&&"time"in u?u.time:s._time))/s.timeScale())||ue,onStart:function(){if(s.pause(),!l){var y=o.duration||Math.abs((a-(u&&"time"in u?u.time:s._time))/s.timeScale());g._dur!==y&&zr(g,y,0,1).render(g._time,!0,!0),l=1}f&&f.apply(g,d||[])}},o));return h?g.render(0):g},t.tweenFromTo=function(i,o,s){return this.tweenTo(o,Je({startAt:{time:ot(this,i)}},s))},t.recent=function(){return this._recent},t.nextLabel=function(i){return i===void 0&&(i=this._time),ea(this,ot(this,i))},t.previousLabel=function(i){return i===void 0&&(i=this._time),ea(this,ot(this,i),1)},t.currentLabel=function(i){return arguments.length?this.seek(i,!0):this.previousLabel(this._time+ue)},t.shiftChildren=function(i,o,s){s===void 0&&(s=0);for(var a=this._first,c=this.labels,u;a;)a._start>=s&&(a._start+=i,a._end+=i),a=a._next;if(o)for(u in c)c[u]>=s&&(c[u]+=i);return sr(this)},t.invalidate=function(i){var o=this._first;for(this._lock=0;o;)o.invalidate(i),o=o._next;return n.prototype.invalidate.call(this,i)},t.clear=function(i){i===void 0&&(i=!0);for(var o=this._first,s;o;)s=o._next,this.remove(o),o=s;return this._dp&&(this._time=this._tTime=this._pTime=0),i&&(this.labels={}),sr(this)},t.totalDuration=function(i){var o=0,s=this,a=s._last,c=it,u,f,d;if(arguments.length)return s.timeScale((s._repeat<0?s.duration():s.totalDuration())/(s.reversed()?-i:i));if(s._dirty){for(d=s.parent;a;)u=a._prev,a._dirty&&a.totalDuration(),f=a._start,f>c&&s._sort&&a._ts&&!s._lock?(s._lock=1,kt(s,a,f-a._delay,1)._lock=0):c=f,f<0&&a._ts&&(o-=f,(!d&&!s._dp||d&&d.smoothChildTiming)&&(s._start+=f/s._ts,s._time-=f,s._tTime-=f),s.shiftChildren(-f,!1,-1/0),c=0),a._end>o&&a._ts&&(o=a._end),a=u;zr(s,s===ge&&s._time>o?s._time:o,1,1),s._dirty=0}return s._tDur},e.updateRoot=function(i){if(ge._ts&&(zs(ge,Qn(i,ge)),$s=tt.frame),tt.frame>=Ns){Ns+=Ke.autoSleep||120;var o=ge._first;if((!o||!o._ts)&&Ke.autoSleep&&tt._listeners.length<2){for(;o&&!o._ts;)o=o._next;o||tt.sleep()}}},e})(xn);Je(Ye.prototype,{_lock:0,_hasPause:0,_forcing:0});var yu=function(e,t,r,i,o,s,a){var c=new He(this._pt,e,t,0,1,ma,null,o),u=0,f=0,d,h,l,g,p,y,x,S;for(c.b=r,c.e=i,r+="",i+="",(x=~i.indexOf("random("))&&(i=gn(i)),s&&(S=[r,i],s(S,e,t),r=S[0],i=S[1]),h=r.match(Wi)||[];d=Wi.exec(i);)g=d[0],p=i.substring(u,d.index),l?l=(l+1)%5:p.substr(-5)==="rgba("&&(l=1),g!==h[f++]&&(y=parseFloat(h[f-1])||0,c._pt={_next:c._pt,p:p||f===1?p:",",s:y,c:g.charAt(1)==="="?$r(y,g)-y:parseFloat(g)-y,m:l&&l<4?Math.round:0},u=Wi.lastIndex);return c.c=u<i.length?i.substring(u,i.length):"",c.fp=a,(Rs.test(i)||x)&&(c.e=0),this._pt=c,c},ao=function(e,t,r,i,o,s,a,c,u,f){_e(i)&&(i=i(o||0,e,s));var d=e[t],h=r!=="get"?r:_e(d)?u?e[t.indexOf("set")||!_e(e["get"+t.substr(3)])?t:"get"+t.substr(3)](u):e[t]():d,l=_e(d)?u?Tu:pa:uo,g;if(Oe(i)&&(~i.indexOf("random(")&&(i=gn(i)),i.charAt(1)==="="&&(g=$r(h,i)+(ze(h)||0),(g||g===0)&&(i=g))),!f||h!==i||lo)return!isNaN(h*i)&&i!==""?(g=new He(this._pt,e,t,+h||0,i-(h||0),typeof d=="boolean"?ku:ga,0,l),u&&(g.fp=u),a&&g.modifier(a,this,e),this._pt=g):(!d&&!(t in e)&&Hi(t,i),yu.call(this,e,t,h,i,l,c||Ke.stringFilter,u))},xu=function(e,t,r,i,o){if(_e(e)&&(e=vn(e,o,t,r,i)),!Tt(e)||e.style&&e.nodeType||Ie(e)||Ps(e))return Oe(e)?vn(e,o,t,r,i):e;var s={},a;for(a in e)s[a]=vn(e[a],o,t,r,i);return s},fa=function(e,t,r,i,o,s){var a,c,u,f;if(Ze[e]&&(a=new Ze[e]).init(o,a.rawVars?t[e]:xu(t[e],i,o,s,r),r,i,s)!==!1&&(r._pt=c=new He(r._pt,o,e,0,1,a.render,a,0,a.priority),r!==Lr))for(u=r._ptLookup[r._targets.indexOf(o)],f=a._props.length;f--;)u[a._props[f]]=c;return a},Gt,lo,co=function n(e,t,r){var i=e.vars,o=i.ease,s=i.startAt,a=i.immediateRender,c=i.lazy,u=i.onUpdate,f=i.runBackwards,d=i.yoyoEase,h=i.keyframes,l=i.autoRevert,g=e._dur,p=e._startAt,y=e._targets,x=e.parent,S=x&&x.data==="nested"?x.vars.targets:y,k=e._overwrite==="auto"&&!Li,C=e.timeline,_,w,v,b,R,Y,z,F,M,G,U,X,j;if(C&&(!h||!o)&&(o="none"),e._ease=ar(o,Ar.ease),e._yEase=d?aa(ar(d===!0?o:d,Ar.ease)):0,d&&e._yoyo&&!e._repeat&&(d=e._yEase,e._yEase=e._ease,e._ease=d),e._from=!C&&!!i.runBackwards,!C||h&&!i.stagger){if(F=y[0]?or(y[0]).harness:0,X=F&&i[F.prop],_=qn(i,Ui),p&&(p._zTime<0&&p.progress(1),t<0&&f&&a&&!l?p.render(-1,!0):p.revert(f&&g?Hn:Uc),p._lazy=0),s){if(Vt(e._startAt=ke.set(y,Je({data:"isStart",overwrite:!1,parent:x,immediateRender:!0,lazy:!p&&Xe(c),startAt:null,delay:0,onUpdate:u&&function(){return et(e,"onUpdate")},stagger:0},s))),e._startAt._dp=0,e._startAt._sat=e,t<0&&(De||!a&&!l)&&e._startAt.revert(Hn),a&&g&&t<=0&&r<=0){t&&(e._zTime=t);return}}else if(f&&g&&!p){if(t&&(a=!1),v=Je({overwrite:!1,data:"isFromStart",lazy:a&&!p&&Xe(c),immediateRender:a,stagger:0,parent:x},_),X&&(v[F.prop]=X),Vt(e._startAt=ke.set(y,v)),e._startAt._dp=0,e._startAt._sat=e,t<0&&(De?e._startAt.revert(Hn):e._startAt.render(-1,!0)),e._zTime=t,!a)n(e._startAt,ue,ue);else if(!t)return}for(e._pt=e._ptCache=0,c=g&&Xe(c)||c&&!g,w=0;w<y.length;w++){if(R=y[w],z=R._gsap||Qi(y)[w]._gsap,e._ptLookup[w]=G={},Gi[z.id]&&Xt.length&&Gn(),U=S===y?w:S.indexOf(R),F&&(M=new F).init(R,X||_,e,U,S)!==!1&&(e._pt=b=new He(e._pt,R,M.name,0,1,M.render,M,0,M.priority),M._props.forEach(function(ie){G[ie]=b}),M.priority&&(Y=1)),!F||X)for(v in _)Ze[v]&&(M=fa(v,_,e,U,R,S))?M.priority&&(Y=1):G[v]=b=ao.call(e,R,v,"get",_[v],U,S,0,i.stringFilter);e._op&&e._op[w]&&e.kill(R,e._op[w]),k&&e._pt&&(Gt=e,ge.killTweensOf(R,G,e.globalTime(t)),j=!e.parent,Gt=0),e._pt&&c&&(Gi[z.id]=1)}Y&&_a(e),e._onInit&&e._onInit(e)}e._onUpdate=u,e._initted=(!e._op||e._pt)&&!j,h&&t<=0&&C.render(it,!0,!0)},vu=function(e,t,r,i,o,s,a,c){var u=(e._pt&&e._ptCache||(e._ptCache={}))[t],f,d,h,l;if(!u)for(u=e._ptCache[t]=[],h=e._ptLookup,l=e._targets.length;l--;){if(f=h[l][t],f&&f.d&&f.d._pt)for(f=f.d._pt;f&&f.p!==t&&f.fp!==t;)f=f._next;if(!f)return lo=1,e.vars[t]="+=0",co(e,a),lo=0,c?un(t+" not eligible for reset"):1;u.push(f)}for(l=u.length;l--;)d=u[l],f=d._pt||d,f.s=(i||i===0)&&!o?i:f.s+(i||0)+s*f.c,f.c=r-f.s,d.e&&(d.e=ve(r)+ze(d.e)),d.b&&(d.b=f.s+ze(d.b))},wu=function(e,t){var r=e[0]?or(e[0]).harness:0,i=r&&r.aliases,o,s,a,c;if(!i)return t;o=Nr({},t);for(s in i)if(s in o)for(c=i[s].split(","),a=c.length;a--;)o[c[a]]=o[s];return o},bu=function(e,t,r,i){var o=t.ease||i||"power1.inOut",s,a;if(Ie(t))a=r[e]||(r[e]=[]),t.forEach(function(c,u){return a.push({t:u/(t.length-1)*100,v:c,e:o})});else for(s in t)a=r[s]||(r[s]=[]),s==="ease"||a.push({t:parseFloat(e),v:t[s],e:o})},vn=function(e,t,r,i,o){return _e(e)?e.call(t,r,i,o):Oe(e)&&~e.indexOf("random(")?gn(e):e},da=Ki+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",ha={};Ve(da+",id,stagger,delay,duration,paused,scrollTrigger",function(n){return ha[n]=1});var ke=(function(n){ks(e,n);function e(r,i,o,s){var a;typeof i=="number"&&(o.duration=i,i=o,o=null),a=n.call(this,s?i:dn(i))||this;var c=a.vars,u=c.duration,f=c.delay,d=c.immediateRender,h=c.stagger,l=c.overwrite,g=c.keyframes,p=c.defaults,y=c.scrollTrigger,x=c.yoyoEase,S=i.parent||ge,k=(Ie(r)||Ps(r)?Dt(r[0]):"length"in i)?[r]:st(r),C,_,w,v,b,R,Y,z;if(a._targets=k.length?Qi(k):un("GSAP target "+r+" not found. https://gsap.com",!Ke.nullTargetWarn)||[],a._ptLookup=[],a._overwrite=l,g||h||Xn(u)||Xn(f)){if(i=a.vars,C=a.timeline=new Ye({data:"nested",defaults:p||{},targets:S&&S.data==="nested"?S.vars.targets:k}),C.kill(),C.parent=C._dp=At(a),C._start=0,h||Xn(u)||Xn(f)){if(v=k.length,Y=h&&qs(h),Tt(h))for(b in h)~da.indexOf(b)&&(z||(z={}),z[b]=h[b]);for(_=0;_<v;_++)w=qn(i,ha),w.stagger=0,x&&(w.yoyoEase=x),z&&Nr(w,z),R=k[_],w.duration=+vn(u,At(a),_,R,k),w.delay=(+vn(f,At(a),_,R,k)||0)-a._delay,!h&&v===1&&w.delay&&(a._delay=f=w.delay,a._start+=f,w.delay=0),C.to(R,w,Y?Y(_,R,k):0),C._ease=te.none;C.duration()?u=f=0:a.timeline=0}else if(g){dn(Je(C.vars.defaults,{ease:"none"})),C._ease=ar(g.ease||i.ease||"none");var F=0,M,G,U;if(Ie(g))g.forEach(function(X){return C.to(k,X,">")}),C.duration();else{w={};for(b in g)b==="ease"||b==="easeEach"||bu(b,g[b],w,g.easeEach);for(b in w)for(M=w[b].sort(function(X,j){return X.t-j.t}),F=0,_=0;_<M.length;_++)G=M[_],U={ease:G.e,duration:(G.t-(_?M[_-1].t:0))/100*u},U[b]=G.v,C.to(k,U,F),F+=U.duration;C.duration()<u&&C.to({},{duration:u-C.duration()})}}u||a.duration(u=C.duration())}else a.timeline=0;return l===!0&&!Li&&(Gt=At(a),ge.killTweensOf(k),Gt=0),kt(S,At(a),o),i.reversed&&a.reverse(),i.paused&&a.paused(!0),(d||!u&&!g&&a._start===Se(S._time)&&Xe(d)&&Jc(At(a))&&S.data!=="nested")&&(a._tTime=-ue,a.render(Math.max(0,-f)||0)),y&&Xs(At(a),y),a}var t=e.prototype;return t.render=function(i,o,s){var a=this._time,c=this._tDur,u=this._dur,f=i<0,d=i>c-ue&&!f?c:i<ue?0:i,h,l,g,p,y,x,S,k,C;if(!u)tu(this,i,o,s);else if(d!==this._tTime||!i||s||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==f||this._lazy){if(h=d,k=this.timeline,this._repeat){if(p=u+this._rDelay,this._repeat<-1&&f)return this.totalTime(p*100+i,o,s);if(h=Se(d%p),d===c?(g=this._repeat,h=u):(y=Se(d/p),g=~~y,g&&g===y?(h=u,g--):h>u&&(h=u)),x=this._yoyo&&g&1,x&&(C=this._yEase,h=u-h),y=Ir(this._tTime,p),h===a&&!s&&this._initted&&g===y)return this._tTime=d,this;g!==y&&(k&&this._yEase&&la(k,x),this.vars.repeatRefresh&&!x&&!this._lock&&h!==p&&this._initted&&(this._lock=s=1,this.render(Se(p*g),!0).invalidate()._lock=0))}if(!this._initted){if(Vs(this,f?i:h,s,o,d))return this._tTime=0,this;if(a!==this._time&&!(s&&this.vars.repeatRefresh&&g!==y))return this;if(u!==this._dur)return this.render(i,o,s)}if(this._tTime=d,this._time=h,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=S=(C||this._ease)(h/u),this._from&&(this.ratio=S=1-S),!a&&d&&!o&&!y&&(et(this,"onStart"),this._tTime!==d))return this;for(l=this._pt;l;)l.r(S,l.d),l=l._next;k&&k.render(i<0?i:k._dur*k._ease(h/this._dur),o,s)||this._startAt&&(this._zTime=i),this._onUpdate&&!o&&(f&&Ji(this,i,o,s),et(this,"onUpdate")),this._repeat&&g!==y&&this.vars.onRepeat&&!o&&this.parent&&et(this,"onRepeat"),(d===this._tDur||!d)&&this._tTime===d&&(f&&!this._onUpdate&&Ji(this,i,!0,!0),(i||!u)&&(d===this._tDur&&this._ts>0||!d&&this._ts<0)&&Vt(this,1),!o&&!(f&&!a)&&(d||a||x)&&(et(this,d===c?"onComplete":"onReverseComplete",!0),this._prom&&!(d<c&&this.timeScale()>0)&&this._prom()))}return this},t.targets=function(){return this._targets},t.invalidate=function(i){return(!i||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(i),n.prototype.invalidate.call(this,i)},t.resetTo=function(i,o,s,a,c){yn||tt.wake(),this._ts||this.play();var u=Math.min(this._dur,(this._dp._time-this._start)*this._ts),f;return this._initted||co(this,u),f=this._ease(u/this._dur),vu(this,i,o,s,a,f,u,c)?this.resetTo(i,o,s,a,1):(Jn(this,0),this.parent||Bs(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},t.kill=function(i,o){if(o===void 0&&(o="all"),!i&&(!o||o==="all"))return this._lazy=this._pt=0,this.parent?mn(this):this.scrollTrigger&&this.scrollTrigger.kill(!!De),this;if(this.timeline){var s=this.timeline.totalDuration();return this.timeline.killTweensOf(i,o,Gt&&Gt.vars.overwrite!==!0)._first||mn(this),this.parent&&s!==this.timeline.totalDuration()&&zr(this,this._dur*this.timeline._tDur/s,0,1),this}var a=this._targets,c=i?st(i):a,u=this._ptLookup,f=this._pt,d,h,l,g,p,y,x;if((!o||o==="all")&&Qc(a,c))return o==="all"&&(this._pt=0),mn(this);for(d=this._op=this._op||[],o!=="all"&&(Oe(o)&&(p={},Ve(o,function(S){return p[S]=1}),o=p),o=wu(a,o)),x=a.length;x--;)if(~c.indexOf(a[x])){h=u[x],o==="all"?(d[x]=o,g=h,l={}):(l=d[x]=d[x]||{},g=o);for(p in g)y=h&&h[p],y&&((!("kill"in y.d)||y.d.kill(p)===!0)&&Kn(this,y,"_pt"),delete h[p]),l!=="all"&&(l[p]=1)}return this._initted&&!this._pt&&f&&mn(this),this},e.to=function(i,o){return new e(i,o,arguments[2])},e.from=function(i,o){return hn(1,arguments)},e.delayedCall=function(i,o,s,a){return new e(o,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:i,onComplete:o,onReverseComplete:o,onCompleteParams:s,onReverseCompleteParams:s,callbackScope:a})},e.fromTo=function(i,o,s){return hn(2,arguments)},e.set=function(i,o){return o.duration=0,o.repeatDelay||(o.repeat=0),new e(i,o)},e.killTweensOf=function(i,o,s){return ge.killTweensOf(i,o,s)},e})(xn);Je(ke.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),Ve("staggerTo,staggerFrom,staggerFromTo",function(n){ke[n]=function(){var e=new Ye,t=to.call(arguments,0);return t.splice(n==="staggerFromTo"?5:4,0,0),e[n].apply(e,t)}});var uo=function(e,t,r){return e[t]=r},pa=function(e,t,r){return e[t](r)},Tu=function(e,t,r,i){return e[t](i.fp,r)},Su=function(e,t,r){return e.setAttribute(t,r)},fo=function(e,t){return _e(e[t])?pa:ji(e[t])&&e.setAttribute?Su:uo},ga=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e6)/1e6,t)},ku=function(e,t){return t.set(t.t,t.p,!!(t.s+t.c*e),t)},ma=function(e,t){var r=t._pt,i="";if(!e&&t.b)i=t.b;else if(e===1&&t.e)i=t.e;else{for(;r;)i=r.p+(r.m?r.m(r.s+r.c*e):Math.round((r.s+r.c*e)*1e4)/1e4)+i,r=r._next;i+=t.c}t.set(t.t,t.p,i,t)},ho=function(e,t){for(var r=t._pt;r;)r.r(e,r.d),r=r._next},Cu=function(e,t,r,i){for(var o=this._pt,s;o;)s=o._next,o.p===i&&o.modifier(e,t,r),o=s},Pu=function(e){for(var t=this._pt,r,i;t;)i=t._next,t.p===e&&!t.op||t.op===e?Kn(this,t,"_pt"):t.dep||(r=1),t=i;return!r},Eu=function(e,t,r,i){i.mSet(e,t,i.m.call(i.tween,r,i.mt),i)},_a=function(e){for(var t=e._pt,r,i,o,s;t;){for(r=t._next,i=o;i&&i.pr>t.pr;)i=i._next;(t._prev=i?i._prev:s)?t._prev._next=t:o=t,(t._next=i)?i._prev=t:s=t,t=r}e._pt=o},He=(function(){function n(t,r,i,o,s,a,c,u,f){this.t=r,this.s=o,this.c=s,this.p=i,this.r=a||ga,this.d=c||this,this.set=u||uo,this.pr=f||0,this._next=t,t&&(t._prev=this)}var e=n.prototype;return e.modifier=function(r,i,o){this.mSet=this.mSet||this.set,this.set=Eu,this.m=r,this.mt=o,this.tween=i},n})();Ve(Ki+"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(n){return Ui[n]=1}),Qe.TweenMax=Qe.TweenLite=ke,Qe.TimelineLite=Qe.TimelineMax=Ye,ge=new Ye({sortChildren:!1,defaults:Ar,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),Ke.stringFilter=sa;var cr=[],ei={},Ru=[],ya=0,Ou=0,po=function(e){return(ei[e]||Ru).map(function(t){return t()})},go=function(){var e=Date.now(),t=[];e-ya>2&&(po("matchMediaInit"),cr.forEach(function(r){var i=r.queries,o=r.conditions,s,a,c,u;for(a in i)s=St.matchMedia(i[a]).matches,s&&(c=1),s!==o[a]&&(o[a]=s,u=1);u&&(r.revert(),c&&t.push(r))}),po("matchMediaRevert"),t.forEach(function(r){return r.onMatch(r,function(i){return r.add(null,i)})}),ya=e,po("matchMedia"))},xa=(function(){function n(t,r){this.selector=r&&ro(r),this.data=[],this._r=[],this.isReverted=!1,this.id=Ou++,t&&this.add(t)}var e=n.prototype;return e.add=function(r,i,o){_e(r)&&(o=i,i=r,r=_e);var s=this,a=function(){var u=pe,f=s.selector,d;return u&&u!==s&&u.data.push(s),o&&(s.selector=ro(o)),pe=s,d=i.apply(s,arguments),_e(d)&&s._r.push(d),pe=u,s.selector=f,s.isReverted=!1,d};return s.last=a,r===_e?a(s,function(c){return s.add(null,c)}):r?s[r]=a:a},e.ignore=function(r){var i=pe;pe=null,r(this),pe=i},e.getTweens=function(){var r=[];return this.data.forEach(function(i){return i instanceof n?r.push.apply(r,i.getTweens()):i instanceof ke&&!(i.parent&&i.parent.data==="nested")&&r.push(i)}),r},e.clear=function(){this._r.length=this.data.length=0},e.kill=function(r,i){var o=this;if(r?(function(){for(var a=o.getTweens(),c=o.data.length,u;c--;)u=o.data[c],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,d){return d.g-f.g||-1/0}).forEach(function(f){return f.t.revert(r)}),c=o.data.length;c--;)u=o.data[c],u instanceof Ye?u.data!=="nested"&&(u.scrollTrigger&&u.scrollTrigger.revert(),u.kill()):!(u instanceof ke)&&u.revert&&u.revert(r);o._r.forEach(function(f){return f(r,o)}),o.isReverted=!0})():this.data.forEach(function(a){return a.kill&&a.kill()}),this.clear(),i)for(var s=cr.length;s--;)cr[s].id===this.id&&cr.splice(s,1)},e.revert=function(r){this.kill(r||{})},n})(),Mu=(function(){function n(t){this.contexts=[],this.scope=t,pe&&pe.data.push(this)}var e=n.prototype;return e.add=function(r,i,o){Tt(r)||(r={matches:r});var s=new xa(0,o||this.scope),a=s.conditions={},c,u,f;pe&&!s.selector&&(s.selector=pe.selector),this.contexts.push(s),i=s.add("onMatch",i),s.queries=r;for(u in r)u==="all"?f=1:(c=St.matchMedia(r[u]),c&&(cr.indexOf(s)<0&&cr.push(s),(a[u]=c.matches)&&(f=1),c.addListener?c.addListener(go):c.addEventListener("change",go)));return f&&i(s,function(d){return s.add(null,d)}),this},e.revert=function(r){this.kill(r||{})},e.kill=function(r){this.contexts.forEach(function(i){return i.kill(r,!0)})},n})(),ti={registerPlugin:function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];t.forEach(function(i){return ra(i)})},timeline:function(e){return new Ye(e)},getTweensOf:function(e,t){return ge.getTweensOf(e,t)},getProperty:function(e,t,r,i){Oe(e)&&(e=st(e)[0]);var o=or(e||{}).get,s=r?Fs:Ls;return r==="native"&&(r=""),e&&(t?s((Ze[t]&&Ze[t].get||o)(e,t,r,i)):function(a,c,u){return s((Ze[a]&&Ze[a].get||o)(e,a,c,u))})},quickSetter:function(e,t,r){if(e=st(e),e.length>1){var i=e.map(function(f){return Ue.quickSetter(f,t,r)}),o=i.length;return function(f){for(var d=o;d--;)i[d](f)}}e=e[0]||{};var s=Ze[t],a=or(e),c=a.harness&&(a.harness.aliases||{})[t]||t,u=s?function(f){var d=new s;Lr._pt=0,d.init(e,r?f+r:f,Lr,0,[e]),d.render(1,d),Lr._pt&&ho(1,Lr)}:a.set(e,c);return s?u:function(f){return u(e,c,r?f+r:f,a,1)}},quickTo:function(e,t,r){var i,o=Ue.to(e,Je((i={},i[t]="+=0.1",i.paused=!0,i.stagger=0,i),r||{})),s=function(c,u,f){return o.resetTo(t,c,u,f)};return s.tween=o,s},isTweening:function(e){return ge.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=ar(e.ease,Ar.ease)),js(Ar,e||{})},config:function(e){return js(Ke,e||{})},registerEffect:function(e){var t=e.name,r=e.effect,i=e.plugins,o=e.defaults,s=e.extendTimeline;(i||"").split(",").forEach(function(a){return a&&!Ze[a]&&!Qe[a]&&un(t+" effect requires "+a+" plugin.")}),qi[t]=function(a,c,u){return r(st(a),Je(c||{},o),u)},s&&(Ye.prototype[t]=function(a,c,u){return this.add(qi[t](a,Tt(c)?c:(u=c)&&{},this),u)})},registerEase:function(e,t){te[e]=ar(t)},parseEase:function(e,t){return arguments.length?ar(e,t):te},getById:function(e){return ge.getById(e)},exportRoot:function(e,t){e===void 0&&(e={});var r=new Ye(e),i,o;for(r.smoothChildTiming=Xe(e.smoothChildTiming),ge.remove(r),r._dp=0,r._time=r._tTime=ge._time,i=ge._first;i;)o=i._next,(t||!(!i._dur&&i instanceof ke&&i.vars.onComplete===i._targets[0]))&&kt(r,i,i._start-i._delay),i=o;return kt(ge,r,0),r},context:function(e,t){return e?new xa(e,t):pe},matchMedia:function(e){return new Mu(e)},matchMediaRefresh:function(){return cr.forEach(function(e){var t=e.conditions,r,i;for(i in t)t[i]&&(t[i]=!1,r=1);r&&e.revert()})||go()},addEventListener:function(e,t){var r=ei[e]||(ei[e]=[]);~r.indexOf(t)||r.push(t)},removeEventListener:function(e,t){var r=ei[e],i=r&&r.indexOf(t);i>=0&&r.splice(i,1)},utils:{wrap:cu,wrapYoyo:uu,distribute:qs,random:Qs,snap:Ks,normalize:lu,getUnit:ze,clamp:iu,splitColor:na,toArray:st,selector:ro,mapRange:Js,pipe:su,unitize:au,interpolate:fu,shuffle:Gs},install:As,effects:qi,ticker:tt,updateRoot:Ye.updateRoot,plugins:Ze,globalTimeline:ge,core:{PropTween:He,globals:Ds,Tween:ke,Timeline:Ye,Animation:xn,getCache:or,_removeLinkedListItem:Kn,reverting:function(){return De},context:function(e){return e&&pe&&(pe.data.push(e),e._ctx=pe),pe},suppressOverwrites:function(e){return Li=e}}};Ve("to,from,fromTo,delayedCall,set,killTweensOf",function(n){return ti[n]=ke[n]}),tt.add(Ye.updateRoot),Lr=ti.to({},{duration:0});var Au=function(e,t){for(var r=e._pt;r&&r.p!==t&&r.op!==t&&r.fp!==t;)r=r._next;return r},Du=function(e,t){var r=e._targets,i,o,s;for(i in t)for(o=r.length;o--;)s=e._ptLookup[o][i],s&&(s=s.d)&&(s._pt&&(s=Au(s,i)),s&&s.modifier&&s.modifier(t[i],e,r[o],i))},mo=function(e,t){return{name:e,headless:1,rawVars:1,init:function(i,o,s){s._onInit=function(a){var c,u;if(Oe(o)&&(c={},Ve(o,function(f){return c[f]=1}),o=c),t){c={};for(u in o)c[u]=t(o[u]);o=c}Du(a,o)}}}},Ue=ti.registerPlugin({name:"attr",init:function(e,t,r,i,o){var s,a,c;this.tween=r;for(s in t)c=e.getAttribute(s)||"",a=this.add(e,"setAttribute",(c||0)+"",t[s],i,o,0,0,s),a.op=s,a.b=c,this._props.push(s)},render:function(e,t){for(var r=t._pt;r;)De?r.set(r.t,r.p,r.b,r):r.r(e,r.d),r=r._next}},{name:"endArray",headless:1,init:function(e,t){for(var r=t.length;r--;)this.add(e,r,e[r]||0,t[r],0,0,0,0,0,1)}},mo("roundProps",no),mo("modifiers"),mo("snap",Ks))||ti;ke.version=Ye.version=Ue.version="3.13.0",Ms=1,Bi()&&Fr(),te.Power0,te.Power1,te.Power2,te.Power3,te.Power4,te.Linear,te.Quad,te.Cubic,te.Quart,te.Quint,te.Strong,te.Elastic,te.Back,te.SteppedEase,te.Bounce,te.Sine,te.Expo,te.Circ;/*!
30
30
  * CSSPlugin 3.13.0
31
31
  * https://gsap.com
32
32
  *
33
33
  * Copyright 2008-2025, GreenSock. All rights reserved.
34
34
  * Subject to the terms at https://gsap.com/standard-license
35
35
  * @author: Jack Doyle, jack@greensock.com
36
- */var va,qt,jr,_o,ur,wa,yo,Nu=function(){return typeof window<"u"},Nt={},fr=180/Math.PI,Br=Math.PI/180,Yr=Math.atan2,ba=1e8,xo=/([A-Z])/g,$u=/(left|right|width|margin|padding|x)/i,Iu=/[\s,\(]\S/,Ct={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},vo=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},zu=function(e,t){return t.set(t.t,t.p,e===1?t.e:Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},Lu=function(e,t){return t.set(t.t,t.p,e?Math.round((t.s+t.c*e)*1e4)/1e4+t.u:t.b,t)},Fu=function(e,t){var r=t.s+t.c*e;t.set(t.t,t.p,~~(r+(r<0?-.5:.5))+t.u,t)},Ta=function(e,t){return t.set(t.t,t.p,e?t.e:t.b,t)},Sa=function(e,t){return t.set(t.t,t.p,e!==1?t.b:t.e,t)},ju=function(e,t,r){return e.style[t]=r},Bu=function(e,t,r){return e.style.setProperty(t,r)},Yu=function(e,t,r){return e._gsap[t]=r},Wu=function(e,t,r){return e._gsap.scaleX=e._gsap.scaleY=r},Xu=function(e,t,r,i,o){var s=e._gsap;s.scaleX=s.scaleY=r,s.renderTransform(o,s)},Vu=function(e,t,r,i,o){var s=e._gsap;s[t]=r,s.renderTransform(o,s)},me="transform",Ge=me+"Origin",Hu=function n(e,t){var r=this,i=this.target,o=i.style,s=i._gsap;if(e in Nt&&o){if(this.tfm=this.tfm||{},e!=="transform")e=Ct[e]||e,~e.indexOf(",")?e.split(",").forEach(function(a){return r.tfm[a]=$t(i,a)}):this.tfm[e]=s.x?s[e]:$t(i,e),e===Ge&&(this.tfm.zOrigin=s.zOrigin);else return Ct.transform.split(",").forEach(function(a){return n.call(r,a,t)});if(this.props.indexOf(me)>=0)return;s.svg&&(this.svgo=i.getAttribute("data-svg-origin"),this.props.push(Ge,t,"")),e=me}(o||t)&&this.props.push(e,t,o[e])},ka=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},Uu=function(){var e=this.props,t=this.target,r=t.style,i=t._gsap,o,s;for(o=0;o<e.length;o+=3)e[o+1]?e[o+1]===2?t[e[o]](e[o+2]):t[e[o]]=e[o+2]:e[o+2]?r[e[o]]=e[o+2]:r.removeProperty(e[o].substr(0,2)==="--"?e[o]:e[o].replace(xo,"-$1").toLowerCase());if(this.tfm){for(s in this.tfm)i[s]=this.tfm[s];i.svg&&(i.renderTransform(),t.setAttribute("data-svg-origin",this.svgo||"")),o=yo(),(!o||!o.isStart)&&!r[me]&&(ka(r),i.zOrigin&&r[Ge]&&(r[Ge]+=" "+i.zOrigin+"px",i.zOrigin=0,i.renderTransform()),i.uncache=1)}},Ca=function(e,t){var r={target:e,props:[],revert:Uu,save:Hu};return e._gsap||Ue.core.getCache(e),t&&e.style&&e.nodeType&&t.split(",").forEach(function(i){return r.save(i)}),r},Pa,wo=function(e,t){var r=qt.createElementNS?qt.createElementNS((t||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):qt.createElement(e);return r&&r.style?r:qt.createElement(e)},at=function n(e,t,r){var i=getComputedStyle(e);return i[t]||i.getPropertyValue(t.replace(xo,"-$1").toLowerCase())||i.getPropertyValue(t)||!r&&n(e,Wr(t)||t,1)||""},Ea="O,Moz,ms,Ms,Webkit".split(","),Wr=function(e,t,r){var i=t||ur,o=i.style,s=5;if(e in o&&!r)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);s--&&!(Ea[s]+e in o););return s<0?null:(s===3?"ms":s>=0?Ea[s]:"")+e},bo=function(){Nu()&&window.document&&(va=window,qt=va.document,jr=qt.documentElement,ur=wo("div")||{style:{}},wo("div"),me=Wr(me),Ge=me+"Origin",ur.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",Pa=!!Wr("perspective"),yo=Ue.core.reverting,_o=1)},Ra=function(e){var t=e.ownerSVGElement,r=wo("svg",t&&t.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),i=e.cloneNode(!0),o;i.style.display="block",r.appendChild(i),jr.appendChild(r);try{o=i.getBBox()}catch{}return r.removeChild(i),jr.removeChild(r),o},Oa=function(e,t){for(var r=t.length;r--;)if(e.hasAttribute(t[r]))return e.getAttribute(t[r])},Ma=function(e){var t,r;try{t=e.getBBox()}catch{t=Ra(e),r=1}return t&&(t.width||t.height)||r||(t=Ra(e)),t&&!t.width&&!t.x&&!t.y?{x:+Oa(e,["x","cx","x1"])||0,y:+Oa(e,["y","cy","y1"])||0,width:0,height:0}:t},Aa=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&Ma(e))},dr=function(e,t){if(t){var r=e.style,i;t in Nt&&t!==Ge&&(t=me),r.removeProperty?(i=t.substr(0,2),(i==="ms"||t.substr(0,6)==="webkit")&&(t="-"+t),r.removeProperty(i==="--"?t:t.replace(xo,"-$1").toLowerCase())):r.removeAttribute(t)}},Kt=function(e,t,r,i,o,s){var a=new He(e._pt,t,r,0,1,s?Sa:Ta);return e._pt=a,a.b=i,a.e=o,e._props.push(r),a},Da={deg:1,rad:1,turn:1},Gu={grid:1,flex:1},Qt=function n(e,t,r,i){var o=parseFloat(r)||0,s=(r+"").trim().substr((o+"").length)||"px",a=ur.style,c=$u.test(t),u=e.tagName.toLowerCase()==="svg",f=(u?"client":"offset")+(c?"Width":"Height"),d=100,h=i==="px",l=i==="%",g,p,y,x;if(i===s||!o||Da[i]||Da[s])return o;if(s!=="px"&&!h&&(o=n(e,t,r,"px")),x=e.getCTM&&Aa(e),(l||s==="%")&&(Nt[t]||~t.indexOf("adius")))return g=x?e.getBBox()[c?"width":"height"]:e[f],ve(l?o/g*d:o/100*g);if(a[c?"width":"height"]=d+(h?s:i),p=i!=="rem"&&~t.indexOf("adius")||i==="em"&&e.appendChild&&!u?e:e.parentNode,x&&(p=(e.ownerSVGElement||{}).parentNode),(!p||p===qt||!p.appendChild)&&(p=qt.body),y=p._gsap,y&&l&&y.width&&c&&y.time===tt.time&&!y.uncache)return ve(o/y.width*d);if(l&&(t==="height"||t==="width")){var S=e.style[t];e.style[t]=d+i,g=e[f],S?e.style[t]=S:dr(e,t)}else(l||s==="%")&&!Gu[at(p,"display")]&&(a.position=at(e,"position")),p===e&&(a.position="static"),p.appendChild(ur),g=ur[f],p.removeChild(ur),a.position="absolute";return c&&l&&(y=or(p),y.time=tt.time,y.width=p[f]),ve(h?g*o/d:g&&o?d/g*o:0)},$t=function(e,t,r,i){var o;return _o||bo(),t in Ct&&t!=="transform"&&(t=Ct[t],~t.indexOf(",")&&(t=t.split(",")[0])),Nt[t]&&t!=="transform"?(o=bn(e,i),o=t!=="transformOrigin"?o[t]:o.svg?o.origin:ni(at(e,Ge))+" "+o.zOrigin+"px"):(o=e.style[t],(!o||o==="auto"||i||~(o+"").indexOf("calc("))&&(o=ri[t]&&ri[t](e,t,r)||at(e,t)||Is(e,t)||(t==="opacity"?1:0))),r&&!~(o+"").trim().indexOf(" ")?Qt(e,t,o,r)+r:o},qu=function(e,t,r,i){if(!r||r==="none"){var o=Wr(t,e,1),s=o&&at(e,o,1);s&&s!==r?(t=o,r=s):t==="borderColor"&&(r=at(e,"borderTopColor"))}var a=new He(this._pt,e.style,t,0,1,ma),c=0,u=0,f,d,h,l,g,p,y,x,S,k,C,_;if(a.b=r,a.e=i,r+="",i+="",i.substring(0,6)==="var(--"&&(i=at(e,i.substring(4,i.indexOf(")")))),i==="auto"&&(p=e.style[t],e.style[t]=i,i=at(e,t)||i,p?e.style[t]=p:dr(e,t)),f=[r,i],sa(f),r=f[0],i=f[1],h=r.match(Dr)||[],_=i.match(Dr)||[],_.length){for(;d=Dr.exec(i);)y=d[0],S=i.substring(c,d.index),g?g=(g+1)%5:(S.substr(-5)==="rgba("||S.substr(-5)==="hsla(")&&(g=1),y!==(p=h[u++]||"")&&(l=parseFloat(p)||0,C=p.substr((l+"").length),y.charAt(1)==="="&&(y=Nr(l,y)+C),x=parseFloat(y),k=y.substr((x+"").length),c=Dr.lastIndex-k.length,k||(k=k||Ke.units[t]||C,c===i.length&&(i+=k,a.e+=k)),C!==k&&(l=Qt(e,t,p,k)||0),a._pt={_next:a._pt,p:S||u===1?S:",",s:l,c:x-l,m:g&&g<4||t==="zIndex"?Math.round:0});a.c=c<i.length?i.substring(c,i.length):""}else a.r=t==="display"&&i==="none"?Sa:Ta;return Rs.test(i)&&(a.e=0),this._pt=a,a},Na={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},Ku=function(e){var t=e.split(" "),r=t[0],i=t[1]||"50%";return(r==="top"||r==="bottom"||i==="left"||i==="right")&&(e=r,r=i,i=e),t[0]=Na[r]||r,t[1]=Na[i]||i,t.join(" ")},Qu=function(e,t){if(t.tween&&t.tween._time===t.tween._dur){var r=t.t,i=r.style,o=t.u,s=r._gsap,a,c,u;if(o==="all"||o===!0)i.cssText="",c=1;else for(o=o.split(","),u=o.length;--u>-1;)a=o[u],Nt[a]&&(c=1,a=a==="transformOrigin"?Ge:me),dr(r,a);c&&(dr(r,me),s&&(s.svg&&r.removeAttribute("transform"),i.scale=i.rotate=i.translate="none",bn(r,1),s.uncache=1,ka(i)))}},ri={clearProps:function(e,t,r,i,o){if(o.data!=="isFromStart"){var s=e._pt=new He(e._pt,t,r,0,0,Qu);return s.u=i,s.pr=-10,s.tween=o,e._props.push(r),1}}},wn=[1,0,0,1,0,0],$a={},Ia=function(e){return e==="matrix(1, 0, 0, 1, 0, 0)"||e==="none"||!e},za=function(e){var t=at(e,me);return Ia(t)?wn:t.substr(7).match(Es).map(ve)},To=function(e,t){var r=e._gsap||or(e),i=e.style,o=za(e),s,a,c,u;return r.svg&&e.getAttribute("transform")?(c=e.transform.baseVal.consolidate().matrix,o=[c.a,c.b,c.c,c.d,c.e,c.f],o.join(",")==="1,0,0,1,0,0"?wn:o):(o===wn&&!e.offsetParent&&e!==jr&&!r.svg&&(c=i.display,i.display="block",s=e.parentNode,(!s||!e.offsetParent&&!e.getBoundingClientRect().width)&&(u=1,a=e.nextElementSibling,jr.appendChild(e)),o=za(e),c?i.display=c:dr(e,"display"),u&&(a?s.insertBefore(e,a):s?s.appendChild(e):jr.removeChild(e))),t&&o.length>6?[o[0],o[1],o[4],o[5],o[12],o[13]]:o)},So=function(e,t,r,i,o,s){var a=e._gsap,c=o||To(e,!0),u=a.xOrigin||0,f=a.yOrigin||0,d=a.xOffset||0,h=a.yOffset||0,l=c[0],g=c[1],p=c[2],y=c[3],x=c[4],S=c[5],k=t.split(" "),C=parseFloat(k[0])||0,_=parseFloat(k[1])||0,w,v,b,R;r?c!==wn&&(v=l*y-g*p)&&(b=C*(y/v)+_*(-p/v)+(p*S-y*x)/v,R=C*(-g/v)+_*(l/v)-(l*S-g*x)/v,C=b,_=R):(w=Ma(e),C=w.x+(~k[0].indexOf("%")?C/100*w.width:C),_=w.y+(~(k[1]||k[0]).indexOf("%")?_/100*w.height:_)),i||i!==!1&&a.smooth?(x=C-u,S=_-f,a.xOffset=d+(x*l+S*p)-x,a.yOffset=h+(x*g+S*y)-S):a.xOffset=a.yOffset=0,a.xOrigin=C,a.yOrigin=_,a.smooth=!!i,a.origin=t,a.originIsAbsolute=!!r,e.style[Ge]="0px 0px",s&&(Kt(s,a,"xOrigin",u,C),Kt(s,a,"yOrigin",f,_),Kt(s,a,"xOffset",d,a.xOffset),Kt(s,a,"yOffset",h,a.yOffset)),e.setAttribute("data-svg-origin",C+" "+_)},bn=function(e,t){var r=e._gsap||new ua(e);if("x"in r&&!t&&!r.uncache)return r;var i=e.style,o=r.scaleX<0,s="px",a="deg",c=getComputedStyle(e),u=at(e,Ge)||"0",f,d,h,l,g,p,y,x,S,k,C,_,w,v,b,R,Y,z,F,M,G,U,X,j,ie,J,P,N,$,V,H,ae;return f=d=h=p=y=x=S=k=C=0,l=g=1,r.svg=!!(e.getCTM&&Aa(e)),c.translate&&((c.translate!=="none"||c.scale!=="none"||c.rotate!=="none")&&(i[me]=(c.translate!=="none"?"translate3d("+(c.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(c.rotate!=="none"?"rotate("+c.rotate+") ":"")+(c.scale!=="none"?"scale("+c.scale.split(" ").join(",")+") ":"")+(c[me]!=="none"?c[me]:"")),i.scale=i.rotate=i.translate="none"),v=To(e,r.svg),r.svg&&(r.uncache?(ie=e.getBBox(),u=r.xOrigin-ie.x+"px "+(r.yOrigin-ie.y)+"px",j=""):j=!t&&e.getAttribute("data-svg-origin"),So(e,j||u,!!j||r.originIsAbsolute,r.smooth!==!1,v)),_=r.xOrigin||0,w=r.yOrigin||0,v!==wn&&(z=v[0],F=v[1],M=v[2],G=v[3],f=U=v[4],d=X=v[5],v.length===6?(l=Math.sqrt(z*z+F*F),g=Math.sqrt(G*G+M*M),p=z||F?Yr(F,z)*fr:0,S=M||G?Yr(M,G)*fr+p:0,S&&(g*=Math.abs(Math.cos(S*Br))),r.svg&&(f-=_-(_*z+w*M),d-=w-(_*F+w*G))):(ae=v[6],V=v[7],P=v[8],N=v[9],$=v[10],H=v[11],f=v[12],d=v[13],h=v[14],b=Yr(ae,$),y=b*fr,b&&(R=Math.cos(-b),Y=Math.sin(-b),j=U*R+P*Y,ie=X*R+N*Y,J=ae*R+$*Y,P=U*-Y+P*R,N=X*-Y+N*R,$=ae*-Y+$*R,H=V*-Y+H*R,U=j,X=ie,ae=J),b=Yr(-M,$),x=b*fr,b&&(R=Math.cos(-b),Y=Math.sin(-b),j=z*R-P*Y,ie=F*R-N*Y,J=M*R-$*Y,H=G*Y+H*R,z=j,F=ie,M=J),b=Yr(F,z),p=b*fr,b&&(R=Math.cos(b),Y=Math.sin(b),j=z*R+F*Y,ie=U*R+X*Y,F=F*R-z*Y,X=X*R-U*Y,z=j,U=ie),y&&Math.abs(y)+Math.abs(p)>359.9&&(y=p=0,x=180-x),l=ve(Math.sqrt(z*z+F*F+M*M)),g=ve(Math.sqrt(X*X+ae*ae)),b=Yr(U,X),S=Math.abs(b)>2e-4?b*fr:0,C=H?1/(H<0?-H:H):0),r.svg&&(j=e.getAttribute("transform"),r.forceCSS=e.setAttribute("transform","")||!Ia(at(e,me)),j&&e.setAttribute("transform",j))),Math.abs(S)>90&&Math.abs(S)<270&&(o?(l*=-1,S+=p<=0?180:-180,p+=p<=0?180:-180):(g*=-1,S+=S<=0?180:-180)),t=t||r.uncache,r.x=f-((r.xPercent=f&&(!t&&r.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-f)?-50:0)))?e.offsetWidth*r.xPercent/100:0)+s,r.y=d-((r.yPercent=d&&(!t&&r.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-d)?-50:0)))?e.offsetHeight*r.yPercent/100:0)+s,r.z=h+s,r.scaleX=ve(l),r.scaleY=ve(g),r.rotation=ve(p)+a,r.rotationX=ve(y)+a,r.rotationY=ve(x)+a,r.skewX=S+a,r.skewY=k+a,r.transformPerspective=C+s,(r.zOrigin=parseFloat(u.split(" ")[2])||!t&&r.zOrigin||0)&&(i[Ge]=ni(u)),r.xOffset=r.yOffset=0,r.force3D=Ke.force3D,r.renderTransform=r.svg?Ju:Pa?La:Zu,r.uncache=0,r},ni=function(e){return(e=e.split(" "))[0]+" "+e[1]},ko=function(e,t,r){var i=ze(t);return ve(parseFloat(t)+parseFloat(Qt(e,"x",r+"px",i)))+i},Zu=function(e,t){t.z="0px",t.rotationY=t.rotationX="0deg",t.force3D=0,La(e,t)},hr="0deg",Tn="0px",pr=") ",La=function(e,t){var r=t||this,i=r.xPercent,o=r.yPercent,s=r.x,a=r.y,c=r.z,u=r.rotation,f=r.rotationY,d=r.rotationX,h=r.skewX,l=r.skewY,g=r.scaleX,p=r.scaleY,y=r.transformPerspective,x=r.force3D,S=r.target,k=r.zOrigin,C="",_=x==="auto"&&e&&e!==1||x===!0;if(k&&(d!==hr||f!==hr)){var w=parseFloat(f)*Br,v=Math.sin(w),b=Math.cos(w),R;w=parseFloat(d)*Br,R=Math.cos(w),s=ko(S,s,v*R*-k),a=ko(S,a,-Math.sin(w)*-k),c=ko(S,c,b*R*-k+k)}y!==Tn&&(C+="perspective("+y+pr),(i||o)&&(C+="translate("+i+"%, "+o+"%) "),(_||s!==Tn||a!==Tn||c!==Tn)&&(C+=c!==Tn||_?"translate3d("+s+", "+a+", "+c+") ":"translate("+s+", "+a+pr),u!==hr&&(C+="rotate("+u+pr),f!==hr&&(C+="rotateY("+f+pr),d!==hr&&(C+="rotateX("+d+pr),(h!==hr||l!==hr)&&(C+="skew("+h+", "+l+pr),(g!==1||p!==1)&&(C+="scale("+g+", "+p+pr),S.style[me]=C||"translate(0, 0)"},Ju=function(e,t){var r=t||this,i=r.xPercent,o=r.yPercent,s=r.x,a=r.y,c=r.rotation,u=r.skewX,f=r.skewY,d=r.scaleX,h=r.scaleY,l=r.target,g=r.xOrigin,p=r.yOrigin,y=r.xOffset,x=r.yOffset,S=r.forceCSS,k=parseFloat(s),C=parseFloat(a),_,w,v,b,R;c=parseFloat(c),u=parseFloat(u),f=parseFloat(f),f&&(f=parseFloat(f),u+=f,c+=f),c||u?(c*=Br,u*=Br,_=Math.cos(c)*d,w=Math.sin(c)*d,v=Math.sin(c-u)*-h,b=Math.cos(c-u)*h,u&&(f*=Br,R=Math.tan(u-f),R=Math.sqrt(1+R*R),v*=R,b*=R,f&&(R=Math.tan(f),R=Math.sqrt(1+R*R),_*=R,w*=R)),_=ve(_),w=ve(w),v=ve(v),b=ve(b)):(_=d,b=h,w=v=0),(k&&!~(s+"").indexOf("px")||C&&!~(a+"").indexOf("px"))&&(k=Qt(l,"x",s,"px"),C=Qt(l,"y",a,"px")),(g||p||y||x)&&(k=ve(k+g-(g*_+p*v)+y),C=ve(C+p-(g*w+p*b)+x)),(i||o)&&(R=l.getBBox(),k=ve(k+i/100*R.width),C=ve(C+o/100*R.height)),R="matrix("+_+","+w+","+v+","+b+","+k+","+C+")",l.setAttribute("transform",R),S&&(l.style[me]=R)},ef=function(e,t,r,i,o){var s=360,a=Oe(o),c=parseFloat(o)*(a&&~o.indexOf("rad")?fr:1),u=c-i,f=i+u+"deg",d,h;return a&&(d=o.split("_")[1],d==="short"&&(u%=s,u!==u%(s/2)&&(u+=u<0?s:-s)),d==="cw"&&u<0?u=(u+s*ba)%s-~~(u/s)*s:d==="ccw"&&u>0&&(u=(u-s*ba)%s-~~(u/s)*s)),e._pt=h=new He(e._pt,t,r,i,u,zu),h.e=f,h.u="deg",e._props.push(r),h},Fa=function(e,t){for(var r in t)e[r]=t[r];return e},tf=function(e,t,r){var i=Fa({},r._gsap),o="perspective,force3D,transformOrigin,svgOrigin",s=r.style,a,c,u,f,d,h,l,g;i.svg?(u=r.getAttribute("transform"),r.setAttribute("transform",""),s[me]=t,a=bn(r,1),dr(r,me),r.setAttribute("transform",u)):(u=getComputedStyle(r)[me],s[me]=t,a=bn(r,1),s[me]=u);for(c in Nt)u=i[c],f=a[c],u!==f&&o.indexOf(c)<0&&(l=ze(u),g=ze(f),d=l!==g?Qt(r,c,u,g):parseFloat(u),h=parseFloat(f),e._pt=new He(e._pt,a,c,d,h-d,vo),e._pt.u=g||0,e._props.push(c));Fa(a,i)};Ve("padding,margin,Width,Radius",function(n,e){var t="Top",r="Right",i="Bottom",o="Left",s=(e<3?[t,r,i,o]:[t+o,t+r,i+r,i+o]).map(function(a){return e<2?n+a:"border"+a+n});ri[e>1?"border"+n:n]=function(a,c,u,f,d){var h,l;if(arguments.length<4)return h=s.map(function(g){return $t(a,g,u)}),l=h.join(" "),l.split(h[0]).length===5?h[0]:l;h=(f+"").split(" "),l={},s.forEach(function(g,p){return l[g]=h[p]=h[p]||h[(p-1)/2|0]}),a.init(c,l,d)}});var ja={name:"css",register:bo,targetTest:function(e){return e.style&&e.nodeType},init:function(e,t,r,i,o){var s=this._props,a=e.style,c=r.vars.startAt,u,f,d,h,l,g,p,y,x,S,k,C,_,w,v,b;_o||bo(),this.styles=this.styles||Ca(e),b=this.styles.props,this.tween=r;for(p in t)if(p!=="autoRound"&&(f=t[p],!(Ze[p]&&fa(p,t,r,i,e,o)))){if(l=typeof f,g=ri[p],l==="function"&&(f=f.call(r,i,e,o),l=typeof f),l==="string"&&~f.indexOf("random(")&&(f=gn(f)),g)g(this,e,p,f,r)&&(v=1);else if(p.substr(0,2)==="--")u=(getComputedStyle(e).getPropertyValue(p)+"").trim(),f+="",Ut.lastIndex=0,Ut.test(u)||(y=ze(u),x=ze(f)),x?y!==x&&(u=Qt(e,p,u,x)+x):y&&(f+=y),this.add(a,"setProperty",u,f,i,o,0,0,p),s.push(p),b.push(p,0,a[p]);else if(l!=="undefined"){if(c&&p in c?(u=typeof c[p]=="function"?c[p].call(r,i,e,o):c[p],Oe(u)&&~u.indexOf("random(")&&(u=gn(u)),ze(u+"")||u==="auto"||(u+=Ke.units[p]||ze($t(e,p))||""),(u+"").charAt(1)==="="&&(u=$t(e,p))):u=$t(e,p),h=parseFloat(u),S=l==="string"&&f.charAt(1)==="="&&f.substr(0,2),S&&(f=f.substr(2)),d=parseFloat(f),p in Ct&&(p==="autoAlpha"&&(h===1&&$t(e,"visibility")==="hidden"&&d&&(h=0),b.push("visibility",0,a.visibility),Kt(this,a,"visibility",h?"inherit":"hidden",d?"inherit":"hidden",!d)),p!=="scale"&&p!=="transform"&&(p=Ct[p],~p.indexOf(",")&&(p=p.split(",")[0]))),k=p in Nt,k){if(this.styles.save(p),l==="string"&&f.substring(0,6)==="var(--"&&(f=at(e,f.substring(4,f.indexOf(")"))),d=parseFloat(f)),C||(_=e._gsap,_.renderTransform&&!t.parseTransform||bn(e,t.parseTransform),w=t.smoothOrigin!==!1&&_.smooth,C=this._pt=new He(this._pt,a,me,0,1,_.renderTransform,_,0,-1),C.dep=1),p==="scale")this._pt=new He(this._pt,_,"scaleY",_.scaleY,(S?Nr(_.scaleY,S+d):d)-_.scaleY||0,vo),this._pt.u=0,s.push("scaleY",p),p+="X";else if(p==="transformOrigin"){b.push(Ge,0,a[Ge]),f=Ku(f),_.svg?So(e,f,0,w,0,this):(x=parseFloat(f.split(" ")[2])||0,x!==_.zOrigin&&Kt(this,_,"zOrigin",_.zOrigin,x),Kt(this,a,p,ni(u),ni(f)));continue}else if(p==="svgOrigin"){So(e,f,1,w,0,this);continue}else if(p in $a){ef(this,_,p,h,S?Nr(h,S+f):f);continue}else if(p==="smoothOrigin"){Kt(this,_,"smooth",_.smooth,f);continue}else if(p==="force3D"){_[p]=f;continue}else if(p==="transform"){tf(this,f,e);continue}}else p in a||(p=Wr(p)||p);if(k||(d||d===0)&&(h||h===0)&&!Iu.test(f)&&p in a)y=(u+"").substr((h+"").length),d||(d=0),x=ze(f)||(p in Ke.units?Ke.units[p]:y),y!==x&&(h=Qt(e,p,u,x)),this._pt=new He(this._pt,k?_:a,p,h,(S?Nr(h,S+d):d)-h,!k&&(x==="px"||p==="zIndex")&&t.autoRound!==!1?Fu:vo),this._pt.u=x||0,y!==x&&x!=="%"&&(this._pt.b=u,this._pt.r=Lu);else if(p in a)qu.call(this,e,p,u,S?S+f:f);else if(p in e)this.add(e,p,u||e[p],S?S+f:f,i,o);else if(p!=="parseTransform"){Hi(p,f);continue}k||(p in a?b.push(p,0,a[p]):typeof e[p]=="function"?b.push(p,2,e[p]()):b.push(p,1,u||e[p])),s.push(p)}}v&&_a(this)},render:function(e,t){if(t.tween._time||!yo())for(var r=t._pt;r;)r.r(e,r.d),r=r._next;else t.styles.revert()},get:$t,aliases:Ct,getSetter:function(e,t,r){var i=Ct[t];return i&&i.indexOf(",")<0&&(t=i),t in Nt&&t!==Ge&&(e._gsap.x||$t(e,"x"))?r&&wa===r?t==="scale"?Wu:Yu:(wa=r||{})&&(t==="scale"?Xu:Vu):e.style&&!ji(e.style[t])?ju:~t.indexOf("-")?Bu:fo(e,t)},core:{_removeProperty:dr,_getMatrix:To}};Ue.utils.checkPrefix=Wr,Ue.core.getStyleSaver=Ca,(function(n,e,t,r){var i=Ve(n+","+e+","+t,function(o){Nt[o]=1});Ve(e,function(o){Ke.units[o]="deg",$a[o]=1}),Ct[i[13]]=n+","+e,Ve(r,function(o){var s=o.split(":");Ct[s[1]]=i[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"),Ve("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(n){Ke.units[n]="px"}),Ue.registerPlugin(ja);var ee=Ue.registerPlugin(ja)||Ue;ee.core.Tween;/*!
36
+ */var va,qt,jr,_o,ur,wa,yo,$u=function(){return typeof window<"u"},$t={},fr=180/Math.PI,Br=Math.PI/180,Yr=Math.atan2,ba=1e8,xo=/([A-Z])/g,Nu=/(left|right|width|margin|padding|x)/i,Iu=/[\s,\(]\S/,Ct={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},vo=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},zu=function(e,t){return t.set(t.t,t.p,e===1?t.e:Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},Lu=function(e,t){return t.set(t.t,t.p,e?Math.round((t.s+t.c*e)*1e4)/1e4+t.u:t.b,t)},Fu=function(e,t){var r=t.s+t.c*e;t.set(t.t,t.p,~~(r+(r<0?-.5:.5))+t.u,t)},Ta=function(e,t){return t.set(t.t,t.p,e?t.e:t.b,t)},Sa=function(e,t){return t.set(t.t,t.p,e!==1?t.b:t.e,t)},ju=function(e,t,r){return e.style[t]=r},Bu=function(e,t,r){return e.style.setProperty(t,r)},Yu=function(e,t,r){return e._gsap[t]=r},Wu=function(e,t,r){return e._gsap.scaleX=e._gsap.scaleY=r},Xu=function(e,t,r,i,o){var s=e._gsap;s.scaleX=s.scaleY=r,s.renderTransform(o,s)},Vu=function(e,t,r,i,o){var s=e._gsap;s[t]=r,s.renderTransform(o,s)},me="transform",Ge=me+"Origin",Hu=function n(e,t){var r=this,i=this.target,o=i.style,s=i._gsap;if(e in $t&&o){if(this.tfm=this.tfm||{},e!=="transform")e=Ct[e]||e,~e.indexOf(",")?e.split(",").forEach(function(a){return r.tfm[a]=Nt(i,a)}):this.tfm[e]=s.x?s[e]:Nt(i,e),e===Ge&&(this.tfm.zOrigin=s.zOrigin);else return Ct.transform.split(",").forEach(function(a){return n.call(r,a,t)});if(this.props.indexOf(me)>=0)return;s.svg&&(this.svgo=i.getAttribute("data-svg-origin"),this.props.push(Ge,t,"")),e=me}(o||t)&&this.props.push(e,t,o[e])},ka=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},Uu=function(){var e=this.props,t=this.target,r=t.style,i=t._gsap,o,s;for(o=0;o<e.length;o+=3)e[o+1]?e[o+1]===2?t[e[o]](e[o+2]):t[e[o]]=e[o+2]:e[o+2]?r[e[o]]=e[o+2]:r.removeProperty(e[o].substr(0,2)==="--"?e[o]:e[o].replace(xo,"-$1").toLowerCase());if(this.tfm){for(s in this.tfm)i[s]=this.tfm[s];i.svg&&(i.renderTransform(),t.setAttribute("data-svg-origin",this.svgo||"")),o=yo(),(!o||!o.isStart)&&!r[me]&&(ka(r),i.zOrigin&&r[Ge]&&(r[Ge]+=" "+i.zOrigin+"px",i.zOrigin=0,i.renderTransform()),i.uncache=1)}},Ca=function(e,t){var r={target:e,props:[],revert:Uu,save:Hu};return e._gsap||Ue.core.getCache(e),t&&e.style&&e.nodeType&&t.split(",").forEach(function(i){return r.save(i)}),r},Pa,wo=function(e,t){var r=qt.createElementNS?qt.createElementNS((t||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):qt.createElement(e);return r&&r.style?r:qt.createElement(e)},at=function n(e,t,r){var i=getComputedStyle(e);return i[t]||i.getPropertyValue(t.replace(xo,"-$1").toLowerCase())||i.getPropertyValue(t)||!r&&n(e,Wr(t)||t,1)||""},Ea="O,Moz,ms,Ms,Webkit".split(","),Wr=function(e,t,r){var i=t||ur,o=i.style,s=5;if(e in o&&!r)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);s--&&!(Ea[s]+e in o););return s<0?null:(s===3?"ms":s>=0?Ea[s]:"")+e},bo=function(){$u()&&window.document&&(va=window,qt=va.document,jr=qt.documentElement,ur=wo("div")||{style:{}},wo("div"),me=Wr(me),Ge=me+"Origin",ur.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",Pa=!!Wr("perspective"),yo=Ue.core.reverting,_o=1)},Ra=function(e){var t=e.ownerSVGElement,r=wo("svg",t&&t.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),i=e.cloneNode(!0),o;i.style.display="block",r.appendChild(i),jr.appendChild(r);try{o=i.getBBox()}catch{}return r.removeChild(i),jr.removeChild(r),o},Oa=function(e,t){for(var r=t.length;r--;)if(e.hasAttribute(t[r]))return e.getAttribute(t[r])},Ma=function(e){var t,r;try{t=e.getBBox()}catch{t=Ra(e),r=1}return t&&(t.width||t.height)||r||(t=Ra(e)),t&&!t.width&&!t.x&&!t.y?{x:+Oa(e,["x","cx","x1"])||0,y:+Oa(e,["y","cy","y1"])||0,width:0,height:0}:t},Aa=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&Ma(e))},dr=function(e,t){if(t){var r=e.style,i;t in $t&&t!==Ge&&(t=me),r.removeProperty?(i=t.substr(0,2),(i==="ms"||t.substr(0,6)==="webkit")&&(t="-"+t),r.removeProperty(i==="--"?t:t.replace(xo,"-$1").toLowerCase())):r.removeAttribute(t)}},Kt=function(e,t,r,i,o,s){var a=new He(e._pt,t,r,0,1,s?Sa:Ta);return e._pt=a,a.b=i,a.e=o,e._props.push(r),a},Da={deg:1,rad:1,turn:1},Gu={grid:1,flex:1},Qt=function n(e,t,r,i){var o=parseFloat(r)||0,s=(r+"").trim().substr((o+"").length)||"px",a=ur.style,c=Nu.test(t),u=e.tagName.toLowerCase()==="svg",f=(u?"client":"offset")+(c?"Width":"Height"),d=100,h=i==="px",l=i==="%",g,p,y,x;if(i===s||!o||Da[i]||Da[s])return o;if(s!=="px"&&!h&&(o=n(e,t,r,"px")),x=e.getCTM&&Aa(e),(l||s==="%")&&($t[t]||~t.indexOf("adius")))return g=x?e.getBBox()[c?"width":"height"]:e[f],ve(l?o/g*d:o/100*g);if(a[c?"width":"height"]=d+(h?s:i),p=i!=="rem"&&~t.indexOf("adius")||i==="em"&&e.appendChild&&!u?e:e.parentNode,x&&(p=(e.ownerSVGElement||{}).parentNode),(!p||p===qt||!p.appendChild)&&(p=qt.body),y=p._gsap,y&&l&&y.width&&c&&y.time===tt.time&&!y.uncache)return ve(o/y.width*d);if(l&&(t==="height"||t==="width")){var S=e.style[t];e.style[t]=d+i,g=e[f],S?e.style[t]=S:dr(e,t)}else(l||s==="%")&&!Gu[at(p,"display")]&&(a.position=at(e,"position")),p===e&&(a.position="static"),p.appendChild(ur),g=ur[f],p.removeChild(ur),a.position="absolute";return c&&l&&(y=or(p),y.time=tt.time,y.width=p[f]),ve(h?g*o/d:g&&o?d/g*o:0)},Nt=function(e,t,r,i){var o;return _o||bo(),t in Ct&&t!=="transform"&&(t=Ct[t],~t.indexOf(",")&&(t=t.split(",")[0])),$t[t]&&t!=="transform"?(o=bn(e,i),o=t!=="transformOrigin"?o[t]:o.svg?o.origin:ni(at(e,Ge))+" "+o.zOrigin+"px"):(o=e.style[t],(!o||o==="auto"||i||~(o+"").indexOf("calc("))&&(o=ri[t]&&ri[t](e,t,r)||at(e,t)||Is(e,t)||(t==="opacity"?1:0))),r&&!~(o+"").trim().indexOf(" ")?Qt(e,t,o,r)+r:o},qu=function(e,t,r,i){if(!r||r==="none"){var o=Wr(t,e,1),s=o&&at(e,o,1);s&&s!==r?(t=o,r=s):t==="borderColor"&&(r=at(e,"borderTopColor"))}var a=new He(this._pt,e.style,t,0,1,ma),c=0,u=0,f,d,h,l,g,p,y,x,S,k,C,_;if(a.b=r,a.e=i,r+="",i+="",i.substring(0,6)==="var(--"&&(i=at(e,i.substring(4,i.indexOf(")")))),i==="auto"&&(p=e.style[t],e.style[t]=i,i=at(e,t)||i,p?e.style[t]=p:dr(e,t)),f=[r,i],sa(f),r=f[0],i=f[1],h=r.match(Dr)||[],_=i.match(Dr)||[],_.length){for(;d=Dr.exec(i);)y=d[0],S=i.substring(c,d.index),g?g=(g+1)%5:(S.substr(-5)==="rgba("||S.substr(-5)==="hsla(")&&(g=1),y!==(p=h[u++]||"")&&(l=parseFloat(p)||0,C=p.substr((l+"").length),y.charAt(1)==="="&&(y=$r(l,y)+C),x=parseFloat(y),k=y.substr((x+"").length),c=Dr.lastIndex-k.length,k||(k=k||Ke.units[t]||C,c===i.length&&(i+=k,a.e+=k)),C!==k&&(l=Qt(e,t,p,k)||0),a._pt={_next:a._pt,p:S||u===1?S:",",s:l,c:x-l,m:g&&g<4||t==="zIndex"?Math.round:0});a.c=c<i.length?i.substring(c,i.length):""}else a.r=t==="display"&&i==="none"?Sa:Ta;return Rs.test(i)&&(a.e=0),this._pt=a,a},$a={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},Ku=function(e){var t=e.split(" "),r=t[0],i=t[1]||"50%";return(r==="top"||r==="bottom"||i==="left"||i==="right")&&(e=r,r=i,i=e),t[0]=$a[r]||r,t[1]=$a[i]||i,t.join(" ")},Qu=function(e,t){if(t.tween&&t.tween._time===t.tween._dur){var r=t.t,i=r.style,o=t.u,s=r._gsap,a,c,u;if(o==="all"||o===!0)i.cssText="",c=1;else for(o=o.split(","),u=o.length;--u>-1;)a=o[u],$t[a]&&(c=1,a=a==="transformOrigin"?Ge:me),dr(r,a);c&&(dr(r,me),s&&(s.svg&&r.removeAttribute("transform"),i.scale=i.rotate=i.translate="none",bn(r,1),s.uncache=1,ka(i)))}},ri={clearProps:function(e,t,r,i,o){if(o.data!=="isFromStart"){var s=e._pt=new He(e._pt,t,r,0,0,Qu);return s.u=i,s.pr=-10,s.tween=o,e._props.push(r),1}}},wn=[1,0,0,1,0,0],Na={},Ia=function(e){return e==="matrix(1, 0, 0, 1, 0, 0)"||e==="none"||!e},za=function(e){var t=at(e,me);return Ia(t)?wn:t.substr(7).match(Es).map(ve)},To=function(e,t){var r=e._gsap||or(e),i=e.style,o=za(e),s,a,c,u;return r.svg&&e.getAttribute("transform")?(c=e.transform.baseVal.consolidate().matrix,o=[c.a,c.b,c.c,c.d,c.e,c.f],o.join(",")==="1,0,0,1,0,0"?wn:o):(o===wn&&!e.offsetParent&&e!==jr&&!r.svg&&(c=i.display,i.display="block",s=e.parentNode,(!s||!e.offsetParent&&!e.getBoundingClientRect().width)&&(u=1,a=e.nextElementSibling,jr.appendChild(e)),o=za(e),c?i.display=c:dr(e,"display"),u&&(a?s.insertBefore(e,a):s?s.appendChild(e):jr.removeChild(e))),t&&o.length>6?[o[0],o[1],o[4],o[5],o[12],o[13]]:o)},So=function(e,t,r,i,o,s){var a=e._gsap,c=o||To(e,!0),u=a.xOrigin||0,f=a.yOrigin||0,d=a.xOffset||0,h=a.yOffset||0,l=c[0],g=c[1],p=c[2],y=c[3],x=c[4],S=c[5],k=t.split(" "),C=parseFloat(k[0])||0,_=parseFloat(k[1])||0,w,v,b,R;r?c!==wn&&(v=l*y-g*p)&&(b=C*(y/v)+_*(-p/v)+(p*S-y*x)/v,R=C*(-g/v)+_*(l/v)-(l*S-g*x)/v,C=b,_=R):(w=Ma(e),C=w.x+(~k[0].indexOf("%")?C/100*w.width:C),_=w.y+(~(k[1]||k[0]).indexOf("%")?_/100*w.height:_)),i||i!==!1&&a.smooth?(x=C-u,S=_-f,a.xOffset=d+(x*l+S*p)-x,a.yOffset=h+(x*g+S*y)-S):a.xOffset=a.yOffset=0,a.xOrigin=C,a.yOrigin=_,a.smooth=!!i,a.origin=t,a.originIsAbsolute=!!r,e.style[Ge]="0px 0px",s&&(Kt(s,a,"xOrigin",u,C),Kt(s,a,"yOrigin",f,_),Kt(s,a,"xOffset",d,a.xOffset),Kt(s,a,"yOffset",h,a.yOffset)),e.setAttribute("data-svg-origin",C+" "+_)},bn=function(e,t){var r=e._gsap||new ua(e);if("x"in r&&!t&&!r.uncache)return r;var i=e.style,o=r.scaleX<0,s="px",a="deg",c=getComputedStyle(e),u=at(e,Ge)||"0",f,d,h,l,g,p,y,x,S,k,C,_,w,v,b,R,Y,z,F,M,G,U,X,j,ie,J,P,$,N,V,H,ae;return f=d=h=p=y=x=S=k=C=0,l=g=1,r.svg=!!(e.getCTM&&Aa(e)),c.translate&&((c.translate!=="none"||c.scale!=="none"||c.rotate!=="none")&&(i[me]=(c.translate!=="none"?"translate3d("+(c.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(c.rotate!=="none"?"rotate("+c.rotate+") ":"")+(c.scale!=="none"?"scale("+c.scale.split(" ").join(",")+") ":"")+(c[me]!=="none"?c[me]:"")),i.scale=i.rotate=i.translate="none"),v=To(e,r.svg),r.svg&&(r.uncache?(ie=e.getBBox(),u=r.xOrigin-ie.x+"px "+(r.yOrigin-ie.y)+"px",j=""):j=!t&&e.getAttribute("data-svg-origin"),So(e,j||u,!!j||r.originIsAbsolute,r.smooth!==!1,v)),_=r.xOrigin||0,w=r.yOrigin||0,v!==wn&&(z=v[0],F=v[1],M=v[2],G=v[3],f=U=v[4],d=X=v[5],v.length===6?(l=Math.sqrt(z*z+F*F),g=Math.sqrt(G*G+M*M),p=z||F?Yr(F,z)*fr:0,S=M||G?Yr(M,G)*fr+p:0,S&&(g*=Math.abs(Math.cos(S*Br))),r.svg&&(f-=_-(_*z+w*M),d-=w-(_*F+w*G))):(ae=v[6],V=v[7],P=v[8],$=v[9],N=v[10],H=v[11],f=v[12],d=v[13],h=v[14],b=Yr(ae,N),y=b*fr,b&&(R=Math.cos(-b),Y=Math.sin(-b),j=U*R+P*Y,ie=X*R+$*Y,J=ae*R+N*Y,P=U*-Y+P*R,$=X*-Y+$*R,N=ae*-Y+N*R,H=V*-Y+H*R,U=j,X=ie,ae=J),b=Yr(-M,N),x=b*fr,b&&(R=Math.cos(-b),Y=Math.sin(-b),j=z*R-P*Y,ie=F*R-$*Y,J=M*R-N*Y,H=G*Y+H*R,z=j,F=ie,M=J),b=Yr(F,z),p=b*fr,b&&(R=Math.cos(b),Y=Math.sin(b),j=z*R+F*Y,ie=U*R+X*Y,F=F*R-z*Y,X=X*R-U*Y,z=j,U=ie),y&&Math.abs(y)+Math.abs(p)>359.9&&(y=p=0,x=180-x),l=ve(Math.sqrt(z*z+F*F+M*M)),g=ve(Math.sqrt(X*X+ae*ae)),b=Yr(U,X),S=Math.abs(b)>2e-4?b*fr:0,C=H?1/(H<0?-H:H):0),r.svg&&(j=e.getAttribute("transform"),r.forceCSS=e.setAttribute("transform","")||!Ia(at(e,me)),j&&e.setAttribute("transform",j))),Math.abs(S)>90&&Math.abs(S)<270&&(o?(l*=-1,S+=p<=0?180:-180,p+=p<=0?180:-180):(g*=-1,S+=S<=0?180:-180)),t=t||r.uncache,r.x=f-((r.xPercent=f&&(!t&&r.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-f)?-50:0)))?e.offsetWidth*r.xPercent/100:0)+s,r.y=d-((r.yPercent=d&&(!t&&r.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-d)?-50:0)))?e.offsetHeight*r.yPercent/100:0)+s,r.z=h+s,r.scaleX=ve(l),r.scaleY=ve(g),r.rotation=ve(p)+a,r.rotationX=ve(y)+a,r.rotationY=ve(x)+a,r.skewX=S+a,r.skewY=k+a,r.transformPerspective=C+s,(r.zOrigin=parseFloat(u.split(" ")[2])||!t&&r.zOrigin||0)&&(i[Ge]=ni(u)),r.xOffset=r.yOffset=0,r.force3D=Ke.force3D,r.renderTransform=r.svg?Ju:Pa?La:Zu,r.uncache=0,r},ni=function(e){return(e=e.split(" "))[0]+" "+e[1]},ko=function(e,t,r){var i=ze(t);return ve(parseFloat(t)+parseFloat(Qt(e,"x",r+"px",i)))+i},Zu=function(e,t){t.z="0px",t.rotationY=t.rotationX="0deg",t.force3D=0,La(e,t)},hr="0deg",Tn="0px",pr=") ",La=function(e,t){var r=t||this,i=r.xPercent,o=r.yPercent,s=r.x,a=r.y,c=r.z,u=r.rotation,f=r.rotationY,d=r.rotationX,h=r.skewX,l=r.skewY,g=r.scaleX,p=r.scaleY,y=r.transformPerspective,x=r.force3D,S=r.target,k=r.zOrigin,C="",_=x==="auto"&&e&&e!==1||x===!0;if(k&&(d!==hr||f!==hr)){var w=parseFloat(f)*Br,v=Math.sin(w),b=Math.cos(w),R;w=parseFloat(d)*Br,R=Math.cos(w),s=ko(S,s,v*R*-k),a=ko(S,a,-Math.sin(w)*-k),c=ko(S,c,b*R*-k+k)}y!==Tn&&(C+="perspective("+y+pr),(i||o)&&(C+="translate("+i+"%, "+o+"%) "),(_||s!==Tn||a!==Tn||c!==Tn)&&(C+=c!==Tn||_?"translate3d("+s+", "+a+", "+c+") ":"translate("+s+", "+a+pr),u!==hr&&(C+="rotate("+u+pr),f!==hr&&(C+="rotateY("+f+pr),d!==hr&&(C+="rotateX("+d+pr),(h!==hr||l!==hr)&&(C+="skew("+h+", "+l+pr),(g!==1||p!==1)&&(C+="scale("+g+", "+p+pr),S.style[me]=C||"translate(0, 0)"},Ju=function(e,t){var r=t||this,i=r.xPercent,o=r.yPercent,s=r.x,a=r.y,c=r.rotation,u=r.skewX,f=r.skewY,d=r.scaleX,h=r.scaleY,l=r.target,g=r.xOrigin,p=r.yOrigin,y=r.xOffset,x=r.yOffset,S=r.forceCSS,k=parseFloat(s),C=parseFloat(a),_,w,v,b,R;c=parseFloat(c),u=parseFloat(u),f=parseFloat(f),f&&(f=parseFloat(f),u+=f,c+=f),c||u?(c*=Br,u*=Br,_=Math.cos(c)*d,w=Math.sin(c)*d,v=Math.sin(c-u)*-h,b=Math.cos(c-u)*h,u&&(f*=Br,R=Math.tan(u-f),R=Math.sqrt(1+R*R),v*=R,b*=R,f&&(R=Math.tan(f),R=Math.sqrt(1+R*R),_*=R,w*=R)),_=ve(_),w=ve(w),v=ve(v),b=ve(b)):(_=d,b=h,w=v=0),(k&&!~(s+"").indexOf("px")||C&&!~(a+"").indexOf("px"))&&(k=Qt(l,"x",s,"px"),C=Qt(l,"y",a,"px")),(g||p||y||x)&&(k=ve(k+g-(g*_+p*v)+y),C=ve(C+p-(g*w+p*b)+x)),(i||o)&&(R=l.getBBox(),k=ve(k+i/100*R.width),C=ve(C+o/100*R.height)),R="matrix("+_+","+w+","+v+","+b+","+k+","+C+")",l.setAttribute("transform",R),S&&(l.style[me]=R)},ef=function(e,t,r,i,o){var s=360,a=Oe(o),c=parseFloat(o)*(a&&~o.indexOf("rad")?fr:1),u=c-i,f=i+u+"deg",d,h;return a&&(d=o.split("_")[1],d==="short"&&(u%=s,u!==u%(s/2)&&(u+=u<0?s:-s)),d==="cw"&&u<0?u=(u+s*ba)%s-~~(u/s)*s:d==="ccw"&&u>0&&(u=(u-s*ba)%s-~~(u/s)*s)),e._pt=h=new He(e._pt,t,r,i,u,zu),h.e=f,h.u="deg",e._props.push(r),h},Fa=function(e,t){for(var r in t)e[r]=t[r];return e},tf=function(e,t,r){var i=Fa({},r._gsap),o="perspective,force3D,transformOrigin,svgOrigin",s=r.style,a,c,u,f,d,h,l,g;i.svg?(u=r.getAttribute("transform"),r.setAttribute("transform",""),s[me]=t,a=bn(r,1),dr(r,me),r.setAttribute("transform",u)):(u=getComputedStyle(r)[me],s[me]=t,a=bn(r,1),s[me]=u);for(c in $t)u=i[c],f=a[c],u!==f&&o.indexOf(c)<0&&(l=ze(u),g=ze(f),d=l!==g?Qt(r,c,u,g):parseFloat(u),h=parseFloat(f),e._pt=new He(e._pt,a,c,d,h-d,vo),e._pt.u=g||0,e._props.push(c));Fa(a,i)};Ve("padding,margin,Width,Radius",function(n,e){var t="Top",r="Right",i="Bottom",o="Left",s=(e<3?[t,r,i,o]:[t+o,t+r,i+r,i+o]).map(function(a){return e<2?n+a:"border"+a+n});ri[e>1?"border"+n:n]=function(a,c,u,f,d){var h,l;if(arguments.length<4)return h=s.map(function(g){return Nt(a,g,u)}),l=h.join(" "),l.split(h[0]).length===5?h[0]:l;h=(f+"").split(" "),l={},s.forEach(function(g,p){return l[g]=h[p]=h[p]||h[(p-1)/2|0]}),a.init(c,l,d)}});var ja={name:"css",register:bo,targetTest:function(e){return e.style&&e.nodeType},init:function(e,t,r,i,o){var s=this._props,a=e.style,c=r.vars.startAt,u,f,d,h,l,g,p,y,x,S,k,C,_,w,v,b;_o||bo(),this.styles=this.styles||Ca(e),b=this.styles.props,this.tween=r;for(p in t)if(p!=="autoRound"&&(f=t[p],!(Ze[p]&&fa(p,t,r,i,e,o)))){if(l=typeof f,g=ri[p],l==="function"&&(f=f.call(r,i,e,o),l=typeof f),l==="string"&&~f.indexOf("random(")&&(f=gn(f)),g)g(this,e,p,f,r)&&(v=1);else if(p.substr(0,2)==="--")u=(getComputedStyle(e).getPropertyValue(p)+"").trim(),f+="",Ut.lastIndex=0,Ut.test(u)||(y=ze(u),x=ze(f)),x?y!==x&&(u=Qt(e,p,u,x)+x):y&&(f+=y),this.add(a,"setProperty",u,f,i,o,0,0,p),s.push(p),b.push(p,0,a[p]);else if(l!=="undefined"){if(c&&p in c?(u=typeof c[p]=="function"?c[p].call(r,i,e,o):c[p],Oe(u)&&~u.indexOf("random(")&&(u=gn(u)),ze(u+"")||u==="auto"||(u+=Ke.units[p]||ze(Nt(e,p))||""),(u+"").charAt(1)==="="&&(u=Nt(e,p))):u=Nt(e,p),h=parseFloat(u),S=l==="string"&&f.charAt(1)==="="&&f.substr(0,2),S&&(f=f.substr(2)),d=parseFloat(f),p in Ct&&(p==="autoAlpha"&&(h===1&&Nt(e,"visibility")==="hidden"&&d&&(h=0),b.push("visibility",0,a.visibility),Kt(this,a,"visibility",h?"inherit":"hidden",d?"inherit":"hidden",!d)),p!=="scale"&&p!=="transform"&&(p=Ct[p],~p.indexOf(",")&&(p=p.split(",")[0]))),k=p in $t,k){if(this.styles.save(p),l==="string"&&f.substring(0,6)==="var(--"&&(f=at(e,f.substring(4,f.indexOf(")"))),d=parseFloat(f)),C||(_=e._gsap,_.renderTransform&&!t.parseTransform||bn(e,t.parseTransform),w=t.smoothOrigin!==!1&&_.smooth,C=this._pt=new He(this._pt,a,me,0,1,_.renderTransform,_,0,-1),C.dep=1),p==="scale")this._pt=new He(this._pt,_,"scaleY",_.scaleY,(S?$r(_.scaleY,S+d):d)-_.scaleY||0,vo),this._pt.u=0,s.push("scaleY",p),p+="X";else if(p==="transformOrigin"){b.push(Ge,0,a[Ge]),f=Ku(f),_.svg?So(e,f,0,w,0,this):(x=parseFloat(f.split(" ")[2])||0,x!==_.zOrigin&&Kt(this,_,"zOrigin",_.zOrigin,x),Kt(this,a,p,ni(u),ni(f)));continue}else if(p==="svgOrigin"){So(e,f,1,w,0,this);continue}else if(p in Na){ef(this,_,p,h,S?$r(h,S+f):f);continue}else if(p==="smoothOrigin"){Kt(this,_,"smooth",_.smooth,f);continue}else if(p==="force3D"){_[p]=f;continue}else if(p==="transform"){tf(this,f,e);continue}}else p in a||(p=Wr(p)||p);if(k||(d||d===0)&&(h||h===0)&&!Iu.test(f)&&p in a)y=(u+"").substr((h+"").length),d||(d=0),x=ze(f)||(p in Ke.units?Ke.units[p]:y),y!==x&&(h=Qt(e,p,u,x)),this._pt=new He(this._pt,k?_:a,p,h,(S?$r(h,S+d):d)-h,!k&&(x==="px"||p==="zIndex")&&t.autoRound!==!1?Fu:vo),this._pt.u=x||0,y!==x&&x!=="%"&&(this._pt.b=u,this._pt.r=Lu);else if(p in a)qu.call(this,e,p,u,S?S+f:f);else if(p in e)this.add(e,p,u||e[p],S?S+f:f,i,o);else if(p!=="parseTransform"){Hi(p,f);continue}k||(p in a?b.push(p,0,a[p]):typeof e[p]=="function"?b.push(p,2,e[p]()):b.push(p,1,u||e[p])),s.push(p)}}v&&_a(this)},render:function(e,t){if(t.tween._time||!yo())for(var r=t._pt;r;)r.r(e,r.d),r=r._next;else t.styles.revert()},get:Nt,aliases:Ct,getSetter:function(e,t,r){var i=Ct[t];return i&&i.indexOf(",")<0&&(t=i),t in $t&&t!==Ge&&(e._gsap.x||Nt(e,"x"))?r&&wa===r?t==="scale"?Wu:Yu:(wa=r||{})&&(t==="scale"?Xu:Vu):e.style&&!ji(e.style[t])?ju:~t.indexOf("-")?Bu:fo(e,t)},core:{_removeProperty:dr,_getMatrix:To}};Ue.utils.checkPrefix=Wr,Ue.core.getStyleSaver=Ca,(function(n,e,t,r){var i=Ve(n+","+e+","+t,function(o){$t[o]=1});Ve(e,function(o){Ke.units[o]="deg",Na[o]=1}),Ct[i[13]]=n+","+e,Ve(r,function(o){var s=o.split(":");Ct[s[1]]=i[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"),Ve("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(n){Ke.units[n]="px"}),Ue.registerPlugin(ja);var ee=Ue.registerPlugin(ja)||Ue;ee.core.Tween;/*!
37
37
  * SplitText 3.13.0
38
38
  * https://gsap.com
39
39
  *
40
40
  * @license Copyright 2025, GreenSock. All rights reserved. Subject to the terms at https://gsap.com/standard-license.
41
41
  * @author: Jack Doyle
42
- */let Sn,Xr,Co,rf=()=>Co||Oo.register(window.gsap),Ba=typeof Intl<"u"?new Intl.Segmenter:0,ii=n=>typeof n=="string"?ii(document.querySelectorAll(n)):"length"in n?Array.from(n):[n],Ya=n=>ii(n).filter(e=>e instanceof HTMLElement),Po=[],Eo=function(){},nf=/\s+/g,Wa=new RegExp("\\p{RI}\\p{RI}|\\p{Emoji}(\\p{EMod}|\\u{FE0F}\\u{20E3}?|[\\u{E0020}-\\u{E007E}]+\\u{E007F})?(\\u{200D}\\p{Emoji}(\\p{EMod}|\\u{FE0F}\\u{20E3}?|[\\u{E0020}-\\u{E007E}]+\\u{E007F})?)*|.","gu"),Xa={left:0,top:0,width:0,height:0},Va=(n,e)=>{if(e){let t=new Set(n.join("").match(e)||Po),r=n.length,i,o,s,a;if(t.size)for(;--r>-1;){o=n[r];for(s of t)if(s.startsWith(o)&&s.length>o.length){for(i=0,a=o;s.startsWith(a+=n[r+ ++i])&&a.length<s.length;);if(i&&a.length===s.length){n[r]=s,n.splice(r+1,i);break}}}}return n},Ha=n=>window.getComputedStyle(n).display==="inline"&&(n.style.display="inline-block"),Vr=(n,e,t)=>e.insertBefore(typeof n=="string"?document.createTextNode(n):n,t),Ro=(n,e,t)=>{let r=e[n+"sClass"]||"",{tag:i="div",aria:o="auto",propIndex:s=!1}=e,a=n==="line"?"block":"inline-block",c=r.indexOf("++")>-1,u=f=>{let d=document.createElement(i),h=t.length+1;return r&&(d.className=r+(c?" "+r+h:"")),s&&d.style.setProperty("--"+n,h+""),o!=="none"&&d.setAttribute("aria-hidden","true"),i!=="span"&&(d.style.position="relative",d.style.display=a),d.textContent=f,t.push(d),d};return c&&(r=r.replace("++","")),u.collection=t,u},of=(n,e,t,r)=>{let i=Ro("line",t,r),o=window.getComputedStyle(n).textAlign||"left";return(s,a)=>{let c=i("");for(c.style.textAlign=o,n.insertBefore(c,e[s]);s<a;s++)c.appendChild(e[s]);c.normalize()}},Ua=(n,e,t,r,i,o,s,a,c,u)=>{var f;let d=Array.from(n.childNodes),h=0,{wordDelimiter:l,reduceWhiteSpace:g=!0,prepareText:p}=e,y=n.getBoundingClientRect(),x=y,S=!g&&window.getComputedStyle(n).whiteSpace.substring(0,3)==="pre",k=0,C=t.collection,_,w,v,b,R,Y,z,F,M,G,U,X,j,ie,J,P,N,$;for(typeof l=="object"?(v=l.delimiter||l,w=l.replaceWith||""):w=l===""?"":l||" ",_=w!==" ";h<d.length;h++)if(b=d[h],b.nodeType===3){for(J=b.textContent||"",g?J=J.replace(nf," "):S&&(J=J.replace(/\n/g,w+`
43
- `)),p&&(J=p(J,n)),b.textContent=J,R=w||v?J.split(v||w):J.match(a)||Po,N=R[R.length-1],F=_?N.slice(-1)===" ":!N,N||R.pop(),x=y,z=_?R[0].charAt(0)===" ":!R[0],z&&Vr(" ",n,b),R[0]||R.shift(),Va(R,c),o&&u||(b.textContent=""),M=1;M<=R.length;M++)if(P=R[M-1],!g&&S&&P.charAt(0)===`
44
- `&&((f=b.previousSibling)==null||f.remove(),Vr(document.createElement("br"),n,b),P=P.slice(1)),!g&&P==="")Vr(w,n,b);else if(P===" ")n.insertBefore(document.createTextNode(" "),b);else{if(_&&P.charAt(0)===" "&&Vr(" ",n,b),k&&M===1&&!z&&C.indexOf(k.parentNode)>-1?(Y=C[C.length-1],Y.appendChild(document.createTextNode(r?"":P))):(Y=t(r?"":P),Vr(Y,n,b),k&&M===1&&!z&&Y.insertBefore(k,Y.firstChild)),r)for(U=Ba?Va([...Ba.segment(P)].map(V=>V.segment),c):P.match(a)||Po,$=0;$<U.length;$++)Y.appendChild(U[$]===" "?document.createTextNode(" "):r(U[$]));if(o&&u){if(J=b.textContent=J.substring(P.length+1,J.length),G=Y.getBoundingClientRect(),G.top>x.top&&G.left<=x.left){for(X=n.cloneNode(),j=n.childNodes[0];j&&j!==Y;)ie=j,j=j.nextSibling,X.appendChild(ie);n.parentNode.insertBefore(X,n),i&&Ha(X)}x=G}(M<R.length||F)&&Vr(M>=R.length?" ":_&&P.slice(-1)===" "?" "+w:w,n,b)}n.removeChild(b),k=0}else b.nodeType===1&&(s&&s.indexOf(b)>-1?(C.indexOf(b.previousSibling)>-1&&C[C.length-1].appendChild(b),k=b):(Ua(b,e,t,r,i,o,s,a,c,!0),k=0),i&&Ha(b))};const Ga=class zc{constructor(e,t){this.isSplit=!1,rf(),this.elements=Ya(e),this.chars=[],this.words=[],this.lines=[],this.masks=[],this.vars=t,this._split=()=>this.isSplit&&this.split(this.vars);let r=[],i,o=()=>{let s=r.length,a;for(;s--;){a=r[s];let c=a.element.offsetWidth;if(c!==a.width){a.width=c,this._split();return}}};this._data={orig:r,obs:typeof ResizeObserver<"u"&&new ResizeObserver(()=>{clearTimeout(i),i=setTimeout(o,200)})},Eo(this),this.split(t)}split(e){this.isSplit&&this.revert(),this.vars=e=e||this.vars||{};let{type:t="chars,words,lines",aria:r="auto",deepSlice:i=!0,smartWrap:o,onSplit:s,autoSplit:a=!1,specialChars:c,mask:u}=this.vars,f=t.indexOf("lines")>-1,d=t.indexOf("chars")>-1,h=t.indexOf("words")>-1,l=d&&!h&&!f,g=c&&("push"in c?new RegExp("(?:"+c.join("|")+")","gu"):c),p=g?new RegExp(g.source+"|"+Wa.source,"gu"):Wa,y=!!e.ignore&&Ya(e.ignore),{orig:x,animTime:S,obs:k}=this._data,C;return(d||h||f)&&(this.elements.forEach((_,w)=>{x[w]={element:_,html:_.innerHTML,ariaL:_.getAttribute("aria-label"),ariaH:_.getAttribute("aria-hidden")},r==="auto"?_.setAttribute("aria-label",(_.textContent||"").trim()):r==="hidden"&&_.setAttribute("aria-hidden","true");let v=[],b=[],R=[],Y=d?Ro("char",e,v):null,z=Ro("word",e,b),F,M,G,U;if(Ua(_,e,z,Y,l,i&&(f||l),y,p,g,!1),f){let X=ii(_.childNodes),j=of(_,X,e,R),ie,J=[],P=0,N=X.map(V=>V.nodeType===1?V.getBoundingClientRect():Xa),$=Xa;for(F=0;F<X.length;F++)ie=X[F],ie.nodeType===1&&(ie.nodeName==="BR"?(J.push(ie),j(P,F+1),P=F+1,$=N[P]):(F&&N[F].top>$.top&&N[F].left<=$.left&&(j(P,F),P=F),$=N[F]));P<F&&j(P,F),J.forEach(V=>{var H;return(H=V.parentNode)==null?void 0:H.removeChild(V)})}if(!h){for(F=0;F<b.length;F++)if(M=b[F],d||!M.nextSibling||M.nextSibling.nodeType!==3)if(o&&!f){for(G=document.createElement("span"),G.style.whiteSpace="nowrap";M.firstChild;)G.appendChild(M.firstChild);M.replaceWith(G)}else M.replaceWith(...M.childNodes);else U=M.nextSibling,U&&U.nodeType===3&&(U.textContent=(M.textContent||"")+(U.textContent||""),M.remove());b.length=0,_.normalize()}this.lines.push(...R),this.words.push(...b),this.chars.push(...v)}),u&&this[u]&&this.masks.push(...this[u].map(_=>{let w=_.cloneNode();return _.replaceWith(w),w.appendChild(_),_.className&&(w.className=_.className.replace(/(\b\w+\b)/g,"$1-mask")),w.style.overflow="clip",w}))),this.isSplit=!0,Xr&&(a?Xr.addEventListener("loadingdone",this._split):Xr.status==="loading"&&console.warn("SplitText called before fonts loaded")),(C=s&&s(this))&&C.totalTime&&(this._data.anim=S?C.totalTime(S):C),f&&a&&this.elements.forEach((_,w)=>{x[w].width=_.offsetWidth,k&&k.observe(_)}),this}revert(){var e,t;let{orig:r,anim:i,obs:o}=this._data;return o&&o.disconnect(),r.forEach(({element:s,html:a,ariaL:c,ariaH:u})=>{s.innerHTML=a,c?s.setAttribute("aria-label",c):s.removeAttribute("aria-label"),u?s.setAttribute("aria-hidden",u):s.removeAttribute("aria-hidden")}),this.chars.length=this.words.length=this.lines.length=r.length=this.masks.length=0,this.isSplit=!1,Xr?.removeEventListener("loadingdone",this._split),i&&(this._data.animTime=i.totalTime(),i.revert()),(t=(e=this.vars).onRevert)==null||t.call(e,this),this}static create(e,t){return new zc(e,t)}static register(e){Sn=Sn||e||window.gsap,Sn&&(ii=Sn.utils.toArray,Eo=Sn.core.context||Eo),!Co&&window.innerWidth>0&&(Xr=document.fonts,Co=!0)}};Ga.version="3.13.0";let Oo=Ga;var Le=function(){return Le=Object.assign||function(e){for(var t,r=1,i=arguments.length;r<i;r++){t=arguments[r];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},Le.apply(this,arguments)};function Hr(n,e,t){if(t||arguments.length===2)for(var r=0,i=e.length,o;r<i;r++)(o||!(r in e))&&(o||(o=Array.prototype.slice.call(e,0,r)),o[r]=e[r]);return n.concat(o||Array.prototype.slice.call(e))}typeof SuppressedError=="function"&&SuppressedError;function sf(n){var e=Object.create(null);return function(t){return e[t]===void 0&&(e[t]=n(t)),e[t]}}var af=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,lf=sf(function(n){return af.test(n)||n.charCodeAt(0)===111&&n.charCodeAt(1)===110&&n.charCodeAt(2)<91}),he="-ms-",kn="-moz-",oe="-webkit-",qa="comm",oi="rule",Mo="decl",cf="@import",Ka="@keyframes",uf="@layer",Qa=Math.abs,Ao=String.fromCharCode,Do=Object.assign;function ff(n,e){return Me(n,0)^45?(((e<<2^Me(n,0))<<2^Me(n,1))<<2^Me(n,2))<<2^Me(n,3):0}function Za(n){return n.trim()}function It(n,e){return(n=e.exec(n))?n[0]:n}function K(n,e,t){return n.replace(e,t)}function si(n,e,t){return n.indexOf(e,t)}function Me(n,e){return n.charCodeAt(e)|0}function Ur(n,e,t){return n.slice(e,t)}function Pt(n){return n.length}function Ja(n){return n.length}function Cn(n,e){return e.push(n),n}function df(n,e){return n.map(e).join("")}function el(n,e){return n.filter(function(t){return!It(t,e)})}var ai=1,Gr=1,tl=0,lt=0,Ce=0,qr="";function li(n,e,t,r,i,o,s,a){return{value:n,root:e,parent:t,type:r,props:i,children:o,line:ai,column:Gr,length:s,return:"",siblings:a}}function Zt(n,e){return Do(li("",null,null,"",null,null,0,n.siblings),n,{length:-n.length},e)}function Kr(n){for(;n.root;)n=Zt(n.root,{children:[n]});Cn(n,n.siblings)}function hf(){return Ce}function pf(){return Ce=lt>0?Me(qr,--lt):0,Gr--,Ce===10&&(Gr=1,ai--),Ce}function gt(){return Ce=lt<tl?Me(qr,lt++):0,Gr++,Ce===10&&(Gr=1,ai++),Ce}function gr(){return Me(qr,lt)}function ci(){return lt}function ui(n,e){return Ur(qr,n,e)}function No(n){switch(n){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function gf(n){return ai=Gr=1,tl=Pt(qr=n),lt=0,[]}function mf(n){return qr="",n}function $o(n){return Za(ui(lt-1,Io(n===91?n+2:n===40?n+1:n)))}function _f(n){for(;(Ce=gr())&&Ce<33;)gt();return No(n)>2||No(Ce)>3?"":" "}function yf(n,e){for(;--e&&gt()&&!(Ce<48||Ce>102||Ce>57&&Ce<65||Ce>70&&Ce<97););return ui(n,ci()+(e<6&&gr()==32&&gt()==32))}function Io(n){for(;gt();)switch(Ce){case n:return lt;case 34:case 39:n!==34&&n!==39&&Io(Ce);break;case 40:n===41&&Io(n);break;case 92:gt();break}return lt}function xf(n,e){for(;gt()&&n+Ce!==57;)if(n+Ce===84&&gr()===47)break;return"/*"+ui(e,lt-1)+"*"+Ao(n===47?n:gt())}function vf(n){for(;!No(gr());)gt();return ui(n,lt)}function wf(n){return mf(fi("",null,null,null,[""],n=gf(n),0,[0],n))}function fi(n,e,t,r,i,o,s,a,c){for(var u=0,f=0,d=s,h=0,l=0,g=0,p=1,y=1,x=1,S=0,k="",C=i,_=o,w=r,v=k;y;)switch(g=S,S=gt()){case 40:if(g!=108&&Me(v,d-1)==58){si(v+=K($o(S),"&","&\f"),"&\f",Qa(u?a[u-1]:0))!=-1&&(x=-1);break}case 34:case 39:case 91:v+=$o(S);break;case 9:case 10:case 13:case 32:v+=_f(g);break;case 92:v+=yf(ci()-1,7);continue;case 47:switch(gr()){case 42:case 47:Cn(bf(xf(gt(),ci()),e,t,c),c);break;default:v+="/"}break;case 123*p:a[u++]=Pt(v)*x;case 125*p:case 59:case 0:switch(S){case 0:case 125:y=0;case 59+f:x==-1&&(v=K(v,/\f/g,"")),l>0&&Pt(v)-d&&Cn(l>32?nl(v+";",r,t,d-1,c):nl(K(v," ","")+";",r,t,d-2,c),c);break;case 59:v+=";";default:if(Cn(w=rl(v,e,t,u,f,i,a,k,C=[],_=[],d,o),o),S===123)if(f===0)fi(v,e,w,w,C,o,d,a,_);else switch(h===99&&Me(v,3)===110?100:h){case 100:case 108:case 109:case 115:fi(n,w,w,r&&Cn(rl(n,w,w,0,0,i,a,k,i,C=[],d,_),_),i,_,d,a,r?C:_);break;default:fi(v,w,w,w,[""],_,0,a,_)}}u=f=l=0,p=x=1,k=v="",d=s;break;case 58:d=1+Pt(v),l=g;default:if(p<1){if(S==123)--p;else if(S==125&&p++==0&&pf()==125)continue}switch(v+=Ao(S),S*p){case 38:x=f>0?1:(v+="\f",-1);break;case 44:a[u++]=(Pt(v)-1)*x,x=1;break;case 64:gr()===45&&(v+=$o(gt())),h=gr(),f=d=Pt(k=v+=vf(ci())),S++;break;case 45:g===45&&Pt(v)==2&&(p=0)}}return o}function rl(n,e,t,r,i,o,s,a,c,u,f,d){for(var h=i-1,l=i===0?o:[""],g=Ja(l),p=0,y=0,x=0;p<r;++p)for(var S=0,k=Ur(n,h+1,h=Qa(y=s[p])),C=n;S<g;++S)(C=Za(y>0?l[S]+" "+k:K(k,/&\f/g,l[S])))&&(c[x++]=C);return li(n,e,t,i===0?oi:a,c,u,f,d)}function bf(n,e,t,r){return li(n,e,t,qa,Ao(hf()),Ur(n,2,-2),0,r)}function nl(n,e,t,r,i){return li(n,e,t,Mo,Ur(n,0,r),Ur(n,r+1,-1),r,i)}function il(n,e,t){switch(ff(n,e)){case 5103:return oe+"print-"+n+n;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return oe+n+n;case 4789:return kn+n+n;case 5349:case 4246:case 4810:case 6968:case 2756:return oe+n+kn+n+he+n+n;case 5936:switch(Me(n,e+11)){case 114:return oe+n+he+K(n,/[svh]\w+-[tblr]{2}/,"tb")+n;case 108:return oe+n+he+K(n,/[svh]\w+-[tblr]{2}/,"tb-rl")+n;case 45:return oe+n+he+K(n,/[svh]\w+-[tblr]{2}/,"lr")+n}case 6828:case 4268:case 2903:return oe+n+he+n+n;case 6165:return oe+n+he+"flex-"+n+n;case 5187:return oe+n+K(n,/(\w+).+(:[^]+)/,oe+"box-$1$2"+he+"flex-$1$2")+n;case 5443:return oe+n+he+"flex-item-"+K(n,/flex-|-self/g,"")+(It(n,/flex-|baseline/)?"":he+"grid-row-"+K(n,/flex-|-self/g,""))+n;case 4675:return oe+n+he+"flex-line-pack"+K(n,/align-content|flex-|-self/g,"")+n;case 5548:return oe+n+he+K(n,"shrink","negative")+n;case 5292:return oe+n+he+K(n,"basis","preferred-size")+n;case 6060:return oe+"box-"+K(n,"-grow","")+oe+n+he+K(n,"grow","positive")+n;case 4554:return oe+K(n,/([^-])(transform)/g,"$1"+oe+"$2")+n;case 6187:return K(K(K(n,/(zoom-|grab)/,oe+"$1"),/(image-set)/,oe+"$1"),n,"")+n;case 5495:case 3959:return K(n,/(image-set\([^]*)/,oe+"$1$`$1");case 4968:return K(K(n,/(.+:)(flex-)?(.*)/,oe+"box-pack:$3"+he+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+oe+n+n;case 4200:if(!It(n,/flex-|baseline/))return he+"grid-column-align"+Ur(n,e)+n;break;case 2592:case 3360:return he+K(n,"template-","")+n;case 4384:case 3616:return t&&t.some(function(r,i){return e=i,It(r.props,/grid-\w+-end/)})?~si(n+(t=t[e].value),"span",0)?n:he+K(n,"-start","")+n+he+"grid-row-span:"+(~si(t,"span",0)?It(t,/\d+/):+It(t,/\d+/)-+It(n,/\d+/))+";":he+K(n,"-start","")+n;case 4896:case 4128:return t&&t.some(function(r){return It(r.props,/grid-\w+-start/)})?n:he+K(K(n,"-end","-span"),"span ","")+n;case 4095:case 3583:case 4068:case 2532:return K(n,/(.+)-inline(.+)/,oe+"$1$2")+n;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Pt(n)-1-e>6)switch(Me(n,e+1)){case 109:if(Me(n,e+4)!==45)break;case 102:return K(n,/(.+:)(.+)-([^]+)/,"$1"+oe+"$2-$3$1"+kn+(Me(n,e+3)==108?"$3":"$2-$3"))+n;case 115:return~si(n,"stretch",0)?il(K(n,"stretch","fill-available"),e,t)+n:n}break;case 5152:case 5920:return K(n,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(r,i,o,s,a,c,u){return he+i+":"+o+u+(s?he+i+"-span:"+(a?c:+c-+o)+u:"")+n});case 4949:if(Me(n,e+6)===121)return K(n,":",":"+oe)+n;break;case 6444:switch(Me(n,Me(n,14)===45?18:11)){case 120:return K(n,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+oe+(Me(n,14)===45?"inline-":"")+"box$3$1"+oe+"$2$3$1"+he+"$2box$3")+n;case 100:return K(n,":",":"+he)+n}break;case 5719:case 2647:case 2135:case 3927:case 2391:return K(n,"scroll-","scroll-snap-")+n}return n}function di(n,e){for(var t="",r=0;r<n.length;r++)t+=e(n[r],r,n,e)||"";return t}function Tf(n,e,t,r){switch(n.type){case uf:if(n.children.length)break;case cf:case Mo:return n.return=n.return||n.value;case qa:return"";case Ka:return n.return=n.value+"{"+di(n.children,r)+"}";case oi:if(!Pt(n.value=n.props.join(",")))return""}return Pt(t=di(n.children,r))?n.return=n.value+"{"+t+"}":""}function Sf(n){var e=Ja(n);return function(t,r,i,o){for(var s="",a=0;a<e;a++)s+=n[a](t,r,i,o)||"";return s}}function kf(n){return function(e){e.root||(e=e.return)&&n(e)}}function Cf(n,e,t,r){if(n.length>-1&&!n.return)switch(n.type){case Mo:n.return=il(n.value,n.length,t);return;case Ka:return di([Zt(n,{value:K(n.value,"@","@"+oe)})],r);case oi:if(n.length)return df(t=n.props,function(i){switch(It(i,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":Kr(Zt(n,{props:[K(i,/:(read-\w+)/,":"+kn+"$1")]})),Kr(Zt(n,{props:[i]})),Do(n,{props:el(t,r)});break;case"::placeholder":Kr(Zt(n,{props:[K(i,/:(plac\w+)/,":"+oe+"input-$1")]})),Kr(Zt(n,{props:[K(i,/:(plac\w+)/,":"+kn+"$1")]})),Kr(Zt(n,{props:[K(i,/:(plac\w+)/,he+"input-$1")]})),Kr(Zt(n,{props:[i]})),Do(n,{props:el(t,r)});break}return""})}}var Pf={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},mr=typeof process<"u"&&process.env!==void 0&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",ol="active",sl="data-styled-version",hi="6.1.19",zo=`/*!sc*/
42
+ */let Sn,Xr,Co,rf=()=>Co||Oo.register(window.gsap),Ba=typeof Intl<"u"?new Intl.Segmenter:0,ii=n=>typeof n=="string"?ii(document.querySelectorAll(n)):"length"in n?Array.from(n):[n],Ya=n=>ii(n).filter(e=>e instanceof HTMLElement),Po=[],Eo=function(){},nf=/\s+/g,Wa=new RegExp("\\p{RI}\\p{RI}|\\p{Emoji}(\\p{EMod}|\\u{FE0F}\\u{20E3}?|[\\u{E0020}-\\u{E007E}]+\\u{E007F})?(\\u{200D}\\p{Emoji}(\\p{EMod}|\\u{FE0F}\\u{20E3}?|[\\u{E0020}-\\u{E007E}]+\\u{E007F})?)*|.","gu"),Xa={left:0,top:0,width:0,height:0},Va=(n,e)=>{if(e){let t=new Set(n.join("").match(e)||Po),r=n.length,i,o,s,a;if(t.size)for(;--r>-1;){o=n[r];for(s of t)if(s.startsWith(o)&&s.length>o.length){for(i=0,a=o;s.startsWith(a+=n[r+ ++i])&&a.length<s.length;);if(i&&a.length===s.length){n[r]=s,n.splice(r+1,i);break}}}}return n},Ha=n=>window.getComputedStyle(n).display==="inline"&&(n.style.display="inline-block"),Vr=(n,e,t)=>e.insertBefore(typeof n=="string"?document.createTextNode(n):n,t),Ro=(n,e,t)=>{let r=e[n+"sClass"]||"",{tag:i="div",aria:o="auto",propIndex:s=!1}=e,a=n==="line"?"block":"inline-block",c=r.indexOf("++")>-1,u=f=>{let d=document.createElement(i),h=t.length+1;return r&&(d.className=r+(c?" "+r+h:"")),s&&d.style.setProperty("--"+n,h+""),o!=="none"&&d.setAttribute("aria-hidden","true"),i!=="span"&&(d.style.position="relative",d.style.display=a),d.textContent=f,t.push(d),d};return c&&(r=r.replace("++","")),u.collection=t,u},of=(n,e,t,r)=>{let i=Ro("line",t,r),o=window.getComputedStyle(n).textAlign||"left";return(s,a)=>{let c=i("");for(c.style.textAlign=o,n.insertBefore(c,e[s]);s<a;s++)c.appendChild(e[s]);c.normalize()}},Ua=(n,e,t,r,i,o,s,a,c,u)=>{var f;let d=Array.from(n.childNodes),h=0,{wordDelimiter:l,reduceWhiteSpace:g=!0,prepareText:p}=e,y=n.getBoundingClientRect(),x=y,S=!g&&window.getComputedStyle(n).whiteSpace.substring(0,3)==="pre",k=0,C=t.collection,_,w,v,b,R,Y,z,F,M,G,U,X,j,ie,J,P,$,N;for(typeof l=="object"?(v=l.delimiter||l,w=l.replaceWith||""):w=l===""?"":l||" ",_=w!==" ";h<d.length;h++)if(b=d[h],b.nodeType===3){for(J=b.textContent||"",g?J=J.replace(nf," "):S&&(J=J.replace(/\n/g,w+`
43
+ `)),p&&(J=p(J,n)),b.textContent=J,R=w||v?J.split(v||w):J.match(a)||Po,$=R[R.length-1],F=_?$.slice(-1)===" ":!$,$||R.pop(),x=y,z=_?R[0].charAt(0)===" ":!R[0],z&&Vr(" ",n,b),R[0]||R.shift(),Va(R,c),o&&u||(b.textContent=""),M=1;M<=R.length;M++)if(P=R[M-1],!g&&S&&P.charAt(0)===`
44
+ `&&((f=b.previousSibling)==null||f.remove(),Vr(document.createElement("br"),n,b),P=P.slice(1)),!g&&P==="")Vr(w,n,b);else if(P===" ")n.insertBefore(document.createTextNode(" "),b);else{if(_&&P.charAt(0)===" "&&Vr(" ",n,b),k&&M===1&&!z&&C.indexOf(k.parentNode)>-1?(Y=C[C.length-1],Y.appendChild(document.createTextNode(r?"":P))):(Y=t(r?"":P),Vr(Y,n,b),k&&M===1&&!z&&Y.insertBefore(k,Y.firstChild)),r)for(U=Ba?Va([...Ba.segment(P)].map(V=>V.segment),c):P.match(a)||Po,N=0;N<U.length;N++)Y.appendChild(U[N]===" "?document.createTextNode(" "):r(U[N]));if(o&&u){if(J=b.textContent=J.substring(P.length+1,J.length),G=Y.getBoundingClientRect(),G.top>x.top&&G.left<=x.left){for(X=n.cloneNode(),j=n.childNodes[0];j&&j!==Y;)ie=j,j=j.nextSibling,X.appendChild(ie);n.parentNode.insertBefore(X,n),i&&Ha(X)}x=G}(M<R.length||F)&&Vr(M>=R.length?" ":_&&P.slice(-1)===" "?" "+w:w,n,b)}n.removeChild(b),k=0}else b.nodeType===1&&(s&&s.indexOf(b)>-1?(C.indexOf(b.previousSibling)>-1&&C[C.length-1].appendChild(b),k=b):(Ua(b,e,t,r,i,o,s,a,c,!0),k=0),i&&Ha(b))};const Ga=class zc{constructor(e,t){this.isSplit=!1,rf(),this.elements=Ya(e),this.chars=[],this.words=[],this.lines=[],this.masks=[],this.vars=t,this._split=()=>this.isSplit&&this.split(this.vars);let r=[],i,o=()=>{let s=r.length,a;for(;s--;){a=r[s];let c=a.element.offsetWidth;if(c!==a.width){a.width=c,this._split();return}}};this._data={orig:r,obs:typeof ResizeObserver<"u"&&new ResizeObserver(()=>{clearTimeout(i),i=setTimeout(o,200)})},Eo(this),this.split(t)}split(e){this.isSplit&&this.revert(),this.vars=e=e||this.vars||{};let{type:t="chars,words,lines",aria:r="auto",deepSlice:i=!0,smartWrap:o,onSplit:s,autoSplit:a=!1,specialChars:c,mask:u}=this.vars,f=t.indexOf("lines")>-1,d=t.indexOf("chars")>-1,h=t.indexOf("words")>-1,l=d&&!h&&!f,g=c&&("push"in c?new RegExp("(?:"+c.join("|")+")","gu"):c),p=g?new RegExp(g.source+"|"+Wa.source,"gu"):Wa,y=!!e.ignore&&Ya(e.ignore),{orig:x,animTime:S,obs:k}=this._data,C;return(d||h||f)&&(this.elements.forEach((_,w)=>{x[w]={element:_,html:_.innerHTML,ariaL:_.getAttribute("aria-label"),ariaH:_.getAttribute("aria-hidden")},r==="auto"?_.setAttribute("aria-label",(_.textContent||"").trim()):r==="hidden"&&_.setAttribute("aria-hidden","true");let v=[],b=[],R=[],Y=d?Ro("char",e,v):null,z=Ro("word",e,b),F,M,G,U;if(Ua(_,e,z,Y,l,i&&(f||l),y,p,g,!1),f){let X=ii(_.childNodes),j=of(_,X,e,R),ie,J=[],P=0,$=X.map(V=>V.nodeType===1?V.getBoundingClientRect():Xa),N=Xa;for(F=0;F<X.length;F++)ie=X[F],ie.nodeType===1&&(ie.nodeName==="BR"?(J.push(ie),j(P,F+1),P=F+1,N=$[P]):(F&&$[F].top>N.top&&$[F].left<=N.left&&(j(P,F),P=F),N=$[F]));P<F&&j(P,F),J.forEach(V=>{var H;return(H=V.parentNode)==null?void 0:H.removeChild(V)})}if(!h){for(F=0;F<b.length;F++)if(M=b[F],d||!M.nextSibling||M.nextSibling.nodeType!==3)if(o&&!f){for(G=document.createElement("span"),G.style.whiteSpace="nowrap";M.firstChild;)G.appendChild(M.firstChild);M.replaceWith(G)}else M.replaceWith(...M.childNodes);else U=M.nextSibling,U&&U.nodeType===3&&(U.textContent=(M.textContent||"")+(U.textContent||""),M.remove());b.length=0,_.normalize()}this.lines.push(...R),this.words.push(...b),this.chars.push(...v)}),u&&this[u]&&this.masks.push(...this[u].map(_=>{let w=_.cloneNode();return _.replaceWith(w),w.appendChild(_),_.className&&(w.className=_.className.replace(/(\b\w+\b)/g,"$1-mask")),w.style.overflow="clip",w}))),this.isSplit=!0,Xr&&(a?Xr.addEventListener("loadingdone",this._split):Xr.status==="loading"&&console.warn("SplitText called before fonts loaded")),(C=s&&s(this))&&C.totalTime&&(this._data.anim=S?C.totalTime(S):C),f&&a&&this.elements.forEach((_,w)=>{x[w].width=_.offsetWidth,k&&k.observe(_)}),this}revert(){var e,t;let{orig:r,anim:i,obs:o}=this._data;return o&&o.disconnect(),r.forEach(({element:s,html:a,ariaL:c,ariaH:u})=>{s.innerHTML=a,c?s.setAttribute("aria-label",c):s.removeAttribute("aria-label"),u?s.setAttribute("aria-hidden",u):s.removeAttribute("aria-hidden")}),this.chars.length=this.words.length=this.lines.length=r.length=this.masks.length=0,this.isSplit=!1,Xr?.removeEventListener("loadingdone",this._split),i&&(this._data.animTime=i.totalTime(),i.revert()),(t=(e=this.vars).onRevert)==null||t.call(e,this),this}static create(e,t){return new zc(e,t)}static register(e){Sn=Sn||e||window.gsap,Sn&&(ii=Sn.utils.toArray,Eo=Sn.core.context||Eo),!Co&&window.innerWidth>0&&(Xr=document.fonts,Co=!0)}};Ga.version="3.13.0";let Oo=Ga;var Le=function(){return Le=Object.assign||function(e){for(var t,r=1,i=arguments.length;r<i;r++){t=arguments[r];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},Le.apply(this,arguments)};function Hr(n,e,t){if(t||arguments.length===2)for(var r=0,i=e.length,o;r<i;r++)(o||!(r in e))&&(o||(o=Array.prototype.slice.call(e,0,r)),o[r]=e[r]);return n.concat(o||Array.prototype.slice.call(e))}typeof SuppressedError=="function"&&SuppressedError;function sf(n){var e=Object.create(null);return function(t){return e[t]===void 0&&(e[t]=n(t)),e[t]}}var af=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,lf=sf(function(n){return af.test(n)||n.charCodeAt(0)===111&&n.charCodeAt(1)===110&&n.charCodeAt(2)<91}),he="-ms-",kn="-moz-",oe="-webkit-",qa="comm",oi="rule",Mo="decl",cf="@import",Ka="@keyframes",uf="@layer",Qa=Math.abs,Ao=String.fromCharCode,Do=Object.assign;function ff(n,e){return Me(n,0)^45?(((e<<2^Me(n,0))<<2^Me(n,1))<<2^Me(n,2))<<2^Me(n,3):0}function Za(n){return n.trim()}function It(n,e){return(n=e.exec(n))?n[0]:n}function K(n,e,t){return n.replace(e,t)}function si(n,e,t){return n.indexOf(e,t)}function Me(n,e){return n.charCodeAt(e)|0}function Ur(n,e,t){return n.slice(e,t)}function Pt(n){return n.length}function Ja(n){return n.length}function Cn(n,e){return e.push(n),n}function df(n,e){return n.map(e).join("")}function el(n,e){return n.filter(function(t){return!It(t,e)})}var ai=1,Gr=1,tl=0,lt=0,Ce=0,qr="";function li(n,e,t,r,i,o,s,a){return{value:n,root:e,parent:t,type:r,props:i,children:o,line:ai,column:Gr,length:s,return:"",siblings:a}}function Zt(n,e){return Do(li("",null,null,"",null,null,0,n.siblings),n,{length:-n.length},e)}function Kr(n){for(;n.root;)n=Zt(n.root,{children:[n]});Cn(n,n.siblings)}function hf(){return Ce}function pf(){return Ce=lt>0?Me(qr,--lt):0,Gr--,Ce===10&&(Gr=1,ai--),Ce}function gt(){return Ce=lt<tl?Me(qr,lt++):0,Gr++,Ce===10&&(Gr=1,ai++),Ce}function gr(){return Me(qr,lt)}function ci(){return lt}function ui(n,e){return Ur(qr,n,e)}function $o(n){switch(n){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function gf(n){return ai=Gr=1,tl=Pt(qr=n),lt=0,[]}function mf(n){return qr="",n}function No(n){return Za(ui(lt-1,Io(n===91?n+2:n===40?n+1:n)))}function _f(n){for(;(Ce=gr())&&Ce<33;)gt();return $o(n)>2||$o(Ce)>3?"":" "}function yf(n,e){for(;--e&&gt()&&!(Ce<48||Ce>102||Ce>57&&Ce<65||Ce>70&&Ce<97););return ui(n,ci()+(e<6&&gr()==32&&gt()==32))}function Io(n){for(;gt();)switch(Ce){case n:return lt;case 34:case 39:n!==34&&n!==39&&Io(Ce);break;case 40:n===41&&Io(n);break;case 92:gt();break}return lt}function xf(n,e){for(;gt()&&n+Ce!==57;)if(n+Ce===84&&gr()===47)break;return"/*"+ui(e,lt-1)+"*"+Ao(n===47?n:gt())}function vf(n){for(;!$o(gr());)gt();return ui(n,lt)}function wf(n){return mf(fi("",null,null,null,[""],n=gf(n),0,[0],n))}function fi(n,e,t,r,i,o,s,a,c){for(var u=0,f=0,d=s,h=0,l=0,g=0,p=1,y=1,x=1,S=0,k="",C=i,_=o,w=r,v=k;y;)switch(g=S,S=gt()){case 40:if(g!=108&&Me(v,d-1)==58){si(v+=K(No(S),"&","&\f"),"&\f",Qa(u?a[u-1]:0))!=-1&&(x=-1);break}case 34:case 39:case 91:v+=No(S);break;case 9:case 10:case 13:case 32:v+=_f(g);break;case 92:v+=yf(ci()-1,7);continue;case 47:switch(gr()){case 42:case 47:Cn(bf(xf(gt(),ci()),e,t,c),c);break;default:v+="/"}break;case 123*p:a[u++]=Pt(v)*x;case 125*p:case 59:case 0:switch(S){case 0:case 125:y=0;case 59+f:x==-1&&(v=K(v,/\f/g,"")),l>0&&Pt(v)-d&&Cn(l>32?nl(v+";",r,t,d-1,c):nl(K(v," ","")+";",r,t,d-2,c),c);break;case 59:v+=";";default:if(Cn(w=rl(v,e,t,u,f,i,a,k,C=[],_=[],d,o),o),S===123)if(f===0)fi(v,e,w,w,C,o,d,a,_);else switch(h===99&&Me(v,3)===110?100:h){case 100:case 108:case 109:case 115:fi(n,w,w,r&&Cn(rl(n,w,w,0,0,i,a,k,i,C=[],d,_),_),i,_,d,a,r?C:_);break;default:fi(v,w,w,w,[""],_,0,a,_)}}u=f=l=0,p=x=1,k=v="",d=s;break;case 58:d=1+Pt(v),l=g;default:if(p<1){if(S==123)--p;else if(S==125&&p++==0&&pf()==125)continue}switch(v+=Ao(S),S*p){case 38:x=f>0?1:(v+="\f",-1);break;case 44:a[u++]=(Pt(v)-1)*x,x=1;break;case 64:gr()===45&&(v+=No(gt())),h=gr(),f=d=Pt(k=v+=vf(ci())),S++;break;case 45:g===45&&Pt(v)==2&&(p=0)}}return o}function rl(n,e,t,r,i,o,s,a,c,u,f,d){for(var h=i-1,l=i===0?o:[""],g=Ja(l),p=0,y=0,x=0;p<r;++p)for(var S=0,k=Ur(n,h+1,h=Qa(y=s[p])),C=n;S<g;++S)(C=Za(y>0?l[S]+" "+k:K(k,/&\f/g,l[S])))&&(c[x++]=C);return li(n,e,t,i===0?oi:a,c,u,f,d)}function bf(n,e,t,r){return li(n,e,t,qa,Ao(hf()),Ur(n,2,-2),0,r)}function nl(n,e,t,r,i){return li(n,e,t,Mo,Ur(n,0,r),Ur(n,r+1,-1),r,i)}function il(n,e,t){switch(ff(n,e)){case 5103:return oe+"print-"+n+n;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return oe+n+n;case 4789:return kn+n+n;case 5349:case 4246:case 4810:case 6968:case 2756:return oe+n+kn+n+he+n+n;case 5936:switch(Me(n,e+11)){case 114:return oe+n+he+K(n,/[svh]\w+-[tblr]{2}/,"tb")+n;case 108:return oe+n+he+K(n,/[svh]\w+-[tblr]{2}/,"tb-rl")+n;case 45:return oe+n+he+K(n,/[svh]\w+-[tblr]{2}/,"lr")+n}case 6828:case 4268:case 2903:return oe+n+he+n+n;case 6165:return oe+n+he+"flex-"+n+n;case 5187:return oe+n+K(n,/(\w+).+(:[^]+)/,oe+"box-$1$2"+he+"flex-$1$2")+n;case 5443:return oe+n+he+"flex-item-"+K(n,/flex-|-self/g,"")+(It(n,/flex-|baseline/)?"":he+"grid-row-"+K(n,/flex-|-self/g,""))+n;case 4675:return oe+n+he+"flex-line-pack"+K(n,/align-content|flex-|-self/g,"")+n;case 5548:return oe+n+he+K(n,"shrink","negative")+n;case 5292:return oe+n+he+K(n,"basis","preferred-size")+n;case 6060:return oe+"box-"+K(n,"-grow","")+oe+n+he+K(n,"grow","positive")+n;case 4554:return oe+K(n,/([^-])(transform)/g,"$1"+oe+"$2")+n;case 6187:return K(K(K(n,/(zoom-|grab)/,oe+"$1"),/(image-set)/,oe+"$1"),n,"")+n;case 5495:case 3959:return K(n,/(image-set\([^]*)/,oe+"$1$`$1");case 4968:return K(K(n,/(.+:)(flex-)?(.*)/,oe+"box-pack:$3"+he+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+oe+n+n;case 4200:if(!It(n,/flex-|baseline/))return he+"grid-column-align"+Ur(n,e)+n;break;case 2592:case 3360:return he+K(n,"template-","")+n;case 4384:case 3616:return t&&t.some(function(r,i){return e=i,It(r.props,/grid-\w+-end/)})?~si(n+(t=t[e].value),"span",0)?n:he+K(n,"-start","")+n+he+"grid-row-span:"+(~si(t,"span",0)?It(t,/\d+/):+It(t,/\d+/)-+It(n,/\d+/))+";":he+K(n,"-start","")+n;case 4896:case 4128:return t&&t.some(function(r){return It(r.props,/grid-\w+-start/)})?n:he+K(K(n,"-end","-span"),"span ","")+n;case 4095:case 3583:case 4068:case 2532:return K(n,/(.+)-inline(.+)/,oe+"$1$2")+n;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Pt(n)-1-e>6)switch(Me(n,e+1)){case 109:if(Me(n,e+4)!==45)break;case 102:return K(n,/(.+:)(.+)-([^]+)/,"$1"+oe+"$2-$3$1"+kn+(Me(n,e+3)==108?"$3":"$2-$3"))+n;case 115:return~si(n,"stretch",0)?il(K(n,"stretch","fill-available"),e,t)+n:n}break;case 5152:case 5920:return K(n,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(r,i,o,s,a,c,u){return he+i+":"+o+u+(s?he+i+"-span:"+(a?c:+c-+o)+u:"")+n});case 4949:if(Me(n,e+6)===121)return K(n,":",":"+oe)+n;break;case 6444:switch(Me(n,Me(n,14)===45?18:11)){case 120:return K(n,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+oe+(Me(n,14)===45?"inline-":"")+"box$3$1"+oe+"$2$3$1"+he+"$2box$3")+n;case 100:return K(n,":",":"+he)+n}break;case 5719:case 2647:case 2135:case 3927:case 2391:return K(n,"scroll-","scroll-snap-")+n}return n}function di(n,e){for(var t="",r=0;r<n.length;r++)t+=e(n[r],r,n,e)||"";return t}function Tf(n,e,t,r){switch(n.type){case uf:if(n.children.length)break;case cf:case Mo:return n.return=n.return||n.value;case qa:return"";case Ka:return n.return=n.value+"{"+di(n.children,r)+"}";case oi:if(!Pt(n.value=n.props.join(",")))return""}return Pt(t=di(n.children,r))?n.return=n.value+"{"+t+"}":""}function Sf(n){var e=Ja(n);return function(t,r,i,o){for(var s="",a=0;a<e;a++)s+=n[a](t,r,i,o)||"";return s}}function kf(n){return function(e){e.root||(e=e.return)&&n(e)}}function Cf(n,e,t,r){if(n.length>-1&&!n.return)switch(n.type){case Mo:n.return=il(n.value,n.length,t);return;case Ka:return di([Zt(n,{value:K(n.value,"@","@"+oe)})],r);case oi:if(n.length)return df(t=n.props,function(i){switch(It(i,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":Kr(Zt(n,{props:[K(i,/:(read-\w+)/,":"+kn+"$1")]})),Kr(Zt(n,{props:[i]})),Do(n,{props:el(t,r)});break;case"::placeholder":Kr(Zt(n,{props:[K(i,/:(plac\w+)/,":"+oe+"input-$1")]})),Kr(Zt(n,{props:[K(i,/:(plac\w+)/,":"+kn+"$1")]})),Kr(Zt(n,{props:[K(i,/:(plac\w+)/,he+"input-$1")]})),Kr(Zt(n,{props:[i]})),Do(n,{props:el(t,r)});break}return""})}}var Pf={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},mr=typeof process<"u"&&process.env!==void 0&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",ol="active",sl="data-styled-version",hi="6.1.19",zo=`/*!sc*/
45
45
  `,pi=typeof window<"u"&&typeof document<"u",Ef=!!(typeof SC_DISABLE_SPEEDY=="boolean"?SC_DISABLE_SPEEDY:typeof process<"u"&&process.env!==void 0&&process.env.REACT_APP_SC_DISABLE_SPEEDY!==void 0&&process.env.REACT_APP_SC_DISABLE_SPEEDY!==""?process.env.REACT_APP_SC_DISABLE_SPEEDY!=="false"&&process.env.REACT_APP_SC_DISABLE_SPEEDY:typeof process<"u"&&process.env!==void 0&&process.env.SC_DISABLE_SPEEDY!==void 0&&process.env.SC_DISABLE_SPEEDY!==""?process.env.SC_DISABLE_SPEEDY!=="false"&&process.env.SC_DISABLE_SPEEDY:process.env.NODE_ENV!=="production"),al=/invalid hook call/i,gi=new Set,Rf=function(n,e){if(process.env.NODE_ENV!=="production"){var t=e?' with the id of "'.concat(e,'"'):"",r="The component ".concat(n).concat(t,` has been created dynamically.
46
46
  `)+`You may see this warning because you've called styled inside another component.
47
47
  To resolve this only create new StyledComponents outside of any render method and function component.
48
48
  See https://styled-components.com/docs/basics#define-styled-components-outside-of-the-render-method for more info.
49
- `,i=console.error;try{var o=!0;console.error=function(s){for(var a=[],c=1;c<arguments.length;c++)a[c-1]=arguments[c];al.test(s)?(o=!1,gi.delete(r)):i.apply(void 0,Hr([s],a,!1))},E.useRef(),o&&!gi.has(r)&&(console.warn(r),gi.add(r))}catch(s){al.test(s.message)&&gi.delete(r)}finally{console.error=i}}},mi=Object.freeze([]),Qr=Object.freeze({});function Of(n,e,t){return t===void 0&&(t=Qr),n.theme!==t.theme&&n.theme||e||t.theme}var Lo=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),Mf=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,Af=/(^-|-$)/g;function ll(n){return n.replace(Mf,"-").replace(Af,"")}var Df=/(a)(d)/gi,_i=52,cl=function(n){return String.fromCharCode(n+(n>25?39:97))};function Fo(n){var e,t="";for(e=Math.abs(n);e>_i;e=e/_i|0)t=cl(e%_i)+t;return(cl(e%_i)+t).replace(Df,"$1-$2")}var jo,ul=5381,_r=function(n,e){for(var t=e.length;t;)n=33*n^e.charCodeAt(--t);return n},fl=function(n){return _r(ul,n)};function Nf(n){return Fo(fl(n)>>>0)}function dl(n){return process.env.NODE_ENV!=="production"&&typeof n=="string"&&n||n.displayName||n.name||"Component"}function Bo(n){return typeof n=="string"&&(process.env.NODE_ENV==="production"||n.charAt(0)===n.charAt(0).toLowerCase())}var hl=typeof Symbol=="function"&&Symbol.for,pl=hl?Symbol.for("react.memo"):60115,$f=hl?Symbol.for("react.forward_ref"):60112,If={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},zf={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},gl={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Lf=((jo={})[$f]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},jo[pl]=gl,jo);function ml(n){return("type"in(e=n)&&e.type.$$typeof)===pl?gl:"$$typeof"in n?Lf[n.$$typeof]:If;var e}var Ff=Object.defineProperty,jf=Object.getOwnPropertyNames,_l=Object.getOwnPropertySymbols,Bf=Object.getOwnPropertyDescriptor,Yf=Object.getPrototypeOf,yl=Object.prototype;function xl(n,e,t){if(typeof e!="string"){if(yl){var r=Yf(e);r&&r!==yl&&xl(n,r,t)}var i=jf(e);_l&&(i=i.concat(_l(e)));for(var o=ml(n),s=ml(e),a=0;a<i.length;++a){var c=i[a];if(!(c in zf||t&&t[c]||s&&c in s||o&&c in o)){var u=Bf(e,c);try{Ff(n,c,u)}catch{}}}}return n}function yr(n){return typeof n=="function"}function Yo(n){return typeof n=="object"&&"styledComponentId"in n}function xr(n,e){return n&&e?"".concat(n," ").concat(e):n||e||""}function vl(n,e){if(n.length===0)return"";for(var t=n[0],r=1;r<n.length;r++)t+=n[r];return t}function Zr(n){return n!==null&&typeof n=="object"&&n.constructor.name===Object.name&&!("props"in n&&n.$$typeof)}function Wo(n,e,t){if(t===void 0&&(t=!1),!t&&!Zr(n)&&!Array.isArray(n))return e;if(Array.isArray(e))for(var r=0;r<e.length;r++)n[r]=Wo(n[r],e[r]);else if(Zr(e))for(var r in e)n[r]=Wo(n[r],e[r]);return n}function Xo(n,e){Object.defineProperty(n,"toString",{value:e})}var Wf=process.env.NODE_ENV!=="production"?{1:`Cannot create styled-component for component: %s.
49
+ `,i=console.error;try{var o=!0;console.error=function(s){for(var a=[],c=1;c<arguments.length;c++)a[c-1]=arguments[c];al.test(s)?(o=!1,gi.delete(r)):i.apply(void 0,Hr([s],a,!1))},E.useRef(),o&&!gi.has(r)&&(console.warn(r),gi.add(r))}catch(s){al.test(s.message)&&gi.delete(r)}finally{console.error=i}}},mi=Object.freeze([]),Qr=Object.freeze({});function Of(n,e,t){return t===void 0&&(t=Qr),n.theme!==t.theme&&n.theme||e||t.theme}var Lo=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),Mf=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,Af=/(^-|-$)/g;function ll(n){return n.replace(Mf,"-").replace(Af,"")}var Df=/(a)(d)/gi,_i=52,cl=function(n){return String.fromCharCode(n+(n>25?39:97))};function Fo(n){var e,t="";for(e=Math.abs(n);e>_i;e=e/_i|0)t=cl(e%_i)+t;return(cl(e%_i)+t).replace(Df,"$1-$2")}var jo,ul=5381,_r=function(n,e){for(var t=e.length;t;)n=33*n^e.charCodeAt(--t);return n},fl=function(n){return _r(ul,n)};function $f(n){return Fo(fl(n)>>>0)}function dl(n){return process.env.NODE_ENV!=="production"&&typeof n=="string"&&n||n.displayName||n.name||"Component"}function Bo(n){return typeof n=="string"&&(process.env.NODE_ENV==="production"||n.charAt(0)===n.charAt(0).toLowerCase())}var hl=typeof Symbol=="function"&&Symbol.for,pl=hl?Symbol.for("react.memo"):60115,Nf=hl?Symbol.for("react.forward_ref"):60112,If={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},zf={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},gl={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Lf=((jo={})[Nf]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},jo[pl]=gl,jo);function ml(n){return("type"in(e=n)&&e.type.$$typeof)===pl?gl:"$$typeof"in n?Lf[n.$$typeof]:If;var e}var Ff=Object.defineProperty,jf=Object.getOwnPropertyNames,_l=Object.getOwnPropertySymbols,Bf=Object.getOwnPropertyDescriptor,Yf=Object.getPrototypeOf,yl=Object.prototype;function xl(n,e,t){if(typeof e!="string"){if(yl){var r=Yf(e);r&&r!==yl&&xl(n,r,t)}var i=jf(e);_l&&(i=i.concat(_l(e)));for(var o=ml(n),s=ml(e),a=0;a<i.length;++a){var c=i[a];if(!(c in zf||t&&t[c]||s&&c in s||o&&c in o)){var u=Bf(e,c);try{Ff(n,c,u)}catch{}}}}return n}function yr(n){return typeof n=="function"}function Yo(n){return typeof n=="object"&&"styledComponentId"in n}function xr(n,e){return n&&e?"".concat(n," ").concat(e):n||e||""}function vl(n,e){if(n.length===0)return"";for(var t=n[0],r=1;r<n.length;r++)t+=n[r];return t}function Zr(n){return n!==null&&typeof n=="object"&&n.constructor.name===Object.name&&!("props"in n&&n.$$typeof)}function Wo(n,e,t){if(t===void 0&&(t=!1),!t&&!Zr(n)&&!Array.isArray(n))return e;if(Array.isArray(e))for(var r=0;r<e.length;r++)n[r]=Wo(n[r],e[r]);else if(Zr(e))for(var r in e)n[r]=Wo(n[r],e[r]);return n}function Xo(n,e){Object.defineProperty(n,"toString",{value:e})}var Wf=process.env.NODE_ENV!=="production"?{1:`Cannot create styled-component for component: %s.
50
50
 
51
51
  `,2:`Can't collect styles once you've consumed a \`ServerStyleSheet\`'s styles! \`ServerStyleSheet\` is a one off instance for each server-side render cycle.
52
52
 
@@ -87,7 +87,7 @@ as for instance in your render method then you may be running into this limitati
87
87
 
88
88
  `,17:`CSSStyleSheet could not be found on HTMLStyleElement.
89
89
  Has styled-components' style tag been unmounted or altered by another script?
90
- `,18:"ThemeProvider: Please make sure your useTheme hook is within a `<ThemeProvider>`"}:{};function Xf(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];for(var t=n[0],r=[],i=1,o=n.length;i<o;i+=1)r.push(n[i]);return r.forEach(function(s){t=t.replace(/%[a-z]/,s)}),t}function Et(n){for(var e=[],t=1;t<arguments.length;t++)e[t-1]=arguments[t];return process.env.NODE_ENV==="production"?new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(n," for more information.").concat(e.length>0?" Args: ".concat(e.join(", ")):"")):new Error(Xf.apply(void 0,Hr([Wf[n]],e,!1)).trim())}var Vf=(function(){function n(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return n.prototype.indexOfGroup=function(e){for(var t=0,r=0;r<e;r++)t+=this.groupSizes[r];return t},n.prototype.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var r=this.groupSizes,i=r.length,o=i;e>=o;)if((o<<=1)<0)throw Et(16,"".concat(e));this.groupSizes=new Uint32Array(o),this.groupSizes.set(r),this.length=o;for(var s=i;s<o;s++)this.groupSizes[s]=0}for(var a=this.indexOfGroup(e+1),c=(s=0,t.length);s<c;s++)this.tag.insertRule(a,t[s])&&(this.groupSizes[e]++,a++)},n.prototype.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],r=this.indexOfGroup(e),i=r+t;this.groupSizes[e]=0;for(var o=r;o<i;o++)this.tag.deleteRule(r)}},n.prototype.getGroup=function(e){var t="";if(e>=this.length||this.groupSizes[e]===0)return t;for(var r=this.groupSizes[e],i=this.indexOfGroup(e),o=i+r,s=i;s<o;s++)t+="".concat(this.tag.getRule(s)).concat(zo);return t},n})(),Hf=1<<30,yi=new Map,xi=new Map,vi=1,wi=function(n){if(yi.has(n))return yi.get(n);for(;xi.has(vi);)vi++;var e=vi++;if(process.env.NODE_ENV!=="production"&&((0|e)<0||e>Hf))throw Et(16,"".concat(e));return yi.set(n,e),xi.set(e,n),e},Uf=function(n,e){vi=e+1,yi.set(n,e),xi.set(e,n)},Gf="style[".concat(mr,"][").concat(sl,'="').concat(hi,'"]'),qf=new RegExp("^".concat(mr,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),Kf=function(n,e,t){for(var r,i=t.split(","),o=0,s=i.length;o<s;o++)(r=i[o])&&n.registerName(e,r)},Qf=function(n,e){for(var t,r=((t=e.textContent)!==null&&t!==void 0?t:"").split(zo),i=[],o=0,s=r.length;o<s;o++){var a=r[o].trim();if(a){var c=a.match(qf);if(c){var u=0|parseInt(c[1],10),f=c[2];u!==0&&(Uf(f,u),Kf(n,f,c[3]),n.getTag().insertRules(u,i)),i.length=0}else i.push(a)}}},wl=function(n){for(var e=document.querySelectorAll(Gf),t=0,r=e.length;t<r;t++){var i=e[t];i&&i.getAttribute(mr)!==ol&&(Qf(n,i),i.parentNode&&i.parentNode.removeChild(i))}};function Zf(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:null}var bl=function(n){var e=document.head,t=n||e,r=document.createElement("style"),i=(function(a){var c=Array.from(a.querySelectorAll("style[".concat(mr,"]")));return c[c.length-1]})(t),o=i!==void 0?i.nextSibling:null;r.setAttribute(mr,ol),r.setAttribute(sl,hi);var s=Zf();return s&&r.setAttribute("nonce",s),t.insertBefore(r,o),r},Jf=(function(){function n(e){this.element=bl(e),this.element.appendChild(document.createTextNode("")),this.sheet=(function(t){if(t.sheet)return t.sheet;for(var r=document.styleSheets,i=0,o=r.length;i<o;i++){var s=r[i];if(s.ownerNode===t)return s}throw Et(17)})(this.element),this.length=0}return n.prototype.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch{return!1}},n.prototype.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},n.prototype.getRule=function(e){var t=this.sheet.cssRules[e];return t&&t.cssText?t.cssText:""},n})(),ed=(function(){function n(e){this.element=bl(e),this.nodes=this.element.childNodes,this.length=0}return n.prototype.insertRule=function(e,t){if(e<=this.length&&e>=0){var r=document.createTextNode(t);return this.element.insertBefore(r,this.nodes[e]||null),this.length++,!0}return!1},n.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},n.prototype.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},n})(),td=(function(){function n(e){this.rules=[],this.length=0}return n.prototype.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},n.prototype.deleteRule=function(e){this.rules.splice(e,1),this.length--},n.prototype.getRule=function(e){return e<this.length?this.rules[e]:""},n})(),Tl=pi,rd={isServer:!pi,useCSSOMInjection:!Ef},Sl=(function(){function n(e,t,r){e===void 0&&(e=Qr),t===void 0&&(t={});var i=this;this.options=Le(Le({},rd),e),this.gs=t,this.names=new Map(r),this.server=!!e.isServer,!this.server&&pi&&Tl&&(Tl=!1,wl(this)),Xo(this,function(){return(function(o){for(var s=o.getTag(),a=s.length,c="",u=function(d){var h=(function(x){return xi.get(x)})(d);if(h===void 0)return"continue";var l=o.names.get(h),g=s.getGroup(d);if(l===void 0||!l.size||g.length===0)return"continue";var p="".concat(mr,".g").concat(d,'[id="').concat(h,'"]'),y="";l!==void 0&&l.forEach(function(x){x.length>0&&(y+="".concat(x,","))}),c+="".concat(g).concat(p,'{content:"').concat(y,'"}').concat(zo)},f=0;f<a;f++)u(f);return c})(i)})}return n.registerId=function(e){return wi(e)},n.prototype.rehydrate=function(){!this.server&&pi&&wl(this)},n.prototype.reconstructWithOptions=function(e,t){return t===void 0&&(t=!0),new n(Le(Le({},this.options),e),this.gs,t&&this.names||void 0)},n.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},n.prototype.getTag=function(){return this.tag||(this.tag=(e=(function(t){var r=t.useCSSOMInjection,i=t.target;return t.isServer?new td(i):r?new Jf(i):new ed(i)})(this.options),new Vf(e)));var e},n.prototype.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},n.prototype.registerName=function(e,t){if(wi(e),this.names.has(e))this.names.get(e).add(t);else{var r=new Set;r.add(t),this.names.set(e,r)}},n.prototype.insertRules=function(e,t,r){this.registerName(e,t),this.getTag().insertRules(wi(e),r)},n.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},n.prototype.clearRules=function(e){this.getTag().clearGroup(wi(e)),this.clearNames(e)},n.prototype.clearTag=function(){this.tag=void 0},n})(),nd=/&/g,id=/^\s*\/\/.*$/gm;function kl(n,e){return n.map(function(t){return t.type==="rule"&&(t.value="".concat(e," ").concat(t.value),t.value=t.value.replaceAll(",",",".concat(e," ")),t.props=t.props.map(function(r){return"".concat(e," ").concat(r)})),Array.isArray(t.children)&&t.type!=="@keyframes"&&(t.children=kl(t.children,e)),t})}function od(n){var e,t,r,i=Qr,o=i.options,s=o===void 0?Qr:o,a=i.plugins,c=a===void 0?mi:a,u=function(h,l,g){return g.startsWith(t)&&g.endsWith(t)&&g.replaceAll(t,"").length>0?".".concat(e):h},f=c.slice();f.push(function(h){h.type===oi&&h.value.includes("&")&&(h.props[0]=h.props[0].replace(nd,t).replace(r,u))}),s.prefix&&f.push(Cf),f.push(Tf);var d=function(h,l,g,p){l===void 0&&(l=""),g===void 0&&(g=""),p===void 0&&(p="&"),e=p,t=l,r=new RegExp("\\".concat(t,"\\b"),"g");var y=h.replace(id,""),x=wf(g||l?"".concat(g," ").concat(l," { ").concat(y," }"):y);s.namespace&&(x=kl(x,s.namespace));var S=[];return di(x,Sf(f.concat(kf(function(k){return S.push(k)})))),S};return d.hash=c.length?c.reduce(function(h,l){return l.name||Et(15),_r(h,l.name)},ul).toString():"",d}var sd=new Sl,Vo=od(),Cl=E.createContext({shouldForwardProp:void 0,styleSheet:sd,stylis:Vo});Cl.Consumer,E.createContext(void 0);function Pl(){return E.useContext(Cl)}var El=(function(){function n(e,t){var r=this;this.inject=function(i,o){o===void 0&&(o=Vo);var s=r.name+o.hash;i.hasNameForId(r.id,s)||i.insertRules(r.id,s,o(r.rules,s,"@keyframes"))},this.name=e,this.id="sc-keyframes-".concat(e),this.rules=t,Xo(this,function(){throw Et(12,String(r.name))})}return n.prototype.getName=function(e){return e===void 0&&(e=Vo),this.name+e.hash},n})(),ad=function(n){return n>="A"&&n<="Z"};function Rl(n){for(var e="",t=0;t<n.length;t++){var r=n[t];if(t===1&&r==="-"&&n[0]==="-")return n;ad(r)?e+="-"+r.toLowerCase():e+=r}return e.startsWith("ms-")?"-"+e:e}var Ol=function(n){return n==null||n===!1||n===""},Ml=function(n){var e,t,r=[];for(var i in n){var o=n[i];n.hasOwnProperty(i)&&!Ol(o)&&(Array.isArray(o)&&o.isCss||yr(o)?r.push("".concat(Rl(i),":"),o,";"):Zr(o)?r.push.apply(r,Hr(Hr(["".concat(i," {")],Ml(o),!1),["}"],!1)):r.push("".concat(Rl(i),": ").concat((e=i,(t=o)==null||typeof t=="boolean"||t===""?"":typeof t!="number"||t===0||e in Pf||e.startsWith("--")?String(t).trim():"".concat(t,"px")),";")))}return r};function vr(n,e,t,r){if(Ol(n))return[];if(Yo(n))return[".".concat(n.styledComponentId)];if(yr(n)){if(!yr(o=n)||o.prototype&&o.prototype.isReactComponent||!e)return[n];var i=n(e);return process.env.NODE_ENV==="production"||typeof i!="object"||Array.isArray(i)||i instanceof El||Zr(i)||i===null||console.error("".concat(dl(n)," is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.")),vr(i,e,t,r)}var o;return n instanceof El?t?(n.inject(t,r),[n.getName(r)]):[n]:Zr(n)?Ml(n):Array.isArray(n)?Array.prototype.concat.apply(mi,n.map(function(s){return vr(s,e,t,r)})):[n.toString()]}function ld(n){for(var e=0;e<n.length;e+=1){var t=n[e];if(yr(t)&&!Yo(t))return!1}return!0}var cd=fl(hi),ud=(function(){function n(e,t,r){this.rules=e,this.staticRulesId="",this.isStatic=process.env.NODE_ENV==="production"&&(r===void 0||r.isStatic)&&ld(e),this.componentId=t,this.baseHash=_r(cd,t),this.baseStyle=r,Sl.registerId(t)}return n.prototype.generateAndInjectStyles=function(e,t,r){var i=this.baseStyle?this.baseStyle.generateAndInjectStyles(e,t,r):"";if(this.isStatic&&!r.hash)if(this.staticRulesId&&t.hasNameForId(this.componentId,this.staticRulesId))i=xr(i,this.staticRulesId);else{var o=vl(vr(this.rules,e,t,r)),s=Fo(_r(this.baseHash,o)>>>0);if(!t.hasNameForId(this.componentId,s)){var a=r(o,".".concat(s),void 0,this.componentId);t.insertRules(this.componentId,s,a)}i=xr(i,s),this.staticRulesId=s}else{for(var c=_r(this.baseHash,r.hash),u="",f=0;f<this.rules.length;f++){var d=this.rules[f];if(typeof d=="string")u+=d,process.env.NODE_ENV!=="production"&&(c=_r(c,d));else if(d){var h=vl(vr(d,e,t,r));c=_r(c,h+f),u+=h}}if(u){var l=Fo(c>>>0);t.hasNameForId(this.componentId,l)||t.insertRules(this.componentId,l,r(u,".".concat(l),void 0,this.componentId)),i=xr(i,l)}}return i},n})(),Pn=E.createContext(void 0);Pn.Consumer;function Rt(){var n=E.useContext(Pn);if(!n)throw Et(18);return n}function fd(n){var e=E.useContext(Pn),t=E.useMemo(function(){return(function(r,i){if(!r)throw Et(14);if(yr(r)){var o=r(i);if(process.env.NODE_ENV!=="production"&&(o===null||Array.isArray(o)||typeof o!="object"))throw Et(7);return o}if(Array.isArray(r)||typeof r!="object")throw Et(8);return i?Le(Le({},i),r):r})(n.theme,e)},[n.theme,e]);return n.children?E.createElement(Pn.Provider,{value:t},n.children):null}var Ho={},Al=new Set;function dd(n,e,t){var r=Yo(n),i=n,o=!Bo(n),s=e.attrs,a=s===void 0?mi:s,c=e.componentId,u=c===void 0?(function(C,_){var w=typeof C!="string"?"sc":ll(C);Ho[w]=(Ho[w]||0)+1;var v="".concat(w,"-").concat(Nf(hi+w+Ho[w]));return _?"".concat(_,"-").concat(v):v})(e.displayName,e.parentComponentId):c,f=e.displayName,d=f===void 0?(function(C){return Bo(C)?"styled.".concat(C):"Styled(".concat(dl(C),")")})(n):f,h=e.displayName&&e.componentId?"".concat(ll(e.displayName),"-").concat(e.componentId):e.componentId||u,l=r&&i.attrs?i.attrs.concat(a).filter(Boolean):a,g=e.shouldForwardProp;if(r&&i.shouldForwardProp){var p=i.shouldForwardProp;if(e.shouldForwardProp){var y=e.shouldForwardProp;g=function(C,_){return p(C,_)&&y(C,_)}}else g=p}var x=new ud(t,h,r?i.componentStyle:void 0);function S(C,_){return(function(w,v,b){var R=w.attrs,Y=w.componentStyle,z=w.defaultProps,F=w.foldedComponentIds,M=w.styledComponentId,G=w.target,U=E.useContext(Pn),X=Pl(),j=w.shouldForwardProp||X.shouldForwardProp;process.env.NODE_ENV!=="production"&&E.useDebugValue(M);var ie=Of(v,U,z)||Qr,J=(function(ae,xe,qe){for(var q,Ae=Le(Le({},xe),{className:void 0,theme:qe}),Fe=0;Fe<ae.length;Fe+=1){var We=yr(q=ae[Fe])?q(Ae):q;for(var je in We)Ae[je]=je==="className"?xr(Ae[je],We[je]):je==="style"?Le(Le({},Ae[je]),We[je]):We[je]}return xe.className&&(Ae.className=xr(Ae.className,xe.className)),Ae})(R,v,ie),P=J.as||G,N={};for(var $ in J)J[$]===void 0||$[0]==="$"||$==="as"||$==="theme"&&J.theme===ie||($==="forwardedAs"?N.as=J.forwardedAs:j&&!j($,P)||(N[$]=J[$],j||process.env.NODE_ENV!=="development"||lf($)||Al.has($)||!Lo.has(P)||(Al.add($),console.warn('styled-components: it looks like an unknown prop "'.concat($,'" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via `<StyleSheetManager shouldForwardProp={...}>` (connect an API like `@emotion/is-prop-valid`) or consider using transient props (`$` prefix for automatic filtering.)')))));var V=(function(ae,xe){var qe=Pl(),q=ae.generateAndInjectStyles(xe,qe.styleSheet,qe.stylis);return process.env.NODE_ENV!=="production"&&E.useDebugValue(q),q})(Y,J);process.env.NODE_ENV!=="production"&&w.warnTooManyClasses&&w.warnTooManyClasses(V);var H=xr(F,M);return V&&(H+=" "+V),J.className&&(H+=" "+J.className),N[Bo(P)&&!Lo.has(P)?"class":"className"]=H,b&&(N.ref=b),E.createElement(P,N)})(k,C,_)}S.displayName=d;var k=E.forwardRef(S);return k.attrs=l,k.componentStyle=x,k.displayName=d,k.shouldForwardProp=g,k.foldedComponentIds=r?xr(i.foldedComponentIds,i.styledComponentId):"",k.styledComponentId=h,k.target=r?i.target:n,Object.defineProperty(k,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(C){this._foldedDefaultProps=r?(function(_){for(var w=[],v=1;v<arguments.length;v++)w[v-1]=arguments[v];for(var b=0,R=w;b<R.length;b++)Wo(_,R[b],!0);return _})({},i.defaultProps,C):C}}),process.env.NODE_ENV!=="production"&&(Rf(d,h),k.warnTooManyClasses=(function(C,_){var w={},v=!1;return function(b){if(!v&&(w[b]=!0,Object.keys(w).length>=200)){var R=_?' with the id of "'.concat(_,'"'):"";console.warn("Over ".concat(200," classes were generated for component ").concat(C).concat(R,`.
90
+ `,18:"ThemeProvider: Please make sure your useTheme hook is within a `<ThemeProvider>`"}:{};function Xf(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];for(var t=n[0],r=[],i=1,o=n.length;i<o;i+=1)r.push(n[i]);return r.forEach(function(s){t=t.replace(/%[a-z]/,s)}),t}function Et(n){for(var e=[],t=1;t<arguments.length;t++)e[t-1]=arguments[t];return process.env.NODE_ENV==="production"?new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(n," for more information.").concat(e.length>0?" Args: ".concat(e.join(", ")):"")):new Error(Xf.apply(void 0,Hr([Wf[n]],e,!1)).trim())}var Vf=(function(){function n(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return n.prototype.indexOfGroup=function(e){for(var t=0,r=0;r<e;r++)t+=this.groupSizes[r];return t},n.prototype.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var r=this.groupSizes,i=r.length,o=i;e>=o;)if((o<<=1)<0)throw Et(16,"".concat(e));this.groupSizes=new Uint32Array(o),this.groupSizes.set(r),this.length=o;for(var s=i;s<o;s++)this.groupSizes[s]=0}for(var a=this.indexOfGroup(e+1),c=(s=0,t.length);s<c;s++)this.tag.insertRule(a,t[s])&&(this.groupSizes[e]++,a++)},n.prototype.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],r=this.indexOfGroup(e),i=r+t;this.groupSizes[e]=0;for(var o=r;o<i;o++)this.tag.deleteRule(r)}},n.prototype.getGroup=function(e){var t="";if(e>=this.length||this.groupSizes[e]===0)return t;for(var r=this.groupSizes[e],i=this.indexOfGroup(e),o=i+r,s=i;s<o;s++)t+="".concat(this.tag.getRule(s)).concat(zo);return t},n})(),Hf=1<<30,yi=new Map,xi=new Map,vi=1,wi=function(n){if(yi.has(n))return yi.get(n);for(;xi.has(vi);)vi++;var e=vi++;if(process.env.NODE_ENV!=="production"&&((0|e)<0||e>Hf))throw Et(16,"".concat(e));return yi.set(n,e),xi.set(e,n),e},Uf=function(n,e){vi=e+1,yi.set(n,e),xi.set(e,n)},Gf="style[".concat(mr,"][").concat(sl,'="').concat(hi,'"]'),qf=new RegExp("^".concat(mr,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),Kf=function(n,e,t){for(var r,i=t.split(","),o=0,s=i.length;o<s;o++)(r=i[o])&&n.registerName(e,r)},Qf=function(n,e){for(var t,r=((t=e.textContent)!==null&&t!==void 0?t:"").split(zo),i=[],o=0,s=r.length;o<s;o++){var a=r[o].trim();if(a){var c=a.match(qf);if(c){var u=0|parseInt(c[1],10),f=c[2];u!==0&&(Uf(f,u),Kf(n,f,c[3]),n.getTag().insertRules(u,i)),i.length=0}else i.push(a)}}},wl=function(n){for(var e=document.querySelectorAll(Gf),t=0,r=e.length;t<r;t++){var i=e[t];i&&i.getAttribute(mr)!==ol&&(Qf(n,i),i.parentNode&&i.parentNode.removeChild(i))}};function Zf(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:null}var bl=function(n){var e=document.head,t=n||e,r=document.createElement("style"),i=(function(a){var c=Array.from(a.querySelectorAll("style[".concat(mr,"]")));return c[c.length-1]})(t),o=i!==void 0?i.nextSibling:null;r.setAttribute(mr,ol),r.setAttribute(sl,hi);var s=Zf();return s&&r.setAttribute("nonce",s),t.insertBefore(r,o),r},Jf=(function(){function n(e){this.element=bl(e),this.element.appendChild(document.createTextNode("")),this.sheet=(function(t){if(t.sheet)return t.sheet;for(var r=document.styleSheets,i=0,o=r.length;i<o;i++){var s=r[i];if(s.ownerNode===t)return s}throw Et(17)})(this.element),this.length=0}return n.prototype.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch{return!1}},n.prototype.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},n.prototype.getRule=function(e){var t=this.sheet.cssRules[e];return t&&t.cssText?t.cssText:""},n})(),ed=(function(){function n(e){this.element=bl(e),this.nodes=this.element.childNodes,this.length=0}return n.prototype.insertRule=function(e,t){if(e<=this.length&&e>=0){var r=document.createTextNode(t);return this.element.insertBefore(r,this.nodes[e]||null),this.length++,!0}return!1},n.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},n.prototype.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},n})(),td=(function(){function n(e){this.rules=[],this.length=0}return n.prototype.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},n.prototype.deleteRule=function(e){this.rules.splice(e,1),this.length--},n.prototype.getRule=function(e){return e<this.length?this.rules[e]:""},n})(),Tl=pi,rd={isServer:!pi,useCSSOMInjection:!Ef},Sl=(function(){function n(e,t,r){e===void 0&&(e=Qr),t===void 0&&(t={});var i=this;this.options=Le(Le({},rd),e),this.gs=t,this.names=new Map(r),this.server=!!e.isServer,!this.server&&pi&&Tl&&(Tl=!1,wl(this)),Xo(this,function(){return(function(o){for(var s=o.getTag(),a=s.length,c="",u=function(d){var h=(function(x){return xi.get(x)})(d);if(h===void 0)return"continue";var l=o.names.get(h),g=s.getGroup(d);if(l===void 0||!l.size||g.length===0)return"continue";var p="".concat(mr,".g").concat(d,'[id="').concat(h,'"]'),y="";l!==void 0&&l.forEach(function(x){x.length>0&&(y+="".concat(x,","))}),c+="".concat(g).concat(p,'{content:"').concat(y,'"}').concat(zo)},f=0;f<a;f++)u(f);return c})(i)})}return n.registerId=function(e){return wi(e)},n.prototype.rehydrate=function(){!this.server&&pi&&wl(this)},n.prototype.reconstructWithOptions=function(e,t){return t===void 0&&(t=!0),new n(Le(Le({},this.options),e),this.gs,t&&this.names||void 0)},n.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},n.prototype.getTag=function(){return this.tag||(this.tag=(e=(function(t){var r=t.useCSSOMInjection,i=t.target;return t.isServer?new td(i):r?new Jf(i):new ed(i)})(this.options),new Vf(e)));var e},n.prototype.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},n.prototype.registerName=function(e,t){if(wi(e),this.names.has(e))this.names.get(e).add(t);else{var r=new Set;r.add(t),this.names.set(e,r)}},n.prototype.insertRules=function(e,t,r){this.registerName(e,t),this.getTag().insertRules(wi(e),r)},n.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},n.prototype.clearRules=function(e){this.getTag().clearGroup(wi(e)),this.clearNames(e)},n.prototype.clearTag=function(){this.tag=void 0},n})(),nd=/&/g,id=/^\s*\/\/.*$/gm;function kl(n,e){return n.map(function(t){return t.type==="rule"&&(t.value="".concat(e," ").concat(t.value),t.value=t.value.replaceAll(",",",".concat(e," ")),t.props=t.props.map(function(r){return"".concat(e," ").concat(r)})),Array.isArray(t.children)&&t.type!=="@keyframes"&&(t.children=kl(t.children,e)),t})}function od(n){var e,t,r,i=Qr,o=i.options,s=o===void 0?Qr:o,a=i.plugins,c=a===void 0?mi:a,u=function(h,l,g){return g.startsWith(t)&&g.endsWith(t)&&g.replaceAll(t,"").length>0?".".concat(e):h},f=c.slice();f.push(function(h){h.type===oi&&h.value.includes("&")&&(h.props[0]=h.props[0].replace(nd,t).replace(r,u))}),s.prefix&&f.push(Cf),f.push(Tf);var d=function(h,l,g,p){l===void 0&&(l=""),g===void 0&&(g=""),p===void 0&&(p="&"),e=p,t=l,r=new RegExp("\\".concat(t,"\\b"),"g");var y=h.replace(id,""),x=wf(g||l?"".concat(g," ").concat(l," { ").concat(y," }"):y);s.namespace&&(x=kl(x,s.namespace));var S=[];return di(x,Sf(f.concat(kf(function(k){return S.push(k)})))),S};return d.hash=c.length?c.reduce(function(h,l){return l.name||Et(15),_r(h,l.name)},ul).toString():"",d}var sd=new Sl,Vo=od(),Cl=E.createContext({shouldForwardProp:void 0,styleSheet:sd,stylis:Vo});Cl.Consumer,E.createContext(void 0);function Pl(){return E.useContext(Cl)}var El=(function(){function n(e,t){var r=this;this.inject=function(i,o){o===void 0&&(o=Vo);var s=r.name+o.hash;i.hasNameForId(r.id,s)||i.insertRules(r.id,s,o(r.rules,s,"@keyframes"))},this.name=e,this.id="sc-keyframes-".concat(e),this.rules=t,Xo(this,function(){throw Et(12,String(r.name))})}return n.prototype.getName=function(e){return e===void 0&&(e=Vo),this.name+e.hash},n})(),ad=function(n){return n>="A"&&n<="Z"};function Rl(n){for(var e="",t=0;t<n.length;t++){var r=n[t];if(t===1&&r==="-"&&n[0]==="-")return n;ad(r)?e+="-"+r.toLowerCase():e+=r}return e.startsWith("ms-")?"-"+e:e}var Ol=function(n){return n==null||n===!1||n===""},Ml=function(n){var e,t,r=[];for(var i in n){var o=n[i];n.hasOwnProperty(i)&&!Ol(o)&&(Array.isArray(o)&&o.isCss||yr(o)?r.push("".concat(Rl(i),":"),o,";"):Zr(o)?r.push.apply(r,Hr(Hr(["".concat(i," {")],Ml(o),!1),["}"],!1)):r.push("".concat(Rl(i),": ").concat((e=i,(t=o)==null||typeof t=="boolean"||t===""?"":typeof t!="number"||t===0||e in Pf||e.startsWith("--")?String(t).trim():"".concat(t,"px")),";")))}return r};function vr(n,e,t,r){if(Ol(n))return[];if(Yo(n))return[".".concat(n.styledComponentId)];if(yr(n)){if(!yr(o=n)||o.prototype&&o.prototype.isReactComponent||!e)return[n];var i=n(e);return process.env.NODE_ENV==="production"||typeof i!="object"||Array.isArray(i)||i instanceof El||Zr(i)||i===null||console.error("".concat(dl(n)," is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.")),vr(i,e,t,r)}var o;return n instanceof El?t?(n.inject(t,r),[n.getName(r)]):[n]:Zr(n)?Ml(n):Array.isArray(n)?Array.prototype.concat.apply(mi,n.map(function(s){return vr(s,e,t,r)})):[n.toString()]}function ld(n){for(var e=0;e<n.length;e+=1){var t=n[e];if(yr(t)&&!Yo(t))return!1}return!0}var cd=fl(hi),ud=(function(){function n(e,t,r){this.rules=e,this.staticRulesId="",this.isStatic=process.env.NODE_ENV==="production"&&(r===void 0||r.isStatic)&&ld(e),this.componentId=t,this.baseHash=_r(cd,t),this.baseStyle=r,Sl.registerId(t)}return n.prototype.generateAndInjectStyles=function(e,t,r){var i=this.baseStyle?this.baseStyle.generateAndInjectStyles(e,t,r):"";if(this.isStatic&&!r.hash)if(this.staticRulesId&&t.hasNameForId(this.componentId,this.staticRulesId))i=xr(i,this.staticRulesId);else{var o=vl(vr(this.rules,e,t,r)),s=Fo(_r(this.baseHash,o)>>>0);if(!t.hasNameForId(this.componentId,s)){var a=r(o,".".concat(s),void 0,this.componentId);t.insertRules(this.componentId,s,a)}i=xr(i,s),this.staticRulesId=s}else{for(var c=_r(this.baseHash,r.hash),u="",f=0;f<this.rules.length;f++){var d=this.rules[f];if(typeof d=="string")u+=d,process.env.NODE_ENV!=="production"&&(c=_r(c,d));else if(d){var h=vl(vr(d,e,t,r));c=_r(c,h+f),u+=h}}if(u){var l=Fo(c>>>0);t.hasNameForId(this.componentId,l)||t.insertRules(this.componentId,l,r(u,".".concat(l),void 0,this.componentId)),i=xr(i,l)}}return i},n})(),Pn=E.createContext(void 0);Pn.Consumer;function Rt(){var n=E.useContext(Pn);if(!n)throw Et(18);return n}function fd(n){var e=E.useContext(Pn),t=E.useMemo(function(){return(function(r,i){if(!r)throw Et(14);if(yr(r)){var o=r(i);if(process.env.NODE_ENV!=="production"&&(o===null||Array.isArray(o)||typeof o!="object"))throw Et(7);return o}if(Array.isArray(r)||typeof r!="object")throw Et(8);return i?Le(Le({},i),r):r})(n.theme,e)},[n.theme,e]);return n.children?E.createElement(Pn.Provider,{value:t},n.children):null}var Ho={},Al=new Set;function dd(n,e,t){var r=Yo(n),i=n,o=!Bo(n),s=e.attrs,a=s===void 0?mi:s,c=e.componentId,u=c===void 0?(function(C,_){var w=typeof C!="string"?"sc":ll(C);Ho[w]=(Ho[w]||0)+1;var v="".concat(w,"-").concat($f(hi+w+Ho[w]));return _?"".concat(_,"-").concat(v):v})(e.displayName,e.parentComponentId):c,f=e.displayName,d=f===void 0?(function(C){return Bo(C)?"styled.".concat(C):"Styled(".concat(dl(C),")")})(n):f,h=e.displayName&&e.componentId?"".concat(ll(e.displayName),"-").concat(e.componentId):e.componentId||u,l=r&&i.attrs?i.attrs.concat(a).filter(Boolean):a,g=e.shouldForwardProp;if(r&&i.shouldForwardProp){var p=i.shouldForwardProp;if(e.shouldForwardProp){var y=e.shouldForwardProp;g=function(C,_){return p(C,_)&&y(C,_)}}else g=p}var x=new ud(t,h,r?i.componentStyle:void 0);function S(C,_){return(function(w,v,b){var R=w.attrs,Y=w.componentStyle,z=w.defaultProps,F=w.foldedComponentIds,M=w.styledComponentId,G=w.target,U=E.useContext(Pn),X=Pl(),j=w.shouldForwardProp||X.shouldForwardProp;process.env.NODE_ENV!=="production"&&E.useDebugValue(M);var ie=Of(v,U,z)||Qr,J=(function(ae,xe,qe){for(var q,Ae=Le(Le({},xe),{className:void 0,theme:qe}),Fe=0;Fe<ae.length;Fe+=1){var We=yr(q=ae[Fe])?q(Ae):q;for(var je in We)Ae[je]=je==="className"?xr(Ae[je],We[je]):je==="style"?Le(Le({},Ae[je]),We[je]):We[je]}return xe.className&&(Ae.className=xr(Ae.className,xe.className)),Ae})(R,v,ie),P=J.as||G,$={};for(var N in J)J[N]===void 0||N[0]==="$"||N==="as"||N==="theme"&&J.theme===ie||(N==="forwardedAs"?$.as=J.forwardedAs:j&&!j(N,P)||($[N]=J[N],j||process.env.NODE_ENV!=="development"||lf(N)||Al.has(N)||!Lo.has(P)||(Al.add(N),console.warn('styled-components: it looks like an unknown prop "'.concat(N,'" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via `<StyleSheetManager shouldForwardProp={...}>` (connect an API like `@emotion/is-prop-valid`) or consider using transient props (`$` prefix for automatic filtering.)')))));var V=(function(ae,xe){var qe=Pl(),q=ae.generateAndInjectStyles(xe,qe.styleSheet,qe.stylis);return process.env.NODE_ENV!=="production"&&E.useDebugValue(q),q})(Y,J);process.env.NODE_ENV!=="production"&&w.warnTooManyClasses&&w.warnTooManyClasses(V);var H=xr(F,M);return V&&(H+=" "+V),J.className&&(H+=" "+J.className),$[Bo(P)&&!Lo.has(P)?"class":"className"]=H,b&&($.ref=b),E.createElement(P,$)})(k,C,_)}S.displayName=d;var k=E.forwardRef(S);return k.attrs=l,k.componentStyle=x,k.displayName=d,k.shouldForwardProp=g,k.foldedComponentIds=r?xr(i.foldedComponentIds,i.styledComponentId):"",k.styledComponentId=h,k.target=r?i.target:n,Object.defineProperty(k,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(C){this._foldedDefaultProps=r?(function(_){for(var w=[],v=1;v<arguments.length;v++)w[v-1]=arguments[v];for(var b=0,R=w;b<R.length;b++)Wo(_,R[b],!0);return _})({},i.defaultProps,C):C}}),process.env.NODE_ENV!=="production"&&(Rf(d,h),k.warnTooManyClasses=(function(C,_){var w={},v=!1;return function(b){if(!v&&(w[b]=!0,Object.keys(w).length>=200)){var R=_?' with the id of "'.concat(_,'"'):"";console.warn("Over ".concat(200," classes were generated for component ").concat(C).concat(R,`.
91
91
  `)+`Consider using the attrs method, together with a style object for frequently changed styles.
92
92
  Example:
93
93
  const Component = styled.div.attrs(props => ({
@@ -96,7 +96,7 @@ Example:
96
96
  },
97
97
  }))\`width: 100%;\`
98
98
 
99
- <Component />`),v=!0,w={}}}})(d,h)),Xo(k,function(){return".".concat(k.styledComponentId)}),o&&xl(k,n,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),k}function Dl(n,e){for(var t=[n[0]],r=0,i=e.length;r<i;r+=1)t.push(e[r],n[r+1]);return t}var Nl=function(n){return Object.assign(n,{isCss:!0})};function bi(n){for(var e=[],t=1;t<arguments.length;t++)e[t-1]=arguments[t];if(yr(n)||Zr(n))return Nl(vr(Dl(mi,Hr([n],e,!0))));var r=n;return e.length===0&&r.length===1&&typeof r[0]=="string"?vr(r):Nl(vr(Dl(r,e)))}function Uo(n,e,t){if(t===void 0&&(t=Qr),!e)throw Et(1,e);var r=function(i){for(var o=[],s=1;s<arguments.length;s++)o[s-1]=arguments[s];return n(e,t,bi.apply(void 0,Hr([i],o,!1)))};return r.attrs=function(i){return Uo(n,e,Le(Le({},t),{attrs:Array.prototype.concat(t.attrs,i).filter(Boolean)}))},r.withConfig=function(i){return Uo(n,e,Le(Le({},t),i))},r}var $l=function(n){return Uo(dd,n)},ct=$l;Lo.forEach(function(n){ct[n]=$l(n)}),process.env.NODE_ENV!=="production"&&typeof navigator<"u"&&navigator.product==="ReactNative"&&console.warn(`It looks like you've imported 'styled-components' on React Native.
99
+ <Component />`),v=!0,w={}}}})(d,h)),Xo(k,function(){return".".concat(k.styledComponentId)}),o&&xl(k,n,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),k}function Dl(n,e){for(var t=[n[0]],r=0,i=e.length;r<i;r+=1)t.push(e[r],n[r+1]);return t}var $l=function(n){return Object.assign(n,{isCss:!0})};function bi(n){for(var e=[],t=1;t<arguments.length;t++)e[t-1]=arguments[t];if(yr(n)||Zr(n))return $l(vr(Dl(mi,Hr([n],e,!0))));var r=n;return e.length===0&&r.length===1&&typeof r[0]=="string"?vr(r):$l(vr(Dl(r,e)))}function Uo(n,e,t){if(t===void 0&&(t=Qr),!e)throw Et(1,e);var r=function(i){for(var o=[],s=1;s<arguments.length;s++)o[s-1]=arguments[s];return n(e,t,bi.apply(void 0,Hr([i],o,!1)))};return r.attrs=function(i){return Uo(n,e,Le(Le({},t),{attrs:Array.prototype.concat(t.attrs,i).filter(Boolean)}))},r.withConfig=function(i){return Uo(n,e,Le(Le({},t),i))},r}var Nl=function(n){return Uo(dd,n)},ct=Nl;Lo.forEach(function(n){ct[n]=Nl(n)}),process.env.NODE_ENV!=="production"&&typeof navigator<"u"&&navigator.product==="ReactNative"&&console.warn(`It looks like you've imported 'styled-components' on React Native.
100
100
  Perhaps you're looking to import 'styled-components/native'?
101
101
  Read more about this at https://www.styled-components.com/docs/basics#react-native`);var Ti="__sc-".concat(mr,"__");process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="test"&&typeof window<"u"&&(window[Ti]||(window[Ti]=0),window[Ti]===1&&console.warn(`It looks like there are several instances of 'styled-components' initialized in this application. This may cause dynamic styles to not render properly, errors during the rehydration process, a missing theme prop, and makes your application bigger without good reason.
102
102
 
@@ -262,7 +262,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Ti]+=1);const Ot={none:"0px",
262
262
  left: ${({placement:n,popoverSize:e,childrenSize:t})=>En({popoverSize:e,childrenSize:t,gap:8})[n].left};
263
263
  z-index: ${({zIndex:n})=>n};
264
264
  background-color: ${({bgcolor:n,color:e,theme:t})=>n??t.palette[e].light};
265
- `,En=n=>({top:{top:`${-n.popoverSize.height-n.gap}px`,left:`${n.childrenSize.width/2-n.popoverSize.width/2}px`,right:"",bottom:""},bottom:{top:`${n.childrenSize.height+n.gap}px`,left:`${n.childrenSize.width/2-n.popoverSize.width/2}px`,right:"",bottom:""},left:{top:`${n.childrenSize.height/2-n.popoverSize.height/2}px`,left:`${-n.popoverSize.width-n.gap}px`,right:"",bottom:""},right:{top:`${n.childrenSize.height/2-n.popoverSize.height/2}px`,left:`${n.childrenSize.width+n.gap}px`,right:"",bottom:""}}),rc=E.forwardRef(({children:n,...e},t)=>{const r=Rt(),i=E.useRef(null),o=E.useRef(null),[s,a]=E.useState({height:0,width:0}),[c,u]=E.useState({height:0,width:0}),f=E.useMemo(()=>({...{placement:"top",zIndex:9},...e}),[e]);return E.useEffect(()=>{if(i?.current){const{clientHeight:d,clientWidth:h}=i.current;a({height:d,width:h})}},[i?.current,e.visible]),E.useEffect(()=>{if(o?.current){const{clientHeight:d,clientWidth:h}=o.current;u({height:d,width:h})}},[o?.current]),A.jsxs("div",{style:{position:"relative"},children:[A.jsx(Pd,{ref:i,popoverSize:s,childrenSize:c,...f,children:e.content}),A.jsx("span",{style:{width:"8px",height:"8px",display:`${e.visible?"block":"none"}`,opacity:`${e.visible&&s.height!==0&&s.width!==0?1:0}`,transition:"opacity 0.25s ease",backgroundColor:`${e.bgcolor??r.palette[e.color].light}`,rotate:"45deg",position:"absolute",top:En({popoverSize:{height:8,width:8},childrenSize:c,gap:4})[f.placement].top,left:En({popoverSize:{height:8,width:8},childrenSize:c,gap:4})[f.placement].left}}),A.jsx("div",{ref:o,children:n})]})});rc.displayName="Popover";const Ed=({color:n,value:e,h:t,w:r,animationDurationInSeconds:i})=>{const o=Rt(),s=E.useRef(null);return E.useEffect(()=>{s.current&&ee.to(s.current,{width:`${e>100?100:e}%`,duration:i??1,ease:"power2.out"})},[e,i]),A.jsx("div",{style:{width:r??"100%",position:"relative",backgroundColor:o.palette[n].light,borderRadius:"8px",height:t??"8px",border:`2px solid ${o.palette[n].light}`},children:A.jsx("div",{ref:s,style:{position:"absolute",top:"0",left:"0",height:"100%",width:"0%",backgroundColor:o.palette[n].main,borderRadius:"8px"}})})},nc=({option:n,handleChange:e})=>{const t=Rt();return A.jsx(ye,{onClick:()=>e&&n&&e(n),px:1.5,py:1,height:"37px",hoverstyle:{backgroundColor:t.palette.primary.light},children:n?.label&&A.jsx(ut,{size:"14",align:"left",children:n.label})},n?.key)},ic=E.forwardRef(n=>{const e=Rt(),[t,r]=E.useState(n.value??n.initialValue??(n.placeholder?{key:n.placeholder,label:n.placeholder}:void 0)),[i,o]=E.useState(!1),[s,a]=E.useState(void 0),c=E.useRef(null),u=E.useRef(null),f=E.useRef(null);E.useEffect(()=>{const h=l=>{c.current&&!c.current.contains(l.target)&&o(!1)};return document.addEventListener("mousedown",h),()=>{document.removeEventListener("mousedown",h)}},[]),E.useLayoutEffect(()=>{i?ee.to(f.current,{autoAlpha:1,y:0,duration:.3,ease:"power2.out"}):ee.to(f.current,{autoAlpha:0,y:-10,duration:.2,ease:"power2.in"})},[i]),E.useEffect(()=>{u.current&&a(u.current.clientHeight)},[u.current]);const d=h=>{r(h),n.onChange&&n.onChange(h),o(!1)};return A.jsxs(ye,{ref:c,direction:"column",width:"100%",justify:"start",children:[(n.label||n.required)&&A.jsxs(ye,{direction:"row",gap:.5,align:"center",mb:"4px",style:{minHeight:"1.2em"},children:[n.label&&A.jsx(ut,{size:"12",children:n.label}),n.required&&A.jsx(ut,{color:e.palette.error.main,size:"12",children:"*"})]}),A.jsxs(ye,{ref:u,elevation:1,onClick:()=>o(!i),style:{position:"relative",cursor:"pointer",...n.selectOptionStyle},children:[n.CustomOption?A.jsx(n.CustomOption,{option:t}):A.jsx(nc,{option:t}),A.jsx(ye,{ref:f,elevation:1,width:"100%",gap:.5,style:{position:"absolute",left:"0",...!n.orientation||n.orientation==="down"?{top:s?`${s+1}px`:"37px"}:{bottom:s?`${s+1}px`:"37px"},visibility:"hidden",zIndex:1,backdropFilter:"blur(6px)",maxHeight:"200px",overflowY:"auto",...n.hideScrollbar&&{scrollbarWidth:"none",msOverflowStyle:"none"},...n.optionContainerStyle},children:n.options.map(h=>n.CustomOption?A.jsx(n.CustomOption,{option:h,handleChange:d}):A.jsx(nc,{option:h,handleChange:d}))})]})]})});ic.displayName="Select";const Rd=ct.div`
265
+ `,En=n=>({top:{top:`${-n.popoverSize.height-n.gap}px`,left:`${n.childrenSize.width/2-n.popoverSize.width/2}px`,right:"",bottom:""},bottom:{top:`${n.childrenSize.height+n.gap}px`,left:`${n.childrenSize.width/2-n.popoverSize.width/2}px`,right:"",bottom:""},left:{top:`${n.childrenSize.height/2-n.popoverSize.height/2}px`,left:`${-n.popoverSize.width-n.gap}px`,right:"",bottom:""},right:{top:`${n.childrenSize.height/2-n.popoverSize.height/2}px`,left:`${n.childrenSize.width+n.gap}px`,right:"",bottom:""}}),rc=E.forwardRef(({children:n,...e},t)=>{const r=Rt(),i=E.useRef(null),o=E.useRef(null),[s,a]=E.useState({height:0,width:0}),[c,u]=E.useState({height:0,width:0}),f=E.useMemo(()=>({...{placement:"top",zIndex:9},...e}),[e]);return E.useEffect(()=>{if(i?.current){const{clientHeight:d,clientWidth:h}=i.current;a({height:d,width:h})}},[i?.current,e.visible]),E.useEffect(()=>{if(o?.current){const{clientHeight:d,clientWidth:h}=o.current;u({height:d,width:h})}},[o?.current]),A.jsxs("div",{style:{position:"relative"},children:[A.jsx(Pd,{ref:i,popoverSize:s,childrenSize:c,...f,children:e.content}),A.jsx("span",{style:{width:"8px",height:"8px",display:`${e.visible?"block":"none"}`,opacity:`${e.visible&&s.height!==0&&s.width!==0?1:0}`,transition:"opacity 0.25s ease",zIndex:`${(e.zIndex??9)-1}`,backgroundColor:`${e.arrowcolor??e.bgcolor??r.palette[e.color].light}`,rotate:"45deg",position:"absolute",top:En({popoverSize:{height:8,width:8},childrenSize:c,gap:4})[f.placement].top,left:En({popoverSize:{height:8,width:8},childrenSize:c,gap:4})[f.placement].left}}),A.jsx("div",{ref:o,children:n})]})});rc.displayName="Popover";const Ed=({color:n,value:e,h:t,w:r,animationDurationInSeconds:i})=>{const o=Rt(),s=E.useRef(null);return E.useEffect(()=>{s.current&&ee.to(s.current,{width:`${e>100?100:e}%`,duration:i??1,ease:"power2.out"})},[e,i]),A.jsx("div",{style:{width:r??"100%",position:"relative",backgroundColor:o.palette[n].light,borderRadius:"8px",height:t??"8px",border:`2px solid ${o.palette[n].light}`},children:A.jsx("div",{ref:s,style:{position:"absolute",top:"0",left:"0",height:"100%",width:"0%",backgroundColor:o.palette[n].main,borderRadius:"8px"}})})},nc=({option:n,handleChange:e})=>{const t=Rt();return A.jsx(ye,{onClick:()=>e&&n&&e(n),px:1.5,py:1,height:"37px",hoverstyle:{backgroundColor:t.palette.primary.light},children:n?.label&&A.jsx(ut,{size:"14",align:"left",children:n.label})},n?.key)},ic=E.forwardRef(n=>{const e=Rt(),[t,r]=E.useState(n.value??n.initialValue??(n.placeholder?{key:n.placeholder,label:n.placeholder}:void 0)),[i,o]=E.useState(!1),[s,a]=E.useState(void 0),c=E.useRef(null),u=E.useRef(null),f=E.useRef(null);E.useEffect(()=>{const h=l=>{c.current&&!c.current.contains(l.target)&&o(!1)};return document.addEventListener("mousedown",h),()=>{document.removeEventListener("mousedown",h)}},[]),E.useLayoutEffect(()=>{i?ee.to(f.current,{autoAlpha:1,y:0,duration:.3,ease:"power2.out"}):ee.to(f.current,{autoAlpha:0,y:-10,duration:.2,ease:"power2.in"})},[i]),E.useEffect(()=>{u.current&&a(u.current.clientHeight)},[u.current]);const d=h=>{r(h),n.onChange&&n.onChange(h),o(!1)};return A.jsxs(ye,{ref:c,direction:"column",width:"100%",justify:"start",children:[(n.label||n.required)&&A.jsxs(ye,{direction:"row",gap:.5,align:"center",mb:"4px",style:{minHeight:"1.2em"},children:[n.label&&A.jsx(ut,{size:"12",children:n.label}),n.required&&A.jsx(ut,{color:e.palette.error.main,size:"12",children:"*"})]}),A.jsxs(ye,{ref:u,elevation:1,onClick:()=>o(!i),style:{position:"relative",cursor:"pointer",...n.selectOptionStyle},children:[n.CustomOption?A.jsx(n.CustomOption,{option:t}):A.jsx(nc,{option:t}),A.jsx(ye,{ref:f,elevation:1,width:"100%",gap:.5,style:{position:"absolute",left:"0",...!n.orientation||n.orientation==="down"?{top:s?`${s+1}px`:"37px"}:{bottom:s?`${s+1}px`:"37px"},visibility:"hidden",zIndex:1,backdropFilter:"blur(6px)",maxHeight:"200px",overflowY:"auto",...n.hideScrollbar&&{scrollbarWidth:"none",msOverflowStyle:"none"},...n.optionContainerStyle},children:n.options.map(h=>n.CustomOption?A.jsx(n.CustomOption,{option:h,handleChange:d}):A.jsx(nc,{option:h,handleChange:d}))})]})]})});ic.displayName="Select";const Rd=ct.div`
266
266
  display: inline-block;
267
267
  position: relative;
268
268
  overflow: hidden;
@@ -311,7 +311,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Ti]+=1);const Ot={none:"0px",
311
311
 
312
312
  width: ${({w:n})=>n};
313
313
  height: ${({h:n})=>n};
314
- `,oc=E.forwardRef((n,e)=>{const t=Rt();return A.jsxs(ye,{direction:"column",children:[A.jsx(Dd,{ref:e,...n}),n.error&&A.jsx(ut,{color:t.palette.error.main,size:"10",mt:"4px",style:{minHeight:"1.2em"},children:n.error})]})});oc.displayName="TextArea";const Nd=ct(ye)`
314
+ `,oc=E.forwardRef((n,e)=>{const t=Rt();return A.jsxs(ye,{direction:"column",children:[A.jsx(Dd,{ref:e,...n}),n.error&&A.jsx(ut,{color:t.palette.error.main,size:"10",mt:"4px",style:{minHeight:"1.2em"},children:n.error})]})});oc.displayName="TextArea";const $d=ct(ye)`
315
315
  box-shadow: ${()=>Ll[2]};
316
316
  z-index: 99999;
317
317
  background-color: white;
@@ -322,11 +322,11 @@ See https://s-c.sh/2BAXzed for more info.`),window[Ti]+=1);const Ot={none:"0px",
322
322
  svg {
323
323
  stroke: ${({theme:n,color:e})=>n.palette[e??"default"].main};
324
324
  }
325
- `,Ko=E.forwardRef(({children:n,style:e,...t},r)=>{const i=Rt(),{isMobile:o}=Jr();return A.jsxs(Nd,{ref:r,p:.5,elevation:3,...t,style:{...e},children:[t.onClose&&A.jsx(ki,{size:"sm",variant:"text",color:"default",starticon:A.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",children:[A.jsx("path",{d:"M18 6 6 18"}),A.jsx("path",{d:"m6 6 12 12"})]}),onClick:t.onClose,style:{position:"absolute",top:"0px",right:"0px",cursor:"pointer"}}),n,!n&&A.jsxs(ye,{direction:"row",align:"center",style:{minWidth:"300px",width:o?"calc(100vw - 40px)":"auto"},children:[t.icon&&A.jsx(ye,{p:1.5,style:{backgroundColor:`${i.palette[t.color??"default"].light}44`},children:t.icon}),t.title&&A.jsx(ut,{size:"14",p:1.5,children:t.title})]})]})});Ko.displayName="Toast";/*!
325
+ `,Ko=E.forwardRef(({children:n,style:e,...t},r)=>{const i=Rt(),{isMobile:o}=Jr();return A.jsxs($d,{ref:r,p:.5,elevation:3,...t,style:{...e},children:[t.onClose&&A.jsx(ki,{size:"sm",variant:"text",color:"default",starticon:A.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",children:[A.jsx("path",{d:"M18 6 6 18"}),A.jsx("path",{d:"m6 6 12 12"})]}),onClick:t.onClose,style:{position:"absolute",top:"0px",right:"0px",cursor:"pointer"}}),n,!n&&A.jsxs(ye,{direction:"row",align:"center",style:{minWidth:"300px",width:o?"calc(100vw - 40px)":"auto"},children:[t.icon&&A.jsx(ye,{p:1.5,style:{backgroundColor:`${i.palette[t.color??"default"].light}44`},children:t.icon}),t.title&&A.jsx(ut,{size:"14",p:1.5,children:t.title})]})]})});Ko.displayName="Toast";/*!
326
326
  * matrix 3.13.0
327
327
  * https://gsap.com
328
328
  *
329
329
  * Copyright 2008-2025, GreenSock. All rights reserved.
330
330
  * Subject to the terms at https://gsap.com/standard-license
331
331
  * @author: Jack Doyle, jack@greensock.com
332
- */var Ft,Sr,Qo,Pi,Rn,Ei,Ri,On,mt="transform",Zo=mt+"Origin",sc,ac=function(e){var t=e.ownerDocument||e;for(!(mt in e.style)&&("msTransform"in e.style)&&(mt="msTransform",Zo=mt+"Origin");t.parentNode&&(t=t.parentNode););if(Sr=window,Ri=new kr,t){Ft=t,Qo=t.documentElement,Pi=t.body,On=Ft.createElementNS("http://www.w3.org/2000/svg","g"),On.style.transform="none";var r=t.createElement("div"),i=t.createElement("div"),o=t&&(t.body||t.firstElementChild);o&&o.appendChild&&(o.appendChild(r),r.appendChild(i),r.setAttribute("style","position:static;transform:translate3d(0,0,1px)"),sc=i.offsetParent!==r,o.removeChild(r))}return t},$d=function(e){for(var t,r;e&&e!==Pi;)r=e._gsap,r&&r.uncache&&r.get(e,"x"),r&&!r.scaleX&&!r.scaleY&&r.renderTransform&&(r.scaleX=r.scaleY=1e-4,r.renderTransform(1,r),t?t.push(r):t=[r]),e=e.parentNode;return t},lc=[],cc=[],Id=function(){return Sr.pageYOffset||Ft.scrollTop||Qo.scrollTop||Pi.scrollTop||0},zd=function(){return Sr.pageXOffset||Ft.scrollLeft||Qo.scrollLeft||Pi.scrollLeft||0},Jo=function(e){return e.ownerSVGElement||((e.tagName+"").toLowerCase()==="svg"?e:null)},Ld=function n(e){if(Sr.getComputedStyle(e).position==="fixed")return!0;if(e=e.parentNode,e&&e.nodeType===1)return n(e)},es=function n(e,t){if(e.parentNode&&(Ft||ac(e))){var r=Jo(e),i=r?r.getAttribute("xmlns")||"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",o=r?t?"rect":"g":"div",s=t!==2?0:100,a=t===3?100:0,c="position:absolute;display:block;pointer-events:none;margin:0;padding:0;",u=Ft.createElementNS?Ft.createElementNS(i.replace(/^https/,"http"),o):Ft.createElement(o);return t&&(r?(Ei||(Ei=n(e)),u.setAttribute("width",.01),u.setAttribute("height",.01),u.setAttribute("transform","translate("+s+","+a+")"),Ei.appendChild(u)):(Rn||(Rn=n(e),Rn.style.cssText=c),u.style.cssText=c+"width:0.1px;height:0.1px;top:"+a+"px;left:"+s+"px",Rn.appendChild(u))),u}throw"Need document and parent."},Fd=function(e){for(var t=new kr,r=0;r<e.numberOfItems;r++)t.multiply(e.getItem(r).matrix);return t},jd=function(e){var t=e.getCTM(),r;return t||(r=e.style[mt],e.style[mt]="none",e.appendChild(On),t=On.getCTM(),e.removeChild(On),r?e.style[mt]=r:e.style.removeProperty(mt.replace(/([A-Z])/g,"-$1").toLowerCase())),t||Ri.clone()},Bd=function(e,t){var r=Jo(e),i=e===r,o=r?lc:cc,s=e.parentNode,a=s&&!r&&s.shadowRoot&&s.shadowRoot.appendChild?s.shadowRoot:s,c,u,f,d,h,l;if(e===Sr)return e;if(o.length||o.push(es(e,1),es(e,2),es(e,3)),c=r?Ei:Rn,r)i?(f=jd(e),d=-f.e/f.a,h=-f.f/f.d,u=Ri):e.getBBox?(f=e.getBBox(),u=e.transform?e.transform.baseVal:{},u=u.numberOfItems?u.numberOfItems>1?Fd(u):u.getItem(0).matrix:Ri,d=u.a*f.x+u.c*f.y,h=u.b*f.x+u.d*f.y):(u=new kr,d=h=0),(i?r:s).appendChild(c),c.setAttribute("transform","matrix("+u.a+","+u.b+","+u.c+","+u.d+","+(u.e+d)+","+(u.f+h)+")");else{if(d=h=0,sc)for(u=e.offsetParent,f=e;f&&(f=f.parentNode)&&f!==u&&f.parentNode;)(Sr.getComputedStyle(f)[mt]+"").length>4&&(d=f.offsetLeft,h=f.offsetTop,f=0);if(l=Sr.getComputedStyle(e),l.position!=="absolute"&&l.position!=="fixed")for(u=e.offsetParent;s&&s!==u;)d+=s.scrollLeft||0,h+=s.scrollTop||0,s=s.parentNode;f=c.style,f.top=e.offsetTop-h+"px",f.left=e.offsetLeft-d+"px",f[mt]=l[mt],f[Zo]=l[Zo],f.position=l.position==="fixed"?"fixed":"absolute",a.appendChild(c)}return c},ts=function(e,t,r,i,o,s,a){return e.a=t,e.b=r,e.c=i,e.d=o,e.e=s,e.f=a,e},kr=(function(){function n(t,r,i,o,s,a){t===void 0&&(t=1),r===void 0&&(r=0),i===void 0&&(i=0),o===void 0&&(o=1),s===void 0&&(s=0),a===void 0&&(a=0),ts(this,t,r,i,o,s,a)}var e=n.prototype;return e.inverse=function(){var r=this.a,i=this.b,o=this.c,s=this.d,a=this.e,c=this.f,u=r*s-i*o||1e-10;return ts(this,s/u,-i/u,-o/u,r/u,(o*c-s*a)/u,-(r*c-i*a)/u)},e.multiply=function(r){var i=this.a,o=this.b,s=this.c,a=this.d,c=this.e,u=this.f,f=r.a,d=r.c,h=r.b,l=r.d,g=r.e,p=r.f;return ts(this,f*i+h*s,f*o+h*a,d*i+l*s,d*o+l*a,c+g*i+p*s,u+g*o+p*a)},e.clone=function(){return new n(this.a,this.b,this.c,this.d,this.e,this.f)},e.equals=function(r){var i=this.a,o=this.b,s=this.c,a=this.d,c=this.e,u=this.f;return i===r.a&&o===r.b&&s===r.c&&a===r.d&&c===r.e&&u===r.f},e.apply=function(r,i){i===void 0&&(i={});var o=r.x,s=r.y,a=this.a,c=this.b,u=this.c,f=this.d,d=this.e,h=this.f;return i.x=o*a+s*u+d||0,i.y=o*c+s*f+h||0,i},n})();function Cr(n,e,t,r){if(!n||!n.parentNode||(Ft||ac(n)).documentElement===n)return new kr;var i=$d(n),o=Jo(n),s=o?lc:cc,a=Bd(n),c=s[0].getBoundingClientRect(),u=s[1].getBoundingClientRect(),f=s[2].getBoundingClientRect(),d=a.parentNode,h=Ld(n),l=new kr((u.left-c.left)/100,(u.top-c.top)/100,(f.left-c.left)/100,(f.top-c.top)/100,c.left+(h?0:zd()),c.top+(h?0:Id()));if(d.removeChild(a),i)for(c=i.length;c--;)u=i[c],u.scaleX=u.scaleY=0,u.renderTransform(1,u);return e?l.inverse():l}function uc(n){if(n===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function Yd(n,e){n.prototype=Object.create(e.prototype),n.prototype.constructor=n,n.__proto__=e}var re,de,rt,_t,jt,rs,Bt,ns,Mn,er,fc,is,An,os,Dn,yt,Nn,Oi,dc,ss,Mi=0,hc=function(){return typeof window<"u"},pc=function(){return re||hc()&&(re=window.gsap)&&re.registerPlugin&&re},tr=function(e){return typeof e=="function"},$n=function(e){return typeof e=="object"},xt=function(e){return typeof e>"u"},Ai=function(){return!1},In="transform",as="transformOrigin",rr=function(e){return Math.round(e*1e4)/1e4},zn=Array.isArray,Di=function(e,t){var r=rt.createElementNS?rt.createElementNS("http://www.w3.org/1999/xhtml".replace(/^https/,"http"),e):rt.createElement(e);return r.style?r:rt.createElement(e)},gc=180/Math.PI,Pr=1e20,Wd=new kr,nr=Date.now||function(){return new Date().getTime()},Er=[],en={},Xd=0,Vd=/^(?:a|input|textarea|button|select)$/i,mc=0,tn={},Yt={},_c=function(e,t){var r={},i;for(i in e)r[i]=t?e[i]*t:e[i];return r},Hd=function(e,t){for(var r in t)r in e||(e[r]=t[r]);return e},yc=function n(e,t){for(var r=e.length,i;r--;)t?e[r].style.touchAction=t:e[r].style.removeProperty("touch-action"),i=e[r].children,i&&i.length&&n(i,t)},xc=function(){return Er.forEach(function(e){return e()})},Ud=function(e){Er.push(e),Er.length===1&&re.ticker.add(xc)},vc=function(){return!Er.length&&re.ticker.remove(xc)},wc=function(e){for(var t=Er.length;t--;)Er[t]===e&&Er.splice(t,1);re.to(vc,{overwrite:!0,delay:15,duration:0,onComplete:vc,data:"_draggable"})},Gd=function(e,t){for(var r in t)r in e||(e[r]=t[r]);return e},Re=function(e,t,r,i){if(e.addEventListener){var o=An[t];i=i||(fc?{passive:!1}:null),e.addEventListener(o||t,r,i),o&&t!==o&&e.addEventListener(t,r,i)}},Pe=function(e,t,r,i){if(e.removeEventListener){var o=An[t];e.removeEventListener(o||t,r,i),o&&t!==o&&e.removeEventListener(t,r,i)}},ft=function(e){e.preventDefault&&e.preventDefault(),e.preventManipulation&&e.preventManipulation()},qd=function(e,t){for(var r=e.length;r--;)if(e[r].identifier===t)return!0},Kd=function n(e){os=e.touches&&Mi<e.touches.length,Pe(e.target,"touchend",n)},bc=function(e){os=e.touches&&Mi<e.touches.length,Re(e.target,"touchend",Kd)},rn=function(e){return de.pageYOffset||e.scrollTop||e.documentElement.scrollTop||e.body.scrollTop||0},nn=function(e){return de.pageXOffset||e.scrollLeft||e.documentElement.scrollLeft||e.body.scrollLeft||0},Tc=function n(e,t){Re(e,"scroll",t),on(e.parentNode)||n(e.parentNode,t)},Sc=function n(e,t){Pe(e,"scroll",t),on(e.parentNode)||n(e.parentNode,t)},on=function(e){return!e||e===_t||e.nodeType===9||e===rt.body||e===de||!e.nodeType||!e.parentNode},kc=function(e,t){var r=t==="x"?"Width":"Height",i="scroll"+r,o="client"+r;return Math.max(0,on(e)?Math.max(_t[i],jt[i])-(de["inner"+r]||_t[o]||jt[o]):e[i]-e[o])},ls=function n(e,t){var r=kc(e,"x"),i=kc(e,"y");on(e)?e=Yt:n(e.parentNode,t),e._gsMaxScrollX=r,e._gsMaxScrollY=i,t||(e._gsScrollX=e.scrollLeft||0,e._gsScrollY=e.scrollTop||0)},cs=function(e,t,r){var i=e.style;i&&(xt(i[t])&&(t=Mn(t,e)||t),r==null?i.removeProperty&&i.removeProperty(t.replace(/([A-Z])/g,"-$1").toLowerCase()):i[t]=r)},Ln=function(e){return de.getComputedStyle(e instanceof Element?e:e.host||(e.parentNode||{}).host||e)},Rr={},sn=function(e){if(e===de)return Rr.left=Rr.top=0,Rr.width=Rr.right=_t.clientWidth||e.innerWidth||jt.clientWidth||0,Rr.height=Rr.bottom=(e.innerHeight||0)-20<_t.clientHeight?_t.clientHeight:e.innerHeight||jt.clientHeight||0,Rr;var t=e.ownerDocument||rt,r=xt(e.pageX)?!e.nodeType&&!xt(e.left)&&!xt(e.top)?e:er(e)[0].getBoundingClientRect():{left:e.pageX-nn(t),top:e.pageY-rn(t),right:e.pageX-nn(t)+1,bottom:e.pageY-rn(t)+1};return xt(r.right)&&!xt(r.width)?(r.right=r.left+r.width,r.bottom=r.top+r.height):xt(r.width)&&(r={width:r.right-r.left,height:r.bottom-r.top,right:r.right,left:r.left,bottom:r.bottom,top:r.top}),r},be=function(e,t,r){var i=e.vars,o=i[r],s=e._listeners[t],a;return tr(o)&&(a=o.apply(i.callbackScope||e,i[r+"Params"]||[e.pointerEvent])),s&&e.dispatchEvent(t)===!1&&(a=!1),a},Cc=function(e,t){var r=er(e)[0],i,o,s;return!r.nodeType&&r!==de?xt(e.left)?(o=e.min||e.minX||e.minRotation||0,i=e.min||e.minY||0,{left:o,top:i,width:(e.max||e.maxX||e.maxRotation||0)-o,height:(e.max||e.maxY||0)-i}):(s={x:0,y:0},{left:e.left-s.x,top:e.top-s.y,width:e.width,height:e.height}):Qd(r,t)},dt={},Qd=function(e,t){t=er(t)[0];var r=e.getBBox&&e.ownerSVGElement,i=e.ownerDocument||rt,o,s,a,c,u,f,d,h,l,g,p,y,x;if(e===de)a=rn(i),o=nn(i),s=o+(i.documentElement.clientWidth||e.innerWidth||i.body.clientWidth||0),c=a+((e.innerHeight||0)-20<i.documentElement.clientHeight?i.documentElement.clientHeight:e.innerHeight||i.body.clientHeight||0);else{if(t===de||xt(t))return e.getBoundingClientRect();o=a=0,r?(g=e.getBBox(),p=g.width,y=g.height):(e.viewBox&&(g=e.viewBox.baseVal)&&(o=g.x||0,a=g.y||0,p=g.width,y=g.height),p||(x=Ln(e),g=x.boxSizing==="border-box",p=(parseFloat(x.width)||e.clientWidth||0)+(g?0:parseFloat(x.borderLeftWidth)+parseFloat(x.borderRightWidth)),y=(parseFloat(x.height)||e.clientHeight||0)+(g?0:parseFloat(x.borderTopWidth)+parseFloat(x.borderBottomWidth)))),s=p,c=y}return e===t?{left:o,top:a,width:s-o,height:c-a}:(u=Cr(t,!0).multiply(Cr(e)),f=u.apply({x:o,y:a}),d=u.apply({x:s,y:a}),h=u.apply({x:s,y:c}),l=u.apply({x:o,y:c}),o=Math.min(f.x,d.x,h.x,l.x),a=Math.min(f.y,d.y,h.y,l.y),{left:o,top:a,width:Math.max(f.x,d.x,h.x,l.x)-o,height:Math.max(f.y,d.y,h.y,l.y)-a})},us=function(e,t,r,i,o,s){var a={},c,u,f;if(t)if(o!==1&&t instanceof Array){if(a.end=c=[],f=t.length,$n(t[0]))for(u=0;u<f;u++)c[u]=_c(t[u],o);else for(u=0;u<f;u++)c[u]=t[u]*o;r+=1.1,i-=1.1}else tr(t)?a.end=function(d){var h=t.call(e,d),l,g;if(o!==1)if($n(h)){l={};for(g in h)l[g]=h[g]*o;h=l}else h*=o;return h}:a.end=t;return(r||r===0)&&(a.max=r),(i||i===0)&&(a.min=i),s&&(a.velocity=0),a},Zd=function n(e){var t;return!e||!e.getAttribute||e===jt?!1:(t=e.getAttribute("data-clickable"))==="true"||t!=="false"&&(Vd.test(e.nodeName+"")||e.getAttribute("contentEditable")==="true")?!0:n(e.parentNode)},Ni=function(e,t){for(var r=e.length,i;r--;)i=e[r],i.ondragstart=i.onselectstart=t?null:Ai,re.set(i,{lazy:!0,userSelect:t?"text":"none"})},Jd=function n(e){if(Ln(e).position==="fixed")return!0;if(e=e.parentNode,e&&e.nodeType===1)return n(e)},Pc,fs,eh=function(e,t){e=re.utils.toArray(e)[0],t=t||{};var r=document.createElement("div"),i=r.style,o=e.firstChild,s=0,a=0,c=e.scrollTop,u=e.scrollLeft,f=e.scrollWidth,d=e.scrollHeight,h=0,l=0,g=0,p,y,x,S,k,C;Pc&&t.force3D!==!1?(k="translate3d(",C="px,0px)"):In&&(k="translate(",C="px)"),this.scrollTop=function(_,w){if(!arguments.length)return-this.top();this.top(-_,w)},this.scrollLeft=function(_,w){if(!arguments.length)return-this.left();this.left(-_,w)},this.left=function(_,w){if(!arguments.length)return-(e.scrollLeft+a);var v=e.scrollLeft-u,b=a;if((v>2||v<-2)&&!w){u=e.scrollLeft,re.killTweensOf(this,{left:1,scrollLeft:1}),this.left(-u),t.onKill&&t.onKill();return}_=-_,_<0?(a=_-.5|0,_=0):_>l?(a=_-l|0,_=l):a=0,(a||b)&&(this._skip||(i[In]=k+-a+"px,"+-s+C),a+h>=0&&(i.paddingRight=a+h+"px")),e.scrollLeft=_|0,u=e.scrollLeft},this.top=function(_,w){if(!arguments.length)return-(e.scrollTop+s);var v=e.scrollTop-c,b=s;if((v>2||v<-2)&&!w){c=e.scrollTop,re.killTweensOf(this,{top:1,scrollTop:1}),this.top(-c),t.onKill&&t.onKill();return}_=-_,_<0?(s=_-.5|0,_=0):_>g?(s=_-g|0,_=g):s=0,(s||b)&&(this._skip||(i[In]=k+-a+"px,"+-s+C)),e.scrollTop=_|0,c=e.scrollTop},this.maxScrollTop=function(){return g},this.maxScrollLeft=function(){return l},this.disable=function(){for(o=r.firstChild;o;)S=o.nextSibling,e.appendChild(o),o=S;e===r.parentNode&&e.removeChild(r)},this.enable=function(){if(o=e.firstChild,o!==r){for(;o;)S=o.nextSibling,r.appendChild(o),o=S;e.appendChild(r),this.calibrate()}},this.calibrate=function(_){var w=e.clientWidth===p,v,b,R;c=e.scrollTop,u=e.scrollLeft,!(w&&e.clientHeight===y&&r.offsetHeight===x&&f===e.scrollWidth&&d===e.scrollHeight&&!_)&&((s||a)&&(b=this.left(),R=this.top(),this.left(-e.scrollLeft),this.top(-e.scrollTop)),v=Ln(e),(!w||_)&&(i.display="block",i.width="auto",i.paddingRight="0px",h=Math.max(0,e.scrollWidth-e.clientWidth),h&&(h+=parseFloat(v.paddingLeft)+(fs?parseFloat(v.paddingRight):0))),i.display="inline-block",i.position="relative",i.overflow="visible",i.verticalAlign="top",i.boxSizing="content-box",i.width="100%",i.paddingRight=h+"px",fs&&(i.paddingBottom=v.paddingBottom),p=e.clientWidth,y=e.clientHeight,f=e.scrollWidth,d=e.scrollHeight,l=e.scrollWidth-p,g=e.scrollHeight-y,x=r.offsetHeight,i.display="block",(b||R)&&(this.left(b),this.top(R)))},this.content=r,this.element=e,this._skip=!1,this.enable()},ds=function(e){if(hc()&&document.body){var t=window&&window.navigator;de=window,rt=document,_t=rt.documentElement,jt=rt.body,rs=Di("div"),Oi=!!window.PointerEvent,Bt=Di("div"),Bt.style.cssText="visibility:hidden;height:1px;top:-1px;pointer-events:none;position:relative;clear:both;cursor:grab",Nn=Bt.style.cursor==="grab"?"grab":"move",Dn=t&&t.userAgent.toLowerCase().indexOf("android")!==-1,is="ontouchstart"in _t&&"orientation"in de||t&&(t.MaxTouchPoints>0||t.msMaxTouchPoints>0),fs=(function(){var r=Di("div"),i=Di("div"),o=i.style,s=jt,a;return o.display="inline-block",o.position="relative",r.style.cssText="width:90px;height:40px;padding:10px;overflow:auto;visibility:hidden",r.appendChild(i),s.appendChild(r),a=i.offsetHeight+18>r.scrollHeight,s.removeChild(r),a})(),An=(function(r){for(var i=r.split(","),o=("onpointerdown"in rs?"pointerdown,pointermove,pointerup,pointercancel":"onmspointerdown"in rs?"MSPointerDown,MSPointerMove,MSPointerUp,MSPointerCancel":r).split(","),s={},a=4;--a>-1;)s[i[a]]=o[a],s[o[a]]=i[a];try{_t.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){fc=1}}))}catch{}return s})("touchstart,touchmove,touchend,touchcancel"),Re(rt,"touchcancel",Ai),Re(de,"touchmove",Ai),jt&&jt.addEventListener("touchstart",Ai),Re(rt,"contextmenu",function(){for(var r in en)en[r].isPressed&&en[r].endDrag()}),re=ns=pc()}re?(yt=re.plugins.inertia,dc=re.core.context||function(){},Mn=re.utils.checkPrefix,In=Mn(In),as=Mn(as),er=re.utils.toArray,ss=re.core.getStyleSaver,Pc=!!Mn("perspective")):e&&console.warn("Please gsap.registerPlugin(Draggable)")},th=(function(){function n(t){this._listeners={},this.target=t||this}var e=n.prototype;return e.addEventListener=function(r,i){var o=this._listeners[r]||(this._listeners[r]=[]);~o.indexOf(i)||o.push(i)},e.removeEventListener=function(r,i){var o=this._listeners[r],s=o&&o.indexOf(i);s>=0&&o.splice(s,1)},e.dispatchEvent=function(r){var i=this,o;return(this._listeners[r]||[]).forEach(function(s){return s.call(i,{type:r,target:i.target})===!1&&(o=!1)}),o},n})(),an=(function(n){Yd(e,n);function e(t,r){var i;i=n.call(this)||this,ns||ds(1),t=er(t)[0],i.styles=ss&&ss(t,"transform,left,top"),yt||(yt=re.plugins.inertia),i.vars=r=_c(r||{}),i.target=t,i.x=i.y=i.rotation=0,i.dragResistance=parseFloat(r.dragResistance)||0,i.edgeResistance=isNaN(r.edgeResistance)?1:parseFloat(r.edgeResistance)||0,i.lockAxis=r.lockAxis,i.autoScroll=r.autoScroll||0,i.lockedAxis=null,i.allowEventDefault=!!r.allowEventDefault,re.getProperty(t,"x");var o=(r.type||"x,y").toLowerCase(),s=~o.indexOf("x")||~o.indexOf("y"),a=o.indexOf("rotation")!==-1,c=a?"rotation":s?"x":"left",u=s?"y":"top",f=!!(~o.indexOf("x")||~o.indexOf("left")||o==="scroll"),d=!!(~o.indexOf("y")||~o.indexOf("top")||o==="scroll"),h=r.minimumMovement||2,l=uc(i),g=er(r.trigger||r.handle||t),p={},y=0,x=!1,S=r.autoScrollMarginTop||40,k=r.autoScrollMarginRight||40,C=r.autoScrollMarginBottom||40,_=r.autoScrollMarginLeft||40,w=r.clickableTest||Zd,v=0,b=t._gsap||re.core.getCache(t),R=Jd(t),Y=function(m,O){return parseFloat(b.get(t,m,O))},z=t.ownerDocument||rt,F,M,G,U,X,j,ie,J,P,N,$,V,H,ae,xe,qe,q,Ae,Fe,We,je,Fn,Ne,se,Oc,ht,vt,ms,_s,Mc,nt,Ac,$i,Dc=function(m){return ft(m),m.stopImmediatePropagation&&m.stopImmediatePropagation(),!1},Mt=function W(m){if(l.autoScroll&&l.isDragging&&(x||q)){var O=t,T=l.autoScroll*15,D,I,L,Z,B,le,ne,ce;for(x=!1,Yt.scrollTop=de.pageYOffset!=null?de.pageYOffset:z.documentElement.scrollTop!=null?z.documentElement.scrollTop:z.body.scrollTop,Yt.scrollLeft=de.pageXOffset!=null?de.pageXOffset:z.documentElement.scrollLeft!=null?z.documentElement.scrollLeft:z.body.scrollLeft,Z=l.pointerX-Yt.scrollLeft,B=l.pointerY-Yt.scrollTop;O&&!I;)I=on(O.parentNode),D=I?Yt:O.parentNode,L=I?{bottom:Math.max(_t.clientHeight,de.innerHeight||0),right:Math.max(_t.clientWidth,de.innerWidth||0),left:0,top:0}:D.getBoundingClientRect(),le=ne=0,d&&(ce=D._gsMaxScrollY-D.scrollTop,ce<0?ne=ce:B>L.bottom-C&&ce?(x=!0,ne=Math.min(ce,T*(1-Math.max(0,L.bottom-B)/C)|0)):B<L.top+S&&D.scrollTop&&(x=!0,ne=-Math.min(D.scrollTop,T*(1-Math.max(0,B-L.top)/S)|0)),ne&&(D.scrollTop+=ne)),f&&(ce=D._gsMaxScrollX-D.scrollLeft,ce<0?le=ce:Z>L.right-k&&ce?(x=!0,le=Math.min(ce,T*(1-Math.max(0,L.right-Z)/k)|0)):Z<L.left+_&&D.scrollLeft&&(x=!0,le=-Math.min(D.scrollLeft,T*(1-Math.max(0,Z-L.left)/_)|0)),le&&(D.scrollLeft+=le)),I&&(le||ne)&&(de.scrollTo(D.scrollLeft,D.scrollTop),Yn(l.pointerX+le,l.pointerY+ne)),O=D}if(q){var Te=l.x,Be=l.y;a?(l.deltaX=Te-parseFloat(b.rotation),l.rotation=Te,b.rotation=Te+"deg",b.renderTransform(1,b)):M?(d&&(l.deltaY=Be-M.top(),M.top(Be)),f&&(l.deltaX=Te-M.left(),M.left(Te))):s?(d&&(l.deltaY=Be-parseFloat(b.y),b.y=Be+"px"),f&&(l.deltaX=Te-parseFloat(b.x),b.x=Te+"px"),b.renderTransform(1,b)):(d&&(l.deltaY=Be-parseFloat(t.style.top||0),t.style.top=Be+"px"),f&&(l.deltaX=Te-parseFloat(t.style.left||0),t.style.left=Te+"px")),J&&!m&&!ms&&(ms=!0,be(l,"drag","onDrag")===!1&&(f&&(l.x-=l.deltaX),d&&(l.y-=l.deltaY),W(!0)),ms=!1)}q=!1},Or=function(m,O){var T=l.x,D=l.y,I,L;t._gsap||(b=re.core.getCache(t)),b.uncache&&re.getProperty(t,"x"),s?(l.x=parseFloat(b.x),l.y=parseFloat(b.y)):a?l.x=l.rotation=parseFloat(b.rotation):M?(l.y=M.top(),l.x=M.left()):(l.y=parseFloat(t.style.top||(L=Ln(t))&&L.top)||0,l.x=parseFloat(t.style.left||(L||{}).left)||0),(Fe||We||je)&&!O&&(l.isDragging||l.isThrowing)&&(je&&(tn.x=l.x,tn.y=l.y,I=je(tn),I.x!==l.x&&(l.x=I.x,q=!0),I.y!==l.y&&(l.y=I.y,q=!0)),Fe&&(I=Fe(l.x),I!==l.x&&(l.x=I,a&&(l.rotation=I),q=!0)),We&&(I=We(l.y),I!==l.y&&(l.y=I),q=!0)),q&&Mt(!0),m||(l.deltaX=l.x-T,l.deltaY=l.y-D,be(l,"throwupdate","onThrowUpdate"))},ys=function(m,O,T,D){return O==null&&(O=-Pr),T==null&&(T=Pr),tr(m)?function(I){var L=l.isPressed?1-l.edgeResistance:1;return m.call(l,(I>T?T+(I-T)*L:I<O?O+(I-O)*L:I)*D)*D}:zn(m)?function(I){for(var L=m.length,Z=0,B=Pr,le,ne;--L>-1;)le=m[L],ne=le-I,ne<0&&(ne=-ne),ne<B&&le>=O&&le<=T&&(Z=L,B=ne);return m[Z]}:isNaN(m)?function(I){return I}:function(){return m*D}},dh=function(m,O,T,D,I,L,Z){return L=L&&L<Pr?L*L:Pr,tr(m)?function(B){var le=l.isPressed?1-l.edgeResistance:1,ne=B.x,ce=B.y,Te,Be,Wt;return B.x=ne=ne>T?T+(ne-T)*le:ne<O?O+(ne-O)*le:ne,B.y=ce=ce>I?I+(ce-I)*le:ce<D?D+(ce-D)*le:ce,Te=m.call(l,B),Te!==B&&(B.x=Te.x,B.y=Te.y),Z!==1&&(B.x*=Z,B.y*=Z),L<Pr&&(Be=B.x-ne,Wt=B.y-ce,Be*Be+Wt*Wt>L&&(B.x=ne,B.y=ce)),B}:zn(m)?function(B){for(var le=m.length,ne=0,ce=Pr,Te,Be,Wt,pt;--le>-1;)Wt=m[le],Te=Wt.x-B.x,Be=Wt.y-B.y,pt=Te*Te+Be*Be,pt<ce&&(ne=le,ce=pt);return ce<=L?m[ne]:B}:function(B){return B}},xs=function(){var m,O,T,D;ie=!1,M?(M.calibrate(),l.minX=$=-M.maxScrollLeft(),l.minY=H=-M.maxScrollTop(),l.maxX=N=l.maxY=V=0,ie=!0):r.bounds&&(m=Cc(r.bounds,t.parentNode),a?(l.minX=$=m.left,l.maxX=N=m.left+m.width,l.minY=H=l.maxY=V=0):!xt(r.bounds.maxX)||!xt(r.bounds.maxY)?(m=r.bounds,l.minX=$=m.minX,l.minY=H=m.minY,l.maxX=N=m.maxX,l.maxY=V=m.maxY):(O=Cc(t,t.parentNode),l.minX=$=Math.round(Y(c,"px")+m.left-O.left),l.minY=H=Math.round(Y(u,"px")+m.top-O.top),l.maxX=N=Math.round($+(m.width-O.width)),l.maxY=V=Math.round(H+(m.height-O.height))),$>N&&(l.minX=N,l.maxX=N=$,$=l.minX),H>V&&(l.minY=V,l.maxY=V=H,H=l.minY),a&&(l.minRotation=$,l.maxRotation=N),ie=!0),r.liveSnap&&(T=r.liveSnap===!0?r.snap||{}:r.liveSnap,D=zn(T)||tr(T),a?(Fe=ys(D?T:T.rotation,$,N,1),We=null):T.points?je=dh(D?T:T.points,$,N,H,V,T.radius,M?-1:1):(f&&(Fe=ys(D?T:T.x||T.left||T.scrollLeft,$,N,M?-1:1)),d&&(We=ys(D?T:T.y||T.top||T.scrollTop,H,V,M?-1:1))))},hh=function(){l.isThrowing=!1,be(l,"throwcomplete","onThrowComplete")},ph=function(){l.isThrowing=!1},vs=function(m,O){var T,D,I,L;m&&yt?(m===!0&&(T=r.snap||r.liveSnap||{},D=zn(T)||tr(T),m={resistance:(r.throwResistance||r.resistance||1e3)/(a?10:1)},a?m.rotation=us(l,D?T:T.rotation,N,$,1,O):(f&&(m[c]=us(l,D?T:T.points||T.x||T.left,N,$,M?-1:1,O||l.lockedAxis==="x")),d&&(m[u]=us(l,D?T:T.points||T.y||T.top,V,H,M?-1:1,O||l.lockedAxis==="y")),(T.points||zn(T)&&$n(T[0]))&&(m.linkedProps=c+","+u,m.radius=T.radius))),l.isThrowing=!0,L=isNaN(r.overshootTolerance)?r.edgeResistance===1?0:1-l.edgeResistance+.2:r.overshootTolerance,m.duration||(m.duration={max:Math.max(r.minDuration||0,"maxDuration"in r?r.maxDuration:2),min:isNaN(r.minDuration)?L===0||$n(m)&&m.resistance>1e3?0:.5:r.minDuration,overshoot:L}),l.tween=I=re.to(M||t,{inertia:m,data:"_draggable",inherit:!1,onComplete:hh,onInterrupt:ph,onUpdate:r.fastMode?be:Or,onUpdateParams:r.fastMode?[l,"onthrowupdate","onThrowUpdate"]:T&&T.radius?[!1,!0]:[]}),r.fastMode||(M&&(M._skip=!0),I.render(1e9,!0,!0),Or(!0,!0),l.endX=l.x,l.endY=l.y,a&&(l.endRotation=l.x),I.play(0),Or(!0,!0),M&&(M._skip=!1))):ie&&l.applyBounds()},Nc=function(m){var O=se,T;se=Cr(t.parentNode,!0),m&&l.isPressed&&!se.equals(O||new kr)&&(T=O.inverse().apply({x:G,y:U}),se.apply(T,T),G=T.x,U=T.y),se.equals(Wd)&&(se=null)},Ii=function(){var m=1-l.edgeResistance,O=R?nn(z):0,T=R?rn(z):0,D,I,L;s&&(b.x=Y(c,"px")+"px",b.y=Y(u,"px")+"px",b.renderTransform()),Nc(!1),dt.x=l.pointerX-O,dt.y=l.pointerY-T,se&&se.apply(dt,dt),G=dt.x,U=dt.y,q&&(Yn(l.pointerX,l.pointerY),Mt(!0)),Ac=Cr(t),M?(xs(),j=M.top(),X=M.left()):(jn()?(Or(!0,!0),xs()):l.applyBounds(),a?(D=t.ownerSVGElement?[b.xOrigin-t.getBBox().x,b.yOrigin-t.getBBox().y]:(Ln(t)[as]||"0 0").split(" "),qe=l.rotationOrigin=Cr(t).apply({x:parseFloat(D[0])||0,y:parseFloat(D[1])||0}),Or(!0,!0),I=l.pointerX-qe.x-O,L=qe.y-l.pointerY+T,X=l.x,j=l.y=Math.atan2(L,I)*gc):(j=Y(u,"px"),X=Y(c,"px"))),ie&&m&&(X>N?X=N+(X-N)/m:X<$&&(X=$-($-X)/m),a||(j>V?j=V+(j-V)/m:j<H&&(j=H-(H-j)/m))),l.startX=X=rr(X),l.startY=j=rr(j)},jn=function(){return l.tween&&l.tween.isActive()},gh=function(){Bt.parentNode&&!jn()&&!l.isDragging&&Bt.parentNode.removeChild(Bt)},Bn=function(m,O){var T;if(!F||l.isPressed||!m||(m.type==="mousedown"||m.type==="pointerdown")&&!O&&nr()-v<30&&An[l.pointerEvent.type]){nt&&m&&F&&ft(m);return}if(Oc=jn(),$i=!1,l.pointerEvent=m,An[m.type]?(Ne=~m.type.indexOf("touch")?m.currentTarget||m.target:z,Re(Ne,"touchend",wt),Re(Ne,"touchmove",Mr),Re(Ne,"touchcancel",wt),Re(z,"touchstart",bc)):(Ne=null,Re(z,"mousemove",Mr)),vt=null,(!Oi||!Ne)&&(Re(z,"mouseup",wt),m&&m.target&&Re(m.target,"mouseup",wt)),Fn=w.call(l,m.target)&&r.dragClickables===!1&&!O,Fn){Re(m.target,"change",wt),be(l,"pressInit","onPressInit"),be(l,"press","onPress"),Ni(g,!0),nt=!1;return}if(ht=!Ne||f===d||l.vars.allowNativeTouchScrolling===!1||l.vars.allowContextMenu&&m&&(m.ctrlKey||m.which>2)?!1:f?"y":"x",nt=!ht&&!l.allowEventDefault,nt&&(ft(m),Re(de,"touchforcechange",ft)),m.changedTouches?(m=ae=m.changedTouches[0],xe=m.identifier):m.pointerId?xe=m.pointerId:ae=xe=null,Mi++,Ud(Mt),U=l.pointerY=m.pageY,G=l.pointerX=m.pageX,be(l,"pressInit","onPressInit"),(ht||l.autoScroll)&&ls(t.parentNode),t.parentNode&&l.autoScroll&&!M&&!a&&t.parentNode._gsMaxScrollX&&!Bt.parentNode&&!t.getBBox&&(Bt.style.width=t.parentNode.scrollWidth+"px",t.parentNode.appendChild(Bt)),Ii(),l.tween&&l.tween.kill(),l.isThrowing=!1,re.killTweensOf(M||t,p,!0),M&&re.killTweensOf(t,{scrollTo:1},!0),l.tween=l.lockedAxis=null,(r.zIndexBoost||!a&&!M&&r.zIndexBoost!==!1)&&(t.style.zIndex=e.zIndex++),l.isPressed=!0,J=!!(r.onDrag||l._listeners.drag),P=!!(r.onMove||l._listeners.move),r.cursor!==!1||r.activeCursor)for(T=g.length;--T>-1;)re.set(g[T],{cursor:r.activeCursor||r.cursor||(Nn==="grab"?"grabbing":Nn)});be(l,"press","onPress")},Mr=function(m){var O=m,T,D,I,L,Z,B;if(!F||os||!l.isPressed||!m){nt&&m&&F&&ft(m);return}if(l.pointerEvent=m,T=m.changedTouches,T){if(m=T[0],m!==ae&&m.identifier!==xe){for(L=T.length;--L>-1&&(m=T[L]).identifier!==xe&&m.target!==t;);if(L<0)return}}else if(m.pointerId&&xe&&m.pointerId!==xe)return;if(Ne&&ht&&!vt&&(dt.x=m.pageX-(R?nn(z):0),dt.y=m.pageY-(R?rn(z):0),se&&se.apply(dt,dt),D=dt.x,I=dt.y,Z=Math.abs(D-G),B=Math.abs(I-U),(Z!==B&&(Z>h||B>h)||Dn&&ht===vt)&&(vt=Z>B&&f?"x":"y",ht&&vt!==ht&&Re(de,"touchforcechange",ft),l.vars.lockAxisOnTouchScroll!==!1&&f&&d&&(l.lockedAxis=vt==="x"?"y":"x",tr(l.vars.onLockAxis)&&l.vars.onLockAxis.call(l,O)),Dn&&ht===vt))){wt(O);return}!l.allowEventDefault&&(!ht||vt&&ht!==vt)&&O.cancelable!==!1?(ft(O),nt=!0):nt&&(nt=!1),l.autoScroll&&(x=!0),Yn(m.pageX,m.pageY,P)},Yn=function(m,O,T){var D=1-l.dragResistance,I=1-l.edgeResistance,L=l.pointerX,Z=l.pointerY,B=j,le=l.x,ne=l.y,ce=l.endX,Te=l.endY,Be=l.endRotation,Wt=q,pt,ir,$e,Ee,ws,bt;l.pointerX=m,l.pointerY=O,R&&(m-=nn(z),O-=rn(z)),a?(Ee=Math.atan2(qe.y-O,m-qe.x)*gc,ws=l.y-Ee,ws>180?(j-=360,l.y=Ee):ws<-180&&(j+=360,l.y=Ee),l.x!==X||Math.max(Math.abs(G-m),Math.abs(U-O))>h?(l.y=Ee,$e=X+(j-Ee)*D):$e=X):(se&&(bt=m*se.a+O*se.c+se.e,O=m*se.b+O*se.d+se.f,m=bt),ir=O-U,pt=m-G,ir<h&&ir>-h&&(ir=0),pt<h&&pt>-h&&(pt=0),(l.lockAxis||l.lockedAxis)&&(pt||ir)&&(bt=l.lockedAxis,bt||(l.lockedAxis=bt=f&&Math.abs(pt)>Math.abs(ir)?"y":d?"x":null,bt&&tr(l.vars.onLockAxis)&&l.vars.onLockAxis.call(l,l.pointerEvent)),bt==="y"?ir=0:bt==="x"&&(pt=0)),$e=rr(X+pt*D),Ee=rr(j+ir*D)),(Fe||We||je)&&(l.x!==$e||l.y!==Ee&&!a)&&(je&&(tn.x=$e,tn.y=Ee,bt=je(tn),$e=rr(bt.x),Ee=rr(bt.y)),Fe&&($e=rr(Fe($e))),We&&(Ee=rr(We(Ee)))),ie&&($e>N?$e=N+Math.round(($e-N)*I):$e<$&&($e=$+Math.round(($e-$)*I)),a||(Ee>V?Ee=Math.round(V+(Ee-V)*I):Ee<H&&(Ee=Math.round(H+(Ee-H)*I)))),(l.x!==$e||l.y!==Ee&&!a)&&(a?(l.endRotation=l.x=l.endX=$e,q=!0):(d&&(l.y=l.endY=Ee,q=!0),f&&(l.x=l.endX=$e,q=!0)),!T||be(l,"move","onMove")!==!1?!l.isDragging&&l.isPressed&&(l.isDragging=$i=!0,be(l,"dragstart","onDragStart")):(l.pointerX=L,l.pointerY=Z,j=B,l.x=le,l.y=ne,l.endX=ce,l.endY=Te,l.endRotation=Be,q=Wt))},wt=function W(m,O){if(!F||!l.isPressed||m&&xe!=null&&!O&&(m.pointerId&&m.pointerId!==xe&&m.target!==t||m.changedTouches&&!qd(m.changedTouches,xe))){nt&&m&&F&&ft(m);return}l.isPressed=!1;var T=m,D=l.isDragging,I=l.vars.allowContextMenu&&m&&(m.ctrlKey||m.which>2),L=re.delayedCall(.001,gh),Z,B,le,ne,ce;if(Ne?(Pe(Ne,"touchend",W),Pe(Ne,"touchmove",Mr),Pe(Ne,"touchcancel",W),Pe(z,"touchstart",bc)):Pe(z,"mousemove",Mr),Pe(de,"touchforcechange",ft),(!Oi||!Ne)&&(Pe(z,"mouseup",W),m&&m.target&&Pe(m.target,"mouseup",W)),q=!1,D&&(y=mc=nr(),l.isDragging=!1),wc(Mt),Fn&&!I){m&&(Pe(m.target,"change",W),l.pointerEvent=T),Ni(g,!1),be(l,"release","onRelease"),be(l,"click","onClick"),Fn=!1;return}for(B=g.length;--B>-1;)cs(g[B],"cursor",r.cursor||(r.cursor!==!1?Nn:null));if(Mi--,m){if(Z=m.changedTouches,Z&&(m=Z[0],m!==ae&&m.identifier!==xe)){for(B=Z.length;--B>-1&&(m=Z[B]).identifier!==xe&&m.target!==t;);if(B<0&&!O)return}l.pointerEvent=T,l.pointerX=m.pageX,l.pointerY=m.pageY}return I&&T?(ft(T),nt=!0,be(l,"release","onRelease")):T&&!D?(nt=!1,Oc&&(r.snap||r.bounds)&&vs(r.inertia||r.throwProps),be(l,"release","onRelease"),(!Dn||T.type!=="touchmove")&&T.type.indexOf("cancel")===-1&&(be(l,"click","onClick"),nr()-v<300&&be(l,"doubleclick","onDoubleClick"),ne=T.target||t,v=nr(),ce=function(){v!==_s&&l.enabled()&&!l.isPressed&&!T.defaultPrevented&&(ne.click?ne.click():z.createEvent&&(le=z.createEvent("MouseEvents"),le.initMouseEvent("click",!0,!0,de,1,l.pointerEvent.screenX,l.pointerEvent.screenY,l.pointerX,l.pointerY,!1,!1,!1,!1,0,null),ne.dispatchEvent(le)))},!Dn&&!T.defaultPrevented&&re.delayedCall(.05,ce))):(vs(r.inertia||r.throwProps),!l.allowEventDefault&&T&&(r.dragClickables!==!1||!w.call(l,T.target))&&D&&(!ht||vt&&ht===vt)&&T.cancelable!==!1?(nt=!0,ft(T)):nt=!1,be(l,"release","onRelease")),jn()&&L.duration(l.tween.duration()),D&&be(l,"dragend","onDragEnd"),!0},zi=function(m){if(m&&l.isDragging&&!M){var O=m.target||t.parentNode,T=O.scrollLeft-O._gsScrollX,D=O.scrollTop-O._gsScrollY;(T||D)&&(se?(G-=T*se.a+D*se.c,U-=D*se.d+T*se.b):(G-=T,U-=D),O._gsScrollX+=T,O._gsScrollY+=D,Yn(l.pointerX,l.pointerY))}},$c=function(m){var O=nr(),T=O-v<100,D=O-y<50,I=T&&_s===v,L=l.pointerEvent&&l.pointerEvent.defaultPrevented,Z=T&&Mc===v,B=m.isTrusted||m.isTrusted==null&&T&&I;if((I||D&&l.vars.suppressClickOnDrag!==!1)&&m.stopImmediatePropagation&&m.stopImmediatePropagation(),T&&!(l.pointerEvent&&l.pointerEvent.defaultPrevented)&&(!I||B&&!Z)){B&&I&&(Mc=v),_s=v;return}(l.isPressed||D||T)&&(!B||!m.detail||!T||L)&&ft(m),!T&&!D&&!$i&&(m&&m.target&&(l.pointerEvent=m),be(l,"click","onClick"))},Ic=function(m){return se?{x:m.x*se.a+m.y*se.c+se.e,y:m.x*se.b+m.y*se.d+se.f}:{x:m.x,y:m.y}};return Ae=e.get(t),Ae&&Ae.kill(),i.startDrag=function(W,m){var O,T,D,I;Bn(W||l.pointerEvent,!0),m&&!l.hitTest(W||l.pointerEvent)&&(O=sn(W||l.pointerEvent),T=sn(t),D=Ic({x:O.left+O.width/2,y:O.top+O.height/2}),I=Ic({x:T.left+T.width/2,y:T.top+T.height/2}),G-=D.x-I.x,U-=D.y-I.y),l.isDragging||(l.isDragging=$i=!0,be(l,"dragstart","onDragStart"))},i.drag=Mr,i.endDrag=function(W){return wt(W||l.pointerEvent,!0)},i.timeSinceDrag=function(){return l.isDragging?0:(nr()-y)/1e3},i.timeSinceClick=function(){return(nr()-v)/1e3},i.hitTest=function(W,m){return e.hitTest(l.target,W,m)},i.getDirection=function(W,m){var O=W==="velocity"&&yt?W:$n(W)&&!a?"element":"start",T,D,I,L,Z,B;return O==="element"&&(Z=sn(l.target),B=sn(W)),T=O==="start"?l.x-X:O==="velocity"?yt.getVelocity(t,c):Z.left+Z.width/2-(B.left+B.width/2),a?T<0?"counter-clockwise":"clockwise":(m=m||2,D=O==="start"?l.y-j:O==="velocity"?yt.getVelocity(t,u):Z.top+Z.height/2-(B.top+B.height/2),I=Math.abs(T/D),L=I<1/m?"":T<0?"left":"right",I<m&&(L!==""&&(L+="-"),L+=D<0?"up":"down"),L)},i.applyBounds=function(W,m){var O,T,D,I,L,Z;if(W&&r.bounds!==W)return r.bounds=W,l.update(!0,m);if(Or(!0),xs(),ie&&!jn()){if(O=l.x,T=l.y,O>N?O=N:O<$&&(O=$),T>V?T=V:T<H&&(T=H),(l.x!==O||l.y!==T)&&(D=!0,l.x=l.endX=O,a?l.endRotation=O:l.y=l.endY=T,q=!0,Mt(!0),l.autoScroll&&!l.isDragging))for(ls(t.parentNode),I=t,Yt.scrollTop=de.pageYOffset!=null?de.pageYOffset:z.documentElement.scrollTop!=null?z.documentElement.scrollTop:z.body.scrollTop,Yt.scrollLeft=de.pageXOffset!=null?de.pageXOffset:z.documentElement.scrollLeft!=null?z.documentElement.scrollLeft:z.body.scrollLeft;I&&!Z;)Z=on(I.parentNode),L=Z?Yt:I.parentNode,d&&L.scrollTop>L._gsMaxScrollY&&(L.scrollTop=L._gsMaxScrollY),f&&L.scrollLeft>L._gsMaxScrollX&&(L.scrollLeft=L._gsMaxScrollX),I=L;l.isThrowing&&(D||l.endX>N||l.endX<$||l.endY>V||l.endY<H)&&vs(r.inertia||r.throwProps,D)}return l},i.update=function(W,m,O){if(m&&l.isPressed){var T=Cr(t),D=Ac.apply({x:l.x-X,y:l.y-j}),I=Cr(t.parentNode,!0);I.apply({x:T.e-D.x,y:T.f-D.y},D),l.x-=D.x-I.e,l.y-=D.y-I.f,Mt(!0),Ii()}var L=l.x,Z=l.y;return Nc(!m),W?l.applyBounds():(q&&O&&Mt(!0),Or(!0)),m&&(Yn(l.pointerX,l.pointerY),q&&Mt(!0)),l.isPressed&&!m&&(f&&Math.abs(L-l.x)>.01||d&&Math.abs(Z-l.y)>.01&&!a)&&Ii(),l.autoScroll&&(ls(t.parentNode,l.isDragging),x=l.isDragging,Mt(!0),Sc(t,zi),Tc(t,zi)),l},i.enable=function(W){var m={lazy:!0},O,T,D;if(r.cursor!==!1&&(m.cursor=r.cursor||Nn),re.utils.checkPrefix("touchCallout")&&(m.touchCallout="none"),W!=="soft"){for(yc(g,f===d?"none":r.allowNativeTouchScrolling&&t.scrollHeight===t.clientHeight==(t.scrollWidth===t.clientHeight)||r.allowEventDefault?"manipulation":f?"pan-y":"pan-x"),T=g.length;--T>-1;)D=g[T],Oi||Re(D,"mousedown",Bn),Re(D,"touchstart",Bn),Re(D,"click",$c,!0),re.set(D,m),D.getBBox&&D.ownerSVGElement&&f!==d&&re.set(D.ownerSVGElement,{touchAction:r.allowNativeTouchScrolling||r.allowEventDefault?"manipulation":f?"pan-y":"pan-x"}),r.allowContextMenu||Re(D,"contextmenu",Dc);Ni(g,!1)}return Tc(t,zi),F=!0,yt&&W!=="soft"&&yt.track(M||t,s?"x,y":a?"rotation":"top,left"),t._gsDragID=O=t._gsDragID||"d"+Xd++,en[O]=l,M&&(M.enable(),M.element._gsDragID=O),(r.bounds||a)&&Ii(),r.bounds&&l.applyBounds(),l},i.disable=function(W){for(var m=l.isDragging,O=g.length,T;--O>-1;)cs(g[O],"cursor",null);if(W!=="soft"){for(yc(g,null),O=g.length;--O>-1;)T=g[O],cs(T,"touchCallout",null),Pe(T,"mousedown",Bn),Pe(T,"touchstart",Bn),Pe(T,"click",$c,!0),Pe(T,"contextmenu",Dc);Ni(g,!0),Ne&&(Pe(Ne,"touchcancel",wt),Pe(Ne,"touchend",wt),Pe(Ne,"touchmove",Mr)),Pe(z,"mouseup",wt),Pe(z,"mousemove",Mr)}return Sc(t,zi),F=!1,yt&&W!=="soft"&&(yt.untrack(M||t,s?"x,y":a?"rotation":"top,left"),l.tween&&l.tween.kill()),M&&M.disable(),wc(Mt),l.isDragging=l.isPressed=Fn=!1,m&&be(l,"dragend","onDragEnd"),l},i.enabled=function(W,m){return arguments.length?W?l.enable(m):l.disable(m):F},i.kill=function(){return l.isThrowing=!1,l.tween&&l.tween.kill(),l.disable(),re.set(g,{clearProps:"userSelect"}),delete en[t._gsDragID],l},i.revert=function(){this.kill(),this.styles&&this.styles.revert()},~o.indexOf("scroll")&&(M=i.scrollProxy=new eh(t,Hd({onKill:function(){l.isPressed&&wt(null)}},r)),t.style.overflowY=d&&!is?"auto":"hidden",t.style.overflowX=f&&!is?"auto":"hidden",t=M.content),a?p.rotation=1:(f&&(p[c]=1),d&&(p[u]=1)),b.force3D="force3D"in r?r.force3D:!0,dc(uc(i)),i.enable(),i}return e.register=function(r){re=r,ds()},e.create=function(r,i){return ns||ds(!0),er(r).map(function(o){return new e(o,i)})},e.get=function(r){return en[(er(r)[0]||{})._gsDragID]},e.timeSinceDrag=function(){return(nr()-mc)/1e3},e.hitTest=function(r,i,o){if(r===i)return!1;var s=sn(r),a=sn(i),c=s.top,u=s.left,f=s.right,d=s.bottom,h=s.width,l=s.height,g=a.left>f||a.right<u||a.top>d||a.bottom<c,p,y,x;return g||!o?!g:(x=(o+"").indexOf("%")!==-1,o=parseFloat(o)||0,p={left:Math.max(u,a.left),top:Math.max(c,a.top)},p.width=Math.min(f,a.right)-p.left,p.height=Math.min(d,a.bottom)-p.top,p.width<0||p.height<0?!1:x?(o*=.01,y=p.width*p.height,y>=h*l*o||y>=a.width*a.height*o):p.width>o&&p.height>o)},e})(th);Gd(an.prototype,{pointerX:0,pointerY:0,startX:0,startY:0,deltaX:0,deltaY:0,isDragging:!1,isPressed:!1}),an.zIndex=1e3,an.version="3.13.0",pc()&&re.registerPlugin(an),ee.registerPlugin(Tr),ee.registerPlugin(an);const hs=E.createContext({toasts:[],addToast:()=>{}}),Ec=({children:n,...e})=>{const t=E.useMemo(()=>({maxToastDisplay:3,durationInSeconds:5,...e.settings}),[e.settings]),[r,i]=E.useState([]),o=E.useCallback(a=>{i(c=>c.filter(u=>u.id!==a))},[]),s=E.useMemo(()=>({toasts:r,addToast:a=>{const c={id:`toast-${Date.now()}-${Math.random()}`,...a};i(u=>[...u,c])}}),[r]);return A.jsxs(hs.Provider,{value:s,children:[n," ",A.jsx(Rc,{toasts:r,removeToast:o,settings:t})]})},Rc=({toasts:n,removeToast:e,settings:t})=>{const r=E.useRef(new Map),i=E.useRef(null),[o,s]=E.useState(!1),{isMobile:a}=Jr(),c=E.useCallback(f=>{const d=r.current.get(f);d&&(ee.killTweensOf(d),ee.to(d,{x:"100%",opacity:0,duration:.4,ease:"power2.in",onComplete:()=>{e(f)}}))},[e]);E.useEffect(()=>{n.forEach(f=>{const d=r.current.get(f.id);d&&!d.dataset.animatedIn&&(d.dataset.animatedIn="true",ee.fromTo(d,{opacity:0,y:-100},{opacity:1,y:0,duration:.5,ease:"power2.out",onComplete:()=>{const h=ee.timeline({delay:f.duration||t.durationInSeconds,onComplete:()=>{ee.to(d,{opacity:0,y:-50,duration:.3,ease:"power2.in",onComplete:()=>{e(f.id),r.current.delete(f.id)}})}});d.timeline=h}}))})},[n,e]);const u=n.slice(-t.maxToastDisplay);return Tr(()=>{ee.to(".toast-item",{marginBottom:f=>o||f===0?0:-48,transform:f=>f<Math.min(5,u.length-1)&&!o?`scale(${1-(Math.min(5,u.length-1)-f)*.05})`:"scale(1)",duration:.3,ease:"power2.out",stagger:.05})},{dependencies:[o,u],scope:i}),Tr(()=>{const f=[];return u.forEach(d=>{const h=r.current.get(d.id);if(!h)return;const l=an.create(h,{type:"x",edgeResistance:.9,bounds:{minX:0,maxX:window.innerWidth},onPress:function(){this.target.timeline&&this.target.timeline.pause()},onDrag:function(){ee.set(this.target,{opacity:1-Math.abs(this.x)/this.maxX})},onDragEnd:function(){const g=h.offsetWidth*.1;this.x>g?ee.to(this.target,{x:"100%",opacity:0,duration:.3,ease:"power2.in",onComplete:()=>{e(d.id)}}):(ee.to(this.target,{x:0,opacity:1,duration:.4,ease:"elastic.out(1, 0.75)"}),this.target.timeline&&this.target.timeline.resume())}});f.push(l[0])}),()=>{f.forEach(d=>d.kill())}},{dependencies:[n],scope:i}),E.useEffect(()=>{u.length===0&&o&&s(!1)},[u,o]),A.jsx(ye,{ref:i,gap:.5,direction:"column-reverse",style:{position:"fixed",top:a?"16px":"8px",right:a?"16px":"8px",zIndex:99999},onMouseEnter:()=>s(!0),onMouseLeave:()=>s(!1),children:u.map((f,d)=>A.jsx(Ko,{className:"toast-item",onClose:()=>c(f.id),ref:h=>{h&&r.current.set(f.id,h)},...f,style:{position:"relative",zIndex:d,marginBottom:d>0?"-48px":"0",transform:d<Math.min(5,u.length-1)?`scale(${1-(Math.min(5,u.length-1)-d)*.05})`:"scale(1)"}},f.id))})},ps=E.createContext({theme:Il,setTheme:()=>{}}),rh=n=>{if(n.themes.length===0)throw new Error("No themes provided");const[e,t]=E.useState(n.themes[0]),r=o=>{const s=n.themes[o];if(!s)throw new Error("Theme not found");t(s)},i=E.useMemo(()=>({theme:e,setTheme:r}),[e]);return A.jsx(ps.Provider,{value:i,children:n.children})},nh=()=>E.useContext(ps),ih=()=>{const{addToast:n}=E.useContext(hs);return{addToast:n}};function oh(n){const e=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(n);if(!e)throw new Error("Invalid HEX color");return{r:parseInt(e[1],16),g:parseInt(e[2],16),b:parseInt(e[3],16)}}function sh({r:n,g:e,b:t}){n/=255,e/=255,t/=255;const r=Math.max(n,e,t),i=Math.min(n,e,t);let o=0,s=0,a=(r+i)/2;if(r!==i){const c=r-i;switch(s=a>.5?c/(2-r-i):c/(r+i),r){case n:o=(e-t)/c+(e<t?6:0);break;case e:o=(t-n)/c+2;break;case t:o=(n-e)/c+4;break}o/=6}return{h:o,s,l:a}}function ah({h:n,s:e,l:t}){let r,i,o;if(e===0)r=i=o=t;else{const s=(u,f,d)=>(d<0&&(d+=1),d>1&&(d-=1),d<.16666666666666666?u+(f-u)*6*d:d<.5?f:d<.6666666666666666?u+(f-u)*(.6666666666666666-d)*6:u),a=t<.5?t*(1+e):t+e-t*e,c=2*t-a;r=s(c,a,n+1/3),i=s(c,a,n),o=s(c,a,n-1/3)}return{r:Math.round(r*255),g:Math.round(i*255),b:Math.round(o*255)}}function lh({r:n,g:e,b:t}){const r=i=>("0"+i.toString(16)).slice(-2);return`#${r(n)}${r(e)}${r(t)}`}function gs(n,e=600){const t={50:.95,100:.89,200:.78,300:.67,400:.56,500:.45,600:.35,700:.29,800:.23,900:.18,950:.1},r=oh(n),i=sh(r),o={};for(const s in t){const a=s,c={h:i.h,s:i.s,l:t[a]};o[s]=lh(ah(c))}return o[e.toString()]=n,o}const ch=n=>{const e=gs(n.primary,500),t=gs(n.default??"#000000",500),r=gs(n.error??"#e74c3c",500);return{radius:n.radius,title:{fontFamily:n.titleFontFamily??"Poppins"},text:{fontFamily:n.textFontFamily??"Poppins, sans-serif"},palette:{primary:{dark:e[900],main:e[500],light:e[100]},default:{dark:t[900],main:t[500],light:t[100]},error:{dark:r[900],main:r[500],light:r[100]}}}},uh=({children:n})=>{const{theme:e}=E.useContext(ps);return A.jsx(fd,{theme:e,children:n})},fh=({children:n,themes:e,settings:t})=>A.jsx(rh,{themes:e,children:A.jsx(uh,{children:A.jsxs(Ec,{settings:t?.toasts,children:[A.jsx("div",{id:"modal"}),n]})})});Q.BellIcon=Fl,Q.Button=ki,Q.CheckIcon=Go,Q.Chip=Ul,Q.Divider=ql,Q.ExampleIcon=hd,Q.Flex=ye,Q.HamburgerIcon=jl,Q.HeartIcon=Bl,Q.Input=Kl,Q.Modal=tc,Q.OpenUIProvider=fh,Q.Popover=rc,Q.ProgressBar=Ed,Q.Select=ic,Q.Skeleton=Md,Q.Switch=Ad,Q.THEME=Il,Q.Text=ut,Q.TextArea=oc,Q.Title=Ql,Q.Toast=Ko,Q.ToastContext=hs,Q.ToastContextProvider=Ec,Q.ToastProvider=Rc,Q.breakpoints=Si,Q.createTheme=ch,Q.getPlacementStyle=En,Q.radiusMap=Ot,Q.useResponsive=Jr,Q.useTheme=nh,Q.useToast=ih,Object.defineProperty(Q,Symbol.toStringTag,{value:"Module"})}));
332
+ */var Ft,Sr,Qo,Pi,Rn,Ei,Ri,On,mt="transform",Zo=mt+"Origin",sc,ac=function(e){var t=e.ownerDocument||e;for(!(mt in e.style)&&("msTransform"in e.style)&&(mt="msTransform",Zo=mt+"Origin");t.parentNode&&(t=t.parentNode););if(Sr=window,Ri=new kr,t){Ft=t,Qo=t.documentElement,Pi=t.body,On=Ft.createElementNS("http://www.w3.org/2000/svg","g"),On.style.transform="none";var r=t.createElement("div"),i=t.createElement("div"),o=t&&(t.body||t.firstElementChild);o&&o.appendChild&&(o.appendChild(r),r.appendChild(i),r.setAttribute("style","position:static;transform:translate3d(0,0,1px)"),sc=i.offsetParent!==r,o.removeChild(r))}return t},Nd=function(e){for(var t,r;e&&e!==Pi;)r=e._gsap,r&&r.uncache&&r.get(e,"x"),r&&!r.scaleX&&!r.scaleY&&r.renderTransform&&(r.scaleX=r.scaleY=1e-4,r.renderTransform(1,r),t?t.push(r):t=[r]),e=e.parentNode;return t},lc=[],cc=[],Id=function(){return Sr.pageYOffset||Ft.scrollTop||Qo.scrollTop||Pi.scrollTop||0},zd=function(){return Sr.pageXOffset||Ft.scrollLeft||Qo.scrollLeft||Pi.scrollLeft||0},Jo=function(e){return e.ownerSVGElement||((e.tagName+"").toLowerCase()==="svg"?e:null)},Ld=function n(e){if(Sr.getComputedStyle(e).position==="fixed")return!0;if(e=e.parentNode,e&&e.nodeType===1)return n(e)},es=function n(e,t){if(e.parentNode&&(Ft||ac(e))){var r=Jo(e),i=r?r.getAttribute("xmlns")||"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",o=r?t?"rect":"g":"div",s=t!==2?0:100,a=t===3?100:0,c="position:absolute;display:block;pointer-events:none;margin:0;padding:0;",u=Ft.createElementNS?Ft.createElementNS(i.replace(/^https/,"http"),o):Ft.createElement(o);return t&&(r?(Ei||(Ei=n(e)),u.setAttribute("width",.01),u.setAttribute("height",.01),u.setAttribute("transform","translate("+s+","+a+")"),Ei.appendChild(u)):(Rn||(Rn=n(e),Rn.style.cssText=c),u.style.cssText=c+"width:0.1px;height:0.1px;top:"+a+"px;left:"+s+"px",Rn.appendChild(u))),u}throw"Need document and parent."},Fd=function(e){for(var t=new kr,r=0;r<e.numberOfItems;r++)t.multiply(e.getItem(r).matrix);return t},jd=function(e){var t=e.getCTM(),r;return t||(r=e.style[mt],e.style[mt]="none",e.appendChild(On),t=On.getCTM(),e.removeChild(On),r?e.style[mt]=r:e.style.removeProperty(mt.replace(/([A-Z])/g,"-$1").toLowerCase())),t||Ri.clone()},Bd=function(e,t){var r=Jo(e),i=e===r,o=r?lc:cc,s=e.parentNode,a=s&&!r&&s.shadowRoot&&s.shadowRoot.appendChild?s.shadowRoot:s,c,u,f,d,h,l;if(e===Sr)return e;if(o.length||o.push(es(e,1),es(e,2),es(e,3)),c=r?Ei:Rn,r)i?(f=jd(e),d=-f.e/f.a,h=-f.f/f.d,u=Ri):e.getBBox?(f=e.getBBox(),u=e.transform?e.transform.baseVal:{},u=u.numberOfItems?u.numberOfItems>1?Fd(u):u.getItem(0).matrix:Ri,d=u.a*f.x+u.c*f.y,h=u.b*f.x+u.d*f.y):(u=new kr,d=h=0),(i?r:s).appendChild(c),c.setAttribute("transform","matrix("+u.a+","+u.b+","+u.c+","+u.d+","+(u.e+d)+","+(u.f+h)+")");else{if(d=h=0,sc)for(u=e.offsetParent,f=e;f&&(f=f.parentNode)&&f!==u&&f.parentNode;)(Sr.getComputedStyle(f)[mt]+"").length>4&&(d=f.offsetLeft,h=f.offsetTop,f=0);if(l=Sr.getComputedStyle(e),l.position!=="absolute"&&l.position!=="fixed")for(u=e.offsetParent;s&&s!==u;)d+=s.scrollLeft||0,h+=s.scrollTop||0,s=s.parentNode;f=c.style,f.top=e.offsetTop-h+"px",f.left=e.offsetLeft-d+"px",f[mt]=l[mt],f[Zo]=l[Zo],f.position=l.position==="fixed"?"fixed":"absolute",a.appendChild(c)}return c},ts=function(e,t,r,i,o,s,a){return e.a=t,e.b=r,e.c=i,e.d=o,e.e=s,e.f=a,e},kr=(function(){function n(t,r,i,o,s,a){t===void 0&&(t=1),r===void 0&&(r=0),i===void 0&&(i=0),o===void 0&&(o=1),s===void 0&&(s=0),a===void 0&&(a=0),ts(this,t,r,i,o,s,a)}var e=n.prototype;return e.inverse=function(){var r=this.a,i=this.b,o=this.c,s=this.d,a=this.e,c=this.f,u=r*s-i*o||1e-10;return ts(this,s/u,-i/u,-o/u,r/u,(o*c-s*a)/u,-(r*c-i*a)/u)},e.multiply=function(r){var i=this.a,o=this.b,s=this.c,a=this.d,c=this.e,u=this.f,f=r.a,d=r.c,h=r.b,l=r.d,g=r.e,p=r.f;return ts(this,f*i+h*s,f*o+h*a,d*i+l*s,d*o+l*a,c+g*i+p*s,u+g*o+p*a)},e.clone=function(){return new n(this.a,this.b,this.c,this.d,this.e,this.f)},e.equals=function(r){var i=this.a,o=this.b,s=this.c,a=this.d,c=this.e,u=this.f;return i===r.a&&o===r.b&&s===r.c&&a===r.d&&c===r.e&&u===r.f},e.apply=function(r,i){i===void 0&&(i={});var o=r.x,s=r.y,a=this.a,c=this.b,u=this.c,f=this.d,d=this.e,h=this.f;return i.x=o*a+s*u+d||0,i.y=o*c+s*f+h||0,i},n})();function Cr(n,e,t,r){if(!n||!n.parentNode||(Ft||ac(n)).documentElement===n)return new kr;var i=Nd(n),o=Jo(n),s=o?lc:cc,a=Bd(n),c=s[0].getBoundingClientRect(),u=s[1].getBoundingClientRect(),f=s[2].getBoundingClientRect(),d=a.parentNode,h=Ld(n),l=new kr((u.left-c.left)/100,(u.top-c.top)/100,(f.left-c.left)/100,(f.top-c.top)/100,c.left+(h?0:zd()),c.top+(h?0:Id()));if(d.removeChild(a),i)for(c=i.length;c--;)u=i[c],u.scaleX=u.scaleY=0,u.renderTransform(1,u);return e?l.inverse():l}function uc(n){if(n===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function Yd(n,e){n.prototype=Object.create(e.prototype),n.prototype.constructor=n,n.__proto__=e}var re,de,rt,_t,jt,rs,Bt,ns,Mn,er,fc,is,An,os,Dn,yt,$n,Oi,dc,ss,Mi=0,hc=function(){return typeof window<"u"},pc=function(){return re||hc()&&(re=window.gsap)&&re.registerPlugin&&re},tr=function(e){return typeof e=="function"},Nn=function(e){return typeof e=="object"},xt=function(e){return typeof e>"u"},Ai=function(){return!1},In="transform",as="transformOrigin",rr=function(e){return Math.round(e*1e4)/1e4},zn=Array.isArray,Di=function(e,t){var r=rt.createElementNS?rt.createElementNS("http://www.w3.org/1999/xhtml".replace(/^https/,"http"),e):rt.createElement(e);return r.style?r:rt.createElement(e)},gc=180/Math.PI,Pr=1e20,Wd=new kr,nr=Date.now||function(){return new Date().getTime()},Er=[],en={},Xd=0,Vd=/^(?:a|input|textarea|button|select)$/i,mc=0,tn={},Yt={},_c=function(e,t){var r={},i;for(i in e)r[i]=t?e[i]*t:e[i];return r},Hd=function(e,t){for(var r in t)r in e||(e[r]=t[r]);return e},yc=function n(e,t){for(var r=e.length,i;r--;)t?e[r].style.touchAction=t:e[r].style.removeProperty("touch-action"),i=e[r].children,i&&i.length&&n(i,t)},xc=function(){return Er.forEach(function(e){return e()})},Ud=function(e){Er.push(e),Er.length===1&&re.ticker.add(xc)},vc=function(){return!Er.length&&re.ticker.remove(xc)},wc=function(e){for(var t=Er.length;t--;)Er[t]===e&&Er.splice(t,1);re.to(vc,{overwrite:!0,delay:15,duration:0,onComplete:vc,data:"_draggable"})},Gd=function(e,t){for(var r in t)r in e||(e[r]=t[r]);return e},Re=function(e,t,r,i){if(e.addEventListener){var o=An[t];i=i||(fc?{passive:!1}:null),e.addEventListener(o||t,r,i),o&&t!==o&&e.addEventListener(t,r,i)}},Pe=function(e,t,r,i){if(e.removeEventListener){var o=An[t];e.removeEventListener(o||t,r,i),o&&t!==o&&e.removeEventListener(t,r,i)}},ft=function(e){e.preventDefault&&e.preventDefault(),e.preventManipulation&&e.preventManipulation()},qd=function(e,t){for(var r=e.length;r--;)if(e[r].identifier===t)return!0},Kd=function n(e){os=e.touches&&Mi<e.touches.length,Pe(e.target,"touchend",n)},bc=function(e){os=e.touches&&Mi<e.touches.length,Re(e.target,"touchend",Kd)},rn=function(e){return de.pageYOffset||e.scrollTop||e.documentElement.scrollTop||e.body.scrollTop||0},nn=function(e){return de.pageXOffset||e.scrollLeft||e.documentElement.scrollLeft||e.body.scrollLeft||0},Tc=function n(e,t){Re(e,"scroll",t),on(e.parentNode)||n(e.parentNode,t)},Sc=function n(e,t){Pe(e,"scroll",t),on(e.parentNode)||n(e.parentNode,t)},on=function(e){return!e||e===_t||e.nodeType===9||e===rt.body||e===de||!e.nodeType||!e.parentNode},kc=function(e,t){var r=t==="x"?"Width":"Height",i="scroll"+r,o="client"+r;return Math.max(0,on(e)?Math.max(_t[i],jt[i])-(de["inner"+r]||_t[o]||jt[o]):e[i]-e[o])},ls=function n(e,t){var r=kc(e,"x"),i=kc(e,"y");on(e)?e=Yt:n(e.parentNode,t),e._gsMaxScrollX=r,e._gsMaxScrollY=i,t||(e._gsScrollX=e.scrollLeft||0,e._gsScrollY=e.scrollTop||0)},cs=function(e,t,r){var i=e.style;i&&(xt(i[t])&&(t=Mn(t,e)||t),r==null?i.removeProperty&&i.removeProperty(t.replace(/([A-Z])/g,"-$1").toLowerCase()):i[t]=r)},Ln=function(e){return de.getComputedStyle(e instanceof Element?e:e.host||(e.parentNode||{}).host||e)},Rr={},sn=function(e){if(e===de)return Rr.left=Rr.top=0,Rr.width=Rr.right=_t.clientWidth||e.innerWidth||jt.clientWidth||0,Rr.height=Rr.bottom=(e.innerHeight||0)-20<_t.clientHeight?_t.clientHeight:e.innerHeight||jt.clientHeight||0,Rr;var t=e.ownerDocument||rt,r=xt(e.pageX)?!e.nodeType&&!xt(e.left)&&!xt(e.top)?e:er(e)[0].getBoundingClientRect():{left:e.pageX-nn(t),top:e.pageY-rn(t),right:e.pageX-nn(t)+1,bottom:e.pageY-rn(t)+1};return xt(r.right)&&!xt(r.width)?(r.right=r.left+r.width,r.bottom=r.top+r.height):xt(r.width)&&(r={width:r.right-r.left,height:r.bottom-r.top,right:r.right,left:r.left,bottom:r.bottom,top:r.top}),r},be=function(e,t,r){var i=e.vars,o=i[r],s=e._listeners[t],a;return tr(o)&&(a=o.apply(i.callbackScope||e,i[r+"Params"]||[e.pointerEvent])),s&&e.dispatchEvent(t)===!1&&(a=!1),a},Cc=function(e,t){var r=er(e)[0],i,o,s;return!r.nodeType&&r!==de?xt(e.left)?(o=e.min||e.minX||e.minRotation||0,i=e.min||e.minY||0,{left:o,top:i,width:(e.max||e.maxX||e.maxRotation||0)-o,height:(e.max||e.maxY||0)-i}):(s={x:0,y:0},{left:e.left-s.x,top:e.top-s.y,width:e.width,height:e.height}):Qd(r,t)},dt={},Qd=function(e,t){t=er(t)[0];var r=e.getBBox&&e.ownerSVGElement,i=e.ownerDocument||rt,o,s,a,c,u,f,d,h,l,g,p,y,x;if(e===de)a=rn(i),o=nn(i),s=o+(i.documentElement.clientWidth||e.innerWidth||i.body.clientWidth||0),c=a+((e.innerHeight||0)-20<i.documentElement.clientHeight?i.documentElement.clientHeight:e.innerHeight||i.body.clientHeight||0);else{if(t===de||xt(t))return e.getBoundingClientRect();o=a=0,r?(g=e.getBBox(),p=g.width,y=g.height):(e.viewBox&&(g=e.viewBox.baseVal)&&(o=g.x||0,a=g.y||0,p=g.width,y=g.height),p||(x=Ln(e),g=x.boxSizing==="border-box",p=(parseFloat(x.width)||e.clientWidth||0)+(g?0:parseFloat(x.borderLeftWidth)+parseFloat(x.borderRightWidth)),y=(parseFloat(x.height)||e.clientHeight||0)+(g?0:parseFloat(x.borderTopWidth)+parseFloat(x.borderBottomWidth)))),s=p,c=y}return e===t?{left:o,top:a,width:s-o,height:c-a}:(u=Cr(t,!0).multiply(Cr(e)),f=u.apply({x:o,y:a}),d=u.apply({x:s,y:a}),h=u.apply({x:s,y:c}),l=u.apply({x:o,y:c}),o=Math.min(f.x,d.x,h.x,l.x),a=Math.min(f.y,d.y,h.y,l.y),{left:o,top:a,width:Math.max(f.x,d.x,h.x,l.x)-o,height:Math.max(f.y,d.y,h.y,l.y)-a})},us=function(e,t,r,i,o,s){var a={},c,u,f;if(t)if(o!==1&&t instanceof Array){if(a.end=c=[],f=t.length,Nn(t[0]))for(u=0;u<f;u++)c[u]=_c(t[u],o);else for(u=0;u<f;u++)c[u]=t[u]*o;r+=1.1,i-=1.1}else tr(t)?a.end=function(d){var h=t.call(e,d),l,g;if(o!==1)if(Nn(h)){l={};for(g in h)l[g]=h[g]*o;h=l}else h*=o;return h}:a.end=t;return(r||r===0)&&(a.max=r),(i||i===0)&&(a.min=i),s&&(a.velocity=0),a},Zd=function n(e){var t;return!e||!e.getAttribute||e===jt?!1:(t=e.getAttribute("data-clickable"))==="true"||t!=="false"&&(Vd.test(e.nodeName+"")||e.getAttribute("contentEditable")==="true")?!0:n(e.parentNode)},$i=function(e,t){for(var r=e.length,i;r--;)i=e[r],i.ondragstart=i.onselectstart=t?null:Ai,re.set(i,{lazy:!0,userSelect:t?"text":"none"})},Jd=function n(e){if(Ln(e).position==="fixed")return!0;if(e=e.parentNode,e&&e.nodeType===1)return n(e)},Pc,fs,eh=function(e,t){e=re.utils.toArray(e)[0],t=t||{};var r=document.createElement("div"),i=r.style,o=e.firstChild,s=0,a=0,c=e.scrollTop,u=e.scrollLeft,f=e.scrollWidth,d=e.scrollHeight,h=0,l=0,g=0,p,y,x,S,k,C;Pc&&t.force3D!==!1?(k="translate3d(",C="px,0px)"):In&&(k="translate(",C="px)"),this.scrollTop=function(_,w){if(!arguments.length)return-this.top();this.top(-_,w)},this.scrollLeft=function(_,w){if(!arguments.length)return-this.left();this.left(-_,w)},this.left=function(_,w){if(!arguments.length)return-(e.scrollLeft+a);var v=e.scrollLeft-u,b=a;if((v>2||v<-2)&&!w){u=e.scrollLeft,re.killTweensOf(this,{left:1,scrollLeft:1}),this.left(-u),t.onKill&&t.onKill();return}_=-_,_<0?(a=_-.5|0,_=0):_>l?(a=_-l|0,_=l):a=0,(a||b)&&(this._skip||(i[In]=k+-a+"px,"+-s+C),a+h>=0&&(i.paddingRight=a+h+"px")),e.scrollLeft=_|0,u=e.scrollLeft},this.top=function(_,w){if(!arguments.length)return-(e.scrollTop+s);var v=e.scrollTop-c,b=s;if((v>2||v<-2)&&!w){c=e.scrollTop,re.killTweensOf(this,{top:1,scrollTop:1}),this.top(-c),t.onKill&&t.onKill();return}_=-_,_<0?(s=_-.5|0,_=0):_>g?(s=_-g|0,_=g):s=0,(s||b)&&(this._skip||(i[In]=k+-a+"px,"+-s+C)),e.scrollTop=_|0,c=e.scrollTop},this.maxScrollTop=function(){return g},this.maxScrollLeft=function(){return l},this.disable=function(){for(o=r.firstChild;o;)S=o.nextSibling,e.appendChild(o),o=S;e===r.parentNode&&e.removeChild(r)},this.enable=function(){if(o=e.firstChild,o!==r){for(;o;)S=o.nextSibling,r.appendChild(o),o=S;e.appendChild(r),this.calibrate()}},this.calibrate=function(_){var w=e.clientWidth===p,v,b,R;c=e.scrollTop,u=e.scrollLeft,!(w&&e.clientHeight===y&&r.offsetHeight===x&&f===e.scrollWidth&&d===e.scrollHeight&&!_)&&((s||a)&&(b=this.left(),R=this.top(),this.left(-e.scrollLeft),this.top(-e.scrollTop)),v=Ln(e),(!w||_)&&(i.display="block",i.width="auto",i.paddingRight="0px",h=Math.max(0,e.scrollWidth-e.clientWidth),h&&(h+=parseFloat(v.paddingLeft)+(fs?parseFloat(v.paddingRight):0))),i.display="inline-block",i.position="relative",i.overflow="visible",i.verticalAlign="top",i.boxSizing="content-box",i.width="100%",i.paddingRight=h+"px",fs&&(i.paddingBottom=v.paddingBottom),p=e.clientWidth,y=e.clientHeight,f=e.scrollWidth,d=e.scrollHeight,l=e.scrollWidth-p,g=e.scrollHeight-y,x=r.offsetHeight,i.display="block",(b||R)&&(this.left(b),this.top(R)))},this.content=r,this.element=e,this._skip=!1,this.enable()},ds=function(e){if(hc()&&document.body){var t=window&&window.navigator;de=window,rt=document,_t=rt.documentElement,jt=rt.body,rs=Di("div"),Oi=!!window.PointerEvent,Bt=Di("div"),Bt.style.cssText="visibility:hidden;height:1px;top:-1px;pointer-events:none;position:relative;clear:both;cursor:grab",$n=Bt.style.cursor==="grab"?"grab":"move",Dn=t&&t.userAgent.toLowerCase().indexOf("android")!==-1,is="ontouchstart"in _t&&"orientation"in de||t&&(t.MaxTouchPoints>0||t.msMaxTouchPoints>0),fs=(function(){var r=Di("div"),i=Di("div"),o=i.style,s=jt,a;return o.display="inline-block",o.position="relative",r.style.cssText="width:90px;height:40px;padding:10px;overflow:auto;visibility:hidden",r.appendChild(i),s.appendChild(r),a=i.offsetHeight+18>r.scrollHeight,s.removeChild(r),a})(),An=(function(r){for(var i=r.split(","),o=("onpointerdown"in rs?"pointerdown,pointermove,pointerup,pointercancel":"onmspointerdown"in rs?"MSPointerDown,MSPointerMove,MSPointerUp,MSPointerCancel":r).split(","),s={},a=4;--a>-1;)s[i[a]]=o[a],s[o[a]]=i[a];try{_t.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){fc=1}}))}catch{}return s})("touchstart,touchmove,touchend,touchcancel"),Re(rt,"touchcancel",Ai),Re(de,"touchmove",Ai),jt&&jt.addEventListener("touchstart",Ai),Re(rt,"contextmenu",function(){for(var r in en)en[r].isPressed&&en[r].endDrag()}),re=ns=pc()}re?(yt=re.plugins.inertia,dc=re.core.context||function(){},Mn=re.utils.checkPrefix,In=Mn(In),as=Mn(as),er=re.utils.toArray,ss=re.core.getStyleSaver,Pc=!!Mn("perspective")):e&&console.warn("Please gsap.registerPlugin(Draggable)")},th=(function(){function n(t){this._listeners={},this.target=t||this}var e=n.prototype;return e.addEventListener=function(r,i){var o=this._listeners[r]||(this._listeners[r]=[]);~o.indexOf(i)||o.push(i)},e.removeEventListener=function(r,i){var o=this._listeners[r],s=o&&o.indexOf(i);s>=0&&o.splice(s,1)},e.dispatchEvent=function(r){var i=this,o;return(this._listeners[r]||[]).forEach(function(s){return s.call(i,{type:r,target:i.target})===!1&&(o=!1)}),o},n})(),an=(function(n){Yd(e,n);function e(t,r){var i;i=n.call(this)||this,ns||ds(1),t=er(t)[0],i.styles=ss&&ss(t,"transform,left,top"),yt||(yt=re.plugins.inertia),i.vars=r=_c(r||{}),i.target=t,i.x=i.y=i.rotation=0,i.dragResistance=parseFloat(r.dragResistance)||0,i.edgeResistance=isNaN(r.edgeResistance)?1:parseFloat(r.edgeResistance)||0,i.lockAxis=r.lockAxis,i.autoScroll=r.autoScroll||0,i.lockedAxis=null,i.allowEventDefault=!!r.allowEventDefault,re.getProperty(t,"x");var o=(r.type||"x,y").toLowerCase(),s=~o.indexOf("x")||~o.indexOf("y"),a=o.indexOf("rotation")!==-1,c=a?"rotation":s?"x":"left",u=s?"y":"top",f=!!(~o.indexOf("x")||~o.indexOf("left")||o==="scroll"),d=!!(~o.indexOf("y")||~o.indexOf("top")||o==="scroll"),h=r.minimumMovement||2,l=uc(i),g=er(r.trigger||r.handle||t),p={},y=0,x=!1,S=r.autoScrollMarginTop||40,k=r.autoScrollMarginRight||40,C=r.autoScrollMarginBottom||40,_=r.autoScrollMarginLeft||40,w=r.clickableTest||Zd,v=0,b=t._gsap||re.core.getCache(t),R=Jd(t),Y=function(m,O){return parseFloat(b.get(t,m,O))},z=t.ownerDocument||rt,F,M,G,U,X,j,ie,J,P,$,N,V,H,ae,xe,qe,q,Ae,Fe,We,je,Fn,$e,se,Oc,ht,vt,ms,_s,Mc,nt,Ac,Ni,Dc=function(m){return ft(m),m.stopImmediatePropagation&&m.stopImmediatePropagation(),!1},Mt=function W(m){if(l.autoScroll&&l.isDragging&&(x||q)){var O=t,T=l.autoScroll*15,D,I,L,Z,B,le,ne,ce;for(x=!1,Yt.scrollTop=de.pageYOffset!=null?de.pageYOffset:z.documentElement.scrollTop!=null?z.documentElement.scrollTop:z.body.scrollTop,Yt.scrollLeft=de.pageXOffset!=null?de.pageXOffset:z.documentElement.scrollLeft!=null?z.documentElement.scrollLeft:z.body.scrollLeft,Z=l.pointerX-Yt.scrollLeft,B=l.pointerY-Yt.scrollTop;O&&!I;)I=on(O.parentNode),D=I?Yt:O.parentNode,L=I?{bottom:Math.max(_t.clientHeight,de.innerHeight||0),right:Math.max(_t.clientWidth,de.innerWidth||0),left:0,top:0}:D.getBoundingClientRect(),le=ne=0,d&&(ce=D._gsMaxScrollY-D.scrollTop,ce<0?ne=ce:B>L.bottom-C&&ce?(x=!0,ne=Math.min(ce,T*(1-Math.max(0,L.bottom-B)/C)|0)):B<L.top+S&&D.scrollTop&&(x=!0,ne=-Math.min(D.scrollTop,T*(1-Math.max(0,B-L.top)/S)|0)),ne&&(D.scrollTop+=ne)),f&&(ce=D._gsMaxScrollX-D.scrollLeft,ce<0?le=ce:Z>L.right-k&&ce?(x=!0,le=Math.min(ce,T*(1-Math.max(0,L.right-Z)/k)|0)):Z<L.left+_&&D.scrollLeft&&(x=!0,le=-Math.min(D.scrollLeft,T*(1-Math.max(0,Z-L.left)/_)|0)),le&&(D.scrollLeft+=le)),I&&(le||ne)&&(de.scrollTo(D.scrollLeft,D.scrollTop),Yn(l.pointerX+le,l.pointerY+ne)),O=D}if(q){var Te=l.x,Be=l.y;a?(l.deltaX=Te-parseFloat(b.rotation),l.rotation=Te,b.rotation=Te+"deg",b.renderTransform(1,b)):M?(d&&(l.deltaY=Be-M.top(),M.top(Be)),f&&(l.deltaX=Te-M.left(),M.left(Te))):s?(d&&(l.deltaY=Be-parseFloat(b.y),b.y=Be+"px"),f&&(l.deltaX=Te-parseFloat(b.x),b.x=Te+"px"),b.renderTransform(1,b)):(d&&(l.deltaY=Be-parseFloat(t.style.top||0),t.style.top=Be+"px"),f&&(l.deltaX=Te-parseFloat(t.style.left||0),t.style.left=Te+"px")),J&&!m&&!ms&&(ms=!0,be(l,"drag","onDrag")===!1&&(f&&(l.x-=l.deltaX),d&&(l.y-=l.deltaY),W(!0)),ms=!1)}q=!1},Or=function(m,O){var T=l.x,D=l.y,I,L;t._gsap||(b=re.core.getCache(t)),b.uncache&&re.getProperty(t,"x"),s?(l.x=parseFloat(b.x),l.y=parseFloat(b.y)):a?l.x=l.rotation=parseFloat(b.rotation):M?(l.y=M.top(),l.x=M.left()):(l.y=parseFloat(t.style.top||(L=Ln(t))&&L.top)||0,l.x=parseFloat(t.style.left||(L||{}).left)||0),(Fe||We||je)&&!O&&(l.isDragging||l.isThrowing)&&(je&&(tn.x=l.x,tn.y=l.y,I=je(tn),I.x!==l.x&&(l.x=I.x,q=!0),I.y!==l.y&&(l.y=I.y,q=!0)),Fe&&(I=Fe(l.x),I!==l.x&&(l.x=I,a&&(l.rotation=I),q=!0)),We&&(I=We(l.y),I!==l.y&&(l.y=I),q=!0)),q&&Mt(!0),m||(l.deltaX=l.x-T,l.deltaY=l.y-D,be(l,"throwupdate","onThrowUpdate"))},ys=function(m,O,T,D){return O==null&&(O=-Pr),T==null&&(T=Pr),tr(m)?function(I){var L=l.isPressed?1-l.edgeResistance:1;return m.call(l,(I>T?T+(I-T)*L:I<O?O+(I-O)*L:I)*D)*D}:zn(m)?function(I){for(var L=m.length,Z=0,B=Pr,le,ne;--L>-1;)le=m[L],ne=le-I,ne<0&&(ne=-ne),ne<B&&le>=O&&le<=T&&(Z=L,B=ne);return m[Z]}:isNaN(m)?function(I){return I}:function(){return m*D}},dh=function(m,O,T,D,I,L,Z){return L=L&&L<Pr?L*L:Pr,tr(m)?function(B){var le=l.isPressed?1-l.edgeResistance:1,ne=B.x,ce=B.y,Te,Be,Wt;return B.x=ne=ne>T?T+(ne-T)*le:ne<O?O+(ne-O)*le:ne,B.y=ce=ce>I?I+(ce-I)*le:ce<D?D+(ce-D)*le:ce,Te=m.call(l,B),Te!==B&&(B.x=Te.x,B.y=Te.y),Z!==1&&(B.x*=Z,B.y*=Z),L<Pr&&(Be=B.x-ne,Wt=B.y-ce,Be*Be+Wt*Wt>L&&(B.x=ne,B.y=ce)),B}:zn(m)?function(B){for(var le=m.length,ne=0,ce=Pr,Te,Be,Wt,pt;--le>-1;)Wt=m[le],Te=Wt.x-B.x,Be=Wt.y-B.y,pt=Te*Te+Be*Be,pt<ce&&(ne=le,ce=pt);return ce<=L?m[ne]:B}:function(B){return B}},xs=function(){var m,O,T,D;ie=!1,M?(M.calibrate(),l.minX=N=-M.maxScrollLeft(),l.minY=H=-M.maxScrollTop(),l.maxX=$=l.maxY=V=0,ie=!0):r.bounds&&(m=Cc(r.bounds,t.parentNode),a?(l.minX=N=m.left,l.maxX=$=m.left+m.width,l.minY=H=l.maxY=V=0):!xt(r.bounds.maxX)||!xt(r.bounds.maxY)?(m=r.bounds,l.minX=N=m.minX,l.minY=H=m.minY,l.maxX=$=m.maxX,l.maxY=V=m.maxY):(O=Cc(t,t.parentNode),l.minX=N=Math.round(Y(c,"px")+m.left-O.left),l.minY=H=Math.round(Y(u,"px")+m.top-O.top),l.maxX=$=Math.round(N+(m.width-O.width)),l.maxY=V=Math.round(H+(m.height-O.height))),N>$&&(l.minX=$,l.maxX=$=N,N=l.minX),H>V&&(l.minY=V,l.maxY=V=H,H=l.minY),a&&(l.minRotation=N,l.maxRotation=$),ie=!0),r.liveSnap&&(T=r.liveSnap===!0?r.snap||{}:r.liveSnap,D=zn(T)||tr(T),a?(Fe=ys(D?T:T.rotation,N,$,1),We=null):T.points?je=dh(D?T:T.points,N,$,H,V,T.radius,M?-1:1):(f&&(Fe=ys(D?T:T.x||T.left||T.scrollLeft,N,$,M?-1:1)),d&&(We=ys(D?T:T.y||T.top||T.scrollTop,H,V,M?-1:1))))},hh=function(){l.isThrowing=!1,be(l,"throwcomplete","onThrowComplete")},ph=function(){l.isThrowing=!1},vs=function(m,O){var T,D,I,L;m&&yt?(m===!0&&(T=r.snap||r.liveSnap||{},D=zn(T)||tr(T),m={resistance:(r.throwResistance||r.resistance||1e3)/(a?10:1)},a?m.rotation=us(l,D?T:T.rotation,$,N,1,O):(f&&(m[c]=us(l,D?T:T.points||T.x||T.left,$,N,M?-1:1,O||l.lockedAxis==="x")),d&&(m[u]=us(l,D?T:T.points||T.y||T.top,V,H,M?-1:1,O||l.lockedAxis==="y")),(T.points||zn(T)&&Nn(T[0]))&&(m.linkedProps=c+","+u,m.radius=T.radius))),l.isThrowing=!0,L=isNaN(r.overshootTolerance)?r.edgeResistance===1?0:1-l.edgeResistance+.2:r.overshootTolerance,m.duration||(m.duration={max:Math.max(r.minDuration||0,"maxDuration"in r?r.maxDuration:2),min:isNaN(r.minDuration)?L===0||Nn(m)&&m.resistance>1e3?0:.5:r.minDuration,overshoot:L}),l.tween=I=re.to(M||t,{inertia:m,data:"_draggable",inherit:!1,onComplete:hh,onInterrupt:ph,onUpdate:r.fastMode?be:Or,onUpdateParams:r.fastMode?[l,"onthrowupdate","onThrowUpdate"]:T&&T.radius?[!1,!0]:[]}),r.fastMode||(M&&(M._skip=!0),I.render(1e9,!0,!0),Or(!0,!0),l.endX=l.x,l.endY=l.y,a&&(l.endRotation=l.x),I.play(0),Or(!0,!0),M&&(M._skip=!1))):ie&&l.applyBounds()},$c=function(m){var O=se,T;se=Cr(t.parentNode,!0),m&&l.isPressed&&!se.equals(O||new kr)&&(T=O.inverse().apply({x:G,y:U}),se.apply(T,T),G=T.x,U=T.y),se.equals(Wd)&&(se=null)},Ii=function(){var m=1-l.edgeResistance,O=R?nn(z):0,T=R?rn(z):0,D,I,L;s&&(b.x=Y(c,"px")+"px",b.y=Y(u,"px")+"px",b.renderTransform()),$c(!1),dt.x=l.pointerX-O,dt.y=l.pointerY-T,se&&se.apply(dt,dt),G=dt.x,U=dt.y,q&&(Yn(l.pointerX,l.pointerY),Mt(!0)),Ac=Cr(t),M?(xs(),j=M.top(),X=M.left()):(jn()?(Or(!0,!0),xs()):l.applyBounds(),a?(D=t.ownerSVGElement?[b.xOrigin-t.getBBox().x,b.yOrigin-t.getBBox().y]:(Ln(t)[as]||"0 0").split(" "),qe=l.rotationOrigin=Cr(t).apply({x:parseFloat(D[0])||0,y:parseFloat(D[1])||0}),Or(!0,!0),I=l.pointerX-qe.x-O,L=qe.y-l.pointerY+T,X=l.x,j=l.y=Math.atan2(L,I)*gc):(j=Y(u,"px"),X=Y(c,"px"))),ie&&m&&(X>$?X=$+(X-$)/m:X<N&&(X=N-(N-X)/m),a||(j>V?j=V+(j-V)/m:j<H&&(j=H-(H-j)/m))),l.startX=X=rr(X),l.startY=j=rr(j)},jn=function(){return l.tween&&l.tween.isActive()},gh=function(){Bt.parentNode&&!jn()&&!l.isDragging&&Bt.parentNode.removeChild(Bt)},Bn=function(m,O){var T;if(!F||l.isPressed||!m||(m.type==="mousedown"||m.type==="pointerdown")&&!O&&nr()-v<30&&An[l.pointerEvent.type]){nt&&m&&F&&ft(m);return}if(Oc=jn(),Ni=!1,l.pointerEvent=m,An[m.type]?($e=~m.type.indexOf("touch")?m.currentTarget||m.target:z,Re($e,"touchend",wt),Re($e,"touchmove",Mr),Re($e,"touchcancel",wt),Re(z,"touchstart",bc)):($e=null,Re(z,"mousemove",Mr)),vt=null,(!Oi||!$e)&&(Re(z,"mouseup",wt),m&&m.target&&Re(m.target,"mouseup",wt)),Fn=w.call(l,m.target)&&r.dragClickables===!1&&!O,Fn){Re(m.target,"change",wt),be(l,"pressInit","onPressInit"),be(l,"press","onPress"),$i(g,!0),nt=!1;return}if(ht=!$e||f===d||l.vars.allowNativeTouchScrolling===!1||l.vars.allowContextMenu&&m&&(m.ctrlKey||m.which>2)?!1:f?"y":"x",nt=!ht&&!l.allowEventDefault,nt&&(ft(m),Re(de,"touchforcechange",ft)),m.changedTouches?(m=ae=m.changedTouches[0],xe=m.identifier):m.pointerId?xe=m.pointerId:ae=xe=null,Mi++,Ud(Mt),U=l.pointerY=m.pageY,G=l.pointerX=m.pageX,be(l,"pressInit","onPressInit"),(ht||l.autoScroll)&&ls(t.parentNode),t.parentNode&&l.autoScroll&&!M&&!a&&t.parentNode._gsMaxScrollX&&!Bt.parentNode&&!t.getBBox&&(Bt.style.width=t.parentNode.scrollWidth+"px",t.parentNode.appendChild(Bt)),Ii(),l.tween&&l.tween.kill(),l.isThrowing=!1,re.killTweensOf(M||t,p,!0),M&&re.killTweensOf(t,{scrollTo:1},!0),l.tween=l.lockedAxis=null,(r.zIndexBoost||!a&&!M&&r.zIndexBoost!==!1)&&(t.style.zIndex=e.zIndex++),l.isPressed=!0,J=!!(r.onDrag||l._listeners.drag),P=!!(r.onMove||l._listeners.move),r.cursor!==!1||r.activeCursor)for(T=g.length;--T>-1;)re.set(g[T],{cursor:r.activeCursor||r.cursor||($n==="grab"?"grabbing":$n)});be(l,"press","onPress")},Mr=function(m){var O=m,T,D,I,L,Z,B;if(!F||os||!l.isPressed||!m){nt&&m&&F&&ft(m);return}if(l.pointerEvent=m,T=m.changedTouches,T){if(m=T[0],m!==ae&&m.identifier!==xe){for(L=T.length;--L>-1&&(m=T[L]).identifier!==xe&&m.target!==t;);if(L<0)return}}else if(m.pointerId&&xe&&m.pointerId!==xe)return;if($e&&ht&&!vt&&(dt.x=m.pageX-(R?nn(z):0),dt.y=m.pageY-(R?rn(z):0),se&&se.apply(dt,dt),D=dt.x,I=dt.y,Z=Math.abs(D-G),B=Math.abs(I-U),(Z!==B&&(Z>h||B>h)||Dn&&ht===vt)&&(vt=Z>B&&f?"x":"y",ht&&vt!==ht&&Re(de,"touchforcechange",ft),l.vars.lockAxisOnTouchScroll!==!1&&f&&d&&(l.lockedAxis=vt==="x"?"y":"x",tr(l.vars.onLockAxis)&&l.vars.onLockAxis.call(l,O)),Dn&&ht===vt))){wt(O);return}!l.allowEventDefault&&(!ht||vt&&ht!==vt)&&O.cancelable!==!1?(ft(O),nt=!0):nt&&(nt=!1),l.autoScroll&&(x=!0),Yn(m.pageX,m.pageY,P)},Yn=function(m,O,T){var D=1-l.dragResistance,I=1-l.edgeResistance,L=l.pointerX,Z=l.pointerY,B=j,le=l.x,ne=l.y,ce=l.endX,Te=l.endY,Be=l.endRotation,Wt=q,pt,ir,Ne,Ee,ws,bt;l.pointerX=m,l.pointerY=O,R&&(m-=nn(z),O-=rn(z)),a?(Ee=Math.atan2(qe.y-O,m-qe.x)*gc,ws=l.y-Ee,ws>180?(j-=360,l.y=Ee):ws<-180&&(j+=360,l.y=Ee),l.x!==X||Math.max(Math.abs(G-m),Math.abs(U-O))>h?(l.y=Ee,Ne=X+(j-Ee)*D):Ne=X):(se&&(bt=m*se.a+O*se.c+se.e,O=m*se.b+O*se.d+se.f,m=bt),ir=O-U,pt=m-G,ir<h&&ir>-h&&(ir=0),pt<h&&pt>-h&&(pt=0),(l.lockAxis||l.lockedAxis)&&(pt||ir)&&(bt=l.lockedAxis,bt||(l.lockedAxis=bt=f&&Math.abs(pt)>Math.abs(ir)?"y":d?"x":null,bt&&tr(l.vars.onLockAxis)&&l.vars.onLockAxis.call(l,l.pointerEvent)),bt==="y"?ir=0:bt==="x"&&(pt=0)),Ne=rr(X+pt*D),Ee=rr(j+ir*D)),(Fe||We||je)&&(l.x!==Ne||l.y!==Ee&&!a)&&(je&&(tn.x=Ne,tn.y=Ee,bt=je(tn),Ne=rr(bt.x),Ee=rr(bt.y)),Fe&&(Ne=rr(Fe(Ne))),We&&(Ee=rr(We(Ee)))),ie&&(Ne>$?Ne=$+Math.round((Ne-$)*I):Ne<N&&(Ne=N+Math.round((Ne-N)*I)),a||(Ee>V?Ee=Math.round(V+(Ee-V)*I):Ee<H&&(Ee=Math.round(H+(Ee-H)*I)))),(l.x!==Ne||l.y!==Ee&&!a)&&(a?(l.endRotation=l.x=l.endX=Ne,q=!0):(d&&(l.y=l.endY=Ee,q=!0),f&&(l.x=l.endX=Ne,q=!0)),!T||be(l,"move","onMove")!==!1?!l.isDragging&&l.isPressed&&(l.isDragging=Ni=!0,be(l,"dragstart","onDragStart")):(l.pointerX=L,l.pointerY=Z,j=B,l.x=le,l.y=ne,l.endX=ce,l.endY=Te,l.endRotation=Be,q=Wt))},wt=function W(m,O){if(!F||!l.isPressed||m&&xe!=null&&!O&&(m.pointerId&&m.pointerId!==xe&&m.target!==t||m.changedTouches&&!qd(m.changedTouches,xe))){nt&&m&&F&&ft(m);return}l.isPressed=!1;var T=m,D=l.isDragging,I=l.vars.allowContextMenu&&m&&(m.ctrlKey||m.which>2),L=re.delayedCall(.001,gh),Z,B,le,ne,ce;if($e?(Pe($e,"touchend",W),Pe($e,"touchmove",Mr),Pe($e,"touchcancel",W),Pe(z,"touchstart",bc)):Pe(z,"mousemove",Mr),Pe(de,"touchforcechange",ft),(!Oi||!$e)&&(Pe(z,"mouseup",W),m&&m.target&&Pe(m.target,"mouseup",W)),q=!1,D&&(y=mc=nr(),l.isDragging=!1),wc(Mt),Fn&&!I){m&&(Pe(m.target,"change",W),l.pointerEvent=T),$i(g,!1),be(l,"release","onRelease"),be(l,"click","onClick"),Fn=!1;return}for(B=g.length;--B>-1;)cs(g[B],"cursor",r.cursor||(r.cursor!==!1?$n:null));if(Mi--,m){if(Z=m.changedTouches,Z&&(m=Z[0],m!==ae&&m.identifier!==xe)){for(B=Z.length;--B>-1&&(m=Z[B]).identifier!==xe&&m.target!==t;);if(B<0&&!O)return}l.pointerEvent=T,l.pointerX=m.pageX,l.pointerY=m.pageY}return I&&T?(ft(T),nt=!0,be(l,"release","onRelease")):T&&!D?(nt=!1,Oc&&(r.snap||r.bounds)&&vs(r.inertia||r.throwProps),be(l,"release","onRelease"),(!Dn||T.type!=="touchmove")&&T.type.indexOf("cancel")===-1&&(be(l,"click","onClick"),nr()-v<300&&be(l,"doubleclick","onDoubleClick"),ne=T.target||t,v=nr(),ce=function(){v!==_s&&l.enabled()&&!l.isPressed&&!T.defaultPrevented&&(ne.click?ne.click():z.createEvent&&(le=z.createEvent("MouseEvents"),le.initMouseEvent("click",!0,!0,de,1,l.pointerEvent.screenX,l.pointerEvent.screenY,l.pointerX,l.pointerY,!1,!1,!1,!1,0,null),ne.dispatchEvent(le)))},!Dn&&!T.defaultPrevented&&re.delayedCall(.05,ce))):(vs(r.inertia||r.throwProps),!l.allowEventDefault&&T&&(r.dragClickables!==!1||!w.call(l,T.target))&&D&&(!ht||vt&&ht===vt)&&T.cancelable!==!1?(nt=!0,ft(T)):nt=!1,be(l,"release","onRelease")),jn()&&L.duration(l.tween.duration()),D&&be(l,"dragend","onDragEnd"),!0},zi=function(m){if(m&&l.isDragging&&!M){var O=m.target||t.parentNode,T=O.scrollLeft-O._gsScrollX,D=O.scrollTop-O._gsScrollY;(T||D)&&(se?(G-=T*se.a+D*se.c,U-=D*se.d+T*se.b):(G-=T,U-=D),O._gsScrollX+=T,O._gsScrollY+=D,Yn(l.pointerX,l.pointerY))}},Nc=function(m){var O=nr(),T=O-v<100,D=O-y<50,I=T&&_s===v,L=l.pointerEvent&&l.pointerEvent.defaultPrevented,Z=T&&Mc===v,B=m.isTrusted||m.isTrusted==null&&T&&I;if((I||D&&l.vars.suppressClickOnDrag!==!1)&&m.stopImmediatePropagation&&m.stopImmediatePropagation(),T&&!(l.pointerEvent&&l.pointerEvent.defaultPrevented)&&(!I||B&&!Z)){B&&I&&(Mc=v),_s=v;return}(l.isPressed||D||T)&&(!B||!m.detail||!T||L)&&ft(m),!T&&!D&&!Ni&&(m&&m.target&&(l.pointerEvent=m),be(l,"click","onClick"))},Ic=function(m){return se?{x:m.x*se.a+m.y*se.c+se.e,y:m.x*se.b+m.y*se.d+se.f}:{x:m.x,y:m.y}};return Ae=e.get(t),Ae&&Ae.kill(),i.startDrag=function(W,m){var O,T,D,I;Bn(W||l.pointerEvent,!0),m&&!l.hitTest(W||l.pointerEvent)&&(O=sn(W||l.pointerEvent),T=sn(t),D=Ic({x:O.left+O.width/2,y:O.top+O.height/2}),I=Ic({x:T.left+T.width/2,y:T.top+T.height/2}),G-=D.x-I.x,U-=D.y-I.y),l.isDragging||(l.isDragging=Ni=!0,be(l,"dragstart","onDragStart"))},i.drag=Mr,i.endDrag=function(W){return wt(W||l.pointerEvent,!0)},i.timeSinceDrag=function(){return l.isDragging?0:(nr()-y)/1e3},i.timeSinceClick=function(){return(nr()-v)/1e3},i.hitTest=function(W,m){return e.hitTest(l.target,W,m)},i.getDirection=function(W,m){var O=W==="velocity"&&yt?W:Nn(W)&&!a?"element":"start",T,D,I,L,Z,B;return O==="element"&&(Z=sn(l.target),B=sn(W)),T=O==="start"?l.x-X:O==="velocity"?yt.getVelocity(t,c):Z.left+Z.width/2-(B.left+B.width/2),a?T<0?"counter-clockwise":"clockwise":(m=m||2,D=O==="start"?l.y-j:O==="velocity"?yt.getVelocity(t,u):Z.top+Z.height/2-(B.top+B.height/2),I=Math.abs(T/D),L=I<1/m?"":T<0?"left":"right",I<m&&(L!==""&&(L+="-"),L+=D<0?"up":"down"),L)},i.applyBounds=function(W,m){var O,T,D,I,L,Z;if(W&&r.bounds!==W)return r.bounds=W,l.update(!0,m);if(Or(!0),xs(),ie&&!jn()){if(O=l.x,T=l.y,O>$?O=$:O<N&&(O=N),T>V?T=V:T<H&&(T=H),(l.x!==O||l.y!==T)&&(D=!0,l.x=l.endX=O,a?l.endRotation=O:l.y=l.endY=T,q=!0,Mt(!0),l.autoScroll&&!l.isDragging))for(ls(t.parentNode),I=t,Yt.scrollTop=de.pageYOffset!=null?de.pageYOffset:z.documentElement.scrollTop!=null?z.documentElement.scrollTop:z.body.scrollTop,Yt.scrollLeft=de.pageXOffset!=null?de.pageXOffset:z.documentElement.scrollLeft!=null?z.documentElement.scrollLeft:z.body.scrollLeft;I&&!Z;)Z=on(I.parentNode),L=Z?Yt:I.parentNode,d&&L.scrollTop>L._gsMaxScrollY&&(L.scrollTop=L._gsMaxScrollY),f&&L.scrollLeft>L._gsMaxScrollX&&(L.scrollLeft=L._gsMaxScrollX),I=L;l.isThrowing&&(D||l.endX>$||l.endX<N||l.endY>V||l.endY<H)&&vs(r.inertia||r.throwProps,D)}return l},i.update=function(W,m,O){if(m&&l.isPressed){var T=Cr(t),D=Ac.apply({x:l.x-X,y:l.y-j}),I=Cr(t.parentNode,!0);I.apply({x:T.e-D.x,y:T.f-D.y},D),l.x-=D.x-I.e,l.y-=D.y-I.f,Mt(!0),Ii()}var L=l.x,Z=l.y;return $c(!m),W?l.applyBounds():(q&&O&&Mt(!0),Or(!0)),m&&(Yn(l.pointerX,l.pointerY),q&&Mt(!0)),l.isPressed&&!m&&(f&&Math.abs(L-l.x)>.01||d&&Math.abs(Z-l.y)>.01&&!a)&&Ii(),l.autoScroll&&(ls(t.parentNode,l.isDragging),x=l.isDragging,Mt(!0),Sc(t,zi),Tc(t,zi)),l},i.enable=function(W){var m={lazy:!0},O,T,D;if(r.cursor!==!1&&(m.cursor=r.cursor||$n),re.utils.checkPrefix("touchCallout")&&(m.touchCallout="none"),W!=="soft"){for(yc(g,f===d?"none":r.allowNativeTouchScrolling&&t.scrollHeight===t.clientHeight==(t.scrollWidth===t.clientHeight)||r.allowEventDefault?"manipulation":f?"pan-y":"pan-x"),T=g.length;--T>-1;)D=g[T],Oi||Re(D,"mousedown",Bn),Re(D,"touchstart",Bn),Re(D,"click",Nc,!0),re.set(D,m),D.getBBox&&D.ownerSVGElement&&f!==d&&re.set(D.ownerSVGElement,{touchAction:r.allowNativeTouchScrolling||r.allowEventDefault?"manipulation":f?"pan-y":"pan-x"}),r.allowContextMenu||Re(D,"contextmenu",Dc);$i(g,!1)}return Tc(t,zi),F=!0,yt&&W!=="soft"&&yt.track(M||t,s?"x,y":a?"rotation":"top,left"),t._gsDragID=O=t._gsDragID||"d"+Xd++,en[O]=l,M&&(M.enable(),M.element._gsDragID=O),(r.bounds||a)&&Ii(),r.bounds&&l.applyBounds(),l},i.disable=function(W){for(var m=l.isDragging,O=g.length,T;--O>-1;)cs(g[O],"cursor",null);if(W!=="soft"){for(yc(g,null),O=g.length;--O>-1;)T=g[O],cs(T,"touchCallout",null),Pe(T,"mousedown",Bn),Pe(T,"touchstart",Bn),Pe(T,"click",Nc,!0),Pe(T,"contextmenu",Dc);$i(g,!0),$e&&(Pe($e,"touchcancel",wt),Pe($e,"touchend",wt),Pe($e,"touchmove",Mr)),Pe(z,"mouseup",wt),Pe(z,"mousemove",Mr)}return Sc(t,zi),F=!1,yt&&W!=="soft"&&(yt.untrack(M||t,s?"x,y":a?"rotation":"top,left"),l.tween&&l.tween.kill()),M&&M.disable(),wc(Mt),l.isDragging=l.isPressed=Fn=!1,m&&be(l,"dragend","onDragEnd"),l},i.enabled=function(W,m){return arguments.length?W?l.enable(m):l.disable(m):F},i.kill=function(){return l.isThrowing=!1,l.tween&&l.tween.kill(),l.disable(),re.set(g,{clearProps:"userSelect"}),delete en[t._gsDragID],l},i.revert=function(){this.kill(),this.styles&&this.styles.revert()},~o.indexOf("scroll")&&(M=i.scrollProxy=new eh(t,Hd({onKill:function(){l.isPressed&&wt(null)}},r)),t.style.overflowY=d&&!is?"auto":"hidden",t.style.overflowX=f&&!is?"auto":"hidden",t=M.content),a?p.rotation=1:(f&&(p[c]=1),d&&(p[u]=1)),b.force3D="force3D"in r?r.force3D:!0,dc(uc(i)),i.enable(),i}return e.register=function(r){re=r,ds()},e.create=function(r,i){return ns||ds(!0),er(r).map(function(o){return new e(o,i)})},e.get=function(r){return en[(er(r)[0]||{})._gsDragID]},e.timeSinceDrag=function(){return(nr()-mc)/1e3},e.hitTest=function(r,i,o){if(r===i)return!1;var s=sn(r),a=sn(i),c=s.top,u=s.left,f=s.right,d=s.bottom,h=s.width,l=s.height,g=a.left>f||a.right<u||a.top>d||a.bottom<c,p,y,x;return g||!o?!g:(x=(o+"").indexOf("%")!==-1,o=parseFloat(o)||0,p={left:Math.max(u,a.left),top:Math.max(c,a.top)},p.width=Math.min(f,a.right)-p.left,p.height=Math.min(d,a.bottom)-p.top,p.width<0||p.height<0?!1:x?(o*=.01,y=p.width*p.height,y>=h*l*o||y>=a.width*a.height*o):p.width>o&&p.height>o)},e})(th);Gd(an.prototype,{pointerX:0,pointerY:0,startX:0,startY:0,deltaX:0,deltaY:0,isDragging:!1,isPressed:!1}),an.zIndex=1e3,an.version="3.13.0",pc()&&re.registerPlugin(an),ee.registerPlugin(Tr),ee.registerPlugin(an);const hs=E.createContext({toasts:[],addToast:()=>{}}),Ec=({children:n,...e})=>{const t=E.useMemo(()=>({maxToastDisplay:3,durationInSeconds:5,...e.settings}),[e.settings]),[r,i]=E.useState([]),o=E.useCallback(a=>{i(c=>c.filter(u=>u.id!==a))},[]),s=E.useMemo(()=>({toasts:r,addToast:a=>{const c={id:`toast-${Date.now()}-${Math.random()}`,...a};i(u=>[...u,c])}}),[r]);return A.jsxs(hs.Provider,{value:s,children:[n," ",A.jsx(Rc,{toasts:r,removeToast:o,settings:t})]})},Rc=({toasts:n,removeToast:e,settings:t})=>{const r=E.useRef(new Map),i=E.useRef(null),[o,s]=E.useState(!1),{isMobile:a}=Jr(),c=E.useCallback(f=>{const d=r.current.get(f);d&&(ee.killTweensOf(d),ee.to(d,{x:"100%",opacity:0,duration:.4,ease:"power2.in",onComplete:()=>{e(f)}}))},[e]);E.useEffect(()=>{n.forEach(f=>{const d=r.current.get(f.id);d&&!d.dataset.animatedIn&&(d.dataset.animatedIn="true",ee.fromTo(d,{opacity:0,y:-100},{opacity:1,y:0,duration:.5,ease:"power2.out",onComplete:()=>{const h=ee.timeline({delay:f.duration||t.durationInSeconds,onComplete:()=>{ee.to(d,{opacity:0,y:-50,duration:.3,ease:"power2.in",onComplete:()=>{e(f.id),r.current.delete(f.id)}})}});d.timeline=h}}))})},[n,e]);const u=n.slice(-t.maxToastDisplay);return Tr(()=>{ee.to(".toast-item",{marginBottom:f=>o||f===0?0:-48,transform:f=>f<Math.min(5,u.length-1)&&!o?`scale(${1-(Math.min(5,u.length-1)-f)*.05})`:"scale(1)",duration:.3,ease:"power2.out",stagger:.05})},{dependencies:[o,u],scope:i}),Tr(()=>{const f=[];return u.forEach(d=>{const h=r.current.get(d.id);if(!h)return;const l=an.create(h,{type:"x",edgeResistance:.9,bounds:{minX:0,maxX:window.innerWidth},onPress:function(){this.target.timeline&&this.target.timeline.pause()},onDrag:function(){ee.set(this.target,{opacity:1-Math.abs(this.x)/this.maxX})},onDragEnd:function(){const g=h.offsetWidth*.1;this.x>g?ee.to(this.target,{x:"100%",opacity:0,duration:.3,ease:"power2.in",onComplete:()=>{e(d.id)}}):(ee.to(this.target,{x:0,opacity:1,duration:.4,ease:"elastic.out(1, 0.75)"}),this.target.timeline&&this.target.timeline.resume())}});f.push(l[0])}),()=>{f.forEach(d=>d.kill())}},{dependencies:[n],scope:i}),E.useEffect(()=>{u.length===0&&o&&s(!1)},[u,o]),A.jsx(ye,{ref:i,gap:.5,direction:"column-reverse",style:{position:"fixed",top:a?"16px":"8px",right:a?"16px":"8px",zIndex:99999},onMouseEnter:()=>s(!0),onMouseLeave:()=>s(!1),children:u.map((f,d)=>A.jsx(Ko,{className:"toast-item",onClose:()=>c(f.id),ref:h=>{h&&r.current.set(f.id,h)},...f,style:{position:"relative",zIndex:d,marginBottom:d>0?"-48px":"0",transform:d<Math.min(5,u.length-1)?`scale(${1-(Math.min(5,u.length-1)-d)*.05})`:"scale(1)"}},f.id))})},ps=E.createContext({theme:Il,setTheme:()=>{}}),rh=n=>{if(n.themes.length===0)throw new Error("No themes provided");const[e,t]=E.useState(n.themes[0]),r=o=>{const s=n.themes[o];if(!s)throw new Error("Theme not found");t(s)},i=E.useMemo(()=>({theme:e,setTheme:r}),[e]);return A.jsx(ps.Provider,{value:i,children:n.children})},nh=()=>E.useContext(ps),ih=()=>{const{addToast:n}=E.useContext(hs);return{addToast:n}};function oh(n){const e=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(n);if(!e)throw new Error("Invalid HEX color");return{r:parseInt(e[1],16),g:parseInt(e[2],16),b:parseInt(e[3],16)}}function sh({r:n,g:e,b:t}){n/=255,e/=255,t/=255;const r=Math.max(n,e,t),i=Math.min(n,e,t);let o=0,s=0,a=(r+i)/2;if(r!==i){const c=r-i;switch(s=a>.5?c/(2-r-i):c/(r+i),r){case n:o=(e-t)/c+(e<t?6:0);break;case e:o=(t-n)/c+2;break;case t:o=(n-e)/c+4;break}o/=6}return{h:o,s,l:a}}function ah({h:n,s:e,l:t}){let r,i,o;if(e===0)r=i=o=t;else{const s=(u,f,d)=>(d<0&&(d+=1),d>1&&(d-=1),d<.16666666666666666?u+(f-u)*6*d:d<.5?f:d<.6666666666666666?u+(f-u)*(.6666666666666666-d)*6:u),a=t<.5?t*(1+e):t+e-t*e,c=2*t-a;r=s(c,a,n+1/3),i=s(c,a,n),o=s(c,a,n-1/3)}return{r:Math.round(r*255),g:Math.round(i*255),b:Math.round(o*255)}}function lh({r:n,g:e,b:t}){const r=i=>("0"+i.toString(16)).slice(-2);return`#${r(n)}${r(e)}${r(t)}`}function gs(n,e=600){const t={50:.95,100:.89,200:.78,300:.67,400:.56,500:.45,600:.35,700:.29,800:.23,900:.18,950:.1},r=oh(n),i=sh(r),o={};for(const s in t){const a=s,c={h:i.h,s:i.s,l:t[a]};o[s]=lh(ah(c))}return o[e.toString()]=n,o}const ch=n=>{const e=gs(n.primary,500),t=gs(n.default??"#000000",500),r=gs(n.error??"#e74c3c",500);return{radius:n.radius,title:{fontFamily:n.titleFontFamily??"Poppins"},text:{fontFamily:n.textFontFamily??"Poppins, sans-serif"},palette:{primary:{dark:e[900],main:e[500],light:e[100]},default:{dark:t[900],main:t[500],light:t[100]},error:{dark:r[900],main:r[500],light:r[100]}}}},uh=({children:n})=>{const{theme:e}=E.useContext(ps);return A.jsx(fd,{theme:e,children:n})},fh=({children:n,themes:e,settings:t})=>A.jsx(rh,{themes:e,children:A.jsx(uh,{children:A.jsxs(Ec,{settings:t?.toasts,children:[A.jsx("div",{id:"modal"}),n]})})});Q.BellIcon=Fl,Q.Button=ki,Q.CheckIcon=Go,Q.Chip=Ul,Q.Divider=ql,Q.ExampleIcon=hd,Q.Flex=ye,Q.HamburgerIcon=jl,Q.HeartIcon=Bl,Q.Input=Kl,Q.Modal=tc,Q.OpenUIProvider=fh,Q.Popover=rc,Q.ProgressBar=Ed,Q.Select=ic,Q.Skeleton=Md,Q.Switch=Ad,Q.THEME=Il,Q.Text=ut,Q.TextArea=oc,Q.Title=Ql,Q.Toast=Ko,Q.ToastContext=hs,Q.ToastContextProvider=Ec,Q.ToastProvider=Rc,Q.breakpoints=Si,Q.createTheme=ch,Q.getPlacementStyle=En,Q.radiusMap=Ot,Q.useResponsive=Jr,Q.useTheme=nh,Q.useToast=ih,Object.defineProperty(Q,Symbol.toStringTag,{value:"Module"})}));
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@julien-wiegandt/open-ui",
3
3
  "private": false,
4
- "version": "0.1.53",
4
+ "version": "0.1.54",
5
5
  "description": "The best open source react UI library",
6
6
  "type": "module",
7
7
  "main": "./dist/open-ui.umd.cjs",