prometeo-design-system 1.0.11 → 1.0.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- (function(A,M){typeof exports=="object"&&typeof module<"u"?M(exports,require("react"),require("boring-avatars"),require("clsx"),require("tailwind-merge"),require("framer-motion"),require("use-debounce"),require("react-router-dom"),require("@gsap/react")):typeof define=="function"&&define.amd?define(["exports","react","boring-avatars","clsx","tailwind-merge","framer-motion","use-debounce","react-router-dom","@gsap/react"],M):(A=typeof globalThis<"u"?globalThis:A||self,M(A.PrometeoDesignSystem={},A.React,A.BoringAvatars,A.clsx,A.tailwindMerge,A.FramerMotion,A.useDebounce,A.ReactRouterDOM,A.GSAPReact))})(this,(function(A,M,Qn,Ma,ka,I,Fa,Ra,Da){"use strict";function Ia(r){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(r){for(const t in r)if(t!=="default"){const n=Object.getOwnPropertyDescriptor(r,t);Object.defineProperty(e,t,n.get?n:{enumerable:!0,get:()=>r[t]})}}return e.default=r,Object.freeze(e)}const K=Ia(M);function ei(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}var cr={exports:{}},Rt={};/**
1
+ (function(E,L){typeof exports=="object"&&typeof module<"u"?L(exports,require("react"),require("boring-avatars"),require("clsx"),require("tailwind-merge"),require("framer-motion"),require("use-debounce"),require("formik"),require("react-router-dom"),require("@gsap/react")):typeof define=="function"&&define.amd?define(["exports","react","boring-avatars","clsx","tailwind-merge","framer-motion","use-debounce","formik","react-router-dom","@gsap/react"],L):(E=typeof globalThis<"u"?globalThis:E||self,L(E.PrometeoDesignSystem={},E.React,E.BoringAvatars,E.clsx,E.tailwindMerge,E.FramerMotion,E.useDebounce,E.Formik,E.ReactRouterDOM,E.GSAPReact))})(this,(function(E,L,Xr,bi,wi,M,Ti,Gr,ji,Oi){"use strict";function qi(i){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(i){for(const t in i)if(t!=="default"){const r=Object.getOwnPropertyDescriptor(i,t);Object.defineProperty(e,t,r.get?r:{enumerable:!0,get:()=>i[t]})}}return e.default=i,Object.freeze(e)}const Y=qi(L);var At={exports:{}},mt={};/**
2
2
  * @license React
3
3
  * react-jsx-runtime.production.js
4
4
  *
@@ -6,7 +6,7 @@
6
6
  *
7
7
  * This source code is licensed under the MIT license found in the
8
8
  * LICENSE file in the root directory of this source tree.
9
- */var ti;function $a(){if(ti)return Rt;ti=1;var r=Symbol.for("react.transitional.element"),e=Symbol.for("react.fragment");function t(n,i,s){var a=null;if(s!==void 0&&(a=""+s),i.key!==void 0&&(a=""+i.key),"key"in i){s={};for(var o in i)o!=="key"&&(s[o]=i[o])}else s=i;return i=s.ref,{$$typeof:r,type:n,key:a,ref:i!==void 0?i:null,props:s}}return Rt.Fragment=e,Rt.jsx=t,Rt.jsxs=t,Rt}var Dt={};/**
9
+ */var Jr;function Ci(){if(Jr)return mt;Jr=1;var i=Symbol.for("react.transitional.element"),e=Symbol.for("react.fragment");function t(r,n,s){var a=null;if(s!==void 0&&(a=""+s),n.key!==void 0&&(a=""+n.key),"key"in n){s={};for(var o in n)o!=="key"&&(s[o]=n[o])}else s=n;return n=s.ref,{$$typeof:i,type:r,key:a,ref:n!==void 0?n:null,props:s}}return mt.Fragment=e,mt.jsx=t,mt.jsxs=t,mt}var _t={};/**
10
10
  * @license React
11
11
  * react-jsx-runtime.development.js
12
12
  *
@@ -14,50 +14,36 @@
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 ri;function La(){return ri||(ri=1,process.env.NODE_ENV!=="production"&&(function(){function r(T){if(T==null)return null;if(typeof T=="function")return T.$$typeof===k?null:T.displayName||T.name||null;if(typeof T=="string")return T;switch(T){case h:return"Fragment";case x:return"Profiler";case v:return"StrictMode";case g:return"Suspense";case j:return"SuspenseList";case O:return"Activity"}if(typeof T=="object")switch(typeof T.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),T.$$typeof){case _:return"Portal";case b:return(T.displayName||"Context")+".Provider";case y:return(T._context.displayName||"Context")+".Consumer";case w:var E=T.render;return T=T.displayName,T||(T=E.displayName||E.name||"",T=T!==""?"ForwardRef("+T+")":"ForwardRef"),T;case S:return E=T.displayName||null,E!==null?E:r(T.type)||"Memo";case C:E=T._payload,T=T._init;try{return r(T(E))}catch{}}return null}function e(T){return""+T}function t(T){try{e(T);var E=!1}catch{E=!0}if(E){E=console;var q=E.error,B=typeof Symbol=="function"&&Symbol.toStringTag&&T[Symbol.toStringTag]||T.constructor.name||"Object";return q.call(E,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",B),e(T)}}function n(T){if(T===h)return"<>";if(typeof T=="object"&&T!==null&&T.$$typeof===C)return"<...>";try{var E=r(T);return E?"<"+E+">":"<...>"}catch{return"<...>"}}function i(){var T=$.A;return T===null?null:T.getOwner()}function s(){return Error("react-stack-top-frame")}function a(T){if(D.call(T,"key")){var E=Object.getOwnPropertyDescriptor(T,"key").get;if(E&&E.isReactWarning)return!1}return T.key!==void 0}function o(T,E){function q(){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)",E))}q.isReactWarning=!0,Object.defineProperty(T,"key",{get:q,configurable:!0})}function l(){var T=r(this.type);return Z[T]||(Z[T]=!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.")),T=this.props.ref,T!==void 0?T:null}function u(T,E,q,B,re,oe,or,lr){return q=oe.ref,T={$$typeof:m,type:T,key:E,props:oe,_owner:re},(q!==void 0?q:null)!==null?Object.defineProperty(T,"ref",{enumerable:!1,get:l}):Object.defineProperty(T,"ref",{enumerable:!1,value:null}),T._store={},Object.defineProperty(T._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(T,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(T,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:or}),Object.defineProperty(T,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:lr}),Object.freeze&&(Object.freeze(T.props),Object.freeze(T)),T}function c(T,E,q,B,re,oe,or,lr){var ce=E.children;if(ce!==void 0)if(B)if(F(ce)){for(B=0;B<ce.length;B++)f(ce[B]);Object.freeze&&Object.freeze(ce)}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 f(ce);if(D.call(E,"key")){ce=r(T);var nt=Object.keys(E).filter(function(Kn){return Kn!=="key"});B=0<nt.length?"{key: someKey, "+nt.join(": ..., ")+": ...}":"{key: someKey}",de[ce+B]||(nt=0<nt.length?"{"+nt.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
17
+ */var Qr;function Si(){return Qr||(Qr=1,process.env.NODE_ENV!=="production"&&(function(){function i(w){if(w==null)return null;if(typeof w=="function")return w.$$typeof===N?null:w.displayName||w.name||null;if(typeof w=="string")return w;switch(w){case f:return"Fragment";case x:return"Profiler";case g:return"StrictMode";case y:return"Suspense";case O:return"SuspenseList";case j:return"Activity"}if(typeof w=="object")switch(typeof w.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),w.$$typeof){case _:return"Portal";case b:return(w.displayName||"Context")+".Provider";case v:return(w._context.displayName||"Context")+".Consumer";case T:var S=w.render;return w=w.displayName,w||(w=S.displayName||S.name||"",w=w!==""?"ForwardRef("+w+")":"ForwardRef"),w;case q:return S=w.displayName||null,S!==null?S:i(w.type)||"Memo";case C:S=w._payload,w=w._init;try{return i(w(S))}catch{}}return null}function e(w){return""+w}function t(w){try{e(w);var S=!1}catch{S=!0}if(S){S=console;var k=S.error,B=typeof Symbol=="function"&&Symbol.toStringTag&&w[Symbol.toStringTag]||w.constructor.name||"Object";return k.call(S,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",B),e(w)}}function r(w){if(w===f)return"<>";if(typeof w=="object"&&w!==null&&w.$$typeof===C)return"<...>";try{var S=i(w);return S?"<"+S+">":"<...>"}catch{return"<...>"}}function n(){var w=F.A;return w===null?null:w.getOwner()}function s(){return Error("react-stack-top-frame")}function a(w){if(D.call(w,"key")){var S=Object.getOwnPropertyDescriptor(w,"key").get;if(S&&S.isReactWarning)return!1}return w.key!==void 0}function o(w,S){function k(){V||(V=!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)",S))}k.isReactWarning=!0,Object.defineProperty(w,"key",{get:k,configurable:!0})}function l(){var w=i(this.type);return z[w]||(z[w]=!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.")),w=this.props.ref,w!==void 0?w:null}function u(w,S,k,B,ee,ie,Yr,$r){return k=ie.ref,w={$$typeof:m,type:w,key:S,props:ie,_owner:ee},(k!==void 0?k:null)!==null?Object.defineProperty(w,"ref",{enumerable:!1,get:l}):Object.defineProperty(w,"ref",{enumerable:!1,value:null}),w._store={},Object.defineProperty(w._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(w,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(w,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:Yr}),Object.defineProperty(w,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:$r}),Object.freeze&&(Object.freeze(w.props),Object.freeze(w)),w}function c(w,S,k,B,ee,ie,Yr,$r){var le=S.children;if(le!==void 0)if(B)if(R(le)){for(B=0;B<le.length;B++)h(le[B]);Object.freeze&&Object.freeze(le)}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 h(le);if(D.call(S,"key")){le=i(w);var pt=Object.keys(S).filter(function(Fa){return Fa!=="key"});B=0<pt.length?"{key: someKey, "+pt.join(": ..., ")+": ...}":"{key: someKey}",ce[le+B]||(pt=0<pt.length?"{"+pt.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} />`,B,ce,nt,ce),de[ce+B]=!0)}if(ce=null,q!==void 0&&(t(q),ce=""+q),a(E)&&(t(E.key),ce=""+E.key),"key"in E){q={};for(var ur in E)ur!=="key"&&(q[ur]=E[ur])}else q=E;return ce&&o(q,typeof T=="function"?T.displayName||T.name||"Unknown":T),u(T,ce,oe,re,i(),q,or,lr)}function f(T){typeof T=="object"&&T!==null&&T.$$typeof===m&&T._store&&(T._store.validated=1)}var p=M,m=Symbol.for("react.transitional.element"),_=Symbol.for("react.portal"),h=Symbol.for("react.fragment"),v=Symbol.for("react.strict_mode"),x=Symbol.for("react.profiler"),y=Symbol.for("react.consumer"),b=Symbol.for("react.context"),w=Symbol.for("react.forward_ref"),g=Symbol.for("react.suspense"),j=Symbol.for("react.suspense_list"),S=Symbol.for("react.memo"),C=Symbol.for("react.lazy"),O=Symbol.for("react.activity"),k=Symbol.for("react.client.reference"),$=p.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,D=Object.prototype.hasOwnProperty,F=Array.isArray,Y=console.createTask?console.createTask:function(){return null};p={react_stack_bottom_frame:function(T){return T()}};var U,Z={},W=p.react_stack_bottom_frame.bind(p,s)(),ie=Y(n(s)),de={};Dt.Fragment=h,Dt.jsx=function(T,E,q,B,re){var oe=1e4>$.recentlyCreatedOwnerStacks++;return c(T,E,q,!1,B,re,oe?Error("react-stack-top-frame"):W,oe?Y(n(T)):ie)},Dt.jsxs=function(T,E,q,B,re){var oe=1e4>$.recentlyCreatedOwnerStacks++;return c(T,E,q,!0,B,re,oe?Error("react-stack-top-frame"):W,oe?Y(n(T)):ie)}})()),Dt}var ni;function za(){return ni||(ni=1,process.env.NODE_ENV==="production"?cr.exports=$a():cr.exports=La()),cr.exports}var d=za();function Za({profileImage:r,size:e,sizeImage:t=5.5}){const[n,i]=M.useState(!1);return d.jsx(d.Fragment,{children:r&&!n?d.jsx("img",{onError:()=>{i(!0)},src:r,className:`w-${t} h-${t} rounded-full`}):d.jsx(Qn,{size:e,name:r,variant:"beam",colors:["#92A1C6","#146A7C","#F0AB3D","#C271B4","#C20D90"]})})}function N(...r){return ka.twMerge(Ma.clsx(r))}const Ba={filled:{primary:N("bg-primary-default-default text-neutral-strong-default border-0 cursor-pointer flex items-center justify-center","hover:bg-primary-default-hover hover:text-neutral-strong-hover","focus:bg-primary-default-pressed focus:text-neutral-strong-focused","active:bg-primary-pressed active:text-neutral-strong-pressed","disabled:bg-primary-medium-disabled disabled:text-neutral-strong-disabled"),secondary:N("bg-neutral-strong-medium-default flex items-center justify-center text-neutral-strong-default cursor-pointer","hover:bg-neutral-medium-hover hover:text-neutral-strong-hover","focus:bg-neutral-medium-pressed focus:text-neutral-strong-pressed","active:bg-neutral-medium-pressed","disabled:bg-primary-default-disabled disabled:text-neutral-strong-disabled")},outline:{primary:N("bg-transparent text-primary-medium-default border-1 border-primary-medium-default flex items-center justify-center","hover:bg-neutral-default-hover hover:text-primary-medium-hover hover:border-primary-medium-hover","focus:bg-neutral-default-pressed focus:text-primary-medium-pressed focus:border-primary-medium-pressed","active:bg-neutral-default-pressed active:text-primary-medium-pressed active:border-primary-medium-pressed","disabled:border-primary-disabled disabled:text-primary-disabled disabled:bg-transparent"),secondary:N("bg-transparent text-neutral-strong-default border-1 border-neutral-strong-default flex items-center justify-center","hover:bg-neutral-default-hover hover:text-neutral-strong-hover hover:border-neutral-strong-hover","focus:bg-neutral-default-pressed focus:text-neutral-strong-pressed focus:border-neutral-strong-pressed","active:bg-neutral-default-pressed active:text-neutral-strong-pressed active:border-neutral-strong-pressed","disabled:border-neutral-disabled disabled:text-neutral-disabled disabled:bg-transparent")},text:{primary:N("bg-transparent text-primary-medium-default border-0 flex items-center justify-center","hover:bg-neutral-default-hover hover:text-primary-medium-hover","focus:bg-neutral-default-pressed focus:text-primary-medium-pressed","active:bg-neutral-default-pressed active:text-primary-medium-pressed","disabled:text-primary-medium-disabled disabled:bg-transparent"),secondary:N("bg-transparent text-neutral-strong-default border-0 flex items-center justify-center","hover:bg-neutral-default-hover hover:text-primary-default-hover","focus:bg-neutral-default-pressed focus:text-primary-medium-pressed","active:bg-neutral-default-pressed active:text-primary-medium-pressed","disabled:text-primary-medium-disabled disabled:bg-transparent")}},Ua={small:"h-[40px] min-w-[123px] w-fit px-2 py-3 text-sm rounded-md text-sm font-semibold",medium:"h-[48px] min-w-[134px] w-fit px-2 py-3 font-semibold text-base rounded-md",large:"h-[56px] min-w-[145px] w-fit px-4 py-3 text-base rounded-md font-semibold"};function Va({label:r="Selene",onClick:e,icon:t,height:n,width:i,contentClassName:s,loadingText:a="Cargando...",animate:o=!0,animateIcon:l=!0,isLoading:u=!1,disabled:c=!1,type:f="button",variant:p="filled",color:m="primary",size:_="medium",children:h,Spinner:v}){const x=I.useAnimationControls(),y=()=>{!o||c||u||!l||x.start({rotate:90})},b=()=>{!o||c||u||!l||x.start({rotate:0})},w=N(Ba[p][m],!n&&!i?Ua[_]:"px-4 py-2 font-semibold text-base rounded-md flex items-center justify-center",(c||u)&&"opacity-50 cursor-not-allowed","focus:outline-none");return d.jsx(I.motion.button,{onClick:e,className:w,style:{...n&&{height:n},...i&&{width:i}},whileHover:o&&!c&&!u?{scale:1.05}:{},whileTap:o&&!c&&!u?{scale:.98}:{},transition:{type:"spring",stiffness:400,damping:17},onHoverStart:y,onHoverEnd:b,disabled:c||u,type:f,children:u?d.jsxs("div",{className:"flex items-center gap-2",children:[v,_!=="small"&&d.jsx("span",{children:a})]}):h||d.jsxs("span",{className:N("flex items-center gap-2",s),children:[t&&d.jsx(I.motion.div,{animate:l?x:void 0,transition:{type:"spring",stiffness:400,damping:17},children:t}),r&&d.jsx("span",{children:r})]})})}const Ce={Ticket:({size:r,className:e,...t})=>d.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:r,height:r,fill:"currentColor",className:e,children:d.jsx("path",{d:"M480-280q17 0 28.5-11.5T520-320q0-17-11.5-28.5T480-360q-17 0-28.5 11.5T440-320q0 17 11.5 28.5T480-280Zm0-160q17 0 28.5-11.5T520-480q0-17-11.5-28.5T480-520q-17 0-28.5 11.5T440-480q0 17 11.5 28.5T480-440Zm0-160q17 0 28.5-11.5T520-640q0-17-11.5-28.5T480-680q-17 0-28.5 11.5T440-640q0 17 11.5 28.5T480-600Zm320 440H160q-33 0-56.5-23.5T80-240v-160q33 0 56.5-23.5T160-480q0-33-23.5-56.5T80-560v-160q0-33 23.5-56.5T160-800h640q33 0 56.5 23.5T880-720v160q-33 0-56.5 23.5T800-480q0 33 23.5 56.5T880-400v160q0 33-23.5 56.5T800-160Zm0-80v-102q-37-22-58.5-58.5T720-480q0-43 21.5-79.5T800-618v-102H160v102q37 22 58.5 58.5T240-480q0 43-21.5 79.5T160-342v102h640ZM480-480Z"})}),Home:({size:r,className:e,...t})=>d.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:r,height:r,fill:"currentColor",className:e,children:d.jsx("path",{d:"M240-200h120v-240h240v240h120v-360L480-740 240-560v360Zm-80 80v-480l320-240 320 240v480H520v-240h-80v240H160Zm320-350Z"})}),Boards:({size:r,className:e,...t})=>d.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:r,height:r,fill:"currentColor",className:e,children:d.jsx("path",{d:"M160-160q-33 0-56.5-23.5T80-240v-480q0-33 23.5-56.5T160-800h640q33 0 56.5 23.5T880-720v480q0 33-23.5 56.5T800-160H160Zm360-80h100v-480H520v480Zm-180 0h100v-480H340v480Zm-180 0h100v-480H160v480Zm540 0h100v-480H700v480Z"})}),Notifications:({size:r,className:e,...t})=>d.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:r,height:r,fill:"currentColor",className:e,children:d.jsx("path",{d:"M160-200v-80h80v-280q0-83 50-147.5T420-792v-28q0-25 17.5-42.5T480-880q25 0 42.5 17.5T540-820v28q80 20 130 84.5T720-560v280h80v80H160Zm320-300Zm0 420q-33 0-56.5-23.5T400-160h160q0 33-23.5 56.5T480-80ZM320-280h320v-280q0-66-47-113t-113-47q-66 0-113 47t-47 113v280Z"})}),Help:({size:r,className:e,...t})=>d.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:r,height:r,fill:"currentColor",className:e,children:d.jsx("path",{d:"M478-240q21 0 35.5-14.5T528-290q0-21-14.5-35.5T478-340q-21 0-35.5 14.5T428-290q0 21 14.5 35.5T478-240Zm-36-154h74q0-33 7.5-52t42.5-52q26-26 41-49.5t15-56.5q0-56-41-86t-97-30q-57 0-92.5 30T342-618l66 26q5-18 22.5-39t53.5-21q32 0 48 17.5t16 38.5q0 20-12 37.5T506-526q-44 39-54 59t-10 73Zm38 314q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q134 0 227-93t93-227q0-134-93-227t-227-93q-134 0-227 93t-93 227q0 134 93 227t227 93Zm0-320Z"})}),Settings:({size:r,className:e,...t})=>d.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:r,height:r,fill:"currentColor",className:e,children:d.jsx("path",{d:"m370-80-16-128q-13-5-24.5-12T307-235l-119 50L78-375l103-78q-1-7-1-13.5v-27q0-6.5 1-13.5L78-585l110-190 119 50q11-8 23-15t24-12l16-128h220l16 128q13 5 24.5 12t22.5 15l119-50 110 190-103 78q1 7 1 13.5v27q0 6.5-2 13.5l103 78-110 190-118-50q-11 8-23 15t-24 12L590-80H370Zm70-80h79l14-106q31-8 57.5-23.5T639-327l99 41 39-68-86-65q5-14 7-29.5t2-31.5q0-16-2-31.5t-7-29.5l86-65-39-68-99 42q-22-23-48.5-38.5T533-694l-13-106h-79l-14 106q-31 8-57.5 23.5T321-633l-99-41-39 68 86 64q-5 15-7 30t-2 32q0 16 2 31t7 30l-86 65 39 68 99-42q22 23 48.5 38.5T427-266l13 106Zm42-180q58 0 99-41t41-99q0-58-41-99t-99-41q-59 0-99.5 41T342-480q0 58 40.5 99t99.5 41Zm-2-140Z"})}),CrevronLeft:({size:r,className:e,...t})=>d.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:r,height:r,fill:"currentColor",className:e,children:d.jsx("path",{d:"M560-240 320-480l240-240 56 56-184 184 184 184-56 56Z"})}),CrevronRight:({size:r,className:e,...t})=>d.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:r,height:r,fill:"currentColor",className:e,children:d.jsx("path",{d:"M504-480 320-664l56-56 240 240-240 240-56-56 184-184Z"})}),ArrowLeft:({size:r,className:e,...t})=>d.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:r,height:r,fill:"currentColor",className:e,children:d.jsx("path",{d:"M400-240 160-480l240-240 56 58-142 142h486v80H314l142 142-56 58Z"})}),Shared:({size:r,className:e,...t})=>d.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:r,height:r,fill:"currentColor",className:e,children:d.jsx("path",{d:"M680-80q-50 0-85-35t-35-85q0-6 3-28L282-392q-16 15-37 23.5t-45 8.5q-50 0-85-35t-35-85q0-50 35-85t85-35q24 0 45 8.5t37 23.5l281-164q-2-7-2.5-13.5T560-760q0-50 35-85t85-35q50 0 85 35t35 85q0 50-35 85t-85 35q-24 0-45-8.5T598-672L317-508q2 7 2.5 13.5t.5 14.5q0 8-.5 14.5T317-452l281 164q16-15 37-23.5t45-8.5q50 0 85 35t35 85q0 50-35 85t-85 35Zm0-80q17 0 28.5-11.5T720-200q0-17-11.5-28.5T680-240q-17 0-28.5 11.5T640-200q0 17 11.5 28.5T680-160ZM200-440q17 0 28.5-11.5T240-480q0-17-11.5-28.5T200-520q-17 0-28.5 11.5T160-480q0 17 11.5 28.5T200-440Zm480-280q17 0 28.5-11.5T720-760q0-17-11.5-28.5T680-800q-17 0-28.5 11.5T640-760q0 17 11.5 28.5T680-720Zm0 520ZM200-480Zm480-280Z"})}),ChevronDown:({size:r,className:e,...t})=>d.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:r,height:r,fill:"currentColor",className:e,children:d.jsx("path",{d:"M480-345 240-585l56-56 184 183 184-183 56 56-240 240Z"})}),Collapse:({size:r,className:e,...t})=>d.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:r,height:r,fill:"currentColor",className:e,children:d.jsx("path",{d:"M440-440v240h-80v-160H200v-80h240Zm160-320v160h160v80H520v-240h80Z"})}),Calendar:({size:r,className:e,...t})=>d.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:r,height:r,fill:"currentColor",className:e,children:d.jsx("path",{d:"M200-80q-33 0-56.5-23.5T120-160v-560q0-33 23.5-56.5T200-800h40v-80h80v80h320v-80h80v80h40q33 0 56.5 23.5T840-720v560q0 33-23.5 56.5T760-80H200Zm0-80h560v-400H200v400Zm0-480h560v-80H200v80Zm0 0v-80 80Zm280 240q-17 0-28.5-11.5T440-440q0-17 11.5-28.5T480-480q17 0 28.5 11.5T520-440q0 17-11.5 28.5T480-400Zm-160 0q-17 0-28.5-11.5T280-440q0-17 11.5-28.5T320-480q17 0 28.5 11.5T360-440q0 17-11.5 28.5T320-400Zm320 0q-17 0-28.5-11.5T600-440q0-17 11.5-28.5T640-480q17 0 28.5 11.5T680-440q0 17-11.5 28.5T640-400ZM480-240q-17 0-28.5-11.5T440-280q0-17 11.5-28.5T480-320q17 0 28.5 11.5T520-280q0 17-11.5 28.5T480-240Zm-160 0q-17 0-28.5-11.5T280-280q0-17 11.5-28.5T320-320q17 0 28.5 11.5T360-280q0 17-11.5 28.5T320-240Zm320 0q-17 0-28.5-11.5T600-280q0-17 11.5-28.5T640-320q17 0 28.5 11.5T680-280q0 17-11.5 28.5T640-240Z"})}),Close:({size:r,className:e,...t})=>d.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:r,height:r,fill:"currentColor",className:e,children:d.jsx("path",{d:"m256-200-56-56 224-224-224-224 56-56 224 224 224-224 56 56-224 224 224 224-56 56-224-224-224 224Z"})}),UserPerson:({size:r,className:e,...t})=>d.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:r,height:r,fill:"currentColor",className:e,children:d.jsx("path",{d:"M480-480q-66 0-113-47t-47-113q0-66 47-113t113-47q66 0 113 47t47 113q0 66-47 113t-113 47ZM160-160v-112q0-34 17.5-62.5T224-378q62-31 126-46.5T480-440q66 0 130 15.5T736-378q29 15 46.5 43.5T800-272v112H160Zm80-80h480v-32q0-11-5.5-20T700-306q-54-27-109-40.5T480-360q-56 0-111 13.5T260-306q-9 5-14.5 14t-5.5 20v32Zm240-320q33 0 56.5-23.5T560-640q0-33-23.5-56.5T480-720q-33 0-56.5 23.5T400-640q0 33 23.5 56.5T480-560Zm0-80Zm0 400Z"})}),Logout:({size:r,className:e,...t})=>d.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:r,height:r,fill:"currentColor",className:e,children:d.jsx("path",{d:"M200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h280v80H200v560h280v80H200Zm440-160-55-58 102-102H360v-80h327L585-622l55-58 200 200-200 200Z"})}),ArrowUpDown:({size:r,className:e,...t})=>d.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:r,height:r,fill:"currentColor",className:e,children:d.jsx("path",{d:"M320-440v-287L217-624l-57-56 200-200 200 200-57 56-103-103v287h-80ZM600-80 400-280l57-56 103 103v-287h80v287l103-103 57 56L600-80Z"})}),Filter:({size:r,className:e,...t})=>d.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:r,height:r,fill:"currentColor",className:e,children:d.jsx("path",{d:"M400-240v-80h160v80H400ZM240-440v-80h480v80H240ZM120-640v-80h720v80H120Z"})}),Search:({size:r,className:e,...t})=>d.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:r,height:r,fill:"currentColor",className:e,children:d.jsx("path",{d:"M784-120 532-372q-30 24-69 38t-83 14q-109 0-184.5-75.5T120-580q0-109 75.5-184.5T380-840q109 0 184.5 75.5T640-580q0 44-14 83t-38 69l252 252-56 56ZM380-400q75 0 127.5-52.5T560-580q0-75-52.5-127.5T380-760q-75 0-127.5 52.5T200-580q0 75 52.5 127.5T380-400Z"})}),Stars:({size:r,className:e,...t})=>d.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:r,height:r,fill:"currentColor",className:e,children:d.jsx("path",{d:"m668-380 152-130 120 10-176 153 52 227-102-62-46-198Zm-94-292-42-98 46-110 92 217-96-9ZM294-287l126-76 126 77-33-144 111-96-146-13-58-136-58 135-146 13 111 97-33 143ZM173-120l65-281L20-590l288-25 112-265 112 265 288 25-218 189 65 281-247-149-247 149Zm247-340Z"})}),MoreVert:({size:r,className:e,...t})=>d.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:r,height:r,fill:"currentColor",className:e,children:d.jsx("path",{d:"M480-160q-33 0-56.5-23.5T400-240q0-33 23.5-56.5T480-320q33 0 56.5 23.5T560-240q0 33-23.5 56.5T480-160Zm0-240q-33 0-56.5-23.5T400-480q0-33 23.5-56.5T480-560q33 0 56.5 23.5T560-480q0 33-23.5 56.5T480-400Zm0-240q-33 0-56.5-23.5T400-720q0-33 23.5-56.5T480-800q33 0 56.5 23.5T560-720q0 33-23.5 56.5T480-640Z"})}),Add:({size:r,className:e,...t})=>d.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:r,height:r,fill:"currentColor",className:e,children:d.jsx("path",{d:"M440-440H200v-80h240v-240h80v240h240v80H520v240h-80v-240Z"})}),Edit:({size:r,className:e,...t})=>d.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:r,height:r,fill:"currentColor",className:e,children:d.jsx("path",{d:"M200-200h57l391-391-57-57-391 391v57Zm-80 80v-170l528-527q12-11 26.5-17t30.5-6q16 0 31 6t26 18l55 56q12 11 17.5 26t5.5 30q0 16-5.5 30.5T817-647L290-120H120Zm640-584-56-56 56 56Zm-141 85-28-29 57 57-29-28Z"})}),Upload:({size:r,className:e,...t})=>d.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:r,height:r,fill:"currentColor",className:e,children:d.jsx("path",{d:"M440-320v-326L336-542l-56-58 200-200 200 200-56 58-104-104v326h-80ZM240-160q-33 0-56.5-23.5T160-240v-120h80v120h480v-120h80v120q0 33-23.5 56.5T720-160H240Z"})}),Copy:({size:r,className:e,...t})=>d.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:r,height:r,fill:"currentColor",className:e,children:d.jsx("path",{d:"M360-240q-33 0-56.5-23.5T280-320v-480q0-33 23.5-56.5T360-880h360q33 0 56.5 23.5T800-800v480q0 33-23.5 56.5T720-240H360Zm0-80h360v-480H360v480ZM200-80q-33 0-56.5-23.5T120-160v-560h80v560h440v80H200Zm160-240v-480 480Z"})}),FaLock:({size:r,className:e,...t})=>d.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:r,height:r,fill:"currentColor",className:e,children:d.jsx("path",{d:"M80-200v-80h800v80H80Zm46-242-52-30 34-60H40v-60h68l-34-58 52-30 34 58 34-58 52 30-34 58h68v60h-68l34 60-52 30-34-60-34 60Zm320 0-52-30 34-60h-68v-60h68l-34-58 52-30 34 58 34-58 52 30-34 58h68v60h-68l34 60-52 30-34-60-34 60Zm320 0-52-30 34-60h-68v-60h68l-34-58 52-30 34 58 34-58 52 30-34 58h68v60h-68l34 60-52 30-34-60-34 60Z"})}),AccountCircle:({size:r,className:e,...t})=>d.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:r,height:r,fill:"currentColor",className:e,children:d.jsx("path",{d:"M234-276q51-39 114-61.5T480-360q69 0 132 22.5T726-276q35-41 54.5-93T800-480q0-133-93.5-226.5T480-800q-133 0-226.5 93.5T160-480q0 59 19.5 111t54.5 93Zm246-164q-59 0-99.5-40.5T340-580q0-59 40.5-99.5T480-720q59 0 99.5 40.5T620-580q0 59-40.5 99.5T480-440Zm0 360q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q53 0 100-15.5t86-44.5q-39-29-86-44.5T480-280q-53 0-100 15.5T294-220q39 29 86 44.5T480-160Zm0-360q26 0 43-17t17-43q0-26-17-43t-43-17q-26 0-43 17t-17 43q0 26 17 43t43 17Zm0 360Z"})}),UserAdd:({size:r,className:e,...t})=>d.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:r,height:r,fill:"currentColor",className:e,children:d.jsx("path",{d:"M720-400v-120H600v-80h120v-120h80v120h120v80H800v120h-80Zm-360-80q-66 0-113-47t-47-113q0-66 47-113t113-47q66 0 113 47t47 113q0 66-47 113t-113 47ZM40-160v-112q0-34 17.5-62.5T104-378q62-31 126-46.5T360-440q66 0 130 15.5T616-378q29 15 46.5 43.5T680-272v112H40Zm80-80h480v-32q0-11-5.5-20T580-306q-54-27-109-40.5T360-360q-56 0-111 13.5T140-306q-9 5-14.5 14t-5.5 20v32Zm240-320q33 0 56.5-23.5T440-640q0-33-23.5-56.5T360-720q-33 0-56.5 23.5T280-640q0 33 23.5 56.5T360-560Zm0-80Zm0 400Z"})}),AttachFile:({size:r,className:e,...t})=>d.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:r,height:r,fill:"currentColor",className:e,children:d.jsx("path",{d:"M720-330q0 104-73 177T470-80q-104 0-177-73t-73-177v-370q0-75 52.5-127.5T400-880q75 0 127.5 52.5T580-700v350q0 46-32 78t-78 32q-46 0-78-32t-32-78v-370h80v370q0 13 8.5 21.5T470-320q13 0 21.5-8.5T500-350v-350q-1-42-29.5-71T400-800q-42 0-71 29t-29 71v370q-1 71 49 120.5T470-160q70 0 119-49.5T640-330v-390h80v390Z"})}),HistoryActivity:({size:r,className:e,...t})=>d.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:r,height:r,fill:"currentColor",className:e,children:d.jsx("path",{d:"M480-80q-155 0-269-103T82-440h81q15 121 105.5 200.5T480-160q134 0 227-93t93-227q0-134-93-227t-227-93q-86 0-159.5 42.5T204-640h116v80H88q29-140 139-230t253-90q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm112-232L440-464v-216h80v184l128 128-56 56Z"})}),MessageSquare:({size:r,className:e,...t})=>d.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:r,height:r,fill:"currentColor",className:e,children:d.jsx("path",{d:"M80-80v-720q0-33 23.5-56.5T160-880h640q33 0 56.5 23.5T880-800v480q0 33-23.5 56.5T800-240H240L80-80Zm126-240h594v-480H160v525l46-45Zm-46 0v-480 480Z"})}),CloseNavBarDesktop:({size:r,className:e,...t})=>d.jsxs("svg",{width:r,height:r,viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",...t,className:e,children:[d.jsx("mask",{id:"mask0_977_20941",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:r,height:r,children:d.jsx("rect",{width:"24",height:"24",fill:"#D9D9D9"})}),d.jsx("g",{mask:"url(#mask0_977_20941)",children:d.jsx("path",{d:"M11 17V7L6 12L11 17ZM13 21H15V3H13V21Z",fill:"#E4E4E7"})})]}),EyeVisibility:({size:r,className:e,...t})=>d.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 -960 960 960",width:r,height:r,...t,className:e,fill:"currentColor",children:d.jsx("path",{d:"M480-320q75 0 127.5-52.5T660-500q0-75-52.5-127.5T480-680q-75 0-127.5 52.5T300-500q0 75 52.5 127.5T480-320Zm0-72q-45 0-76.5-31.5T372-500q0-45 31.5-76.5T480-608q45 0 76.5 31.5T588-500q0 45-31.5 76.5T480-392Zm0 192q-146 0-266-81.5T40-500q54-137 174-218.5T480-800q146 0 266 81.5T920-500q-54 137-174 218.5T480-200Zm0-300Zm0 220q113 0 207.5-59.5T832-500q-50-101-144.5-160.5T480-720q-113 0-207.5 59.5T128-500q50 101 144.5 160.5T480-280Z"})}),EyeVisibilityOff:({size:r,className:e,...t})=>d.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 -960 960 960",width:r,height:r,...t,className:e,fill:"currentColor",children:d.jsx("path",{d:"m644-428-58-58q9-47-27-88t-93-32l-58-58q17-8 34.5-12t37.5-4q75 0 127.5 52.5T660-500q0 20-4 37.5T644-428Zm128 126-58-56q38-29 67.5-63.5T832-500q-50-101-143.5-160.5T480-720q-29 0-57 4t-55 12l-62-62q41-17 84-25.5t90-8.5q151 0 269 83.5T920-500q-23 59-60.5 109.5T772-302Zm20 246L624-222q-35 11-70.5 16.5T480-200q-151 0-269-83.5T40-500q21-53 53-98.5t73-81.5L56-792l56-56 736 736-56 56ZM222-624q-29 26-53 57t-41 67q50 101 143.5 160.5T480-280q20 0 39-2.5t39-5.5l-36-38q-11 3-21 4.5t-21 1.5q-75 0-127.5-52.5T300-500q0-11 1.5-21t4.5-21l-84-82Zm319 93Zm-151 75Z"})})};var Ha={cm:!0,mm:!0,in:!0,px:!0,pt:!0,pc:!0,em:!0,ex:!0,ch:!0,rem:!0,vw:!0,vh:!0,vmin:!0,vmax:!0,"%":!0};function It(r){if(typeof r=="number")return{value:r,unit:"px"};var e,t=(r.match(/^[0-9.]*/)||"").toString();t.includes(".")?e=parseFloat(t):e=parseInt(t,10);var n=(r.match(/[^0-9]*$/)||"").toString();return Ha[n]?{value:e,unit:n}:(console.warn("React Spinners: ".concat(r," is not a valid css value. Defaulting to ").concat(e,"px.")),{value:e,unit:"px"})}function le(r){var e=It(r);return"".concat(e.value).concat(e.unit)}var Ve=function(r,e,t){var n="react-spinners-".concat(r,"-").concat(t);if(typeof window>"u"||!window.document)return n;var i=document.createElement("style");document.head.appendChild(i);var s=i.sheet,a=`
23
- @keyframes `.concat(n,` {
22
+ <%s key={someKey} {...props} />`,B,le,pt,le),ce[le+B]=!0)}if(le=null,k!==void 0&&(t(k),le=""+k),a(S)&&(t(S.key),le=""+S.key),"key"in S){k={};for(var Wr in S)Wr!=="key"&&(k[Wr]=S[Wr])}else k=S;return le&&o(k,typeof w=="function"?w.displayName||w.name||"Unknown":w),u(w,le,ie,ee,n(),k,Yr,$r)}function h(w){typeof w=="object"&&w!==null&&w.$$typeof===m&&w._store&&(w._store.validated=1)}var p=L,m=Symbol.for("react.transitional.element"),_=Symbol.for("react.portal"),f=Symbol.for("react.fragment"),g=Symbol.for("react.strict_mode"),x=Symbol.for("react.profiler"),v=Symbol.for("react.consumer"),b=Symbol.for("react.context"),T=Symbol.for("react.forward_ref"),y=Symbol.for("react.suspense"),O=Symbol.for("react.suspense_list"),q=Symbol.for("react.memo"),C=Symbol.for("react.lazy"),j=Symbol.for("react.activity"),N=Symbol.for("react.client.reference"),F=p.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,D=Object.prototype.hasOwnProperty,R=Array.isArray,H=console.createTask?console.createTask:function(){return null};p={react_stack_bottom_frame:function(w){return w()}};var V,z={},U=p.react_stack_bottom_frame.bind(p,s)(),ne=H(r(s)),ce={};_t.Fragment=f,_t.jsx=function(w,S,k,B,ee){var ie=1e4>F.recentlyCreatedOwnerStacks++;return c(w,S,k,!1,B,ee,ie?Error("react-stack-top-frame"):U,ie?H(r(w)):ne)},_t.jsxs=function(w,S,k,B,ee){var ie=1e4>F.recentlyCreatedOwnerStacks++;return c(w,S,k,!0,B,ee,ie?Error("react-stack-top-frame"):U,ie?H(r(w)):ne)}})()),_t}var Kr;function ki(){return Kr||(Kr=1,process.env.NODE_ENV==="production"?At.exports=Ci():At.exports=Si()),At.exports}var d=ki();function Pi({profileImage:i,size:e,sizeImage:t=5.5}){const[r,n]=L.useState(!1);return d.jsx(d.Fragment,{children:i&&!r?d.jsx("img",{onError:()=>{n(!0)},src:i,className:`w-${t} h-${t} rounded-full`}):d.jsx(Xr,{size:e,name:i,variant:"beam",colors:["#92A1C6","#146A7C","#F0AB3D","#C271B4","#C20D90"]})})}function P(...i){return wi.twMerge(bi.clsx(i))}const Ni={filled:{primary:P("bg-primary-default-default text-neutral-strong-default border-0 cursor-pointer flex items-center justify-center","hover:bg-primary-default-hover hover:text-neutral-strong-hover","focus:bg-primary-default-pressed focus:text-neutral-strong-focused","active:bg-primary-pressed active:text-neutral-strong-pressed","disabled:bg-primary-medium-disabled disabled:text-neutral-strong-disabled"),secondary:P("bg-neutral-strong-medium-default flex items-center justify-center text-neutral-strong-default cursor-pointer","hover:bg-neutral-medium-hover hover:text-neutral-strong-hover","focus:bg-neutral-medium-pressed focus:text-neutral-strong-pressed","active:bg-neutral-medium-pressed","disabled:bg-primary-default-disabled disabled:text-neutral-strong-disabled")},outline:{primary:P("bg-transparent text-primary-medium-default border-1 border-primary-medium-default flex items-center justify-center","hover:bg-neutral-default-hover hover:text-primary-medium-hover hover:border-primary-medium-hover","focus:bg-neutral-default-pressed focus:text-primary-medium-pressed focus:border-primary-medium-pressed","active:bg-neutral-default-pressed active:text-primary-medium-pressed active:border-primary-medium-pressed","disabled:border-primary-disabled disabled:text-primary-disabled disabled:bg-transparent"),secondary:P("bg-transparent text-neutral-strong-default border-1 border-neutral-strong-default flex items-center justify-center","hover:bg-neutral-default-hover hover:text-neutral-strong-hover hover:border-neutral-strong-hover","focus:bg-neutral-default-pressed focus:text-neutral-strong-pressed focus:border-neutral-strong-pressed","active:bg-neutral-default-pressed active:text-neutral-strong-pressed active:border-neutral-strong-pressed","disabled:border-neutral-disabled disabled:text-neutral-disabled disabled:bg-transparent")},text:{primary:P("bg-transparent text-primary-medium-default border-0 flex items-center justify-center","hover:bg-neutral-default-hover hover:text-primary-medium-hover","focus:bg-neutral-default-pressed focus:text-primary-medium-pressed","active:bg-neutral-default-pressed active:text-primary-medium-pressed","disabled:text-primary-medium-disabled disabled:bg-transparent"),secondary:P("bg-transparent text-neutral-strong-default border-0 flex items-center justify-center","hover:bg-neutral-default-hover hover:text-primary-default-hover","focus:bg-neutral-default-pressed focus:text-primary-medium-pressed","active:bg-neutral-default-pressed active:text-primary-medium-pressed","disabled:text-primary-medium-disabled disabled:bg-transparent")}},Ei={small:"h-[40px] min-w-[123px] w-fit px-2 py-3 text-sm rounded-md text-sm font-semibold",medium:"h-[48px] min-w-[134px] w-fit px-2 py-3 font-semibold text-base rounded-md",large:"h-[56px] min-w-[145px] w-fit px-4 py-3 text-base rounded-md font-semibold"};function Ai({label:i="Selene",onClick:e,icon:t,height:r,width:n,contentClassName:s,loadingText:a="Cargando...",animate:o=!0,animateIcon:l=!0,isLoading:u=!1,disabled:c=!1,type:h="button",variant:p="filled",color:m="primary",size:_="medium",children:f,Spinner:g}){const x=M.useAnimationControls(),v=()=>{!o||c||u||!l||x.start({rotate:90})},b=()=>{!o||c||u||!l||x.start({rotate:0})},T=P(Ni[p][m],!r&&!n?Ei[_]:"px-4 py-2 font-semibold text-base rounded-md flex items-center justify-center",(c||u)&&"opacity-50 cursor-not-allowed","focus:outline-none");return d.jsx(M.motion.button,{onClick:e,className:T,style:{...r&&{height:r},...n&&{width:n}},whileHover:o&&!c&&!u?{scale:1.05}:{},whileTap:o&&!c&&!u?{scale:.98}:{},transition:{type:"spring",stiffness:400,damping:17},onHoverStart:v,onHoverEnd:b,disabled:c||u,type:h,children:u?d.jsxs("div",{className:"flex items-center gap-2",children:[g,_!=="small"&&d.jsx("span",{children:a})]}):f||d.jsxs("span",{className:P("flex items-center gap-2",s),children:[t&&d.jsx(M.motion.div,{animate:l?x:void 0,transition:{type:"spring",stiffness:400,damping:17},children:t}),i&&d.jsx("span",{children:i})]})})}const we={Ticket:({size:i,className:e,...t})=>d.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:i,height:i,fill:"currentColor",className:e,children:d.jsx("path",{d:"M480-280q17 0 28.5-11.5T520-320q0-17-11.5-28.5T480-360q-17 0-28.5 11.5T440-320q0 17 11.5 28.5T480-280Zm0-160q17 0 28.5-11.5T520-480q0-17-11.5-28.5T480-520q-17 0-28.5 11.5T440-480q0 17 11.5 28.5T480-440Zm0-160q17 0 28.5-11.5T520-640q0-17-11.5-28.5T480-680q-17 0-28.5 11.5T440-640q0 17 11.5 28.5T480-600Zm320 440H160q-33 0-56.5-23.5T80-240v-160q33 0 56.5-23.5T160-480q0-33-23.5-56.5T80-560v-160q0-33 23.5-56.5T160-800h640q33 0 56.5 23.5T880-720v160q-33 0-56.5 23.5T800-480q0 33 23.5 56.5T880-400v160q0 33-23.5 56.5T800-160Zm0-80v-102q-37-22-58.5-58.5T720-480q0-43 21.5-79.5T800-618v-102H160v102q37 22 58.5 58.5T240-480q0 43-21.5 79.5T160-342v102h640ZM480-480Z"})}),Home:({size:i,className:e,...t})=>d.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:i,height:i,fill:"currentColor",className:e,children:d.jsx("path",{d:"M240-200h120v-240h240v240h120v-360L480-740 240-560v360Zm-80 80v-480l320-240 320 240v480H520v-240h-80v240H160Zm320-350Z"})}),Boards:({size:i,className:e,...t})=>d.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:i,height:i,fill:"currentColor",className:e,children:d.jsx("path",{d:"M160-160q-33 0-56.5-23.5T80-240v-480q0-33 23.5-56.5T160-800h640q33 0 56.5 23.5T880-720v480q0 33-23.5 56.5T800-160H160Zm360-80h100v-480H520v480Zm-180 0h100v-480H340v480Zm-180 0h100v-480H160v480Zm540 0h100v-480H700v480Z"})}),Notifications:({size:i,className:e,...t})=>d.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:i,height:i,fill:"currentColor",className:e,children:d.jsx("path",{d:"M160-200v-80h80v-280q0-83 50-147.5T420-792v-28q0-25 17.5-42.5T480-880q25 0 42.5 17.5T540-820v28q80 20 130 84.5T720-560v280h80v80H160Zm320-300Zm0 420q-33 0-56.5-23.5T400-160h160q0 33-23.5 56.5T480-80ZM320-280h320v-280q0-66-47-113t-113-47q-66 0-113 47t-47 113v280Z"})}),Help:({size:i,className:e,...t})=>d.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:i,height:i,fill:"currentColor",className:e,children:d.jsx("path",{d:"M478-240q21 0 35.5-14.5T528-290q0-21-14.5-35.5T478-340q-21 0-35.5 14.5T428-290q0 21 14.5 35.5T478-240Zm-36-154h74q0-33 7.5-52t42.5-52q26-26 41-49.5t15-56.5q0-56-41-86t-97-30q-57 0-92.5 30T342-618l66 26q5-18 22.5-39t53.5-21q32 0 48 17.5t16 38.5q0 20-12 37.5T506-526q-44 39-54 59t-10 73Zm38 314q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q134 0 227-93t93-227q0-134-93-227t-227-93q-134 0-227 93t-93 227q0 134 93 227t227 93Zm0-320Z"})}),Settings:({size:i,className:e,...t})=>d.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:i,height:i,fill:"currentColor",className:e,children:d.jsx("path",{d:"m370-80-16-128q-13-5-24.5-12T307-235l-119 50L78-375l103-78q-1-7-1-13.5v-27q0-6.5 1-13.5L78-585l110-190 119 50q11-8 23-15t24-12l16-128h220l16 128q13 5 24.5 12t22.5 15l119-50 110 190-103 78q1 7 1 13.5v27q0 6.5-2 13.5l103 78-110 190-118-50q-11 8-23 15t-24 12L590-80H370Zm70-80h79l14-106q31-8 57.5-23.5T639-327l99 41 39-68-86-65q5-14 7-29.5t2-31.5q0-16-2-31.5t-7-29.5l86-65-39-68-99 42q-22-23-48.5-38.5T533-694l-13-106h-79l-14 106q-31 8-57.5 23.5T321-633l-99-41-39 68 86 64q-5 15-7 30t-2 32q0 16 2 31t7 30l-86 65 39 68 99-42q22 23 48.5 38.5T427-266l13 106Zm42-180q58 0 99-41t41-99q0-58-41-99t-99-41q-59 0-99.5 41T342-480q0 58 40.5 99t99.5 41Zm-2-140Z"})}),CrevronLeft:({size:i,className:e,...t})=>d.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:i,height:i,fill:"currentColor",className:e,children:d.jsx("path",{d:"M560-240 320-480l240-240 56 56-184 184 184 184-56 56Z"})}),CrevronRight:({size:i,className:e,...t})=>d.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:i,height:i,fill:"currentColor",className:e,children:d.jsx("path",{d:"M504-480 320-664l56-56 240 240-240 240-56-56 184-184Z"})}),ArrowLeft:({size:i,className:e,...t})=>d.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:i,height:i,fill:"currentColor",className:e,children:d.jsx("path",{d:"M400-240 160-480l240-240 56 58-142 142h486v80H314l142 142-56 58Z"})}),Shared:({size:i,className:e,...t})=>d.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:i,height:i,fill:"currentColor",className:e,children:d.jsx("path",{d:"M680-80q-50 0-85-35t-35-85q0-6 3-28L282-392q-16 15-37 23.5t-45 8.5q-50 0-85-35t-35-85q0-50 35-85t85-35q24 0 45 8.5t37 23.5l281-164q-2-7-2.5-13.5T560-760q0-50 35-85t85-35q50 0 85 35t35 85q0 50-35 85t-85 35q-24 0-45-8.5T598-672L317-508q2 7 2.5 13.5t.5 14.5q0 8-.5 14.5T317-452l281 164q16-15 37-23.5t45-8.5q50 0 85 35t35 85q0 50-35 85t-85 35Zm0-80q17 0 28.5-11.5T720-200q0-17-11.5-28.5T680-240q-17 0-28.5 11.5T640-200q0 17 11.5 28.5T680-160ZM200-440q17 0 28.5-11.5T240-480q0-17-11.5-28.5T200-520q-17 0-28.5 11.5T160-480q0 17 11.5 28.5T200-440Zm480-280q17 0 28.5-11.5T720-760q0-17-11.5-28.5T680-800q-17 0-28.5 11.5T640-760q0 17 11.5 28.5T680-720Zm0 520ZM200-480Zm480-280Z"})}),ChevronDown:({size:i,className:e,...t})=>d.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:i,height:i,fill:"currentColor",className:e,children:d.jsx("path",{d:"M480-345 240-585l56-56 184 183 184-183 56 56-240 240Z"})}),Collapse:({size:i,className:e,...t})=>d.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:i,height:i,fill:"currentColor",className:e,children:d.jsx("path",{d:"M440-440v240h-80v-160H200v-80h240Zm160-320v160h160v80H520v-240h80Z"})}),Calendar:({size:i,className:e,...t})=>d.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:i,height:i,fill:"currentColor",className:e,children:d.jsx("path",{d:"M200-80q-33 0-56.5-23.5T120-160v-560q0-33 23.5-56.5T200-800h40v-80h80v80h320v-80h80v80h40q33 0 56.5 23.5T840-720v560q0 33-23.5 56.5T760-80H200Zm0-80h560v-400H200v400Zm0-480h560v-80H200v80Zm0 0v-80 80Zm280 240q-17 0-28.5-11.5T440-440q0-17 11.5-28.5T480-480q17 0 28.5 11.5T520-440q0 17-11.5 28.5T480-400Zm-160 0q-17 0-28.5-11.5T280-440q0-17 11.5-28.5T320-480q17 0 28.5 11.5T360-440q0 17-11.5 28.5T320-400Zm320 0q-17 0-28.5-11.5T600-440q0-17 11.5-28.5T640-480q17 0 28.5 11.5T680-440q0 17-11.5 28.5T640-400ZM480-240q-17 0-28.5-11.5T440-280q0-17 11.5-28.5T480-320q17 0 28.5 11.5T520-280q0 17-11.5 28.5T480-240Zm-160 0q-17 0-28.5-11.5T280-280q0-17 11.5-28.5T320-320q17 0 28.5 11.5T360-280q0 17-11.5 28.5T320-240Zm320 0q-17 0-28.5-11.5T600-280q0-17 11.5-28.5T640-320q17 0 28.5 11.5T680-280q0 17-11.5 28.5T640-240Z"})}),Close:({size:i,className:e,...t})=>d.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:i,height:i,fill:"currentColor",className:e,children:d.jsx("path",{d:"m256-200-56-56 224-224-224-224 56-56 224 224 224-224 56 56-224 224 224 224-56 56-224-224-224 224Z"})}),UserPerson:({size:i,className:e,...t})=>d.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:i,height:i,fill:"currentColor",className:e,children:d.jsx("path",{d:"M480-480q-66 0-113-47t-47-113q0-66 47-113t113-47q66 0 113 47t47 113q0 66-47 113t-113 47ZM160-160v-112q0-34 17.5-62.5T224-378q62-31 126-46.5T480-440q66 0 130 15.5T736-378q29 15 46.5 43.5T800-272v112H160Zm80-80h480v-32q0-11-5.5-20T700-306q-54-27-109-40.5T480-360q-56 0-111 13.5T260-306q-9 5-14.5 14t-5.5 20v32Zm240-320q33 0 56.5-23.5T560-640q0-33-23.5-56.5T480-720q-33 0-56.5 23.5T400-640q0 33 23.5 56.5T480-560Zm0-80Zm0 400Z"})}),Logout:({size:i,className:e,...t})=>d.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:i,height:i,fill:"currentColor",className:e,children:d.jsx("path",{d:"M200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h280v80H200v560h280v80H200Zm440-160-55-58 102-102H360v-80h327L585-622l55-58 200 200-200 200Z"})}),ArrowUpDown:({size:i,className:e,...t})=>d.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:i,height:i,fill:"currentColor",className:e,children:d.jsx("path",{d:"M320-440v-287L217-624l-57-56 200-200 200 200-57 56-103-103v287h-80ZM600-80 400-280l57-56 103 103v-287h80v287l103-103 57 56L600-80Z"})}),Filter:({size:i,className:e,...t})=>d.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:i,height:i,fill:"currentColor",className:e,children:d.jsx("path",{d:"M400-240v-80h160v80H400ZM240-440v-80h480v80H240ZM120-640v-80h720v80H120Z"})}),Search:({size:i,className:e,...t})=>d.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:i,height:i,fill:"currentColor",className:e,children:d.jsx("path",{d:"M784-120 532-372q-30 24-69 38t-83 14q-109 0-184.5-75.5T120-580q0-109 75.5-184.5T380-840q109 0 184.5 75.5T640-580q0 44-14 83t-38 69l252 252-56 56ZM380-400q75 0 127.5-52.5T560-580q0-75-52.5-127.5T380-760q-75 0-127.5 52.5T200-580q0 75 52.5 127.5T380-400Z"})}),Stars:({size:i,className:e,...t})=>d.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:i,height:i,fill:"currentColor",className:e,children:d.jsx("path",{d:"m668-380 152-130 120 10-176 153 52 227-102-62-46-198Zm-94-292-42-98 46-110 92 217-96-9ZM294-287l126-76 126 77-33-144 111-96-146-13-58-136-58 135-146 13 111 97-33 143ZM173-120l65-281L20-590l288-25 112-265 112 265 288 25-218 189 65 281-247-149-247 149Zm247-340Z"})}),MoreVert:({size:i,className:e,...t})=>d.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:i,height:i,fill:"currentColor",className:e,children:d.jsx("path",{d:"M480-160q-33 0-56.5-23.5T400-240q0-33 23.5-56.5T480-320q33 0 56.5 23.5T560-240q0 33-23.5 56.5T480-160Zm0-240q-33 0-56.5-23.5T400-480q0-33 23.5-56.5T480-560q33 0 56.5 23.5T560-480q0 33-23.5 56.5T480-400Zm0-240q-33 0-56.5-23.5T400-720q0-33 23.5-56.5T480-800q33 0 56.5 23.5T560-720q0 33-23.5 56.5T480-640Z"})}),Add:({size:i,className:e,...t})=>d.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:i,height:i,fill:"currentColor",className:e,children:d.jsx("path",{d:"M440-440H200v-80h240v-240h80v240h240v80H520v240h-80v-240Z"})}),Edit:({size:i,className:e,...t})=>d.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:i,height:i,fill:"currentColor",className:e,children:d.jsx("path",{d:"M200-200h57l391-391-57-57-391 391v57Zm-80 80v-170l528-527q12-11 26.5-17t30.5-6q16 0 31 6t26 18l55 56q12 11 17.5 26t5.5 30q0 16-5.5 30.5T817-647L290-120H120Zm640-584-56-56 56 56Zm-141 85-28-29 57 57-29-28Z"})}),Upload:({size:i,className:e,...t})=>d.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:i,height:i,fill:"currentColor",className:e,children:d.jsx("path",{d:"M440-320v-326L336-542l-56-58 200-200 200 200-56 58-104-104v326h-80ZM240-160q-33 0-56.5-23.5T160-240v-120h80v120h480v-120h80v120q0 33-23.5 56.5T720-160H240Z"})}),Copy:({size:i,className:e,...t})=>d.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:i,height:i,fill:"currentColor",className:e,children:d.jsx("path",{d:"M360-240q-33 0-56.5-23.5T280-320v-480q0-33 23.5-56.5T360-880h360q33 0 56.5 23.5T800-800v480q0 33-23.5 56.5T720-240H360Zm0-80h360v-480H360v480ZM200-80q-33 0-56.5-23.5T120-160v-560h80v560h440v80H200Zm160-240v-480 480Z"})}),FaLock:({size:i,className:e,...t})=>d.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:i,height:i,fill:"currentColor",className:e,children:d.jsx("path",{d:"M80-200v-80h800v80H80Zm46-242-52-30 34-60H40v-60h68l-34-58 52-30 34 58 34-58 52 30-34 58h68v60h-68l34 60-52 30-34-60-34 60Zm320 0-52-30 34-60h-68v-60h68l-34-58 52-30 34 58 34-58 52 30-34 58h68v60h-68l34 60-52 30-34-60-34 60Zm320 0-52-30 34-60h-68v-60h68l-34-58 52-30 34 58 34-58 52 30-34 58h68v60h-68l34 60-52 30-34-60-34 60Z"})}),AccountCircle:({size:i,className:e,...t})=>d.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:i,height:i,fill:"currentColor",className:e,children:d.jsx("path",{d:"M234-276q51-39 114-61.5T480-360q69 0 132 22.5T726-276q35-41 54.5-93T800-480q0-133-93.5-226.5T480-800q-133 0-226.5 93.5T160-480q0 59 19.5 111t54.5 93Zm246-164q-59 0-99.5-40.5T340-580q0-59 40.5-99.5T480-720q59 0 99.5 40.5T620-580q0 59-40.5 99.5T480-440Zm0 360q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q53 0 100-15.5t86-44.5q-39-29-86-44.5T480-280q-53 0-100 15.5T294-220q39 29 86 44.5T480-160Zm0-360q26 0 43-17t17-43q0-26-17-43t-43-17q-26 0-43 17t-17 43q0 26 17 43t43 17Zm0 360Z"})}),UserAdd:({size:i,className:e,...t})=>d.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:i,height:i,fill:"currentColor",className:e,children:d.jsx("path",{d:"M720-400v-120H600v-80h120v-120h80v120h120v80H800v120h-80Zm-360-80q-66 0-113-47t-47-113q0-66 47-113t113-47q66 0 113 47t47 113q0 66-47 113t-113 47ZM40-160v-112q0-34 17.5-62.5T104-378q62-31 126-46.5T360-440q66 0 130 15.5T616-378q29 15 46.5 43.5T680-272v112H40Zm80-80h480v-32q0-11-5.5-20T580-306q-54-27-109-40.5T360-360q-56 0-111 13.5T140-306q-9 5-14.5 14t-5.5 20v32Zm240-320q33 0 56.5-23.5T440-640q0-33-23.5-56.5T360-720q-33 0-56.5 23.5T280-640q0 33 23.5 56.5T360-560Zm0-80Zm0 400Z"})}),AttachFile:({size:i,className:e,...t})=>d.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:i,height:i,fill:"currentColor",className:e,children:d.jsx("path",{d:"M720-330q0 104-73 177T470-80q-104 0-177-73t-73-177v-370q0-75 52.5-127.5T400-880q75 0 127.5 52.5T580-700v350q0 46-32 78t-78 32q-46 0-78-32t-32-78v-370h80v370q0 13 8.5 21.5T470-320q13 0 21.5-8.5T500-350v-350q-1-42-29.5-71T400-800q-42 0-71 29t-29 71v370q-1 71 49 120.5T470-160q70 0 119-49.5T640-330v-390h80v390Z"})}),HistoryActivity:({size:i,className:e,...t})=>d.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:i,height:i,fill:"currentColor",className:e,children:d.jsx("path",{d:"M480-80q-155 0-269-103T82-440h81q15 121 105.5 200.5T480-160q134 0 227-93t93-227q0-134-93-227t-227-93q-86 0-159.5 42.5T204-640h116v80H88q29-140 139-230t253-90q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm112-232L440-464v-216h80v184l128 128-56 56Z"})}),MessageSquare:({size:i,className:e,...t})=>d.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:i,height:i,fill:"currentColor",className:e,children:d.jsx("path",{d:"M80-80v-720q0-33 23.5-56.5T160-880h640q33 0 56.5 23.5T880-800v480q0 33-23.5 56.5T800-240H240L80-80Zm126-240h594v-480H160v525l46-45Zm-46 0v-480 480Z"})}),CloseNavBarDesktop:({size:i,className:e,...t})=>d.jsxs("svg",{width:i,height:i,viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",...t,className:e,children:[d.jsx("mask",{id:"mask0_977_20941",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:i,height:i,children:d.jsx("rect",{width:"24",height:"24",fill:"#D9D9D9"})}),d.jsx("g",{mask:"url(#mask0_977_20941)",children:d.jsx("path",{d:"M11 17V7L6 12L11 17ZM13 21H15V3H13V21Z",fill:"#E4E4E7"})})]}),EyeVisibility:({size:i,className:e,...t})=>d.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 -960 960 960",width:i,height:i,...t,className:e,fill:"currentColor",children:d.jsx("path",{d:"M480-320q75 0 127.5-52.5T660-500q0-75-52.5-127.5T480-680q-75 0-127.5 52.5T300-500q0 75 52.5 127.5T480-320Zm0-72q-45 0-76.5-31.5T372-500q0-45 31.5-76.5T480-608q45 0 76.5 31.5T588-500q0 45-31.5 76.5T480-392Zm0 192q-146 0-266-81.5T40-500q54-137 174-218.5T480-800q146 0 266 81.5T920-500q-54 137-174 218.5T480-200Zm0-300Zm0 220q113 0 207.5-59.5T832-500q-50-101-144.5-160.5T480-720q-113 0-207.5 59.5T128-500q50 101 144.5 160.5T480-280Z"})}),EyeVisibilityOff:({size:i,className:e,...t})=>d.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 -960 960 960",width:i,height:i,...t,className:e,fill:"currentColor",children:d.jsx("path",{d:"m644-428-58-58q9-47-27-88t-93-32l-58-58q17-8 34.5-12t37.5-4q75 0 127.5 52.5T660-500q0 20-4 37.5T644-428Zm128 126-58-56q38-29 67.5-63.5T832-500q-50-101-143.5-160.5T480-720q-29 0-57 4t-55 12l-62-62q41-17 84-25.5t90-8.5q151 0 269 83.5T920-500q-23 59-60.5 109.5T772-302Zm20 246L624-222q-35 11-70.5 16.5T480-200q-151 0-269-83.5T40-500q21-53 53-98.5t73-81.5L56-792l56-56 736 736-56 56ZM222-624q-29 26-53 57t-41 67q50 101 143.5 160.5T480-280q20 0 39-2.5t39-5.5l-36-38q-11 3-21 4.5t-21 1.5q-75 0-127.5-52.5T300-500q0-11 1.5-21t4.5-21l-84-82Zm319 93Zm-151 75Z"})})};var Mi={cm:!0,mm:!0,in:!0,px:!0,pt:!0,pc:!0,em:!0,ex:!0,ch:!0,rem:!0,vw:!0,vh:!0,vmin:!0,vmax:!0,"%":!0};function gt(i){if(typeof i=="number")return{value:i,unit:"px"};var e,t=(i.match(/^[0-9.]*/)||"").toString();t.includes(".")?e=parseFloat(t):e=parseInt(t,10);var r=(i.match(/[^0-9]*$/)||"").toString();return Mi[r]?{value:e,unit:r}:(console.warn("React Spinners: ".concat(i," is not a valid css value. Defaulting to ").concat(e,"px.")),{value:e,unit:"px"})}function te(i){var e=gt(i);return"".concat(e.value).concat(e.unit)}var De=function(i,e,t){var r="react-spinners-".concat(i,"-").concat(t);if(typeof window>"u"||!window.document)return r;var n=document.createElement("style");document.head.appendChild(n);var s=n.sheet,a=`
23
+ @keyframes `.concat(r,` {
24
24
  `).concat(e,`
25
25
  }
26
- `);return s&&s.insertRule(a,0),n},fr;(function(r){r.maroon="#800000",r.red="#FF0000",r.orange="#FFA500",r.yellow="#FFFF00",r.olive="#808000",r.green="#008000",r.purple="#800080",r.fuchsia="#FF00FF",r.lime="#00FF00",r.teal="#008080",r.aqua="#00FFFF",r.blue="#0000FF",r.navy="#000080",r.black="#000000",r.gray="#808080",r.silver="#C0C0C0",r.white="#FFFFFF"})(fr||(fr={}));var Ya=function(r,e){if(r.includes("/"))return r.replace("rgb(","rgba(");var t=r.substring(r.startsWith("rgba(")?5:4,r.length-1).trim(),n=t.split(",");return n.length===4?r.replace("rgb(","rgba("):n.length===3?"rgba(".concat(t,", ").concat(e,")"):"rgba(".concat(t," / ").concat(e,")")},Wa=function(r,e){if(r.startsWith("rgb"))return Ya(r,e);if(Object.keys(fr).includes(r)&&(r=fr[r]),r[0]==="#"&&(r=r.slice(1)),r.length===3){var t="";r.split("").forEach(function(i){t+=i,t+=i}),r=t}var n=(r.match(/.{2}/g)||[]).map(function(i){return parseInt(i,16)}).join(", ");return"rgba(".concat(n,", ").concat(e,")")},dr=function(){return dr=Object.assign||function(r){for(var e,t=1,n=arguments.length;t<n;t++){e=arguments[t];for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(r[i]=e[i])}return r},dr.apply(this,arguments)},Ga=function(r,e){var t={};for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&e.indexOf(n)<0&&(t[n]=r[n]);if(r!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(r);i<n.length;i++)e.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(r,n[i])&&(t[n[i]]=r[n[i]]);return t},Xa=Ve("BounceLoader","0% {transform: scale(0)} 50% {transform: scale(1.0)} 100% {transform: scale(0)}","bounce");function Ka(r){var e=r.loading,t=e===void 0?!0:e,n=r.color,i=n===void 0?"#000000":n,s=r.speedMultiplier,a=s===void 0?1:s,o=r.cssOverride,l=o===void 0?{}:o,u=r.size,c=u===void 0?60:u,f=Ga(r,["loading","color","speedMultiplier","cssOverride","size"]),p=function(_){var h=_===1?"".concat(1/a,"s"):"0s";return{position:"absolute",height:le(c),width:le(c),backgroundColor:i,borderRadius:"100%",opacity:.6,top:0,left:0,animationFillMode:"both",animation:"".concat(Xa," ").concat(2.1/a,"s ").concat(h," infinite ease-in-out")}},m=dr({display:"inherit",position:"relative",width:le(c),height:le(c)},l);return t?K.createElement("span",dr({style:m},f),K.createElement("span",{style:p(1)}),K.createElement("span",{style:p(2)})):null}var hr=function(){return hr=Object.assign||function(r){for(var e,t=1,n=arguments.length;t<n;t++){e=arguments[t];for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(r[i]=e[i])}return r},hr.apply(this,arguments)},Ja=function(r,e){var t={};for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&e.indexOf(n)<0&&(t[n]=r[n]);if(r!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(r);i<n.length;i++)e.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(r,n[i])&&(t[n[i]]=r[n[i]]);return t},Qa=Ve("ClipLoader","0% {transform: rotate(0deg) scale(1)} 50% {transform: rotate(180deg) scale(0.8)} 100% {transform: rotate(360deg) scale(1)}","clip");function eo(r){var e=r.loading,t=e===void 0?!0:e,n=r.color,i=n===void 0?"#000000":n,s=r.speedMultiplier,a=s===void 0?1:s,o=r.cssOverride,l=o===void 0?{}:o,u=r.size,c=u===void 0?35:u,f=Ja(r,["loading","color","speedMultiplier","cssOverride","size"]),p=hr({background:"transparent !important",width:le(c),height:le(c),borderRadius:"100%",border:"2px solid",borderTopColor:i,borderBottomColor:"transparent",borderLeftColor:i,borderRightColor:i,display:"inline-block",animation:"".concat(Qa," ").concat(.75/a,"s 0s infinite linear"),animationFillMode:"both"},l);return t?K.createElement("span",hr({style:p},f)):null}var pr=function(){return pr=Object.assign||function(r){for(var e,t=1,n=arguments.length;t<n;t++){e=arguments[t];for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(r[i]=e[i])}return r},pr.apply(this,arguments)},to=function(r,e){var t={};for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&e.indexOf(n)<0&&(t[n]=r[n]);if(r!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(r);i<n.length;i++)e.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(r,n[i])&&(t[n[i]]=r[n[i]]);return t},ro=Ve("DotLoader","100% {transform: rotate(360deg)}","rotate"),no=Ve("DotLoader","0%, 100% {transform: scale(0)} 50% {transform: scale(1.0)}","bounce");function io(r){var e=r.loading,t=e===void 0?!0:e,n=r.color,i=n===void 0?"#000000":n,s=r.speedMultiplier,a=s===void 0?1:s,o=r.cssOverride,l=o===void 0?{}:o,u=r.size,c=u===void 0?60:u,f=to(r,["loading","color","speedMultiplier","cssOverride","size"]),p=pr({display:"inherit",position:"relative",width:le(c),height:le(c),animationFillMode:"forwards",animation:"".concat(ro," ").concat(2/a,"s 0s infinite linear")},l),m=function(_){var h=It(c),v=h.value,x=h.unit;return{position:"absolute",top:_%2?"0":"auto",bottom:_%2?"auto":"0",height:"".concat(v/2).concat(x),width:"".concat(v/2).concat(x),backgroundColor:i,borderRadius:"100%",animationFillMode:"forwards",animation:"".concat(no," ").concat(2/a,"s ").concat(_===2?"1s":"0s"," infinite linear")}};return t?K.createElement("span",pr({style:p},f),K.createElement("span",{style:m(1)}),K.createElement("span",{style:m(2)})):null}var mr=function(){return mr=Object.assign||function(r){for(var e,t=1,n=arguments.length;t<n;t++){e=arguments[t];for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(r[i]=e[i])}return r},mr.apply(this,arguments)},so=function(r,e){var t={};for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&e.indexOf(n)<0&&(t[n]=r[n]);if(r!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(r);i<n.length;i++)e.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(r,n[i])&&(t[n[i]]=r[n[i]]);return t},ao=Ve("GridLoader","0% {transform: scale(1)} 50% {transform: scale(0.5); opacity: 0.7} 100% {transform: scale(1); opacity: 1}","grid"),Ie=function(r){return Math.random()*r};function oo(r){var e=r.loading,t=e===void 0?!0:e,n=r.color,i=n===void 0?"#000000":n,s=r.speedMultiplier,a=s===void 0?1:s,o=r.cssOverride,l=o===void 0?{}:o,u=r.size,c=u===void 0?15:u,f=r.margin,p=f===void 0?2:f,m=so(r,["loading","color","speedMultiplier","cssOverride","size","margin"]),_=It(c),h=It(p),v=parseFloat(_.value.toString())*3+parseFloat(h.value.toString())*6,x=mr({width:"".concat(v).concat(_.unit),fontSize:0,display:"inline-block"},l),y=function(b){return{display:"inline-block",backgroundColor:i,width:"".concat(le(c)),height:"".concat(le(c)),margin:le(p),borderRadius:"100%",animationFillMode:"both",animation:"".concat(ao," ").concat((b/100+.6)/a,"s ").concat(b/100-.2,"s infinite ease")}};return t?K.createElement("span",mr({style:x},m,{ref:function(b){b&&b.style.setProperty("width","".concat(v).concat(_.unit),"important")}}),K.createElement("span",{style:y(Ie(100))}),K.createElement("span",{style:y(Ie(100))}),K.createElement("span",{style:y(Ie(100))}),K.createElement("span",{style:y(Ie(100))}),K.createElement("span",{style:y(Ie(100))}),K.createElement("span",{style:y(Ie(100))}),K.createElement("span",{style:y(Ie(100))}),K.createElement("span",{style:y(Ie(100))}),K.createElement("span",{style:y(Ie(100))})):null}var _r=function(){return _r=Object.assign||function(r){for(var e,t=1,n=arguments.length;t<n;t++){e=arguments[t];for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(r[i]=e[i])}return r},_r.apply(this,arguments)},lo=function(r,e){var t={};for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&e.indexOf(n)<0&&(t[n]=r[n]);if(r!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(r);i<n.length;i++)e.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(r,n[i])&&(t[n[i]]=r[n[i]]);return t};function uo(r){var e=r.loading,t=e===void 0?!0:e,n=r.color,i=n===void 0?"#000000":n,s=r.speedMultiplier,a=s===void 0?1:s,o=r.cssOverride,l=o===void 0?{}:o,u=r.size,c=u===void 0?50:u,f=lo(r,["loading","color","speedMultiplier","cssOverride","size"]),p=It(c),m=p.value,_=p.unit,h=_r({display:"inherit",position:"relative",width:le(c),height:le(c),transform:"rotate(165deg)"},l),v=m/5,x=(m-v)/2,y=x-v,b=Wa(i,.75),w=Ve("HashLoader","0% {width: ".concat(v,"px; box-shadow: ").concat(x,"px ").concat(-y,"px ").concat(b,", ").concat(-x,"px ").concat(y,"px ").concat(b,`}
27
- 35% {width: `).concat(le(c),"; box-shadow: 0 ").concat(-y,"px ").concat(b,", 0 ").concat(y,"px ").concat(b,`}
28
- 70% {width: `).concat(v,"px; box-shadow: ").concat(-x,"px ").concat(-y,"px ").concat(b,", ").concat(x,"px ").concat(y,"px ").concat(b,`}
29
- 100% {box-shadow: `).concat(x,"px ").concat(-y,"px ").concat(b,", ").concat(-x,"px ").concat(y,"px ").concat(b,"}"),"before"),g=Ve("HashLoader","0% {height: ".concat(v,"px; box-shadow: ").concat(y,"px ").concat(x,"px ").concat(i,", ").concat(-y,"px ").concat(-x,"px ").concat(i,`}
30
- 35% {height: `).concat(le(c),"; box-shadow: ").concat(y,"px 0 ").concat(i,", ").concat(-y,"px 0 ").concat(i,`}
31
- 70% {height: `).concat(v,"px; box-shadow: ").concat(y,"px ").concat(-x,"px ").concat(i,", ").concat(-y,"px ").concat(x,"px ").concat(i,`}
32
- 100% {box-shadow: `).concat(y,"px ").concat(x,"px ").concat(i,", ").concat(-y,"px ").concat(-x,"px ").concat(i,"}"),"after"),j=function(S){return{position:"absolute",top:"50%",left:"50%",display:"block",width:"".concat(m/5).concat(_),height:"".concat(m/5).concat(_),borderRadius:"".concat(m/10).concat(_),transform:"translate(-50%, -50%)",animationFillMode:"none",animation:"".concat(S===1?w:g," ").concat(2/a,"s infinite")}};return t?K.createElement("span",_r({style:h},f),K.createElement("span",{style:j(1)}),K.createElement("span",{style:j(2)})):null}var gr=function(){return gr=Object.assign||function(r){for(var e,t=1,n=arguments.length;t<n;t++){e=arguments[t];for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(r[i]=e[i])}return r},gr.apply(this,arguments)},co=function(r,e){var t={};for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&e.indexOf(n)<0&&(t[n]=r[n]);if(r!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(r);i<n.length;i++)e.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(r,n[i])&&(t[n[i]]=r[n[i]]);return t},fo=Ve("SyncLoader",`33% {transform: translateY(10px)}
26
+ `);return s&&s.insertRule(a,0),r},Mt;(function(i){i.maroon="#800000",i.red="#FF0000",i.orange="#FFA500",i.yellow="#FFFF00",i.olive="#808000",i.green="#008000",i.purple="#800080",i.fuchsia="#FF00FF",i.lime="#00FF00",i.teal="#008080",i.aqua="#00FFFF",i.blue="#0000FF",i.navy="#000080",i.black="#000000",i.gray="#808080",i.silver="#C0C0C0",i.white="#FFFFFF"})(Mt||(Mt={}));var Ri=function(i,e){if(i.includes("/"))return i.replace("rgb(","rgba(");var t=i.substring(i.startsWith("rgba(")?5:4,i.length-1).trim(),r=t.split(",");return r.length===4?i.replace("rgb(","rgba("):r.length===3?"rgba(".concat(t,", ").concat(e,")"):"rgba(".concat(t," / ").concat(e,")")},Di=function(i,e){if(i.startsWith("rgb"))return Ri(i,e);if(Object.keys(Mt).includes(i)&&(i=Mt[i]),i[0]==="#"&&(i=i.slice(1)),i.length===3){var t="";i.split("").forEach(function(n){t+=n,t+=n}),i=t}var r=(i.match(/.{2}/g)||[]).map(function(n){return parseInt(n,16)}).join(", ");return"rgba(".concat(r,", ").concat(e,")")},Rt=function(){return Rt=Object.assign||function(i){for(var e,t=1,r=arguments.length;t<r;t++){e=arguments[t];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(i[n]=e[n])}return i},Rt.apply(this,arguments)},Fi=function(i,e){var t={};for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&e.indexOf(r)<0&&(t[r]=i[r]);if(i!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,r=Object.getOwnPropertySymbols(i);n<r.length;n++)e.indexOf(r[n])<0&&Object.prototype.propertyIsEnumerable.call(i,r[n])&&(t[r[n]]=i[r[n]]);return t},Li=De("BounceLoader","0% {transform: scale(0)} 50% {transform: scale(1.0)} 100% {transform: scale(0)}","bounce");function Ii(i){var e=i.loading,t=e===void 0?!0:e,r=i.color,n=r===void 0?"#000000":r,s=i.speedMultiplier,a=s===void 0?1:s,o=i.cssOverride,l=o===void 0?{}:o,u=i.size,c=u===void 0?60:u,h=Fi(i,["loading","color","speedMultiplier","cssOverride","size"]),p=function(_){var f=_===1?"".concat(1/a,"s"):"0s";return{position:"absolute",height:te(c),width:te(c),backgroundColor:n,borderRadius:"100%",opacity:.6,top:0,left:0,animationFillMode:"both",animation:"".concat(Li," ").concat(2.1/a,"s ").concat(f," infinite ease-in-out")}},m=Rt({display:"inherit",position:"relative",width:te(c),height:te(c)},l);return t?Y.createElement("span",Rt({style:m},h),Y.createElement("span",{style:p(1)}),Y.createElement("span",{style:p(2)})):null}var Dt=function(){return Dt=Object.assign||function(i){for(var e,t=1,r=arguments.length;t<r;t++){e=arguments[t];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(i[n]=e[n])}return i},Dt.apply(this,arguments)},Zi=function(i,e){var t={};for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&e.indexOf(r)<0&&(t[r]=i[r]);if(i!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,r=Object.getOwnPropertySymbols(i);n<r.length;n++)e.indexOf(r[n])<0&&Object.prototype.propertyIsEnumerable.call(i,r[n])&&(t[r[n]]=i[r[n]]);return t},zi=De("ClipLoader","0% {transform: rotate(0deg) scale(1)} 50% {transform: rotate(180deg) scale(0.8)} 100% {transform: rotate(360deg) scale(1)}","clip");function Bi(i){var e=i.loading,t=e===void 0?!0:e,r=i.color,n=r===void 0?"#000000":r,s=i.speedMultiplier,a=s===void 0?1:s,o=i.cssOverride,l=o===void 0?{}:o,u=i.size,c=u===void 0?35:u,h=Zi(i,["loading","color","speedMultiplier","cssOverride","size"]),p=Dt({background:"transparent !important",width:te(c),height:te(c),borderRadius:"100%",border:"2px solid",borderTopColor:n,borderBottomColor:"transparent",borderLeftColor:n,borderRightColor:n,display:"inline-block",animation:"".concat(zi," ").concat(.75/a,"s 0s infinite linear"),animationFillMode:"both"},l);return t?Y.createElement("span",Dt({style:p},h)):null}var Ft=function(){return Ft=Object.assign||function(i){for(var e,t=1,r=arguments.length;t<r;t++){e=arguments[t];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(i[n]=e[n])}return i},Ft.apply(this,arguments)},Vi=function(i,e){var t={};for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&e.indexOf(r)<0&&(t[r]=i[r]);if(i!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,r=Object.getOwnPropertySymbols(i);n<r.length;n++)e.indexOf(r[n])<0&&Object.prototype.propertyIsEnumerable.call(i,r[n])&&(t[r[n]]=i[r[n]]);return t},Hi=De("DotLoader","100% {transform: rotate(360deg)}","rotate"),Ui=De("DotLoader","0%, 100% {transform: scale(0)} 50% {transform: scale(1.0)}","bounce");function Yi(i){var e=i.loading,t=e===void 0?!0:e,r=i.color,n=r===void 0?"#000000":r,s=i.speedMultiplier,a=s===void 0?1:s,o=i.cssOverride,l=o===void 0?{}:o,u=i.size,c=u===void 0?60:u,h=Vi(i,["loading","color","speedMultiplier","cssOverride","size"]),p=Ft({display:"inherit",position:"relative",width:te(c),height:te(c),animationFillMode:"forwards",animation:"".concat(Hi," ").concat(2/a,"s 0s infinite linear")},l),m=function(_){var f=gt(c),g=f.value,x=f.unit;return{position:"absolute",top:_%2?"0":"auto",bottom:_%2?"auto":"0",height:"".concat(g/2).concat(x),width:"".concat(g/2).concat(x),backgroundColor:n,borderRadius:"100%",animationFillMode:"forwards",animation:"".concat(Ui," ").concat(2/a,"s ").concat(_===2?"1s":"0s"," infinite linear")}};return t?Y.createElement("span",Ft({style:p},h),Y.createElement("span",{style:m(1)}),Y.createElement("span",{style:m(2)})):null}var Lt=function(){return Lt=Object.assign||function(i){for(var e,t=1,r=arguments.length;t<r;t++){e=arguments[t];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(i[n]=e[n])}return i},Lt.apply(this,arguments)},$i=function(i,e){var t={};for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&e.indexOf(r)<0&&(t[r]=i[r]);if(i!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,r=Object.getOwnPropertySymbols(i);n<r.length;n++)e.indexOf(r[n])<0&&Object.prototype.propertyIsEnumerable.call(i,r[n])&&(t[r[n]]=i[r[n]]);return t},Wi=De("GridLoader","0% {transform: scale(1)} 50% {transform: scale(0.5); opacity: 0.7} 100% {transform: scale(1); opacity: 1}","grid"),Ne=function(i){return Math.random()*i};function Xi(i){var e=i.loading,t=e===void 0?!0:e,r=i.color,n=r===void 0?"#000000":r,s=i.speedMultiplier,a=s===void 0?1:s,o=i.cssOverride,l=o===void 0?{}:o,u=i.size,c=u===void 0?15:u,h=i.margin,p=h===void 0?2:h,m=$i(i,["loading","color","speedMultiplier","cssOverride","size","margin"]),_=gt(c),f=gt(p),g=parseFloat(_.value.toString())*3+parseFloat(f.value.toString())*6,x=Lt({width:"".concat(g).concat(_.unit),fontSize:0,display:"inline-block"},l),v=function(b){return{display:"inline-block",backgroundColor:n,width:"".concat(te(c)),height:"".concat(te(c)),margin:te(p),borderRadius:"100%",animationFillMode:"both",animation:"".concat(Wi," ").concat((b/100+.6)/a,"s ").concat(b/100-.2,"s infinite ease")}};return t?Y.createElement("span",Lt({style:x},m,{ref:function(b){b&&b.style.setProperty("width","".concat(g).concat(_.unit),"important")}}),Y.createElement("span",{style:v(Ne(100))}),Y.createElement("span",{style:v(Ne(100))}),Y.createElement("span",{style:v(Ne(100))}),Y.createElement("span",{style:v(Ne(100))}),Y.createElement("span",{style:v(Ne(100))}),Y.createElement("span",{style:v(Ne(100))}),Y.createElement("span",{style:v(Ne(100))}),Y.createElement("span",{style:v(Ne(100))}),Y.createElement("span",{style:v(Ne(100))})):null}var It=function(){return It=Object.assign||function(i){for(var e,t=1,r=arguments.length;t<r;t++){e=arguments[t];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(i[n]=e[n])}return i},It.apply(this,arguments)},Gi=function(i,e){var t={};for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&e.indexOf(r)<0&&(t[r]=i[r]);if(i!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,r=Object.getOwnPropertySymbols(i);n<r.length;n++)e.indexOf(r[n])<0&&Object.prototype.propertyIsEnumerable.call(i,r[n])&&(t[r[n]]=i[r[n]]);return t};function Ji(i){var e=i.loading,t=e===void 0?!0:e,r=i.color,n=r===void 0?"#000000":r,s=i.speedMultiplier,a=s===void 0?1:s,o=i.cssOverride,l=o===void 0?{}:o,u=i.size,c=u===void 0?50:u,h=Gi(i,["loading","color","speedMultiplier","cssOverride","size"]),p=gt(c),m=p.value,_=p.unit,f=It({display:"inherit",position:"relative",width:te(c),height:te(c),transform:"rotate(165deg)"},l),g=m/5,x=(m-g)/2,v=x-g,b=Di(n,.75),T=De("HashLoader","0% {width: ".concat(g,"px; box-shadow: ").concat(x,"px ").concat(-v,"px ").concat(b,", ").concat(-x,"px ").concat(v,"px ").concat(b,`}
27
+ 35% {width: `).concat(te(c),"; box-shadow: 0 ").concat(-v,"px ").concat(b,", 0 ").concat(v,"px ").concat(b,`}
28
+ 70% {width: `).concat(g,"px; box-shadow: ").concat(-x,"px ").concat(-v,"px ").concat(b,", ").concat(x,"px ").concat(v,"px ").concat(b,`}
29
+ 100% {box-shadow: `).concat(x,"px ").concat(-v,"px ").concat(b,", ").concat(-x,"px ").concat(v,"px ").concat(b,"}"),"before"),y=De("HashLoader","0% {height: ".concat(g,"px; box-shadow: ").concat(v,"px ").concat(x,"px ").concat(n,", ").concat(-v,"px ").concat(-x,"px ").concat(n,`}
30
+ 35% {height: `).concat(te(c),"; box-shadow: ").concat(v,"px 0 ").concat(n,", ").concat(-v,"px 0 ").concat(n,`}
31
+ 70% {height: `).concat(g,"px; box-shadow: ").concat(v,"px ").concat(-x,"px ").concat(n,", ").concat(-v,"px ").concat(x,"px ").concat(n,`}
32
+ 100% {box-shadow: `).concat(v,"px ").concat(x,"px ").concat(n,", ").concat(-v,"px ").concat(-x,"px ").concat(n,"}"),"after"),O=function(q){return{position:"absolute",top:"50%",left:"50%",display:"block",width:"".concat(m/5).concat(_),height:"".concat(m/5).concat(_),borderRadius:"".concat(m/10).concat(_),transform:"translate(-50%, -50%)",animationFillMode:"none",animation:"".concat(q===1?T:y," ").concat(2/a,"s infinite")}};return t?Y.createElement("span",It({style:f},h),Y.createElement("span",{style:O(1)}),Y.createElement("span",{style:O(2)})):null}var Zt=function(){return Zt=Object.assign||function(i){for(var e,t=1,r=arguments.length;t<r;t++){e=arguments[t];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(i[n]=e[n])}return i},Zt.apply(this,arguments)},Qi=function(i,e){var t={};for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&e.indexOf(r)<0&&(t[r]=i[r]);if(i!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,r=Object.getOwnPropertySymbols(i);n<r.length;n++)e.indexOf(r[n])<0&&Object.prototype.propertyIsEnumerable.call(i,r[n])&&(t[r[n]]=i[r[n]]);return t},Ki=De("SyncLoader",`33% {transform: translateY(10px)}
33
33
  66% {transform: translateY(-10px)}
34
- 100% {transform: translateY(0)}`,"sync");function ho(r){var e=r.loading,t=e===void 0?!0:e,n=r.color,i=n===void 0?"#000000":n,s=r.speedMultiplier,a=s===void 0?1:s,o=r.cssOverride,l=o===void 0?{}:o,u=r.size,c=u===void 0?15:u,f=r.margin,p=f===void 0?2:f,m=co(r,["loading","color","speedMultiplier","cssOverride","size","margin"]),_=gr({display:"inherit"},l),h=function(v){return{backgroundColor:i,width:le(c),height:le(c),margin:le(p),borderRadius:"100%",display:"inline-block",animation:"".concat(fo," ").concat(.6/a,"s ").concat(v*.07,"s infinite ease-in-out"),animationFillMode:"both"}};return t?K.createElement("span",gr({style:_},m),K.createElement("span",{style:h(1)}),K.createElement("span",{style:h(2)}),K.createElement("span",{style:h(3)})):null}const zr=({variant:r="sync",color:e="#3B82F6",loading:t=!0,size:n="medium",className:i="",speedMultiplier:s=1})=>{const o=(()=>{if(typeof n=="number")return n;switch(n){case"small":return 20;case"medium":return 35;case"large":return 50;default:return 35}})(),l={color:e,loading:t,size:o,speedMultiplier:s,"aria-label":"Loading Spinner","data-testid":"spinner"},u=N("inline-block",i),c=()=>{switch(r){case"bounce":return d.jsx(Ka,{...l});case"dot":return d.jsx(io,{...l});case"grid":return d.jsx(oo,{...l,size:o*.4});case"hash":return d.jsx(uo,{...l});case"sync":return d.jsx(ho,{...l,size:o*.4});case"clip":default:return d.jsx(eo,{...l})}};return d.jsx("div",{className:u,children:c()})},vr={default:{container:"",input:N("border-neutral-default-default text-neutral-default-default","focus:border-primary-default-default focus:border-2","hover:border-neutral-strong-default"),label:N("text-neutral-medium-default","peer-focus:text-primary-default-default"),icon:N("text-neutral-medium-default","peer-focus:text-primary-default-default")},error:{container:"",input:N("border-error-default-default text-neutral-default-default","focus:border-error-default focus:border-2","focus:ring-0 focus:ring-error-default/20"),label:N("text-error-light","peer-focus:text-error-light"),icon:N("text-error-light","peer-focus:text-error-light")},success:{container:"",input:N("border-success-default-default text-neutral-default-default","focus:border-success-default focus:border-2","focus:ring-0 focus:ring-success-default/20"),label:N("text-success","peer-focus:text-success-light"),icon:N("text-success-light","peer-focus:text-success-light")}},$t={small:{container:"text-sm",input:"h-10 px-3 text-sm",label:"text-xs peer-focus:text-xs peer-placeholder-shown:text-sm",icon:"w-4 h-4 right-3"},medium:{container:"text-base",input:"h-12 px-3 text-base",label:"text-sm peer-focus:text-sm peer-placeholder-shown:text-base",icon:"w-5 h-5 right-3"},large:{container:"text-lg",input:"h-14 px-3 text-lg",label:"text-sm peer-focus:text-sm peer-placeholder-shown:text-lg",icon:"w-6 h-6 right-3"}},po=({label:r,icon:e,onChange:t,value:n="",debounceMs:i=0,name:s,width:a="100%",height:o,variant:l="default",size:u="medium",disabled:c=!1,type:f="text",isFetching:p,errorMessage:m,helperText:_,required:h=!1,onFocus:v,onBlur:x})=>{const[y,b]=M.useState(n),[w]=Fa.useDebounce(y,i),[g,j]=M.useState(!1),[S,C]=M.useState(!1);M.useEffect(()=>{i&&w!==n&&t(w)},[w,i,t,n]),M.useEffect(()=>{b(n)},[n]);const O=()=>{j(!0),v?.()},k=()=>{j(!1),x?.()},$=de=>{const T=de.target.value;b(T),i||t(T)},D=()=>{C(!S)},F={};a&&a!=="100%"&&(F.width=a),o&&(F.height=o);const Y=y.length>0,U=l==="error"&&m,Z=!U&&_,W=()=>g||Y?"-top-2 left-2 scale-90":"top-1/2 -translate-y-1/2 scale-100",ie=()=>o?{height:o}:{};return d.jsxs("div",{className:N("relative",$t[u].container,!a&&"w-full","bg-inherit"),style:F,children:[d.jsx("input",{id:s,name:s,type:f==="password"&&S?"text":f,value:y,className:N("peer w-full border-1 rounded-lg bg-transparent appearance-none transition-all duration-200 ease-in-out","placeholder:text-transparent focus:outline-none px-3",!o&&$t[u].input,o&&`px-3 ${$t[u].input.split(" ").filter(de=>de.startsWith("text-")).join(" ")}`,vr[l].input,e&&"pr-10",c&&"bg-neutral-weak-default cursor-not-allowed opacity-60",vr[l].container),style:ie(),onChange:$,onFocus:O,onBlur:k,disabled:c,required:h}),d.jsx("label",{htmlFor:s,className:N("absolute left-3 transition-all duration-200 ease-in-out pointer-events-none bg-inherit px-1 z-10",!o&&$t[u].label,o&&"text-sm",vr[l].label,W(),h&&"after:content-['*'] after:text-error-default after:ml-1"),children:r}),(e||f==="password"||p)&&d.jsx("div",{className:N("absolute top-1/2 -translate-y-1/2 flex items-center justify-center z-10",!o&&$t[u].icon,o&&"w-5 h-5 right-3",vr[l].icon,f==="password"&&!p?"cursor-pointer":"pointer-events-none"),onClick:f==="password"&&!p?D:void 0,onMouseDown:de=>f==="password"&&!p&&de.preventDefault(),children:d.jsx(I.motion.div,{animate:g?{y:[-2,0],rotate:[0,-10,10,-10,10,0]}:{},transition:{duration:.6,ease:"easeInOut"},children:p&&f!=="password"?d.jsx("div",{className:"animate-spin",children:d.jsx(zr,{size:24,color:"#7c86ff",loading:!0})}):f==="password"?S?d.jsx(Ce.EyeVisibility,{size:24,className:""}):d.jsx(Ce.EyeVisibilityOff,{size:24,className:""}):e})}),U&&d.jsx("p",{className:"mt-1 text-xs text-error-default",children:m}),Z&&d.jsx("p",{className:"mt-1 text-xs text-neutral-medium-default",children:_})]})},mo=M.memo(po);var ii=typeof global=="object"&&global&&global.Object===Object&&global,_o=typeof self=="object"&&self&&self.Object===Object&&self,Me=ii||_o||Function("return this")(),He=Me.Symbol,si=Object.prototype,go=si.hasOwnProperty,vo=si.toString,Lt=He?He.toStringTag:void 0;function yo(r){var e=go.call(r,Lt),t=r[Lt];try{r[Lt]=void 0;var n=!0}catch{}var i=vo.call(r);return n&&(e?r[Lt]=t:delete r[Lt]),i}var xo=Object.prototype,bo=xo.toString;function wo(r){return bo.call(r)}var To="[object Null]",jo="[object Undefined]",ai=He?He.toStringTag:void 0;function yt(r){return r==null?r===void 0?jo:To:ai&&ai in Object(r)?yo(r):wo(r)}function oi(r,e){return function(t){return r(e(t))}}var li=oi(Object.getPrototypeOf,Object);function xt(r){return r!=null&&typeof r=="object"}function Oo(){this.__data__=[],this.size=0}function ui(r,e){return r===e||r!==r&&e!==e}function yr(r,e){for(var t=r.length;t--;)if(ui(r[t][0],e))return t;return-1}var So=Array.prototype,Co=So.splice;function Eo(r){var e=this.__data__,t=yr(e,r);if(t<0)return!1;var n=e.length-1;return t==n?e.pop():Co.call(e,t,1),--this.size,!0}function Po(r){var e=this.__data__,t=yr(e,r);return t<0?void 0:e[t][1]}function qo(r){return yr(this.__data__,r)>-1}function Ao(r,e){var t=this.__data__,n=yr(t,r);return n<0?(++this.size,t.push([r,e])):t[n][1]=e,this}function $e(r){var e=-1,t=r==null?0:r.length;for(this.clear();++e<t;){var n=r[e];this.set(n[0],n[1])}}$e.prototype.clear=Oo,$e.prototype.delete=Eo,$e.prototype.get=Po,$e.prototype.has=qo,$e.prototype.set=Ao;function No(){this.__data__=new $e,this.size=0}function Mo(r){var e=this.__data__,t=e.delete(r);return this.size=e.size,t}function ko(r){return this.__data__.get(r)}function Fo(r){return this.__data__.has(r)}function zt(r){var e=typeof r;return r!=null&&(e=="object"||e=="function")}var Ro="[object AsyncFunction]",Do="[object Function]",Io="[object GeneratorFunction]",$o="[object Proxy]";function ci(r){if(!zt(r))return!1;var e=yt(r);return e==Do||e==Io||e==Ro||e==$o}var Zr=Me["__core-js_shared__"],fi=(function(){var r=/[^.]+$/.exec(Zr&&Zr.keys&&Zr.keys.IE_PROTO||"");return r?"Symbol(src)_1."+r:""})();function Lo(r){return!!fi&&fi in r}var zo=Function.prototype,Zo=zo.toString;function it(r){if(r!=null){try{return Zo.call(r)}catch{}try{return r+""}catch{}}return""}var Bo=/[\\^$.*+?()[\]{}|]/g,Uo=/^\[object .+?Constructor\]$/,Vo=Function.prototype,Ho=Object.prototype,Yo=Vo.toString,Wo=Ho.hasOwnProperty,Go=RegExp("^"+Yo.call(Wo).replace(Bo,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Xo(r){if(!zt(r)||Lo(r))return!1;var e=ci(r)?Go:Uo;return e.test(it(r))}function Ko(r,e){return r?.[e]}function st(r,e){var t=Ko(r,e);return Xo(t)?t:void 0}var Zt=st(Me,"Map"),Bt=st(Object,"create");function Jo(){this.__data__=Bt?Bt(null):{},this.size=0}function Qo(r){var e=this.has(r)&&delete this.__data__[r];return this.size-=e?1:0,e}var el="__lodash_hash_undefined__",tl=Object.prototype,rl=tl.hasOwnProperty;function nl(r){var e=this.__data__;if(Bt){var t=e[r];return t===el?void 0:t}return rl.call(e,r)?e[r]:void 0}var il=Object.prototype,sl=il.hasOwnProperty;function al(r){var e=this.__data__;return Bt?e[r]!==void 0:sl.call(e,r)}var ol="__lodash_hash_undefined__";function ll(r,e){var t=this.__data__;return this.size+=this.has(r)?0:1,t[r]=Bt&&e===void 0?ol:e,this}function at(r){var e=-1,t=r==null?0:r.length;for(this.clear();++e<t;){var n=r[e];this.set(n[0],n[1])}}at.prototype.clear=Jo,at.prototype.delete=Qo,at.prototype.get=nl,at.prototype.has=al,at.prototype.set=ll;function ul(){this.size=0,this.__data__={hash:new at,map:new(Zt||$e),string:new at}}function cl(r){var e=typeof r;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?r!=="__proto__":r===null}function xr(r,e){var t=r.__data__;return cl(e)?t[typeof e=="string"?"string":"hash"]:t.map}function fl(r){var e=xr(this,r).delete(r);return this.size-=e?1:0,e}function dl(r){return xr(this,r).get(r)}function hl(r){return xr(this,r).has(r)}function pl(r,e){var t=xr(this,r),n=t.size;return t.set(r,e),this.size+=t.size==n?0:1,this}function Ye(r){var e=-1,t=r==null?0:r.length;for(this.clear();++e<t;){var n=r[e];this.set(n[0],n[1])}}Ye.prototype.clear=ul,Ye.prototype.delete=fl,Ye.prototype.get=dl,Ye.prototype.has=hl,Ye.prototype.set=pl;var ml=200;function _l(r,e){var t=this.__data__;if(t instanceof $e){var n=t.__data__;if(!Zt||n.length<ml-1)return n.push([r,e]),this.size=++t.size,this;t=this.__data__=new Ye(n)}return t.set(r,e),this.size=t.size,this}function bt(r){var e=this.__data__=new $e(r);this.size=e.size}bt.prototype.clear=No,bt.prototype.delete=Mo,bt.prototype.get=ko,bt.prototype.has=Fo,bt.prototype.set=_l;function gl(r,e){for(var t=-1,n=r==null?0:r.length;++t<n&&e(r[t],t,r)!==!1;);return r}var di=(function(){try{var r=st(Object,"defineProperty");return r({},"",{}),r}catch{}})();function hi(r,e,t){e=="__proto__"&&di?di(r,e,{configurable:!0,enumerable:!0,value:t,writable:!0}):r[e]=t}var vl=Object.prototype,yl=vl.hasOwnProperty;function pi(r,e,t){var n=r[e];(!(yl.call(r,e)&&ui(n,t))||t===void 0&&!(e in r))&&hi(r,e,t)}function br(r,e,t,n){var i=!t;t||(t={});for(var s=-1,a=e.length;++s<a;){var o=e[s],l=void 0;l===void 0&&(l=r[o]),i?hi(t,o,l):pi(t,o,l)}return t}function xl(r,e){for(var t=-1,n=Array(r);++t<r;)n[t]=e(t);return n}var bl="[object Arguments]";function mi(r){return xt(r)&&yt(r)==bl}var _i=Object.prototype,wl=_i.hasOwnProperty,Tl=_i.propertyIsEnumerable,jl=mi((function(){return arguments})())?mi:function(r){return xt(r)&&wl.call(r,"callee")&&!Tl.call(r,"callee")},Ut=Array.isArray;function Ol(){return!1}var gi=typeof A=="object"&&A&&!A.nodeType&&A,vi=gi&&typeof module=="object"&&module&&!module.nodeType&&module,Sl=vi&&vi.exports===gi,yi=Sl?Me.Buffer:void 0,Cl=yi?yi.isBuffer:void 0,xi=Cl||Ol,El=9007199254740991,Pl=/^(?:0|[1-9]\d*)$/;function ql(r,e){var t=typeof r;return e=e??El,!!e&&(t=="number"||t!="symbol"&&Pl.test(r))&&r>-1&&r%1==0&&r<e}var Al=9007199254740991;function bi(r){return typeof r=="number"&&r>-1&&r%1==0&&r<=Al}var Nl="[object Arguments]",Ml="[object Array]",kl="[object Boolean]",Fl="[object Date]",Rl="[object Error]",Dl="[object Function]",Il="[object Map]",$l="[object Number]",Ll="[object Object]",zl="[object RegExp]",Zl="[object Set]",Bl="[object String]",Ul="[object WeakMap]",Vl="[object ArrayBuffer]",Hl="[object DataView]",Yl="[object Float32Array]",Wl="[object Float64Array]",Gl="[object Int8Array]",Xl="[object Int16Array]",Kl="[object Int32Array]",Jl="[object Uint8Array]",Ql="[object Uint8ClampedArray]",eu="[object Uint16Array]",tu="[object Uint32Array]",X={};X[Yl]=X[Wl]=X[Gl]=X[Xl]=X[Kl]=X[Jl]=X[Ql]=X[eu]=X[tu]=!0,X[Nl]=X[Ml]=X[Vl]=X[kl]=X[Hl]=X[Fl]=X[Rl]=X[Dl]=X[Il]=X[$l]=X[Ll]=X[zl]=X[Zl]=X[Bl]=X[Ul]=!1;function ru(r){return xt(r)&&bi(r.length)&&!!X[yt(r)]}function Br(r){return function(e){return r(e)}}var wi=typeof A=="object"&&A&&!A.nodeType&&A,Vt=wi&&typeof module=="object"&&module&&!module.nodeType&&module,nu=Vt&&Vt.exports===wi,Ur=nu&&ii.process,wt=(function(){try{var r=Vt&&Vt.require&&Vt.require("util").types;return r||Ur&&Ur.binding&&Ur.binding("util")}catch{}})(),Ti=wt&&wt.isTypedArray,iu=Ti?Br(Ti):ru,su=Object.prototype,au=su.hasOwnProperty;function ji(r,e){var t=Ut(r),n=!t&&jl(r),i=!t&&!n&&xi(r),s=!t&&!n&&!i&&iu(r),a=t||n||i||s,o=a?xl(r.length,String):[],l=o.length;for(var u in r)(e||au.call(r,u))&&!(a&&(u=="length"||i&&(u=="offset"||u=="parent")||s&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||ql(u,l)))&&o.push(u);return o}var ou=Object.prototype;function Vr(r){var e=r&&r.constructor,t=typeof e=="function"&&e.prototype||ou;return r===t}var lu=oi(Object.keys,Object),uu=Object.prototype,cu=uu.hasOwnProperty;function fu(r){if(!Vr(r))return lu(r);var e=[];for(var t in Object(r))cu.call(r,t)&&t!="constructor"&&e.push(t);return e}function Oi(r){return r!=null&&bi(r.length)&&!ci(r)}function Hr(r){return Oi(r)?ji(r):fu(r)}function du(r,e){return r&&br(e,Hr(e),r)}function hu(r){var e=[];if(r!=null)for(var t in Object(r))e.push(t);return e}var pu=Object.prototype,mu=pu.hasOwnProperty;function _u(r){if(!zt(r))return hu(r);var e=Vr(r),t=[];for(var n in r)n=="constructor"&&(e||!mu.call(r,n))||t.push(n);return t}function Yr(r){return Oi(r)?ji(r,!0):_u(r)}function gu(r,e){return r&&br(e,Yr(e),r)}var Si=typeof A=="object"&&A&&!A.nodeType&&A,Ci=Si&&typeof module=="object"&&module&&!module.nodeType&&module,vu=Ci&&Ci.exports===Si,Ei=vu?Me.Buffer:void 0,Pi=Ei?Ei.allocUnsafe:void 0;function yu(r,e){if(e)return r.slice();var t=r.length,n=Pi?Pi(t):new r.constructor(t);return r.copy(n),n}function qi(r,e){var t=-1,n=r.length;for(e||(e=Array(n));++t<n;)e[t]=r[t];return e}function xu(r,e){for(var t=-1,n=r==null?0:r.length,i=0,s=[];++t<n;){var a=r[t];e(a,t,r)&&(s[i++]=a)}return s}function Ai(){return[]}var bu=Object.prototype,wu=bu.propertyIsEnumerable,Ni=Object.getOwnPropertySymbols,Wr=Ni?function(r){return r==null?[]:(r=Object(r),xu(Ni(r),function(e){return wu.call(r,e)}))}:Ai;function Tu(r,e){return br(r,Wr(r),e)}function Mi(r,e){for(var t=-1,n=e.length,i=r.length;++t<n;)r[i+t]=e[t];return r}var ju=Object.getOwnPropertySymbols,ki=ju?function(r){for(var e=[];r;)Mi(e,Wr(r)),r=li(r);return e}:Ai;function Ou(r,e){return br(r,ki(r),e)}function Fi(r,e,t){var n=e(r);return Ut(r)?n:Mi(n,t(r))}function Su(r){return Fi(r,Hr,Wr)}function Cu(r){return Fi(r,Yr,ki)}var Gr=st(Me,"DataView"),Xr=st(Me,"Promise"),Kr=st(Me,"Set"),Jr=st(Me,"WeakMap"),Ri="[object Map]",Eu="[object Object]",Di="[object Promise]",Ii="[object Set]",$i="[object WeakMap]",Li="[object DataView]",Pu=it(Gr),qu=it(Zt),Au=it(Xr),Nu=it(Kr),Mu=it(Jr),Le=yt;(Gr&&Le(new Gr(new ArrayBuffer(1)))!=Li||Zt&&Le(new Zt)!=Ri||Xr&&Le(Xr.resolve())!=Di||Kr&&Le(new Kr)!=Ii||Jr&&Le(new Jr)!=$i)&&(Le=function(r){var e=yt(r),t=e==Eu?r.constructor:void 0,n=t?it(t):"";if(n)switch(n){case Pu:return Li;case qu:return Ri;case Au:return Di;case Nu:return Ii;case Mu:return $i}return e});var ku=Object.prototype,Fu=ku.hasOwnProperty;function Ru(r){var e=r.length,t=new r.constructor(e);return e&&typeof r[0]=="string"&&Fu.call(r,"index")&&(t.index=r.index,t.input=r.input),t}var zi=Me.Uint8Array;function Qr(r){var e=new r.constructor(r.byteLength);return new zi(e).set(new zi(r)),e}function Du(r,e){var t=e?Qr(r.buffer):r.buffer;return new r.constructor(t,r.byteOffset,r.byteLength)}var Iu=/\w*$/;function $u(r){var e=new r.constructor(r.source,Iu.exec(r));return e.lastIndex=r.lastIndex,e}var Zi=He?He.prototype:void 0,Bi=Zi?Zi.valueOf:void 0;function Lu(r){return Bi?Object(Bi.call(r)):{}}function zu(r,e){var t=e?Qr(r.buffer):r.buffer;return new r.constructor(t,r.byteOffset,r.length)}var Zu="[object Boolean]",Bu="[object Date]",Uu="[object Map]",Vu="[object Number]",Hu="[object RegExp]",Yu="[object Set]",Wu="[object String]",Gu="[object Symbol]",Xu="[object ArrayBuffer]",Ku="[object DataView]",Ju="[object Float32Array]",Qu="[object Float64Array]",ec="[object Int8Array]",tc="[object Int16Array]",rc="[object Int32Array]",nc="[object Uint8Array]",ic="[object Uint8ClampedArray]",sc="[object Uint16Array]",ac="[object Uint32Array]";function oc(r,e,t){var n=r.constructor;switch(e){case Xu:return Qr(r);case Zu:case Bu:return new n(+r);case Ku:return Du(r,t);case Ju:case Qu:case ec:case tc:case rc:case nc:case ic:case sc:case ac:return zu(r,t);case Uu:return new n;case Vu:case Wu:return new n(r);case Hu:return $u(r);case Yu:return new n;case Gu:return Lu(r)}}var Ui=Object.create,lc=(function(){function r(){}return function(e){if(!zt(e))return{};if(Ui)return Ui(e);r.prototype=e;var t=new r;return r.prototype=void 0,t}})();function uc(r){return typeof r.constructor=="function"&&!Vr(r)?lc(li(r)):{}}var cc="[object Map]";function fc(r){return xt(r)&&Le(r)==cc}var Vi=wt&&wt.isMap,dc=Vi?Br(Vi):fc,hc="[object Set]";function pc(r){return xt(r)&&Le(r)==hc}var Hi=wt&&wt.isSet,mc=Hi?Br(Hi):pc,_c=1,gc=2,vc=4,Yi="[object Arguments]",yc="[object Array]",xc="[object Boolean]",bc="[object Date]",wc="[object Error]",Wi="[object Function]",Tc="[object GeneratorFunction]",jc="[object Map]",Oc="[object Number]",Gi="[object Object]",Sc="[object RegExp]",Cc="[object Set]",Ec="[object String]",Pc="[object Symbol]",qc="[object WeakMap]",Ac="[object ArrayBuffer]",Nc="[object DataView]",Mc="[object Float32Array]",kc="[object Float64Array]",Fc="[object Int8Array]",Rc="[object Int16Array]",Dc="[object Int32Array]",Ic="[object Uint8Array]",$c="[object Uint8ClampedArray]",Lc="[object Uint16Array]",zc="[object Uint32Array]",G={};G[Yi]=G[yc]=G[Ac]=G[Nc]=G[xc]=G[bc]=G[Mc]=G[kc]=G[Fc]=G[Rc]=G[Dc]=G[jc]=G[Oc]=G[Gi]=G[Sc]=G[Cc]=G[Ec]=G[Pc]=G[Ic]=G[$c]=G[Lc]=G[zc]=!0,G[wc]=G[Wi]=G[qc]=!1;function Ht(r,e,t,n,i,s){var a,o=e&_c,l=e&gc,u=e&vc;if(a!==void 0)return a;if(!zt(r))return r;var c=Ut(r);if(c){if(a=Ru(r),!o)return qi(r,a)}else{var f=Le(r),p=f==Wi||f==Tc;if(xi(r))return yu(r,o);if(f==Gi||f==Yi||p&&!i){if(a=l||p?{}:uc(r),!o)return l?Ou(r,gu(a,r)):Tu(r,du(a,r))}else{if(!G[f])return i?r:{};a=oc(r,f,o)}}s||(s=new bt);var m=s.get(r);if(m)return m;s.set(r,a),mc(r)?r.forEach(function(v){a.add(Ht(v,e,t,v,r,s))}):dc(r)&&r.forEach(function(v,x){a.set(x,Ht(v,e,t,x,r,s))});var _=u?l?Cu:Su:l?Yr:Hr,h=c?void 0:_(r);return gl(h||r,function(v,x){h&&(x=v,v=r[x]),pi(a,x,Ht(v,e,t,x,r,s))}),a}var Zc=1,Bc=4;function Uc(r){return Ht(r,Zc|Bc)}var en,Xi;function Vc(){if(Xi)return en;Xi=1;var r=Array.isArray,e=Object.keys,t=Object.prototype.hasOwnProperty,n=typeof Element<"u";function i(s,a){if(s===a)return!0;if(s&&a&&typeof s=="object"&&typeof a=="object"){var o=r(s),l=r(a),u,c,f;if(o&&l){if(c=s.length,c!=a.length)return!1;for(u=c;u--!==0;)if(!i(s[u],a[u]))return!1;return!0}if(o!=l)return!1;var p=s instanceof Date,m=a instanceof Date;if(p!=m)return!1;if(p&&m)return s.getTime()==a.getTime();var _=s instanceof RegExp,h=a instanceof RegExp;if(_!=h)return!1;if(_&&h)return s.toString()==a.toString();var v=e(s);if(c=v.length,c!==e(a).length)return!1;for(u=c;u--!==0;)if(!t.call(a,v[u]))return!1;if(n&&s instanceof Element&&a instanceof Element)return s===a;for(u=c;u--!==0;)if(f=v[u],!(f==="_owner"&&s.$$typeof)&&!i(s[f],a[f]))return!1;return!0}return s!==s&&a!==a}return en=function(a,o){try{return i(a,o)}catch(l){if(l.message&&l.message.match(/stack|recursion/i)||l.number===-2146828260)return console.warn("Warning: react-fast-compare does not handle circular references.",l.name,l.message),!1;throw l}},en}var Hc=Vc();const Yc=ei(Hc);var Wc=process.env.NODE_ENV==="production";function We(r,e){if(!Wc){var t="Warning: "+e;typeof console<"u"&&console.warn(t);try{throw Error(t)}catch{}}}var Gc=4;function Ki(r){return Ht(r,Gc)}function Ji(r,e){for(var t=-1,n=r==null?0:r.length,i=Array(n);++t<n;)i[t]=e(r[t],t,r);return i}var Xc="[object Symbol]";function tn(r){return typeof r=="symbol"||xt(r)&&yt(r)==Xc}var Kc="Expected a function";function rn(r,e){if(typeof r!="function"||e!=null&&typeof e!="function")throw new TypeError(Kc);var t=function(){var n=arguments,i=e?e.apply(this,n):n[0],s=t.cache;if(s.has(i))return s.get(i);var a=r.apply(this,n);return t.cache=s.set(i,a)||s,a};return t.cache=new(rn.Cache||Ye),t}rn.Cache=Ye;var Jc=500;function Qc(r){var e=rn(r,function(n){return t.size===Jc&&t.clear(),n}),t=e.cache;return e}var ef=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,tf=/\\(\\)?/g,rf=Qc(function(r){var e=[];return r.charCodeAt(0)===46&&e.push(""),r.replace(ef,function(t,n,i,s){e.push(i?s.replace(tf,"$1"):n||t)}),e});function nf(r){if(typeof r=="string"||tn(r))return r;var e=r+"";return e=="0"&&1/r==-1/0?"-0":e}var Qi=He?He.prototype:void 0,es=Qi?Qi.toString:void 0;function ts(r){if(typeof r=="string")return r;if(Ut(r))return Ji(r,ts)+"";if(tn(r))return es?es.call(r):"";var e=r+"";return e=="0"&&1/r==-1/0?"-0":e}function sf(r){return r==null?"":ts(r)}function rs(r){return Ut(r)?Ji(r,nf):tn(r)?[r]:qi(rf(sf(r)))}var wr={exports:{}},L={};/** @license React v16.13.1
35
- * react-is.production.min.js
36
- *
37
- * Copyright (c) Facebook, Inc. and its affiliates.
38
- *
39
- * This source code is licensed under the MIT license found in the
40
- * LICENSE file in the root directory of this source tree.
41
- */var ns;function af(){if(ns)return L;ns=1;var r=typeof Symbol=="function"&&Symbol.for,e=r?Symbol.for("react.element"):60103,t=r?Symbol.for("react.portal"):60106,n=r?Symbol.for("react.fragment"):60107,i=r?Symbol.for("react.strict_mode"):60108,s=r?Symbol.for("react.profiler"):60114,a=r?Symbol.for("react.provider"):60109,o=r?Symbol.for("react.context"):60110,l=r?Symbol.for("react.async_mode"):60111,u=r?Symbol.for("react.concurrent_mode"):60111,c=r?Symbol.for("react.forward_ref"):60112,f=r?Symbol.for("react.suspense"):60113,p=r?Symbol.for("react.suspense_list"):60120,m=r?Symbol.for("react.memo"):60115,_=r?Symbol.for("react.lazy"):60116,h=r?Symbol.for("react.block"):60121,v=r?Symbol.for("react.fundamental"):60117,x=r?Symbol.for("react.responder"):60118,y=r?Symbol.for("react.scope"):60119;function b(g){if(typeof g=="object"&&g!==null){var j=g.$$typeof;switch(j){case e:switch(g=g.type,g){case l:case u:case n:case s:case i:case f:return g;default:switch(g=g&&g.$$typeof,g){case o:case c:case _:case m:case a:return g;default:return j}}case t:return j}}}function w(g){return b(g)===u}return L.AsyncMode=l,L.ConcurrentMode=u,L.ContextConsumer=o,L.ContextProvider=a,L.Element=e,L.ForwardRef=c,L.Fragment=n,L.Lazy=_,L.Memo=m,L.Portal=t,L.Profiler=s,L.StrictMode=i,L.Suspense=f,L.isAsyncMode=function(g){return w(g)||b(g)===l},L.isConcurrentMode=w,L.isContextConsumer=function(g){return b(g)===o},L.isContextProvider=function(g){return b(g)===a},L.isElement=function(g){return typeof g=="object"&&g!==null&&g.$$typeof===e},L.isForwardRef=function(g){return b(g)===c},L.isFragment=function(g){return b(g)===n},L.isLazy=function(g){return b(g)===_},L.isMemo=function(g){return b(g)===m},L.isPortal=function(g){return b(g)===t},L.isProfiler=function(g){return b(g)===s},L.isStrictMode=function(g){return b(g)===i},L.isSuspense=function(g){return b(g)===f},L.isValidElementType=function(g){return typeof g=="string"||typeof g=="function"||g===n||g===u||g===s||g===i||g===f||g===p||typeof g=="object"&&g!==null&&(g.$$typeof===_||g.$$typeof===m||g.$$typeof===a||g.$$typeof===o||g.$$typeof===c||g.$$typeof===v||g.$$typeof===x||g.$$typeof===y||g.$$typeof===h)},L.typeOf=b,L}var z={};/** @license React v16.13.1
42
- * react-is.development.js
43
- *
44
- * Copyright (c) Facebook, Inc. and its affiliates.
45
- *
46
- * This source code is licensed under the MIT license found in the
47
- * LICENSE file in the root directory of this source tree.
48
- */var is;function of(){return is||(is=1,process.env.NODE_ENV!=="production"&&(function(){var r=typeof Symbol=="function"&&Symbol.for,e=r?Symbol.for("react.element"):60103,t=r?Symbol.for("react.portal"):60106,n=r?Symbol.for("react.fragment"):60107,i=r?Symbol.for("react.strict_mode"):60108,s=r?Symbol.for("react.profiler"):60114,a=r?Symbol.for("react.provider"):60109,o=r?Symbol.for("react.context"):60110,l=r?Symbol.for("react.async_mode"):60111,u=r?Symbol.for("react.concurrent_mode"):60111,c=r?Symbol.for("react.forward_ref"):60112,f=r?Symbol.for("react.suspense"):60113,p=r?Symbol.for("react.suspense_list"):60120,m=r?Symbol.for("react.memo"):60115,_=r?Symbol.for("react.lazy"):60116,h=r?Symbol.for("react.block"):60121,v=r?Symbol.for("react.fundamental"):60117,x=r?Symbol.for("react.responder"):60118,y=r?Symbol.for("react.scope"):60119;function b(P){return typeof P=="string"||typeof P=="function"||P===n||P===u||P===s||P===i||P===f||P===p||typeof P=="object"&&P!==null&&(P.$$typeof===_||P.$$typeof===m||P.$$typeof===a||P.$$typeof===o||P.$$typeof===c||P.$$typeof===v||P.$$typeof===x||P.$$typeof===y||P.$$typeof===h)}function w(P){if(typeof P=="object"&&P!==null){var Jn=P.$$typeof;switch(Jn){case e:var Lr=P.type;switch(Lr){case l:case u:case n:case s:case i:case f:return Lr;default:var Na=Lr&&Lr.$$typeof;switch(Na){case o:case c:case _:case m:case a:return Na;default:return Jn}}case t:return Jn}}}var g=l,j=u,S=o,C=a,O=e,k=c,$=n,D=_,F=m,Y=t,U=s,Z=i,W=f,ie=!1;function de(P){return ie||(ie=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),T(P)||w(P)===l}function T(P){return w(P)===u}function E(P){return w(P)===o}function q(P){return w(P)===a}function B(P){return typeof P=="object"&&P!==null&&P.$$typeof===e}function re(P){return w(P)===c}function oe(P){return w(P)===n}function or(P){return w(P)===_}function lr(P){return w(P)===m}function ce(P){return w(P)===t}function nt(P){return w(P)===s}function ur(P){return w(P)===i}function Kn(P){return w(P)===f}z.AsyncMode=g,z.ConcurrentMode=j,z.ContextConsumer=S,z.ContextProvider=C,z.Element=O,z.ForwardRef=k,z.Fragment=$,z.Lazy=D,z.Memo=F,z.Portal=Y,z.Profiler=U,z.StrictMode=Z,z.Suspense=W,z.isAsyncMode=de,z.isConcurrentMode=T,z.isContextConsumer=E,z.isContextProvider=q,z.isElement=B,z.isForwardRef=re,z.isFragment=oe,z.isLazy=or,z.isMemo=lr,z.isPortal=ce,z.isProfiler=nt,z.isStrictMode=ur,z.isSuspense=Kn,z.isValidElementType=b,z.typeOf=w})()),z}var ss;function lf(){return ss||(ss=1,process.env.NODE_ENV==="production"?wr.exports=af():wr.exports=of()),wr.exports}var nn,as;function uf(){if(as)return nn;as=1;var r=lf(),e={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},t={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},n={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};s[r.ForwardRef]=n,s[r.Memo]=i;function a(_){return r.isMemo(_)?i:s[_.$$typeof]||e}var o=Object.defineProperty,l=Object.getOwnPropertyNames,u=Object.getOwnPropertySymbols,c=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,p=Object.prototype;function m(_,h,v){if(typeof h!="string"){if(p){var x=f(h);x&&x!==p&&m(_,x,v)}var y=l(h);u&&(y=y.concat(u(h)));for(var b=a(_),w=a(h),g=0;g<y.length;++g){var j=y[g];if(!t[j]&&!(v&&v[j])&&!(w&&w[j])&&!(b&&b[j])){var S=c(h,j);try{o(_,j,S)}catch{}}}}return _}return nn=m,nn}var cf=uf();const ff=ei(cf);function ot(){return ot=Object.assign||function(r){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(r[n]=t[n])}return r},ot.apply(this,arguments)}function os(r,e){r.prototype=Object.create(e.prototype),r.prototype.constructor=r,r.__proto__=e}function sn(r,e){if(r==null)return{};var t={},n=Object.keys(r),i,s;for(s=0;s<n.length;s++)i=n[s],!(e.indexOf(i)>=0)&&(t[i]=r[i]);return t}function ls(r){if(r===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r}var Tr=M.createContext(void 0);Tr.displayName="FormikContext",Tr.Provider;var df=Tr.Consumer;function us(){var r=M.useContext(Tr);return r||(process.env.NODE_ENV!=="production"?We(!1,"Formik context is undefined, please verify you are calling useFormikContext() as child of a <Formik> component."):We()),r}var cs=function(e){return Array.isArray(e)&&e.length===0},jr=function(e){return typeof e=="function"},an=function(e){return e!==null&&typeof e=="object"},hf=function(e){return String(Math.floor(Number(e)))===e},pf=function(e){return M.Children.count(e)===0};function Ee(r,e,t,n){n===void 0&&(n=0);for(var i=rs(e);r&&n<i.length;)r=r[i[n++]];return n!==i.length&&!r||r===void 0?t:r}function on(r,e,t){for(var n=Ki(r),i=n,s=0,a=rs(e);s<a.length-1;s++){var o=a[s],l=Ee(r,a.slice(0,s+1));if(l&&(an(l)||Array.isArray(l)))i=i[o]=Ki(l);else{var u=a[s+1];i=i[o]=hf(u)&&Number(u)>=0?[]:{}}}return(s===0?r:i)[a[s]]===t?r:(t===void 0?delete i[a[s]]:i[a[s]]=t,s===0&&t===void 0&&delete n[a[s]],n)}function mf(r){var e=us(),t=e.getFieldProps,n=e.getFieldMeta,i=e.getFieldHelpers,s=e.registerField,a=e.unregisterField,o=an(r),l=o?r:{name:r},u=l.name,c=l.validate;M.useEffect(function(){return u&&s(u,{validate:c}),function(){u&&a(u)}},[s,a,u,c]),process.env.NODE_ENV!=="production"&&(e||(process.env.NODE_ENV!=="production"?We(!1,"useField() / <Field /> must be used underneath a <Formik> component or withFormik() higher order component"):We())),u||(process.env.NODE_ENV!=="production"?We(!1,"Invalid field name. Either pass `useField` a string or an object containing a `name` key."):We());var f=M.useMemo(function(){return i(u)},[i,u]);return[t(l),n(u),f]}var _f=M.forwardRef(function(r,e){var t=r.action,n=sn(r,["action"]),i=t??"#",s=us(),a=s.handleReset,o=s.handleSubmit;return M.createElement("form",ot({onSubmit:o,ref:e,onReset:a,action:i},n))});_f.displayName="Form";function gf(r){var e=function(i){return M.createElement(df,null,function(s){return s||(process.env.NODE_ENV!=="production"?We(!1,"Formik context is undefined, please verify you are rendering <Form>, <Field>, <FastField>, <FieldArray>, or your custom context-using component as a child of a <Formik> component. Component name: "+r.name):We()),M.createElement(r,ot({},i,{formik:s}))})},t=r.displayName||r.name||r.constructor&&r.constructor.name||"Component";return e.WrappedComponent=r,e.displayName="FormikConnect("+t+")",ff(e,r)}var vf=function(e,t,n){var i=lt(e),s=i[t];return i.splice(t,1),i.splice(n,0,s),i},yf=function(e,t,n){var i=lt(e),s=i[t];return i[t]=i[n],i[n]=s,i},ln=function(e,t,n){var i=lt(e);return i.splice(t,0,n),i},xf=function(e,t,n){var i=lt(e);return i[t]=n,i},lt=function(e){if(e){if(Array.isArray(e))return[].concat(e);var t=Object.keys(e).map(function(n){return parseInt(n)}).reduce(function(n,i){return i>n?i:n},0);return Array.from(ot({},e,{length:t+1}))}else return[]},fs=function(e,t){var n=typeof e=="function"?e:t;return function(i){if(Array.isArray(i)||an(i)){var s=lt(i);return n(s)}return i}},bf=(function(r){os(e,r);function e(n){var i;return i=r.call(this,n)||this,i.updateArrayField=function(s,a,o){var l=i.props,u=l.name,c=l.formik.setFormikState;c(function(f){var p=fs(o,s),m=fs(a,s),_=on(f.values,u,s(Ee(f.values,u))),h=o?p(Ee(f.errors,u)):void 0,v=a?m(Ee(f.touched,u)):void 0;return cs(h)&&(h=void 0),cs(v)&&(v=void 0),ot({},f,{values:_,errors:o?on(f.errors,u,h):f.errors,touched:a?on(f.touched,u,v):f.touched})})},i.push=function(s){return i.updateArrayField(function(a){return[].concat(lt(a),[Uc(s)])},!1,!1)},i.handlePush=function(s){return function(){return i.push(s)}},i.swap=function(s,a){return i.updateArrayField(function(o){return yf(o,s,a)},!0,!0)},i.handleSwap=function(s,a){return function(){return i.swap(s,a)}},i.move=function(s,a){return i.updateArrayField(function(o){return vf(o,s,a)},!0,!0)},i.handleMove=function(s,a){return function(){return i.move(s,a)}},i.insert=function(s,a){return i.updateArrayField(function(o){return ln(o,s,a)},function(o){return ln(o,s,null)},function(o){return ln(o,s,null)})},i.handleInsert=function(s,a){return function(){return i.insert(s,a)}},i.replace=function(s,a){return i.updateArrayField(function(o){return xf(o,s,a)},!1,!1)},i.handleReplace=function(s,a){return function(){return i.replace(s,a)}},i.unshift=function(s){var a=-1;return i.updateArrayField(function(o){var l=o?[s].concat(o):[s];return a=l.length,l},function(o){return o?[null].concat(o):[null]},function(o){return o?[null].concat(o):[null]}),a},i.handleUnshift=function(s){return function(){return i.unshift(s)}},i.handleRemove=function(s){return function(){return i.remove(s)}},i.handlePop=function(){return function(){return i.pop()}},i.remove=i.remove.bind(ls(i)),i.pop=i.pop.bind(ls(i)),i}var t=e.prototype;return t.componentDidUpdate=function(i){this.props.validateOnChange&&this.props.formik.validateOnChange&&!Yc(Ee(i.formik.values,i.name),Ee(this.props.formik.values,this.props.name))&&this.props.formik.validateForm(this.props.formik.values)},t.remove=function(i){var s;return this.updateArrayField(function(a){var o=a?lt(a):[];return s||(s=o[i]),jr(o.splice)&&o.splice(i,1),jr(o.every)&&o.every(function(l){return l===void 0})?[]:o},!0,!0),s},t.pop=function(){var i;return this.updateArrayField(function(s){var a=s.slice();return i||(i=a&&a.pop&&a.pop()),a},!0,!0),i},t.render=function(){var i={push:this.push,pop:this.pop,swap:this.swap,move:this.move,insert:this.insert,replace:this.replace,unshift:this.unshift,remove:this.remove,handlePush:this.handlePush,handlePop:this.handlePop,handleSwap:this.handleSwap,handleMove:this.handleMove,handleInsert:this.handleInsert,handleReplace:this.handleReplace,handleUnshift:this.handleUnshift,handleRemove:this.handleRemove},s=this.props,a=s.component,o=s.render,l=s.children,u=s.name,c=s.formik,f=sn(c,["validate","validationSchema"]),p=ot({},i,{form:f,name:u});return a?M.createElement(a,p):o?o(p):l?typeof l=="function"?l(p):pf(l)?null:M.Children.only(l):null},e})(M.Component);bf.defaultProps={validateOnChange:!0};var wf=(function(r){os(e,r);function e(){return r.apply(this,arguments)||this}var t=e.prototype;return t.shouldComponentUpdate=function(i){return Ee(this.props.formik.errors,this.props.name)!==Ee(i.formik.errors,this.props.name)||Ee(this.props.formik.touched,this.props.name)!==Ee(i.formik.touched,this.props.name)||Object.keys(this.props).length!==Object.keys(i).length},t.render=function(){var i=this.props,s=i.component,a=i.formik,o=i.render,l=i.children,u=i.name,c=sn(i,["component","formik","render","children","name"]),f=Ee(a.touched,u),p=Ee(a.errors,u);return f&&p?o?jr(o)?o(p):null:l?jr(l)?l(p):null:s?M.createElement(s,c,p):p:null},e})(M.Component),Tf=gf(wf);const jf=({icon:r,label:e,className:t,containerClassName:n,id:i,type:s="text",...a})=>{const[o,l]=mf(a),[u,c]=M.useState(!1),f=l.touched&&l.error,p=o.value&&o.value.toString().length>0,m=()=>u||p?"-top-3 left-2 scale-90":"top-1/2 -translate-y-1/2 scale-100";return d.jsxs("div",{className:N("relative w-full bg-inherit",n),children:[d.jsxs("div",{className:"relative bg-inherit",children:[d.jsx("input",{id:i||a.name,type:s,name:o.name,value:o.value||"",onChange:o.onChange,onFocus:()=>{c(!0),a.onFocus?.()},onBlur:_=>{c(!1),a.onBlur?.(),o.onBlur(_)},className:N("w-full px-3 h-12 text-left border-1 rounded-lg transition-all duration-200 ease-in-out text-neutral-default-default","bg-transparent focus:outline-none",u?"border-primary-default-default border-2":f?"border-error-default-default":"border-neutral-default-default hover:border-neutral-strong-default",r?"pl-10":"",t)}),d.jsx("label",{htmlFor:i||a.name,className:N("absolute transition-all duration-200 ease-in-out pointer-events-none bg-inherit px-1 z-10","text-md",m(),p||u?"text-primary-default-default":f?"text-red-500":"text-neutral-medium-default",r?"left-10":"left-3"),children:e}),r&&d.jsx("div",{className:"absolute left-3 top-1/2 -translate-y-1/2 text-neutral-medium-default",children:r})]}),f&&d.jsx(Tf,{name:a.name,component:"span",className:"block text-error-default-default text-xs mt-1"})]})};function Of({profileImage:r,size:e,sizeImage:t=5.5}){const[n,i]=M.useState(!1);return d.jsx(d.Fragment,{children:r&&!n?d.jsx("img",{onError:()=>{i(!0)},src:r,className:`w-${t} h-${t} rounded-full`}):d.jsx(Qn,{size:e,name:r,variant:"beam",colors:["#92A1C6","#146A7C","#F0AB3D","#C271B4","#C20D90"]})})}const ds=({user:r,isExpanded:e,onClick:t,onProfileClick:n,showOptions:i=!1,onClickLogout:s,sessions:a,handleTokenLogin:o})=>{const l=a?.filter(u=>u.email!==r?.email);return d.jsxs(d.Fragment,{children:[d.jsxs("div",{className:"profile-container flex my-2 rounded-md text-white-prometeo overflow-hidden flex-shrink-0 ",children:[d.jsxs(I.motion.button,{onClick:n,className:N("flex flex-1 gap-1 rounded-l-md cursor-pointer justify-center relative overflow-hidden focus:outline-none hover:bg-neutral-medium-selected button-profile",e&&"bg-neutral-medium-selected"),whileHover:{opacity:1,scale:[1,1.02,1]},whileTap:{scale:.98},transition:{duration:.2,ease:"easeInOut"},children:[d.jsx("div",{className:"profile-image-wrapper flex-shrink-0 h-10 w-10 flex items-center justify-center relative z-10",children:d.jsx(Of,{profileImage:r?.profileImage||"",size:36})}),d.jsxs("div",{className:"flex flex-col justify-center overflow-hidden flex-1 relative z-10 profile-user-info mr-2",children:[d.jsx("p",{className:N("profile-name font-semibold leading-tight mb-0 text-left",e?"text-primary-default-default":"text-neutral-default-default"),children:r?.name?.length&&r?.name?.length>20?r?.name?.slice(0,10)+"..":r?.name}),d.jsx("div",{className:"flex items-center gap-1 mt-1 ",children:r&&r.company_id?d.jsxs(d.Fragment,{children:[d.jsx("p",{className:N("profile-options truncate text-xs mt-0",e?"text-primary-default-default":"text-neutral-default-default"),children:r?.company_id?.name?.length&&r?.company_id?.name?.length>20?r?.company_id?.name?.slice(0,10)+"..":r?.company_id?.name}),d.jsx("p",{className:N("profile-options truncate font-bold mt-0",e?"text-primary-default-default":"text-neutral-default-default"),children:"·"}),d.jsx("p",{className:N("profile-options truncate text-xs mt-0",e?"text-primary-default-default":"text-neutral-default-default"),children:r?.area?.name||r?.company_id?.name||"Sin asignar"})]}):d.jsx("span",{className:"font-semibold leading-tight ml-3 text-xs text-blue-300 text-center",children:"Sin asignar"})})]})]}),i&&d.jsxs(d.Fragment,{children:[d.jsx("div",{className:"w-px bg-gray-500/30 my-1 border-separator-profile"}),d.jsx(I.motion.button,{onClick:t,className:`flex items-center justify-center p-3 rounded-r-md cursor-pointer relative overflow-hidden focus:outline-none min-w-[50px] \r
49
- hover:bg-neutral-medium-selected button-content-chevron`,whileHover:{scale:1.05},whileTap:{scale:.95},transition:{duration:.2,ease:"easeOut"},title:e?"Ocultar opciones":"Mostrar opciones","aria-label":e?"Ocultar opciones":"Mostrar opciones",children:d.jsx(I.motion.div,{animate:{rotate:e?180:0},transition:{duration:.3,ease:"easeOut"},className:"relative button-select-crevron",children:d.jsx(I.motion.div,{transition:{duration:.2},children:d.jsx(Ce.ChevronDown,{size:20,className:"text-prometeo-neutral "})})})})]})]}),d.jsx(I.AnimatePresence,{mode:"wait",children:e&&d.jsxs(I.motion.div,{initial:{height:0,opacity:0},animate:{height:"auto",opacity:1,transition:{height:{duration:.6,ease:"easeOut"},opacity:{duration:.4,delay:.2}}},exit:{height:0,opacity:0,transition:{height:{duration:.8,delay:.2,ease:"easeIn"},opacity:{duration:.3,delay:.1}}},className:"overflow-hidden",children:[d.jsx(I.motion.div,{className:"flex justify-center items-center w-full mt-4",exit:{opacity:0,scaleX:0,height:0,transition:{duration:.4,delay:.5,ease:"easeInOut"}},children:d.jsx("div",{className:"border-b border-neutral-strong-default border-1 w-full"})}),l&&l?.length>0&&d.jsxs(d.Fragment,{children:[d.jsx(I.motion.div,{className:"mt-4",exit:{opacity:0,y:-5,height:0,transition:{duration:.4,delay:.4,ease:"easeInOut"}},children:d.jsx("span",{className:"text-neutral-medium-default font-semibold text-xs",children:"Cambiar cuenta"})}),d.jsx(I.motion.div,{className:"mt-4 overflow-hidden",exit:{height:0,opacity:0,y:-10,scale:.98,transition:{height:{duration:.5,delay:.2},opacity:{duration:.3,delay:.3},y:{duration:.3,delay:.3},scale:{duration:.3,delay:.3},ease:"easeInOut"}},children:d.jsx(hs,{sessions:l,handleTokenLogin:o})}),d.jsx(I.motion.div,{className:"flex justify-center items-center w-full mt-4",exit:{opacity:0,scaleX:0,height:0,transition:{duration:.4,delay:.15,ease:"easeInOut"}},children:d.jsx("div",{className:"border-b border-neutral-strong-default border-1 w-full"})})]}),d.jsxs(I.motion.button,{onClick:s,className:"flex flex-1 h-12 w-full gap-1 rounded-md cursor-pointer mt-4 mb-4 px-2 items-center overflow-hidden focus:outline-none hover:bg-neutral-medium-selected button-profile",exit:{opacity:0,y:-8,scale:.96,transition:{duration:.5,delay:0,ease:"easeInOut"}},whileHover:{opacity:1,scale:[1,1.02,1],transition:{duration:.2}},whileTap:{scale:.98},children:[d.jsx(Ce.Logout,{size:24,className:"text-neutral-default-default"}),d.jsx("span",{className:"text-neutral-default-default font-semibold text-sm",children:"Cerrar sesión"})]})]})})]})};function hs({sessions:r,handleTokenLogin:e}){return d.jsx("div",{className:"profile-options-container",children:r?.map(t=>d.jsx("button",{onClick:()=>e?.(t.token),children:d.jsx(ds,{user:t},t._id)},t._id))})}const Sf=({sessionsShow:r,handleTokenLogin:e,onClickLogout:t,menuRef:n,onProfileClick:i})=>d.jsx("div",{ref:n,className:"flex bg-neutral-default-default gap-4 absolute bottom-10 left-30 border-1 border-neutral-strong-default h-72 w-60 rounded-md px-2",children:d.jsx(I.AnimatePresence,{mode:"wait",children:d.jsxs(I.motion.div,{initial:{height:0,opacity:0},animate:{height:"auto",opacity:1,transition:{height:{duration:.6,ease:"easeOut"},opacity:{duration:.4,delay:.2}}},exit:{height:0,opacity:0,transition:{height:{duration:.8,delay:.2,ease:"easeIn"},opacity:{duration:.3,delay:.1}}},className:"overflow-hidden flex flex-col justify-between items-center w-full",children:[d.jsxs(I.motion.button,{onClick:i,className:"flex h-12 w-full px-2 gap-1 rounded-md cursor-pointer mt-2 items-center overflow-hidden focus:outline-none hover:bg-neutral-medium-selected button-profile",exit:{opacity:0,y:-8,scale:.96,transition:{duration:.5,delay:0,ease:"easeInOut"}},whileHover:{opacity:1,scale:[1,1.02,1],transition:{duration:.2}},whileTap:{scale:.98},children:[d.jsx(Ce.UserPerson,{size:24,className:"text-neutral-default-default"}),d.jsx("span",{className:"text-neutral-default-default font-semibold text-sm",children:"Ver perfil"})]}),d.jsx(I.motion.div,{className:"flex justify-center items-center w-full mt-4",exit:{opacity:0,scaleX:0,height:0,transition:{duration:.4,delay:.5,ease:"easeInOut"}}}),r&&r?.length>0&&d.jsxs(d.Fragment,{children:[d.jsx(I.motion.div,{className:"mt-4",exit:{opacity:0,y:-5,height:0,transition:{duration:.4,delay:.4,ease:"easeInOut"}},children:d.jsx("span",{className:"text-neutral-medium-default font-semibold text-xs",children:"Cambiar cuenta"})}),d.jsx(I.motion.div,{className:"mt-4 overflow-hidden",exit:{height:0,opacity:0,y:-10,scale:.98,transition:{height:{duration:.5,delay:.2},opacity:{duration:.3,delay:.3},y:{duration:.3,delay:.3},scale:{duration:.3,delay:.3},ease:"easeInOut"}},children:d.jsx(hs,{sessions:r,handleTokenLogin:e})}),d.jsx(I.motion.div,{className:"flex justify-center items-center w-full mt-4",exit:{opacity:0,scaleX:0,height:0,transition:{duration:.4,delay:.15,ease:"easeInOut"}},children:d.jsx("div",{className:"border-b border-neutral-strong-default border-1 w-full"})})]}),d.jsxs(I.motion.button,{onClick:t,className:"flex h-12 w-full gap-1 rounded-md cursor-pointer mt-4 mb-4 px-2 items-center overflow-hidden focus:outline-none hover:bg-neutral-medium-selected button-profile",exit:{opacity:0,y:-8,scale:.96,transition:{duration:.5,delay:0,ease:"easeInOut"}},whileHover:{opacity:1,scale:[1,1.02,1],transition:{duration:.2}},whileTap:{scale:.98},children:[d.jsx(Ce.Logout,{size:24,className:"text-neutral-default-default"}),d.jsx("span",{className:"text-neutral-default-default font-semibold text-sm",children:"Cerrar sesión"})]})]})})});function Cf({currentPage:r=1,totalPages:e=0,onPageChange:t}){const n=a=>{a>=1&&a<=e&&a!==r&&t?.(a)},s=(()=>{const a=[];if(e>7)if(a.push(1),r<=4){for(let l=2;l<=5;l++)a.push(l);a.push("ellipsis"),a.push(e)}else if(r>=e-3){a.push("ellipsis");for(let l=e-4;l<=e;l++)a.push(l)}else{a.push("ellipsis");for(let l=r-1;l<=r+1;l++)a.push(l);a.push("ellipsis"),a.push(e)}else for(let l=1;l<=e;l++)a.push(l);return a})();return d.jsxs("div",{className:"flex items-center justify-center gap-2 p-4",children:[d.jsx(I.motion.button,{whileHover:{scale:1.05},whileTap:{scale:.95},onClick:()=>n(r-1),disabled:r===1,className:"px-4 py-2 text-blue-400 hover:text-blue-300 disabled:text-gray-600 disabled:cursor-not-allowed transition-colors",children:"Anterior"}),d.jsx("div",{className:"flex items-center gap-1",children:s.map((a,o)=>{if(a==="ellipsis")return d.jsx("span",{className:"px-3 py-2 text-gray-400",children:"..."},`ellipsis-${o}`);const l=a,u=l===r;return d.jsxs(I.motion.button,{whileHover:{scale:1.1},whileTap:{scale:.9},onClick:()=>n(l),className:`relative px-3 py-2 min-w-[40px] text-center transition-colors ${u?"text-white":"text-gray-400 hover:text-white"}`,children:[u&&d.jsx(I.motion.div,{layoutId:"activePage",className:"absolute inset-0 border-2 border-blue-500 rounded-md",initial:!1,transition:{type:"spring",stiffness:500,damping:30}}),d.jsx("span",{className:"relative z-10",children:l})]},l)})}),d.jsx(I.motion.button,{whileHover:{scale:1.05},whileTap:{scale:.95},onClick:()=>n(r+1),disabled:r===e,className:"px-4 py-2 text-blue-400 hover:text-blue-300 disabled:text-gray-600 disabled:cursor-not-allowed transition-colors",children:"Siguiente"})]})}const Ef=({label:r,onOptionClick:e,value:t=[],isFetching:n=!1,options:i,multiple:s=!0,onClear:a,onClose:o,className:l,id:u,emptyMessage:c="No hay opciones disponibles",optionValue:f,optionLabel:p,renderOption:m,renderSelection:_,containerClassName:h,buttonClassName:v,dropdownClassName:x,displayMode:y="compact",onRemoveOption:b})=>{const[w,g]=M.useState(!1),[j,S]=M.useState(!1),C=M.useRef(null),O=t&&t.length>0,k=i.filter(E=>t.includes(f(E))),$=()=>w||O||j?"-top-2 left-2 scale-90":"top-1/2 -translate-y-1/2 scale-100";M.useEffect(()=>{const E=q=>{C.current&&!C.current.contains(q.target)&&g(!1)};return w&&document.addEventListener("mousedown",E),()=>{document.removeEventListener("mousedown",E)}},[w]);const D=()=>{g(!w)},F=E=>{const q=f(E);e(q,E),!s&&o&&o()},Y=E=>{E.stopPropagation(),S(!1),E.target.blur(),a?.()},U=(E,q)=>{q?.stopPropagation();const B=f(E);b?.(B)},Z=({option:E,onRemove:q})=>d.jsxs("div",{className:"inline-flex items-center gap-1 px-2 py-1 bg-primary-default-default text-white text-xs rounded-md",children:[d.jsx("span",{className:"truncate max-w-20",children:p(E)}),d.jsx("button",{onClick:B=>q(E,B),className:"flex-shrink-0 hover:bg-primary-strong-default rounded-sm p-0.5 transition-colors",type:"button",tabIndex:-1,children:d.jsx(Ce.Close,{size:12,className:""})})]}),W=({option:E,isSelected:q,onSelect:B,isMultiple:re})=>d.jsxs("div",{onClick:B,className:N("px-3 py-2 cursor-pointer flex items-center transition-colors",q?"bg-primary-default-default text-white":"hover:bg-neutral-medium-selected text-neutral-default-default"),children:[re&&d.jsx("input",{type:"checkbox",checked:q,onChange:()=>{},className:"mr-2 pointer-events-none"}),d.jsx("span",{children:p(E)})]}),ie=({selectedOptions:E})=>E.length===0?null:y==="chips"&&s?d.jsx("div",{className:"flex items-center gap-1 flex-wrap py-1",children:E.map(q=>d.jsx(Z,{option:q,onRemove:U},f(q)))}):E.length===1?d.jsx("span",{children:p(E[0])}):d.jsxs("span",{children:[E.length," seleccionados"]}),de=m||W,T=_||ie;return d.jsx("div",{className:N("relative",h),ref:C,children:d.jsxs("div",{className:N("relative",l),children:[d.jsxs("button",{id:u,type:"button",onClick:D,onFocus:()=>S(!0),onBlur:()=>S(!1),className:N("w-full px-3 text-left border-1 rounded-lg transition-all duration-200 ease-in-out","flex items-center justify-between bg-transparent","focus:outline-none",y==="chips"&&s&&O?"min-h-12 py-2":"h-12",w||j?"border-primary-default-default border-2":"border-neutral-default-default hover:border-neutral-strong-default",v),children:[d.jsx("label",{htmlFor:u,className:N("absolute left-3 transition-all duration-200 ease-in-out pointer-events-none bg-inherit px-1 z-10","text-sm",$(),O||w||j?"text-primary-default-default":"text-neutral-medium-default"),children:r}),d.jsx("div",{className:"flex-1 min-w-0",children:d.jsx(T,{selectedOptions:k})}),d.jsxs("div",{className:"flex items-center gap-2 ml-2",children:[n&&d.jsx(zr,{size:"small"}),O&&a&&d.jsx("button",{onClick:Y,className:"text-neutral-medium-default hover:text-neutral-default-default transition-colors",type:"button",tabIndex:-1,children:d.jsx(Ce.Close,{size:16,className:""})}),d.jsx(Ce.ChevronDown,{size:20,className:N("transition-transform text-neutral-default-default",w?"rotate-180":"")})]})]}),w&&d.jsx("div",{className:N("absolute z-50 w-full mt-1 bg-white border border-neutral-default-default rounded-md shadow-lg","max-h-60 overflow-auto",x),children:i.length===0?d.jsx("div",{className:"px-3 py-2 text-neutral-medium-default",children:c}):i.map(E=>{const q=f(E),B=t.includes(q);return d.jsx(de,{option:E,isSelected:B,onSelect:()=>F(E),isMultiple:s},q)})})]})})},Pf=M.memo(Ef),qf=({children:r})=>d.jsxs("div",{className:"flex h-screen w-full",children:[r,d.jsx("main",{className:"w-full h-full overflow-y-auto",children:d.jsx(Ra.Outlet,{})})]}),ps=M.createContext(void 0),un=()=>{const r=M.useContext(ps);if(!r)throw new Error("useSidebar must be used within a Sidebar.Root");return r};function ze(r){if(r===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r}function ms(r,e){r.prototype=Object.create(e.prototype),r.prototype.constructor=r,r.__proto__=e}/*!
34
+ 100% {transform: translateY(0)}`,"sync");function es(i){var e=i.loading,t=e===void 0?!0:e,r=i.color,n=r===void 0?"#000000":r,s=i.speedMultiplier,a=s===void 0?1:s,o=i.cssOverride,l=o===void 0?{}:o,u=i.size,c=u===void 0?15:u,h=i.margin,p=h===void 0?2:h,m=Qi(i,["loading","color","speedMultiplier","cssOverride","size","margin"]),_=Zt({display:"inherit"},l),f=function(g){return{backgroundColor:n,width:te(c),height:te(c),margin:te(p),borderRadius:"100%",display:"inline-block",animation:"".concat(Ki," ").concat(.6/a,"s ").concat(g*.07,"s infinite ease-in-out"),animationFillMode:"both"}};return t?Y.createElement("span",Zt({style:_},m),Y.createElement("span",{style:f(1)}),Y.createElement("span",{style:f(2)}),Y.createElement("span",{style:f(3)})):null}const nr=({variant:i="sync",color:e="#3B82F6",loading:t=!0,size:r="medium",className:n="",speedMultiplier:s=1})=>{const o=(()=>{if(typeof r=="number")return r;switch(r){case"small":return 20;case"medium":return 35;case"large":return 50;default:return 35}})(),l={color:e,loading:t,size:o,speedMultiplier:s,"aria-label":"Loading Spinner","data-testid":"spinner"},u=P("inline-block",n),c=()=>{switch(i){case"bounce":return d.jsx(Ii,{...l});case"dot":return d.jsx(Yi,{...l});case"grid":return d.jsx(Xi,{...l,size:o*.4});case"hash":return d.jsx(Ji,{...l});case"sync":return d.jsx(es,{...l,size:o*.4});case"clip":default:return d.jsx(Bi,{...l})}};return d.jsx("div",{className:u,children:c()})},zt={default:{container:"",input:P("border-neutral-default-default text-neutral-default-default","focus:border-primary-default-default focus:border-2","hover:border-neutral-strong-default"),label:P("text-neutral-medium-default","peer-focus:text-primary-default-default"),icon:P("text-neutral-medium-default","peer-focus:text-primary-default-default")},error:{container:"",input:P("border-error-default-default text-neutral-default-default","focus:border-error-default focus:border-2","focus:ring-0 focus:ring-error-default/20"),label:P("text-error-light","peer-focus:text-error-light"),icon:P("text-error-light","peer-focus:text-error-light")},success:{container:"",input:P("border-success-default-default text-neutral-default-default","focus:border-success-default focus:border-2","focus:ring-0 focus:ring-success-default/20"),label:P("text-success","peer-focus:text-success-light"),icon:P("text-success-light","peer-focus:text-success-light")}},vt={small:{container:"text-sm",input:"h-10 px-3 text-sm",label:"text-xs peer-focus:text-xs peer-placeholder-shown:text-sm",icon:"w-4 h-4 right-3"},medium:{container:"text-base",input:"h-12 px-3 text-base",label:"text-sm peer-focus:text-sm peer-placeholder-shown:text-base",icon:"w-5 h-5 right-3"},large:{container:"text-lg",input:"h-14 px-3 text-lg",label:"text-sm peer-focus:text-sm peer-placeholder-shown:text-lg",icon:"w-6 h-6 right-3"}},ts=({label:i,icon:e,onChange:t,value:r="",debounceMs:n=0,name:s,width:a="100%",height:o,variant:l="default",size:u="medium",disabled:c=!1,type:h="text",isFetching:p,errorMessage:m,helperText:_,required:f=!1,onFocus:g,onBlur:x})=>{const[v,b]=L.useState(r),[T]=Ti.useDebounce(v,n),[y,O]=L.useState(!1),[q,C]=L.useState(!1);L.useEffect(()=>{n&&T!==r&&t(T)},[T,n,t,r]),L.useEffect(()=>{b(r)},[r]);const j=()=>{O(!0),g?.()},N=()=>{O(!1),x?.()},F=ce=>{const w=ce.target.value;b(w),n||t(w)},D=()=>{C(!q)},R={};a&&a!=="100%"&&(R.width=a),o&&(R.height=o);const H=v.length>0,V=l==="error"&&m,z=!V&&_,U=()=>y||H?"-top-2 left-2 scale-90":"top-1/2 -translate-y-1/2 scale-100",ne=()=>o?{height:o}:{};return d.jsxs("div",{className:P("relative",vt[u].container,!a&&"w-full","bg-inherit"),style:R,children:[d.jsx("input",{id:s,name:s,type:h==="password"&&q?"text":h,value:v,className:P("peer w-full border-1 rounded-lg bg-transparent appearance-none transition-all duration-200 ease-in-out","placeholder:text-transparent focus:outline-none px-3",!o&&vt[u].input,o&&`px-3 ${vt[u].input.split(" ").filter(ce=>ce.startsWith("text-")).join(" ")}`,zt[l].input,e&&"pr-10",c&&"bg-neutral-weak-default cursor-not-allowed opacity-60",zt[l].container),style:ne(),onChange:F,onFocus:j,onBlur:N,disabled:c,required:f}),d.jsx("label",{htmlFor:s,className:P("absolute left-3 transition-all duration-200 ease-in-out pointer-events-none bg-inherit px-1 z-10",!o&&vt[u].label,o&&"text-sm",zt[l].label,U(),f&&"after:content-['*'] after:text-error-default after:ml-1"),children:i}),(e||h==="password"||p)&&d.jsx("div",{className:P("absolute top-1/2 -translate-y-1/2 flex items-center justify-center z-10",!o&&vt[u].icon,o&&"w-5 h-5 right-3",zt[l].icon,h==="password"&&!p?"cursor-pointer":"pointer-events-none"),onClick:h==="password"&&!p?D:void 0,onMouseDown:ce=>h==="password"&&!p&&ce.preventDefault(),children:d.jsx(M.motion.div,{animate:y?{y:[-2,0],rotate:[0,-10,10,-10,10,0]}:{},transition:{duration:.6,ease:"easeInOut"},children:p&&h!=="password"?d.jsx("div",{className:"animate-spin",children:d.jsx(nr,{size:24,color:"#7c86ff",loading:!0})}):h==="password"?q?d.jsx(we.EyeVisibility,{size:24,className:""}):d.jsx(we.EyeVisibilityOff,{size:24,className:""}):e})}),V&&d.jsx("p",{className:"mt-1 text-xs text-error-default",children:m}),z&&d.jsx("p",{className:"mt-1 text-xs text-neutral-medium-default",children:_})]})},rs=L.memo(ts),ns=({icon:i,label:e,className:t,containerClassName:r,id:n,type:s="text",...a})=>{const[o,l]=Gr.useField(a),[u,c]=L.useState(!1),h=l.touched&&l.error,p=o.value&&o.value.toString().length>0,m=()=>u||p?"-top-3 left-2 scale-90":"top-1/2 -translate-y-1/2 scale-100";return d.jsxs("div",{className:P("relative w-full bg-inherit",r),children:[d.jsxs("div",{className:"relative bg-inherit",children:[d.jsx("input",{id:n||a.name,type:s,name:o.name,value:o.value||"",onChange:o.onChange,onFocus:()=>{c(!0),a.onFocus?.()},onBlur:_=>{c(!1),a.onBlur?.(),o.onBlur(_)},className:P("w-full px-3 h-12 text-left border-1 rounded-lg transition-all duration-200 ease-in-out text-neutral-default-default","bg-transparent focus:outline-none",u?"border-primary-default-default border-2":h?"border-error-default-default":"border-neutral-default-default hover:border-neutral-strong-default",i?"pl-10":"",t)}),d.jsx("label",{htmlFor:n||a.name,className:P("absolute transition-all duration-200 ease-in-out pointer-events-none bg-inherit px-1 z-10","text-md",m(),p||u?"text-primary-default-default":h?"text-red-500":"text-neutral-medium-default",i?"left-10":"left-3"),children:e}),i&&d.jsx("div",{className:"absolute left-3 top-1/2 -translate-y-1/2 text-neutral-medium-default",children:i})]}),h&&d.jsx(Gr.ErrorMessage,{name:a.name,component:"span",className:"block text-error-default-default text-xs mt-1"})]})};function is({profileImage:i,size:e,sizeImage:t=5.5}){const[r,n]=L.useState(!1);return d.jsx(d.Fragment,{children:i&&!r?d.jsx("img",{onError:()=>{n(!0)},src:i,className:`w-${t} h-${t} rounded-full`}):d.jsx(Xr,{size:e,name:i,variant:"beam",colors:["#92A1C6","#146A7C","#F0AB3D","#C271B4","#C20D90"]})})}const en=({user:i,isExpanded:e,onClick:t,onProfileClick:r,showOptions:n=!1,onClickLogout:s,sessions:a,handleTokenLogin:o})=>{const l=a?.filter(u=>u.email!==i?.email);return d.jsxs(d.Fragment,{children:[d.jsxs("div",{className:"profile-container flex my-2 rounded-md text-white-prometeo overflow-hidden flex-shrink-0 ",children:[d.jsxs(M.motion.button,{onClick:r,className:P("flex flex-1 gap-1 rounded-l-md cursor-pointer justify-center relative overflow-hidden focus:outline-none hover:bg-neutral-medium-selected button-profile",e&&"bg-neutral-medium-selected"),whileHover:{opacity:1,scale:[1,1.02,1]},whileTap:{scale:.98},transition:{duration:.2,ease:"easeInOut"},children:[d.jsx("div",{className:"profile-image-wrapper flex-shrink-0 h-10 w-10 flex items-center justify-center relative z-10",children:d.jsx(is,{profileImage:i?.profileImage||"",size:36})}),d.jsxs("div",{className:"flex flex-col justify-center overflow-hidden flex-1 relative z-10 profile-user-info mr-2",children:[d.jsx("p",{className:P("profile-name font-semibold leading-tight mb-0 text-left",e?"text-primary-default-default":"text-neutral-default-default"),children:i?.name?.length&&i?.name?.length>20?i?.name?.slice(0,10)+"..":i?.name}),d.jsx("div",{className:"flex items-center gap-1 mt-1 ",children:i&&i.company_id?d.jsxs(d.Fragment,{children:[d.jsx("p",{className:P("profile-options truncate text-xs mt-0",e?"text-primary-default-default":"text-neutral-default-default"),children:i?.company_id?.name?.length&&i?.company_id?.name?.length>20?i?.company_id?.name?.slice(0,10)+"..":i?.company_id?.name}),d.jsx("p",{className:P("profile-options truncate font-bold mt-0",e?"text-primary-default-default":"text-neutral-default-default"),children:"·"}),d.jsx("p",{className:P("profile-options truncate text-xs mt-0",e?"text-primary-default-default":"text-neutral-default-default"),children:i?.area?.name||i?.company_id?.name||"Sin asignar"})]}):d.jsx("span",{className:"font-semibold leading-tight ml-3 text-xs text-blue-300 text-center",children:"Sin asignar"})})]})]}),n&&d.jsxs(d.Fragment,{children:[d.jsx("div",{className:"w-px bg-gray-500/30 my-1 border-separator-profile"}),d.jsx(M.motion.button,{onClick:t,className:`flex items-center justify-center p-3 rounded-r-md cursor-pointer relative overflow-hidden focus:outline-none min-w-[50px] \r
35
+ hover:bg-neutral-medium-selected button-content-chevron`,whileHover:{scale:1.05},whileTap:{scale:.95},transition:{duration:.2,ease:"easeOut"},title:e?"Ocultar opciones":"Mostrar opciones","aria-label":e?"Ocultar opciones":"Mostrar opciones",children:d.jsx(M.motion.div,{animate:{rotate:e?180:0},transition:{duration:.3,ease:"easeOut"},className:"relative button-select-crevron",children:d.jsx(M.motion.div,{transition:{duration:.2},children:d.jsx(we.ChevronDown,{size:20,className:"text-prometeo-neutral "})})})})]})]}),d.jsx(M.AnimatePresence,{mode:"wait",children:e&&d.jsxs(M.motion.div,{initial:{height:0,opacity:0},animate:{height:"auto",opacity:1,transition:{height:{duration:.6,ease:"easeOut"},opacity:{duration:.4,delay:.2}}},exit:{height:0,opacity:0,transition:{height:{duration:.8,delay:.2,ease:"easeIn"},opacity:{duration:.3,delay:.1}}},className:"overflow-hidden",children:[d.jsx(M.motion.div,{className:"flex justify-center items-center w-full mt-4",exit:{opacity:0,scaleX:0,height:0,transition:{duration:.4,delay:.5,ease:"easeInOut"}},children:d.jsx("div",{className:"border-b border-neutral-strong-default border-1 w-full"})}),l&&l?.length>0&&d.jsxs(d.Fragment,{children:[d.jsx(M.motion.div,{className:"mt-4",exit:{opacity:0,y:-5,height:0,transition:{duration:.4,delay:.4,ease:"easeInOut"}},children:d.jsx("span",{className:"text-neutral-medium-default font-semibold text-xs",children:"Cambiar cuenta"})}),d.jsx(M.motion.div,{className:"mt-4 overflow-hidden",exit:{height:0,opacity:0,y:-10,scale:.98,transition:{height:{duration:.5,delay:.2},opacity:{duration:.3,delay:.3},y:{duration:.3,delay:.3},scale:{duration:.3,delay:.3},ease:"easeInOut"}},children:d.jsx(tn,{sessions:l,handleTokenLogin:o})}),d.jsx(M.motion.div,{className:"flex justify-center items-center w-full mt-4",exit:{opacity:0,scaleX:0,height:0,transition:{duration:.4,delay:.15,ease:"easeInOut"}},children:d.jsx("div",{className:"border-b border-neutral-strong-default border-1 w-full"})})]}),d.jsxs(M.motion.button,{onClick:s,className:"flex flex-1 h-12 w-full gap-1 rounded-md cursor-pointer mt-4 mb-4 px-2 items-center overflow-hidden focus:outline-none hover:bg-neutral-medium-selected button-profile",exit:{opacity:0,y:-8,scale:.96,transition:{duration:.5,delay:0,ease:"easeInOut"}},whileHover:{opacity:1,scale:[1,1.02,1],transition:{duration:.2}},whileTap:{scale:.98},children:[d.jsx(we.Logout,{size:24,className:"text-neutral-default-default"}),d.jsx("span",{className:"text-neutral-default-default font-semibold text-sm",children:"Cerrar sesión"})]})]})})]})};function tn({sessions:i,handleTokenLogin:e}){return d.jsx("div",{className:"profile-options-container",children:i?.map(t=>d.jsx("button",{onClick:()=>e?.(t.token),children:d.jsx(en,{user:t},t._id)},t._id))})}const ss=({sessionsShow:i,handleTokenLogin:e,onClickLogout:t,menuRef:r,onProfileClick:n})=>d.jsx("div",{ref:r,className:"flex bg-neutral-default-default gap-4 absolute bottom-10 left-30 border-1 border-neutral-strong-default h-72 w-60 rounded-md px-2",children:d.jsx(M.AnimatePresence,{mode:"wait",children:d.jsxs(M.motion.div,{initial:{height:0,opacity:0},animate:{height:"auto",opacity:1,transition:{height:{duration:.6,ease:"easeOut"},opacity:{duration:.4,delay:.2}}},exit:{height:0,opacity:0,transition:{height:{duration:.8,delay:.2,ease:"easeIn"},opacity:{duration:.3,delay:.1}}},className:"overflow-hidden flex flex-col justify-between items-center w-full",children:[d.jsxs(M.motion.button,{onClick:n,className:"flex h-12 w-full px-2 gap-1 rounded-md cursor-pointer mt-2 items-center overflow-hidden focus:outline-none hover:bg-neutral-medium-selected button-profile",exit:{opacity:0,y:-8,scale:.96,transition:{duration:.5,delay:0,ease:"easeInOut"}},whileHover:{opacity:1,scale:[1,1.02,1],transition:{duration:.2}},whileTap:{scale:.98},children:[d.jsx(we.UserPerson,{size:24,className:"text-neutral-default-default"}),d.jsx("span",{className:"text-neutral-default-default font-semibold text-sm",children:"Ver perfil"})]}),d.jsx(M.motion.div,{className:"flex justify-center items-center w-full mt-4",exit:{opacity:0,scaleX:0,height:0,transition:{duration:.4,delay:.5,ease:"easeInOut"}}}),i&&i?.length>0&&d.jsxs(d.Fragment,{children:[d.jsx(M.motion.div,{className:"mt-4",exit:{opacity:0,y:-5,height:0,transition:{duration:.4,delay:.4,ease:"easeInOut"}},children:d.jsx("span",{className:"text-neutral-medium-default font-semibold text-xs",children:"Cambiar cuenta"})}),d.jsx(M.motion.div,{className:"mt-4 overflow-hidden",exit:{height:0,opacity:0,y:-10,scale:.98,transition:{height:{duration:.5,delay:.2},opacity:{duration:.3,delay:.3},y:{duration:.3,delay:.3},scale:{duration:.3,delay:.3},ease:"easeInOut"}},children:d.jsx(tn,{sessions:i,handleTokenLogin:e})}),d.jsx(M.motion.div,{className:"flex justify-center items-center w-full mt-4",exit:{opacity:0,scaleX:0,height:0,transition:{duration:.4,delay:.15,ease:"easeInOut"}},children:d.jsx("div",{className:"border-b border-neutral-strong-default border-1 w-full"})})]}),d.jsxs(M.motion.button,{onClick:t,className:"flex h-12 w-full gap-1 rounded-md cursor-pointer mt-4 mb-4 px-2 items-center overflow-hidden focus:outline-none hover:bg-neutral-medium-selected button-profile",exit:{opacity:0,y:-8,scale:.96,transition:{duration:.5,delay:0,ease:"easeInOut"}},whileHover:{opacity:1,scale:[1,1.02,1],transition:{duration:.2}},whileTap:{scale:.98},children:[d.jsx(we.Logout,{size:24,className:"text-neutral-default-default"}),d.jsx("span",{className:"text-neutral-default-default font-semibold text-sm",children:"Cerrar sesión"})]})]})})});function as({currentPage:i=1,totalPages:e=0,onPageChange:t}){const r=a=>{a>=1&&a<=e&&a!==i&&t?.(a)},s=(()=>{const a=[];if(e>7)if(a.push(1),i<=4){for(let l=2;l<=5;l++)a.push(l);a.push("ellipsis"),a.push(e)}else if(i>=e-3){a.push("ellipsis");for(let l=e-4;l<=e;l++)a.push(l)}else{a.push("ellipsis");for(let l=i-1;l<=i+1;l++)a.push(l);a.push("ellipsis"),a.push(e)}else for(let l=1;l<=e;l++)a.push(l);return a})();return d.jsxs("div",{className:"flex items-center justify-center gap-2 p-4",children:[d.jsx(M.motion.button,{whileHover:{scale:1.05},whileTap:{scale:.95},onClick:()=>r(i-1),disabled:i===1,className:"px-4 py-2 text-blue-400 hover:text-blue-300 disabled:text-gray-600 disabled:cursor-not-allowed transition-colors",children:"Anterior"}),d.jsx("div",{className:"flex items-center gap-1",children:s.map((a,o)=>{if(a==="ellipsis")return d.jsx("span",{className:"px-3 py-2 text-gray-400",children:"..."},`ellipsis-${o}`);const l=a,u=l===i;return d.jsxs(M.motion.button,{whileHover:{scale:1.1},whileTap:{scale:.9},onClick:()=>r(l),className:`relative px-3 py-2 min-w-[40px] text-center transition-colors ${u?"text-white":"text-gray-400 hover:text-white"}`,children:[u&&d.jsx(M.motion.div,{layoutId:"activePage",className:"absolute inset-0 border-2 border-blue-500 rounded-md",initial:!1,transition:{type:"spring",stiffness:500,damping:30}}),d.jsx("span",{className:"relative z-10",children:l})]},l)})}),d.jsx(M.motion.button,{whileHover:{scale:1.05},whileTap:{scale:.95},onClick:()=>r(i+1),disabled:i===e,className:"px-4 py-2 text-blue-400 hover:text-blue-300 disabled:text-gray-600 disabled:cursor-not-allowed transition-colors",children:"Siguiente"})]})}const os=({label:i,onOptionClick:e,value:t=[],isFetching:r=!1,options:n,multiple:s=!0,onClear:a,onClose:o,className:l,id:u,emptyMessage:c="No hay opciones disponibles",optionValue:h,optionLabel:p,renderOption:m,renderSelection:_,containerClassName:f,buttonClassName:g,dropdownClassName:x,displayMode:v="compact",onRemoveOption:b})=>{const[T,y]=L.useState(!1),[O,q]=L.useState(!1),C=L.useRef(null),j=t&&t.length>0,N=n.filter(S=>t.includes(h(S))),F=()=>T||j||O?"-top-2 left-2 scale-90":"top-1/2 -translate-y-1/2 scale-100";L.useEffect(()=>{const S=k=>{C.current&&!C.current.contains(k.target)&&y(!1)};return T&&document.addEventListener("mousedown",S),()=>{document.removeEventListener("mousedown",S)}},[T]);const D=()=>{y(!T)},R=S=>{const k=h(S);e(k,S),!s&&o&&o()},H=S=>{S.stopPropagation(),q(!1),S.target.blur(),a?.()},V=(S,k)=>{k?.stopPropagation();const B=h(S);b?.(B)},z=({option:S,onRemove:k})=>d.jsxs("div",{className:"inline-flex items-center gap-1 px-2 py-1 bg-primary-default-default text-white text-xs rounded-md",children:[d.jsx("span",{className:"truncate max-w-20",children:p(S)}),d.jsx("button",{onClick:B=>k(S,B),className:"flex-shrink-0 hover:bg-primary-strong-default rounded-sm p-0.5 transition-colors",type:"button",tabIndex:-1,children:d.jsx(we.Close,{size:12,className:""})})]}),U=({option:S,isSelected:k,onSelect:B,isMultiple:ee})=>d.jsxs("div",{onClick:B,className:P("px-3 py-2 cursor-pointer flex items-center transition-colors",k?"bg-primary-default-default text-white":"hover:bg-neutral-medium-selected text-neutral-default-default"),children:[ee&&d.jsx("input",{type:"checkbox",checked:k,onChange:()=>{},className:"mr-2 pointer-events-none"}),d.jsx("span",{children:p(S)})]}),ne=({selectedOptions:S})=>S.length===0?null:v==="chips"&&s?d.jsx("div",{className:"flex items-center gap-1 flex-wrap py-1",children:S.map(k=>d.jsx(z,{option:k,onRemove:V},h(k)))}):S.length===1?d.jsx("span",{children:p(S[0])}):d.jsxs("span",{children:[S.length," seleccionados"]}),ce=m||U,w=_||ne;return d.jsx("div",{className:P("relative",f),ref:C,children:d.jsxs("div",{className:P("relative",l),children:[d.jsxs("button",{id:u,type:"button",onClick:D,onFocus:()=>q(!0),onBlur:()=>q(!1),className:P("w-full px-3 text-left border-1 rounded-lg transition-all duration-200 ease-in-out","flex items-center justify-between bg-transparent","focus:outline-none",v==="chips"&&s&&j?"min-h-12 py-2":"h-12",T||O?"border-primary-default-default border-2":"border-neutral-default-default hover:border-neutral-strong-default",g),children:[d.jsx("label",{htmlFor:u,className:P("absolute left-3 transition-all duration-200 ease-in-out pointer-events-none bg-inherit px-1 z-10","text-sm",F(),j||T||O?"text-primary-default-default":"text-neutral-medium-default"),children:i}),d.jsx("div",{className:"flex-1 min-w-0",children:d.jsx(w,{selectedOptions:N})}),d.jsxs("div",{className:"flex items-center gap-2 ml-2",children:[r&&d.jsx(nr,{size:"small"}),j&&a&&d.jsx("button",{onClick:H,className:"text-neutral-medium-default hover:text-neutral-default-default transition-colors",type:"button",tabIndex:-1,children:d.jsx(we.Close,{size:16,className:""})}),d.jsx(we.ChevronDown,{size:20,className:P("transition-transform text-neutral-default-default",T?"rotate-180":"")})]})]}),T&&d.jsx("div",{className:P("absolute z-50 w-full mt-1 bg-white border border-neutral-default-default rounded-md shadow-lg","max-h-60 overflow-auto",x),children:n.length===0?d.jsx("div",{className:"px-3 py-2 text-neutral-medium-default",children:c}):n.map(S=>{const k=h(S),B=t.includes(k);return d.jsx(ce,{option:S,isSelected:B,onSelect:()=>R(S),isMultiple:s},k)})})]})})},ls=L.memo(os),us=({children:i})=>d.jsxs("div",{className:"flex h-screen w-full",children:[i,d.jsx("main",{className:"w-full h-full overflow-y-auto",children:d.jsx(ji.Outlet,{})})]}),rn=L.createContext(void 0),ir=()=>{const i=L.useContext(rn);if(!i)throw new Error("useSidebar must be used within a Sidebar.Root");return i};function Ee(i){if(i===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return i}function nn(i,e){i.prototype=Object.create(e.prototype),i.prototype.constructor=i,i.__proto__=e}/*!
50
36
  * GSAP 3.13.0
51
37
  * https://gsap.com
52
38
  *
53
39
  * @license Copyright 2008-2025, GreenSock. All rights reserved.
54
40
  * Subject to the terms at https://gsap.com/standard-license
55
41
  * @author: Jack Doyle, jack@greensock.com
56
- */var be={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},Tt={duration:.5,overwrite:!1,delay:0},cn,fe,J,Pe=1e8,V=1/Pe,fn=Math.PI*2,Af=fn/4,Nf=0,_s=Math.sqrt,Mf=Math.cos,kf=Math.sin,ue=function(e){return typeof e=="string"},te=function(e){return typeof e=="function"},Ze=function(e){return typeof e=="number"},dn=function(e){return typeof e>"u"},ke=function(e){return typeof e=="object"},_e=function(e){return e!==!1},hn=function(){return typeof window<"u"},Or=function(e){return te(e)||ue(e)},gs=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},he=Array.isArray,pn=/(?:-?\.?\d|\.)+/gi,vs=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,jt=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,mn=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,ys=/[+-]=-?[.\d]+/,xs=/[^,'"\[\]\s]+/gi,Ff=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,Q,Fe,_n,gn,we={},Sr={},bs,ws=function(e){return(Sr=St(e,we))&&ye},vn=function(e,t){return console.warn("Invalid property",e,"set to",t,"Missing plugin? gsap.registerPlugin()")},Yt=function(e,t){return!t&&console.warn(e)},Ts=function(e,t){return e&&(we[e]=t)&&Sr&&(Sr[e]=t)||we},Wt=function(){return 0},Rf={suppressEvents:!0,isStart:!0,kill:!1},Cr={suppressEvents:!0,kill:!1},Df={suppressEvents:!0},yn={},Ge=[],xn={},js,Te={},bn={},Os=30,Er=[],wn="",Tn=function(e){var t=e[0],n,i;if(ke(t)||te(t)||(e=[e]),!(n=(t._gsap||{}).harness)){for(i=Er.length;i--&&!Er[i].targetTest(t););n=Er[i]}for(i=e.length;i--;)e[i]&&(e[i]._gsap||(e[i]._gsap=new ea(e[i],n)))||e.splice(i,1);return e},ut=function(e){return e._gsap||Tn(Ae(e))[0]._gsap},Ss=function(e,t,n){return(n=e[t])&&te(n)?e[t]():dn(n)&&e.getAttribute&&e.getAttribute(t)||n},ge=function(e,t){return(e=e.split(",")).forEach(t)||e},ne=function(e){return Math.round(e*1e5)/1e5||0},se=function(e){return Math.round(e*1e7)/1e7||0},Ot=function(e,t){var n=t.charAt(0),i=parseFloat(t.substr(2));return e=parseFloat(e),n==="+"?e+i:n==="-"?e-i:n==="*"?e*i:e/i},If=function(e,t){for(var n=t.length,i=0;e.indexOf(t[i])<0&&++i<n;);return i<n},Pr=function(){var e=Ge.length,t=Ge.slice(0),n,i;for(xn={},Ge.length=0,n=0;n<e;n++)i=t[n],i&&i._lazy&&(i.render(i._lazy[0],i._lazy[1],!0)._lazy=0)},jn=function(e){return!!(e._initted||e._startAt||e.add)},Cs=function(e,t,n,i){Ge.length&&!fe&&Pr(),e.render(t,n,!!(fe&&t<0&&jn(e))),Ge.length&&!fe&&Pr()},Es=function(e){var t=parseFloat(e);return(t||t===0)&&(e+"").match(xs).length<2?t:ue(e)?e.trim():e},Ps=function(e){return e},je=function(e,t){for(var n in t)n in e||(e[n]=t[n]);return e},$f=function(e){return function(t,n){for(var i in n)i in t||i==="duration"&&e||i==="ease"||(t[i]=n[i])}},St=function(e,t){for(var n in t)e[n]=t[n];return e},qs=function r(e,t){for(var n in t)n!=="__proto__"&&n!=="constructor"&&n!=="prototype"&&(e[n]=ke(t[n])?r(e[n]||(e[n]={}),t[n]):t[n]);return e},qr=function(e,t){var n={},i;for(i in e)i in t||(n[i]=e[i]);return n},Gt=function(e){var t=e.parent||Q,n=e.keyframes?$f(he(e.keyframes)):je;if(_e(e.inherit))for(;t;)n(e,t.vars.defaults),t=t.parent||t._dp;return e},Lf=function(e,t){for(var n=e.length,i=n===t.length;i&&n--&&e[n]===t[n];);return n<0},As=function(e,t,n,i,s){var a=e[i],o;if(s)for(o=t[s];a&&a[s]>o;)a=a._prev;return a?(t._next=a._next,a._next=t):(t._next=e[n],e[n]=t),t._next?t._next._prev=t:e[i]=t,t._prev=a,t.parent=t._dp=e,t},Ar=function(e,t,n,i){n===void 0&&(n="_first"),i===void 0&&(i="_last");var s=t._prev,a=t._next;s?s._next=a:e[n]===t&&(e[n]=a),a?a._prev=s:e[i]===t&&(e[i]=s),t._next=t._prev=t.parent=null},Xe=function(e,t){e.parent&&(!t||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},ct=function(e,t){if(e&&(!t||t._end>e._dur||t._start<0))for(var n=e;n;)n._dirty=1,n=n.parent;return e},zf=function(e){for(var t=e.parent;t&&t.parent;)t._dirty=1,t.totalDuration(),t=t.parent;return e},On=function(e,t,n,i){return e._startAt&&(fe?e._startAt.revert(Cr):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(t,!0,i))},Zf=function r(e){return!e||e._ts&&r(e.parent)},Ns=function(e){return e._repeat?Ct(e._tTime,e=e.duration()+e._rDelay)*e:0},Ct=function(e,t){var n=Math.floor(e=se(e/t));return e&&n===e?n-1:n},Nr=function(e,t){return(e-t._start)*t._ts+(t._ts>=0?0:t._dirty?t.totalDuration():t._tDur)},Mr=function(e){return e._end=se(e._start+(e._tDur/Math.abs(e._ts||e._rts||V)||0))},kr=function(e,t){var n=e._dp;return n&&n.smoothChildTiming&&e._ts&&(e._start=se(n._time-(e._ts>0?t/e._ts:((e._dirty?e.totalDuration():e._tDur)-t)/-e._ts)),Mr(e),n._dirty||ct(n,e)),e},Ms=function(e,t){var n;if((t._time||!t._dur&&t._initted||t._start<e._time&&(t._dur||!t.add))&&(n=Nr(e.rawTime(),t),(!t._dur||Kt(0,t.totalDuration(),n)-t._tTime>V)&&t.render(n,!0)),ct(e,t)._dp&&e._initted&&e._time>=e._dur&&e._ts){if(e._dur<e.duration())for(n=e;n._dp;)n.rawTime()>=0&&n.totalTime(n._tTime),n=n._dp;e._zTime=-V}},Re=function(e,t,n,i){return t.parent&&Xe(t),t._start=se((Ze(n)?n:n||e!==Q?qe(e,n,t):e._time)+t._delay),t._end=se(t._start+(t.totalDuration()/Math.abs(t.timeScale())||0)),As(e,t,"_first","_last",e._sort?"_start":0),Sn(t)||(e._recent=t),i||Ms(e,t),e._ts<0&&kr(e,e._tTime),e},ks=function(e,t){return(we.ScrollTrigger||vn("scrollTrigger",t))&&we.ScrollTrigger.create(t,e)},Fs=function(e,t,n,i,s){if(Fn(e,t,s),!e._initted)return 1;if(!n&&e._pt&&!fe&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&js!==Se.frame)return Ge.push(e),e._lazy=[s,i],1},Bf=function r(e){var t=e.parent;return t&&t._ts&&t._initted&&!t._lock&&(t.rawTime()<0||r(t))},Sn=function(e){var t=e.data;return t==="isFromStart"||t==="isStart"},Uf=function(e,t,n,i){var s=e.ratio,a=t<0||!t&&(!e._start&&Bf(e)&&!(!e._initted&&Sn(e))||(e._ts<0||e._dp._ts<0)&&!Sn(e))?0:1,o=e._rDelay,l=0,u,c,f;if(o&&e._repeat&&(l=Kt(0,e._tDur,t),c=Ct(l,o),e._yoyo&&c&1&&(a=1-a),c!==Ct(e._tTime,o)&&(s=1-a,e.vars.repeatRefresh&&e._initted&&e.invalidate())),a!==s||fe||i||e._zTime===V||!t&&e._zTime){if(!e._initted&&Fs(e,t,i,n,l))return;for(f=e._zTime,e._zTime=t||(n?V:0),n||(n=t&&!f),e.ratio=a,e._from&&(a=1-a),e._time=0,e._tTime=l,u=e._pt;u;)u.r(a,u.d),u=u._next;t<0&&On(e,t,n,!0),e._onUpdate&&!n&&Oe(e,"onUpdate"),l&&e._repeat&&!n&&e.parent&&Oe(e,"onRepeat"),(t>=e._tDur||t<0)&&e.ratio===a&&(a&&Xe(e,1),!n&&!fe&&(Oe(e,a?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=t)},Vf=function(e,t,n){var i;if(n>t)for(i=e._first;i&&i._start<=n;){if(i.data==="isPause"&&i._start>t)return i;i=i._next}else for(i=e._last;i&&i._start>=n;){if(i.data==="isPause"&&i._start<t)return i;i=i._prev}},Et=function(e,t,n,i){var s=e._repeat,a=se(t)||0,o=e._tTime/e._tDur;return o&&!i&&(e._time*=a/e._dur),e._dur=a,e._tDur=s?s<0?1e10:se(a*(s+1)+e._rDelay*s):a,o>0&&!i&&kr(e,e._tTime=e._tDur*o),e.parent&&Mr(e),n||ct(e.parent,e),e},Rs=function(e){return e instanceof me?ct(e):Et(e,e._dur)},Hf={_start:0,endTime:Wt,totalDuration:Wt},qe=function r(e,t,n){var i=e.labels,s=e._recent||Hf,a=e.duration()>=Pe?s.endTime(!1):e._dur,o,l,u;return ue(t)&&(isNaN(t)||t in i)?(l=t.charAt(0),u=t.substr(-1)==="%",o=t.indexOf("="),l==="<"||l===">"?(o>=0&&(t=t.replace(/=/,"")),(l==="<"?s._start:s.endTime(s._repeat>=0))+(parseFloat(t.substr(1))||0)*(u?(o<0?s:n).totalDuration()/100:1)):o<0?(t in i||(i[t]=a),i[t]):(l=parseFloat(t.charAt(o-1)+t.substr(o+1)),u&&n&&(l=l/100*(he(n)?n[0]:n).totalDuration()),o>1?r(e,t.substr(0,o-1),n)+l:a+l)):t==null?a:+t},Xt=function(e,t,n){var i=Ze(t[1]),s=(i?2:1)+(e<2?0:1),a=t[s],o,l;if(i&&(a.duration=t[1]),a.parent=n,e){for(o=a,l=n;l&&!("immediateRender"in o);)o=l.vars.defaults||{},l=_e(l.vars.inherit)&&l.parent;a.immediateRender=_e(o.immediateRender),e<2?a.runBackwards=1:a.startAt=t[s-1]}return new ae(t[0],a,t[s+1])},Ke=function(e,t){return e||e===0?t(e):t},Kt=function(e,t,n){return n<e?e:n>t?t:n},pe=function(e,t){return!ue(e)||!(t=Ff.exec(e))?"":t[1]},Yf=function(e,t,n){return Ke(n,function(i){return Kt(e,t,i)})},Cn=[].slice,Ds=function(e,t){return e&&ke(e)&&"length"in e&&(!t&&!e.length||e.length-1 in e&&ke(e[0]))&&!e.nodeType&&e!==Fe},Wf=function(e,t,n){return n===void 0&&(n=[]),e.forEach(function(i){var s;return ue(i)&&!t||Ds(i,1)?(s=n).push.apply(s,Ae(i)):n.push(i)})||n},Ae=function(e,t,n){return J&&!t&&J.selector?J.selector(e):ue(e)&&!n&&(_n||!qt())?Cn.call((t||gn).querySelectorAll(e),0):he(e)?Wf(e,n):Ds(e)?Cn.call(e,0):e?[e]:[]},En=function(e){return e=Ae(e)[0]||Yt("Invalid scope")||{},function(t){var n=e.current||e.nativeElement||e;return Ae(t,n.querySelectorAll?n:n===e?Yt("Invalid scope")||gn.createElement("div"):e)}},Is=function(e){return e.sort(function(){return .5-Math.random()})},$s=function(e){if(te(e))return e;var t=ke(e)?e:{each:e},n=ft(t.ease),i=t.from||0,s=parseFloat(t.base)||0,a={},o=i>0&&i<1,l=isNaN(i)||o,u=t.axis,c=i,f=i;return ue(i)?c=f={center:.5,edges:.5,end:1}[i]||0:!o&&l&&(c=i[0],f=i[1]),function(p,m,_){var h=(_||t).length,v=a[h],x,y,b,w,g,j,S,C,O;if(!v){if(O=t.grid==="auto"?0:(t.grid||[1,Pe])[1],!O){for(S=-Pe;S<(S=_[O++].getBoundingClientRect().left)&&O<h;);O<h&&O--}for(v=a[h]=[],x=l?Math.min(O,h)*c-.5:i%O,y=O===Pe?0:l?h*f/O-.5:i/O|0,S=0,C=Pe,j=0;j<h;j++)b=j%O-x,w=y-(j/O|0),v[j]=g=u?Math.abs(u==="y"?w:b):_s(b*b+w*w),g>S&&(S=g),g<C&&(C=g);i==="random"&&Is(v),v.max=S-C,v.min=C,v.v=h=(parseFloat(t.amount)||parseFloat(t.each)*(O>h?h-1:u?u==="y"?h/O:O:Math.max(O,h/O))||0)*(i==="edges"?-1:1),v.b=h<0?s-h:s,v.u=pe(t.amount||t.each)||0,n=n&&h<0?Ks(n):n}return h=(v[p]-v.min)/v.max||0,se(v.b+(n?n(h):h)*v.v)+v.u}},Pn=function(e){var t=Math.pow(10,((e+"").split(".")[1]||"").length);return function(n){var i=se(Math.round(parseFloat(n)/e)*e*t);return(i-i%1)/t+(Ze(n)?0:pe(n))}},Ls=function(e,t){var n=he(e),i,s;return!n&&ke(e)&&(i=n=e.radius||Pe,e.values?(e=Ae(e.values),(s=!Ze(e[0]))&&(i*=i)):e=Pn(e.increment)),Ke(t,n?te(e)?function(a){return s=e(a),Math.abs(s-a)<=i?s:a}:function(a){for(var o=parseFloat(s?a.x:a),l=parseFloat(s?a.y:0),u=Pe,c=0,f=e.length,p,m;f--;)s?(p=e[f].x-o,m=e[f].y-l,p=p*p+m*m):p=Math.abs(e[f]-o),p<u&&(u=p,c=f);return c=!i||u<=i?e[c]:a,s||c===a||Ze(a)?c:c+pe(a)}:Pn(e))},zs=function(e,t,n,i){return Ke(he(e)?!t:n===!0?!!(n=0):!i,function(){return he(e)?e[~~(Math.random()*e.length)]:(n=n||1e-5)&&(i=n<1?Math.pow(10,(n+"").length-2):1)&&Math.floor(Math.round((e-n/2+Math.random()*(t-e+n*.99))/n)*n*i)/i})},Gf=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(i){return t.reduce(function(s,a){return a(s)},i)}},Xf=function(e,t){return function(n){return e(parseFloat(n))+(t||pe(n))}},Kf=function(e,t,n){return Bs(e,t,0,1,n)},Zs=function(e,t,n){return Ke(n,function(i){return e[~~t(i)]})},Jf=function r(e,t,n){var i=t-e;return he(e)?Zs(e,r(0,e.length),t):Ke(n,function(s){return(i+(s-e)%i)%i+e})},Qf=function r(e,t,n){var i=t-e,s=i*2;return he(e)?Zs(e,r(0,e.length-1),t):Ke(n,function(a){return a=(s+(a-e)%s)%s||0,e+(a>i?s-a:a)})},Jt=function(e){for(var t=0,n="",i,s,a,o;~(i=e.indexOf("random(",t));)a=e.indexOf(")",i),o=e.charAt(i+7)==="[",s=e.substr(i+7,a-i-7).match(o?xs:pn),n+=e.substr(t,i-t)+zs(o?s:+s[0],o?0:+s[1],+s[2]||1e-5),t=a+1;return n+e.substr(t,e.length-t)},Bs=function(e,t,n,i,s){var a=t-e,o=i-n;return Ke(s,function(l){return n+((l-e)/a*o||0)})},e0=function r(e,t,n,i){var s=isNaN(e+t)?0:function(m){return(1-m)*e+m*t};if(!s){var a=ue(e),o={},l,u,c,f,p;if(n===!0&&(i=1)&&(n=null),a)e={p:e},t={p:t};else if(he(e)&&!he(t)){for(c=[],f=e.length,p=f-2,u=1;u<f;u++)c.push(r(e[u-1],e[u]));f--,s=function(_){_*=f;var h=Math.min(p,~~_);return c[h](_-h)},n=t}else i||(e=St(he(e)?[]:{},e));if(!c){for(l in t)Mn.call(o,e,l,"get",t[l]);s=function(_){return In(_,o)||(a?e.p:e)}}}return Ke(n,s)},Us=function(e,t,n){var i=e.labels,s=Pe,a,o,l;for(a in i)o=i[a]-t,o<0==!!n&&o&&s>(o=Math.abs(o))&&(l=a,s=o);return l},Oe=function(e,t,n){var i=e.vars,s=i[t],a=J,o=e._ctx,l,u,c;if(s)return l=i[t+"Params"],u=i.callbackScope||e,n&&Ge.length&&Pr(),o&&(J=o),c=l?s.apply(u,l):s.call(u),J=a,c},Qt=function(e){return Xe(e),e.scrollTrigger&&e.scrollTrigger.kill(!!fe),e.progress()<1&&Oe(e,"onInterrupt"),e},Pt,Vs=[],Hs=function(e){if(e)if(e=!e.name&&e.default||e,hn()||e.headless){var t=e.name,n=te(e),i=t&&!n&&e.init?function(){this._props=[]}:e,s={init:Wt,render:In,add:Mn,kill:_0,modifier:m0,rawVars:0},a={targetTest:0,get:0,getSetter:Dn,aliases:{},register:0};if(qt(),e!==i){if(Te[t])return;je(i,je(qr(e,s),a)),St(i.prototype,St(s,qr(e,a))),Te[i.prop=t]=i,e.targetTest&&(Er.push(i),yn[t]=1),t=(t==="css"?"CSS":t.charAt(0).toUpperCase()+t.substr(1))+"Plugin"}Ts(t,i),e.register&&e.register(ye,i,ve)}else Vs.push(e)},H=255,er={aqua:[0,H,H],lime:[0,H,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,H],navy:[0,0,128],white:[H,H,H],olive:[128,128,0],yellow:[H,H,0],orange:[H,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[H,0,0],pink:[H,192,203],cyan:[0,H,H],transparent:[H,H,H,0]},qn=function(e,t,n){return e+=e<0?1:e>1?-1:0,(e*6<1?t+(n-t)*e*6:e<.5?n:e*3<2?t+(n-t)*(2/3-e)*6:t)*H+.5|0},Ys=function(e,t,n){var i=e?Ze(e)?[e>>16,e>>8&H,e&H]:0:er.black,s,a,o,l,u,c,f,p,m,_;if(!i){if(e.substr(-1)===","&&(e=e.substr(0,e.length-1)),er[e])i=er[e];else if(e.charAt(0)==="#"){if(e.length<6&&(s=e.charAt(1),a=e.charAt(2),o=e.charAt(3),e="#"+s+s+a+a+o+o+(e.length===5?e.charAt(4)+e.charAt(4):"")),e.length===9)return i=parseInt(e.substr(1,6),16),[i>>16,i>>8&H,i&H,parseInt(e.substr(7),16)/255];e=parseInt(e.substr(1),16),i=[e>>16,e>>8&H,e&H]}else if(e.substr(0,3)==="hsl"){if(i=_=e.match(pn),!t)l=+i[0]%360/360,u=+i[1]/100,c=+i[2]/100,a=c<=.5?c*(u+1):c+u-c*u,s=c*2-a,i.length>3&&(i[3]*=1),i[0]=qn(l+1/3,s,a),i[1]=qn(l,s,a),i[2]=qn(l-1/3,s,a);else if(~e.indexOf("="))return i=e.match(vs),n&&i.length<4&&(i[3]=1),i}else i=e.match(pn)||er.transparent;i=i.map(Number)}return t&&!_&&(s=i[0]/H,a=i[1]/H,o=i[2]/H,f=Math.max(s,a,o),p=Math.min(s,a,o),c=(f+p)/2,f===p?l=u=0:(m=f-p,u=c>.5?m/(2-f-p):m/(f+p),l=f===s?(a-o)/m+(a<o?6:0):f===a?(o-s)/m+2:(s-a)/m+4,l*=60),i[0]=~~(l+.5),i[1]=~~(u*100+.5),i[2]=~~(c*100+.5)),n&&i.length<4&&(i[3]=1),i},Ws=function(e){var t=[],n=[],i=-1;return e.split(Je).forEach(function(s){var a=s.match(jt)||[];t.push.apply(t,a),n.push(i+=a.length+1)}),t.c=n,t},Gs=function(e,t,n){var i="",s=(e+i).match(Je),a=t?"hsla(":"rgba(",o=0,l,u,c,f;if(!s)return e;if(s=s.map(function(p){return(p=Ys(p,t,1))&&a+(t?p[0]+","+p[1]+"%,"+p[2]+"%,"+p[3]:p.join(","))+")"}),n&&(c=Ws(e),l=n.c,l.join(i)!==c.c.join(i)))for(u=e.replace(Je,"1").split(jt),f=u.length-1;o<f;o++)i+=u[o]+(~l.indexOf(o)?s.shift()||a+"0,0,0,0)":(c.length?c:s.length?s:n).shift());if(!u)for(u=e.split(Je),f=u.length-1;o<f;o++)i+=u[o]+s[o];return i+u[f]},Je=(function(){var r="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",e;for(e in er)r+="|"+e+"\\b";return new RegExp(r+")","gi")})(),t0=/hsl[a]?\(/,Xs=function(e){var t=e.join(" "),n;if(Je.lastIndex=0,Je.test(t))return n=t0.test(t),e[1]=Gs(e[1],n),e[0]=Gs(e[0],n,Ws(e[1])),!0},tr,Se=(function(){var r=Date.now,e=500,t=33,n=r(),i=n,s=1e3/240,a=s,o=[],l,u,c,f,p,m,_=function h(v){var x=r()-i,y=v===!0,b,w,g,j;if((x>e||x<0)&&(n+=x-t),i+=x,g=i-n,b=g-a,(b>0||y)&&(j=++f.frame,p=g-f.time*1e3,f.time=g=g/1e3,a+=b+(b>=s?4:s-b),w=1),y||(l=u(h)),w)for(m=0;m<o.length;m++)o[m](g,p,j,v)};return f={time:0,frame:0,tick:function(){_(!0)},deltaRatio:function(v){return p/(1e3/(v||60))},wake:function(){bs&&(!_n&&hn()&&(Fe=_n=window,gn=Fe.document||{},we.gsap=ye,(Fe.gsapVersions||(Fe.gsapVersions=[])).push(ye.version),ws(Sr||Fe.GreenSockGlobals||!Fe.gsap&&Fe||{}),Vs.forEach(Hs)),c=typeof requestAnimationFrame<"u"&&requestAnimationFrame,l&&f.sleep(),u=c||function(v){return setTimeout(v,a-f.time*1e3+1|0)},tr=1,_(2))},sleep:function(){(c?cancelAnimationFrame:clearTimeout)(l),tr=0,u=Wt},lagSmoothing:function(v,x){e=v||1/0,t=Math.min(x||33,e)},fps:function(v){s=1e3/(v||240),a=f.time*1e3+s},add:function(v,x,y){var b=x?function(w,g,j,S){v(w,g,j,S),f.remove(b)}:v;return f.remove(v),o[y?"unshift":"push"](b),qt(),b},remove:function(v,x){~(x=o.indexOf(v))&&o.splice(x,1)&&m>=x&&m--},_listeners:o},f})(),qt=function(){return!tr&&Se.wake()},R={},r0=/^[\d.\-M][\d.\-,\s]/,n0=/["']/g,i0=function(e){for(var t={},n=e.substr(1,e.length-3).split(":"),i=n[0],s=1,a=n.length,o,l,u;s<a;s++)l=n[s],o=s!==a-1?l.lastIndexOf(","):l.length,u=l.substr(0,o),t[i]=isNaN(u)?u.replace(n0,"").trim():+u,i=l.substr(o+1).trim();return t},s0=function(e){var t=e.indexOf("(")+1,n=e.indexOf(")"),i=e.indexOf("(",t);return e.substring(t,~i&&i<n?e.indexOf(")",n+1):n)},a0=function(e){var t=(e+"").split("("),n=R[t[0]];return n&&t.length>1&&n.config?n.config.apply(null,~e.indexOf("{")?[i0(t[1])]:s0(e).split(",").map(Es)):R._CE&&r0.test(e)?R._CE("",e):n},Ks=function(e){return function(t){return 1-e(1-t)}},Js=function r(e,t){for(var n=e._first,i;n;)n instanceof me?r(n,t):n.vars.yoyoEase&&(!n._yoyo||!n._repeat)&&n._yoyo!==t&&(n.timeline?r(n.timeline,t):(i=n._ease,n._ease=n._yEase,n._yEase=i,n._yoyo=t)),n=n._next},ft=function(e,t){return e&&(te(e)?e:R[e]||a0(e))||t},dt=function(e,t,n,i){n===void 0&&(n=function(l){return 1-t(1-l)}),i===void 0&&(i=function(l){return l<.5?t(l*2)/2:1-t((1-l)*2)/2});var s={easeIn:t,easeOut:n,easeInOut:i},a;return ge(e,function(o){R[o]=we[o]=s,R[a=o.toLowerCase()]=n;for(var l in s)R[a+(l==="easeIn"?".in":l==="easeOut"?".out":".inOut")]=R[o+"."+l]=s[l]}),s},Qs=function(e){return function(t){return t<.5?(1-e(1-t*2))/2:.5+e((t-.5)*2)/2}},An=function r(e,t,n){var i=t>=1?t:1,s=(n||(e?.3:.45))/(t<1?t:1),a=s/fn*(Math.asin(1/i)||0),o=function(c){return c===1?1:i*Math.pow(2,-10*c)*kf((c-a)*s)+1},l=e==="out"?o:e==="in"?function(u){return 1-o(1-u)}:Qs(o);return s=fn/s,l.config=function(u,c){return r(e,u,c)},l},Nn=function r(e,t){t===void 0&&(t=1.70158);var n=function(a){return a?--a*a*((t+1)*a+t)+1:0},i=e==="out"?n:e==="in"?function(s){return 1-n(1-s)}:Qs(n);return i.config=function(s){return r(e,s)},i};ge("Linear,Quad,Cubic,Quart,Quint,Strong",function(r,e){var t=e<5?e+1:e;dt(r+",Power"+(t-1),e?function(n){return Math.pow(n,t)}:function(n){return n},function(n){return 1-Math.pow(1-n,t)},function(n){return n<.5?Math.pow(n*2,t)/2:1-Math.pow((1-n)*2,t)/2})}),R.Linear.easeNone=R.none=R.Linear.easeIn,dt("Elastic",An("in"),An("out"),An()),(function(r,e){var t=1/e,n=2*t,i=2.5*t,s=function(o){return o<t?r*o*o:o<n?r*Math.pow(o-1.5/e,2)+.75:o<i?r*(o-=2.25/e)*o+.9375:r*Math.pow(o-2.625/e,2)+.984375};dt("Bounce",function(a){return 1-s(1-a)},s)})(7.5625,2.75),dt("Expo",function(r){return Math.pow(2,10*(r-1))*r+r*r*r*r*r*r*(1-r)}),dt("Circ",function(r){return-(_s(1-r*r)-1)}),dt("Sine",function(r){return r===1?1:-Mf(r*Af)+1}),dt("Back",Nn("in"),Nn("out"),Nn()),R.SteppedEase=R.steps=we.SteppedEase={config:function(e,t){e===void 0&&(e=1);var n=1/e,i=e+(t?0:1),s=t?1:0,a=1-V;return function(o){return((i*Kt(0,a,o)|0)+s)*n}}},Tt.ease=R["quad.out"],ge("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(r){return wn+=r+","+r+"Params,"});var ea=function(e,t){this.id=Nf++,e._gsap=this,this.target=e,this.harness=t,this.get=t?t.get:Ss,this.set=t?t.getSetter:Dn},rr=(function(){function r(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,Et(this,+t.duration,1,1),this.data=t.data,J&&(this._ctx=J,J.data.push(this)),tr||Se.wake()}var e=r.prototype;return e.delay=function(n){return n||n===0?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+n-this._delay),this._delay=n,this):this._delay},e.duration=function(n){return arguments.length?this.totalDuration(this._repeat>0?n+(n+this._rDelay)*this._repeat:n):this.totalDuration()&&this._dur},e.totalDuration=function(n){return arguments.length?(this._dirty=0,Et(this,this._repeat<0?n:(n-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(n,i){if(qt(),!arguments.length)return this._tTime;var s=this._dp;if(s&&s.smoothChildTiming&&this._ts){for(kr(this,n),!s._dp||s.parent||Ms(s,this);s&&s.parent;)s.parent._time!==s._start+(s._ts>=0?s._tTime/s._ts:(s.totalDuration()-s._tTime)/-s._ts)&&s.totalTime(s._tTime,!0),s=s.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&n<this._tDur||this._ts<0&&n>0||!this._tDur&&!n)&&Re(this._dp,this,this._start-this._delay)}return(this._tTime!==n||!this._dur&&!i||this._initted&&Math.abs(this._zTime)===V||!n&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=n),Cs(this,n,i)),this},e.time=function(n,i){return arguments.length?this.totalTime(Math.min(this.totalDuration(),n+Ns(this))%(this._dur+this._rDelay)||(n?this._dur:0),i):this._time},e.totalProgress=function(n,i){return arguments.length?this.totalTime(this.totalDuration()*n,i):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>=0&&this._initted?1:0},e.progress=function(n,i){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-n:n)+Ns(this),i):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},e.iteration=function(n,i){var s=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(n-1)*s,i):this._repeat?Ct(this._tTime,s)+1:1},e.timeScale=function(n,i){if(!arguments.length)return this._rts===-V?0:this._rts;if(this._rts===n)return this;var s=this.parent&&this._ts?Nr(this.parent._time,this):this._tTime;return this._rts=+n||0,this._ts=this._ps||n===-V?0:this._rts,this.totalTime(Kt(-Math.abs(this._delay),this.totalDuration(),s),i!==!1),Mr(this),zf(this)},e.paused=function(n){return arguments.length?(this._ps!==n&&(this._ps=n,n?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(qt(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==V&&(this._tTime-=V)))),this):this._ps},e.startTime=function(n){if(arguments.length){this._start=n;var i=this.parent||this._dp;return i&&(i._sort||!this.parent)&&Re(i,this,n-this._delay),this}return this._start},e.endTime=function(n){return this._start+(_e(n)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},e.rawTime=function(n){var i=this.parent||this._dp;return i?n&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?Nr(i.rawTime(n),this):this._tTime:this._tTime},e.revert=function(n){n===void 0&&(n=Df);var i=fe;return fe=n,jn(this)&&(this.timeline&&this.timeline.revert(n),this.totalTime(-.01,n.suppressEvents)),this.data!=="nested"&&n.kill!==!1&&this.kill(),fe=i,this},e.globalTime=function(n){for(var i=this,s=arguments.length?n:i.rawTime();i;)s=i._start+s/(Math.abs(i._ts)||1),i=i._dp;return!this.parent&&this._sat?this._sat.globalTime(n):s},e.repeat=function(n){return arguments.length?(this._repeat=n===1/0?-2:n,Rs(this)):this._repeat===-2?1/0:this._repeat},e.repeatDelay=function(n){if(arguments.length){var i=this._time;return this._rDelay=n,Rs(this),i?this.time(i):this}return this._rDelay},e.yoyo=function(n){return arguments.length?(this._yoyo=n,this):this._yoyo},e.seek=function(n,i){return this.totalTime(qe(this,n),_e(i))},e.restart=function(n,i){return this.play().totalTime(n?-this._delay:0,_e(i)),this._dur||(this._zTime=-V),this},e.play=function(n,i){return n!=null&&this.seek(n,i),this.reversed(!1).paused(!1)},e.reverse=function(n,i){return n!=null&&this.seek(n||this.totalDuration(),i),this.reversed(!0).paused(!1)},e.pause=function(n,i){return n!=null&&this.seek(n,i),this.paused(!0)},e.resume=function(){return this.paused(!1)},e.reversed=function(n){return arguments.length?(!!n!==this.reversed()&&this.timeScale(-this._rts||(n?-V:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-V,this},e.isActive=function(){var n=this.parent||this._dp,i=this._start,s;return!!(!n||this._ts&&this._initted&&n.isActive()&&(s=n.rawTime(!0))>=i&&s<this.endTime(!0)-V)},e.eventCallback=function(n,i,s){var a=this.vars;return arguments.length>1?(i?(a[n]=i,s&&(a[n+"Params"]=s),n==="onUpdate"&&(this._onUpdate=i)):delete a[n],this):a[n]},e.then=function(n){var i=this;return new Promise(function(s){var a=te(n)?n:Ps,o=function(){var u=i.then;i.then=null,te(a)&&(a=a(i))&&(a.then||a===i)&&(i.then=u),s(a),i.then=u};i._initted&&i.totalProgress()===1&&i._ts>=0||!i._tTime&&i._ts<0?o():i._prom=o})},e.kill=function(){Qt(this)},r})();je(rr.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:-V,_prom:0,_ps:!1,_rts:1});var me=(function(r){ms(e,r);function e(n,i){var s;return n===void 0&&(n={}),s=r.call(this,n)||this,s.labels={},s.smoothChildTiming=!!n.smoothChildTiming,s.autoRemoveChildren=!!n.autoRemoveChildren,s._sort=_e(n.sortChildren),Q&&Re(n.parent||Q,ze(s),i),n.reversed&&s.reverse(),n.paused&&s.paused(!0),n.scrollTrigger&&ks(ze(s),n.scrollTrigger),s}var t=e.prototype;return t.to=function(i,s,a){return Xt(0,arguments,this),this},t.from=function(i,s,a){return Xt(1,arguments,this),this},t.fromTo=function(i,s,a,o){return Xt(2,arguments,this),this},t.set=function(i,s,a){return s.duration=0,s.parent=this,Gt(s).repeatDelay||(s.repeat=0),s.immediateRender=!!s.immediateRender,new ae(i,s,qe(this,a),1),this},t.call=function(i,s,a){return Re(this,ae.delayedCall(0,i,s),a)},t.staggerTo=function(i,s,a,o,l,u,c){return a.duration=s,a.stagger=a.stagger||o,a.onComplete=u,a.onCompleteParams=c,a.parent=this,new ae(i,a,qe(this,l)),this},t.staggerFrom=function(i,s,a,o,l,u,c){return a.runBackwards=1,Gt(a).immediateRender=_e(a.immediateRender),this.staggerTo(i,s,a,o,l,u,c)},t.staggerFromTo=function(i,s,a,o,l,u,c,f){return o.startAt=a,Gt(o).immediateRender=_e(o.immediateRender),this.staggerTo(i,s,o,l,u,c,f)},t.render=function(i,s,a){var o=this._time,l=this._dirty?this.totalDuration():this._tDur,u=this._dur,c=i<=0?0:se(i),f=this._zTime<0!=i<0&&(this._initted||!u),p,m,_,h,v,x,y,b,w,g,j,S;if(this!==Q&&c>l&&i>=0&&(c=l),c!==this._tTime||a||f){if(o!==this._time&&u&&(c+=this._time-o,i+=this._time-o),p=c,w=this._start,b=this._ts,x=!b,f&&(u||(o=this._zTime),(i||!s)&&(this._zTime=i)),this._repeat){if(j=this._yoyo,v=u+this._rDelay,this._repeat<-1&&i<0)return this.totalTime(v*100+i,s,a);if(p=se(c%v),c===l?(h=this._repeat,p=u):(g=se(c/v),h=~~g,h&&h===g&&(p=u,h--),p>u&&(p=u)),g=Ct(this._tTime,v),!o&&this._tTime&&g!==h&&this._tTime-g*v-this._dur<=0&&(g=h),j&&h&1&&(p=u-p,S=1),h!==g&&!this._lock){var C=j&&g&1,O=C===(j&&h&1);if(h<g&&(C=!C),o=C?0:c%u?u:c,this._lock=1,this.render(o||(S?0:se(h*v)),s,!u)._lock=0,this._tTime=c,!s&&this.parent&&Oe(this,"onRepeat"),this.vars.repeatRefresh&&!S&&(this.invalidate()._lock=1),o&&o!==this._time||x!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(u=this._dur,l=this._tDur,O&&(this._lock=2,o=C?u:-1e-4,this.render(o,!0),this.vars.repeatRefresh&&!S&&this.invalidate()),this._lock=0,!this._ts&&!x)return this;Js(this,S)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(y=Vf(this,se(o),se(p)),y&&(c-=p-(p=y._start))),this._tTime=c,this._time=p,this._act=!b,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=i,o=0),!o&&c&&!s&&!g&&(Oe(this,"onStart"),this._tTime!==c))return this;if(p>=o&&i>=0)for(m=this._first;m;){if(_=m._next,(m._act||p>=m._start)&&m._ts&&y!==m){if(m.parent!==this)return this.render(i,s,a);if(m.render(m._ts>0?(p-m._start)*m._ts:(m._dirty?m.totalDuration():m._tDur)+(p-m._start)*m._ts,s,a),p!==this._time||!this._ts&&!x){y=0,_&&(c+=this._zTime=-V);break}}m=_}else{m=this._last;for(var k=i<0?i:p;m;){if(_=m._prev,(m._act||k<=m._end)&&m._ts&&y!==m){if(m.parent!==this)return this.render(i,s,a);if(m.render(m._ts>0?(k-m._start)*m._ts:(m._dirty?m.totalDuration():m._tDur)+(k-m._start)*m._ts,s,a||fe&&jn(m)),p!==this._time||!this._ts&&!x){y=0,_&&(c+=this._zTime=k?-V:V);break}}m=_}}if(y&&!s&&(this.pause(),y.render(p>=o?0:-V)._zTime=p>=o?1:-1,this._ts))return this._start=w,Mr(this),this.render(i,s,a);this._onUpdate&&!s&&Oe(this,"onUpdate",!0),(c===l&&this._tTime>=this.totalDuration()||!c&&o)&&(w===this._start||Math.abs(b)!==Math.abs(this._ts))&&(this._lock||((i||!u)&&(c===l&&this._ts>0||!c&&this._ts<0)&&Xe(this,1),!s&&!(i<0&&!o)&&(c||o||!l)&&(Oe(this,c===l&&i>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(c<l&&this.timeScale()>0)&&this._prom())))}return this},t.add=function(i,s){var a=this;if(Ze(s)||(s=qe(this,s,i)),!(i instanceof rr)){if(he(i))return i.forEach(function(o){return a.add(o,s)}),this;if(ue(i))return this.addLabel(i,s);if(te(i))i=ae.delayedCall(0,i);else return this}return this!==i?Re(this,i,s):this},t.getChildren=function(i,s,a,o){i===void 0&&(i=!0),s===void 0&&(s=!0),a===void 0&&(a=!0),o===void 0&&(o=-Pe);for(var l=[],u=this._first;u;)u._start>=o&&(u instanceof ae?s&&l.push(u):(a&&l.push(u),i&&l.push.apply(l,u.getChildren(!0,s,a)))),u=u._next;return l},t.getById=function(i){for(var s=this.getChildren(1,1,1),a=s.length;a--;)if(s[a].vars.id===i)return s[a]},t.remove=function(i){return ue(i)?this.removeLabel(i):te(i)?this.killTweensOf(i):(i.parent===this&&Ar(this,i),i===this._recent&&(this._recent=this._last),ct(this))},t.totalTime=function(i,s){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=se(Se.time-(this._ts>0?i/this._ts:(this.totalDuration()-i)/-this._ts))),r.prototype.totalTime.call(this,i,s),this._forcing=0,this):this._tTime},t.addLabel=function(i,s){return this.labels[i]=qe(this,s),this},t.removeLabel=function(i){return delete this.labels[i],this},t.addPause=function(i,s,a){var o=ae.delayedCall(0,s||Wt,a);return o.data="isPause",this._hasPause=1,Re(this,o,qe(this,i))},t.removePause=function(i){var s=this._first;for(i=qe(this,i);s;)s._start===i&&s.data==="isPause"&&Xe(s),s=s._next},t.killTweensOf=function(i,s,a){for(var o=this.getTweensOf(i,a),l=o.length;l--;)Qe!==o[l]&&o[l].kill(i,s);return this},t.getTweensOf=function(i,s){for(var a=[],o=Ae(i),l=this._first,u=Ze(s),c;l;)l instanceof ae?If(l._targets,o)&&(u?(!Qe||l._initted&&l._ts)&&l.globalTime(0)<=s&&l.globalTime(l.totalDuration())>s:!s||l.isActive())&&a.push(l):(c=l.getTweensOf(o,s)).length&&a.push.apply(a,c),l=l._next;return a},t.tweenTo=function(i,s){s=s||{};var a=this,o=qe(a,i),l=s,u=l.startAt,c=l.onStart,f=l.onStartParams,p=l.immediateRender,m,_=ae.to(a,je({ease:s.ease||"none",lazy:!1,immediateRender:!1,time:o,overwrite:"auto",duration:s.duration||Math.abs((o-(u&&"time"in u?u.time:a._time))/a.timeScale())||V,onStart:function(){if(a.pause(),!m){var v=s.duration||Math.abs((o-(u&&"time"in u?u.time:a._time))/a.timeScale());_._dur!==v&&Et(_,v,0,1).render(_._time,!0,!0),m=1}c&&c.apply(_,f||[])}},s));return p?_.render(0):_},t.tweenFromTo=function(i,s,a){return this.tweenTo(s,je({startAt:{time:qe(this,i)}},a))},t.recent=function(){return this._recent},t.nextLabel=function(i){return i===void 0&&(i=this._time),Us(this,qe(this,i))},t.previousLabel=function(i){return i===void 0&&(i=this._time),Us(this,qe(this,i),1)},t.currentLabel=function(i){return arguments.length?this.seek(i,!0):this.previousLabel(this._time+V)},t.shiftChildren=function(i,s,a){a===void 0&&(a=0);for(var o=this._first,l=this.labels,u;o;)o._start>=a&&(o._start+=i,o._end+=i),o=o._next;if(s)for(u in l)l[u]>=a&&(l[u]+=i);return ct(this)},t.invalidate=function(i){var s=this._first;for(this._lock=0;s;)s.invalidate(i),s=s._next;return r.prototype.invalidate.call(this,i)},t.clear=function(i){i===void 0&&(i=!0);for(var s=this._first,a;s;)a=s._next,this.remove(s),s=a;return this._dp&&(this._time=this._tTime=this._pTime=0),i&&(this.labels={}),ct(this)},t.totalDuration=function(i){var s=0,a=this,o=a._last,l=Pe,u,c,f;if(arguments.length)return a.timeScale((a._repeat<0?a.duration():a.totalDuration())/(a.reversed()?-i:i));if(a._dirty){for(f=a.parent;o;)u=o._prev,o._dirty&&o.totalDuration(),c=o._start,c>l&&a._sort&&o._ts&&!a._lock?(a._lock=1,Re(a,o,c-o._delay,1)._lock=0):l=c,c<0&&o._ts&&(s-=c,(!f&&!a._dp||f&&f.smoothChildTiming)&&(a._start+=c/a._ts,a._time-=c,a._tTime-=c),a.shiftChildren(-c,!1,-1/0),l=0),o._end>s&&o._ts&&(s=o._end),o=u;Et(a,a===Q&&a._time>s?a._time:s,1,1),a._dirty=0}return a._tDur},e.updateRoot=function(i){if(Q._ts&&(Cs(Q,Nr(i,Q)),js=Se.frame),Se.frame>=Os){Os+=be.autoSleep||120;var s=Q._first;if((!s||!s._ts)&&be.autoSleep&&Se._listeners.length<2){for(;s&&!s._ts;)s=s._next;s||Se.sleep()}}},e})(rr);je(me.prototype,{_lock:0,_hasPause:0,_forcing:0});var o0=function(e,t,n,i,s,a,o){var l=new ve(this._pt,e,t,0,1,aa,null,s),u=0,c=0,f,p,m,_,h,v,x,y;for(l.b=n,l.e=i,n+="",i+="",(x=~i.indexOf("random("))&&(i=Jt(i)),a&&(y=[n,i],a(y,e,t),n=y[0],i=y[1]),p=n.match(mn)||[];f=mn.exec(i);)_=f[0],h=i.substring(u,f.index),m?m=(m+1)%5:h.substr(-5)==="rgba("&&(m=1),_!==p[c++]&&(v=parseFloat(p[c-1])||0,l._pt={_next:l._pt,p:h||c===1?h:",",s:v,c:_.charAt(1)==="="?Ot(v,_)-v:parseFloat(_)-v,m:m&&m<4?Math.round:0},u=mn.lastIndex);return l.c=u<i.length?i.substring(u,i.length):"",l.fp=o,(ys.test(i)||x)&&(l.e=0),this._pt=l,l},Mn=function(e,t,n,i,s,a,o,l,u,c){te(i)&&(i=i(s||0,e,a));var f=e[t],p=n!=="get"?n:te(f)?u?e[t.indexOf("set")||!te(e["get"+t.substr(3)])?t:"get"+t.substr(3)](u):e[t]():f,m=te(f)?u?d0:ia:Rn,_;if(ue(i)&&(~i.indexOf("random(")&&(i=Jt(i)),i.charAt(1)==="="&&(_=Ot(p,i)+(pe(p)||0),(_||_===0)&&(i=_))),!c||p!==i||kn)return!isNaN(p*i)&&i!==""?(_=new ve(this._pt,e,t,+p||0,i-(p||0),typeof f=="boolean"?p0:sa,0,m),u&&(_.fp=u),o&&_.modifier(o,this,e),this._pt=_):(!f&&!(t in e)&&vn(t,i),o0.call(this,e,t,p,i,m,l||be.stringFilter,u))},l0=function(e,t,n,i,s){if(te(e)&&(e=nr(e,s,t,n,i)),!ke(e)||e.style&&e.nodeType||he(e)||gs(e))return ue(e)?nr(e,s,t,n,i):e;var a={},o;for(o in e)a[o]=nr(e[o],s,t,n,i);return a},ta=function(e,t,n,i,s,a){var o,l,u,c;if(Te[e]&&(o=new Te[e]).init(s,o.rawVars?t[e]:l0(t[e],i,s,a,n),n,i,a)!==!1&&(n._pt=l=new ve(n._pt,s,e,0,1,o.render,o,0,o.priority),n!==Pt))for(u=n._ptLookup[n._targets.indexOf(s)],c=o._props.length;c--;)u[o._props[c]]=l;return o},Qe,kn,Fn=function r(e,t,n){var i=e.vars,s=i.ease,a=i.startAt,o=i.immediateRender,l=i.lazy,u=i.onUpdate,c=i.runBackwards,f=i.yoyoEase,p=i.keyframes,m=i.autoRevert,_=e._dur,h=e._startAt,v=e._targets,x=e.parent,y=x&&x.data==="nested"?x.vars.targets:v,b=e._overwrite==="auto"&&!cn,w=e.timeline,g,j,S,C,O,k,$,D,F,Y,U,Z,W;if(w&&(!p||!s)&&(s="none"),e._ease=ft(s,Tt.ease),e._yEase=f?Ks(ft(f===!0?s:f,Tt.ease)):0,f&&e._yoyo&&!e._repeat&&(f=e._yEase,e._yEase=e._ease,e._ease=f),e._from=!w&&!!i.runBackwards,!w||p&&!i.stagger){if(D=v[0]?ut(v[0]).harness:0,Z=D&&i[D.prop],g=qr(i,yn),h&&(h._zTime<0&&h.progress(1),t<0&&c&&o&&!m?h.render(-1,!0):h.revert(c&&_?Cr:Rf),h._lazy=0),a){if(Xe(e._startAt=ae.set(v,je({data:"isStart",overwrite:!1,parent:x,immediateRender:!0,lazy:!h&&_e(l),startAt:null,delay:0,onUpdate:u&&function(){return Oe(e,"onUpdate")},stagger:0},a))),e._startAt._dp=0,e._startAt._sat=e,t<0&&(fe||!o&&!m)&&e._startAt.revert(Cr),o&&_&&t<=0&&n<=0){t&&(e._zTime=t);return}}else if(c&&_&&!h){if(t&&(o=!1),S=je({overwrite:!1,data:"isFromStart",lazy:o&&!h&&_e(l),immediateRender:o,stagger:0,parent:x},g),Z&&(S[D.prop]=Z),Xe(e._startAt=ae.set(v,S)),e._startAt._dp=0,e._startAt._sat=e,t<0&&(fe?e._startAt.revert(Cr):e._startAt.render(-1,!0)),e._zTime=t,!o)r(e._startAt,V,V);else if(!t)return}for(e._pt=e._ptCache=0,l=_&&_e(l)||l&&!_,j=0;j<v.length;j++){if(O=v[j],$=O._gsap||Tn(v)[j]._gsap,e._ptLookup[j]=Y={},xn[$.id]&&Ge.length&&Pr(),U=y===v?j:y.indexOf(O),D&&(F=new D).init(O,Z||g,e,U,y)!==!1&&(e._pt=C=new ve(e._pt,O,F.name,0,1,F.render,F,0,F.priority),F._props.forEach(function(ie){Y[ie]=C}),F.priority&&(k=1)),!D||Z)for(S in g)Te[S]&&(F=ta(S,g,e,U,O,y))?F.priority&&(k=1):Y[S]=C=Mn.call(e,O,S,"get",g[S],U,y,0,i.stringFilter);e._op&&e._op[j]&&e.kill(O,e._op[j]),b&&e._pt&&(Qe=e,Q.killTweensOf(O,Y,e.globalTime(t)),W=!e.parent,Qe=0),e._pt&&l&&(xn[$.id]=1)}k&&oa(e),e._onInit&&e._onInit(e)}e._onUpdate=u,e._initted=(!e._op||e._pt)&&!W,p&&t<=0&&w.render(Pe,!0,!0)},u0=function(e,t,n,i,s,a,o,l){var u=(e._pt&&e._ptCache||(e._ptCache={}))[t],c,f,p,m;if(!u)for(u=e._ptCache[t]=[],p=e._ptLookup,m=e._targets.length;m--;){if(c=p[m][t],c&&c.d&&c.d._pt)for(c=c.d._pt;c&&c.p!==t&&c.fp!==t;)c=c._next;if(!c)return kn=1,e.vars[t]="+=0",Fn(e,o),kn=0,l?Yt(t+" not eligible for reset"):1;u.push(c)}for(m=u.length;m--;)f=u[m],c=f._pt||f,c.s=(i||i===0)&&!s?i:c.s+(i||0)+a*c.c,c.c=n-c.s,f.e&&(f.e=ne(n)+pe(f.e)),f.b&&(f.b=c.s+pe(f.b))},c0=function(e,t){var n=e[0]?ut(e[0]).harness:0,i=n&&n.aliases,s,a,o,l;if(!i)return t;s=St({},t);for(a in i)if(a in s)for(l=i[a].split(","),o=l.length;o--;)s[l[o]]=s[a];return s},f0=function(e,t,n,i){var s=t.ease||i||"power1.inOut",a,o;if(he(t))o=n[e]||(n[e]=[]),t.forEach(function(l,u){return o.push({t:u/(t.length-1)*100,v:l,e:s})});else for(a in t)o=n[a]||(n[a]=[]),a==="ease"||o.push({t:parseFloat(e),v:t[a],e:s})},nr=function(e,t,n,i,s){return te(e)?e.call(t,n,i,s):ue(e)&&~e.indexOf("random(")?Jt(e):e},ra=wn+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",na={};ge(ra+",id,stagger,delay,duration,paused,scrollTrigger",function(r){return na[r]=1});var ae=(function(r){ms(e,r);function e(n,i,s,a){var o;typeof i=="number"&&(s.duration=i,i=s,s=null),o=r.call(this,a?i:Gt(i))||this;var l=o.vars,u=l.duration,c=l.delay,f=l.immediateRender,p=l.stagger,m=l.overwrite,_=l.keyframes,h=l.defaults,v=l.scrollTrigger,x=l.yoyoEase,y=i.parent||Q,b=(he(n)||gs(n)?Ze(n[0]):"length"in i)?[n]:Ae(n),w,g,j,S,C,O,k,$;if(o._targets=b.length?Tn(b):Yt("GSAP target "+n+" not found. https://gsap.com",!be.nullTargetWarn)||[],o._ptLookup=[],o._overwrite=m,_||p||Or(u)||Or(c)){if(i=o.vars,w=o.timeline=new me({data:"nested",defaults:h||{},targets:y&&y.data==="nested"?y.vars.targets:b}),w.kill(),w.parent=w._dp=ze(o),w._start=0,p||Or(u)||Or(c)){if(S=b.length,k=p&&$s(p),ke(p))for(C in p)~ra.indexOf(C)&&($||($={}),$[C]=p[C]);for(g=0;g<S;g++)j=qr(i,na),j.stagger=0,x&&(j.yoyoEase=x),$&&St(j,$),O=b[g],j.duration=+nr(u,ze(o),g,O,b),j.delay=(+nr(c,ze(o),g,O,b)||0)-o._delay,!p&&S===1&&j.delay&&(o._delay=c=j.delay,o._start+=c,j.delay=0),w.to(O,j,k?k(g,O,b):0),w._ease=R.none;w.duration()?u=c=0:o.timeline=0}else if(_){Gt(je(w.vars.defaults,{ease:"none"})),w._ease=ft(_.ease||i.ease||"none");var D=0,F,Y,U;if(he(_))_.forEach(function(Z){return w.to(b,Z,">")}),w.duration();else{j={};for(C in _)C==="ease"||C==="easeEach"||f0(C,_[C],j,_.easeEach);for(C in j)for(F=j[C].sort(function(Z,W){return Z.t-W.t}),D=0,g=0;g<F.length;g++)Y=F[g],U={ease:Y.e,duration:(Y.t-(g?F[g-1].t:0))/100*u},U[C]=Y.v,w.to(b,U,D),D+=U.duration;w.duration()<u&&w.to({},{duration:u-w.duration()})}}u||o.duration(u=w.duration())}else o.timeline=0;return m===!0&&!cn&&(Qe=ze(o),Q.killTweensOf(b),Qe=0),Re(y,ze(o),s),i.reversed&&o.reverse(),i.paused&&o.paused(!0),(f||!u&&!_&&o._start===se(y._time)&&_e(f)&&Zf(ze(o))&&y.data!=="nested")&&(o._tTime=-V,o.render(Math.max(0,-c)||0)),v&&ks(ze(o),v),o}var t=e.prototype;return t.render=function(i,s,a){var o=this._time,l=this._tDur,u=this._dur,c=i<0,f=i>l-V&&!c?l:i<V?0:i,p,m,_,h,v,x,y,b,w;if(!u)Uf(this,i,s,a);else if(f!==this._tTime||!i||a||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==c||this._lazy){if(p=f,b=this.timeline,this._repeat){if(h=u+this._rDelay,this._repeat<-1&&c)return this.totalTime(h*100+i,s,a);if(p=se(f%h),f===l?(_=this._repeat,p=u):(v=se(f/h),_=~~v,_&&_===v?(p=u,_--):p>u&&(p=u)),x=this._yoyo&&_&1,x&&(w=this._yEase,p=u-p),v=Ct(this._tTime,h),p===o&&!a&&this._initted&&_===v)return this._tTime=f,this;_!==v&&(b&&this._yEase&&Js(b,x),this.vars.repeatRefresh&&!x&&!this._lock&&p!==h&&this._initted&&(this._lock=a=1,this.render(se(h*_),!0).invalidate()._lock=0))}if(!this._initted){if(Fs(this,c?i:p,a,s,f))return this._tTime=0,this;if(o!==this._time&&!(a&&this.vars.repeatRefresh&&_!==v))return this;if(u!==this._dur)return this.render(i,s,a)}if(this._tTime=f,this._time=p,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=y=(w||this._ease)(p/u),this._from&&(this.ratio=y=1-y),!o&&f&&!s&&!v&&(Oe(this,"onStart"),this._tTime!==f))return this;for(m=this._pt;m;)m.r(y,m.d),m=m._next;b&&b.render(i<0?i:b._dur*b._ease(p/this._dur),s,a)||this._startAt&&(this._zTime=i),this._onUpdate&&!s&&(c&&On(this,i,s,a),Oe(this,"onUpdate")),this._repeat&&_!==v&&this.vars.onRepeat&&!s&&this.parent&&Oe(this,"onRepeat"),(f===this._tDur||!f)&&this._tTime===f&&(c&&!this._onUpdate&&On(this,i,!0,!0),(i||!u)&&(f===this._tDur&&this._ts>0||!f&&this._ts<0)&&Xe(this,1),!s&&!(c&&!o)&&(f||o||x)&&(Oe(this,f===l?"onComplete":"onReverseComplete",!0),this._prom&&!(f<l&&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),r.prototype.invalidate.call(this,i)},t.resetTo=function(i,s,a,o,l){tr||Se.wake(),this._ts||this.play();var u=Math.min(this._dur,(this._dp._time-this._start)*this._ts),c;return this._initted||Fn(this,u),c=this._ease(u/this._dur),u0(this,i,s,a,o,c,u,l)?this.resetTo(i,s,a,o,1):(kr(this,0),this.parent||As(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},t.kill=function(i,s){if(s===void 0&&(s="all"),!i&&(!s||s==="all"))return this._lazy=this._pt=0,this.parent?Qt(this):this.scrollTrigger&&this.scrollTrigger.kill(!!fe),this;if(this.timeline){var a=this.timeline.totalDuration();return this.timeline.killTweensOf(i,s,Qe&&Qe.vars.overwrite!==!0)._first||Qt(this),this.parent&&a!==this.timeline.totalDuration()&&Et(this,this._dur*this.timeline._tDur/a,0,1),this}var o=this._targets,l=i?Ae(i):o,u=this._ptLookup,c=this._pt,f,p,m,_,h,v,x;if((!s||s==="all")&&Lf(o,l))return s==="all"&&(this._pt=0),Qt(this);for(f=this._op=this._op||[],s!=="all"&&(ue(s)&&(h={},ge(s,function(y){return h[y]=1}),s=h),s=c0(o,s)),x=o.length;x--;)if(~l.indexOf(o[x])){p=u[x],s==="all"?(f[x]=s,_=p,m={}):(m=f[x]=f[x]||{},_=s);for(h in _)v=p&&p[h],v&&((!("kill"in v.d)||v.d.kill(h)===!0)&&Ar(this,v,"_pt"),delete p[h]),m!=="all"&&(m[h]=1)}return this._initted&&!this._pt&&c&&Qt(this),this},e.to=function(i,s){return new e(i,s,arguments[2])},e.from=function(i,s){return Xt(1,arguments)},e.delayedCall=function(i,s,a,o){return new e(s,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:i,onComplete:s,onReverseComplete:s,onCompleteParams:a,onReverseCompleteParams:a,callbackScope:o})},e.fromTo=function(i,s,a){return Xt(2,arguments)},e.set=function(i,s){return s.duration=0,s.repeatDelay||(s.repeat=0),new e(i,s)},e.killTweensOf=function(i,s,a){return Q.killTweensOf(i,s,a)},e})(rr);je(ae.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),ge("staggerTo,staggerFrom,staggerFromTo",function(r){ae[r]=function(){var e=new me,t=Cn.call(arguments,0);return t.splice(r==="staggerFromTo"?5:4,0,0),e[r].apply(e,t)}});var Rn=function(e,t,n){return e[t]=n},ia=function(e,t,n){return e[t](n)},d0=function(e,t,n,i){return e[t](i.fp,n)},h0=function(e,t,n){return e.setAttribute(t,n)},Dn=function(e,t){return te(e[t])?ia:dn(e[t])&&e.setAttribute?h0:Rn},sa=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e6)/1e6,t)},p0=function(e,t){return t.set(t.t,t.p,!!(t.s+t.c*e),t)},aa=function(e,t){var n=t._pt,i="";if(!e&&t.b)i=t.b;else if(e===1&&t.e)i=t.e;else{for(;n;)i=n.p+(n.m?n.m(n.s+n.c*e):Math.round((n.s+n.c*e)*1e4)/1e4)+i,n=n._next;i+=t.c}t.set(t.t,t.p,i,t)},In=function(e,t){for(var n=t._pt;n;)n.r(e,n.d),n=n._next},m0=function(e,t,n,i){for(var s=this._pt,a;s;)a=s._next,s.p===i&&s.modifier(e,t,n),s=a},_0=function(e){for(var t=this._pt,n,i;t;)i=t._next,t.p===e&&!t.op||t.op===e?Ar(this,t,"_pt"):t.dep||(n=1),t=i;return!n},g0=function(e,t,n,i){i.mSet(e,t,i.m.call(i.tween,n,i.mt),i)},oa=function(e){for(var t=e._pt,n,i,s,a;t;){for(n=t._next,i=s;i&&i.pr>t.pr;)i=i._next;(t._prev=i?i._prev:a)?t._prev._next=t:s=t,(t._next=i)?i._prev=t:a=t,t=n}e._pt=s},ve=(function(){function r(t,n,i,s,a,o,l,u,c){this.t=n,this.s=s,this.c=a,this.p=i,this.r=o||sa,this.d=l||this,this.set=u||Rn,this.pr=c||0,this._next=t,t&&(t._prev=this)}var e=r.prototype;return e.modifier=function(n,i,s){this.mSet=this.mSet||this.set,this.set=g0,this.m=n,this.mt=s,this.tween=i},r})();ge(wn+"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(r){return yn[r]=1}),we.TweenMax=we.TweenLite=ae,we.TimelineLite=we.TimelineMax=me,Q=new me({sortChildren:!1,defaults:Tt,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),be.stringFilter=Xs;var ht=[],Fr={},v0=[],la=0,y0=0,$n=function(e){return(Fr[e]||v0).map(function(t){return t()})},Ln=function(){var e=Date.now(),t=[];e-la>2&&($n("matchMediaInit"),ht.forEach(function(n){var i=n.queries,s=n.conditions,a,o,l,u;for(o in i)a=Fe.matchMedia(i[o]).matches,a&&(l=1),a!==s[o]&&(s[o]=a,u=1);u&&(n.revert(),l&&t.push(n))}),$n("matchMediaRevert"),t.forEach(function(n){return n.onMatch(n,function(i){return n.add(null,i)})}),la=e,$n("matchMedia"))},ua=(function(){function r(t,n){this.selector=n&&En(n),this.data=[],this._r=[],this.isReverted=!1,this.id=y0++,t&&this.add(t)}var e=r.prototype;return e.add=function(n,i,s){te(n)&&(s=i,i=n,n=te);var a=this,o=function(){var u=J,c=a.selector,f;return u&&u!==a&&u.data.push(a),s&&(a.selector=En(s)),J=a,f=i.apply(a,arguments),te(f)&&a._r.push(f),J=u,a.selector=c,a.isReverted=!1,f};return a.last=o,n===te?o(a,function(l){return a.add(null,l)}):n?a[n]=o:o},e.ignore=function(n){var i=J;J=null,n(this),J=i},e.getTweens=function(){var n=[];return this.data.forEach(function(i){return i instanceof r?n.push.apply(n,i.getTweens()):i instanceof ae&&!(i.parent&&i.parent.data==="nested")&&n.push(i)}),n},e.clear=function(){this._r.length=this.data.length=0},e.kill=function(n,i){var s=this;if(n?(function(){for(var o=s.getTweens(),l=s.data.length,u;l--;)u=s.data[l],u.data==="isFlip"&&(u.revert(),u.getChildren(!0,!0,!1).forEach(function(c){return o.splice(o.indexOf(c),1)}));for(o.map(function(c){return{g:c._dur||c._delay||c._sat&&!c._sat.vars.immediateRender?c.globalTime(0):-1/0,t:c}}).sort(function(c,f){return f.g-c.g||-1/0}).forEach(function(c){return c.t.revert(n)}),l=s.data.length;l--;)u=s.data[l],u instanceof me?u.data!=="nested"&&(u.scrollTrigger&&u.scrollTrigger.revert(),u.kill()):!(u instanceof ae)&&u.revert&&u.revert(n);s._r.forEach(function(c){return c(n,s)}),s.isReverted=!0})():this.data.forEach(function(o){return o.kill&&o.kill()}),this.clear(),i)for(var a=ht.length;a--;)ht[a].id===this.id&&ht.splice(a,1)},e.revert=function(n){this.kill(n||{})},r})(),x0=(function(){function r(t){this.contexts=[],this.scope=t,J&&J.data.push(this)}var e=r.prototype;return e.add=function(n,i,s){ke(n)||(n={matches:n});var a=new ua(0,s||this.scope),o=a.conditions={},l,u,c;J&&!a.selector&&(a.selector=J.selector),this.contexts.push(a),i=a.add("onMatch",i),a.queries=n;for(u in n)u==="all"?c=1:(l=Fe.matchMedia(n[u]),l&&(ht.indexOf(a)<0&&ht.push(a),(o[u]=l.matches)&&(c=1),l.addListener?l.addListener(Ln):l.addEventListener("change",Ln)));return c&&i(a,function(f){return a.add(null,f)}),this},e.revert=function(n){this.kill(n||{})},e.kill=function(n){this.contexts.forEach(function(i){return i.kill(n,!0)})},r})(),Rr={registerPlugin:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];t.forEach(function(i){return Hs(i)})},timeline:function(e){return new me(e)},getTweensOf:function(e,t){return Q.getTweensOf(e,t)},getProperty:function(e,t,n,i){ue(e)&&(e=Ae(e)[0]);var s=ut(e||{}).get,a=n?Ps:Es;return n==="native"&&(n=""),e&&(t?a((Te[t]&&Te[t].get||s)(e,t,n,i)):function(o,l,u){return a((Te[o]&&Te[o].get||s)(e,o,l,u))})},quickSetter:function(e,t,n){if(e=Ae(e),e.length>1){var i=e.map(function(c){return ye.quickSetter(c,t,n)}),s=i.length;return function(c){for(var f=s;f--;)i[f](c)}}e=e[0]||{};var a=Te[t],o=ut(e),l=o.harness&&(o.harness.aliases||{})[t]||t,u=a?function(c){var f=new a;Pt._pt=0,f.init(e,n?c+n:c,Pt,0,[e]),f.render(1,f),Pt._pt&&In(1,Pt)}:o.set(e,l);return a?u:function(c){return u(e,l,n?c+n:c,o,1)}},quickTo:function(e,t,n){var i,s=ye.to(e,je((i={},i[t]="+=0.1",i.paused=!0,i.stagger=0,i),n||{})),a=function(l,u,c){return s.resetTo(t,l,u,c)};return a.tween=s,a},isTweening:function(e){return Q.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=ft(e.ease,Tt.ease)),qs(Tt,e||{})},config:function(e){return qs(be,e||{})},registerEffect:function(e){var t=e.name,n=e.effect,i=e.plugins,s=e.defaults,a=e.extendTimeline;(i||"").split(",").forEach(function(o){return o&&!Te[o]&&!we[o]&&Yt(t+" effect requires "+o+" plugin.")}),bn[t]=function(o,l,u){return n(Ae(o),je(l||{},s),u)},a&&(me.prototype[t]=function(o,l,u){return this.add(bn[t](o,ke(l)?l:(u=l)&&{},this),u)})},registerEase:function(e,t){R[e]=ft(t)},parseEase:function(e,t){return arguments.length?ft(e,t):R},getById:function(e){return Q.getById(e)},exportRoot:function(e,t){e===void 0&&(e={});var n=new me(e),i,s;for(n.smoothChildTiming=_e(e.smoothChildTiming),Q.remove(n),n._dp=0,n._time=n._tTime=Q._time,i=Q._first;i;)s=i._next,(t||!(!i._dur&&i instanceof ae&&i.vars.onComplete===i._targets[0]))&&Re(n,i,i._start-i._delay),i=s;return Re(Q,n,0),n},context:function(e,t){return e?new ua(e,t):J},matchMedia:function(e){return new x0(e)},matchMediaRefresh:function(){return ht.forEach(function(e){var t=e.conditions,n,i;for(i in t)t[i]&&(t[i]=!1,n=1);n&&e.revert()})||Ln()},addEventListener:function(e,t){var n=Fr[e]||(Fr[e]=[]);~n.indexOf(t)||n.push(t)},removeEventListener:function(e,t){var n=Fr[e],i=n&&n.indexOf(t);i>=0&&n.splice(i,1)},utils:{wrap:Jf,wrapYoyo:Qf,distribute:$s,random:zs,snap:Ls,normalize:Kf,getUnit:pe,clamp:Yf,splitColor:Ys,toArray:Ae,selector:En,mapRange:Bs,pipe:Gf,unitize:Xf,interpolate:e0,shuffle:Is},install:ws,effects:bn,ticker:Se,updateRoot:me.updateRoot,plugins:Te,globalTimeline:Q,core:{PropTween:ve,globals:Ts,Tween:ae,Timeline:me,Animation:rr,getCache:ut,_removeLinkedListItem:Ar,reverting:function(){return fe},context:function(e){return e&&J&&(J.data.push(e),e._ctx=J),J},suppressOverwrites:function(e){return cn=e}}};ge("to,from,fromTo,delayedCall,set,killTweensOf",function(r){return Rr[r]=ae[r]}),Se.add(me.updateRoot),Pt=Rr.to({},{duration:0});var b0=function(e,t){for(var n=e._pt;n&&n.p!==t&&n.op!==t&&n.fp!==t;)n=n._next;return n},w0=function(e,t){var n=e._targets,i,s,a;for(i in t)for(s=n.length;s--;)a=e._ptLookup[s][i],a&&(a=a.d)&&(a._pt&&(a=b0(a,i)),a&&a.modifier&&a.modifier(t[i],e,n[s],i))},zn=function(e,t){return{name:e,headless:1,rawVars:1,init:function(i,s,a){a._onInit=function(o){var l,u;if(ue(s)&&(l={},ge(s,function(c){return l[c]=1}),s=l),t){l={};for(u in s)l[u]=t(s[u]);s=l}w0(o,s)}}}},ye=Rr.registerPlugin({name:"attr",init:function(e,t,n,i,s){var a,o,l;this.tween=n;for(a in t)l=e.getAttribute(a)||"",o=this.add(e,"setAttribute",(l||0)+"",t[a],i,s,0,0,a),o.op=a,o.b=l,this._props.push(a)},render:function(e,t){for(var n=t._pt;n;)fe?n.set(n.t,n.p,n.b,n):n.r(e,n.d),n=n._next}},{name:"endArray",headless:1,init:function(e,t){for(var n=t.length;n--;)this.add(e,n,e[n]||0,t[n],0,0,0,0,0,1)}},zn("roundProps",Pn),zn("modifiers"),zn("snap",Ls))||Rr;ae.version=me.version=ye.version="3.13.0",bs=1,hn()&&qt(),R.Power0,R.Power1,R.Power2,R.Power3,R.Power4,R.Linear,R.Quad,R.Cubic,R.Quart,R.Quint,R.Strong,R.Elastic,R.Back,R.SteppedEase,R.Bounce,R.Sine,R.Expo,R.Circ;/*!
42
+ */var _e={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},tt={duration:.5,overwrite:!1,delay:0},sr,se,$,Te=1e8,I=1/Te,ar=Math.PI*2,cs=ar/4,ds=0,sn=Math.sqrt,fs=Math.cos,hs=Math.sin,re=function(e){return typeof e=="string"},G=function(e){return typeof e=="function"},Ae=function(e){return typeof e=="number"},or=function(e){return typeof e>"u"},Ce=function(e){return typeof e=="object"},de=function(e){return e!==!1},lr=function(){return typeof window<"u"},Bt=function(e){return G(e)||re(e)},an=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},ae=Array.isArray,ur=/(?:-?\.?\d|\.)+/gi,on=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,rt=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,cr=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,ln=/[+-]=-?[.\d]+/,un=/[^,'"\[\]\s]+/gi,ps=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,W,Se,dr,fr,ge={},Vt={},cn,dn=function(e){return(Vt=it(e,ge))&&pe},hr=function(e,t){return console.warn("Invalid property",e,"set to",t,"Missing plugin? gsap.registerPlugin()")},xt=function(e,t){return!t&&console.warn(e)},fn=function(e,t){return e&&(ge[e]=t)&&Vt&&(Vt[e]=t)||ge},yt=function(){return 0},ms={suppressEvents:!0,isStart:!0,kill:!1},Ht={suppressEvents:!0,kill:!1},_s={suppressEvents:!0},pr={},Fe=[],mr={},hn,ve={},_r={},pn=30,Ut=[],gr="",vr=function(e){var t=e[0],r,n;if(Ce(t)||G(t)||(e=[e]),!(r=(t._gsap||{}).harness)){for(n=Ut.length;n--&&!Ut[n].targetTest(t););r=Ut[n]}for(n=e.length;n--;)e[n]&&(e[n]._gsap||(e[n]._gsap=new Vn(e[n],r)))||e.splice(n,1);return e},Ue=function(e){return e._gsap||vr(Oe(e))[0]._gsap},mn=function(e,t,r){return(r=e[t])&&G(r)?e[t]():or(r)&&e.getAttribute&&e.getAttribute(t)||r},fe=function(e,t){return(e=e.split(",")).forEach(t)||e},J=function(e){return Math.round(e*1e5)/1e5||0},Q=function(e){return Math.round(e*1e7)/1e7||0},nt=function(e,t){var r=t.charAt(0),n=parseFloat(t.substr(2));return e=parseFloat(e),r==="+"?e+n:r==="-"?e-n:r==="*"?e*n:e/n},gs=function(e,t){for(var r=t.length,n=0;e.indexOf(t[n])<0&&++n<r;);return n<r},Yt=function(){var e=Fe.length,t=Fe.slice(0),r,n;for(mr={},Fe.length=0,r=0;r<e;r++)n=t[r],n&&n._lazy&&(n.render(n._lazy[0],n._lazy[1],!0)._lazy=0)},xr=function(e){return!!(e._initted||e._startAt||e.add)},_n=function(e,t,r,n){Fe.length&&!se&&Yt(),e.render(t,r,!!(se&&t<0&&xr(e))),Fe.length&&!se&&Yt()},gn=function(e){var t=parseFloat(e);return(t||t===0)&&(e+"").match(un).length<2?t:re(e)?e.trim():e},vn=function(e){return e},xe=function(e,t){for(var r in t)r in e||(e[r]=t[r]);return e},vs=function(e){return function(t,r){for(var n in r)n in t||n==="duration"&&e||n==="ease"||(t[n]=r[n])}},it=function(e,t){for(var r in t)e[r]=t[r];return e},xn=function i(e,t){for(var r in t)r!=="__proto__"&&r!=="constructor"&&r!=="prototype"&&(e[r]=Ce(t[r])?i(e[r]||(e[r]={}),t[r]):t[r]);return e},$t=function(e,t){var r={},n;for(n in e)n in t||(r[n]=e[n]);return r},bt=function(e){var t=e.parent||W,r=e.keyframes?vs(ae(e.keyframes)):xe;if(de(e.inherit))for(;t;)r(e,t.vars.defaults),t=t.parent||t._dp;return e},xs=function(e,t){for(var r=e.length,n=r===t.length;n&&r--&&e[r]===t[r];);return r<0},yn=function(e,t,r,n,s){var a=e[n],o;if(s)for(o=t[s];a&&a[s]>o;)a=a._prev;return a?(t._next=a._next,a._next=t):(t._next=e[r],e[r]=t),t._next?t._next._prev=t:e[n]=t,t._prev=a,t.parent=t._dp=e,t},Wt=function(e,t,r,n){r===void 0&&(r="_first"),n===void 0&&(n="_last");var s=t._prev,a=t._next;s?s._next=a:e[r]===t&&(e[r]=a),a?a._prev=s:e[n]===t&&(e[n]=s),t._next=t._prev=t.parent=null},Le=function(e,t){e.parent&&(!t||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},Ye=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},ys=function(e){for(var t=e.parent;t&&t.parent;)t._dirty=1,t.totalDuration(),t=t.parent;return e},yr=function(e,t,r,n){return e._startAt&&(se?e._startAt.revert(Ht):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(t,!0,n))},bs=function i(e){return!e||e._ts&&i(e.parent)},bn=function(e){return e._repeat?st(e._tTime,e=e.duration()+e._rDelay)*e:0},st=function(e,t){var r=Math.floor(e=Q(e/t));return e&&r===e?r-1:r},Xt=function(e,t){return(e-t._start)*t._ts+(t._ts>=0?0:t._dirty?t.totalDuration():t._tDur)},Gt=function(e){return e._end=Q(e._start+(e._tDur/Math.abs(e._ts||e._rts||I)||0))},Jt=function(e,t){var r=e._dp;return r&&r.smoothChildTiming&&e._ts&&(e._start=Q(r._time-(e._ts>0?t/e._ts:((e._dirty?e.totalDuration():e._tDur)-t)/-e._ts)),Gt(e),r._dirty||Ye(r,e)),e},wn=function(e,t){var r;if((t._time||!t._dur&&t._initted||t._start<e._time&&(t._dur||!t.add))&&(r=Xt(e.rawTime(),t),(!t._dur||Tt(0,t.totalDuration(),r)-t._tTime>I)&&t.render(r,!0)),Ye(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=-I}},ke=function(e,t,r,n){return t.parent&&Le(t),t._start=Q((Ae(r)?r:r||e!==W?je(e,r,t):e._time)+t._delay),t._end=Q(t._start+(t.totalDuration()/Math.abs(t.timeScale())||0)),yn(e,t,"_first","_last",e._sort?"_start":0),br(t)||(e._recent=t),n||wn(e,t),e._ts<0&&Jt(e,e._tTime),e},Tn=function(e,t){return(ge.ScrollTrigger||hr("scrollTrigger",t))&&ge.ScrollTrigger.create(t,e)},jn=function(e,t,r,n,s){if(Pr(e,t,s),!e._initted)return 1;if(!r&&e._pt&&!se&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&hn!==be.frame)return Fe.push(e),e._lazy=[s,n],1},ws=function i(e){var t=e.parent;return t&&t._ts&&t._initted&&!t._lock&&(t.rawTime()<0||i(t))},br=function(e){var t=e.data;return t==="isFromStart"||t==="isStart"},Ts=function(e,t,r,n){var s=e.ratio,a=t<0||!t&&(!e._start&&ws(e)&&!(!e._initted&&br(e))||(e._ts<0||e._dp._ts<0)&&!br(e))?0:1,o=e._rDelay,l=0,u,c,h;if(o&&e._repeat&&(l=Tt(0,e._tDur,t),c=st(l,o),e._yoyo&&c&1&&(a=1-a),c!==st(e._tTime,o)&&(s=1-a,e.vars.repeatRefresh&&e._initted&&e.invalidate())),a!==s||se||n||e._zTime===I||!t&&e._zTime){if(!e._initted&&jn(e,t,n,r,l))return;for(h=e._zTime,e._zTime=t||(r?I:0),r||(r=t&&!h),e.ratio=a,e._from&&(a=1-a),e._time=0,e._tTime=l,u=e._pt;u;)u.r(a,u.d),u=u._next;t<0&&yr(e,t,r,!0),e._onUpdate&&!r&&ye(e,"onUpdate"),l&&e._repeat&&!r&&e.parent&&ye(e,"onRepeat"),(t>=e._tDur||t<0)&&e.ratio===a&&(a&&Le(e,1),!r&&!se&&(ye(e,a?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=t)},js=function(e,t,r){var n;if(r>t)for(n=e._first;n&&n._start<=r;){if(n.data==="isPause"&&n._start>t)return n;n=n._next}else for(n=e._last;n&&n._start>=r;){if(n.data==="isPause"&&n._start<t)return n;n=n._prev}},at=function(e,t,r,n){var s=e._repeat,a=Q(t)||0,o=e._tTime/e._tDur;return o&&!n&&(e._time*=a/e._dur),e._dur=a,e._tDur=s?s<0?1e10:Q(a*(s+1)+e._rDelay*s):a,o>0&&!n&&Jt(e,e._tTime=e._tDur*o),e.parent&&Gt(e),r||Ye(e.parent,e),e},On=function(e){return e instanceof ue?Ye(e):at(e,e._dur)},Os={_start:0,endTime:yt,totalDuration:yt},je=function i(e,t,r){var n=e.labels,s=e._recent||Os,a=e.duration()>=Te?s.endTime(!1):e._dur,o,l,u;return re(t)&&(isNaN(t)||t in n)?(l=t.charAt(0),u=t.substr(-1)==="%",o=t.indexOf("="),l==="<"||l===">"?(o>=0&&(t=t.replace(/=/,"")),(l==="<"?s._start:s.endTime(s._repeat>=0))+(parseFloat(t.substr(1))||0)*(u?(o<0?s:r).totalDuration()/100:1)):o<0?(t in n||(n[t]=a),n[t]):(l=parseFloat(t.charAt(o-1)+t.substr(o+1)),u&&r&&(l=l/100*(ae(r)?r[0]:r).totalDuration()),o>1?i(e,t.substr(0,o-1),r)+l:a+l)):t==null?a:+t},wt=function(e,t,r){var n=Ae(t[1]),s=(n?2:1)+(e<2?0:1),a=t[s],o,l;if(n&&(a.duration=t[1]),a.parent=r,e){for(o=a,l=r;l&&!("immediateRender"in o);)o=l.vars.defaults||{},l=de(l.vars.inherit)&&l.parent;a.immediateRender=de(o.immediateRender),e<2?a.runBackwards=1:a.startAt=t[s-1]}return new K(t[0],a,t[s+1])},Ie=function(e,t){return e||e===0?t(e):t},Tt=function(e,t,r){return r<e?e:r>t?t:r},oe=function(e,t){return!re(e)||!(t=ps.exec(e))?"":t[1]},qs=function(e,t,r){return Ie(r,function(n){return Tt(e,t,n)})},wr=[].slice,qn=function(e,t){return e&&Ce(e)&&"length"in e&&(!t&&!e.length||e.length-1 in e&&Ce(e[0]))&&!e.nodeType&&e!==Se},Cs=function(e,t,r){return r===void 0&&(r=[]),e.forEach(function(n){var s;return re(n)&&!t||qn(n,1)?(s=r).push.apply(s,Oe(n)):r.push(n)})||r},Oe=function(e,t,r){return $&&!t&&$.selector?$.selector(e):re(e)&&!r&&(dr||!lt())?wr.call((t||fr).querySelectorAll(e),0):ae(e)?Cs(e,r):qn(e)?wr.call(e,0):e?[e]:[]},Tr=function(e){return e=Oe(e)[0]||xt("Invalid scope")||{},function(t){var r=e.current||e.nativeElement||e;return Oe(t,r.querySelectorAll?r:r===e?xt("Invalid scope")||fr.createElement("div"):e)}},Cn=function(e){return e.sort(function(){return .5-Math.random()})},Sn=function(e){if(G(e))return e;var t=Ce(e)?e:{each:e},r=$e(t.ease),n=t.from||0,s=parseFloat(t.base)||0,a={},o=n>0&&n<1,l=isNaN(n)||o,u=t.axis,c=n,h=n;return re(n)?c=h={center:.5,edges:.5,end:1}[n]||0:!o&&l&&(c=n[0],h=n[1]),function(p,m,_){var f=(_||t).length,g=a[f],x,v,b,T,y,O,q,C,j;if(!g){if(j=t.grid==="auto"?0:(t.grid||[1,Te])[1],!j){for(q=-Te;q<(q=_[j++].getBoundingClientRect().left)&&j<f;);j<f&&j--}for(g=a[f]=[],x=l?Math.min(j,f)*c-.5:n%j,v=j===Te?0:l?f*h/j-.5:n/j|0,q=0,C=Te,O=0;O<f;O++)b=O%j-x,T=v-(O/j|0),g[O]=y=u?Math.abs(u==="y"?T:b):sn(b*b+T*T),y>q&&(q=y),y<C&&(C=y);n==="random"&&Cn(g),g.max=q-C,g.min=C,g.v=f=(parseFloat(t.amount)||parseFloat(t.each)*(j>f?f-1:u?u==="y"?f/j:j:Math.max(j,f/j))||0)*(n==="edges"?-1:1),g.b=f<0?s-f:s,g.u=oe(t.amount||t.each)||0,r=r&&f<0?Zn(r):r}return f=(g[p]-g.min)/g.max||0,Q(g.b+(r?r(f):f)*g.v)+g.u}},jr=function(e){var t=Math.pow(10,((e+"").split(".")[1]||"").length);return function(r){var n=Q(Math.round(parseFloat(r)/e)*e*t);return(n-n%1)/t+(Ae(r)?0:oe(r))}},kn=function(e,t){var r=ae(e),n,s;return!r&&Ce(e)&&(n=r=e.radius||Te,e.values?(e=Oe(e.values),(s=!Ae(e[0]))&&(n*=n)):e=jr(e.increment)),Ie(t,r?G(e)?function(a){return s=e(a),Math.abs(s-a)<=n?s:a}:function(a){for(var o=parseFloat(s?a.x:a),l=parseFloat(s?a.y:0),u=Te,c=0,h=e.length,p,m;h--;)s?(p=e[h].x-o,m=e[h].y-l,p=p*p+m*m):p=Math.abs(e[h]-o),p<u&&(u=p,c=h);return c=!n||u<=n?e[c]:a,s||c===a||Ae(a)?c:c+oe(a)}:jr(e))},Pn=function(e,t,r,n){return Ie(ae(e)?!t:r===!0?!!(r=0):!n,function(){return ae(e)?e[~~(Math.random()*e.length)]:(r=r||1e-5)&&(n=r<1?Math.pow(10,(r+"").length-2):1)&&Math.floor(Math.round((e-r/2+Math.random()*(t-e+r*.99))/r)*r*n)/n})},Ss=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(n){return t.reduce(function(s,a){return a(s)},n)}},ks=function(e,t){return function(r){return e(parseFloat(r))+(t||oe(r))}},Ps=function(e,t,r){return En(e,t,0,1,r)},Nn=function(e,t,r){return Ie(r,function(n){return e[~~t(n)]})},Ns=function i(e,t,r){var n=t-e;return ae(e)?Nn(e,i(0,e.length),t):Ie(r,function(s){return(n+(s-e)%n)%n+e})},Es=function i(e,t,r){var n=t-e,s=n*2;return ae(e)?Nn(e,i(0,e.length-1),t):Ie(r,function(a){return a=(s+(a-e)%s)%s||0,e+(a>n?s-a:a)})},jt=function(e){for(var t=0,r="",n,s,a,o;~(n=e.indexOf("random(",t));)a=e.indexOf(")",n),o=e.charAt(n+7)==="[",s=e.substr(n+7,a-n-7).match(o?un:ur),r+=e.substr(t,n-t)+Pn(o?s:+s[0],o?0:+s[1],+s[2]||1e-5),t=a+1;return r+e.substr(t,e.length-t)},En=function(e,t,r,n,s){var a=t-e,o=n-r;return Ie(s,function(l){return r+((l-e)/a*o||0)})},As=function i(e,t,r,n){var s=isNaN(e+t)?0:function(m){return(1-m)*e+m*t};if(!s){var a=re(e),o={},l,u,c,h,p;if(r===!0&&(n=1)&&(r=null),a)e={p:e},t={p:t};else if(ae(e)&&!ae(t)){for(c=[],h=e.length,p=h-2,u=1;u<h;u++)c.push(i(e[u-1],e[u]));h--,s=function(_){_*=h;var f=Math.min(p,~~_);return c[f](_-f)},r=t}else n||(e=it(ae(e)?[]:{},e));if(!c){for(l in t)Sr.call(o,e,l,"get",t[l]);s=function(_){return Ar(_,o)||(a?e.p:e)}}}return Ie(r,s)},An=function(e,t,r){var n=e.labels,s=Te,a,o,l;for(a in n)o=n[a]-t,o<0==!!r&&o&&s>(o=Math.abs(o))&&(l=a,s=o);return l},ye=function(e,t,r){var n=e.vars,s=n[t],a=$,o=e._ctx,l,u,c;if(s)return l=n[t+"Params"],u=n.callbackScope||e,r&&Fe.length&&Yt(),o&&($=o),c=l?s.apply(u,l):s.call(u),$=a,c},Ot=function(e){return Le(e),e.scrollTrigger&&e.scrollTrigger.kill(!!se),e.progress()<1&&ye(e,"onInterrupt"),e},ot,Mn=[],Rn=function(e){if(e)if(e=!e.name&&e.default||e,lr()||e.headless){var t=e.name,r=G(e),n=t&&!r&&e.init?function(){this._props=[]}:e,s={init:yt,render:Ar,add:Sr,kill:Xs,modifier:Ws,rawVars:0},a={targetTest:0,get:0,getSetter:Er,aliases:{},register:0};if(lt(),e!==n){if(ve[t])return;xe(n,xe($t(e,s),a)),it(n.prototype,it(s,$t(e,a))),ve[n.prop=t]=n,e.targetTest&&(Ut.push(n),pr[t]=1),t=(t==="css"?"CSS":t.charAt(0).toUpperCase()+t.substr(1))+"Plugin"}fn(t,n),e.register&&e.register(pe,n,he)}else Mn.push(e)},Z=255,qt={aqua:[0,Z,Z],lime:[0,Z,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,Z],navy:[0,0,128],white:[Z,Z,Z],olive:[128,128,0],yellow:[Z,Z,0],orange:[Z,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[Z,0,0],pink:[Z,192,203],cyan:[0,Z,Z],transparent:[Z,Z,Z,0]},Or=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)*Z+.5|0},Dn=function(e,t,r){var n=e?Ae(e)?[e>>16,e>>8&Z,e&Z]:0:qt.black,s,a,o,l,u,c,h,p,m,_;if(!n){if(e.substr(-1)===","&&(e=e.substr(0,e.length-1)),qt[e])n=qt[e];else if(e.charAt(0)==="#"){if(e.length<6&&(s=e.charAt(1),a=e.charAt(2),o=e.charAt(3),e="#"+s+s+a+a+o+o+(e.length===5?e.charAt(4)+e.charAt(4):"")),e.length===9)return n=parseInt(e.substr(1,6),16),[n>>16,n>>8&Z,n&Z,parseInt(e.substr(7),16)/255];e=parseInt(e.substr(1),16),n=[e>>16,e>>8&Z,e&Z]}else if(e.substr(0,3)==="hsl"){if(n=_=e.match(ur),!t)l=+n[0]%360/360,u=+n[1]/100,c=+n[2]/100,a=c<=.5?c*(u+1):c+u-c*u,s=c*2-a,n.length>3&&(n[3]*=1),n[0]=Or(l+1/3,s,a),n[1]=Or(l,s,a),n[2]=Or(l-1/3,s,a);else if(~e.indexOf("="))return n=e.match(on),r&&n.length<4&&(n[3]=1),n}else n=e.match(ur)||qt.transparent;n=n.map(Number)}return t&&!_&&(s=n[0]/Z,a=n[1]/Z,o=n[2]/Z,h=Math.max(s,a,o),p=Math.min(s,a,o),c=(h+p)/2,h===p?l=u=0:(m=h-p,u=c>.5?m/(2-h-p):m/(h+p),l=h===s?(a-o)/m+(a<o?6:0):h===a?(o-s)/m+2:(s-a)/m+4,l*=60),n[0]=~~(l+.5),n[1]=~~(u*100+.5),n[2]=~~(c*100+.5)),r&&n.length<4&&(n[3]=1),n},Fn=function(e){var t=[],r=[],n=-1;return e.split(Ze).forEach(function(s){var a=s.match(rt)||[];t.push.apply(t,a),r.push(n+=a.length+1)}),t.c=r,t},Ln=function(e,t,r){var n="",s=(e+n).match(Ze),a=t?"hsla(":"rgba(",o=0,l,u,c,h;if(!s)return e;if(s=s.map(function(p){return(p=Dn(p,t,1))&&a+(t?p[0]+","+p[1]+"%,"+p[2]+"%,"+p[3]:p.join(","))+")"}),r&&(c=Fn(e),l=r.c,l.join(n)!==c.c.join(n)))for(u=e.replace(Ze,"1").split(rt),h=u.length-1;o<h;o++)n+=u[o]+(~l.indexOf(o)?s.shift()||a+"0,0,0,0)":(c.length?c:s.length?s:r).shift());if(!u)for(u=e.split(Ze),h=u.length-1;o<h;o++)n+=u[o]+s[o];return n+u[h]},Ze=(function(){var i="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",e;for(e in qt)i+="|"+e+"\\b";return new RegExp(i+")","gi")})(),Ms=/hsl[a]?\(/,In=function(e){var t=e.join(" "),r;if(Ze.lastIndex=0,Ze.test(t))return r=Ms.test(t),e[1]=Ln(e[1],r),e[0]=Ln(e[0],r,Fn(e[1])),!0},Ct,be=(function(){var i=Date.now,e=500,t=33,r=i(),n=r,s=1e3/240,a=s,o=[],l,u,c,h,p,m,_=function f(g){var x=i()-n,v=g===!0,b,T,y,O;if((x>e||x<0)&&(r+=x-t),n+=x,y=n-r,b=y-a,(b>0||v)&&(O=++h.frame,p=y-h.time*1e3,h.time=y=y/1e3,a+=b+(b>=s?4:s-b),T=1),v||(l=u(f)),T)for(m=0;m<o.length;m++)o[m](y,p,O,g)};return h={time:0,frame:0,tick:function(){_(!0)},deltaRatio:function(g){return p/(1e3/(g||60))},wake:function(){cn&&(!dr&&lr()&&(Se=dr=window,fr=Se.document||{},ge.gsap=pe,(Se.gsapVersions||(Se.gsapVersions=[])).push(pe.version),dn(Vt||Se.GreenSockGlobals||!Se.gsap&&Se||{}),Mn.forEach(Rn)),c=typeof requestAnimationFrame<"u"&&requestAnimationFrame,l&&h.sleep(),u=c||function(g){return setTimeout(g,a-h.time*1e3+1|0)},Ct=1,_(2))},sleep:function(){(c?cancelAnimationFrame:clearTimeout)(l),Ct=0,u=yt},lagSmoothing:function(g,x){e=g||1/0,t=Math.min(x||33,e)},fps:function(g){s=1e3/(g||240),a=h.time*1e3+s},add:function(g,x,v){var b=x?function(T,y,O,q){g(T,y,O,q),h.remove(b)}:g;return h.remove(g),o[v?"unshift":"push"](b),lt(),b},remove:function(g,x){~(x=o.indexOf(g))&&o.splice(x,1)&&m>=x&&m--},_listeners:o},h})(),lt=function(){return!Ct&&be.wake()},A={},Rs=/^[\d.\-M][\d.\-,\s]/,Ds=/["']/g,Fs=function(e){for(var t={},r=e.substr(1,e.length-3).split(":"),n=r[0],s=1,a=r.length,o,l,u;s<a;s++)l=r[s],o=s!==a-1?l.lastIndexOf(","):l.length,u=l.substr(0,o),t[n]=isNaN(u)?u.replace(Ds,"").trim():+u,n=l.substr(o+1).trim();return t},Ls=function(e){var t=e.indexOf("(")+1,r=e.indexOf(")"),n=e.indexOf("(",t);return e.substring(t,~n&&n<r?e.indexOf(")",r+1):r)},Is=function(e){var t=(e+"").split("("),r=A[t[0]];return r&&t.length>1&&r.config?r.config.apply(null,~e.indexOf("{")?[Fs(t[1])]:Ls(e).split(",").map(gn)):A._CE&&Rs.test(e)?A._CE("",e):r},Zn=function(e){return function(t){return 1-e(1-t)}},zn=function i(e,t){for(var r=e._first,n;r;)r instanceof ue?i(r,t):r.vars.yoyoEase&&(!r._yoyo||!r._repeat)&&r._yoyo!==t&&(r.timeline?i(r.timeline,t):(n=r._ease,r._ease=r._yEase,r._yEase=n,r._yoyo=t)),r=r._next},$e=function(e,t){return e&&(G(e)?e:A[e]||Is(e))||t},We=function(e,t,r,n){r===void 0&&(r=function(l){return 1-t(1-l)}),n===void 0&&(n=function(l){return l<.5?t(l*2)/2:1-t((1-l)*2)/2});var s={easeIn:t,easeOut:r,easeInOut:n},a;return fe(e,function(o){A[o]=ge[o]=s,A[a=o.toLowerCase()]=r;for(var l in s)A[a+(l==="easeIn"?".in":l==="easeOut"?".out":".inOut")]=A[o+"."+l]=s[l]}),s},Bn=function(e){return function(t){return t<.5?(1-e(1-t*2))/2:.5+e((t-.5)*2)/2}},qr=function i(e,t,r){var n=t>=1?t:1,s=(r||(e?.3:.45))/(t<1?t:1),a=s/ar*(Math.asin(1/n)||0),o=function(c){return c===1?1:n*Math.pow(2,-10*c)*hs((c-a)*s)+1},l=e==="out"?o:e==="in"?function(u){return 1-o(1-u)}:Bn(o);return s=ar/s,l.config=function(u,c){return i(e,u,c)},l},Cr=function i(e,t){t===void 0&&(t=1.70158);var r=function(a){return a?--a*a*((t+1)*a+t)+1:0},n=e==="out"?r:e==="in"?function(s){return 1-r(1-s)}:Bn(r);return n.config=function(s){return i(e,s)},n};fe("Linear,Quad,Cubic,Quart,Quint,Strong",function(i,e){var t=e<5?e+1:e;We(i+",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})}),A.Linear.easeNone=A.none=A.Linear.easeIn,We("Elastic",qr("in"),qr("out"),qr()),(function(i,e){var t=1/e,r=2*t,n=2.5*t,s=function(o){return o<t?i*o*o:o<r?i*Math.pow(o-1.5/e,2)+.75:o<n?i*(o-=2.25/e)*o+.9375:i*Math.pow(o-2.625/e,2)+.984375};We("Bounce",function(a){return 1-s(1-a)},s)})(7.5625,2.75),We("Expo",function(i){return Math.pow(2,10*(i-1))*i+i*i*i*i*i*i*(1-i)}),We("Circ",function(i){return-(sn(1-i*i)-1)}),We("Sine",function(i){return i===1?1:-fs(i*cs)+1}),We("Back",Cr("in"),Cr("out"),Cr()),A.SteppedEase=A.steps=ge.SteppedEase={config:function(e,t){e===void 0&&(e=1);var r=1/e,n=e+(t?0:1),s=t?1:0,a=1-I;return function(o){return((n*Tt(0,a,o)|0)+s)*r}}},tt.ease=A["quad.out"],fe("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(i){return gr+=i+","+i+"Params,"});var Vn=function(e,t){this.id=ds++,e._gsap=this,this.target=e,this.harness=t,this.get=t?t.get:mn,this.set=t?t.getSetter:Er},St=(function(){function i(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,at(this,+t.duration,1,1),this.data=t.data,$&&(this._ctx=$,$.data.push(this)),Ct||be.wake()}var e=i.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,at(this,this._repeat<0?r:(r-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(r,n){if(lt(),!arguments.length)return this._tTime;var s=this._dp;if(s&&s.smoothChildTiming&&this._ts){for(Jt(this,r),!s._dp||s.parent||wn(s,this);s&&s.parent;)s.parent._time!==s._start+(s._ts>=0?s._tTime/s._ts:(s.totalDuration()-s._tTime)/-s._ts)&&s.totalTime(s._tTime,!0),s=s.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&r<this._tDur||this._ts<0&&r>0||!this._tDur&&!r)&&ke(this._dp,this,this._start-this._delay)}return(this._tTime!==r||!this._dur&&!n||this._initted&&Math.abs(this._zTime)===I||!r&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=r),_n(this,r,n)),this},e.time=function(r,n){return arguments.length?this.totalTime(Math.min(this.totalDuration(),r+bn(this))%(this._dur+this._rDelay)||(r?this._dur:0),n):this._time},e.totalProgress=function(r,n){return arguments.length?this.totalTime(this.totalDuration()*r,n):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>=0&&this._initted?1:0},e.progress=function(r,n){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-r:r)+bn(this),n):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},e.iteration=function(r,n){var s=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(r-1)*s,n):this._repeat?st(this._tTime,s)+1:1},e.timeScale=function(r,n){if(!arguments.length)return this._rts===-I?0:this._rts;if(this._rts===r)return this;var s=this.parent&&this._ts?Xt(this.parent._time,this):this._tTime;return this._rts=+r||0,this._ts=this._ps||r===-I?0:this._rts,this.totalTime(Tt(-Math.abs(this._delay),this.totalDuration(),s),n!==!1),Gt(this),ys(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):(lt(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==I&&(this._tTime-=I)))),this):this._ps},e.startTime=function(r){if(arguments.length){this._start=r;var n=this.parent||this._dp;return n&&(n._sort||!this.parent)&&ke(n,this,r-this._delay),this}return this._start},e.endTime=function(r){return this._start+(de(r)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},e.rawTime=function(r){var n=this.parent||this._dp;return n?r&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?Xt(n.rawTime(r),this):this._tTime:this._tTime},e.revert=function(r){r===void 0&&(r=_s);var n=se;return se=r,xr(this)&&(this.timeline&&this.timeline.revert(r),this.totalTime(-.01,r.suppressEvents)),this.data!=="nested"&&r.kill!==!1&&this.kill(),se=n,this},e.globalTime=function(r){for(var n=this,s=arguments.length?r:n.rawTime();n;)s=n._start+s/(Math.abs(n._ts)||1),n=n._dp;return!this.parent&&this._sat?this._sat.globalTime(r):s},e.repeat=function(r){return arguments.length?(this._repeat=r===1/0?-2:r,On(this)):this._repeat===-2?1/0:this._repeat},e.repeatDelay=function(r){if(arguments.length){var n=this._time;return this._rDelay=r,On(this),n?this.time(n):this}return this._rDelay},e.yoyo=function(r){return arguments.length?(this._yoyo=r,this):this._yoyo},e.seek=function(r,n){return this.totalTime(je(this,r),de(n))},e.restart=function(r,n){return this.play().totalTime(r?-this._delay:0,de(n)),this._dur||(this._zTime=-I),this},e.play=function(r,n){return r!=null&&this.seek(r,n),this.reversed(!1).paused(!1)},e.reverse=function(r,n){return r!=null&&this.seek(r||this.totalDuration(),n),this.reversed(!0).paused(!1)},e.pause=function(r,n){return r!=null&&this.seek(r,n),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?-I:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-I,this},e.isActive=function(){var r=this.parent||this._dp,n=this._start,s;return!!(!r||this._ts&&this._initted&&r.isActive()&&(s=r.rawTime(!0))>=n&&s<this.endTime(!0)-I)},e.eventCallback=function(r,n,s){var a=this.vars;return arguments.length>1?(n?(a[r]=n,s&&(a[r+"Params"]=s),r==="onUpdate"&&(this._onUpdate=n)):delete a[r],this):a[r]},e.then=function(r){var n=this;return new Promise(function(s){var a=G(r)?r:vn,o=function(){var u=n.then;n.then=null,G(a)&&(a=a(n))&&(a.then||a===n)&&(n.then=u),s(a),n.then=u};n._initted&&n.totalProgress()===1&&n._ts>=0||!n._tTime&&n._ts<0?o():n._prom=o})},e.kill=function(){Ot(this)},i})();xe(St.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:-I,_prom:0,_ps:!1,_rts:1});var ue=(function(i){nn(e,i);function e(r,n){var s;return r===void 0&&(r={}),s=i.call(this,r)||this,s.labels={},s.smoothChildTiming=!!r.smoothChildTiming,s.autoRemoveChildren=!!r.autoRemoveChildren,s._sort=de(r.sortChildren),W&&ke(r.parent||W,Ee(s),n),r.reversed&&s.reverse(),r.paused&&s.paused(!0),r.scrollTrigger&&Tn(Ee(s),r.scrollTrigger),s}var t=e.prototype;return t.to=function(n,s,a){return wt(0,arguments,this),this},t.from=function(n,s,a){return wt(1,arguments,this),this},t.fromTo=function(n,s,a,o){return wt(2,arguments,this),this},t.set=function(n,s,a){return s.duration=0,s.parent=this,bt(s).repeatDelay||(s.repeat=0),s.immediateRender=!!s.immediateRender,new K(n,s,je(this,a),1),this},t.call=function(n,s,a){return ke(this,K.delayedCall(0,n,s),a)},t.staggerTo=function(n,s,a,o,l,u,c){return a.duration=s,a.stagger=a.stagger||o,a.onComplete=u,a.onCompleteParams=c,a.parent=this,new K(n,a,je(this,l)),this},t.staggerFrom=function(n,s,a,o,l,u,c){return a.runBackwards=1,bt(a).immediateRender=de(a.immediateRender),this.staggerTo(n,s,a,o,l,u,c)},t.staggerFromTo=function(n,s,a,o,l,u,c,h){return o.startAt=a,bt(o).immediateRender=de(o.immediateRender),this.staggerTo(n,s,o,l,u,c,h)},t.render=function(n,s,a){var o=this._time,l=this._dirty?this.totalDuration():this._tDur,u=this._dur,c=n<=0?0:Q(n),h=this._zTime<0!=n<0&&(this._initted||!u),p,m,_,f,g,x,v,b,T,y,O,q;if(this!==W&&c>l&&n>=0&&(c=l),c!==this._tTime||a||h){if(o!==this._time&&u&&(c+=this._time-o,n+=this._time-o),p=c,T=this._start,b=this._ts,x=!b,h&&(u||(o=this._zTime),(n||!s)&&(this._zTime=n)),this._repeat){if(O=this._yoyo,g=u+this._rDelay,this._repeat<-1&&n<0)return this.totalTime(g*100+n,s,a);if(p=Q(c%g),c===l?(f=this._repeat,p=u):(y=Q(c/g),f=~~y,f&&f===y&&(p=u,f--),p>u&&(p=u)),y=st(this._tTime,g),!o&&this._tTime&&y!==f&&this._tTime-y*g-this._dur<=0&&(y=f),O&&f&1&&(p=u-p,q=1),f!==y&&!this._lock){var C=O&&y&1,j=C===(O&&f&1);if(f<y&&(C=!C),o=C?0:c%u?u:c,this._lock=1,this.render(o||(q?0:Q(f*g)),s,!u)._lock=0,this._tTime=c,!s&&this.parent&&ye(this,"onRepeat"),this.vars.repeatRefresh&&!q&&(this.invalidate()._lock=1),o&&o!==this._time||x!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(u=this._dur,l=this._tDur,j&&(this._lock=2,o=C?u:-1e-4,this.render(o,!0),this.vars.repeatRefresh&&!q&&this.invalidate()),this._lock=0,!this._ts&&!x)return this;zn(this,q)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(v=js(this,Q(o),Q(p)),v&&(c-=p-(p=v._start))),this._tTime=c,this._time=p,this._act=!b,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=n,o=0),!o&&c&&!s&&!y&&(ye(this,"onStart"),this._tTime!==c))return this;if(p>=o&&n>=0)for(m=this._first;m;){if(_=m._next,(m._act||p>=m._start)&&m._ts&&v!==m){if(m.parent!==this)return this.render(n,s,a);if(m.render(m._ts>0?(p-m._start)*m._ts:(m._dirty?m.totalDuration():m._tDur)+(p-m._start)*m._ts,s,a),p!==this._time||!this._ts&&!x){v=0,_&&(c+=this._zTime=-I);break}}m=_}else{m=this._last;for(var N=n<0?n:p;m;){if(_=m._prev,(m._act||N<=m._end)&&m._ts&&v!==m){if(m.parent!==this)return this.render(n,s,a);if(m.render(m._ts>0?(N-m._start)*m._ts:(m._dirty?m.totalDuration():m._tDur)+(N-m._start)*m._ts,s,a||se&&xr(m)),p!==this._time||!this._ts&&!x){v=0,_&&(c+=this._zTime=N?-I:I);break}}m=_}}if(v&&!s&&(this.pause(),v.render(p>=o?0:-I)._zTime=p>=o?1:-1,this._ts))return this._start=T,Gt(this),this.render(n,s,a);this._onUpdate&&!s&&ye(this,"onUpdate",!0),(c===l&&this._tTime>=this.totalDuration()||!c&&o)&&(T===this._start||Math.abs(b)!==Math.abs(this._ts))&&(this._lock||((n||!u)&&(c===l&&this._ts>0||!c&&this._ts<0)&&Le(this,1),!s&&!(n<0&&!o)&&(c||o||!l)&&(ye(this,c===l&&n>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(c<l&&this.timeScale()>0)&&this._prom())))}return this},t.add=function(n,s){var a=this;if(Ae(s)||(s=je(this,s,n)),!(n instanceof St)){if(ae(n))return n.forEach(function(o){return a.add(o,s)}),this;if(re(n))return this.addLabel(n,s);if(G(n))n=K.delayedCall(0,n);else return this}return this!==n?ke(this,n,s):this},t.getChildren=function(n,s,a,o){n===void 0&&(n=!0),s===void 0&&(s=!0),a===void 0&&(a=!0),o===void 0&&(o=-Te);for(var l=[],u=this._first;u;)u._start>=o&&(u instanceof K?s&&l.push(u):(a&&l.push(u),n&&l.push.apply(l,u.getChildren(!0,s,a)))),u=u._next;return l},t.getById=function(n){for(var s=this.getChildren(1,1,1),a=s.length;a--;)if(s[a].vars.id===n)return s[a]},t.remove=function(n){return re(n)?this.removeLabel(n):G(n)?this.killTweensOf(n):(n.parent===this&&Wt(this,n),n===this._recent&&(this._recent=this._last),Ye(this))},t.totalTime=function(n,s){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=Q(be.time-(this._ts>0?n/this._ts:(this.totalDuration()-n)/-this._ts))),i.prototype.totalTime.call(this,n,s),this._forcing=0,this):this._tTime},t.addLabel=function(n,s){return this.labels[n]=je(this,s),this},t.removeLabel=function(n){return delete this.labels[n],this},t.addPause=function(n,s,a){var o=K.delayedCall(0,s||yt,a);return o.data="isPause",this._hasPause=1,ke(this,o,je(this,n))},t.removePause=function(n){var s=this._first;for(n=je(this,n);s;)s._start===n&&s.data==="isPause"&&Le(s),s=s._next},t.killTweensOf=function(n,s,a){for(var o=this.getTweensOf(n,a),l=o.length;l--;)ze!==o[l]&&o[l].kill(n,s);return this},t.getTweensOf=function(n,s){for(var a=[],o=Oe(n),l=this._first,u=Ae(s),c;l;)l instanceof K?gs(l._targets,o)&&(u?(!ze||l._initted&&l._ts)&&l.globalTime(0)<=s&&l.globalTime(l.totalDuration())>s:!s||l.isActive())&&a.push(l):(c=l.getTweensOf(o,s)).length&&a.push.apply(a,c),l=l._next;return a},t.tweenTo=function(n,s){s=s||{};var a=this,o=je(a,n),l=s,u=l.startAt,c=l.onStart,h=l.onStartParams,p=l.immediateRender,m,_=K.to(a,xe({ease:s.ease||"none",lazy:!1,immediateRender:!1,time:o,overwrite:"auto",duration:s.duration||Math.abs((o-(u&&"time"in u?u.time:a._time))/a.timeScale())||I,onStart:function(){if(a.pause(),!m){var g=s.duration||Math.abs((o-(u&&"time"in u?u.time:a._time))/a.timeScale());_._dur!==g&&at(_,g,0,1).render(_._time,!0,!0),m=1}c&&c.apply(_,h||[])}},s));return p?_.render(0):_},t.tweenFromTo=function(n,s,a){return this.tweenTo(s,xe({startAt:{time:je(this,n)}},a))},t.recent=function(){return this._recent},t.nextLabel=function(n){return n===void 0&&(n=this._time),An(this,je(this,n))},t.previousLabel=function(n){return n===void 0&&(n=this._time),An(this,je(this,n),1)},t.currentLabel=function(n){return arguments.length?this.seek(n,!0):this.previousLabel(this._time+I)},t.shiftChildren=function(n,s,a){a===void 0&&(a=0);for(var o=this._first,l=this.labels,u;o;)o._start>=a&&(o._start+=n,o._end+=n),o=o._next;if(s)for(u in l)l[u]>=a&&(l[u]+=n);return Ye(this)},t.invalidate=function(n){var s=this._first;for(this._lock=0;s;)s.invalidate(n),s=s._next;return i.prototype.invalidate.call(this,n)},t.clear=function(n){n===void 0&&(n=!0);for(var s=this._first,a;s;)a=s._next,this.remove(s),s=a;return this._dp&&(this._time=this._tTime=this._pTime=0),n&&(this.labels={}),Ye(this)},t.totalDuration=function(n){var s=0,a=this,o=a._last,l=Te,u,c,h;if(arguments.length)return a.timeScale((a._repeat<0?a.duration():a.totalDuration())/(a.reversed()?-n:n));if(a._dirty){for(h=a.parent;o;)u=o._prev,o._dirty&&o.totalDuration(),c=o._start,c>l&&a._sort&&o._ts&&!a._lock?(a._lock=1,ke(a,o,c-o._delay,1)._lock=0):l=c,c<0&&o._ts&&(s-=c,(!h&&!a._dp||h&&h.smoothChildTiming)&&(a._start+=c/a._ts,a._time-=c,a._tTime-=c),a.shiftChildren(-c,!1,-1/0),l=0),o._end>s&&o._ts&&(s=o._end),o=u;at(a,a===W&&a._time>s?a._time:s,1,1),a._dirty=0}return a._tDur},e.updateRoot=function(n){if(W._ts&&(_n(W,Xt(n,W)),hn=be.frame),be.frame>=pn){pn+=_e.autoSleep||120;var s=W._first;if((!s||!s._ts)&&_e.autoSleep&&be._listeners.length<2){for(;s&&!s._ts;)s=s._next;s||be.sleep()}}},e})(St);xe(ue.prototype,{_lock:0,_hasPause:0,_forcing:0});var Zs=function(e,t,r,n,s,a,o){var l=new he(this._pt,e,t,0,1,Xn,null,s),u=0,c=0,h,p,m,_,f,g,x,v;for(l.b=r,l.e=n,r+="",n+="",(x=~n.indexOf("random("))&&(n=jt(n)),a&&(v=[r,n],a(v,e,t),r=v[0],n=v[1]),p=r.match(cr)||[];h=cr.exec(n);)_=h[0],f=n.substring(u,h.index),m?m=(m+1)%5:f.substr(-5)==="rgba("&&(m=1),_!==p[c++]&&(g=parseFloat(p[c-1])||0,l._pt={_next:l._pt,p:f||c===1?f:",",s:g,c:_.charAt(1)==="="?nt(g,_)-g:parseFloat(_)-g,m:m&&m<4?Math.round:0},u=cr.lastIndex);return l.c=u<n.length?n.substring(u,n.length):"",l.fp=o,(ln.test(n)||x)&&(l.e=0),this._pt=l,l},Sr=function(e,t,r,n,s,a,o,l,u,c){G(n)&&(n=n(s||0,e,a));var h=e[t],p=r!=="get"?r:G(h)?u?e[t.indexOf("set")||!G(e["get"+t.substr(3)])?t:"get"+t.substr(3)](u):e[t]():h,m=G(h)?u?Us:$n:Nr,_;if(re(n)&&(~n.indexOf("random(")&&(n=jt(n)),n.charAt(1)==="="&&(_=nt(p,n)+(oe(p)||0),(_||_===0)&&(n=_))),!c||p!==n||kr)return!isNaN(p*n)&&n!==""?(_=new he(this._pt,e,t,+p||0,n-(p||0),typeof h=="boolean"?$s:Wn,0,m),u&&(_.fp=u),o&&_.modifier(o,this,e),this._pt=_):(!h&&!(t in e)&&hr(t,n),Zs.call(this,e,t,p,n,m,l||_e.stringFilter,u))},zs=function(e,t,r,n,s){if(G(e)&&(e=kt(e,s,t,r,n)),!Ce(e)||e.style&&e.nodeType||ae(e)||an(e))return re(e)?kt(e,s,t,r,n):e;var a={},o;for(o in e)a[o]=kt(e[o],s,t,r,n);return a},Hn=function(e,t,r,n,s,a){var o,l,u,c;if(ve[e]&&(o=new ve[e]).init(s,o.rawVars?t[e]:zs(t[e],n,s,a,r),r,n,a)!==!1&&(r._pt=l=new he(r._pt,s,e,0,1,o.render,o,0,o.priority),r!==ot))for(u=r._ptLookup[r._targets.indexOf(s)],c=o._props.length;c--;)u[o._props[c]]=l;return o},ze,kr,Pr=function i(e,t,r){var n=e.vars,s=n.ease,a=n.startAt,o=n.immediateRender,l=n.lazy,u=n.onUpdate,c=n.runBackwards,h=n.yoyoEase,p=n.keyframes,m=n.autoRevert,_=e._dur,f=e._startAt,g=e._targets,x=e.parent,v=x&&x.data==="nested"?x.vars.targets:g,b=e._overwrite==="auto"&&!sr,T=e.timeline,y,O,q,C,j,N,F,D,R,H,V,z,U;if(T&&(!p||!s)&&(s="none"),e._ease=$e(s,tt.ease),e._yEase=h?Zn($e(h===!0?s:h,tt.ease)):0,h&&e._yoyo&&!e._repeat&&(h=e._yEase,e._yEase=e._ease,e._ease=h),e._from=!T&&!!n.runBackwards,!T||p&&!n.stagger){if(D=g[0]?Ue(g[0]).harness:0,z=D&&n[D.prop],y=$t(n,pr),f&&(f._zTime<0&&f.progress(1),t<0&&c&&o&&!m?f.render(-1,!0):f.revert(c&&_?Ht:ms),f._lazy=0),a){if(Le(e._startAt=K.set(g,xe({data:"isStart",overwrite:!1,parent:x,immediateRender:!0,lazy:!f&&de(l),startAt:null,delay:0,onUpdate:u&&function(){return ye(e,"onUpdate")},stagger:0},a))),e._startAt._dp=0,e._startAt._sat=e,t<0&&(se||!o&&!m)&&e._startAt.revert(Ht),o&&_&&t<=0&&r<=0){t&&(e._zTime=t);return}}else if(c&&_&&!f){if(t&&(o=!1),q=xe({overwrite:!1,data:"isFromStart",lazy:o&&!f&&de(l),immediateRender:o,stagger:0,parent:x},y),z&&(q[D.prop]=z),Le(e._startAt=K.set(g,q)),e._startAt._dp=0,e._startAt._sat=e,t<0&&(se?e._startAt.revert(Ht):e._startAt.render(-1,!0)),e._zTime=t,!o)i(e._startAt,I,I);else if(!t)return}for(e._pt=e._ptCache=0,l=_&&de(l)||l&&!_,O=0;O<g.length;O++){if(j=g[O],F=j._gsap||vr(g)[O]._gsap,e._ptLookup[O]=H={},mr[F.id]&&Fe.length&&Yt(),V=v===g?O:v.indexOf(j),D&&(R=new D).init(j,z||y,e,V,v)!==!1&&(e._pt=C=new he(e._pt,j,R.name,0,1,R.render,R,0,R.priority),R._props.forEach(function(ne){H[ne]=C}),R.priority&&(N=1)),!D||z)for(q in y)ve[q]&&(R=Hn(q,y,e,V,j,v))?R.priority&&(N=1):H[q]=C=Sr.call(e,j,q,"get",y[q],V,v,0,n.stringFilter);e._op&&e._op[O]&&e.kill(j,e._op[O]),b&&e._pt&&(ze=e,W.killTweensOf(j,H,e.globalTime(t)),U=!e.parent,ze=0),e._pt&&l&&(mr[F.id]=1)}N&&Gn(e),e._onInit&&e._onInit(e)}e._onUpdate=u,e._initted=(!e._op||e._pt)&&!U,p&&t<=0&&T.render(Te,!0,!0)},Bs=function(e,t,r,n,s,a,o,l){var u=(e._pt&&e._ptCache||(e._ptCache={}))[t],c,h,p,m;if(!u)for(u=e._ptCache[t]=[],p=e._ptLookup,m=e._targets.length;m--;){if(c=p[m][t],c&&c.d&&c.d._pt)for(c=c.d._pt;c&&c.p!==t&&c.fp!==t;)c=c._next;if(!c)return kr=1,e.vars[t]="+=0",Pr(e,o),kr=0,l?xt(t+" not eligible for reset"):1;u.push(c)}for(m=u.length;m--;)h=u[m],c=h._pt||h,c.s=(n||n===0)&&!s?n:c.s+(n||0)+a*c.c,c.c=r-c.s,h.e&&(h.e=J(r)+oe(h.e)),h.b&&(h.b=c.s+oe(h.b))},Vs=function(e,t){var r=e[0]?Ue(e[0]).harness:0,n=r&&r.aliases,s,a,o,l;if(!n)return t;s=it({},t);for(a in n)if(a in s)for(l=n[a].split(","),o=l.length;o--;)s[l[o]]=s[a];return s},Hs=function(e,t,r,n){var s=t.ease||n||"power1.inOut",a,o;if(ae(t))o=r[e]||(r[e]=[]),t.forEach(function(l,u){return o.push({t:u/(t.length-1)*100,v:l,e:s})});else for(a in t)o=r[a]||(r[a]=[]),a==="ease"||o.push({t:parseFloat(e),v:t[a],e:s})},kt=function(e,t,r,n,s){return G(e)?e.call(t,r,n,s):re(e)&&~e.indexOf("random(")?jt(e):e},Un=gr+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",Yn={};fe(Un+",id,stagger,delay,duration,paused,scrollTrigger",function(i){return Yn[i]=1});var K=(function(i){nn(e,i);function e(r,n,s,a){var o;typeof n=="number"&&(s.duration=n,n=s,s=null),o=i.call(this,a?n:bt(n))||this;var l=o.vars,u=l.duration,c=l.delay,h=l.immediateRender,p=l.stagger,m=l.overwrite,_=l.keyframes,f=l.defaults,g=l.scrollTrigger,x=l.yoyoEase,v=n.parent||W,b=(ae(r)||an(r)?Ae(r[0]):"length"in n)?[r]:Oe(r),T,y,O,q,C,j,N,F;if(o._targets=b.length?vr(b):xt("GSAP target "+r+" not found. https://gsap.com",!_e.nullTargetWarn)||[],o._ptLookup=[],o._overwrite=m,_||p||Bt(u)||Bt(c)){if(n=o.vars,T=o.timeline=new ue({data:"nested",defaults:f||{},targets:v&&v.data==="nested"?v.vars.targets:b}),T.kill(),T.parent=T._dp=Ee(o),T._start=0,p||Bt(u)||Bt(c)){if(q=b.length,N=p&&Sn(p),Ce(p))for(C in p)~Un.indexOf(C)&&(F||(F={}),F[C]=p[C]);for(y=0;y<q;y++)O=$t(n,Yn),O.stagger=0,x&&(O.yoyoEase=x),F&&it(O,F),j=b[y],O.duration=+kt(u,Ee(o),y,j,b),O.delay=(+kt(c,Ee(o),y,j,b)||0)-o._delay,!p&&q===1&&O.delay&&(o._delay=c=O.delay,o._start+=c,O.delay=0),T.to(j,O,N?N(y,j,b):0),T._ease=A.none;T.duration()?u=c=0:o.timeline=0}else if(_){bt(xe(T.vars.defaults,{ease:"none"})),T._ease=$e(_.ease||n.ease||"none");var D=0,R,H,V;if(ae(_))_.forEach(function(z){return T.to(b,z,">")}),T.duration();else{O={};for(C in _)C==="ease"||C==="easeEach"||Hs(C,_[C],O,_.easeEach);for(C in O)for(R=O[C].sort(function(z,U){return z.t-U.t}),D=0,y=0;y<R.length;y++)H=R[y],V={ease:H.e,duration:(H.t-(y?R[y-1].t:0))/100*u},V[C]=H.v,T.to(b,V,D),D+=V.duration;T.duration()<u&&T.to({},{duration:u-T.duration()})}}u||o.duration(u=T.duration())}else o.timeline=0;return m===!0&&!sr&&(ze=Ee(o),W.killTweensOf(b),ze=0),ke(v,Ee(o),s),n.reversed&&o.reverse(),n.paused&&o.paused(!0),(h||!u&&!_&&o._start===Q(v._time)&&de(h)&&bs(Ee(o))&&v.data!=="nested")&&(o._tTime=-I,o.render(Math.max(0,-c)||0)),g&&Tn(Ee(o),g),o}var t=e.prototype;return t.render=function(n,s,a){var o=this._time,l=this._tDur,u=this._dur,c=n<0,h=n>l-I&&!c?l:n<I?0:n,p,m,_,f,g,x,v,b,T;if(!u)Ts(this,n,s,a);else if(h!==this._tTime||!n||a||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==c||this._lazy){if(p=h,b=this.timeline,this._repeat){if(f=u+this._rDelay,this._repeat<-1&&c)return this.totalTime(f*100+n,s,a);if(p=Q(h%f),h===l?(_=this._repeat,p=u):(g=Q(h/f),_=~~g,_&&_===g?(p=u,_--):p>u&&(p=u)),x=this._yoyo&&_&1,x&&(T=this._yEase,p=u-p),g=st(this._tTime,f),p===o&&!a&&this._initted&&_===g)return this._tTime=h,this;_!==g&&(b&&this._yEase&&zn(b,x),this.vars.repeatRefresh&&!x&&!this._lock&&p!==f&&this._initted&&(this._lock=a=1,this.render(Q(f*_),!0).invalidate()._lock=0))}if(!this._initted){if(jn(this,c?n:p,a,s,h))return this._tTime=0,this;if(o!==this._time&&!(a&&this.vars.repeatRefresh&&_!==g))return this;if(u!==this._dur)return this.render(n,s,a)}if(this._tTime=h,this._time=p,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=v=(T||this._ease)(p/u),this._from&&(this.ratio=v=1-v),!o&&h&&!s&&!g&&(ye(this,"onStart"),this._tTime!==h))return this;for(m=this._pt;m;)m.r(v,m.d),m=m._next;b&&b.render(n<0?n:b._dur*b._ease(p/this._dur),s,a)||this._startAt&&(this._zTime=n),this._onUpdate&&!s&&(c&&yr(this,n,s,a),ye(this,"onUpdate")),this._repeat&&_!==g&&this.vars.onRepeat&&!s&&this.parent&&ye(this,"onRepeat"),(h===this._tDur||!h)&&this._tTime===h&&(c&&!this._onUpdate&&yr(this,n,!0,!0),(n||!u)&&(h===this._tDur&&this._ts>0||!h&&this._ts<0)&&Le(this,1),!s&&!(c&&!o)&&(h||o||x)&&(ye(this,h===l?"onComplete":"onReverseComplete",!0),this._prom&&!(h<l&&this.timeScale()>0)&&this._prom()))}return this},t.targets=function(){return this._targets},t.invalidate=function(n){return(!n||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(n),i.prototype.invalidate.call(this,n)},t.resetTo=function(n,s,a,o,l){Ct||be.wake(),this._ts||this.play();var u=Math.min(this._dur,(this._dp._time-this._start)*this._ts),c;return this._initted||Pr(this,u),c=this._ease(u/this._dur),Bs(this,n,s,a,o,c,u,l)?this.resetTo(n,s,a,o,1):(Jt(this,0),this.parent||yn(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},t.kill=function(n,s){if(s===void 0&&(s="all"),!n&&(!s||s==="all"))return this._lazy=this._pt=0,this.parent?Ot(this):this.scrollTrigger&&this.scrollTrigger.kill(!!se),this;if(this.timeline){var a=this.timeline.totalDuration();return this.timeline.killTweensOf(n,s,ze&&ze.vars.overwrite!==!0)._first||Ot(this),this.parent&&a!==this.timeline.totalDuration()&&at(this,this._dur*this.timeline._tDur/a,0,1),this}var o=this._targets,l=n?Oe(n):o,u=this._ptLookup,c=this._pt,h,p,m,_,f,g,x;if((!s||s==="all")&&xs(o,l))return s==="all"&&(this._pt=0),Ot(this);for(h=this._op=this._op||[],s!=="all"&&(re(s)&&(f={},fe(s,function(v){return f[v]=1}),s=f),s=Vs(o,s)),x=o.length;x--;)if(~l.indexOf(o[x])){p=u[x],s==="all"?(h[x]=s,_=p,m={}):(m=h[x]=h[x]||{},_=s);for(f in _)g=p&&p[f],g&&((!("kill"in g.d)||g.d.kill(f)===!0)&&Wt(this,g,"_pt"),delete p[f]),m!=="all"&&(m[f]=1)}return this._initted&&!this._pt&&c&&Ot(this),this},e.to=function(n,s){return new e(n,s,arguments[2])},e.from=function(n,s){return wt(1,arguments)},e.delayedCall=function(n,s,a,o){return new e(s,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:n,onComplete:s,onReverseComplete:s,onCompleteParams:a,onReverseCompleteParams:a,callbackScope:o})},e.fromTo=function(n,s,a){return wt(2,arguments)},e.set=function(n,s){return s.duration=0,s.repeatDelay||(s.repeat=0),new e(n,s)},e.killTweensOf=function(n,s,a){return W.killTweensOf(n,s,a)},e})(St);xe(K.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),fe("staggerTo,staggerFrom,staggerFromTo",function(i){K[i]=function(){var e=new ue,t=wr.call(arguments,0);return t.splice(i==="staggerFromTo"?5:4,0,0),e[i].apply(e,t)}});var Nr=function(e,t,r){return e[t]=r},$n=function(e,t,r){return e[t](r)},Us=function(e,t,r,n){return e[t](n.fp,r)},Ys=function(e,t,r){return e.setAttribute(t,r)},Er=function(e,t){return G(e[t])?$n:or(e[t])&&e.setAttribute?Ys:Nr},Wn=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e6)/1e6,t)},$s=function(e,t){return t.set(t.t,t.p,!!(t.s+t.c*e),t)},Xn=function(e,t){var r=t._pt,n="";if(!e&&t.b)n=t.b;else if(e===1&&t.e)n=t.e;else{for(;r;)n=r.p+(r.m?r.m(r.s+r.c*e):Math.round((r.s+r.c*e)*1e4)/1e4)+n,r=r._next;n+=t.c}t.set(t.t,t.p,n,t)},Ar=function(e,t){for(var r=t._pt;r;)r.r(e,r.d),r=r._next},Ws=function(e,t,r,n){for(var s=this._pt,a;s;)a=s._next,s.p===n&&s.modifier(e,t,r),s=a},Xs=function(e){for(var t=this._pt,r,n;t;)n=t._next,t.p===e&&!t.op||t.op===e?Wt(this,t,"_pt"):t.dep||(r=1),t=n;return!r},Gs=function(e,t,r,n){n.mSet(e,t,n.m.call(n.tween,r,n.mt),n)},Gn=function(e){for(var t=e._pt,r,n,s,a;t;){for(r=t._next,n=s;n&&n.pr>t.pr;)n=n._next;(t._prev=n?n._prev:a)?t._prev._next=t:s=t,(t._next=n)?n._prev=t:a=t,t=r}e._pt=s},he=(function(){function i(t,r,n,s,a,o,l,u,c){this.t=r,this.s=s,this.c=a,this.p=n,this.r=o||Wn,this.d=l||this,this.set=u||Nr,this.pr=c||0,this._next=t,t&&(t._prev=this)}var e=i.prototype;return e.modifier=function(r,n,s){this.mSet=this.mSet||this.set,this.set=Gs,this.m=r,this.mt=s,this.tween=n},i})();fe(gr+"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(i){return pr[i]=1}),ge.TweenMax=ge.TweenLite=K,ge.TimelineLite=ge.TimelineMax=ue,W=new ue({sortChildren:!1,defaults:tt,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),_e.stringFilter=In;var Xe=[],Qt={},Js=[],Jn=0,Qs=0,Mr=function(e){return(Qt[e]||Js).map(function(t){return t()})},Rr=function(){var e=Date.now(),t=[];e-Jn>2&&(Mr("matchMediaInit"),Xe.forEach(function(r){var n=r.queries,s=r.conditions,a,o,l,u;for(o in n)a=Se.matchMedia(n[o]).matches,a&&(l=1),a!==s[o]&&(s[o]=a,u=1);u&&(r.revert(),l&&t.push(r))}),Mr("matchMediaRevert"),t.forEach(function(r){return r.onMatch(r,function(n){return r.add(null,n)})}),Jn=e,Mr("matchMedia"))},Qn=(function(){function i(t,r){this.selector=r&&Tr(r),this.data=[],this._r=[],this.isReverted=!1,this.id=Qs++,t&&this.add(t)}var e=i.prototype;return e.add=function(r,n,s){G(r)&&(s=n,n=r,r=G);var a=this,o=function(){var u=$,c=a.selector,h;return u&&u!==a&&u.data.push(a),s&&(a.selector=Tr(s)),$=a,h=n.apply(a,arguments),G(h)&&a._r.push(h),$=u,a.selector=c,a.isReverted=!1,h};return a.last=o,r===G?o(a,function(l){return a.add(null,l)}):r?a[r]=o:o},e.ignore=function(r){var n=$;$=null,r(this),$=n},e.getTweens=function(){var r=[];return this.data.forEach(function(n){return n instanceof i?r.push.apply(r,n.getTweens()):n instanceof K&&!(n.parent&&n.parent.data==="nested")&&r.push(n)}),r},e.clear=function(){this._r.length=this.data.length=0},e.kill=function(r,n){var s=this;if(r?(function(){for(var o=s.getTweens(),l=s.data.length,u;l--;)u=s.data[l],u.data==="isFlip"&&(u.revert(),u.getChildren(!0,!0,!1).forEach(function(c){return o.splice(o.indexOf(c),1)}));for(o.map(function(c){return{g:c._dur||c._delay||c._sat&&!c._sat.vars.immediateRender?c.globalTime(0):-1/0,t:c}}).sort(function(c,h){return h.g-c.g||-1/0}).forEach(function(c){return c.t.revert(r)}),l=s.data.length;l--;)u=s.data[l],u instanceof ue?u.data!=="nested"&&(u.scrollTrigger&&u.scrollTrigger.revert(),u.kill()):!(u instanceof K)&&u.revert&&u.revert(r);s._r.forEach(function(c){return c(r,s)}),s.isReverted=!0})():this.data.forEach(function(o){return o.kill&&o.kill()}),this.clear(),n)for(var a=Xe.length;a--;)Xe[a].id===this.id&&Xe.splice(a,1)},e.revert=function(r){this.kill(r||{})},i})(),Ks=(function(){function i(t){this.contexts=[],this.scope=t,$&&$.data.push(this)}var e=i.prototype;return e.add=function(r,n,s){Ce(r)||(r={matches:r});var a=new Qn(0,s||this.scope),o=a.conditions={},l,u,c;$&&!a.selector&&(a.selector=$.selector),this.contexts.push(a),n=a.add("onMatch",n),a.queries=r;for(u in r)u==="all"?c=1:(l=Se.matchMedia(r[u]),l&&(Xe.indexOf(a)<0&&Xe.push(a),(o[u]=l.matches)&&(c=1),l.addListener?l.addListener(Rr):l.addEventListener("change",Rr)));return c&&n(a,function(h){return a.add(null,h)}),this},e.revert=function(r){this.kill(r||{})},e.kill=function(r){this.contexts.forEach(function(n){return n.kill(r,!0)})},i})(),Kt={registerPlugin:function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];t.forEach(function(n){return Rn(n)})},timeline:function(e){return new ue(e)},getTweensOf:function(e,t){return W.getTweensOf(e,t)},getProperty:function(e,t,r,n){re(e)&&(e=Oe(e)[0]);var s=Ue(e||{}).get,a=r?vn:gn;return r==="native"&&(r=""),e&&(t?a((ve[t]&&ve[t].get||s)(e,t,r,n)):function(o,l,u){return a((ve[o]&&ve[o].get||s)(e,o,l,u))})},quickSetter:function(e,t,r){if(e=Oe(e),e.length>1){var n=e.map(function(c){return pe.quickSetter(c,t,r)}),s=n.length;return function(c){for(var h=s;h--;)n[h](c)}}e=e[0]||{};var a=ve[t],o=Ue(e),l=o.harness&&(o.harness.aliases||{})[t]||t,u=a?function(c){var h=new a;ot._pt=0,h.init(e,r?c+r:c,ot,0,[e]),h.render(1,h),ot._pt&&Ar(1,ot)}:o.set(e,l);return a?u:function(c){return u(e,l,r?c+r:c,o,1)}},quickTo:function(e,t,r){var n,s=pe.to(e,xe((n={},n[t]="+=0.1",n.paused=!0,n.stagger=0,n),r||{})),a=function(l,u,c){return s.resetTo(t,l,u,c)};return a.tween=s,a},isTweening:function(e){return W.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=$e(e.ease,tt.ease)),xn(tt,e||{})},config:function(e){return xn(_e,e||{})},registerEffect:function(e){var t=e.name,r=e.effect,n=e.plugins,s=e.defaults,a=e.extendTimeline;(n||"").split(",").forEach(function(o){return o&&!ve[o]&&!ge[o]&&xt(t+" effect requires "+o+" plugin.")}),_r[t]=function(o,l,u){return r(Oe(o),xe(l||{},s),u)},a&&(ue.prototype[t]=function(o,l,u){return this.add(_r[t](o,Ce(l)?l:(u=l)&&{},this),u)})},registerEase:function(e,t){A[e]=$e(t)},parseEase:function(e,t){return arguments.length?$e(e,t):A},getById:function(e){return W.getById(e)},exportRoot:function(e,t){e===void 0&&(e={});var r=new ue(e),n,s;for(r.smoothChildTiming=de(e.smoothChildTiming),W.remove(r),r._dp=0,r._time=r._tTime=W._time,n=W._first;n;)s=n._next,(t||!(!n._dur&&n instanceof K&&n.vars.onComplete===n._targets[0]))&&ke(r,n,n._start-n._delay),n=s;return ke(W,r,0),r},context:function(e,t){return e?new Qn(e,t):$},matchMedia:function(e){return new Ks(e)},matchMediaRefresh:function(){return Xe.forEach(function(e){var t=e.conditions,r,n;for(n in t)t[n]&&(t[n]=!1,r=1);r&&e.revert()})||Rr()},addEventListener:function(e,t){var r=Qt[e]||(Qt[e]=[]);~r.indexOf(t)||r.push(t)},removeEventListener:function(e,t){var r=Qt[e],n=r&&r.indexOf(t);n>=0&&r.splice(n,1)},utils:{wrap:Ns,wrapYoyo:Es,distribute:Sn,random:Pn,snap:kn,normalize:Ps,getUnit:oe,clamp:qs,splitColor:Dn,toArray:Oe,selector:Tr,mapRange:En,pipe:Ss,unitize:ks,interpolate:As,shuffle:Cn},install:dn,effects:_r,ticker:be,updateRoot:ue.updateRoot,plugins:ve,globalTimeline:W,core:{PropTween:he,globals:fn,Tween:K,Timeline:ue,Animation:St,getCache:Ue,_removeLinkedListItem:Wt,reverting:function(){return se},context:function(e){return e&&$&&($.data.push(e),e._ctx=$),$},suppressOverwrites:function(e){return sr=e}}};fe("to,from,fromTo,delayedCall,set,killTweensOf",function(i){return Kt[i]=K[i]}),be.add(ue.updateRoot),ot=Kt.to({},{duration:0});var ea=function(e,t){for(var r=e._pt;r&&r.p!==t&&r.op!==t&&r.fp!==t;)r=r._next;return r},ta=function(e,t){var r=e._targets,n,s,a;for(n in t)for(s=r.length;s--;)a=e._ptLookup[s][n],a&&(a=a.d)&&(a._pt&&(a=ea(a,n)),a&&a.modifier&&a.modifier(t[n],e,r[s],n))},Dr=function(e,t){return{name:e,headless:1,rawVars:1,init:function(n,s,a){a._onInit=function(o){var l,u;if(re(s)&&(l={},fe(s,function(c){return l[c]=1}),s=l),t){l={};for(u in s)l[u]=t(s[u]);s=l}ta(o,s)}}}},pe=Kt.registerPlugin({name:"attr",init:function(e,t,r,n,s){var a,o,l;this.tween=r;for(a in t)l=e.getAttribute(a)||"",o=this.add(e,"setAttribute",(l||0)+"",t[a],n,s,0,0,a),o.op=a,o.b=l,this._props.push(a)},render:function(e,t){for(var r=t._pt;r;)se?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)}},Dr("roundProps",jr),Dr("modifiers"),Dr("snap",kn))||Kt;K.version=ue.version=pe.version="3.13.0",cn=1,lr()&&lt(),A.Power0,A.Power1,A.Power2,A.Power3,A.Power4,A.Linear,A.Quad,A.Cubic,A.Quart,A.Quint,A.Strong,A.Elastic,A.Back,A.SteppedEase,A.Bounce,A.Sine,A.Expo,A.Circ;/*!
57
43
  * CSSPlugin 3.13.0
58
44
  * https://gsap.com
59
45
  *
60
46
  * Copyright 2008-2025, GreenSock. All rights reserved.
61
47
  * Subject to the terms at https://gsap.com/standard-license
62
48
  * @author: Jack Doyle, jack@greensock.com
63
- */var ca,et,At,Zn,pt,fa,Bn,T0=function(){return typeof window<"u"},Be={},mt=180/Math.PI,Nt=Math.PI/180,Mt=Math.atan2,da=1e8,Un=/([A-Z])/g,j0=/(left|right|width|margin|padding|x)/i,O0=/[\s,\(]\S/,De={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},Vn=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},S0=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)},C0=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)},E0=function(e,t){var n=t.s+t.c*e;t.set(t.t,t.p,~~(n+(n<0?-.5:.5))+t.u,t)},ha=function(e,t){return t.set(t.t,t.p,e?t.e:t.b,t)},pa=function(e,t){return t.set(t.t,t.p,e!==1?t.b:t.e,t)},P0=function(e,t,n){return e.style[t]=n},q0=function(e,t,n){return e.style.setProperty(t,n)},A0=function(e,t,n){return e._gsap[t]=n},N0=function(e,t,n){return e._gsap.scaleX=e._gsap.scaleY=n},M0=function(e,t,n,i,s){var a=e._gsap;a.scaleX=a.scaleY=n,a.renderTransform(s,a)},k0=function(e,t,n,i,s){var a=e._gsap;a[t]=n,a.renderTransform(s,a)},ee="transform",xe=ee+"Origin",F0=function r(e,t){var n=this,i=this.target,s=i.style,a=i._gsap;if(e in Be&&s){if(this.tfm=this.tfm||{},e!=="transform")e=De[e]||e,~e.indexOf(",")?e.split(",").forEach(function(o){return n.tfm[o]=Ue(i,o)}):this.tfm[e]=a.x?a[e]:Ue(i,e),e===xe&&(this.tfm.zOrigin=a.zOrigin);else return De.transform.split(",").forEach(function(o){return r.call(n,o,t)});if(this.props.indexOf(ee)>=0)return;a.svg&&(this.svgo=i.getAttribute("data-svg-origin"),this.props.push(xe,t,"")),e=ee}(s||t)&&this.props.push(e,t,s[e])},ma=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},R0=function(){var e=this.props,t=this.target,n=t.style,i=t._gsap,s,a;for(s=0;s<e.length;s+=3)e[s+1]?e[s+1]===2?t[e[s]](e[s+2]):t[e[s]]=e[s+2]:e[s+2]?n[e[s]]=e[s+2]:n.removeProperty(e[s].substr(0,2)==="--"?e[s]:e[s].replace(Un,"-$1").toLowerCase());if(this.tfm){for(a in this.tfm)i[a]=this.tfm[a];i.svg&&(i.renderTransform(),t.setAttribute("data-svg-origin",this.svgo||"")),s=Bn(),(!s||!s.isStart)&&!n[ee]&&(ma(n),i.zOrigin&&n[xe]&&(n[xe]+=" "+i.zOrigin+"px",i.zOrigin=0,i.renderTransform()),i.uncache=1)}},_a=function(e,t){var n={target:e,props:[],revert:R0,save:F0};return e._gsap||ye.core.getCache(e),t&&e.style&&e.nodeType&&t.split(",").forEach(function(i){return n.save(i)}),n},ga,Hn=function(e,t){var n=et.createElementNS?et.createElementNS((t||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):et.createElement(e);return n&&n.style?n:et.createElement(e)},Ne=function r(e,t,n){var i=getComputedStyle(e);return i[t]||i.getPropertyValue(t.replace(Un,"-$1").toLowerCase())||i.getPropertyValue(t)||!n&&r(e,kt(t)||t,1)||""},va="O,Moz,ms,Ms,Webkit".split(","),kt=function(e,t,n){var i=t||pt,s=i.style,a=5;if(e in s&&!n)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);a--&&!(va[a]+e in s););return a<0?null:(a===3?"ms":a>=0?va[a]:"")+e},Yn=function(){T0()&&window.document&&(ca=window,et=ca.document,At=et.documentElement,pt=Hn("div")||{style:{}},Hn("div"),ee=kt(ee),xe=ee+"Origin",pt.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",ga=!!kt("perspective"),Bn=ye.core.reverting,Zn=1)},ya=function(e){var t=e.ownerSVGElement,n=Hn("svg",t&&t.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),i=e.cloneNode(!0),s;i.style.display="block",n.appendChild(i),At.appendChild(n);try{s=i.getBBox()}catch{}return n.removeChild(i),At.removeChild(n),s},xa=function(e,t){for(var n=t.length;n--;)if(e.hasAttribute(t[n]))return e.getAttribute(t[n])},ba=function(e){var t,n;try{t=e.getBBox()}catch{t=ya(e),n=1}return t&&(t.width||t.height)||n||(t=ya(e)),t&&!t.width&&!t.x&&!t.y?{x:+xa(e,["x","cx","x1"])||0,y:+xa(e,["y","cy","y1"])||0,width:0,height:0}:t},wa=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&ba(e))},_t=function(e,t){if(t){var n=e.style,i;t in Be&&t!==xe&&(t=ee),n.removeProperty?(i=t.substr(0,2),(i==="ms"||t.substr(0,6)==="webkit")&&(t="-"+t),n.removeProperty(i==="--"?t:t.replace(Un,"-$1").toLowerCase())):n.removeAttribute(t)}},tt=function(e,t,n,i,s,a){var o=new ve(e._pt,t,n,0,1,a?pa:ha);return e._pt=o,o.b=i,o.e=s,e._props.push(n),o},Ta={deg:1,rad:1,turn:1},D0={grid:1,flex:1},rt=function r(e,t,n,i){var s=parseFloat(n)||0,a=(n+"").trim().substr((s+"").length)||"px",o=pt.style,l=j0.test(t),u=e.tagName.toLowerCase()==="svg",c=(u?"client":"offset")+(l?"Width":"Height"),f=100,p=i==="px",m=i==="%",_,h,v,x;if(i===a||!s||Ta[i]||Ta[a])return s;if(a!=="px"&&!p&&(s=r(e,t,n,"px")),x=e.getCTM&&wa(e),(m||a==="%")&&(Be[t]||~t.indexOf("adius")))return _=x?e.getBBox()[l?"width":"height"]:e[c],ne(m?s/_*f:s/100*_);if(o[l?"width":"height"]=f+(p?a:i),h=i!=="rem"&&~t.indexOf("adius")||i==="em"&&e.appendChild&&!u?e:e.parentNode,x&&(h=(e.ownerSVGElement||{}).parentNode),(!h||h===et||!h.appendChild)&&(h=et.body),v=h._gsap,v&&m&&v.width&&l&&v.time===Se.time&&!v.uncache)return ne(s/v.width*f);if(m&&(t==="height"||t==="width")){var y=e.style[t];e.style[t]=f+i,_=e[c],y?e.style[t]=y:_t(e,t)}else(m||a==="%")&&!D0[Ne(h,"display")]&&(o.position=Ne(e,"position")),h===e&&(o.position="static"),h.appendChild(pt),_=pt[c],h.removeChild(pt),o.position="absolute";return l&&m&&(v=ut(h),v.time=Se.time,v.width=h[c]),ne(p?_*s/f:_&&s?f/_*s:0)},Ue=function(e,t,n,i){var s;return Zn||Yn(),t in De&&t!=="transform"&&(t=De[t],~t.indexOf(",")&&(t=t.split(",")[0])),Be[t]&&t!=="transform"?(s=sr(e,i),s=t!=="transformOrigin"?s[t]:s.svg?s.origin:Ir(Ne(e,xe))+" "+s.zOrigin+"px"):(s=e.style[t],(!s||s==="auto"||i||~(s+"").indexOf("calc("))&&(s=Dr[t]&&Dr[t](e,t,n)||Ne(e,t)||Ss(e,t)||(t==="opacity"?1:0))),n&&!~(s+"").trim().indexOf(" ")?rt(e,t,s,n)+n:s},I0=function(e,t,n,i){if(!n||n==="none"){var s=kt(t,e,1),a=s&&Ne(e,s,1);a&&a!==n?(t=s,n=a):t==="borderColor"&&(n=Ne(e,"borderTopColor"))}var o=new ve(this._pt,e.style,t,0,1,aa),l=0,u=0,c,f,p,m,_,h,v,x,y,b,w,g;if(o.b=n,o.e=i,n+="",i+="",i.substring(0,6)==="var(--"&&(i=Ne(e,i.substring(4,i.indexOf(")")))),i==="auto"&&(h=e.style[t],e.style[t]=i,i=Ne(e,t)||i,h?e.style[t]=h:_t(e,t)),c=[n,i],Xs(c),n=c[0],i=c[1],p=n.match(jt)||[],g=i.match(jt)||[],g.length){for(;f=jt.exec(i);)v=f[0],y=i.substring(l,f.index),_?_=(_+1)%5:(y.substr(-5)==="rgba("||y.substr(-5)==="hsla(")&&(_=1),v!==(h=p[u++]||"")&&(m=parseFloat(h)||0,w=h.substr((m+"").length),v.charAt(1)==="="&&(v=Ot(m,v)+w),x=parseFloat(v),b=v.substr((x+"").length),l=jt.lastIndex-b.length,b||(b=b||be.units[t]||w,l===i.length&&(i+=b,o.e+=b)),w!==b&&(m=rt(e,t,h,b)||0),o._pt={_next:o._pt,p:y||u===1?y:",",s:m,c:x-m,m:_&&_<4||t==="zIndex"?Math.round:0});o.c=l<i.length?i.substring(l,i.length):""}else o.r=t==="display"&&i==="none"?pa:ha;return ys.test(i)&&(o.e=0),this._pt=o,o},ja={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},$0=function(e){var t=e.split(" "),n=t[0],i=t[1]||"50%";return(n==="top"||n==="bottom"||i==="left"||i==="right")&&(e=n,n=i,i=e),t[0]=ja[n]||n,t[1]=ja[i]||i,t.join(" ")},L0=function(e,t){if(t.tween&&t.tween._time===t.tween._dur){var n=t.t,i=n.style,s=t.u,a=n._gsap,o,l,u;if(s==="all"||s===!0)i.cssText="",l=1;else for(s=s.split(","),u=s.length;--u>-1;)o=s[u],Be[o]&&(l=1,o=o==="transformOrigin"?xe:ee),_t(n,o);l&&(_t(n,ee),a&&(a.svg&&n.removeAttribute("transform"),i.scale=i.rotate=i.translate="none",sr(n,1),a.uncache=1,ma(i)))}},Dr={clearProps:function(e,t,n,i,s){if(s.data!=="isFromStart"){var a=e._pt=new ve(e._pt,t,n,0,0,L0);return a.u=i,a.pr=-10,a.tween=s,e._props.push(n),1}}},ir=[1,0,0,1,0,0],Oa={},Sa=function(e){return e==="matrix(1, 0, 0, 1, 0, 0)"||e==="none"||!e},Ca=function(e){var t=Ne(e,ee);return Sa(t)?ir:t.substr(7).match(vs).map(ne)},Wn=function(e,t){var n=e._gsap||ut(e),i=e.style,s=Ca(e),a,o,l,u;return n.svg&&e.getAttribute("transform")?(l=e.transform.baseVal.consolidate().matrix,s=[l.a,l.b,l.c,l.d,l.e,l.f],s.join(",")==="1,0,0,1,0,0"?ir:s):(s===ir&&!e.offsetParent&&e!==At&&!n.svg&&(l=i.display,i.display="block",a=e.parentNode,(!a||!e.offsetParent&&!e.getBoundingClientRect().width)&&(u=1,o=e.nextElementSibling,At.appendChild(e)),s=Ca(e),l?i.display=l:_t(e,"display"),u&&(o?a.insertBefore(e,o):a?a.appendChild(e):At.removeChild(e))),t&&s.length>6?[s[0],s[1],s[4],s[5],s[12],s[13]]:s)},Gn=function(e,t,n,i,s,a){var o=e._gsap,l=s||Wn(e,!0),u=o.xOrigin||0,c=o.yOrigin||0,f=o.xOffset||0,p=o.yOffset||0,m=l[0],_=l[1],h=l[2],v=l[3],x=l[4],y=l[5],b=t.split(" "),w=parseFloat(b[0])||0,g=parseFloat(b[1])||0,j,S,C,O;n?l!==ir&&(S=m*v-_*h)&&(C=w*(v/S)+g*(-h/S)+(h*y-v*x)/S,O=w*(-_/S)+g*(m/S)-(m*y-_*x)/S,w=C,g=O):(j=ba(e),w=j.x+(~b[0].indexOf("%")?w/100*j.width:w),g=j.y+(~(b[1]||b[0]).indexOf("%")?g/100*j.height:g)),i||i!==!1&&o.smooth?(x=w-u,y=g-c,o.xOffset=f+(x*m+y*h)-x,o.yOffset=p+(x*_+y*v)-y):o.xOffset=o.yOffset=0,o.xOrigin=w,o.yOrigin=g,o.smooth=!!i,o.origin=t,o.originIsAbsolute=!!n,e.style[xe]="0px 0px",a&&(tt(a,o,"xOrigin",u,w),tt(a,o,"yOrigin",c,g),tt(a,o,"xOffset",f,o.xOffset),tt(a,o,"yOffset",p,o.yOffset)),e.setAttribute("data-svg-origin",w+" "+g)},sr=function(e,t){var n=e._gsap||new ea(e);if("x"in n&&!t&&!n.uncache)return n;var i=e.style,s=n.scaleX<0,a="px",o="deg",l=getComputedStyle(e),u=Ne(e,xe)||"0",c,f,p,m,_,h,v,x,y,b,w,g,j,S,C,O,k,$,D,F,Y,U,Z,W,ie,de,T,E,q,B,re,oe;return c=f=p=h=v=x=y=b=w=0,m=_=1,n.svg=!!(e.getCTM&&wa(e)),l.translate&&((l.translate!=="none"||l.scale!=="none"||l.rotate!=="none")&&(i[ee]=(l.translate!=="none"?"translate3d("+(l.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(l.rotate!=="none"?"rotate("+l.rotate+") ":"")+(l.scale!=="none"?"scale("+l.scale.split(" ").join(",")+") ":"")+(l[ee]!=="none"?l[ee]:"")),i.scale=i.rotate=i.translate="none"),S=Wn(e,n.svg),n.svg&&(n.uncache?(ie=e.getBBox(),u=n.xOrigin-ie.x+"px "+(n.yOrigin-ie.y)+"px",W=""):W=!t&&e.getAttribute("data-svg-origin"),Gn(e,W||u,!!W||n.originIsAbsolute,n.smooth!==!1,S)),g=n.xOrigin||0,j=n.yOrigin||0,S!==ir&&($=S[0],D=S[1],F=S[2],Y=S[3],c=U=S[4],f=Z=S[5],S.length===6?(m=Math.sqrt($*$+D*D),_=Math.sqrt(Y*Y+F*F),h=$||D?Mt(D,$)*mt:0,y=F||Y?Mt(F,Y)*mt+h:0,y&&(_*=Math.abs(Math.cos(y*Nt))),n.svg&&(c-=g-(g*$+j*F),f-=j-(g*D+j*Y))):(oe=S[6],B=S[7],T=S[8],E=S[9],q=S[10],re=S[11],c=S[12],f=S[13],p=S[14],C=Mt(oe,q),v=C*mt,C&&(O=Math.cos(-C),k=Math.sin(-C),W=U*O+T*k,ie=Z*O+E*k,de=oe*O+q*k,T=U*-k+T*O,E=Z*-k+E*O,q=oe*-k+q*O,re=B*-k+re*O,U=W,Z=ie,oe=de),C=Mt(-F,q),x=C*mt,C&&(O=Math.cos(-C),k=Math.sin(-C),W=$*O-T*k,ie=D*O-E*k,de=F*O-q*k,re=Y*k+re*O,$=W,D=ie,F=de),C=Mt(D,$),h=C*mt,C&&(O=Math.cos(C),k=Math.sin(C),W=$*O+D*k,ie=U*O+Z*k,D=D*O-$*k,Z=Z*O-U*k,$=W,U=ie),v&&Math.abs(v)+Math.abs(h)>359.9&&(v=h=0,x=180-x),m=ne(Math.sqrt($*$+D*D+F*F)),_=ne(Math.sqrt(Z*Z+oe*oe)),C=Mt(U,Z),y=Math.abs(C)>2e-4?C*mt:0,w=re?1/(re<0?-re:re):0),n.svg&&(W=e.getAttribute("transform"),n.forceCSS=e.setAttribute("transform","")||!Sa(Ne(e,ee)),W&&e.setAttribute("transform",W))),Math.abs(y)>90&&Math.abs(y)<270&&(s?(m*=-1,y+=h<=0?180:-180,h+=h<=0?180:-180):(_*=-1,y+=y<=0?180:-180)),t=t||n.uncache,n.x=c-((n.xPercent=c&&(!t&&n.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-c)?-50:0)))?e.offsetWidth*n.xPercent/100:0)+a,n.y=f-((n.yPercent=f&&(!t&&n.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-f)?-50:0)))?e.offsetHeight*n.yPercent/100:0)+a,n.z=p+a,n.scaleX=ne(m),n.scaleY=ne(_),n.rotation=ne(h)+o,n.rotationX=ne(v)+o,n.rotationY=ne(x)+o,n.skewX=y+o,n.skewY=b+o,n.transformPerspective=w+a,(n.zOrigin=parseFloat(u.split(" ")[2])||!t&&n.zOrigin||0)&&(i[xe]=Ir(u)),n.xOffset=n.yOffset=0,n.force3D=be.force3D,n.renderTransform=n.svg?Z0:ga?Ea:z0,n.uncache=0,n},Ir=function(e){return(e=e.split(" "))[0]+" "+e[1]},Xn=function(e,t,n){var i=pe(t);return ne(parseFloat(t)+parseFloat(rt(e,"x",n+"px",i)))+i},z0=function(e,t){t.z="0px",t.rotationY=t.rotationX="0deg",t.force3D=0,Ea(e,t)},gt="0deg",ar="0px",vt=") ",Ea=function(e,t){var n=t||this,i=n.xPercent,s=n.yPercent,a=n.x,o=n.y,l=n.z,u=n.rotation,c=n.rotationY,f=n.rotationX,p=n.skewX,m=n.skewY,_=n.scaleX,h=n.scaleY,v=n.transformPerspective,x=n.force3D,y=n.target,b=n.zOrigin,w="",g=x==="auto"&&e&&e!==1||x===!0;if(b&&(f!==gt||c!==gt)){var j=parseFloat(c)*Nt,S=Math.sin(j),C=Math.cos(j),O;j=parseFloat(f)*Nt,O=Math.cos(j),a=Xn(y,a,S*O*-b),o=Xn(y,o,-Math.sin(j)*-b),l=Xn(y,l,C*O*-b+b)}v!==ar&&(w+="perspective("+v+vt),(i||s)&&(w+="translate("+i+"%, "+s+"%) "),(g||a!==ar||o!==ar||l!==ar)&&(w+=l!==ar||g?"translate3d("+a+", "+o+", "+l+") ":"translate("+a+", "+o+vt),u!==gt&&(w+="rotate("+u+vt),c!==gt&&(w+="rotateY("+c+vt),f!==gt&&(w+="rotateX("+f+vt),(p!==gt||m!==gt)&&(w+="skew("+p+", "+m+vt),(_!==1||h!==1)&&(w+="scale("+_+", "+h+vt),y.style[ee]=w||"translate(0, 0)"},Z0=function(e,t){var n=t||this,i=n.xPercent,s=n.yPercent,a=n.x,o=n.y,l=n.rotation,u=n.skewX,c=n.skewY,f=n.scaleX,p=n.scaleY,m=n.target,_=n.xOrigin,h=n.yOrigin,v=n.xOffset,x=n.yOffset,y=n.forceCSS,b=parseFloat(a),w=parseFloat(o),g,j,S,C,O;l=parseFloat(l),u=parseFloat(u),c=parseFloat(c),c&&(c=parseFloat(c),u+=c,l+=c),l||u?(l*=Nt,u*=Nt,g=Math.cos(l)*f,j=Math.sin(l)*f,S=Math.sin(l-u)*-p,C=Math.cos(l-u)*p,u&&(c*=Nt,O=Math.tan(u-c),O=Math.sqrt(1+O*O),S*=O,C*=O,c&&(O=Math.tan(c),O=Math.sqrt(1+O*O),g*=O,j*=O)),g=ne(g),j=ne(j),S=ne(S),C=ne(C)):(g=f,C=p,j=S=0),(b&&!~(a+"").indexOf("px")||w&&!~(o+"").indexOf("px"))&&(b=rt(m,"x",a,"px"),w=rt(m,"y",o,"px")),(_||h||v||x)&&(b=ne(b+_-(_*g+h*S)+v),w=ne(w+h-(_*j+h*C)+x)),(i||s)&&(O=m.getBBox(),b=ne(b+i/100*O.width),w=ne(w+s/100*O.height)),O="matrix("+g+","+j+","+S+","+C+","+b+","+w+")",m.setAttribute("transform",O),y&&(m.style[ee]=O)},B0=function(e,t,n,i,s){var a=360,o=ue(s),l=parseFloat(s)*(o&&~s.indexOf("rad")?mt:1),u=l-i,c=i+u+"deg",f,p;return o&&(f=s.split("_")[1],f==="short"&&(u%=a,u!==u%(a/2)&&(u+=u<0?a:-a)),f==="cw"&&u<0?u=(u+a*da)%a-~~(u/a)*a:f==="ccw"&&u>0&&(u=(u-a*da)%a-~~(u/a)*a)),e._pt=p=new ve(e._pt,t,n,i,u,S0),p.e=c,p.u="deg",e._props.push(n),p},Pa=function(e,t){for(var n in t)e[n]=t[n];return e},U0=function(e,t,n){var i=Pa({},n._gsap),s="perspective,force3D,transformOrigin,svgOrigin",a=n.style,o,l,u,c,f,p,m,_;i.svg?(u=n.getAttribute("transform"),n.setAttribute("transform",""),a[ee]=t,o=sr(n,1),_t(n,ee),n.setAttribute("transform",u)):(u=getComputedStyle(n)[ee],a[ee]=t,o=sr(n,1),a[ee]=u);for(l in Be)u=i[l],c=o[l],u!==c&&s.indexOf(l)<0&&(m=pe(u),_=pe(c),f=m!==_?rt(n,l,u,_):parseFloat(u),p=parseFloat(c),e._pt=new ve(e._pt,o,l,f,p-f,Vn),e._pt.u=_||0,e._props.push(l));Pa(o,i)};ge("padding,margin,Width,Radius",function(r,e){var t="Top",n="Right",i="Bottom",s="Left",a=(e<3?[t,n,i,s]:[t+s,t+n,i+n,i+s]).map(function(o){return e<2?r+o:"border"+o+r});Dr[e>1?"border"+r:r]=function(o,l,u,c,f){var p,m;if(arguments.length<4)return p=a.map(function(_){return Ue(o,_,u)}),m=p.join(" "),m.split(p[0]).length===5?p[0]:m;p=(c+"").split(" "),m={},a.forEach(function(_,h){return m[_]=p[h]=p[h]||p[(h-1)/2|0]}),o.init(l,m,f)}});var qa={name:"css",register:Yn,targetTest:function(e){return e.style&&e.nodeType},init:function(e,t,n,i,s){var a=this._props,o=e.style,l=n.vars.startAt,u,c,f,p,m,_,h,v,x,y,b,w,g,j,S,C;Zn||Yn(),this.styles=this.styles||_a(e),C=this.styles.props,this.tween=n;for(h in t)if(h!=="autoRound"&&(c=t[h],!(Te[h]&&ta(h,t,n,i,e,s)))){if(m=typeof c,_=Dr[h],m==="function"&&(c=c.call(n,i,e,s),m=typeof c),m==="string"&&~c.indexOf("random(")&&(c=Jt(c)),_)_(this,e,h,c,n)&&(S=1);else if(h.substr(0,2)==="--")u=(getComputedStyle(e).getPropertyValue(h)+"").trim(),c+="",Je.lastIndex=0,Je.test(u)||(v=pe(u),x=pe(c)),x?v!==x&&(u=rt(e,h,u,x)+x):v&&(c+=v),this.add(o,"setProperty",u,c,i,s,0,0,h),a.push(h),C.push(h,0,o[h]);else if(m!=="undefined"){if(l&&h in l?(u=typeof l[h]=="function"?l[h].call(n,i,e,s):l[h],ue(u)&&~u.indexOf("random(")&&(u=Jt(u)),pe(u+"")||u==="auto"||(u+=be.units[h]||pe(Ue(e,h))||""),(u+"").charAt(1)==="="&&(u=Ue(e,h))):u=Ue(e,h),p=parseFloat(u),y=m==="string"&&c.charAt(1)==="="&&c.substr(0,2),y&&(c=c.substr(2)),f=parseFloat(c),h in De&&(h==="autoAlpha"&&(p===1&&Ue(e,"visibility")==="hidden"&&f&&(p=0),C.push("visibility",0,o.visibility),tt(this,o,"visibility",p?"inherit":"hidden",f?"inherit":"hidden",!f)),h!=="scale"&&h!=="transform"&&(h=De[h],~h.indexOf(",")&&(h=h.split(",")[0]))),b=h in Be,b){if(this.styles.save(h),m==="string"&&c.substring(0,6)==="var(--"&&(c=Ne(e,c.substring(4,c.indexOf(")"))),f=parseFloat(c)),w||(g=e._gsap,g.renderTransform&&!t.parseTransform||sr(e,t.parseTransform),j=t.smoothOrigin!==!1&&g.smooth,w=this._pt=new ve(this._pt,o,ee,0,1,g.renderTransform,g,0,-1),w.dep=1),h==="scale")this._pt=new ve(this._pt,g,"scaleY",g.scaleY,(y?Ot(g.scaleY,y+f):f)-g.scaleY||0,Vn),this._pt.u=0,a.push("scaleY",h),h+="X";else if(h==="transformOrigin"){C.push(xe,0,o[xe]),c=$0(c),g.svg?Gn(e,c,0,j,0,this):(x=parseFloat(c.split(" ")[2])||0,x!==g.zOrigin&&tt(this,g,"zOrigin",g.zOrigin,x),tt(this,o,h,Ir(u),Ir(c)));continue}else if(h==="svgOrigin"){Gn(e,c,1,j,0,this);continue}else if(h in Oa){B0(this,g,h,p,y?Ot(p,y+c):c);continue}else if(h==="smoothOrigin"){tt(this,g,"smooth",g.smooth,c);continue}else if(h==="force3D"){g[h]=c;continue}else if(h==="transform"){U0(this,c,e);continue}}else h in o||(h=kt(h)||h);if(b||(f||f===0)&&(p||p===0)&&!O0.test(c)&&h in o)v=(u+"").substr((p+"").length),f||(f=0),x=pe(c)||(h in be.units?be.units[h]:v),v!==x&&(p=rt(e,h,u,x)),this._pt=new ve(this._pt,b?g:o,h,p,(y?Ot(p,y+f):f)-p,!b&&(x==="px"||h==="zIndex")&&t.autoRound!==!1?E0:Vn),this._pt.u=x||0,v!==x&&x!=="%"&&(this._pt.b=u,this._pt.r=C0);else if(h in o)I0.call(this,e,h,u,y?y+c:c);else if(h in e)this.add(e,h,u||e[h],y?y+c:c,i,s);else if(h!=="parseTransform"){vn(h,c);continue}b||(h in o?C.push(h,0,o[h]):typeof e[h]=="function"?C.push(h,2,e[h]()):C.push(h,1,u||e[h])),a.push(h)}}S&&oa(this)},render:function(e,t){if(t.tween._time||!Bn())for(var n=t._pt;n;)n.r(e,n.d),n=n._next;else t.styles.revert()},get:Ue,aliases:De,getSetter:function(e,t,n){var i=De[t];return i&&i.indexOf(",")<0&&(t=i),t in Be&&t!==xe&&(e._gsap.x||Ue(e,"x"))?n&&fa===n?t==="scale"?N0:A0:(fa=n||{})&&(t==="scale"?M0:k0):e.style&&!dn(e.style[t])?P0:~t.indexOf("-")?q0:Dn(e,t)},core:{_removeProperty:_t,_getMatrix:Wn}};ye.utils.checkPrefix=kt,ye.core.getStyleSaver=_a,(function(r,e,t,n){var i=ge(r+","+e+","+t,function(s){Be[s]=1});ge(e,function(s){be.units[s]="deg",Oa[s]=1}),De[i[13]]=r+","+e,ge(n,function(s){var a=s.split(":");De[a[1]]=i[a[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"),ge("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(r){be.units[r]="px"}),ye.registerPlugin(qa);var Ft=ye.registerPlugin(qa)||ye;Ft.core.Tween;const $r=(r,e,t,n)=>e&&(Array.isArray(e)?e.length>0:e)?r.to(e,t,n):r,V0=(r,e)=>{Da.useGSAP(()=>{if(!r.current)return;const t=Ft.timeline({defaults:{duration:.7,ease:"power1.out"}}),n={navbar:r.current,navLabels:Ft.utils.toArray(".nav-label"),navIconWrappers:Ft.utils.toArray(".nav-icon-wrapper"),navIcons:Ft.utils.toArray(".nav-icon"),navLinkItems:Ft.utils.toArray(".nav-link-item"),logoutButton:document.querySelector(".logout-button"),logoutLabel:document.querySelector(".logout-label"),logoutIcon:document.querySelector(".logout-icon"),profileContainer:document.querySelector(".profile-container"),profileName:document.querySelector(".profile-name"),profileOptions:document.querySelector(".profile-options"),profileImageWrapper:document.querySelector(".profile-image-wrapper"),coverImageProfile:document.querySelector(".cover-image-profile"),navContentWrapper:document.querySelector(".nav-content-wrapper-active"),buttonCrevron:document.querySelector(".button-select-crevron"),separatorProfile:document.querySelector(".border-separator-profile"),buttonProfile:document.querySelector(".button-profile"),profileUserInfo:document.querySelector(".profile-user-info"),buttonContentChevron:document.querySelector(".button-content-chevron")};e?H0(t,n):Y0(t,n)},{scope:r,dependencies:[e]})},H0=(r,e)=>{r.to(e.navbar,{width:"6rem",duration:.2,ease:"bounce.out"}).to(e.navLinkItems,{justifyContent:"center",alignItems:"center",width:"3rem",height:"3rem",display:"flex"},-1).to(e.navLabels,{opacity:0,width:30,marginLeft:0},0).to(e.navIcons,{scale:.95,ease:"elastic.out(1, 0.3)"},0),$r(r,e.buttonCrevron,{width:0,opacity:0,duration:.7,ease:"power1.out",onComplete:()=>{e.buttonCrevron.style.display="none"}},0),$r(r,e.buttonContentChevron,{display:"none"},-1).to(e.separatorProfile,{display:"none"},-1).to(e.profileUserInfo,{display:"none"},-1).to(e.navLinkItems,{borderRadius:"8px",duration:.7,ease:"power1.out"},.8).to(e.buttonProfile,{height:"3rem",width:"3rem",margin:0,padding:0,duration:.3,ease:"power2.out",display:"flex",justifyContent:"center",alignItems:"center"},-1)},Y0=(r,e)=>{r.to(e.navbar,{width:"20rem"},-1).to(e.navLinkItems,{borderRadius:"10px",duration:.3,width:"100%",justifyContent:"flex-start"},-1),$r(r,e.buttonCrevron,{width:"auto",opacity:1,duration:0,ease:"power1.out",onComplete:()=>{e.buttonCrevron.style.display="flex"}},0),$r(r,e.buttonContentChevron,{display:"flex"},0).to(e.separatorProfile,{display:"flex"},0).to(e.profileUserInfo,{display:"flex"},-1).to(e.buttonProfile,{borderTopLeftRadius:"0.375rem",borderBottomLeftRadius:"0.375rem",borderTopRightRadius:"0",borderBottomRightRadius:"0",duration:0},-1).to(e.separatorProfile,{display:"flex"},0).to(e.navLabels,{opacity:1,width:"auto",scaleX:1},0).to(e.navIcons,{scale:1},.3)},Aa=({children:r,defaultCollapsed:e=!1,className:t=""})=>{const[n,i]=M.useState(e),s=M.useRef(null);V0(s,n);const o={isCollapsed:n,setIsCollapsed:i,navbarRef:s,toggleCollapse:()=>{i(!n)}};return d.jsx(ps.Provider,{value:o,children:d.jsx("div",{ref:s,className:`bg-neutral-default-default overflow-hidden h-screen flex flex-col border-r border-neutral-strong-default transition-all duration-300 ${n?"w-16":"w-64"} ${t}`,children:r})})},W0=Object.assign(Aa,{Root:Aa,CollapseButton:({className:r="",icon:e})=>{const{isCollapsed:t,toggleCollapse:n}=un();return d.jsx("div",{className:"flex justify-end mt-5 mr-5",children:d.jsx("button",{onClick:n,className:` bg-neutral-strong-default w-10 h-10 flex items-center justify-center cursor-pointer hover:bg-neutral-strong-medium-default hover:text-primary-default-default text-neutral-default-default rounded-md transition-colors ${r}`,children:e||d.jsx("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",className:`transform transition-transform ${t?"rotate-180":""}`,children:d.jsx("path",{d:"M15 18L9 12L15 6",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})})})},Header:({children:r,className:e})=>d.jsx("div",{className:e,children:r}),Divider:({className:r})=>d.jsx("div",{className:N("px-3 flex justify-center items-center w-full mb-4",r),children:d.jsx("div",{className:"border-b border-neutral-strong-default border-1 w-full"})}),Content:({children:r,className:e})=>d.jsx("div",{className:e,children:r}),Spacer:({className:r,size:e="auto"})=>{const t=()=>{switch(e){case"auto":return"flex-grow";case"small":return"h-2 w-2";case"medium":return"h-4 w-4";case"large":return"h-8 w-8"}};return d.jsx("div",{className:N(t(),r)})},Footer:({children:r,className:e})=>d.jsx("div",{className:e,children:r})}),G0=({children:r,icon:e,label:t,href:n,onClick:i,isActive:s=!1,className:a})=>{const o=n?"a":"button";return d.jsxs(o,{href:n,onClick:i,className:N("nav-link-item","flex items-center w-full px-3 py-2 text-left","hover:bg-neutral-medium-default transition-colors rounded-lg","focus:outline-none focus:ring-2 focus:ring-primary-default-default",s&&"bg-neutral-medium-default",a),children:[e&&d.jsx("div",{className:"nav-icon-wrapper mr-3 flex-shrink-0",children:d.jsx("div",{className:"nav-icon flex items-center justify-center w-5 h-5",children:e})}),t&&d.jsx("span",{className:"nav-label text-sm text-neutral-strong-default",children:t}),r]})},X0=({user:r,className:e,onProfileClick:t})=>{const{isCollapsed:n}=un(),[i,s]=M.useState(!1),a=()=>{n?t?.():s(!i)};return d.jsxs("div",{className:N("profile-container",e),children:[d.jsxs("button",{onClick:a,className:N("button-profile","flex items-center w-full p-3 text-left","hover:bg-neutral-medium-default transition-colors rounded-lg","focus:outline-none focus:ring-2 focus:ring-primary-default-default"),children:[d.jsx("div",{className:"profile-image-wrapper flex-shrink-0 mr-3",children:d.jsx("div",{className:"cover-image-profile w-10 h-10 rounded-full bg-primary-default-default flex items-center justify-center text-white text-sm font-semibold",children:r.profileImage?d.jsx("img",{src:r.profileImage,alt:r.name,className:"w-full h-full rounded-full object-cover"}):r.name.charAt(0).toUpperCase()})}),d.jsxs("div",{className:"profile-user-info flex-1 min-w-0",children:[d.jsx("div",{className:"profile-name text-sm font-medium text-neutral-strong-default truncate",children:r.name}),d.jsx("div",{className:"text-xs text-neutral-medium-default truncate",children:r.email})]}),d.jsx("div",{className:"button-content-chevron ml-2 flex-shrink-0",children:d.jsx("div",{className:"button-select-crevron w-4 h-4 text-neutral-medium-default",children:i?"▲":"▼"})})]}),i&&!n&&d.jsx("div",{className:"profile-options mt-2 pl-3 space-y-1",children:d.jsxs("button",{className:"logout-button flex items-center w-full px-3 py-2 text-left text-sm text-neutral-strong-default hover:bg-neutral-medium-default rounded-lg",children:[d.jsx("span",{className:"logout-icon mr-2",children:"🚪"}),d.jsx("span",{className:"logout-label",children:"Cerrar sesión"})]})}),d.jsx("div",{className:"border-separator-profile mt-3 border-t border-neutral-strong-default"})]})},K0=({links:r,isLinkActive:e,componentBadge:t,onClick:n,activeModal:i,onLinkClick:s})=>d.jsx("nav",{className:"flex flex-col gap-1",children:r?.map((a,o)=>{const l=e(a.path)||(a.relatedPaths?.some(u=>e(u))??!1);return a.isView&&a.viewAccess()&&d.jsxs(I.motion.div,{initial:{opacity:0},animate:{opacity:1},transition:{duration:.4,delay:o*.03,ease:"easeOut"},className:"relative flex justify-center w-full items-center px-3",children:[a.path==="/notifications"&&d.jsx("button",{onClick:n,className:N("nav-link-item flex rounded-lg cursor-pointer relative overflow-hidden h-10 ","transition-all duration-300 ease-out w-full","group hover:bg-neutral-medium-selected",i?"text-primary-default-default":"text-neutral-default-default"),children:d.jsxs(I.motion.div,{className:"nav-content-wrapper flex items-center justify-between gap-3 px-3 relative z-10 w-full",animate:{x:0},transition:{duration:.25,ease:"easeOut"},children:[d.jsxs("div",{className:"flex items-center gap-3",children:[d.jsx(I.motion.div,{className:"nav-icon-wrapper flex items-center justify-center flex-shrink-0",animate:{scale:i?1.05:1},transition:{duration:.25,ease:"easeOut"},children:typeof a.icon=="function"?a.icon({size:24,className:N("nav-icon transition-colors duration-250 ease-out",i?"text-primary-default-default":"text-neutral-default-default group-hover:text-white-prometeo")}):"text"}),d.jsx("span",{className:"nav-label whitespace-nowrap text-sm font-semibold ",children:a.title})]}),t&&a.count&&a.count>0&&t(a.count)]})}),a.path!=="/notifications"&&d.jsxs("button",{onClick:()=>{n?.(),s?.(a.path)},className:N("nav-link-item flex rounded-lg cursor-pointer relative overflow-hidden h-10 ","transition-all duration-300 ease-out w-full","group hover:bg-neutral-medium-selected",l?"text-primary-default-default bg-neutral-medium-selected":"text-neutral-default-default"),children:[d.jsx(I.AnimatePresence,{mode:"wait",children:l&&d.jsx(I.motion.div,{layoutId:"nav-active-bg",className:"absolute inset-0 bg-neutral-medium-selected rounded-lg",initial:!1,animate:{opacity:1},exit:{opacity:0},transition:{type:"tween",duration:.25,ease:"easeInOut"}})}),d.jsxs(I.motion.div,{className:"nav-content-wrapper flex items-center justify-between gap-3 px-3 relative z-10 w-full",animate:{x:0},transition:{duration:.25,ease:"easeOut"},children:[d.jsxs("div",{className:"flex items-center gap-3",children:[d.jsx(I.motion.div,{className:"nav-icon-wrapper flex items-center justify-center flex-shrink-0",animate:{scale:l?1.05:1},transition:{duration:.25,ease:"easeOut"},children:typeof a.icon=="function"?a.icon({size:24,className:N("nav-icon transition-colors duration-250 ease-out",l?"text-primary-default-default":"text-neutral-default-default group-hover:text-white-prometeo")}):null}),d.jsx("span",{className:"nav-label whitespace-nowrap text-sm font-semibold ",children:a.title})]}),t&&a.count&&a.count>0&&t(a.count)]})]})]},o)})}),J0=({count:r,maxCount:e=9,className:t="",size:n="medium",variant:i="primary",showZero:s=!1})=>{const a=r,o=a>e?`+${e}`:a;if(a===0&&!s)return null;const l={small:"w-4 h-4 text-xs",medium:"w-5 h-5 text-xs",large:"w-6 h-6 text-sm"},u={primary:"bg-primary-default-default text-neutral-strong-default",secondary:"bg-neutral-medium-default text-neutral-strong-default",success:"bg-green-500 text-white",warning:"bg-yellow-500 text-black",danger:"bg-red-500 text-white"};return d.jsx("div",{className:N("rounded-full flex items-center justify-center font-medium",l[n],u[i],t),children:d.jsx("span",{children:o})})},Q0=({isActiveModalNotification:r,setIsActiveModalNotification:e})=>({handleNotificationClick:()=>{e(!0)},isActiveModalNotification:r}),ed=r=>{const e=M.useRef(null);return{isCollapsed:r,navbarRef:e}},td=({isCollapsed:r,onToggle:e})=>d.jsx("div",{className:"p-4 flex justify-end",children:d.jsx("button",{onClick:e,title:r?"Expandir Navbar":"Contraer Navbar","aria-label":r?"Expandir Navbar":"Contraer Navbar",className:"cursor-pointer text-neutral-default-default hover:text-primary-default transition-colors duration-300",children:r?d.jsx(Ce.CloseNavBarDesktop,{size:24,className:"rotate-180 transition-transform duration-300"}):d.jsx(Ce.CloseNavBarDesktop,{size:24,className:"rotate-0 transition-transform duration-300"})})}),rd=({logoUrl:r,companyName:e})=>d.jsx("div",{className:"w-full flex justify-center items-center p-2 h-20",children:d.jsx("img",{src:r,className:"h-2/3 rounded-full",alt:e??""})}),nd=(r,e=!0)=>{const t=M.useRef(null);return M.useEffect(()=>{if(!e)return;const n=i=>{t.current&&!t.current.contains(i.target)&&r()};return document.addEventListener("mousedown",n,{capture:!0}),document.addEventListener("touchstart",n,{capture:!0}),()=>{document.removeEventListener("mousedown",n,{capture:!0}),document.removeEventListener("touchstart",n,{capture:!0})}},[r,e]),t};A.Avatar=Za,A.Badge=J0,A.Button=Va,A.CompanyLogo=rd,A.Icons=Ce,A.Input=mo,A.InputFormik=jf,A.LayoutGeneric=qf,A.Menu=Sf,A.NavbarCollapseButton=td,A.NavbarLinks=K0,A.NavigationLink=G0,A.Pagination=Cf,A.ProfileSection=X0,A.Select=Pf,A.Sidebar=W0,A.Spinner=zr,A.UserProfile=ds,A.useActionsNavbar=Q0,A.useClickOutside=nd,A.useNavbarCollapse=ed,A.useSidebar=un,Object.defineProperty(A,Symbol.toStringTag,{value:"Module"})}));
49
+ */var Kn,Be,ut,Fr,Ge,ei,Lr,ra=function(){return typeof window<"u"},Me={},Je=180/Math.PI,ct=Math.PI/180,dt=Math.atan2,ti=1e8,Ir=/([A-Z])/g,na=/(left|right|width|margin|padding|x)/i,ia=/[\s,\(]\S/,Pe={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},Zr=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},sa=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)},aa=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)},oa=function(e,t){var r=t.s+t.c*e;t.set(t.t,t.p,~~(r+(r<0?-.5:.5))+t.u,t)},ri=function(e,t){return t.set(t.t,t.p,e?t.e:t.b,t)},ni=function(e,t){return t.set(t.t,t.p,e!==1?t.b:t.e,t)},la=function(e,t,r){return e.style[t]=r},ua=function(e,t,r){return e.style.setProperty(t,r)},ca=function(e,t,r){return e._gsap[t]=r},da=function(e,t,r){return e._gsap.scaleX=e._gsap.scaleY=r},fa=function(e,t,r,n,s){var a=e._gsap;a.scaleX=a.scaleY=r,a.renderTransform(s,a)},ha=function(e,t,r,n,s){var a=e._gsap;a[t]=r,a.renderTransform(s,a)},X="transform",me=X+"Origin",pa=function i(e,t){var r=this,n=this.target,s=n.style,a=n._gsap;if(e in Me&&s){if(this.tfm=this.tfm||{},e!=="transform")e=Pe[e]||e,~e.indexOf(",")?e.split(",").forEach(function(o){return r.tfm[o]=Re(n,o)}):this.tfm[e]=a.x?a[e]:Re(n,e),e===me&&(this.tfm.zOrigin=a.zOrigin);else return Pe.transform.split(",").forEach(function(o){return i.call(r,o,t)});if(this.props.indexOf(X)>=0)return;a.svg&&(this.svgo=n.getAttribute("data-svg-origin"),this.props.push(me,t,"")),e=X}(s||t)&&this.props.push(e,t,s[e])},ii=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},ma=function(){var e=this.props,t=this.target,r=t.style,n=t._gsap,s,a;for(s=0;s<e.length;s+=3)e[s+1]?e[s+1]===2?t[e[s]](e[s+2]):t[e[s]]=e[s+2]:e[s+2]?r[e[s]]=e[s+2]:r.removeProperty(e[s].substr(0,2)==="--"?e[s]:e[s].replace(Ir,"-$1").toLowerCase());if(this.tfm){for(a in this.tfm)n[a]=this.tfm[a];n.svg&&(n.renderTransform(),t.setAttribute("data-svg-origin",this.svgo||"")),s=Lr(),(!s||!s.isStart)&&!r[X]&&(ii(r),n.zOrigin&&r[me]&&(r[me]+=" "+n.zOrigin+"px",n.zOrigin=0,n.renderTransform()),n.uncache=1)}},si=function(e,t){var r={target:e,props:[],revert:ma,save:pa};return e._gsap||pe.core.getCache(e),t&&e.style&&e.nodeType&&t.split(",").forEach(function(n){return r.save(n)}),r},ai,zr=function(e,t){var r=Be.createElementNS?Be.createElementNS((t||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):Be.createElement(e);return r&&r.style?r:Be.createElement(e)},qe=function i(e,t,r){var n=getComputedStyle(e);return n[t]||n.getPropertyValue(t.replace(Ir,"-$1").toLowerCase())||n.getPropertyValue(t)||!r&&i(e,ft(t)||t,1)||""},oi="O,Moz,ms,Ms,Webkit".split(","),ft=function(e,t,r){var n=t||Ge,s=n.style,a=5;if(e in s&&!r)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);a--&&!(oi[a]+e in s););return a<0?null:(a===3?"ms":a>=0?oi[a]:"")+e},Br=function(){ra()&&window.document&&(Kn=window,Be=Kn.document,ut=Be.documentElement,Ge=zr("div")||{style:{}},zr("div"),X=ft(X),me=X+"Origin",Ge.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",ai=!!ft("perspective"),Lr=pe.core.reverting,Fr=1)},li=function(e){var t=e.ownerSVGElement,r=zr("svg",t&&t.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),n=e.cloneNode(!0),s;n.style.display="block",r.appendChild(n),ut.appendChild(r);try{s=n.getBBox()}catch{}return r.removeChild(n),ut.removeChild(r),s},ui=function(e,t){for(var r=t.length;r--;)if(e.hasAttribute(t[r]))return e.getAttribute(t[r])},ci=function(e){var t,r;try{t=e.getBBox()}catch{t=li(e),r=1}return t&&(t.width||t.height)||r||(t=li(e)),t&&!t.width&&!t.x&&!t.y?{x:+ui(e,["x","cx","x1"])||0,y:+ui(e,["y","cy","y1"])||0,width:0,height:0}:t},di=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&ci(e))},Qe=function(e,t){if(t){var r=e.style,n;t in Me&&t!==me&&(t=X),r.removeProperty?(n=t.substr(0,2),(n==="ms"||t.substr(0,6)==="webkit")&&(t="-"+t),r.removeProperty(n==="--"?t:t.replace(Ir,"-$1").toLowerCase())):r.removeAttribute(t)}},Ve=function(e,t,r,n,s,a){var o=new he(e._pt,t,r,0,1,a?ni:ri);return e._pt=o,o.b=n,o.e=s,e._props.push(r),o},fi={deg:1,rad:1,turn:1},_a={grid:1,flex:1},He=function i(e,t,r,n){var s=parseFloat(r)||0,a=(r+"").trim().substr((s+"").length)||"px",o=Ge.style,l=na.test(t),u=e.tagName.toLowerCase()==="svg",c=(u?"client":"offset")+(l?"Width":"Height"),h=100,p=n==="px",m=n==="%",_,f,g,x;if(n===a||!s||fi[n]||fi[a])return s;if(a!=="px"&&!p&&(s=i(e,t,r,"px")),x=e.getCTM&&di(e),(m||a==="%")&&(Me[t]||~t.indexOf("adius")))return _=x?e.getBBox()[l?"width":"height"]:e[c],J(m?s/_*h:s/100*_);if(o[l?"width":"height"]=h+(p?a:n),f=n!=="rem"&&~t.indexOf("adius")||n==="em"&&e.appendChild&&!u?e:e.parentNode,x&&(f=(e.ownerSVGElement||{}).parentNode),(!f||f===Be||!f.appendChild)&&(f=Be.body),g=f._gsap,g&&m&&g.width&&l&&g.time===be.time&&!g.uncache)return J(s/g.width*h);if(m&&(t==="height"||t==="width")){var v=e.style[t];e.style[t]=h+n,_=e[c],v?e.style[t]=v:Qe(e,t)}else(m||a==="%")&&!_a[qe(f,"display")]&&(o.position=qe(e,"position")),f===e&&(o.position="static"),f.appendChild(Ge),_=Ge[c],f.removeChild(Ge),o.position="absolute";return l&&m&&(g=Ue(f),g.time=be.time,g.width=f[c]),J(p?_*s/h:_&&s?h/_*s:0)},Re=function(e,t,r,n){var s;return Fr||Br(),t in Pe&&t!=="transform"&&(t=Pe[t],~t.indexOf(",")&&(t=t.split(",")[0])),Me[t]&&t!=="transform"?(s=Nt(e,n),s=t!=="transformOrigin"?s[t]:s.svg?s.origin:tr(qe(e,me))+" "+s.zOrigin+"px"):(s=e.style[t],(!s||s==="auto"||n||~(s+"").indexOf("calc("))&&(s=er[t]&&er[t](e,t,r)||qe(e,t)||mn(e,t)||(t==="opacity"?1:0))),r&&!~(s+"").trim().indexOf(" ")?He(e,t,s,r)+r:s},ga=function(e,t,r,n){if(!r||r==="none"){var s=ft(t,e,1),a=s&&qe(e,s,1);a&&a!==r?(t=s,r=a):t==="borderColor"&&(r=qe(e,"borderTopColor"))}var o=new he(this._pt,e.style,t,0,1,Xn),l=0,u=0,c,h,p,m,_,f,g,x,v,b,T,y;if(o.b=r,o.e=n,r+="",n+="",n.substring(0,6)==="var(--"&&(n=qe(e,n.substring(4,n.indexOf(")")))),n==="auto"&&(f=e.style[t],e.style[t]=n,n=qe(e,t)||n,f?e.style[t]=f:Qe(e,t)),c=[r,n],In(c),r=c[0],n=c[1],p=r.match(rt)||[],y=n.match(rt)||[],y.length){for(;h=rt.exec(n);)g=h[0],v=n.substring(l,h.index),_?_=(_+1)%5:(v.substr(-5)==="rgba("||v.substr(-5)==="hsla(")&&(_=1),g!==(f=p[u++]||"")&&(m=parseFloat(f)||0,T=f.substr((m+"").length),g.charAt(1)==="="&&(g=nt(m,g)+T),x=parseFloat(g),b=g.substr((x+"").length),l=rt.lastIndex-b.length,b||(b=b||_e.units[t]||T,l===n.length&&(n+=b,o.e+=b)),T!==b&&(m=He(e,t,f,b)||0),o._pt={_next:o._pt,p:v||u===1?v:",",s:m,c:x-m,m:_&&_<4||t==="zIndex"?Math.round:0});o.c=l<n.length?n.substring(l,n.length):""}else o.r=t==="display"&&n==="none"?ni:ri;return ln.test(n)&&(o.e=0),this._pt=o,o},hi={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},va=function(e){var t=e.split(" "),r=t[0],n=t[1]||"50%";return(r==="top"||r==="bottom"||n==="left"||n==="right")&&(e=r,r=n,n=e),t[0]=hi[r]||r,t[1]=hi[n]||n,t.join(" ")},xa=function(e,t){if(t.tween&&t.tween._time===t.tween._dur){var r=t.t,n=r.style,s=t.u,a=r._gsap,o,l,u;if(s==="all"||s===!0)n.cssText="",l=1;else for(s=s.split(","),u=s.length;--u>-1;)o=s[u],Me[o]&&(l=1,o=o==="transformOrigin"?me:X),Qe(r,o);l&&(Qe(r,X),a&&(a.svg&&r.removeAttribute("transform"),n.scale=n.rotate=n.translate="none",Nt(r,1),a.uncache=1,ii(n)))}},er={clearProps:function(e,t,r,n,s){if(s.data!=="isFromStart"){var a=e._pt=new he(e._pt,t,r,0,0,xa);return a.u=n,a.pr=-10,a.tween=s,e._props.push(r),1}}},Pt=[1,0,0,1,0,0],pi={},mi=function(e){return e==="matrix(1, 0, 0, 1, 0, 0)"||e==="none"||!e},_i=function(e){var t=qe(e,X);return mi(t)?Pt:t.substr(7).match(on).map(J)},Vr=function(e,t){var r=e._gsap||Ue(e),n=e.style,s=_i(e),a,o,l,u;return r.svg&&e.getAttribute("transform")?(l=e.transform.baseVal.consolidate().matrix,s=[l.a,l.b,l.c,l.d,l.e,l.f],s.join(",")==="1,0,0,1,0,0"?Pt:s):(s===Pt&&!e.offsetParent&&e!==ut&&!r.svg&&(l=n.display,n.display="block",a=e.parentNode,(!a||!e.offsetParent&&!e.getBoundingClientRect().width)&&(u=1,o=e.nextElementSibling,ut.appendChild(e)),s=_i(e),l?n.display=l:Qe(e,"display"),u&&(o?a.insertBefore(e,o):a?a.appendChild(e):ut.removeChild(e))),t&&s.length>6?[s[0],s[1],s[4],s[5],s[12],s[13]]:s)},Hr=function(e,t,r,n,s,a){var o=e._gsap,l=s||Vr(e,!0),u=o.xOrigin||0,c=o.yOrigin||0,h=o.xOffset||0,p=o.yOffset||0,m=l[0],_=l[1],f=l[2],g=l[3],x=l[4],v=l[5],b=t.split(" "),T=parseFloat(b[0])||0,y=parseFloat(b[1])||0,O,q,C,j;r?l!==Pt&&(q=m*g-_*f)&&(C=T*(g/q)+y*(-f/q)+(f*v-g*x)/q,j=T*(-_/q)+y*(m/q)-(m*v-_*x)/q,T=C,y=j):(O=ci(e),T=O.x+(~b[0].indexOf("%")?T/100*O.width:T),y=O.y+(~(b[1]||b[0]).indexOf("%")?y/100*O.height:y)),n||n!==!1&&o.smooth?(x=T-u,v=y-c,o.xOffset=h+(x*m+v*f)-x,o.yOffset=p+(x*_+v*g)-v):o.xOffset=o.yOffset=0,o.xOrigin=T,o.yOrigin=y,o.smooth=!!n,o.origin=t,o.originIsAbsolute=!!r,e.style[me]="0px 0px",a&&(Ve(a,o,"xOrigin",u,T),Ve(a,o,"yOrigin",c,y),Ve(a,o,"xOffset",h,o.xOffset),Ve(a,o,"yOffset",p,o.yOffset)),e.setAttribute("data-svg-origin",T+" "+y)},Nt=function(e,t){var r=e._gsap||new Vn(e);if("x"in r&&!t&&!r.uncache)return r;var n=e.style,s=r.scaleX<0,a="px",o="deg",l=getComputedStyle(e),u=qe(e,me)||"0",c,h,p,m,_,f,g,x,v,b,T,y,O,q,C,j,N,F,D,R,H,V,z,U,ne,ce,w,S,k,B,ee,ie;return c=h=p=f=g=x=v=b=T=0,m=_=1,r.svg=!!(e.getCTM&&di(e)),l.translate&&((l.translate!=="none"||l.scale!=="none"||l.rotate!=="none")&&(n[X]=(l.translate!=="none"?"translate3d("+(l.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(l.rotate!=="none"?"rotate("+l.rotate+") ":"")+(l.scale!=="none"?"scale("+l.scale.split(" ").join(",")+") ":"")+(l[X]!=="none"?l[X]:"")),n.scale=n.rotate=n.translate="none"),q=Vr(e,r.svg),r.svg&&(r.uncache?(ne=e.getBBox(),u=r.xOrigin-ne.x+"px "+(r.yOrigin-ne.y)+"px",U=""):U=!t&&e.getAttribute("data-svg-origin"),Hr(e,U||u,!!U||r.originIsAbsolute,r.smooth!==!1,q)),y=r.xOrigin||0,O=r.yOrigin||0,q!==Pt&&(F=q[0],D=q[1],R=q[2],H=q[3],c=V=q[4],h=z=q[5],q.length===6?(m=Math.sqrt(F*F+D*D),_=Math.sqrt(H*H+R*R),f=F||D?dt(D,F)*Je:0,v=R||H?dt(R,H)*Je+f:0,v&&(_*=Math.abs(Math.cos(v*ct))),r.svg&&(c-=y-(y*F+O*R),h-=O-(y*D+O*H))):(ie=q[6],B=q[7],w=q[8],S=q[9],k=q[10],ee=q[11],c=q[12],h=q[13],p=q[14],C=dt(ie,k),g=C*Je,C&&(j=Math.cos(-C),N=Math.sin(-C),U=V*j+w*N,ne=z*j+S*N,ce=ie*j+k*N,w=V*-N+w*j,S=z*-N+S*j,k=ie*-N+k*j,ee=B*-N+ee*j,V=U,z=ne,ie=ce),C=dt(-R,k),x=C*Je,C&&(j=Math.cos(-C),N=Math.sin(-C),U=F*j-w*N,ne=D*j-S*N,ce=R*j-k*N,ee=H*N+ee*j,F=U,D=ne,R=ce),C=dt(D,F),f=C*Je,C&&(j=Math.cos(C),N=Math.sin(C),U=F*j+D*N,ne=V*j+z*N,D=D*j-F*N,z=z*j-V*N,F=U,V=ne),g&&Math.abs(g)+Math.abs(f)>359.9&&(g=f=0,x=180-x),m=J(Math.sqrt(F*F+D*D+R*R)),_=J(Math.sqrt(z*z+ie*ie)),C=dt(V,z),v=Math.abs(C)>2e-4?C*Je:0,T=ee?1/(ee<0?-ee:ee):0),r.svg&&(U=e.getAttribute("transform"),r.forceCSS=e.setAttribute("transform","")||!mi(qe(e,X)),U&&e.setAttribute("transform",U))),Math.abs(v)>90&&Math.abs(v)<270&&(s?(m*=-1,v+=f<=0?180:-180,f+=f<=0?180:-180):(_*=-1,v+=v<=0?180:-180)),t=t||r.uncache,r.x=c-((r.xPercent=c&&(!t&&r.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-c)?-50:0)))?e.offsetWidth*r.xPercent/100:0)+a,r.y=h-((r.yPercent=h&&(!t&&r.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-h)?-50:0)))?e.offsetHeight*r.yPercent/100:0)+a,r.z=p+a,r.scaleX=J(m),r.scaleY=J(_),r.rotation=J(f)+o,r.rotationX=J(g)+o,r.rotationY=J(x)+o,r.skewX=v+o,r.skewY=b+o,r.transformPerspective=T+a,(r.zOrigin=parseFloat(u.split(" ")[2])||!t&&r.zOrigin||0)&&(n[me]=tr(u)),r.xOffset=r.yOffset=0,r.force3D=_e.force3D,r.renderTransform=r.svg?ba:ai?gi:ya,r.uncache=0,r},tr=function(e){return(e=e.split(" "))[0]+" "+e[1]},Ur=function(e,t,r){var n=oe(t);return J(parseFloat(t)+parseFloat(He(e,"x",r+"px",n)))+n},ya=function(e,t){t.z="0px",t.rotationY=t.rotationX="0deg",t.force3D=0,gi(e,t)},Ke="0deg",Et="0px",et=") ",gi=function(e,t){var r=t||this,n=r.xPercent,s=r.yPercent,a=r.x,o=r.y,l=r.z,u=r.rotation,c=r.rotationY,h=r.rotationX,p=r.skewX,m=r.skewY,_=r.scaleX,f=r.scaleY,g=r.transformPerspective,x=r.force3D,v=r.target,b=r.zOrigin,T="",y=x==="auto"&&e&&e!==1||x===!0;if(b&&(h!==Ke||c!==Ke)){var O=parseFloat(c)*ct,q=Math.sin(O),C=Math.cos(O),j;O=parseFloat(h)*ct,j=Math.cos(O),a=Ur(v,a,q*j*-b),o=Ur(v,o,-Math.sin(O)*-b),l=Ur(v,l,C*j*-b+b)}g!==Et&&(T+="perspective("+g+et),(n||s)&&(T+="translate("+n+"%, "+s+"%) "),(y||a!==Et||o!==Et||l!==Et)&&(T+=l!==Et||y?"translate3d("+a+", "+o+", "+l+") ":"translate("+a+", "+o+et),u!==Ke&&(T+="rotate("+u+et),c!==Ke&&(T+="rotateY("+c+et),h!==Ke&&(T+="rotateX("+h+et),(p!==Ke||m!==Ke)&&(T+="skew("+p+", "+m+et),(_!==1||f!==1)&&(T+="scale("+_+", "+f+et),v.style[X]=T||"translate(0, 0)"},ba=function(e,t){var r=t||this,n=r.xPercent,s=r.yPercent,a=r.x,o=r.y,l=r.rotation,u=r.skewX,c=r.skewY,h=r.scaleX,p=r.scaleY,m=r.target,_=r.xOrigin,f=r.yOrigin,g=r.xOffset,x=r.yOffset,v=r.forceCSS,b=parseFloat(a),T=parseFloat(o),y,O,q,C,j;l=parseFloat(l),u=parseFloat(u),c=parseFloat(c),c&&(c=parseFloat(c),u+=c,l+=c),l||u?(l*=ct,u*=ct,y=Math.cos(l)*h,O=Math.sin(l)*h,q=Math.sin(l-u)*-p,C=Math.cos(l-u)*p,u&&(c*=ct,j=Math.tan(u-c),j=Math.sqrt(1+j*j),q*=j,C*=j,c&&(j=Math.tan(c),j=Math.sqrt(1+j*j),y*=j,O*=j)),y=J(y),O=J(O),q=J(q),C=J(C)):(y=h,C=p,O=q=0),(b&&!~(a+"").indexOf("px")||T&&!~(o+"").indexOf("px"))&&(b=He(m,"x",a,"px"),T=He(m,"y",o,"px")),(_||f||g||x)&&(b=J(b+_-(_*y+f*q)+g),T=J(T+f-(_*O+f*C)+x)),(n||s)&&(j=m.getBBox(),b=J(b+n/100*j.width),T=J(T+s/100*j.height)),j="matrix("+y+","+O+","+q+","+C+","+b+","+T+")",m.setAttribute("transform",j),v&&(m.style[X]=j)},wa=function(e,t,r,n,s){var a=360,o=re(s),l=parseFloat(s)*(o&&~s.indexOf("rad")?Je:1),u=l-n,c=n+u+"deg",h,p;return o&&(h=s.split("_")[1],h==="short"&&(u%=a,u!==u%(a/2)&&(u+=u<0?a:-a)),h==="cw"&&u<0?u=(u+a*ti)%a-~~(u/a)*a:h==="ccw"&&u>0&&(u=(u-a*ti)%a-~~(u/a)*a)),e._pt=p=new he(e._pt,t,r,n,u,sa),p.e=c,p.u="deg",e._props.push(r),p},vi=function(e,t){for(var r in t)e[r]=t[r];return e},Ta=function(e,t,r){var n=vi({},r._gsap),s="perspective,force3D,transformOrigin,svgOrigin",a=r.style,o,l,u,c,h,p,m,_;n.svg?(u=r.getAttribute("transform"),r.setAttribute("transform",""),a[X]=t,o=Nt(r,1),Qe(r,X),r.setAttribute("transform",u)):(u=getComputedStyle(r)[X],a[X]=t,o=Nt(r,1),a[X]=u);for(l in Me)u=n[l],c=o[l],u!==c&&s.indexOf(l)<0&&(m=oe(u),_=oe(c),h=m!==_?He(r,l,u,_):parseFloat(u),p=parseFloat(c),e._pt=new he(e._pt,o,l,h,p-h,Zr),e._pt.u=_||0,e._props.push(l));vi(o,n)};fe("padding,margin,Width,Radius",function(i,e){var t="Top",r="Right",n="Bottom",s="Left",a=(e<3?[t,r,n,s]:[t+s,t+r,n+r,n+s]).map(function(o){return e<2?i+o:"border"+o+i});er[e>1?"border"+i:i]=function(o,l,u,c,h){var p,m;if(arguments.length<4)return p=a.map(function(_){return Re(o,_,u)}),m=p.join(" "),m.split(p[0]).length===5?p[0]:m;p=(c+"").split(" "),m={},a.forEach(function(_,f){return m[_]=p[f]=p[f]||p[(f-1)/2|0]}),o.init(l,m,h)}});var xi={name:"css",register:Br,targetTest:function(e){return e.style&&e.nodeType},init:function(e,t,r,n,s){var a=this._props,o=e.style,l=r.vars.startAt,u,c,h,p,m,_,f,g,x,v,b,T,y,O,q,C;Fr||Br(),this.styles=this.styles||si(e),C=this.styles.props,this.tween=r;for(f in t)if(f!=="autoRound"&&(c=t[f],!(ve[f]&&Hn(f,t,r,n,e,s)))){if(m=typeof c,_=er[f],m==="function"&&(c=c.call(r,n,e,s),m=typeof c),m==="string"&&~c.indexOf("random(")&&(c=jt(c)),_)_(this,e,f,c,r)&&(q=1);else if(f.substr(0,2)==="--")u=(getComputedStyle(e).getPropertyValue(f)+"").trim(),c+="",Ze.lastIndex=0,Ze.test(u)||(g=oe(u),x=oe(c)),x?g!==x&&(u=He(e,f,u,x)+x):g&&(c+=g),this.add(o,"setProperty",u,c,n,s,0,0,f),a.push(f),C.push(f,0,o[f]);else if(m!=="undefined"){if(l&&f in l?(u=typeof l[f]=="function"?l[f].call(r,n,e,s):l[f],re(u)&&~u.indexOf("random(")&&(u=jt(u)),oe(u+"")||u==="auto"||(u+=_e.units[f]||oe(Re(e,f))||""),(u+"").charAt(1)==="="&&(u=Re(e,f))):u=Re(e,f),p=parseFloat(u),v=m==="string"&&c.charAt(1)==="="&&c.substr(0,2),v&&(c=c.substr(2)),h=parseFloat(c),f in Pe&&(f==="autoAlpha"&&(p===1&&Re(e,"visibility")==="hidden"&&h&&(p=0),C.push("visibility",0,o.visibility),Ve(this,o,"visibility",p?"inherit":"hidden",h?"inherit":"hidden",!h)),f!=="scale"&&f!=="transform"&&(f=Pe[f],~f.indexOf(",")&&(f=f.split(",")[0]))),b=f in Me,b){if(this.styles.save(f),m==="string"&&c.substring(0,6)==="var(--"&&(c=qe(e,c.substring(4,c.indexOf(")"))),h=parseFloat(c)),T||(y=e._gsap,y.renderTransform&&!t.parseTransform||Nt(e,t.parseTransform),O=t.smoothOrigin!==!1&&y.smooth,T=this._pt=new he(this._pt,o,X,0,1,y.renderTransform,y,0,-1),T.dep=1),f==="scale")this._pt=new he(this._pt,y,"scaleY",y.scaleY,(v?nt(y.scaleY,v+h):h)-y.scaleY||0,Zr),this._pt.u=0,a.push("scaleY",f),f+="X";else if(f==="transformOrigin"){C.push(me,0,o[me]),c=va(c),y.svg?Hr(e,c,0,O,0,this):(x=parseFloat(c.split(" ")[2])||0,x!==y.zOrigin&&Ve(this,y,"zOrigin",y.zOrigin,x),Ve(this,o,f,tr(u),tr(c)));continue}else if(f==="svgOrigin"){Hr(e,c,1,O,0,this);continue}else if(f in pi){wa(this,y,f,p,v?nt(p,v+c):c);continue}else if(f==="smoothOrigin"){Ve(this,y,"smooth",y.smooth,c);continue}else if(f==="force3D"){y[f]=c;continue}else if(f==="transform"){Ta(this,c,e);continue}}else f in o||(f=ft(f)||f);if(b||(h||h===0)&&(p||p===0)&&!ia.test(c)&&f in o)g=(u+"").substr((p+"").length),h||(h=0),x=oe(c)||(f in _e.units?_e.units[f]:g),g!==x&&(p=He(e,f,u,x)),this._pt=new he(this._pt,b?y:o,f,p,(v?nt(p,v+h):h)-p,!b&&(x==="px"||f==="zIndex")&&t.autoRound!==!1?oa:Zr),this._pt.u=x||0,g!==x&&x!=="%"&&(this._pt.b=u,this._pt.r=aa);else if(f in o)ga.call(this,e,f,u,v?v+c:c);else if(f in e)this.add(e,f,u||e[f],v?v+c:c,n,s);else if(f!=="parseTransform"){hr(f,c);continue}b||(f in o?C.push(f,0,o[f]):typeof e[f]=="function"?C.push(f,2,e[f]()):C.push(f,1,u||e[f])),a.push(f)}}q&&Gn(this)},render:function(e,t){if(t.tween._time||!Lr())for(var r=t._pt;r;)r.r(e,r.d),r=r._next;else t.styles.revert()},get:Re,aliases:Pe,getSetter:function(e,t,r){var n=Pe[t];return n&&n.indexOf(",")<0&&(t=n),t in Me&&t!==me&&(e._gsap.x||Re(e,"x"))?r&&ei===r?t==="scale"?da:ca:(ei=r||{})&&(t==="scale"?fa:ha):e.style&&!or(e.style[t])?la:~t.indexOf("-")?ua:Er(e,t)},core:{_removeProperty:Qe,_getMatrix:Vr}};pe.utils.checkPrefix=ft,pe.core.getStyleSaver=si,(function(i,e,t,r){var n=fe(i+","+e+","+t,function(s){Me[s]=1});fe(e,function(s){_e.units[s]="deg",pi[s]=1}),Pe[n[13]]=i+","+e,fe(r,function(s){var a=s.split(":");Pe[a[1]]=n[a[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"),fe("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(i){_e.units[i]="px"}),pe.registerPlugin(xi);var ht=pe.registerPlugin(xi)||pe;ht.core.Tween;const rr=(i,e,t,r)=>e&&(Array.isArray(e)?e.length>0:e)?i.to(e,t,r):i,ja=(i,e)=>{Oi.useGSAP(()=>{if(!i.current)return;const t=ht.timeline({defaults:{duration:.7,ease:"power1.out"}}),r={navbar:i.current,navLabels:ht.utils.toArray(".nav-label"),navIconWrappers:ht.utils.toArray(".nav-icon-wrapper"),navIcons:ht.utils.toArray(".nav-icon"),navLinkItems:ht.utils.toArray(".nav-link-item"),logoutButton:document.querySelector(".logout-button"),logoutLabel:document.querySelector(".logout-label"),logoutIcon:document.querySelector(".logout-icon"),profileContainer:document.querySelector(".profile-container"),profileName:document.querySelector(".profile-name"),profileOptions:document.querySelector(".profile-options"),profileImageWrapper:document.querySelector(".profile-image-wrapper"),coverImageProfile:document.querySelector(".cover-image-profile"),navContentWrapper:document.querySelector(".nav-content-wrapper-active"),buttonCrevron:document.querySelector(".button-select-crevron"),separatorProfile:document.querySelector(".border-separator-profile"),buttonProfile:document.querySelector(".button-profile"),profileUserInfo:document.querySelector(".profile-user-info"),buttonContentChevron:document.querySelector(".button-content-chevron")};e?Oa(t,r):qa(t,r)},{scope:i,dependencies:[e]})},Oa=(i,e)=>{i.to(e.navbar,{width:"6rem",duration:.2,ease:"bounce.out"}).to(e.navLinkItems,{justifyContent:"center",alignItems:"center",width:"3rem",height:"3rem",display:"flex"},-1).to(e.navLabels,{opacity:0,width:30,marginLeft:0},0).to(e.navIcons,{scale:.95,ease:"elastic.out(1, 0.3)"},0),rr(i,e.buttonCrevron,{width:0,opacity:0,duration:.7,ease:"power1.out",onComplete:()=>{e.buttonCrevron.style.display="none"}},0),rr(i,e.buttonContentChevron,{display:"none"},-1).to(e.separatorProfile,{display:"none"},-1).to(e.profileUserInfo,{display:"none"},-1).to(e.navLinkItems,{borderRadius:"8px",duration:.7,ease:"power1.out"},.8).to(e.buttonProfile,{height:"3rem",width:"3rem",margin:0,padding:0,duration:.3,ease:"power2.out",display:"flex",justifyContent:"center",alignItems:"center"},-1)},qa=(i,e)=>{i.to(e.navbar,{width:"20rem"},-1).to(e.navLinkItems,{borderRadius:"10px",duration:.3,width:"100%",justifyContent:"flex-start"},-1),rr(i,e.buttonCrevron,{width:"auto",opacity:1,duration:0,ease:"power1.out",onComplete:()=>{e.buttonCrevron.style.display="flex"}},0),rr(i,e.buttonContentChevron,{display:"flex"},0).to(e.separatorProfile,{display:"flex"},0).to(e.profileUserInfo,{display:"flex"},-1).to(e.buttonProfile,{borderTopLeftRadius:"0.375rem",borderBottomLeftRadius:"0.375rem",borderTopRightRadius:"0",borderBottomRightRadius:"0",duration:0},-1).to(e.separatorProfile,{display:"flex"},0).to(e.navLabels,{opacity:1,width:"auto",scaleX:1},0).to(e.navIcons,{scale:1},.3)},yi=({children:i,defaultCollapsed:e=!1,className:t=""})=>{const[r,n]=L.useState(e),s=L.useRef(null);ja(s,r);const o={isCollapsed:r,setIsCollapsed:n,navbarRef:s,toggleCollapse:()=>{n(!r)}};return d.jsx(rn.Provider,{value:o,children:d.jsx("div",{ref:s,className:`bg-neutral-default-default overflow-hidden h-screen flex flex-col border-r border-neutral-strong-default transition-all duration-300 ${r?"w-16":"w-64"} ${t}`,children:i})})},Ca=Object.assign(yi,{Root:yi,CollapseButton:({className:i="",icon:e})=>{const{isCollapsed:t,toggleCollapse:r}=ir();return d.jsx("div",{className:"flex justify-end mt-5 mr-5",children:d.jsx("button",{onClick:r,className:` bg-neutral-strong-default w-10 h-10 flex items-center justify-center cursor-pointer hover:bg-neutral-strong-medium-default hover:text-primary-default-default text-neutral-default-default rounded-md transition-colors ${i}`,children:e||d.jsx("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",className:`transform transition-transform ${t?"rotate-180":""}`,children:d.jsx("path",{d:"M15 18L9 12L15 6",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})})})},Header:({children:i,className:e})=>d.jsx("div",{className:e,children:i}),Divider:({className:i})=>d.jsx("div",{className:P("px-3 flex justify-center items-center w-full mb-4",i),children:d.jsx("div",{className:"border-b border-neutral-strong-default border-1 w-full"})}),Content:({children:i,className:e})=>d.jsx("div",{className:e,children:i}),Spacer:({className:i,size:e="auto"})=>{const t=()=>{switch(e){case"auto":return"flex-grow";case"small":return"h-2 w-2";case"medium":return"h-4 w-4";case"large":return"h-8 w-8"}};return d.jsx("div",{className:P(t(),i)})},Footer:({children:i,className:e})=>d.jsx("div",{className:e,children:i})}),Sa=({children:i,icon:e,label:t,href:r,onClick:n,isActive:s=!1,className:a})=>{const o=r?"a":"button";return d.jsxs(o,{href:r,onClick:n,className:P("nav-link-item","flex items-center w-full px-3 py-2 text-left","hover:bg-neutral-medium-default transition-colors rounded-lg","focus:outline-none focus:ring-2 focus:ring-primary-default-default",s&&"bg-neutral-medium-default",a),children:[e&&d.jsx("div",{className:"nav-icon-wrapper mr-3 flex-shrink-0",children:d.jsx("div",{className:"nav-icon flex items-center justify-center w-5 h-5",children:e})}),t&&d.jsx("span",{className:"nav-label text-sm text-neutral-strong-default",children:t}),i]})},ka=({user:i,className:e,onProfileClick:t})=>{const{isCollapsed:r}=ir(),[n,s]=L.useState(!1),a=()=>{r?t?.():s(!n)};return d.jsxs("div",{className:P("profile-container",e),children:[d.jsxs("button",{onClick:a,className:P("button-profile","flex items-center w-full p-3 text-left","hover:bg-neutral-medium-default transition-colors rounded-lg","focus:outline-none focus:ring-2 focus:ring-primary-default-default"),children:[d.jsx("div",{className:"profile-image-wrapper flex-shrink-0 mr-3",children:d.jsx("div",{className:"cover-image-profile w-10 h-10 rounded-full bg-primary-default-default flex items-center justify-center text-white text-sm font-semibold",children:i.profileImage?d.jsx("img",{src:i.profileImage,alt:i.name,className:"w-full h-full rounded-full object-cover"}):i.name.charAt(0).toUpperCase()})}),d.jsxs("div",{className:"profile-user-info flex-1 min-w-0",children:[d.jsx("div",{className:"profile-name text-sm font-medium text-neutral-strong-default truncate",children:i.name}),d.jsx("div",{className:"text-xs text-neutral-medium-default truncate",children:i.email})]}),d.jsx("div",{className:"button-content-chevron ml-2 flex-shrink-0",children:d.jsx("div",{className:"button-select-crevron w-4 h-4 text-neutral-medium-default",children:n?"▲":"▼"})})]}),n&&!r&&d.jsx("div",{className:"profile-options mt-2 pl-3 space-y-1",children:d.jsxs("button",{className:"logout-button flex items-center w-full px-3 py-2 text-left text-sm text-neutral-strong-default hover:bg-neutral-medium-default rounded-lg",children:[d.jsx("span",{className:"logout-icon mr-2",children:"🚪"}),d.jsx("span",{className:"logout-label",children:"Cerrar sesión"})]})}),d.jsx("div",{className:"border-separator-profile mt-3 border-t border-neutral-strong-default"})]})},Pa=({links:i,isLinkActive:e,componentBadge:t,onClick:r,activeModal:n,onLinkClick:s})=>d.jsx("nav",{className:"flex flex-col gap-1",children:i?.map((a,o)=>{const l=e(a.path)||(a.relatedPaths?.some(u=>e(u))??!1);return a.isView&&a.viewAccess()&&d.jsxs(M.motion.div,{initial:{opacity:0},animate:{opacity:1},transition:{duration:.4,delay:o*.03,ease:"easeOut"},className:"relative flex justify-center w-full items-center px-3",children:[a.path==="/notifications"&&d.jsx("button",{onClick:r,className:P("nav-link-item flex rounded-lg cursor-pointer relative overflow-hidden h-10 ","transition-all duration-300 ease-out w-full","group hover:bg-neutral-medium-selected",n?"text-primary-default-default":"text-neutral-default-default"),children:d.jsxs(M.motion.div,{className:"nav-content-wrapper flex items-center justify-between gap-3 px-3 relative z-10 w-full",animate:{x:0},transition:{duration:.25,ease:"easeOut"},children:[d.jsxs("div",{className:"flex items-center gap-3",children:[d.jsx(M.motion.div,{className:"nav-icon-wrapper flex items-center justify-center flex-shrink-0",animate:{scale:n?1.05:1},transition:{duration:.25,ease:"easeOut"},children:typeof a.icon=="function"?a.icon({size:24,className:P("nav-icon transition-colors duration-250 ease-out",n?"text-primary-default-default":"text-neutral-default-default group-hover:text-white-prometeo")}):"text"}),d.jsx("span",{className:"nav-label whitespace-nowrap text-sm font-semibold ",children:a.title})]}),t&&a.count&&a.count>0&&t(a.count)]})}),a.path!=="/notifications"&&d.jsxs("button",{onClick:()=>{r?.(),s?.(a.path)},className:P("nav-link-item flex rounded-lg cursor-pointer relative overflow-hidden h-10 ","transition-all duration-300 ease-out w-full","group hover:bg-neutral-medium-selected",l?"text-primary-default-default bg-neutral-medium-selected":"text-neutral-default-default"),children:[d.jsx(M.AnimatePresence,{mode:"wait",children:l&&d.jsx(M.motion.div,{layoutId:"nav-active-bg",className:"absolute inset-0 bg-neutral-medium-selected rounded-lg",initial:!1,animate:{opacity:1},exit:{opacity:0},transition:{type:"tween",duration:.25,ease:"easeInOut"}})}),d.jsxs(M.motion.div,{className:"nav-content-wrapper flex items-center justify-between gap-3 px-3 relative z-10 w-full",animate:{x:0},transition:{duration:.25,ease:"easeOut"},children:[d.jsxs("div",{className:"flex items-center gap-3",children:[d.jsx(M.motion.div,{className:"nav-icon-wrapper flex items-center justify-center flex-shrink-0",animate:{scale:l?1.05:1},transition:{duration:.25,ease:"easeOut"},children:typeof a.icon=="function"?a.icon({size:24,className:P("nav-icon transition-colors duration-250 ease-out",l?"text-primary-default-default":"text-neutral-default-default group-hover:text-white-prometeo")}):null}),d.jsx("span",{className:"nav-label whitespace-nowrap text-sm font-semibold ",children:a.title})]}),t&&a.count&&a.count>0&&t(a.count)]})]})]},o)})}),Na=({count:i,maxCount:e=9,className:t="",size:r="medium",variant:n="primary",showZero:s=!1})=>{const a=i,o=a>e?`+${e}`:a;if(a===0&&!s)return null;const l={small:"w-4 h-4 text-xs",medium:"w-5 h-5 text-xs",large:"w-6 h-6 text-sm"},u={primary:"bg-primary-default-default text-neutral-strong-default",secondary:"bg-neutral-medium-default text-neutral-strong-default",success:"bg-green-500 text-white",warning:"bg-yellow-500 text-black",danger:"bg-red-500 text-white"};return d.jsx("div",{className:P("rounded-full flex items-center justify-center font-medium",l[r],u[n],t),children:d.jsx("span",{children:o})})},Ea=({isActiveModalNotification:i,setIsActiveModalNotification:e})=>({handleNotificationClick:()=>{e(!0)},isActiveModalNotification:i}),Aa=i=>{const e=L.useRef(null);return{isCollapsed:i,navbarRef:e}},Ma=({isCollapsed:i,onToggle:e})=>d.jsx("div",{className:"p-4 flex justify-end",children:d.jsx("button",{onClick:e,title:i?"Expandir Navbar":"Contraer Navbar","aria-label":i?"Expandir Navbar":"Contraer Navbar",className:"cursor-pointer text-neutral-default-default hover:text-primary-default transition-colors duration-300",children:i?d.jsx(we.CloseNavBarDesktop,{size:24,className:"rotate-180 transition-transform duration-300"}):d.jsx(we.CloseNavBarDesktop,{size:24,className:"rotate-0 transition-transform duration-300"})})}),Ra=({logoUrl:i,companyName:e})=>d.jsx("div",{className:"w-full flex justify-center items-center p-2 h-20",children:d.jsx("img",{src:i,className:"h-2/3 rounded-full",alt:e??""})}),Da=(i,e=!0)=>{const t=L.useRef(null);return L.useEffect(()=>{if(!e)return;const r=n=>{t.current&&!t.current.contains(n.target)&&i()};return document.addEventListener("mousedown",r,{capture:!0}),document.addEventListener("touchstart",r,{capture:!0}),()=>{document.removeEventListener("mousedown",r,{capture:!0}),document.removeEventListener("touchstart",r,{capture:!0})}},[i,e]),t};E.Avatar=Pi,E.Badge=Na,E.Button=Ai,E.CompanyLogo=Ra,E.Icons=we,E.Input=rs,E.InputFormik=ns,E.LayoutGeneric=us,E.Menu=ss,E.NavbarCollapseButton=Ma,E.NavbarLinks=Pa,E.NavigationLink=Sa,E.Pagination=as,E.ProfileSection=ka,E.Select=ls,E.Sidebar=Ca,E.Spinner=nr,E.UserProfile=en,E.useActionsNavbar=Ea,E.useClickOutside=Da,E.useNavbarCollapse=Aa,E.useSidebar=ir,Object.defineProperty(E,Symbol.toStringTag,{value:"Module"})}));