prometeo-design-system 1.3.8 → 1.4.2

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(z,S){typeof exports=="object"&&typeof module<"u"?S(exports,require("react"),require("boring-avatars"),require("clsx"),require("tailwind-merge"),require("framer-motion"),require("formik"),require("use-debounce"),require("@gsap/react")):typeof define=="function"&&define.amd?define(["exports","react","boring-avatars","clsx","tailwind-merge","framer-motion","formik","use-debounce","@gsap/react"],S):(z=typeof globalThis<"u"?globalThis:z||self,S(z.PrometeoDesignSystem={},z.React,z.BoringAvatars,z.clsx,z.tailwindMerge,z.FramerMotion,z.Formik,z.useDebounce,z.GSAPReact))})(this,(function(z,S,wo,tr,To,J,an,jo,on){"use strict";function ko(i){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(i){for(const t in i)if(t!=="default"){const n=Object.getOwnPropertyDescriptor(i,t);Object.defineProperty(e,t,n.get?n:{enumerable:!0,get:()=>i[t]})}}return e.default=i,Object.freeze(e)}const Q=ko(S);function nr(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i}var sn={exports:{}},Ft={};/**
1
+ (function(B,E){typeof exports=="object"&&typeof module<"u"?E(exports,require("react"),require("boring-avatars"),require("clsx"),require("tailwind-merge"),require("framer-motion"),require("formik"),require("react-dom"),require("use-debounce"),require("@gsap/react")):typeof define=="function"&&define.amd?define(["exports","react","boring-avatars","clsx","tailwind-merge","framer-motion","formik","react-dom","use-debounce","@gsap/react"],E):(B=typeof globalThis<"u"?globalThis:B||self,E(B.PrometeoDesignSystem={},B.React,B.BoringAvatars,B.clsx,B.tailwindMerge,B.FramerMotion,B.Formik,B.ReactDOM,B.useDebounce,B.GSAPReact))})(this,(function(B,E,Yl,xa,Xl,re,Kn,ya,Gl,ba){"use strict";function wa(n){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(n){for(const t in n)if(t!=="default"){const r=Object.getOwnPropertyDescriptor(n,t);Object.defineProperty(e,t,r.get?r:{enumerable:!0,get:()=>n[t]})}}return e.default=n,Object.freeze(e)}const S=wa(E),Kl=wa(ya);function _a(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var Jn={exports:{}},bn={};/**
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 ir;function Oo(){if(ir)return Ft;ir=1;var i=Symbol.for("react.transitional.element"),e=Symbol.for("react.fragment");function t(n,r,a){var o=null;if(a!==void 0&&(o=""+a),r.key!==void 0&&(o=""+r.key),"key"in r){a={};for(var s in r)s!=="key"&&(a[s]=r[s])}else a=r;return r=a.ref,{$$typeof:i,type:n,key:o,ref:r!==void 0?r:null,props:a}}return Ft.Fragment=e,Ft.jsx=t,Ft.jsxs=t,Ft}var zt={};/**
9
+ */var Ta;function Jl(){if(Ta)return bn;Ta=1;var n=Symbol.for("react.transitional.element"),e=Symbol.for("react.fragment");function t(r,i,a){var o=null;if(a!==void 0&&(o=""+a),i.key!==void 0&&(o=""+i.key),"key"in i){a={};for(var s in i)s!=="key"&&(a[s]=i[s])}else a=i;return i=a.ref,{$$typeof:n,type:r,key:o,ref:i!==void 0?i:null,props:a}}return bn.Fragment=e,bn.jsx=t,bn.jsxs=t,bn}var wn={};/**
10
10
  * @license React
11
11
  * react-jsx-runtime.development.js
12
12
  *
@@ -14,59 +14,105 @@
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 rr;function Co(){return rr||(rr=1,process.env.NODE_ENV!=="production"&&(function(){function i(v){if(v==null)return null;if(typeof v=="function")return v.$$typeof===B?null:v.displayName||v.name||null;if(typeof v=="string")return v;switch(v){case f:return"Fragment";case y:return"Profiler";case x:return"StrictMode";case g:return"Suspense";case k:return"SuspenseList";case O:return"Activity"}if(typeof v=="object")switch(typeof v.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),v.$$typeof){case b:return"Portal";case w:return(v.displayName||"Context")+".Provider";case _:return(v._context.displayName||"Context")+".Consumer";case T:var j=v.render;return v=v.displayName,v||(v=j.displayName||j.name||"",v=v!==""?"ForwardRef("+v+")":"ForwardRef"),v;case C:return j=v.displayName||null,j!==null?j:i(v.type)||"Memo";case q:j=v._payload,v=v._init;try{return i(v(j))}catch{}}return null}function e(v){return""+v}function t(v){try{e(v);var j=!1}catch{j=!0}if(j){j=console;var A=j.error,F=typeof Symbol=="function"&&Symbol.toStringTag&&v[Symbol.toStringTag]||v.constructor.name||"Object";return A.call(j,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",F),e(v)}}function n(v){if(v===f)return"<>";if(typeof v=="object"&&v!==null&&v.$$typeof===q)return"<...>";try{var j=i(v);return j?"<"+j+">":"<...>"}catch{return"<...>"}}function r(){var v=H.A;return v===null?null:v.getOwner()}function a(){return Error("react-stack-top-frame")}function o(v){if(U.call(v,"key")){var j=Object.getOwnPropertyDescriptor(v,"key").get;if(j&&j.isReactWarning)return!1}return v.key!==void 0}function s(v,j){function A(){Y||(Y=!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)",j))}A.isReactWarning=!0,Object.defineProperty(v,"key",{get:A,configurable:!0})}function l(){var v=i(this.type);return G[v]||(G[v]=!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.")),v=this.props.ref,v!==void 0?v:null}function c(v,j,A,F,R,E,M,L){return A=E.ref,v={$$typeof:h,type:v,key:j,props:E,_owner:R},(A!==void 0?A:null)!==null?Object.defineProperty(v,"ref",{enumerable:!1,get:l}):Object.defineProperty(v,"ref",{enumerable:!1,value:null}),v._store={},Object.defineProperty(v._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(v,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(v,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:M}),Object.defineProperty(v,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:L}),Object.freeze&&(Object.freeze(v.props),Object.freeze(v)),v}function u(v,j,A,F,R,E,M,L){var I=j.children;if(I!==void 0)if(F)if(V(I)){for(F=0;F<I.length;F++)d(I[F]);Object.freeze&&Object.freeze(I)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else d(I);if(U.call(j,"key")){I=i(v);var X=Object.keys(j).filter(function(me){return me!=="key"});F=0<X.length?"{key: someKey, "+X.join(": ..., ")+": ...}":"{key: someKey}",te[I+F]||(X=0<X.length?"{"+X.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
17
+ */var Ea;function Ql(){return Ea||(Ea=1,process.env.NODE_ENV!=="production"&&(function(){function n(b){if(b==null)return null;if(typeof b=="function")return b.$$typeof===L?null:b.displayName||b.name||null;if(typeof b=="string")return b;switch(b){case f:return"Fragment";case x:return"Profiler";case v:return"StrictMode";case y:return"Suspense";case k:return"SuspenseList";case j:return"Activity"}if(typeof b=="object")switch(typeof b.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),b.$$typeof){case g:return"Portal";case T:return(b.displayName||"Context")+".Provider";case _:return(b._context.displayName||"Context")+".Consumer";case w:var P=b.render;return b=b.displayName,b||(b=P.displayName||P.name||"",b=b!==""?"ForwardRef("+b+")":"ForwardRef"),b;case C:return P=b.displayName||null,P!==null?P:n(b.type)||"Memo";case O:P=b._payload,b=b._init;try{return n(b(P))}catch{}}return null}function e(b){return""+b}function t(b){try{e(b);var P=!1}catch{P=!0}if(P){P=console;var R=P.error,z=typeof Symbol=="function"&&Symbol.toStringTag&&b[Symbol.toStringTag]||b.constructor.name||"Object";return R.call(P,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",z),e(b)}}function r(b){if(b===f)return"<>";if(typeof b=="object"&&b!==null&&b.$$typeof===O)return"<...>";try{var P=n(b);return P?"<"+P+">":"<...>"}catch{return"<...>"}}function i(){var b=H.A;return b===null?null:b.getOwner()}function a(){return Error("react-stack-top-frame")}function o(b){if(V.call(b,"key")){var P=Object.getOwnPropertyDescriptor(b,"key").get;if(P&&P.isReactWarning)return!1}return b.key!==void 0}function s(b,P){function R(){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)",P))}R.isReactWarning=!0,Object.defineProperty(b,"key",{get:R,configurable:!0})}function l(){var b=n(this.type);return Y[b]||(Y[b]=!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.")),b=this.props.ref,b!==void 0?b:null}function c(b,P,R,z,M,A,F,Z){return R=A.ref,b={$$typeof:h,type:b,key:P,props:A,_owner:M},(R!==void 0?R:null)!==null?Object.defineProperty(b,"ref",{enumerable:!1,get:l}):Object.defineProperty(b,"ref",{enumerable:!1,value:null}),b._store={},Object.defineProperty(b._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(b,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(b,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:F}),Object.defineProperty(b,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:Z}),Object.freeze&&(Object.freeze(b.props),Object.freeze(b)),b}function u(b,P,R,z,M,A,F,Z){var W=P.children;if(W!==void 0)if(z)if(D(W)){for(z=0;z<W.length;z++)d(W[z]);Object.freeze&&Object.freeze(W)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else d(W);if(V.call(P,"key")){W=n(b);var ee=Object.keys(P).filter(function(ce){return ce!=="key"});z=0<ee.length?"{key: someKey, "+ee.join(": ..., ")+": ...}":"{key: someKey}",te[W+z]||(ee=0<ee.length?"{"+ee.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} />`,F,I,X,I),te[I+F]=!0)}if(I=null,A!==void 0&&(t(A),I=""+A),o(j)&&(t(j.key),I=""+j.key),"key"in j){A={};for(var W in j)W!=="key"&&(A[W]=j[W])}else A=j;return I&&s(A,typeof v=="function"?v.displayName||v.name||"Unknown":v),c(v,I,E,R,r(),A,M,L)}function d(v){typeof v=="object"&&v!==null&&v.$$typeof===h&&v._store&&(v._store.validated=1)}var m=S,h=Symbol.for("react.transitional.element"),b=Symbol.for("react.portal"),f=Symbol.for("react.fragment"),x=Symbol.for("react.strict_mode"),y=Symbol.for("react.profiler"),_=Symbol.for("react.consumer"),w=Symbol.for("react.context"),T=Symbol.for("react.forward_ref"),g=Symbol.for("react.suspense"),k=Symbol.for("react.suspense_list"),C=Symbol.for("react.memo"),q=Symbol.for("react.lazy"),O=Symbol.for("react.activity"),B=Symbol.for("react.client.reference"),H=m.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,U=Object.prototype.hasOwnProperty,V=Array.isArray,Z=console.createTask?console.createTask:function(){return null};m={react_stack_bottom_frame:function(v){return v()}};var Y,G={},K=m.react_stack_bottom_frame.bind(m,a)(),se=Z(n(a)),te={};zt.Fragment=f,zt.jsx=function(v,j,A,F,R){var E=1e4>H.recentlyCreatedOwnerStacks++;return u(v,j,A,!1,F,R,E?Error("react-stack-top-frame"):K,E?Z(n(v)):se)},zt.jsxs=function(v,j,A,F,R){var E=1e4>H.recentlyCreatedOwnerStacks++;return u(v,j,A,!0,F,R,E?Error("react-stack-top-frame"):K,E?Z(n(v)):se)}})()),zt}var ar;function So(){return ar||(ar=1,process.env.NODE_ENV==="production"?sn.exports=Oo():sn.exports=Co()),sn.exports}var p=So();function or({profileImage:i,size:e,sizeImage:t=36}){const[n,r]=S.useState(!1),a=i&&i.trim()!==""&&!n;return p.jsx(p.Fragment,{children:a?p.jsx("img",{onError:()=>{r(!0)},src:i,style:{width:t,height:t},className:"rounded-full object-cover",alt:"Profile"}):p.jsx(wo,{size:e,name:i||"User",variant:"beam",colors:["#92A1C6","#146A7C","#F0AB3D","#C271B4","#C20D90"]})})}function P(...i){return To.twMerge(tr.clsx(i))}const sr=i=>typeof i=="boolean"?`${i}`:i===0?"0":i,lr=tr.clsx,qo=((i,e)=>t=>{var n;if(e?.variants==null)return lr(i,t?.class,t?.className);const{variants:r,defaultVariants:a}=e,o=Object.keys(r).map(c=>{const u=t?.[c],d=a?.[c];if(u===null)return null;const m=sr(u)||sr(d);return r[c][m]}),s=t&&Object.entries(t).reduce((c,u)=>{let[d,m]=u;return m===void 0||(c[d]=m),c},{}),l=e==null||(n=e.compoundVariants)===null||n===void 0?void 0:n.reduce((c,u)=>{let{class:d,className:m,...h}=u;return Object.entries(h).every(b=>{let[f,x]=b;return Array.isArray(x)?x.includes({...a,...s}[f]):{...a,...s}[f]===x})?[...c,d,m]:c},[]);return lr(i,o,l,t?.class,t?.className)})("flex items-center justify-center cursor-pointer focus:outline-none font-semibold rounded-md transition-colors",{variants:{variant:{filled:"",outline:"bg-transparent border-1",text:"bg-transparent border-0"},color:{primary:"",secondary:""},size:{small:"h-[40px] w-[123px] w-fit px-2 py-3 text-sm",medium:"h-[48px] w-[134px] w-fit px-2 py-3 text-base",large:"h-[56px] w-[145px] w-fit px-4 py-3 text-base"},disabled:{true:"opacity-50 cursor-not-allowed",false:""},loading:{true:"cursor-wait",false:""},customSize:{true:"px-4 py-2",false:""}},compoundVariants:[{variant:"filled",color:"primary",class:"bg-primary-default-default text-neutral-strong-default border-0 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"},{variant:"filled",color:"secondary",class:"bg-neutral-strong-medium-default text-neutral-strong-default 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"},{variant:"outline",color:"primary",class:"text-primary-medium-default border-primary-medium-default 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"},{variant:"outline",color:"secondary",class:"text-neutral-strong-default border-neutral-strong-default 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"},{variant:"text",color:"primary",class:"text-primary-medium-default 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"},{variant:"text",color:"secondary",class:"text-neutral-strong-default 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"}],defaultVariants:{variant:"filled",color:"primary",size:"medium",disabled:!1,loading:!1,customSize:!1}});function Eo({label:i="Selene",onClick:e,icon:t,contentClassName:n,loadingText:r="Cargando...",animate:a=!0,animateIcon:o=!0,isLoading:s=!1,disabled:l=!1,type:c="button",variant:u="filled",color:d="primary",size:m="medium",children:h,Spinner:b,className:f,...x}){const y=J.useAnimationControls(),_=()=>{!a||l||s||!o||y.start({rotate:90})},w=()=>{!a||l||s||!o||y.start({rotate:0})},T=P(qo({variant:u,color:d,size:m,disabled:l||s,loading:s}),f);return p.jsx(J.motion.button,{onClick:e,className:T,whileHover:a&&!l&&!s?{scale:1.05}:{},whileTap:a&&!l&&!s?{scale:.98}:{},transition:{type:"spring",stiffness:400,damping:17},onHoverStart:_,onHoverEnd:w,disabled:l||s,type:c,...x,children:s?p.jsxs("div",{className:"flex items-center gap-2",children:[b,m!=="small"&&p.jsx("span",{children:r})]}):h||p.jsxs("span",{className:P("flex items-center gap-2",n),children:[t&&p.jsx(J.motion.div,{animate:o?y:void 0,transition:{type:"spring",stiffness:400,damping:17},children:t}),i&&p.jsx("span",{children:i})]})})}function cr({sessions:i,handleTokenLogin:e}){return p.jsx("div",{className:"profile-options-container w-full ",children:i?.map(t=>p.jsx("button",{className:"w-full ",onClick:()=>e?.(t.token),children:p.jsx(ln,{children:p.jsx(ln.Content,{onClick:()=>{console.log("hola")},isExpanded:!1,name:t.name,nameArea:t?.area?.name,nameCompany:t.company_id.name,cardProfile:p.jsx(ln.Image,{isExpanded:!1})})})},t._id))})}const ln=Object.assign(({children:i})=>p.jsx("div",{className:"profile-container flex rounded-md text-white-prometeo overflow-hidden flex-shrink-0 w-full min-w-0",children:i}),{Menu:({isExpanded:i,sessions:e,onClickLogout:t,handleTokenLogin:n})=>p.jsx(J.AnimatePresence,{mode:"wait",children:i&&p.jsxs(J.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:[p.jsx(J.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:p.jsx("div",{className:"border-b border-neutral-strong-default border-1 w-full"})}),e!==null&&p.jsxs(p.Fragment,{children:[p.jsx(J.motion.div,{className:"mt-4",exit:{opacity:0,y:-5,height:0,transition:{duration:.4,delay:.4,ease:"easeInOut"}},children:p.jsx("span",{className:"text-neutral-medium-default font-semibold text-xs",children:"Cambiar cuenta"})}),p.jsx(J.motion.div,{className:"mt-4 overflow-hidden w-full ",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:p.jsx(cr,{sessions:e,handleTokenLogin:n})}),p.jsx(J.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:p.jsx("div",{className:"border-b border-neutral-strong-default border-1 w-full"})})]}),p.jsxs(J.motion.button,{onClick:t,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:[p.jsx(ge.Logout,{size:24,className:"text-neutral-default-default"}),p.jsx("span",{className:"text-neutral-default-default font-semibold text-sm",children:"Cerrar sesión"})]})]})}),Image:({imageUrl:i})=>p.jsx("div",{className:"profile-image-wrapper ml-1 flex-shrink-0 h-10 w-10 flex items-center justify-center relative z-10",children:p.jsx(or,{profileImage:i,size:36,sizeImage:36})}),Content:({isExpanded:i,name:e,nameCompany:t,nameArea:n,cardProfile:r,onClick:a})=>p.jsxs(J.motion.button,{onClick:a,className:P("flex flex-1 gap-1 rounded-l-md cursor-pointer relative overflow-hidden focus:outline-none hover:bg-neutral-medium-selected button-profile",i&&"bg-neutral-medium-selected"),whileHover:{opacity:1,scale:[1,1.02,1]},whileTap:{scale:.98},transition:{duration:.2,ease:"easeInOut"},children:[r,p.jsxs("div",{className:"flex flex-col justify-center overflow-hidden flex-1 relative z-10 profile-user-info mr-2",children:[p.jsx("p",{className:P("profile-name font-semibold leading-tight mb-0 text-left",i?"text-primary-default-default":"text-neutral-default-default"),children:e?.length&&e?.length>20?e?.slice(0,10)+"..":e}),p.jsx("div",{className:"flex items-center gap-1 mt-1 ",children:t&&t?p.jsxs(p.Fragment,{children:[p.jsx("p",{className:P("profile-options truncate text-xs mt-0",i?"text-primary-default-default":"text-neutral-default-default"),children:t.length>20?t?.slice(0,10)+"..":t}),p.jsx("p",{className:P("profile-options truncate font-bold mt-0",i?"text-primary-default-default":"text-neutral-default-default"),children:"·"}),p.jsx("p",{className:P("profile-options truncate text-xs mt-0",i?"text-primary-default-default":"text-neutral-default-default"),children:n||"Sin asignar"})]}):p.jsx("span",{className:"font-semibold leading-tight ml-3 text-xs text-blue-300 text-center",children:"Sin asignar"})})]})]}),Separator:()=>p.jsx("div",{className:"w-px bg-gray-500/30 my-1 border-separator-profile"}),Options:({isExpanded:i,onClick:e})=>p.jsx(J.motion.button,{onClick:e,className:"flex items-center justify-center p-3 rounded-r-md cursor-pointer relative overflow-hidden focus:outline-none min-w-[50px] hover:bg-neutral-medium-selected button-content-chevron",whileHover:{scale:1.05},whileTap:{scale:.95},transition:{duration:.2,ease:"easeOut"},title:i?"Ocultar opciones":"Mostrar opciones","aria-label":i?"Ocultar opciones":"Mostrar opciones",children:p.jsx(J.motion.div,{animate:{rotate:i?180:0},transition:{duration:.3,ease:"easeOut"},className:"relative button-select-crevron",children:p.jsx(J.motion.div,{transition:{duration:.2},children:p.jsx(ge.ChevronDown,{size:20,className:"text-prometeo-neutral "})})})})}),ge={Ticket:({size:i,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:i,height:i,fill:"currentColor",className:e,children:p.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})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:i,height:i,fill:"currentColor",className:e,children:p.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})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:i,height:i,fill:"currentColor",className:e,children:p.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})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:i,height:i,fill:"currentColor",className:e,children:p.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})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:i,height:i,fill:"currentColor",className:e,children:p.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})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:i,height:i,fill:"currentColor",className:e,children:p.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})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:i,height:i,fill:"currentColor",className:e,children:p.jsx("path",{d:"M560-240 320-480l240-240 56 56-184 184 184 184-56 56Z"})}),CrevronRight:({size:i,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:i,height:i,fill:"currentColor",className:e,children:p.jsx("path",{d:"M504-480 320-664l56-56 240 240-240 240-56-56 184-184Z"})}),ArrowLeft:({size:i,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:i,height:i,fill:"currentColor",className:e,children:p.jsx("path",{d:"M400-240 160-480l240-240 56 58-142 142h486v80H314l142 142-56 58Z"})}),Shared:({size:i,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:i,height:i,fill:"currentColor",className:e,children:p.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})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:i,height:i,fill:"currentColor",className:e,children:p.jsx("path",{d:"M480-345 240-585l56-56 184 183 184-183 56 56-240 240Z"})}),Collapse:({size:i,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:i,height:i,fill:"currentColor",className:e,children:p.jsx("path",{d:"M440-440v240h-80v-160H200v-80h240Zm160-320v160h160v80H520v-240h80Z"})}),Calendar:({size:i,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:i,height:i,fill:"currentColor",className:e,children:p.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})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:i,height:i,fill:"currentColor",className:e,children:p.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})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:i,height:i,fill:"currentColor",className:e,children:p.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})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:i,height:i,fill:"currentColor",className:e,children:p.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})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:i,height:i,fill:"currentColor",className:e,children:p.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})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:i,height:i,fill:"currentColor",className:e,children:p.jsx("path",{d:"M400-240v-80h160v80H400ZM240-440v-80h480v80H240ZM120-640v-80h720v80H120Z"})}),Search:({size:i,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:i,height:i,fill:"currentColor",className:e,children:p.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})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:i,height:i,fill:"currentColor",className:e,children:p.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})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:i,height:i,fill:"currentColor",className:e,children:p.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})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:i,height:i,fill:"currentColor",className:e,children:p.jsx("path",{d:"M440-440H200v-80h240v-240h80v240h240v80H520v240h-80v-240Z"})}),Edit:({size:i,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:i,height:i,fill:"currentColor",className:e,children:p.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})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:i,height:i,fill:"currentColor",className:e,children:p.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})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:i,height:i,fill:"currentColor",className:e,children:p.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})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:i,height:i,fill:"currentColor",className:e,children:p.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})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:i,height:i,fill:"currentColor",className:e,children:p.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})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:i,height:i,fill:"currentColor",className:e,children:p.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})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:i,height:i,fill:"currentColor",className:e,children:p.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})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:i,height:i,fill:"currentColor",className:e,children:p.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})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:i,height:i,fill:"currentColor",className:e,children:p.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})=>p.jsxs("svg",{width:i,height:i,viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",...t,className:e,children:[p.jsx("mask",{id:"mask0_977_20941",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:i,height:i,children:p.jsx("rect",{width:"24",height:"24",fill:"#D9D9D9"})}),p.jsx("g",{mask:"url(#mask0_977_20941)",children:p.jsx("path",{d:"M11 17V7L6 12L11 17ZM13 21H15V3H13V21Z",fill:"#E4E4E7"})})]}),EyeVisibility:({size:i,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 -960 960 960",width:i,height:i,...t,className:e,fill:"currentColor",children:p.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})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 -960 960 960",width:i,height:i,...t,className:e,fill:"currentColor",children:p.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"})}),Check:({size:i,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:i,height:i,...t,className:e,viewBox:"0 -960 960 960",fill:"currentColor",children:p.jsx("path",{d:"M382-240 154-468l57-57 171 171 367-367 57 57-424 424Z"})}),Info:({size:i,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 -960 960 960",width:i,height:i,...t,className:e,fill:"currentColor",children:p.jsx("path",{d:"M440-280h80v-240h-80v240Zm40-320q17 0 28.5-11.5T520-640q0-17-11.5-28.5T480-680q-17 0-28.5 11.5T440-640q0 17 11.5 28.5T480-600Zm0 520q-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"})}),Error:({size:i,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:i,height:i,...t,className:e,fill:"currentColor",viewBox:"0 -960 960 960",children:p.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-280Zm-40-160h80v-240h-80v240Zm40 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-80q134 0 227-93t93-227q0-134-93-227t-227-93q-134 0-227 93t-93 227q0 134 93 227t227 93Zm0-320Z"})}),TicketFilled:({size:i,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 -960 960 960",width:i,height:i,fill:"currentColor",className:e,...t,children:p.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-160Z"})}),UploadCloud:({size:i,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",height:i,viewBox:"0 -960 960 960",width:i,fill:"currentColor",...t,className:e,children:p.jsx("path",{d:"M260-160q-91 0-155.5-63T40-377q0-78 47-139t123-78q25-92 100-149t170-57q117 0 198.5 81.5T760-520q69 8 114.5 59.5T920-340q0 75-52.5 127.5T740-160H520q-33 0-56.5-23.5T440-240v-206l-64 62-56-56 160-160 160 160-56 56-64-62v206h220q42 0 71-29t29-71q0-42-29-71t-71-29h-60v-80q0-83-58.5-141.5T480-720q-83 0-141.5 58.5T280-520h-20q-58 0-99 41t-41 99q0 58 41 99t99 41h100v80H260Zm220-280Z"})})},Po=({label:i,className:e,containerClassName:t,id:n,disabled:r=!1,...a})=>{const[o,s]=an.useField({...a,type:"checkbox"}),[l,c]=S.useState(!1),u=s.touched&&s.error;return p.jsxs("div",{className:P("relative w-full",t),children:[p.jsxs("label",{htmlFor:n||a.name,className:P("flex items-center gap-3 cursor-pointer transition-all duration-200 ease-in-out",r?"cursor-not-allowed opacity-60":"hover:opacity-80",e),children:[p.jsxs("div",{className:"relative",children:[p.jsx("input",{id:n||a.name,type:"checkbox",name:o.name,checked:o.value||!1,onChange:o.onChange,onFocus:()=>{c(!0),a.onFocus?.()},onBlur:d=>{c(!1),a.onBlur?.(),o.onBlur(d)},disabled:r,className:P("sr-only")}),p.jsx("div",{className:P("w-5 h-5 rounded border-2 transition-all duration-200 ease-in-out flex items-center justify-center",o.value?"bg-primary-default-default border-primary-default-default":l?"border-primary-default-default bg-transparent":u?"border-error-default-default bg-transparent":"border-neutral-default-default bg-transparent hover:border-neutral-strong-default",r&&"bg-neutral-medium-default border-neutral-medium-default"),children:o.value&&p.jsx(ge.Check,{size:14,className:P("text-white transition-all duration-200 ease-in-out",r&&"text-neutral-strong-default")})})]}),p.jsx("span",{className:`${l}`,children:" "}),p.jsx("span",{className:P("text-sm transition-colors duration-200 ease-in-out select-none",u&&"text-error-default-default",r&&"text-neutral-medium-default"),children:i})]}),u&&p.jsx(an.ErrorMessage,{name:a.name,component:"span",className:"block text-error-default-default text-xs mt-1"})]})},Do=S.forwardRef(({children:i,onClose:e,className:t},n)=>{const[r,a]=S.useState(!1),o=()=>a(!0),s=()=>{a(!1),e?.()};return S.useImperativeHandle(n,()=>({open:o,close:s,isOpen:r})),p.jsx(p.Fragment,{children:r&&p.jsx("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-black/30 backdrop-blur-[1.5px]",onClick:s,children:p.jsx("div",{className:P("bg-neutral-default-default w-3/4 h-3/4 xl:w-3/4 xl:h-10/12 rounded-lg shadow-lg border-neutral-strong-default border relative p-6",t),onClick:l=>l.stopPropagation(),children:i})})})}),Ao=Object.assign(Do,{Content:({children:i,className:e})=>p.jsx("div",{className:e,children:p.jsx("div",{className:P("flex flex-col gap-4"),children:i})}),Header:({children:i,className:e})=>p.jsx("div",{className:e,children:i}),Footer:({children:i,className:e})=>p.jsx("div",{className:e,children:i}),Title:({children:i,className:e})=>p.jsx("h1",{className:e,children:i})}),No=()=>{const[i,e]=S.useState({isMobile:!1,isTablet:!1,isDesktop:!1,isTouchDevice:!1,screenWidth:0}),t=S.useCallback(()=>{const n=window.innerWidth,r="ontouchstart"in window||navigator.maxTouchPoints>0,a=n<768,o=n>=768&&n<1024,s=n>=1024;e({isMobile:a,isTablet:o,isDesktop:s,isTouchDevice:r,screenWidth:n})},[]);return S.useEffect(()=>(t(),window.addEventListener("resize",t),()=>window.removeEventListener("resize",t)),[t]),i};function Ge(i){if(i===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return i}function ur(i,e){i.prototype=Object.create(e.prototype),i.prototype.constructor=i,i.__proto__=e}/*!
22
+ <%s key={someKey} {...props} />`,z,W,ee,W),te[W+z]=!0)}if(W=null,R!==void 0&&(t(R),W=""+R),o(P)&&(t(P.key),W=""+P.key),"key"in P){R={};for(var Q in P)Q!=="key"&&(R[Q]=P[Q])}else R=P;return W&&s(R,typeof b=="function"?b.displayName||b.name||"Unknown":b),c(b,W,A,M,i(),R,F,Z)}function d(b){typeof b=="object"&&b!==null&&b.$$typeof===h&&b._store&&(b._store.validated=1)}var m=E,h=Symbol.for("react.transitional.element"),g=Symbol.for("react.portal"),f=Symbol.for("react.fragment"),v=Symbol.for("react.strict_mode"),x=Symbol.for("react.profiler"),_=Symbol.for("react.consumer"),T=Symbol.for("react.context"),w=Symbol.for("react.forward_ref"),y=Symbol.for("react.suspense"),k=Symbol.for("react.suspense_list"),C=Symbol.for("react.memo"),O=Symbol.for("react.lazy"),j=Symbol.for("react.activity"),L=Symbol.for("react.client.reference"),H=m.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,V=Object.prototype.hasOwnProperty,D=Array.isArray,$=console.createTask?console.createTask:function(){return null};m={react_stack_bottom_frame:function(b){return b()}};var U,Y={},X=m.react_stack_bottom_frame.bind(m,a)(),ne=$(r(a)),te={};wn.Fragment=f,wn.jsx=function(b,P,R,z,M){var A=1e4>H.recentlyCreatedOwnerStacks++;return u(b,P,R,!1,z,M,A?Error("react-stack-top-frame"):X,A?$(r(b)):ne)},wn.jsxs=function(b,P,R,z,M){var A=1e4>H.recentlyCreatedOwnerStacks++;return u(b,P,R,!0,z,M,A?Error("react-stack-top-frame"):X,A?$(r(b)):ne)}})()),wn}var Sa;function ec(){return Sa||(Sa=1,process.env.NODE_ENV==="production"?Jn.exports=Jl():Jn.exports=Ql()),Jn.exports}var p=ec();function Ca({profileImage:n,size:e,sizeImage:t=36}){const[r,i]=E.useState(!1),a=n&&n.trim()!==""&&!r;return p.jsx(p.Fragment,{children:a?p.jsx("img",{onError:()=>{i(!0)},src:n,style:{width:t,height:t},className:"rounded-full object-cover",alt:"Profile"}):p.jsx(Yl,{size:e,name:n||"User",variant:"beam",colors:["#92A1C6","#146A7C","#F0AB3D","#C271B4","#C20D90"]})})}function N(...n){return Xl.twMerge(xa.clsx(n))}const ja=n=>typeof n=="boolean"?`${n}`:n===0?"0":n,Oa=xa.clsx,Ur=(n,e)=>t=>{var r;if(e?.variants==null)return Oa(n,t?.class,t?.className);const{variants:i,defaultVariants:a}=e,o=Object.keys(i).map(c=>{const u=t?.[c],d=a?.[c];if(u===null)return null;const m=ja(u)||ja(d);return i[c][m]}),s=t&&Object.entries(t).reduce((c,u)=>{let[d,m]=u;return m===void 0||(c[d]=m),c},{}),l=e==null||(r=e.compoundVariants)===null||r===void 0?void 0:r.reduce((c,u)=>{let{class:d,className:m,...h}=u;return Object.entries(h).every(g=>{let[f,v]=g;return Array.isArray(v)?v.includes({...a,...s}[f]):{...a,...s}[f]===v})?[...c,d,m]:c},[]);return Oa(n,o,l,t?.class,t?.className)},tc=Ur("flex items-center justify-center cursor-pointer focus:outline-none font-semibold rounded-md transition-colors",{variants:{variant:{filled:"",outline:"bg-transparent border-1",text:"bg-transparent border-0"},color:{primary:"",secondary:""},size:{small:"h-[40px] w-[123px] w-fit px-2 py-3 text-sm",medium:"h-[48px] w-[134px] w-fit px-2 py-3 text-base",large:"h-[56px] w-[145px] w-fit px-4 py-3 text-base"},disabled:{true:"opacity-50 cursor-not-allowed",false:""},loading:{true:"cursor-wait",false:""},customSize:{true:"px-4 py-2",false:""}},compoundVariants:[{variant:"filled",color:"primary",class:"bg-primary-default-default text-neutral-strong-default border-0 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"},{variant:"filled",color:"secondary",class:"bg-neutral-strong-medium-default text-neutral-strong-default 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"},{variant:"outline",color:"primary",class:"text-primary-medium-default border-primary-medium-default 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"},{variant:"outline",color:"secondary",class:"text-neutral-strong-default border-neutral-strong-default 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"},{variant:"text",color:"primary",class:"text-primary-medium-default 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"},{variant:"text",color:"secondary",class:"text-neutral-strong-default 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"}],defaultVariants:{variant:"filled",color:"primary",size:"medium",disabled:!1,loading:!1,customSize:!1}});function nc({label:n="Selene",onClick:e,icon:t,contentClassName:r,loadingText:i="Cargando...",animate:a=!0,animateIcon:o=!0,isLoading:s=!1,disabled:l=!1,type:c="button",variant:u="filled",color:d="primary",size:m="medium",children:h,Spinner:g,className:f,...v}){const x=re.useAnimationControls(),_=()=>{!a||l||s||!o||x.start({rotate:90})},T=()=>{!a||l||s||!o||x.start({rotate:0})},w=N(tc({variant:u,color:d,size:m,disabled:l||s,loading:s}),f);return p.jsx(re.motion.button,{onClick:e,className:w,whileHover:a&&!l&&!s?{scale:1.05}:{},whileTap:a&&!l&&!s?{scale:.98}:{},transition:{type:"spring",stiffness:400,damping:17},onHoverStart:_,onHoverEnd:T,disabled:l||s,type:c,...v,children:s?p.jsxs("div",{className:"flex items-center gap-2",children:[g,m!=="small"&&p.jsx("span",{children:i})]}):h||p.jsxs("span",{className:N("flex items-center gap-2",r),children:[t&&p.jsx(re.motion.div,{animate:o?x:void 0,transition:{type:"spring",stiffness:400,damping:17},children:t}),n&&p.jsx("span",{children:n})]})})}function ka({sessions:n,handleTokenLogin:e}){return p.jsx("div",{className:"profile-options-container w-full ",children:n?.map(t=>p.jsx("button",{className:"w-full ",onClick:()=>e?.(t.token),children:p.jsx(Qn,{children:p.jsx(Qn.Content,{onClick:()=>{console.log("hola")},isExpanded:!1,name:t.name,nameArea:t?.area?.name,nameCompany:t.company_id.name,cardProfile:p.jsx(Qn.Image,{isExpanded:!1})})})},t._id))})}const Qn=Object.assign(({children:n})=>p.jsx("div",{className:"profile-container flex rounded-md text-white-prometeo overflow-hidden flex-shrink-0 w-full min-w-0",children:n}),{Menu:({isExpanded:n,sessions:e,onClickLogout:t,handleTokenLogin:r})=>p.jsx(re.AnimatePresence,{mode:"wait",children:n&&p.jsxs(re.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:[p.jsx(re.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:p.jsx("div",{className:"border-b border-neutral-strong-default border-1 w-full"})}),e!==null&&p.jsxs(p.Fragment,{children:[p.jsx(re.motion.div,{className:"mt-4",exit:{opacity:0,y:-5,height:0,transition:{duration:.4,delay:.4,ease:"easeInOut"}},children:p.jsx("span",{className:"text-neutral-medium-default font-semibold text-xs",children:"Cambiar cuenta"})}),p.jsx(re.motion.div,{className:"mt-4 overflow-hidden w-full ",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:p.jsx(ka,{sessions:e,handleTokenLogin:r})}),p.jsx(re.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:p.jsx("div",{className:"border-b border-neutral-strong-default border-1 w-full"})})]}),p.jsxs(re.motion.button,{onClick:t,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:[p.jsx(je.Logout,{size:24,className:"text-neutral-default-default"}),p.jsx("span",{className:"text-neutral-default-default font-semibold text-sm",children:"Cerrar sesión"})]})]})}),Image:({imageUrl:n})=>p.jsx("div",{className:"profile-image-wrapper ml-1 flex-shrink-0 h-10 w-10 flex items-center justify-center relative z-10",children:p.jsx(Ca,{profileImage:n,size:36,sizeImage:36})}),Content:({isExpanded:n,name:e,nameCompany:t,nameArea:r,cardProfile:i,onClick:a})=>p.jsxs(re.motion.button,{onClick:a,className:N("flex flex-1 gap-1 rounded-l-md cursor-pointer relative overflow-hidden focus:outline-none hover:bg-neutral-medium-selected button-profile",n&&"bg-neutral-medium-selected"),whileHover:{opacity:1,scale:[1,1.02,1]},whileTap:{scale:.98},transition:{duration:.2,ease:"easeInOut"},children:[i,p.jsxs("div",{className:"flex flex-col justify-center overflow-hidden flex-1 relative z-10 profile-user-info mr-2",children:[p.jsx("p",{className:N("profile-name font-semibold leading-tight mb-0 text-left",n?"text-primary-default-default":"text-neutral-default-default"),children:e?.length&&e?.length>20?e?.slice(0,10)+"..":e}),p.jsx("div",{className:"flex items-center gap-1 mt-1 ",children:t&&t?p.jsxs(p.Fragment,{children:[p.jsx("p",{className:N("profile-options truncate text-xs mt-0",n?"text-primary-default-default":"text-neutral-default-default"),children:t.length>20?t?.slice(0,10)+"..":t}),p.jsx("p",{className:N("profile-options truncate font-bold mt-0",n?"text-primary-default-default":"text-neutral-default-default"),children:"·"}),p.jsx("p",{className:N("profile-options truncate text-xs mt-0",n?"text-primary-default-default":"text-neutral-default-default"),children:r||"Sin asignar"})]}):p.jsx("span",{className:"font-semibold leading-tight ml-3 text-xs text-blue-300 text-center",children:"Sin asignar"})})]})]}),Separator:()=>p.jsx("div",{className:"w-px bg-gray-500/30 my-1 border-separator-profile"}),Options:({isExpanded:n,onClick:e})=>p.jsx(re.motion.button,{onClick:e,className:"flex items-center justify-center p-3 rounded-r-md cursor-pointer relative overflow-hidden focus:outline-none min-w-[50px] hover:bg-neutral-medium-selected button-content-chevron",whileHover:{scale:1.05},whileTap:{scale:.95},transition:{duration:.2,ease:"easeOut"},title:n?"Ocultar opciones":"Mostrar opciones","aria-label":n?"Ocultar opciones":"Mostrar opciones",children:p.jsx(re.motion.div,{animate:{rotate:n?180:0},transition:{duration:.3,ease:"easeOut"},className:"relative button-select-crevron",children:p.jsx(re.motion.div,{transition:{duration:.2},children:p.jsx(je.ChevronDown,{size:20,className:"text-prometeo-neutral "})})})})}),je={Ticket:({size:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:n,height:n,fill:"currentColor",className:e,children:p.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:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:n,height:n,fill:"currentColor",className:e,children:p.jsx("path",{d:"M240-200h120v-240h240v240h120v-360L480-740 240-560v360Zm-80 80v-480l320-240 320 240v480H520v-240h-80v240H160Zm320-350Z"})}),Boards:({size:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:n,height:n,fill:"currentColor",className:e,children:p.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:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:n,height:n,fill:"currentColor",className:e,children:p.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:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:n,height:n,fill:"currentColor",className:e,children:p.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:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:n,height:n,fill:"currentColor",className:e,children:p.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:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:n,height:n,fill:"currentColor",className:e,children:p.jsx("path",{d:"M560-240 320-480l240-240 56 56-184 184 184 184-56 56Z"})}),CrevronRight:({size:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:n,height:n,fill:"currentColor",className:e,children:p.jsx("path",{d:"M504-480 320-664l56-56 240 240-240 240-56-56 184-184Z"})}),ArrowLeft:({size:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:n,height:n,fill:"currentColor",className:e,children:p.jsx("path",{d:"M400-240 160-480l240-240 56 58-142 142h486v80H314l142 142-56 58Z"})}),Shared:({size:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:n,height:n,fill:"currentColor",className:e,children:p.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:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:n,height:n,fill:"currentColor",className:e,children:p.jsx("path",{d:"M480-345 240-585l56-56 184 183 184-183 56 56-240 240Z"})}),Collapse:({size:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:n,height:n,fill:"currentColor",className:e,children:p.jsx("path",{d:"M440-440v240h-80v-160H200v-80h240Zm160-320v160h160v80H520v-240h80Z"})}),Calendar:({size:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:n,height:n,fill:"currentColor",className:e,children:p.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:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:n,height:n,fill:"currentColor",className:e,children:p.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:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:n,height:n,fill:"currentColor",className:e,children:p.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:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:n,height:n,fill:"currentColor",className:e,children:p.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:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:n,height:n,fill:"currentColor",className:e,children:p.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:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:n,height:n,fill:"currentColor",className:e,children:p.jsx("path",{d:"M400-240v-80h160v80H400ZM240-440v-80h480v80H240ZM120-640v-80h720v80H120Z"})}),Search:({size:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:n,height:n,fill:"currentColor",className:e,children:p.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:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:n,height:n,fill:"currentColor",className:e,children:p.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:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:n,height:n,fill:"currentColor",className:e,children:p.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:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:n,height:n,fill:"currentColor",className:e,children:p.jsx("path",{d:"M440-440H200v-80h240v-240h80v240h240v80H520v240h-80v-240Z"})}),Edit:({size:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:n,height:n,fill:"currentColor",className:e,children:p.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:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:n,height:n,fill:"currentColor",className:e,children:p.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:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:n,height:n,fill:"currentColor",className:e,children:p.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:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:n,height:n,fill:"currentColor",className:e,children:p.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:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:n,height:n,fill:"currentColor",className:e,children:p.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:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:n,height:n,fill:"currentColor",className:e,children:p.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:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:n,height:n,fill:"currentColor",className:e,children:p.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:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:n,height:n,fill:"currentColor",className:e,children:p.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:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:n,height:n,fill:"currentColor",className:e,children:p.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:n,className:e,...t})=>p.jsxs("svg",{width:n,height:n,viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",...t,className:e,children:[p.jsx("mask",{id:"mask0_977_20941",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:n,height:n,children:p.jsx("rect",{width:"24",height:"24",fill:"#D9D9D9"})}),p.jsx("g",{mask:"url(#mask0_977_20941)",children:p.jsx("path",{d:"M11 17V7L6 12L11 17ZM13 21H15V3H13V21Z",fill:"#E4E4E7"})})]}),EyeVisibility:({size:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 -960 960 960",width:n,height:n,...t,className:e,fill:"currentColor",children:p.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:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 -960 960 960",width:n,height:n,...t,className:e,fill:"currentColor",children:p.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"})}),Check:({size:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:n,height:n,...t,className:e,viewBox:"0 -960 960 960",fill:"currentColor",children:p.jsx("path",{d:"M382-240 154-468l57-57 171 171 367-367 57 57-424 424Z"})}),Info:({size:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 -960 960 960",width:n,height:n,...t,className:e,fill:"currentColor",children:p.jsx("path",{d:"M440-280h80v-240h-80v240Zm40-320q17 0 28.5-11.5T520-640q0-17-11.5-28.5T480-680q-17 0-28.5 11.5T440-640q0 17 11.5 28.5T480-600Zm0 520q-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"})}),Error:({size:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:n,height:n,...t,className:e,fill:"currentColor",viewBox:"0 -960 960 960",children:p.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-280Zm-40-160h80v-240h-80v240Zm40 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-80q134 0 227-93t93-227q0-134-93-227t-227-93q-134 0-227 93t-93 227q0 134 93 227t227 93Zm0-320Z"})}),TicketFilled:({size:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 -960 960 960",width:n,height:n,fill:"currentColor",className:e,...t,children:p.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-160Z"})}),UploadCloud:({size:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",height:n,viewBox:"0 -960 960 960",width:n,fill:"currentColor",...t,className:e,children:p.jsx("path",{d:"M260-160q-91 0-155.5-63T40-377q0-78 47-139t123-78q25-92 100-149t170-57q117 0 198.5 81.5T760-520q69 8 114.5 59.5T920-340q0 75-52.5 127.5T740-160H520q-33 0-56.5-23.5T440-240v-206l-64 62-56-56 160-160 160 160-56 56-64-62v206h220q42 0 71-29t29-71q0-42-29-71t-71-29h-60v-80q0-83-58.5-141.5T480-720q-83 0-141.5 58.5T280-520h-20q-58 0-99 41t-41 99q0 58 41 99t99 41h100v80H260Zm220-280Z"})})},rc=({label:n,className:e,containerClassName:t,id:r,disabled:i=!1,...a})=>{const[o,s]=Kn.useField({...a,type:"checkbox"}),[l,c]=E.useState(!1),u=s.touched&&s.error;return p.jsxs("div",{className:N("relative w-full",t),children:[p.jsxs("label",{htmlFor:r||a.name,className:N("flex items-center gap-3 cursor-pointer transition-all duration-200 ease-in-out",i?"cursor-not-allowed opacity-60":"hover:opacity-80",e),children:[p.jsxs("div",{className:"relative",children:[p.jsx("input",{id:r||a.name,type:"checkbox",name:o.name,checked:o.value||!1,onChange:o.onChange,onFocus:()=>{c(!0),a.onFocus?.()},onBlur:d=>{c(!1),a.onBlur?.(),o.onBlur(d)},disabled:i,className:N("sr-only")}),p.jsx("div",{className:N("w-5 h-5 rounded border-2 transition-all duration-200 ease-in-out flex items-center justify-center",o.value?"bg-primary-default-default border-primary-default-default":l?"border-primary-default-default bg-transparent":u?"border-error-default-default bg-transparent":"border-neutral-default-default bg-transparent hover:border-neutral-strong-default",i&&"bg-neutral-medium-default border-neutral-medium-default"),children:o.value&&p.jsx(je.Check,{size:14,className:N("text-white transition-all duration-200 ease-in-out",i&&"text-neutral-strong-default")})})]}),p.jsx("span",{className:`${l}`,children:" "}),p.jsx("span",{className:N("text-sm transition-colors duration-200 ease-in-out select-none",u&&"text-error-default-default",i&&"text-neutral-medium-default"),children:n})]}),u&&p.jsx(Kn.ErrorMessage,{name:a.name,component:"span",className:"block text-error-default-default text-xs mt-1"})]})},ic=E.forwardRef(({children:n,onClose:e,className:t},r)=>{const[i,a]=E.useState(!1),o=()=>a(!0),s=()=>{a(!1),e?.()};return E.useImperativeHandle(r,()=>({open:o,close:s,isOpen:i})),p.jsx(p.Fragment,{children:i&&p.jsx("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-black/30 backdrop-blur-[1.5px]",onClick:s,children:p.jsx("div",{className:N("bg-neutral-default-default w-3/4 h-3/4 xl:w-3/4 xl:h-10/12 rounded-lg shadow-lg border-neutral-strong-default border relative p-6",t),onClick:l=>l.stopPropagation(),children:n})})})}),ac=Object.assign(ic,{Content:({children:n,className:e})=>p.jsx("div",{className:e,children:p.jsx("div",{className:N("flex flex-col gap-4"),children:n})}),Header:({children:n,className:e})=>p.jsx("div",{className:e,children:n}),Footer:({children:n,className:e})=>p.jsx("div",{className:e,children:n}),Title:({children:n,className:e})=>p.jsx("h1",{className:e,children:n})});function wt(n,e,{checkForDefaultPrevented:t=!0}={}){return function(i){if(n?.(i),t===!1||!i.defaultPrevented)return e?.(i)}}function Pa(n,e){if(typeof n=="function")return n(e);n!=null&&(n.current=e)}function Da(...n){return e=>{let t=!1;const r=n.map(i=>{const a=Pa(i,e);return!t&&typeof a=="function"&&(t=!0),a});if(t)return()=>{for(let i=0;i<r.length;i++){const a=r[i];typeof a=="function"?a():Pa(n[i],null)}}}}function Rt(...n){return S.useCallback(Da(...n),n)}function oc(n,e){const t=S.createContext(e),r=a=>{const{children:o,...s}=a,l=S.useMemo(()=>s,Object.values(s));return p.jsx(t.Provider,{value:l,children:o})};r.displayName=n+"Provider";function i(a){const o=S.useContext(t);if(o)return o;if(e!==void 0)return e;throw new Error(`\`${a}\` must be used within \`${n}\``)}return[r,i]}function sc(n,e=[]){let t=[];function r(a,o){const s=S.createContext(o),l=t.length;t=[...t,o];const c=d=>{const{scope:m,children:h,...g}=d,f=m?.[n]?.[l]||s,v=S.useMemo(()=>g,Object.values(g));return p.jsx(f.Provider,{value:v,children:h})};c.displayName=a+"Provider";function u(d,m){const h=m?.[n]?.[l]||s,g=S.useContext(h);if(g)return g;if(o!==void 0)return o;throw new Error(`\`${d}\` must be used within \`${a}\``)}return[c,u]}const i=()=>{const a=t.map(o=>S.createContext(o));return function(s){const l=s?.[n]||a;return S.useMemo(()=>({[`__scope${n}`]:{...s,[n]:l}}),[s,l])}};return i.scopeName=n,[r,lc(i,...e)]}function lc(...n){const e=n[0];if(n.length===1)return e;const t=()=>{const r=n.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(a){const o=r.reduce((s,{useScope:l,scopeName:c})=>{const d=l(a)[`__scope${c}`];return{...s,...d}},{});return S.useMemo(()=>({[`__scope${e.scopeName}`]:o}),[o])}};return t.scopeName=e.scopeName,t}var _n=globalThis?.document?S.useLayoutEffect:()=>{},cc=S[" useId ".trim().toString()]||(()=>{}),uc=0;function Zr(n){const[e,t]=S.useState(cc());return _n(()=>{t(r=>r??String(uc++))},[n]),n||(e?`radix-${e}`:"")}var dc=S[" useInsertionEffect ".trim().toString()]||_n;function pc({prop:n,defaultProp:e,onChange:t=()=>{},caller:r}){const[i,a,o]=fc({defaultProp:e,onChange:t}),s=n!==void 0,l=s?n:i;{const u=S.useRef(n!==void 0);S.useEffect(()=>{const d=u.current;d!==s&&console.warn(`${r} is changing from ${d?"controlled":"uncontrolled"} to ${s?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),u.current=s},[s,r])}const c=S.useCallback(u=>{if(s){const d=mc(u)?u(n):u;d!==n&&o.current?.(d)}else a(u)},[s,n,a,o]);return[l,c]}function fc({defaultProp:n,onChange:e}){const[t,r]=S.useState(n),i=S.useRef(t),a=S.useRef(e);return dc(()=>{a.current=e},[e]),S.useEffect(()=>{i.current!==t&&(a.current?.(t),i.current=t)},[t,i]),[t,r,a]}function mc(n){return typeof n=="function"}function Aa(n){const e=hc(n),t=S.forwardRef((r,i)=>{const{children:a,...o}=r,s=S.Children.toArray(a),l=s.find(gc);if(l){const c=l.props.children,u=s.map(d=>d===l?S.Children.count(c)>1?S.Children.only(null):S.isValidElement(c)?c.props.children:null:d);return p.jsx(e,{...o,ref:i,children:S.isValidElement(c)?S.cloneElement(c,void 0,u):null})}return p.jsx(e,{...o,ref:i,children:a})});return t.displayName=`${n}.Slot`,t}function hc(n){const e=S.forwardRef((t,r)=>{const{children:i,...a}=t;if(S.isValidElement(i)){const o=yc(i),s=xc(a,i.props);return i.type!==S.Fragment&&(s.ref=r?Da(r,o):o),S.cloneElement(i,s)}return S.Children.count(i)>1?S.Children.only(null):null});return e.displayName=`${n}.SlotClone`,e}var vc=Symbol("radix.slottable");function gc(n){return S.isValidElement(n)&&typeof n.type=="function"&&"__radixId"in n.type&&n.type.__radixId===vc}function xc(n,e){const t={...e};for(const r in e){const i=n[r],a=e[r];/^on[A-Z]/.test(r)?i&&a?t[r]=(...s)=>{const l=a(...s);return i(...s),l}:i&&(t[r]=i):r==="style"?t[r]={...i,...a}:r==="className"&&(t[r]=[i,a].filter(Boolean).join(" "))}return{...n,...t}}function yc(n){let e=Object.getOwnPropertyDescriptor(n.props,"ref")?.get,t=e&&"isReactWarning"in e&&e.isReactWarning;return t?n.ref:(e=Object.getOwnPropertyDescriptor(n,"ref")?.get,t=e&&"isReactWarning"in e&&e.isReactWarning,t?n.props.ref:n.props.ref||n.ref)}var bc=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],pt=bc.reduce((n,e)=>{const t=Aa(`Primitive.${e}`),r=S.forwardRef((i,a)=>{const{asChild:o,...s}=i,l=o?t:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),p.jsx(l,{...s,ref:a})});return r.displayName=`Primitive.${e}`,{...n,[e]:r}},{});function wc(n,e){n&&Kl.flushSync(()=>n.dispatchEvent(e))}function Tn(n){const e=S.useRef(n);return S.useEffect(()=>{e.current=n}),S.useMemo(()=>(...t)=>e.current?.(...t),[])}function _c(n,e=globalThis?.document){const t=Tn(n);S.useEffect(()=>{const r=i=>{i.key==="Escape"&&t(i)};return e.addEventListener("keydown",r,{capture:!0}),()=>e.removeEventListener("keydown",r,{capture:!0})},[t,e])}var Tc="DismissableLayer",Vr="dismissableLayer.update",Ec="dismissableLayer.pointerDownOutside",Sc="dismissableLayer.focusOutside",Na,qa=S.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Ra=S.forwardRef((n,e)=>{const{disableOutsidePointerEvents:t=!1,onEscapeKeyDown:r,onPointerDownOutside:i,onFocusOutside:a,onInteractOutside:o,onDismiss:s,...l}=n,c=S.useContext(qa),[u,d]=S.useState(null),m=u?.ownerDocument??globalThis?.document,[,h]=S.useState({}),g=Rt(e,C=>d(C)),f=Array.from(c.layers),[v]=[...c.layersWithOutsidePointerEventsDisabled].slice(-1),x=f.indexOf(v),_=u?f.indexOf(u):-1,T=c.layersWithOutsidePointerEventsDisabled.size>0,w=_>=x,y=Oc(C=>{const O=C.target,j=[...c.branches].some(L=>L.contains(O));!w||j||(i?.(C),o?.(C),C.defaultPrevented||s?.())},m),k=kc(C=>{const O=C.target;[...c.branches].some(L=>L.contains(O))||(a?.(C),o?.(C),C.defaultPrevented||s?.())},m);return _c(C=>{_===c.layers.size-1&&(r?.(C),!C.defaultPrevented&&s&&(C.preventDefault(),s()))},m),S.useEffect(()=>{if(u)return t&&(c.layersWithOutsidePointerEventsDisabled.size===0&&(Na=m.body.style.pointerEvents,m.body.style.pointerEvents="none"),c.layersWithOutsidePointerEventsDisabled.add(u)),c.layers.add(u),Ma(),()=>{t&&c.layersWithOutsidePointerEventsDisabled.size===1&&(m.body.style.pointerEvents=Na)}},[u,m,t,c]),S.useEffect(()=>()=>{u&&(c.layers.delete(u),c.layersWithOutsidePointerEventsDisabled.delete(u),Ma())},[u,c]),S.useEffect(()=>{const C=()=>h({});return document.addEventListener(Vr,C),()=>document.removeEventListener(Vr,C)},[]),p.jsx(pt.div,{...l,ref:g,style:{pointerEvents:T?w?"auto":"none":void 0,...n.style},onFocusCapture:wt(n.onFocusCapture,k.onFocusCapture),onBlurCapture:wt(n.onBlurCapture,k.onBlurCapture),onPointerDownCapture:wt(n.onPointerDownCapture,y.onPointerDownCapture)})});Ra.displayName=Tc;var Cc="DismissableLayerBranch",jc=S.forwardRef((n,e)=>{const t=S.useContext(qa),r=S.useRef(null),i=Rt(e,r);return S.useEffect(()=>{const a=r.current;if(a)return t.branches.add(a),()=>{t.branches.delete(a)}},[t.branches]),p.jsx(pt.div,{...n,ref:i})});jc.displayName=Cc;function Oc(n,e=globalThis?.document){const t=Tn(n),r=S.useRef(!1),i=S.useRef(()=>{});return S.useEffect(()=>{const a=s=>{if(s.target&&!r.current){let l=function(){Ia(Ec,t,c,{discrete:!0})};const c={originalEvent:s};s.pointerType==="touch"?(e.removeEventListener("click",i.current),i.current=l,e.addEventListener("click",i.current,{once:!0})):l()}else e.removeEventListener("click",i.current);r.current=!1},o=window.setTimeout(()=>{e.addEventListener("pointerdown",a)},0);return()=>{window.clearTimeout(o),e.removeEventListener("pointerdown",a),e.removeEventListener("click",i.current)}},[e,t]),{onPointerDownCapture:()=>r.current=!0}}function kc(n,e=globalThis?.document){const t=Tn(n),r=S.useRef(!1);return S.useEffect(()=>{const i=a=>{a.target&&!r.current&&Ia(Sc,t,{originalEvent:a},{discrete:!1})};return e.addEventListener("focusin",i),()=>e.removeEventListener("focusin",i)},[e,t]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function Ma(){const n=new CustomEvent(Vr);document.dispatchEvent(n)}function Ia(n,e,t,{discrete:r}){const i=t.originalEvent.target,a=new CustomEvent(n,{bubbles:!1,cancelable:!0,detail:t});e&&i.addEventListener(n,e,{once:!0}),r?wc(i,a):i.dispatchEvent(a)}var Yr="focusScope.autoFocusOnMount",Xr="focusScope.autoFocusOnUnmount",Fa={bubbles:!1,cancelable:!0},Pc="FocusScope",La=S.forwardRef((n,e)=>{const{loop:t=!1,trapped:r=!1,onMountAutoFocus:i,onUnmountAutoFocus:a,...o}=n,[s,l]=S.useState(null),c=Tn(i),u=Tn(a),d=S.useRef(null),m=Rt(e,f=>l(f)),h=S.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;S.useEffect(()=>{if(r){let f=function(T){if(h.paused||!s)return;const w=T.target;s.contains(w)?d.current=w:_t(d.current,{select:!0})},v=function(T){if(h.paused||!s)return;const w=T.relatedTarget;w!==null&&(s.contains(w)||_t(d.current,{select:!0}))},x=function(T){if(document.activeElement===document.body)for(const y of T)y.removedNodes.length>0&&_t(s)};document.addEventListener("focusin",f),document.addEventListener("focusout",v);const _=new MutationObserver(x);return s&&_.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",f),document.removeEventListener("focusout",v),_.disconnect()}}},[r,s,h.paused]),S.useEffect(()=>{if(s){Ba.add(h);const f=document.activeElement;if(!s.contains(f)){const x=new CustomEvent(Yr,Fa);s.addEventListener(Yr,c),s.dispatchEvent(x),x.defaultPrevented||(Dc(Mc(za(s)),{select:!0}),document.activeElement===f&&_t(s))}return()=>{s.removeEventListener(Yr,c),setTimeout(()=>{const x=new CustomEvent(Xr,Fa);s.addEventListener(Xr,u),s.dispatchEvent(x),x.defaultPrevented||_t(f??document.body,{select:!0}),s.removeEventListener(Xr,u),Ba.remove(h)},0)}}},[s,c,u,h]);const g=S.useCallback(f=>{if(!t&&!r||h.paused)return;const v=f.key==="Tab"&&!f.altKey&&!f.ctrlKey&&!f.metaKey,x=document.activeElement;if(v&&x){const _=f.currentTarget,[T,w]=Ac(_);T&&w?!f.shiftKey&&x===w?(f.preventDefault(),t&&_t(T,{select:!0})):f.shiftKey&&x===T&&(f.preventDefault(),t&&_t(w,{select:!0})):x===_&&f.preventDefault()}},[t,r,h.paused]);return p.jsx(pt.div,{tabIndex:-1,...o,ref:m,onKeyDown:g})});La.displayName=Pc;function Dc(n,{select:e=!1}={}){const t=document.activeElement;for(const r of n)if(_t(r,{select:e}),document.activeElement!==t)return}function Ac(n){const e=za(n),t=$a(e,n),r=$a(e.reverse(),n);return[t,r]}function za(n){const e=[],t=document.createTreeWalker(n,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const i=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||i?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;t.nextNode();)e.push(t.currentNode);return e}function $a(n,e){for(const t of n)if(!Nc(t,{upTo:e}))return t}function Nc(n,{upTo:e}){if(getComputedStyle(n).visibility==="hidden")return!0;for(;n;){if(e!==void 0&&n===e)return!1;if(getComputedStyle(n).display==="none")return!0;n=n.parentElement}return!1}function qc(n){return n instanceof HTMLInputElement&&"select"in n}function _t(n,{select:e=!1}={}){if(n&&n.focus){const t=document.activeElement;n.focus({preventScroll:!0}),n!==t&&qc(n)&&e&&n.select()}}var Ba=Rc();function Rc(){let n=[];return{add(e){const t=n[0];e!==t&&t?.pause(),n=Ha(n,e),n.unshift(e)},remove(e){n=Ha(n,e),n[0]?.resume()}}}function Ha(n,e){const t=[...n],r=t.indexOf(e);return r!==-1&&t.splice(r,1),t}function Mc(n){return n.filter(e=>e.tagName!=="A")}var Ic="Portal",Wa=S.forwardRef((n,e)=>{const{container:t,...r}=n,[i,a]=S.useState(!1);_n(()=>a(!0),[]);const o=t||i&&globalThis?.document?.body;return o?ya.createPortal(p.jsx(pt.div,{...r,ref:e}),o):null});Wa.displayName=Ic;function Fc(n,e){return S.useReducer((t,r)=>e[t][r]??t,n)}var er=n=>{const{present:e,children:t}=n,r=Lc(e),i=typeof t=="function"?t({present:r.isPresent}):S.Children.only(t),a=Rt(r.ref,zc(i));return typeof t=="function"||r.isPresent?S.cloneElement(i,{ref:a}):null};er.displayName="Presence";function Lc(n){const[e,t]=S.useState(),r=S.useRef(null),i=S.useRef(n),a=S.useRef("none"),o=n?"mounted":"unmounted",[s,l]=Fc(o,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return S.useEffect(()=>{const c=tr(r.current);a.current=s==="mounted"?c:"none"},[s]),_n(()=>{const c=r.current,u=i.current;if(u!==n){const m=a.current,h=tr(c);n?l("MOUNT"):h==="none"||c?.display==="none"?l("UNMOUNT"):l(u&&m!==h?"ANIMATION_OUT":"UNMOUNT"),i.current=n}},[n,l]),_n(()=>{if(e){let c;const u=e.ownerDocument.defaultView??window,d=h=>{const f=tr(r.current).includes(CSS.escape(h.animationName));if(h.target===e&&f&&(l("ANIMATION_END"),!i.current)){const v=e.style.animationFillMode;e.style.animationFillMode="forwards",c=u.setTimeout(()=>{e.style.animationFillMode==="forwards"&&(e.style.animationFillMode=v)})}},m=h=>{h.target===e&&(a.current=tr(r.current))};return e.addEventListener("animationstart",m),e.addEventListener("animationcancel",d),e.addEventListener("animationend",d),()=>{u.clearTimeout(c),e.removeEventListener("animationstart",m),e.removeEventListener("animationcancel",d),e.removeEventListener("animationend",d)}}else l("ANIMATION_END")},[e,l]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:S.useCallback(c=>{r.current=c?getComputedStyle(c):null,t(c)},[])}}function tr(n){return n?.animationName||"none"}function zc(n){let e=Object.getOwnPropertyDescriptor(n.props,"ref")?.get,t=e&&"isReactWarning"in e&&e.isReactWarning;return t?n.ref:(e=Object.getOwnPropertyDescriptor(n,"ref")?.get,t=e&&"isReactWarning"in e&&e.isReactWarning,t?n.props.ref:n.props.ref||n.ref)}var Gr=0;function $c(){S.useEffect(()=>{const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",n[0]??Ua()),document.body.insertAdjacentElement("beforeend",n[1]??Ua()),Gr++,()=>{Gr===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),Gr--}},[])}function Ua(){const n=document.createElement("span");return n.setAttribute("data-radix-focus-guard",""),n.tabIndex=0,n.style.outline="none",n.style.opacity="0",n.style.position="fixed",n.style.pointerEvents="none",n}var it=function(){return it=Object.assign||function(e){for(var t,r=1,i=arguments.length;r<i;r++){t=arguments[r];for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])}return e},it.apply(this,arguments)};function Za(n,e){var t={};for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&e.indexOf(r)<0&&(t[r]=n[r]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(n);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(n,r[i])&&(t[r[i]]=n[r[i]]);return t}function Mt(n,e,t,r){function i(a){return a instanceof t?a:new t(function(o){o(a)})}return new(t||(t=Promise))(function(a,o){function s(u){try{c(r.next(u))}catch(d){o(d)}}function l(u){try{c(r.throw(u))}catch(d){o(d)}}function c(u){u.done?a(u.value):i(u.value).then(s,l)}c((r=r.apply(n,e||[])).next())})}function Bc(n,e,t){if(t||arguments.length===2)for(var r=0,i=e.length,a;r<i;r++)(a||!(r in e))&&(a||(a=Array.prototype.slice.call(e,0,r)),a[r]=e[r]);return n.concat(a||Array.prototype.slice.call(e))}typeof SuppressedError=="function"&&SuppressedError;var nr="right-scroll-bar-position",rr="width-before-scroll-bar",Hc="with-scroll-bars-hidden",Wc="--removed-body-scroll-bar-size";function Kr(n,e){return typeof n=="function"?n(e):n&&(n.current=e),n}function Uc(n,e){var t=E.useState(function(){return{value:n,callback:e,facade:{get current(){return t.value},set current(r){var i=t.value;i!==r&&(t.value=r,t.callback(r,i))}}}})[0];return t.callback=e,t.facade}var Zc=typeof window<"u"?S.useLayoutEffect:S.useEffect,Va=new WeakMap;function Vc(n,e){var t=Uc(null,function(r){return n.forEach(function(i){return Kr(i,r)})});return Zc(function(){var r=Va.get(t);if(r){var i=new Set(r),a=new Set(n),o=t.current;i.forEach(function(s){a.has(s)||Kr(s,null)}),a.forEach(function(s){i.has(s)||Kr(s,o)})}Va.set(t,n)},[n]),t}function Yc(n){return n}function Xc(n,e){e===void 0&&(e=Yc);var t=[],r=!1,i={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return t.length?t[t.length-1]:n},useMedium:function(a){var o=e(a,r);return t.push(o),function(){t=t.filter(function(s){return s!==o})}},assignSyncMedium:function(a){for(r=!0;t.length;){var o=t;t=[],o.forEach(a)}t={push:function(s){return a(s)},filter:function(){return t}}},assignMedium:function(a){r=!0;var o=[];if(t.length){var s=t;t=[],s.forEach(a),o=t}var l=function(){var u=o;o=[],u.forEach(a)},c=function(){return Promise.resolve().then(l)};c(),t={push:function(u){o.push(u),c()},filter:function(u){return o=o.filter(u),t}}}};return i}function Gc(n){n===void 0&&(n={});var e=Xc(null);return e.options=it({async:!0,ssr:!1},n),e}var Ya=function(n){var e=n.sideCar,t=Za(n,["sideCar"]);if(!e)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=e.read();if(!r)throw new Error("Sidecar medium not found");return S.createElement(r,it({},t))};Ya.isSideCarExport=!0;function Kc(n,e){return n.useMedium(e),Ya}var Xa=Gc(),Jr=function(){},ir=S.forwardRef(function(n,e){var t=S.useRef(null),r=S.useState({onScrollCapture:Jr,onWheelCapture:Jr,onTouchMoveCapture:Jr}),i=r[0],a=r[1],o=n.forwardProps,s=n.children,l=n.className,c=n.removeScrollBar,u=n.enabled,d=n.shards,m=n.sideCar,h=n.noRelative,g=n.noIsolation,f=n.inert,v=n.allowPinchZoom,x=n.as,_=x===void 0?"div":x,T=n.gapMode,w=Za(n,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),y=m,k=Vc([t,e]),C=it(it({},w),i);return S.createElement(S.Fragment,null,u&&S.createElement(y,{sideCar:Xa,removeScrollBar:c,shards:d,noRelative:h,noIsolation:g,inert:f,setCallbacks:a,allowPinchZoom:!!v,lockRef:t,gapMode:T}),o?S.cloneElement(S.Children.only(s),it(it({},C),{ref:k})):S.createElement(_,it({},C,{className:l,ref:k}),s))});ir.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},ir.classNames={fullWidth:rr,zeroRight:nr};var Jc=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function Qc(){if(!document)return null;var n=document.createElement("style");n.type="text/css";var e=Jc();return e&&n.setAttribute("nonce",e),n}function eu(n,e){n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e))}function tu(n){var e=document.head||document.getElementsByTagName("head")[0];e.appendChild(n)}var nu=function(){var n=0,e=null;return{add:function(t){n==0&&(e=Qc())&&(eu(e,t),tu(e)),n++},remove:function(){n--,!n&&e&&(e.parentNode&&e.parentNode.removeChild(e),e=null)}}},ru=function(){var n=nu();return function(e,t){S.useEffect(function(){return n.add(e),function(){n.remove()}},[e&&t])}},Ga=function(){var n=ru(),e=function(t){var r=t.styles,i=t.dynamic;return n(r,i),null};return e},iu={left:0,top:0,right:0,gap:0},Qr=function(n){return parseInt(n||"",10)||0},au=function(n){var e=window.getComputedStyle(document.body),t=e[n==="padding"?"paddingLeft":"marginLeft"],r=e[n==="padding"?"paddingTop":"marginTop"],i=e[n==="padding"?"paddingRight":"marginRight"];return[Qr(t),Qr(r),Qr(i)]},ou=function(n){if(n===void 0&&(n="margin"),typeof window>"u")return iu;var e=au(n),t=document.documentElement.clientWidth,r=window.innerWidth;return{left:e[0],top:e[1],right:e[2],gap:Math.max(0,r-t+e[2]-e[0])}},su=Ga(),Qt="data-scroll-locked",lu=function(n,e,t,r){var i=n.left,a=n.top,o=n.right,s=n.gap;return t===void 0&&(t="margin"),`
23
+ .`.concat(Hc,` {
24
+ overflow: hidden `).concat(r,`;
25
+ padding-right: `).concat(s,"px ").concat(r,`;
26
+ }
27
+ body[`).concat(Qt,`] {
28
+ overflow: hidden `).concat(r,`;
29
+ overscroll-behavior: contain;
30
+ `).concat([e&&"position: relative ".concat(r,";"),t==="margin"&&`
31
+ padding-left: `.concat(i,`px;
32
+ padding-top: `).concat(a,`px;
33
+ padding-right: `).concat(o,`px;
34
+ margin-left:0;
35
+ margin-top:0;
36
+ margin-right: `).concat(s,"px ").concat(r,`;
37
+ `),t==="padding"&&"padding-right: ".concat(s,"px ").concat(r,";")].filter(Boolean).join(""),`
38
+ }
39
+
40
+ .`).concat(nr,` {
41
+ right: `).concat(s,"px ").concat(r,`;
42
+ }
43
+
44
+ .`).concat(rr,` {
45
+ margin-right: `).concat(s,"px ").concat(r,`;
46
+ }
47
+
48
+ .`).concat(nr," .").concat(nr,` {
49
+ right: 0 `).concat(r,`;
50
+ }
51
+
52
+ .`).concat(rr," .").concat(rr,` {
53
+ margin-right: 0 `).concat(r,`;
54
+ }
55
+
56
+ body[`).concat(Qt,`] {
57
+ `).concat(Wc,": ").concat(s,`px;
58
+ }
59
+ `)},Ka=function(){var n=parseInt(document.body.getAttribute(Qt)||"0",10);return isFinite(n)?n:0},cu=function(){S.useEffect(function(){return document.body.setAttribute(Qt,(Ka()+1).toString()),function(){var n=Ka()-1;n<=0?document.body.removeAttribute(Qt):document.body.setAttribute(Qt,n.toString())}},[])},uu=function(n){var e=n.noRelative,t=n.noImportant,r=n.gapMode,i=r===void 0?"margin":r;cu();var a=S.useMemo(function(){return ou(i)},[i]);return S.createElement(su,{styles:lu(a,!e,i,t?"":"!important")})},ei=!1;if(typeof window<"u")try{var ar=Object.defineProperty({},"passive",{get:function(){return ei=!0,!0}});window.addEventListener("test",ar,ar),window.removeEventListener("test",ar,ar)}catch{ei=!1}var en=ei?{passive:!1}:!1,du=function(n){return n.tagName==="TEXTAREA"},Ja=function(n,e){if(!(n instanceof Element))return!1;var t=window.getComputedStyle(n);return t[e]!=="hidden"&&!(t.overflowY===t.overflowX&&!du(n)&&t[e]==="visible")},pu=function(n){return Ja(n,"overflowY")},fu=function(n){return Ja(n,"overflowX")},Qa=function(n,e){var t=e.ownerDocument,r=e;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var i=eo(n,r);if(i){var a=to(n,r),o=a[1],s=a[2];if(o>s)return!0}r=r.parentNode}while(r&&r!==t.body);return!1},mu=function(n){var e=n.scrollTop,t=n.scrollHeight,r=n.clientHeight;return[e,t,r]},hu=function(n){var e=n.scrollLeft,t=n.scrollWidth,r=n.clientWidth;return[e,t,r]},eo=function(n,e){return n==="v"?pu(e):fu(e)},to=function(n,e){return n==="v"?mu(e):hu(e)},vu=function(n,e){return n==="h"&&e==="rtl"?-1:1},gu=function(n,e,t,r,i){var a=vu(n,window.getComputedStyle(e).direction),o=a*r,s=t.target,l=e.contains(s),c=!1,u=o>0,d=0,m=0;do{if(!s)break;var h=to(n,s),g=h[0],f=h[1],v=h[2],x=f-v-a*g;(g||x)&&eo(n,s)&&(d+=x,m+=g);var _=s.parentNode;s=_&&_.nodeType===Node.DOCUMENT_FRAGMENT_NODE?_.host:_}while(!l&&s!==document.body||l&&(e.contains(s)||e===s));return(u&&Math.abs(d)<1||!u&&Math.abs(m)<1)&&(c=!0),c},or=function(n){return"changedTouches"in n?[n.changedTouches[0].clientX,n.changedTouches[0].clientY]:[0,0]},no=function(n){return[n.deltaX,n.deltaY]},ro=function(n){return n&&"current"in n?n.current:n},xu=function(n,e){return n[0]===e[0]&&n[1]===e[1]},yu=function(n){return`
60
+ .block-interactivity-`.concat(n,` {pointer-events: none;}
61
+ .allow-interactivity-`).concat(n,` {pointer-events: all;}
62
+ `)},bu=0,tn=[];function wu(n){var e=S.useRef([]),t=S.useRef([0,0]),r=S.useRef(),i=S.useState(bu++)[0],a=S.useState(Ga)[0],o=S.useRef(n);S.useEffect(function(){o.current=n},[n]),S.useEffect(function(){if(n.inert){document.body.classList.add("block-interactivity-".concat(i));var f=Bc([n.lockRef.current],(n.shards||[]).map(ro),!0).filter(Boolean);return f.forEach(function(v){return v.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),f.forEach(function(v){return v.classList.remove("allow-interactivity-".concat(i))})}}},[n.inert,n.lockRef.current,n.shards]);var s=S.useCallback(function(f,v){if("touches"in f&&f.touches.length===2||f.type==="wheel"&&f.ctrlKey)return!o.current.allowPinchZoom;var x=or(f),_=t.current,T="deltaX"in f?f.deltaX:_[0]-x[0],w="deltaY"in f?f.deltaY:_[1]-x[1],y,k=f.target,C=Math.abs(T)>Math.abs(w)?"h":"v";if("touches"in f&&C==="h"&&k.type==="range")return!1;var O=Qa(C,k);if(!O)return!0;if(O?y=C:(y=C==="v"?"h":"v",O=Qa(C,k)),!O)return!1;if(!r.current&&"changedTouches"in f&&(T||w)&&(r.current=y),!y)return!0;var j=r.current||y;return gu(j,v,f,j==="h"?T:w)},[]),l=S.useCallback(function(f){var v=f;if(!(!tn.length||tn[tn.length-1]!==a)){var x="deltaY"in v?no(v):or(v),_=e.current.filter(function(y){return y.name===v.type&&(y.target===v.target||v.target===y.shadowParent)&&xu(y.delta,x)})[0];if(_&&_.should){v.cancelable&&v.preventDefault();return}if(!_){var T=(o.current.shards||[]).map(ro).filter(Boolean).filter(function(y){return y.contains(v.target)}),w=T.length>0?s(v,T[0]):!o.current.noIsolation;w&&v.cancelable&&v.preventDefault()}}},[]),c=S.useCallback(function(f,v,x,_){var T={name:f,delta:v,target:x,should:_,shadowParent:_u(x)};e.current.push(T),setTimeout(function(){e.current=e.current.filter(function(w){return w!==T})},1)},[]),u=S.useCallback(function(f){t.current=or(f),r.current=void 0},[]),d=S.useCallback(function(f){c(f.type,no(f),f.target,s(f,n.lockRef.current))},[]),m=S.useCallback(function(f){c(f.type,or(f),f.target,s(f,n.lockRef.current))},[]);S.useEffect(function(){return tn.push(a),n.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:m}),document.addEventListener("wheel",l,en),document.addEventListener("touchmove",l,en),document.addEventListener("touchstart",u,en),function(){tn=tn.filter(function(f){return f!==a}),document.removeEventListener("wheel",l,en),document.removeEventListener("touchmove",l,en),document.removeEventListener("touchstart",u,en)}},[]);var h=n.removeScrollBar,g=n.inert;return S.createElement(S.Fragment,null,g?S.createElement(a,{styles:yu(i)}):null,h?S.createElement(uu,{noRelative:n.noRelative,gapMode:n.gapMode}):null)}function _u(n){for(var e=null;n!==null;)n instanceof ShadowRoot&&(e=n.host,n=n.host),n=n.parentNode;return e}const Tu=Kc(Xa,wu);var io=S.forwardRef(function(n,e){return S.createElement(ir,it({},n,{ref:e,sideCar:Tu}))});io.classNames=ir.classNames;var Eu=function(n){if(typeof document>"u")return null;var e=Array.isArray(n)?n[0]:n;return e.ownerDocument.body},nn=new WeakMap,sr=new WeakMap,lr={},ti=0,ao=function(n){return n&&(n.host||ao(n.parentNode))},Su=function(n,e){return e.map(function(t){if(n.contains(t))return t;var r=ao(t);return r&&n.contains(r)?r:(console.error("aria-hidden",t,"in not contained inside",n,". Doing nothing"),null)}).filter(function(t){return!!t})},Cu=function(n,e,t,r){var i=Su(e,Array.isArray(n)?n:[n]);lr[t]||(lr[t]=new WeakMap);var a=lr[t],o=[],s=new Set,l=new Set(i),c=function(d){!d||s.has(d)||(s.add(d),c(d.parentNode))};i.forEach(c);var u=function(d){!d||l.has(d)||Array.prototype.forEach.call(d.children,function(m){if(s.has(m))u(m);else try{var h=m.getAttribute(r),g=h!==null&&h!=="false",f=(nn.get(m)||0)+1,v=(a.get(m)||0)+1;nn.set(m,f),a.set(m,v),o.push(m),f===1&&g&&sr.set(m,!0),v===1&&m.setAttribute(t,"true"),g||m.setAttribute(r,"true")}catch(x){console.error("aria-hidden: cannot operate on ",m,x)}})};return u(e),s.clear(),ti++,function(){o.forEach(function(d){var m=nn.get(d)-1,h=a.get(d)-1;nn.set(d,m),a.set(d,h),m||(sr.has(d)||d.removeAttribute(r),sr.delete(d)),h||d.removeAttribute(t)}),ti--,ti||(nn=new WeakMap,nn=new WeakMap,sr=new WeakMap,lr={})}},ju=function(n,e,t){t===void 0&&(t="data-aria-hidden");var r=Array.from(Array.isArray(n)?n:[n]),i=Eu(n);return i?(r.push.apply(r,Array.from(i.querySelectorAll("[aria-live], script"))),Cu(r,i,t,"aria-hidden")):function(){return null}},cr="Dialog",[oo]=sc(cr),[Ou,tt]=oo(cr),so=n=>{const{__scopeDialog:e,children:t,open:r,defaultOpen:i,onOpenChange:a,modal:o=!0}=n,s=S.useRef(null),l=S.useRef(null),[c,u]=pc({prop:r,defaultProp:i??!1,onChange:a,caller:cr});return p.jsx(Ou,{scope:e,triggerRef:s,contentRef:l,contentId:Zr(),titleId:Zr(),descriptionId:Zr(),open:c,onOpenChange:u,onOpenToggle:S.useCallback(()=>u(d=>!d),[u]),modal:o,children:t})};so.displayName=cr;var lo="DialogTrigger",ku=S.forwardRef((n,e)=>{const{__scopeDialog:t,...r}=n,i=tt(lo,t),a=Rt(e,i.triggerRef);return p.jsx(pt.button,{type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.contentId,"data-state":ii(i.open),...r,ref:a,onClick:wt(n.onClick,i.onOpenToggle)})});ku.displayName=lo;var ni="DialogPortal",[Pu,co]=oo(ni,{forceMount:void 0}),uo=n=>{const{__scopeDialog:e,forceMount:t,children:r,container:i}=n,a=tt(ni,e);return p.jsx(Pu,{scope:e,forceMount:t,children:S.Children.map(r,o=>p.jsx(er,{present:t||a.open,children:p.jsx(Wa,{asChild:!0,container:i,children:o})}))})};uo.displayName=ni;var ur="DialogOverlay",po=S.forwardRef((n,e)=>{const t=co(ur,n.__scopeDialog),{forceMount:r=t.forceMount,...i}=n,a=tt(ur,n.__scopeDialog);return a.modal?p.jsx(er,{present:r||a.open,children:p.jsx(Au,{...i,ref:e})}):null});po.displayName=ur;var Du=Aa("DialogOverlay.RemoveScroll"),Au=S.forwardRef((n,e)=>{const{__scopeDialog:t,...r}=n,i=tt(ur,t);return p.jsx(io,{as:Du,allowPinchZoom:!0,shards:[i.contentRef],children:p.jsx(pt.div,{"data-state":ii(i.open),...r,ref:e,style:{pointerEvents:"auto",...r.style}})})}),It="DialogContent",fo=S.forwardRef((n,e)=>{const t=co(It,n.__scopeDialog),{forceMount:r=t.forceMount,...i}=n,a=tt(It,n.__scopeDialog);return p.jsx(er,{present:r||a.open,children:a.modal?p.jsx(Nu,{...i,ref:e}):p.jsx(qu,{...i,ref:e})})});fo.displayName=It;var Nu=S.forwardRef((n,e)=>{const t=tt(It,n.__scopeDialog),r=S.useRef(null),i=Rt(e,t.contentRef,r);return S.useEffect(()=>{const a=r.current;if(a)return ju(a)},[]),p.jsx(mo,{...n,ref:i,trapFocus:t.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:wt(n.onCloseAutoFocus,a=>{a.preventDefault(),t.triggerRef.current?.focus()}),onPointerDownOutside:wt(n.onPointerDownOutside,a=>{const o=a.detail.originalEvent,s=o.button===0&&o.ctrlKey===!0;(o.button===2||s)&&a.preventDefault()}),onFocusOutside:wt(n.onFocusOutside,a=>a.preventDefault())})}),qu=S.forwardRef((n,e)=>{const t=tt(It,n.__scopeDialog),r=S.useRef(!1),i=S.useRef(!1);return p.jsx(mo,{...n,ref:e,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:a=>{n.onCloseAutoFocus?.(a),a.defaultPrevented||(r.current||t.triggerRef.current?.focus(),a.preventDefault()),r.current=!1,i.current=!1},onInteractOutside:a=>{n.onInteractOutside?.(a),a.defaultPrevented||(r.current=!0,a.detail.originalEvent.type==="pointerdown"&&(i.current=!0));const o=a.target;t.triggerRef.current?.contains(o)&&a.preventDefault(),a.detail.originalEvent.type==="focusin"&&i.current&&a.preventDefault()}})}),mo=S.forwardRef((n,e)=>{const{__scopeDialog:t,trapFocus:r,onOpenAutoFocus:i,onCloseAutoFocus:a,...o}=n,s=tt(It,t),l=S.useRef(null),c=Rt(e,l);return $c(),p.jsxs(p.Fragment,{children:[p.jsx(La,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:i,onUnmountAutoFocus:a,children:p.jsx(Ra,{role:"dialog",id:s.contentId,"aria-describedby":s.descriptionId,"aria-labelledby":s.titleId,"data-state":ii(s.open),...o,ref:c,onDismiss:()=>s.onOpenChange(!1)})}),p.jsxs(p.Fragment,{children:[p.jsx(Iu,{titleId:s.titleId}),p.jsx(Lu,{contentRef:l,descriptionId:s.descriptionId})]})]})}),ri="DialogTitle",Ru=S.forwardRef((n,e)=>{const{__scopeDialog:t,...r}=n,i=tt(ri,t);return p.jsx(pt.h2,{id:i.titleId,...r,ref:e})});Ru.displayName=ri;var ho="DialogDescription",Mu=S.forwardRef((n,e)=>{const{__scopeDialog:t,...r}=n,i=tt(ho,t);return p.jsx(pt.p,{id:i.descriptionId,...r,ref:e})});Mu.displayName=ho;var vo="DialogClose",go=S.forwardRef((n,e)=>{const{__scopeDialog:t,...r}=n,i=tt(vo,t);return p.jsx(pt.button,{type:"button",...r,ref:e,onClick:wt(n.onClick,()=>i.onOpenChange(!1))})});go.displayName=vo;function ii(n){return n?"open":"closed"}var xo="DialogTitleWarning",[F0,yo]=oc(xo,{contentName:It,titleName:ri,docsSlug:"dialog"}),Iu=({titleId:n})=>{const e=yo(xo),t=`\`${e.contentName}\` requires a \`${e.titleName}\` for the component to be accessible for screen reader users.
63
+
64
+ If you want to hide the \`${e.titleName}\`, you can wrap it with our VisuallyHidden component.
65
+
66
+ For more information, see https://radix-ui.com/primitives/docs/components/${e.docsSlug}`;return S.useEffect(()=>{n&&(document.getElementById(n)||console.error(t))},[t,n]),null},Fu="DialogDescriptionWarning",Lu=({contentRef:n,descriptionId:e})=>{const r=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${yo(Fu).contentName}}.`;return S.useEffect(()=>{const i=n.current?.getAttribute("aria-describedby");e&&i&&(document.getElementById(e)||console.warn(r))},[r,n,e]),null},zu=so,$u=uo,Bu=po,Hu=fo,Wu=go;function Uu(n){if(typeof document>"u")return;let e=document.head||document.getElementsByTagName("head")[0],t=document.createElement("style");t.type="text/css",e.appendChild(t),t.styleSheet?t.styleSheet.cssText=n:t.appendChild(document.createTextNode(n))}const bo=E.createContext({drawerRef:{current:null},overlayRef:{current:null},onPress:()=>{},onRelease:()=>{},onDrag:()=>{},onNestedDrag:()=>{},onNestedOpenChange:()=>{},onNestedRelease:()=>{},openProp:void 0,dismissible:!1,isOpen:!1,isDragging:!1,keyboardIsOpen:{current:!1},snapPointsOffset:null,snapPoints:null,handleOnly:!1,modal:!1,shouldFade:!1,activeSnapPoint:null,onOpenChange:()=>{},setActiveSnapPoint:()=>{},closeDrawer:()=>{},direction:"bottom",shouldAnimate:{current:!0},shouldScaleBackground:!1,setBackgroundColorOnScale:!0,noBodyStyles:!1,container:null,autoFocus:!1}),En=()=>{const n=E.useContext(bo);if(!n)throw new Error("useDrawerContext must be used within a Drawer.Root");return n};Uu(`[data-vaul-drawer]{touch-action:none;will-change:transform;transition:transform .5s cubic-bezier(.32, .72, 0, 1);animation-duration:.5s;animation-timing-function:cubic-bezier(0.32,0.72,0,1)}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=bottom][data-state=open]{animation-name:slideFromBottom}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=bottom][data-state=closed]{animation-name:slideToBottom}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=top][data-state=open]{animation-name:slideFromTop}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=top][data-state=closed]{animation-name:slideToTop}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=left][data-state=open]{animation-name:slideFromLeft}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=left][data-state=closed]{animation-name:slideToLeft}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=right][data-state=open]{animation-name:slideFromRight}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=right][data-state=closed]{animation-name:slideToRight}[data-vaul-drawer][data-vaul-snap-points=true][data-vaul-drawer-direction=bottom]{transform:translate3d(0,var(--initial-transform,100%),0)}[data-vaul-drawer][data-vaul-snap-points=true][data-vaul-drawer-direction=top]{transform:translate3d(0,calc(var(--initial-transform,100%) * -1),0)}[data-vaul-drawer][data-vaul-snap-points=true][data-vaul-drawer-direction=left]{transform:translate3d(calc(var(--initial-transform,100%) * -1),0,0)}[data-vaul-drawer][data-vaul-snap-points=true][data-vaul-drawer-direction=right]{transform:translate3d(var(--initial-transform,100%),0,0)}[data-vaul-drawer][data-vaul-delayed-snap-points=true][data-vaul-drawer-direction=top]{transform:translate3d(0,var(--snap-point-height,0),0)}[data-vaul-drawer][data-vaul-delayed-snap-points=true][data-vaul-drawer-direction=bottom]{transform:translate3d(0,var(--snap-point-height,0),0)}[data-vaul-drawer][data-vaul-delayed-snap-points=true][data-vaul-drawer-direction=left]{transform:translate3d(var(--snap-point-height,0),0,0)}[data-vaul-drawer][data-vaul-delayed-snap-points=true][data-vaul-drawer-direction=right]{transform:translate3d(var(--snap-point-height,0),0,0)}[data-vaul-overlay][data-vaul-snap-points=false]{animation-duration:.5s;animation-timing-function:cubic-bezier(0.32,0.72,0,1)}[data-vaul-overlay][data-vaul-snap-points=false][data-state=open]{animation-name:fadeIn}[data-vaul-overlay][data-state=closed]{animation-name:fadeOut}[data-vaul-animate=false]{animation:none!important}[data-vaul-overlay][data-vaul-snap-points=true]{opacity:0;transition:opacity .5s cubic-bezier(.32, .72, 0, 1)}[data-vaul-overlay][data-vaul-snap-points=true]{opacity:1}[data-vaul-drawer]:not([data-vaul-custom-container=true])::after{content:'';position:absolute;background:inherit;background-color:inherit}[data-vaul-drawer][data-vaul-drawer-direction=top]::after{top:initial;bottom:100%;left:0;right:0;height:200%}[data-vaul-drawer][data-vaul-drawer-direction=bottom]::after{top:100%;bottom:initial;left:0;right:0;height:200%}[data-vaul-drawer][data-vaul-drawer-direction=left]::after{left:initial;right:100%;top:0;bottom:0;width:200%}[data-vaul-drawer][data-vaul-drawer-direction=right]::after{left:100%;right:initial;top:0;bottom:0;width:200%}[data-vaul-overlay][data-vaul-snap-points=true]:not([data-vaul-snap-points-overlay=true]):not(
67
+ [data-state=closed]
68
+ ){opacity:0}[data-vaul-overlay][data-vaul-snap-points-overlay=true]{opacity:1}[data-vaul-handle]{display:block;position:relative;opacity:.7;background:#e2e2e4;margin-left:auto;margin-right:auto;height:5px;width:32px;border-radius:1rem;touch-action:pan-y}[data-vaul-handle]:active,[data-vaul-handle]:hover{opacity:1}[data-vaul-handle-hitarea]{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:max(100%,2.75rem);height:max(100%,2.75rem);touch-action:inherit}@media (hover:hover) and (pointer:fine){[data-vaul-drawer]{user-select:none}}@media (pointer:fine){[data-vaul-handle-hitarea]:{width:100%;height:100%}}@keyframes fadeIn{from{opacity:0}to{opacity:1}}@keyframes fadeOut{to{opacity:0}}@keyframes slideFromBottom{from{transform:translate3d(0,var(--initial-transform,100%),0)}to{transform:translate3d(0,0,0)}}@keyframes slideToBottom{to{transform:translate3d(0,var(--initial-transform,100%),0)}}@keyframes slideFromTop{from{transform:translate3d(0,calc(var(--initial-transform,100%) * -1),0)}to{transform:translate3d(0,0,0)}}@keyframes slideToTop{to{transform:translate3d(0,calc(var(--initial-transform,100%) * -1),0)}}@keyframes slideFromLeft{from{transform:translate3d(calc(var(--initial-transform,100%) * -1),0,0)}to{transform:translate3d(0,0,0)}}@keyframes slideToLeft{to{transform:translate3d(calc(var(--initial-transform,100%) * -1),0,0)}}@keyframes slideFromRight{from{transform:translate3d(var(--initial-transform,100%),0,0)}to{transform:translate3d(0,0,0)}}@keyframes slideToRight{to{transform:translate3d(var(--initial-transform,100%),0,0)}}`);function Zu(){const n=navigator.userAgent;return typeof window<"u"&&(/Firefox/.test(n)&&/Mobile/.test(n)||/FxiOS/.test(n))}function Vu(){return ai(/^Mac/)}function Yu(){return ai(/^iPhone/)}function wo(){return/^((?!chrome|android).)*safari/i.test(navigator.userAgent)}function Xu(){return ai(/^iPad/)||Vu()&&navigator.maxTouchPoints>1}function _o(){return Yu()||Xu()}function ai(n){return typeof window<"u"&&window.navigator!=null?n.test(window.navigator.platform):void 0}const Gu=24,Ku=typeof window<"u"?E.useLayoutEffect:E.useEffect;function To(...n){return(...e)=>{for(let t of n)typeof t=="function"&&t(...e)}}const oi=typeof document<"u"&&window.visualViewport;function Eo(n){let e=window.getComputedStyle(n);return/(auto|scroll)/.test(e.overflow+e.overflowX+e.overflowY)}function So(n){for(Eo(n)&&(n=n.parentElement);n&&!Eo(n);)n=n.parentElement;return n||document.scrollingElement||document.documentElement}const Ju=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);let dr=0,si;function Qu(n={}){let{isDisabled:e}=n;Ku(()=>{if(!e)return dr++,dr===1&&_o()&&(si=ed()),()=>{dr--,dr===0&&si?.()}},[e])}function ed(){let n,e=0,t=d=>{n=So(d.target),!(n===document.documentElement&&n===document.body)&&(e=d.changedTouches[0].pageY)},r=d=>{if(!n||n===document.documentElement||n===document.body){d.preventDefault();return}let m=d.changedTouches[0].pageY,h=n.scrollTop,g=n.scrollHeight-n.clientHeight;g!==0&&((h<=0&&m>e||h>=g&&m<e)&&d.preventDefault(),e=m)},i=d=>{let m=d.target;li(m)&&m!==document.activeElement&&(d.preventDefault(),m.style.transform="translateY(-2000px)",m.focus(),requestAnimationFrame(()=>{m.style.transform=""}))},a=d=>{let m=d.target;li(m)&&(m.style.transform="translateY(-2000px)",requestAnimationFrame(()=>{m.style.transform="",oi&&(oi.height<window.innerHeight?requestAnimationFrame(()=>{Co(m)}):oi.addEventListener("resize",()=>Co(m),{once:!0}))}))},o=()=>{window.scrollTo(0,0)},s=window.pageXOffset,l=window.pageYOffset,c=To(td(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`));window.scrollTo(0,0);let u=To(Sn(document,"touchstart",t,{passive:!1,capture:!0}),Sn(document,"touchmove",r,{passive:!1,capture:!0}),Sn(document,"touchend",i,{passive:!1,capture:!0}),Sn(document,"focus",a,!0),Sn(window,"scroll",o));return()=>{c(),u(),window.scrollTo(s,l)}}function td(n,e,t){let r=n.style[e];return n.style[e]=t,()=>{n.style[e]=r}}function Sn(n,e,t,r){return n.addEventListener(e,t,r),()=>{n.removeEventListener(e,t,r)}}function Co(n){let e=document.scrollingElement||document.documentElement;for(;n&&n!==e;){let t=So(n);if(t!==document.documentElement&&t!==document.body&&t!==n){let r=t.getBoundingClientRect().top,i=n.getBoundingClientRect().top,a=n.getBoundingClientRect().bottom;const o=t.getBoundingClientRect().bottom+Gu;a>o&&(t.scrollTop+=i-r)}n=t.parentElement}}function li(n){return n instanceof HTMLInputElement&&!Ju.has(n.type)||n instanceof HTMLTextAreaElement||n instanceof HTMLElement&&n.isContentEditable}function nd(n,e){typeof n=="function"?n(e):n!=null&&(n.current=e)}function rd(...n){return e=>n.forEach(t=>nd(t,e))}function jo(...n){return S.useCallback(rd(...n),n)}const Oo=new WeakMap;function Oe(n,e,t=!1){if(!n||!(n instanceof HTMLElement))return;let r={};Object.entries(e).forEach(([i,a])=>{if(i.startsWith("--")){n.style.setProperty(i,a);return}r[i]=n.style[i],n.style[i]=a}),!t&&Oo.set(n,r)}function id(n,e){if(!n||!(n instanceof HTMLElement))return;let t=Oo.get(n);t&&(n.style[e]=t[e])}const Te=n=>{switch(n){case"top":case"bottom":return!0;case"left":case"right":return!1;default:return n}};function pr(n,e){if(!n)return null;const t=window.getComputedStyle(n),r=t.transform||t.webkitTransform||t.mozTransform;let i=r.match(/^matrix3d\((.+)\)$/);return i?parseFloat(i[1].split(", ")[Te(e)?13:12]):(i=r.match(/^matrix\((.+)\)$/),i?parseFloat(i[1].split(", ")[Te(e)?5:4]):null)}function ad(n){return 8*(Math.log(n+1)-2)}function ci(n,e){if(!n)return()=>{};const t=n.style.cssText;return Object.assign(n.style,e),()=>{n.style.cssText=t}}function od(...n){return(...e)=>{for(const t of n)typeof t=="function"&&t(...e)}}const he={DURATION:.5,EASE:[.32,.72,0,1]},ko=.4,sd=.25,ld=100,Po=8,Ft=16,ui=26,di="vaul-dragging";function Do(n){const e=E.useRef(n);return E.useEffect(()=>{e.current=n}),E.useMemo(()=>(...t)=>e.current==null?void 0:e.current.call(e,...t),[])}function cd({defaultProp:n,onChange:e}){const t=E.useState(n),[r]=t,i=E.useRef(r),a=Do(e);return E.useEffect(()=>{i.current!==r&&(a(r),i.current=r)},[r,i,a]),t}function Ao({prop:n,defaultProp:e,onChange:t=()=>{}}){const[r,i]=cd({defaultProp:e,onChange:t}),a=n!==void 0,o=a?n:r,s=Do(t),l=E.useCallback(c=>{if(a){const d=typeof c=="function"?c(n):c;d!==n&&s(d)}else i(c)},[a,n,i,s]);return[o,l]}function ud({activeSnapPointProp:n,setActiveSnapPointProp:e,snapPoints:t,drawerRef:r,overlayRef:i,fadeFromIndex:a,onSnapPointChange:o,direction:s="bottom",container:l,snapToSequentialPoint:c}){const[u,d]=Ao({prop:n,defaultProp:t?.[0],onChange:e}),[m,h]=E.useState(typeof window<"u"?{innerWidth:window.innerWidth,innerHeight:window.innerHeight}:void 0);E.useEffect(()=>{function C(){h({innerWidth:window.innerWidth,innerHeight:window.innerHeight})}return window.addEventListener("resize",C),()=>window.removeEventListener("resize",C)},[]);const g=E.useMemo(()=>u===t?.[t.length-1]||null,[t,u]),f=E.useMemo(()=>{var C;return(C=t?.findIndex(O=>O===u))!=null?C:null},[t,u]),v=t&&t.length>0&&(a||a===0)&&!Number.isNaN(a)&&t[a]===u||!t,x=E.useMemo(()=>{const C=l?{width:l.getBoundingClientRect().width,height:l.getBoundingClientRect().height}:typeof window<"u"?{width:window.innerWidth,height:window.innerHeight}:{width:0,height:0};var O;return(O=t?.map(j=>{const L=typeof j=="string";let H=0;if(L&&(H=parseInt(j,10)),Te(s)){const D=L?H:m?j*C.height:0;return m?s==="bottom"?C.height-D:-C.height+D:D}const V=L?H:m?j*C.width:0;return m?s==="right"?C.width-V:-C.width+V:V}))!=null?O:[]},[t,m,l]),_=E.useMemo(()=>f!==null?x?.[f]:null,[x,f]),T=E.useCallback(C=>{var O;const j=(O=x?.findIndex(L=>L===C))!=null?O:null;o(j),Oe(r.current,{transition:`transform ${he.DURATION}s cubic-bezier(${he.EASE.join(",")})`,transform:Te(s)?`translate3d(0, ${C}px, 0)`:`translate3d(${C}px, 0, 0)`}),x&&j!==x.length-1&&a!==void 0&&j!==a&&j<a?Oe(i.current,{transition:`opacity ${he.DURATION}s cubic-bezier(${he.EASE.join(",")})`,opacity:"0"}):Oe(i.current,{transition:`opacity ${he.DURATION}s cubic-bezier(${he.EASE.join(",")})`,opacity:"1"}),d(t?.[Math.max(j,0)])},[r.current,t,x,a,i,d]);E.useEffect(()=>{if(u||n){var C;const O=(C=t?.findIndex(j=>j===n||j===u))!=null?C:-1;x&&O!==-1&&typeof x[O]=="number"&&T(x[O])}},[u,n,t,x,T]);function w({draggedDistance:C,closeDrawer:O,velocity:j,dismissible:L}){if(a===void 0)return;const H=s==="bottom"||s==="right"?(_??0)-C:(_??0)+C,V=f===a-1,D=f===0,$=C>0;if(V&&Oe(i.current,{transition:`opacity ${he.DURATION}s cubic-bezier(${he.EASE.join(",")})`}),!c&&j>2&&!$){L?O():T(x[0]);return}if(!c&&j>2&&$&&x&&t){T(x[t.length-1]);return}const U=x?.reduce((X,ne)=>typeof X!="number"||typeof ne!="number"?X:Math.abs(ne-H)<Math.abs(X-H)?ne:X),Y=Te(s)?window.innerHeight:window.innerWidth;if(j>ko&&Math.abs(C)<Y*.4){const X=$?1:-1;if(X>0&&g&&t){T(x[t.length-1]);return}if(D&&X<0&&L&&O(),f===null)return;T(x[f+X]);return}T(U)}function y({draggedDistance:C}){if(_===null)return;const O=s==="bottom"||s==="right"?_-C:_+C;(s==="bottom"||s==="right")&&O<x[x.length-1]||(s==="top"||s==="left")&&O>x[x.length-1]||Oe(r.current,{transform:Te(s)?`translate3d(0, ${O}px, 0)`:`translate3d(${O}px, 0, 0)`})}function k(C,O){if(!t||typeof f!="number"||!x||a===void 0)return null;const j=f===a-1;if(f>=a&&O)return 0;if(j&&!O)return 1;if(!v&&!j)return null;const H=j?f+1:f-1,V=j?x[H]-x[H-1]:x[H+1]-x[H],D=C/Math.abs(V);return j?1-D:D}return{isLastSnapPoint:g,activeSnapPoint:u,shouldFade:v,getPercentageDragged:k,setActiveSnapPoint:d,activeSnapPointIndex:f,onRelease:w,onDrag:y,snapPointsOffset:x}}const dd=()=>()=>{};function pd(){const{direction:n,isOpen:e,shouldScaleBackground:t,setBackgroundColorOnScale:r,noBodyStyles:i}=En(),a=E.useRef(null),o=E.useMemo(()=>document.body.style.backgroundColor,[]);function s(){return(window.innerWidth-ui)/window.innerWidth}E.useEffect(()=>{if(e&&t){a.current&&clearTimeout(a.current);const l=document.querySelector("[data-vaul-drawer-wrapper]")||document.querySelector("[vaul-drawer-wrapper]");if(!l)return;od(r&&!i?ci(document.body,{background:"black"}):dd,ci(l,{transformOrigin:Te(n)?"top":"left",transitionProperty:"transform, border-radius",transitionDuration:`${he.DURATION}s`,transitionTimingFunction:`cubic-bezier(${he.EASE.join(",")})`}));const c=ci(l,{borderRadius:`${Po}px`,overflow:"hidden",...Te(n)?{transform:`scale(${s()}) translate3d(0, calc(env(safe-area-inset-top) + 14px), 0)`}:{transform:`scale(${s()}) translate3d(calc(env(safe-area-inset-top) + 14px), 0, 0)`}});return()=>{c(),a.current=window.setTimeout(()=>{o?document.body.style.background=o:document.body.style.removeProperty("background")},he.DURATION*1e3)}}},[e,t,o])}let Cn=null;function fd({isOpen:n,modal:e,nested:t,hasBeenOpened:r,preventScrollRestoration:i,noBodyStyles:a}){const[o,s]=E.useState(()=>typeof window<"u"?window.location.href:""),l=E.useRef(0),c=E.useCallback(()=>{if(wo()&&Cn===null&&n&&!a){Cn={position:document.body.style.position,top:document.body.style.top,left:document.body.style.left,height:document.body.style.height,right:"unset"};const{scrollX:d,innerHeight:m}=window;document.body.style.setProperty("position","fixed","important"),Object.assign(document.body.style,{top:`${-l.current}px`,left:`${-d}px`,right:"0px",height:"auto"}),window.setTimeout(()=>window.requestAnimationFrame(()=>{const h=m-window.innerHeight;h&&l.current>=m&&(document.body.style.top=`${-(l.current+h)}px`)}),300)}},[n]),u=E.useCallback(()=>{if(wo()&&Cn!==null&&!a){const d=-parseInt(document.body.style.top,10),m=-parseInt(document.body.style.left,10);Object.assign(document.body.style,Cn),window.requestAnimationFrame(()=>{if(i&&o!==window.location.href){s(window.location.href);return}window.scrollTo(m,d)}),Cn=null}},[o]);return E.useEffect(()=>{function d(){l.current=window.scrollY}return d(),window.addEventListener("scroll",d),()=>{window.removeEventListener("scroll",d)}},[]),E.useEffect(()=>{if(e)return()=>{typeof document>"u"||document.querySelector("[data-vaul-drawer]")||u()}},[e,u]),E.useEffect(()=>{t||!r||(n?(!window.matchMedia("(display-mode: standalone)").matches&&c(),e||window.setTimeout(()=>{u()},500)):u())},[n,r,o,e,t,c,u]),{restorePositionSetting:u}}function md({open:n,onOpenChange:e,children:t,onDrag:r,onRelease:i,snapPoints:a,shouldScaleBackground:o=!1,setBackgroundColorOnScale:s=!0,closeThreshold:l=sd,scrollLockTimeout:c=ld,dismissible:u=!0,handleOnly:d=!1,fadeFromIndex:m=a&&a.length-1,activeSnapPoint:h,setActiveSnapPoint:g,fixed:f,modal:v=!0,onClose:x,nested:_,noBodyStyles:T=!1,direction:w="bottom",defaultOpen:y=!1,disablePreventScroll:k=!0,snapToSequentialPoint:C=!1,preventScrollRestoration:O=!1,repositionInputs:j=!0,onAnimationEnd:L,container:H,autoFocus:V=!1}){var D,$;const[U=!1,Y]=Ao({defaultProp:y,prop:n,onChange:K=>{e?.(K),!K&&!_&&Ce(),setTimeout(()=>{L?.(K)},he.DURATION*1e3),K&&!v&&typeof window<"u"&&window.requestAnimationFrame(()=>{document.body.style.pointerEvents="auto"}),K||(document.body.style.pointerEvents="auto")}}),[X,ne]=E.useState(!1),[te,b]=E.useState(!1),[P,R]=E.useState(!1),z=E.useRef(null),M=E.useRef(null),A=E.useRef(null),F=E.useRef(null),Z=E.useRef(null),W=E.useRef(!1),ee=E.useRef(null),Q=E.useRef(0),ce=E.useRef(!1),q=E.useRef(!y),Re=E.useRef(0),J=E.useRef(null),At=E.useRef(((D=J.current)==null?void 0:D.getBoundingClientRect().height)||0),Wn=E.useRef((($=J.current)==null?void 0:$.getBoundingClientRect().width)||0),ut=E.useRef(0),Un=E.useCallback(K=>{a&&K===Gt.length-1&&(M.current=new Date)},[]),{activeSnapPoint:gn,activeSnapPointIndex:nt,setActiveSnapPoint:Hr,onRelease:ga,snapPointsOffset:Gt,onDrag:I,shouldFade:G,getPercentageDragged:be}=ud({snapPoints:a,activeSnapPointProp:h,setActiveSnapPointProp:g,drawerRef:J,fadeFromIndex:m,overlayRef:z,onSnapPointChange:Un,direction:w,container:H,snapToSequentialPoint:C});Qu({isDisabled:!U||te||!v||P||!X||!j||!k});const{restorePositionSetting:Ce}=fd({isOpen:U,modal:v,nested:_??!1,hasBeenOpened:X,preventScrollRestoration:O,noBodyStyles:T});function De(){return(window.innerWidth-ui)/window.innerWidth}function Kt(K){var le,fe;!u&&!a||J.current&&!J.current.contains(K.target)||(At.current=((le=J.current)==null?void 0:le.getBoundingClientRect().height)||0,Wn.current=((fe=J.current)==null?void 0:fe.getBoundingClientRect().width)||0,b(!0),A.current=new Date,_o()&&window.addEventListener("touchend",()=>W.current=!1,{once:!0}),K.target.setPointerCapture(K.pointerId),Q.current=Te(w)?K.pageY:K.pageX)}function yt(K,le){var fe;let ae=K;const _e=(fe=window.getSelection())==null?void 0:fe.toString(),We=J.current?pr(J.current,w):null,Ie=new Date;if(ae.tagName==="SELECT"||ae.hasAttribute("data-vaul-no-drag")||ae.closest("[data-vaul-no-drag]"))return!1;if(w==="right"||w==="left")return!0;if(M.current&&Ie.getTime()-M.current.getTime()<500)return!1;if(We!==null&&(w==="bottom"?We>0:We<0))return!0;if(_e&&_e.length>0)return!1;if(Z.current&&Ie.getTime()-Z.current.getTime()<c&&We===0||le)return Z.current=Ie,!1;for(;ae;){if(ae.scrollHeight>ae.clientHeight){if(ae.scrollTop!==0)return Z.current=new Date,!1;if(ae.getAttribute("role")==="dialog")return!0}ae=ae.parentNode}return!0}function Zn(K){if(J.current&&te){const le=w==="bottom"||w==="right"?1:-1,fe=(Q.current-(Te(w)?K.pageY:K.pageX))*le,ae=fe>0,_e=a&&!u&&!ae;if(_e&&nt===0)return;const We=Math.abs(fe),Ie=document.querySelector("[data-vaul-drawer-wrapper]"),Nt=w==="bottom"||w==="top"?At.current:Wn.current;let rt=We/Nt;const Jt=be(We,ae);if(Jt!==null&&(rt=Jt),_e&&rt>=1||!W.current&&!yt(K.target,ae))return;if(J.current.classList.add(di),W.current=!0,Oe(J.current,{transition:"none"}),Oe(z.current,{transition:"none"}),a&&I({draggedDistance:fe}),ae&&!a){const dt=ad(fe),Wr=Math.min(dt*-1,0)*le;Oe(J.current,{transform:Te(w)?`translate3d(0, ${Wr}px, 0)`:`translate3d(${Wr}px, 0, 0)`});return}const qt=1-rt;if((G||m&&nt===m-1)&&(r?.(K,rt),Oe(z.current,{opacity:`${qt}`,transition:"none"},!0)),Ie&&z.current&&o){const dt=Math.min(De()+rt*(1-De()),1),Wr=8-rt*8,Vl=Math.max(0,14-rt*14);Oe(Ie,{borderRadius:`${Wr}px`,transform:Te(w)?`scale(${dt}) translate3d(0, ${Vl}px, 0)`:`scale(${dt}) translate3d(${Vl}px, 0, 0)`,transition:"none"},!0)}if(!a){const dt=We*le;Oe(J.current,{transform:Te(w)?`translate3d(0, ${dt}px, 0)`:`translate3d(${dt}px, 0, 0)`})}}}E.useEffect(()=>{window.requestAnimationFrame(()=>{q.current=!0})},[]),E.useEffect(()=>{var K;function le(){if(!J.current||!j)return;const fe=document.activeElement;if(li(fe)||ce.current){var ae;const _e=((ae=window.visualViewport)==null?void 0:ae.height)||0,We=window.innerHeight;let Ie=We-_e;const Nt=J.current.getBoundingClientRect().height||0,rt=Nt>We*.8;ut.current||(ut.current=Nt);const Jt=J.current.getBoundingClientRect().top;if(Math.abs(Re.current-Ie)>60&&(ce.current=!ce.current),a&&a.length>0&&Gt&&nt){const qt=Gt[nt]||0;Ie+=qt}if(Re.current=Ie,Nt>_e||ce.current){const qt=J.current.getBoundingClientRect().height;let dt=qt;qt>_e&&(dt=_e-(rt?Jt:ui)),f?J.current.style.height=`${qt-Math.max(Ie,0)}px`:J.current.style.height=`${Math.max(dt,_e-Jt)}px`}else Zu()||(J.current.style.height=`${ut.current}px`);a&&a.length>0&&!ce.current?J.current.style.bottom="0px":J.current.style.bottom=`${Math.max(Ie,0)}px`}}return(K=window.visualViewport)==null||K.addEventListener("resize",le),()=>{var fe;return(fe=window.visualViewport)==null?void 0:fe.removeEventListener("resize",le)}},[nt,a,Gt]);function bt(K){yn(),x?.(),K||Y(!1),setTimeout(()=>{a&&Hr(a[0])},he.DURATION*1e3)}function xn(){if(!J.current)return;const K=document.querySelector("[data-vaul-drawer-wrapper]"),le=pr(J.current,w);Oe(J.current,{transform:"translate3d(0, 0, 0)",transition:`transform ${he.DURATION}s cubic-bezier(${he.EASE.join(",")})`}),Oe(z.current,{transition:`opacity ${he.DURATION}s cubic-bezier(${he.EASE.join(",")})`,opacity:"1"}),o&&le&&le>0&&U&&Oe(K,{borderRadius:`${Po}px`,overflow:"hidden",...Te(w)?{transform:`scale(${De()}) translate3d(0, calc(env(safe-area-inset-top) + 14px), 0)`,transformOrigin:"top"}:{transform:`scale(${De()}) translate3d(calc(env(safe-area-inset-top) + 14px), 0, 0)`,transformOrigin:"left"},transitionProperty:"transform, border-radius",transitionDuration:`${he.DURATION}s`,transitionTimingFunction:`cubic-bezier(${he.EASE.join(",")})`},!0)}function yn(){!te||!J.current||(J.current.classList.remove(di),W.current=!1,b(!1),F.current=new Date)}function Vn(K){if(!te||!J.current)return;J.current.classList.remove(di),W.current=!1,b(!1),F.current=new Date;const le=pr(J.current,w);if(!K||!yt(K.target,!1)||!le||Number.isNaN(le)||A.current===null)return;const fe=F.current.getTime()-A.current.getTime(),ae=Q.current-(Te(w)?K.pageY:K.pageX),_e=Math.abs(ae)/fe;if(_e>.05&&(R(!0),setTimeout(()=>{R(!1)},200)),a){ga({draggedDistance:ae*(w==="bottom"||w==="right"?1:-1),closeDrawer:bt,velocity:_e,dismissible:u}),i?.(K,!0);return}if(w==="bottom"||w==="right"?ae>0:ae<0){xn(),i?.(K,!0);return}if(_e>ko){bt(),i?.(K,!1);return}var We;const Ie=Math.min((We=J.current.getBoundingClientRect().height)!=null?We:0,window.innerHeight);var Nt;const rt=Math.min((Nt=J.current.getBoundingClientRect().width)!=null?Nt:0,window.innerWidth),Jt=w==="left"||w==="right";if(Math.abs(le)>=(Jt?rt:Ie)*l){bt(),i?.(K,!1);return}i?.(K,!0),xn()}E.useEffect(()=>(U&&(Oe(document.documentElement,{scrollBehavior:"auto"}),M.current=new Date),()=>{id(document.documentElement,"scrollBehavior")}),[U]);function Yn(K){const le=K?(window.innerWidth-Ft)/window.innerWidth:1,fe=K?-Ft:0;ee.current&&window.clearTimeout(ee.current),Oe(J.current,{transition:`transform ${he.DURATION}s cubic-bezier(${he.EASE.join(",")})`,transform:Te(w)?`scale(${le}) translate3d(0, ${fe}px, 0)`:`scale(${le}) translate3d(${fe}px, 0, 0)`}),!K&&J.current&&(ee.current=setTimeout(()=>{const ae=pr(J.current,w);Oe(J.current,{transition:"none",transform:Te(w)?`translate3d(0, ${ae}px, 0)`:`translate3d(${ae}px, 0, 0)`})},500))}function Xn(K,le){if(le<0)return;const fe=(window.innerWidth-Ft)/window.innerWidth,ae=fe+le*(1-fe),_e=-Ft+le*Ft;Oe(J.current,{transform:Te(w)?`scale(${ae}) translate3d(0, ${_e}px, 0)`:`scale(${ae}) translate3d(${_e}px, 0, 0)`,transition:"none"})}function Gn(K,le){const fe=Te(w)?window.innerHeight:window.innerWidth,ae=le?(fe-Ft)/fe:1,_e=le?-Ft:0;le&&Oe(J.current,{transition:`transform ${he.DURATION}s cubic-bezier(${he.EASE.join(",")})`,transform:Te(w)?`scale(${ae}) translate3d(0, ${_e}px, 0)`:`scale(${ae}) translate3d(${_e}px, 0, 0)`})}return E.useEffect(()=>{v||window.requestAnimationFrame(()=>{document.body.style.pointerEvents="auto"})},[v]),E.createElement(zu,{defaultOpen:y,onOpenChange:K=>{!u&&!K||(K?ne(!0):bt(!0),Y(K))},open:U},E.createElement(bo.Provider,{value:{activeSnapPoint:gn,snapPoints:a,setActiveSnapPoint:Hr,drawerRef:J,overlayRef:z,onOpenChange:e,onPress:Kt,onRelease:Vn,onDrag:Zn,dismissible:u,shouldAnimate:q,handleOnly:d,isOpen:U,isDragging:te,shouldFade:G,closeDrawer:bt,onNestedDrag:Xn,onNestedOpenChange:Yn,onNestedRelease:Gn,keyboardIsOpen:ce,modal:v,snapPointsOffset:Gt,activeSnapPointIndex:nt,direction:w,shouldScaleBackground:o,setBackgroundColorOnScale:s,noBodyStyles:T,container:H,autoFocus:V}},t))}const No=E.forwardRef(function({...n},e){const{overlayRef:t,snapPoints:r,onRelease:i,shouldFade:a,isOpen:o,modal:s,shouldAnimate:l}=En(),c=jo(e,t),u=r&&r.length>0;if(!s)return null;const d=E.useCallback(m=>i(m),[i]);return E.createElement(Bu,{onMouseUp:d,ref:c,"data-vaul-overlay":"","data-vaul-snap-points":o&&u?"true":"false","data-vaul-snap-points-overlay":o&&a?"true":"false","data-vaul-animate":l?.current?"true":"false",...n})});No.displayName="Drawer.Overlay";const qo=E.forwardRef(function({onPointerDownOutside:n,style:e,onOpenAutoFocus:t,...r},i){const{drawerRef:a,onPress:o,onRelease:s,onDrag:l,keyboardIsOpen:c,snapPointsOffset:u,activeSnapPointIndex:d,modal:m,isOpen:h,direction:g,snapPoints:f,container:v,handleOnly:x,shouldAnimate:_,autoFocus:T}=En(),[w,y]=E.useState(!1),k=jo(i,a),C=E.useRef(null),O=E.useRef(null),j=E.useRef(!1),L=f&&f.length>0;pd();const H=(D,$,U=0)=>{if(j.current)return!0;const Y=Math.abs(D.y),X=Math.abs(D.x),ne=X>Y,te=["bottom","right"].includes($)?1:-1;if($==="left"||$==="right"){if(!(D.x*te<0)&&X>=0&&X<=U)return ne}else if(!(D.y*te<0)&&Y>=0&&Y<=U)return!ne;return j.current=!0,!0};E.useEffect(()=>{L&&window.requestAnimationFrame(()=>{y(!0)})},[]);function V(D){C.current=null,j.current=!1,s(D)}return E.createElement(Hu,{"data-vaul-drawer-direction":g,"data-vaul-drawer":"","data-vaul-delayed-snap-points":w?"true":"false","data-vaul-snap-points":h&&L?"true":"false","data-vaul-custom-container":v?"true":"false","data-vaul-animate":_?.current?"true":"false",...r,ref:k,style:u&&u.length>0?{"--snap-point-height":`${u[d??0]}px`,...e}:e,onPointerDown:D=>{x||(r.onPointerDown==null||r.onPointerDown.call(r,D),C.current={x:D.pageX,y:D.pageY},o(D))},onOpenAutoFocus:D=>{t?.(D),T||D.preventDefault()},onPointerDownOutside:D=>{if(n?.(D),!m||D.defaultPrevented){D.preventDefault();return}c.current&&(c.current=!1)},onFocusOutside:D=>{if(!m){D.preventDefault();return}},onPointerMove:D=>{if(O.current=D,x||(r.onPointerMove==null||r.onPointerMove.call(r,D),!C.current))return;const $=D.pageY-C.current.y,U=D.pageX-C.current.x,Y=D.pointerType==="touch"?10:2;H({x:U,y:$},g,Y)?l(D):(Math.abs(U)>Y||Math.abs($)>Y)&&(C.current=null)},onPointerUp:D=>{r.onPointerUp==null||r.onPointerUp.call(r,D),C.current=null,j.current=!1,s(D)},onPointerOut:D=>{r.onPointerOut==null||r.onPointerOut.call(r,D),V(O.current)},onContextMenu:D=>{r.onContextMenu==null||r.onContextMenu.call(r,D),O.current&&V(O.current)}})});qo.displayName="Drawer.Content";const hd=250,vd=120,gd=E.forwardRef(function({preventCycle:n=!1,children:e,...t},r){const{closeDrawer:i,isDragging:a,snapPoints:o,activeSnapPoint:s,setActiveSnapPoint:l,dismissible:c,handleOnly:u,isOpen:d,onPress:m,onDrag:h}=En(),g=E.useRef(null),f=E.useRef(!1);function v(){if(f.current){T();return}window.setTimeout(()=>{x()},vd)}function x(){if(a||n||f.current){T();return}if(T(),!o||o.length===0){c||i();return}if(s===o[o.length-1]&&c){i();return}const y=o.findIndex(C=>C===s);if(y===-1)return;const k=o[y+1];l(k)}function _(){g.current=window.setTimeout(()=>{f.current=!0},hd)}function T(){g.current&&window.clearTimeout(g.current),f.current=!1}return E.createElement("div",{onClick:v,onPointerCancel:T,onPointerDown:w=>{u&&m(w),_()},onPointerMove:w=>{u&&h(w)},ref:r,"data-vaul-drawer-visible":d?"true":"false","data-vaul-handle":"","aria-hidden":"true",...t},E.createElement("span",{"data-vaul-handle-hitarea":"","aria-hidden":"true"},e))});gd.displayName="Drawer.Handle";function xd(n){const e=En(),{container:t=e.container,...r}=n;return E.createElement($u,{container:t,...r})}const ft={Root:md,Content:qo,Overlay:No,Portal:xd,Close:Wu},yd=Ur("text-sm cursor-pointer font-medium shadow-sm transition-all absolute z-50",{variants:{direction:{left:"right-4 top-4",right:"left-4 top-4"}}}),bd=Ur("right-0 top-0 bottom-0 fixed z-10 outline-none w-full md:w-[450px] lg:w-[550px] xl:w-[600px] h-full flex flex-col",{variants:{direction:{left:"left-0",right:"right-0"}}}),Ro=E.forwardRef(({children:n,direction:e,modal:t=!1,className:r,onClose:i,defaultOpen:a=!1},o)=>{const[s,l]=E.useState(a),c=E.useRef(i);c.current=i;const u=E.useCallback(()=>{l(!0)},[]),d=E.useCallback(()=>{l(!1)},[]),m=E.useCallback(()=>{l(!1),c.current?.()},[]);return E.useImperativeHandle(o,()=>({open:u,close:d,isOpen:s}),[u,d,s]),p.jsx(ft.Root,{direction:e,open:s,onOpenChange:m,modal:t,children:p.jsxs(ft.Portal,{children:[p.jsx(ft.Overlay,{className:"fixed inset-0 bg-black/40"}),p.jsxs(ft.Content,{className:N(bd({direction:e}),r),style:{"--initial-transform":"calc(100% + 8px)"},children:[p.jsx(ft.Close,{className:N(yd({direction:e})),children:p.jsx(je.Close,{size:24,className:"text-neutral-default-default"})}),p.jsx("div",{className:"bg-neutral-default-default w-full flex-1 p-5 overflow-y-auto min-h-0",children:n})]})]})})});Ro.displayName="DrawerDesktop";const Mo=E.forwardRef(({children:n,setSnap:e,snap:t,snapPoints:r,onClose:i,defaultOpen:a=!1,modal:o=!1,open:s},l)=>{const[c,u]=E.useState(a),d=s!==void 0?s:c,m=E.useRef(i);m.current=i;const h=E.useCallback(()=>{u(!0)},[]),g=E.useCallback(()=>{u(!1)},[]),f=E.useCallback(()=>{u(!1),m.current?.()},[]);return E.useImperativeHandle(l,()=>({open:h,close:g,isOpen:d}),[h,g,d]),p.jsx(ft.Root,{snapPoints:r,activeSnapPoint:t,setActiveSnapPoint:e,onClose:f,open:d,modal:o,children:p.jsxs(ft.Portal,{children:[p.jsx(ft.Overlay,{className:"fixed inset-0 bg-black/40"}),p.jsx(ft.Content,{className:"bg-gray-100 flex flex-col rounded-t-[10px] mt-24 fixed bottom-0 left-0 right-0 outline-none h-[90%]",children:p.jsxs("div",{className:"p-4 bg-white rounded-t-[10px] flex-1 overflow-y-auto",children:[p.jsx("div",{"aria-hidden":!0,className:"mx-auto w-12 h-1.5 flex-shrink-0 rounded-full bg-gray-300 mb-8"}),n]})})]})})});Mo.displayName="DrawerMobile";const wd=({title:n,subtitle:e,children:t,className:r})=>p.jsx("header",{className:N("h-16 flex items-center px-4 sm:h-20 md:h-24 md:px-6 lg:h-28 xl:h-32 2xl:h-36",r),children:p.jsxs(re.motion.div,{initial:{opacity:0,y:-10},animate:{opacity:1,y:0},transition:{duration:.6,ease:"easeOut"},className:"flex justify-between items-center w-full ",children:[p.jsxs("div",{className:"flex flex-col leading-6",children:[p.jsx("h3",{className:"text-xs font-semibold text-neutral-medium-default leading-1 sm:leading-2",children:e}),p.jsx("h1",{className:"text-xl font-bold text-neutral-strong-default sm:text-2xl md:text-3xl xl:text-[32px] 2xl:text-[34px]",children:n})]}),p.jsx("div",{className:"flex gap-4",children:t})]})}),_d=E.memo(wd);var Td={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 jn(n){if(typeof n=="number")return{value:n,unit:"px"};var e,t=(n.match(/^[0-9.]*/)||"").toString();t.includes(".")?e=parseFloat(t):e=parseInt(t,10);var r=(n.match(/[^0-9]*$/)||"").toString();return Td[r]?{value:e,unit:r}:(console.warn("React Spinners: ".concat(n," is not a valid css value. Defaulting to ").concat(e,"px.")),{value:e,unit:"px"})}function ke(n){var e=jn(n);return"".concat(e.value).concat(e.unit)}var Tt=function(n,e,t){var r="react-spinners-".concat(n,"-").concat(t);if(typeof window>"u"||!window.document)return r;var i=document.createElement("style");document.head.appendChild(i);var a=i.sheet,o=`
69
+ @keyframes `.concat(r,` {
70
+ `).concat(e,`
71
+ }
72
+ `);return a&&a.insertRule(o,0),r},fr;(function(n){n.maroon="#800000",n.red="#FF0000",n.orange="#FFA500",n.yellow="#FFFF00",n.olive="#808000",n.green="#008000",n.purple="#800080",n.fuchsia="#FF00FF",n.lime="#00FF00",n.teal="#008080",n.aqua="#00FFFF",n.blue="#0000FF",n.navy="#000080",n.black="#000000",n.gray="#808080",n.silver="#C0C0C0",n.white="#FFFFFF"})(fr||(fr={}));var Ed=function(n,e){if(n.includes("/"))return n.replace("rgb(","rgba(");var t=n.substring(n.startsWith("rgba(")?5:4,n.length-1).trim(),r=t.split(",");return r.length===4?n.replace("rgb(","rgba("):r.length===3?"rgba(".concat(t,", ").concat(e,")"):"rgba(".concat(t," / ").concat(e,")")},Sd=function(n,e){if(n.startsWith("rgb"))return Ed(n,e);if(Object.keys(fr).includes(n)&&(n=fr[n]),n[0]==="#"&&(n=n.slice(1)),n.length===3){var t="";n.split("").forEach(function(i){t+=i,t+=i}),n=t}var r=(n.match(/.{2}/g)||[]).map(function(i){return parseInt(i,16)}).join(", ");return"rgba(".concat(r,", ").concat(e,")")},mr=function(){return mr=Object.assign||function(n){for(var e,t=1,r=arguments.length;t<r;t++){e=arguments[t];for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(n[i]=e[i])}return n},mr.apply(this,arguments)},Cd=function(n,e){var t={};for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&e.indexOf(r)<0&&(t[r]=n[r]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(n);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(n,r[i])&&(t[r[i]]=n[r[i]]);return t},jd=Tt("BounceLoader","0% {transform: scale(0)} 50% {transform: scale(1.0)} 100% {transform: scale(0)}","bounce");function Od(n){var e=n.loading,t=e===void 0?!0:e,r=n.color,i=r===void 0?"#000000":r,a=n.speedMultiplier,o=a===void 0?1:a,s=n.cssOverride,l=s===void 0?{}:s,c=n.size,u=c===void 0?60:c,d=Cd(n,["loading","color","speedMultiplier","cssOverride","size"]),m=function(g){var f=g===1?"".concat(1/o,"s"):"0s";return{position:"absolute",height:ke(u),width:ke(u),backgroundColor:i,borderRadius:"100%",opacity:.6,top:0,left:0,animationFillMode:"both",animation:"".concat(jd," ").concat(2.1/o,"s ").concat(f," infinite ease-in-out")}},h=mr({display:"inherit",position:"relative",width:ke(u),height:ke(u)},l);return t?S.createElement("span",mr({style:h},d),S.createElement("span",{style:m(1)}),S.createElement("span",{style:m(2)})):null}var hr=function(){return hr=Object.assign||function(n){for(var e,t=1,r=arguments.length;t<r;t++){e=arguments[t];for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(n[i]=e[i])}return n},hr.apply(this,arguments)},kd=function(n,e){var t={};for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&e.indexOf(r)<0&&(t[r]=n[r]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(n);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(n,r[i])&&(t[r[i]]=n[r[i]]);return t},Pd=Tt("ClipLoader","0% {transform: rotate(0deg) scale(1)} 50% {transform: rotate(180deg) scale(0.8)} 100% {transform: rotate(360deg) scale(1)}","clip");function Dd(n){var e=n.loading,t=e===void 0?!0:e,r=n.color,i=r===void 0?"#000000":r,a=n.speedMultiplier,o=a===void 0?1:a,s=n.cssOverride,l=s===void 0?{}:s,c=n.size,u=c===void 0?35:c,d=kd(n,["loading","color","speedMultiplier","cssOverride","size"]),m=hr({background:"transparent !important",width:ke(u),height:ke(u),borderRadius:"100%",border:"2px solid",borderTopColor:i,borderBottomColor:"transparent",borderLeftColor:i,borderRightColor:i,display:"inline-block",animation:"".concat(Pd," ").concat(.75/o,"s 0s infinite linear"),animationFillMode:"both"},l);return t?S.createElement("span",hr({style:m},d)):null}var vr=function(){return vr=Object.assign||function(n){for(var e,t=1,r=arguments.length;t<r;t++){e=arguments[t];for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(n[i]=e[i])}return n},vr.apply(this,arguments)},Ad=function(n,e){var t={};for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&e.indexOf(r)<0&&(t[r]=n[r]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(n);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(n,r[i])&&(t[r[i]]=n[r[i]]);return t},Nd=Tt("DotLoader","100% {transform: rotate(360deg)}","rotate"),qd=Tt("DotLoader","0%, 100% {transform: scale(0)} 50% {transform: scale(1.0)}","bounce");function Rd(n){var e=n.loading,t=e===void 0?!0:e,r=n.color,i=r===void 0?"#000000":r,a=n.speedMultiplier,o=a===void 0?1:a,s=n.cssOverride,l=s===void 0?{}:s,c=n.size,u=c===void 0?60:c,d=Ad(n,["loading","color","speedMultiplier","cssOverride","size"]),m=vr({display:"inherit",position:"relative",width:ke(u),height:ke(u),animationFillMode:"forwards",animation:"".concat(Nd," ").concat(2/o,"s 0s infinite linear")},l),h=function(g){var f=jn(u),v=f.value,x=f.unit;return{position:"absolute",top:g%2?"0":"auto",bottom:g%2?"auto":"0",height:"".concat(v/2).concat(x),width:"".concat(v/2).concat(x),backgroundColor:i,borderRadius:"100%",animationFillMode:"forwards",animation:"".concat(qd," ").concat(2/o,"s ").concat(g===2?"1s":"0s"," infinite linear")}};return t?S.createElement("span",vr({style:m},d),S.createElement("span",{style:h(1)}),S.createElement("span",{style:h(2)})):null}var gr=function(){return gr=Object.assign||function(n){for(var e,t=1,r=arguments.length;t<r;t++){e=arguments[t];for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(n[i]=e[i])}return n},gr.apply(this,arguments)},Md=function(n,e){var t={};for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&e.indexOf(r)<0&&(t[r]=n[r]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(n);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(n,r[i])&&(t[r[i]]=n[r[i]]);return t},Id=Tt("GridLoader","0% {transform: scale(1)} 50% {transform: scale(0.5); opacity: 0.7} 100% {transform: scale(1); opacity: 1}","grid"),mt=function(n){return Math.random()*n};function Fd(n){var e=n.loading,t=e===void 0?!0:e,r=n.color,i=r===void 0?"#000000":r,a=n.speedMultiplier,o=a===void 0?1:a,s=n.cssOverride,l=s===void 0?{}:s,c=n.size,u=c===void 0?15:c,d=n.margin,m=d===void 0?2:d,h=Md(n,["loading","color","speedMultiplier","cssOverride","size","margin"]),g=jn(u),f=jn(m),v=parseFloat(g.value.toString())*3+parseFloat(f.value.toString())*6,x=gr({width:"".concat(v).concat(g.unit),fontSize:0,display:"inline-block"},l),_=function(T){return{display:"inline-block",backgroundColor:i,width:"".concat(ke(u)),height:"".concat(ke(u)),margin:ke(m),borderRadius:"100%",animationFillMode:"both",animation:"".concat(Id," ").concat((T/100+.6)/o,"s ").concat(T/100-.2,"s infinite ease")}};return t?S.createElement("span",gr({style:x},h,{ref:function(T){T&&T.style.setProperty("width","".concat(v).concat(g.unit),"important")}}),S.createElement("span",{style:_(mt(100))}),S.createElement("span",{style:_(mt(100))}),S.createElement("span",{style:_(mt(100))}),S.createElement("span",{style:_(mt(100))}),S.createElement("span",{style:_(mt(100))}),S.createElement("span",{style:_(mt(100))}),S.createElement("span",{style:_(mt(100))}),S.createElement("span",{style:_(mt(100))}),S.createElement("span",{style:_(mt(100))})):null}var xr=function(){return xr=Object.assign||function(n){for(var e,t=1,r=arguments.length;t<r;t++){e=arguments[t];for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(n[i]=e[i])}return n},xr.apply(this,arguments)},Ld=function(n,e){var t={};for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&e.indexOf(r)<0&&(t[r]=n[r]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(n);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(n,r[i])&&(t[r[i]]=n[r[i]]);return t};function zd(n){var e=n.loading,t=e===void 0?!0:e,r=n.color,i=r===void 0?"#000000":r,a=n.speedMultiplier,o=a===void 0?1:a,s=n.cssOverride,l=s===void 0?{}:s,c=n.size,u=c===void 0?50:c,d=Ld(n,["loading","color","speedMultiplier","cssOverride","size"]),m=jn(u),h=m.value,g=m.unit,f=xr({display:"inherit",position:"relative",width:ke(u),height:ke(u),transform:"rotate(165deg)"},l),v=h/5,x=(h-v)/2,_=x-v,T=Sd(i,.75),w=Tt("HashLoader","0% {width: ".concat(v,"px; box-shadow: ").concat(x,"px ").concat(-_,"px ").concat(T,", ").concat(-x,"px ").concat(_,"px ").concat(T,`}
73
+ 35% {width: `).concat(ke(u),"; box-shadow: 0 ").concat(-_,"px ").concat(T,", 0 ").concat(_,"px ").concat(T,`}
74
+ 70% {width: `).concat(v,"px; box-shadow: ").concat(-x,"px ").concat(-_,"px ").concat(T,", ").concat(x,"px ").concat(_,"px ").concat(T,`}
75
+ 100% {box-shadow: `).concat(x,"px ").concat(-_,"px ").concat(T,", ").concat(-x,"px ").concat(_,"px ").concat(T,"}"),"before"),y=Tt("HashLoader","0% {height: ".concat(v,"px; box-shadow: ").concat(_,"px ").concat(x,"px ").concat(i,", ").concat(-_,"px ").concat(-x,"px ").concat(i,`}
76
+ 35% {height: `).concat(ke(u),"; box-shadow: ").concat(_,"px 0 ").concat(i,", ").concat(-_,"px 0 ").concat(i,`}
77
+ 70% {height: `).concat(v,"px; box-shadow: ").concat(_,"px ").concat(-x,"px ").concat(i,", ").concat(-_,"px ").concat(x,"px ").concat(i,`}
78
+ 100% {box-shadow: `).concat(_,"px ").concat(x,"px ").concat(i,", ").concat(-_,"px ").concat(-x,"px ").concat(i,"}"),"after"),k=function(C){return{position:"absolute",top:"50%",left:"50%",display:"block",width:"".concat(h/5).concat(g),height:"".concat(h/5).concat(g),borderRadius:"".concat(h/10).concat(g),transform:"translate(-50%, -50%)",animationFillMode:"none",animation:"".concat(C===1?w:y," ").concat(2/o,"s infinite")}};return t?S.createElement("span",xr({style:f},d),S.createElement("span",{style:k(1)}),S.createElement("span",{style:k(2)})):null}var yr=function(){return yr=Object.assign||function(n){for(var e,t=1,r=arguments.length;t<r;t++){e=arguments[t];for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(n[i]=e[i])}return n},yr.apply(this,arguments)},$d=function(n,e){var t={};for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&e.indexOf(r)<0&&(t[r]=n[r]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(n);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(n,r[i])&&(t[r[i]]=n[r[i]]);return t},Bd=Tt("SyncLoader",`33% {transform: translateY(10px)}
79
+ 66% {transform: translateY(-10px)}
80
+ 100% {transform: translateY(0)}`,"sync");function Hd(n){var e=n.loading,t=e===void 0?!0:e,r=n.color,i=r===void 0?"#000000":r,a=n.speedMultiplier,o=a===void 0?1:a,s=n.cssOverride,l=s===void 0?{}:s,c=n.size,u=c===void 0?15:c,d=n.margin,m=d===void 0?2:d,h=$d(n,["loading","color","speedMultiplier","cssOverride","size","margin"]),g=yr({display:"inherit"},l),f=function(v){return{backgroundColor:i,width:ke(u),height:ke(u),margin:ke(m),borderRadius:"100%",display:"inline-block",animation:"".concat(Bd," ").concat(.6/o,"s ").concat(v*.07,"s infinite ease-in-out"),animationFillMode:"both"}};return t?S.createElement("span",yr({style:g},h),S.createElement("span",{style:f(1)}),S.createElement("span",{style:f(2)}),S.createElement("span",{style:f(3)})):null}const pi=({variant:n="sync",color:e="#3B82F6",loading:t=!0,size:r="medium",className:i="",speedMultiplier:a=1})=>{const s=(()=>{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:s,speedMultiplier:a,"aria-label":"Loading Spinner","data-testid":"spinner"},c=N("inline-block",i),u=()=>{switch(n){case"bounce":return p.jsx(Od,{...l});case"dot":return p.jsx(Rd,{...l});case"grid":return p.jsx(Fd,{...l,size:s*.4});case"hash":return p.jsx(zd,{...l});case"sync":return p.jsx(Hd,{...l,size:s*.4});case"clip":default:return p.jsx(Dd,{...l})}};return p.jsx("div",{className:c,children:u()})},br={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")}},On={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"}},Wd=({label:n,icon:e,onChange:t,value:r="",debounceMs:i=0,name:a,width:o="100%",height:s,variant:l="default",size:c="medium",disabled:u=!1,type:d="text",isFetching:m,errorMessage:h,helperText:g,required:f=!1,onFocus:v,onBlur:x})=>{const[_,T]=E.useState(r),[w]=Gl.useDebounce(_,i),[y,k]=E.useState(!1),[C,O]=E.useState(!1);E.useEffect(()=>{i&&w!==r&&t(w)},[w,i,t,r]),E.useEffect(()=>{T(r)},[r]);const j=()=>{k(!0),v?.()},L=()=>{k(!1),x?.()},H=te=>{const b=te.target.value;T(b),i||t(b)},V=()=>{O(!C)},D={};o&&o!=="100%"&&(D.width=o),s&&(D.height=s);const $=_.length>0,U=l==="error"&&h,Y=!U&&g,X=()=>y||$?"-top-2 left-2 scale-90":"top-1/2 -translate-y-1/2 scale-100",ne=()=>s?{height:s}:{};return p.jsxs("div",{className:N("relative",On[c].container,!o&&"w-full","bg-inherit"),style:D,children:[p.jsx("input",{id:a,name:a,type:d==="password"&&C?"text":d,value:_,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",!s&&On[c].input,s&&`px-3 ${On[c].input.split(" ").filter(te=>te.startsWith("text-")).join(" ")}`,br[l].input,e&&"pr-10",u&&"bg-neutral-weak-default cursor-not-allowed opacity-60",br[l].container),style:ne(),onChange:H,onFocus:j,onBlur:L,disabled:u,required:f}),p.jsx("label",{htmlFor:a,className:N("absolute left-3 transition-all duration-200 ease-in-out pointer-events-none bg-inherit px-1 z-10",!s&&On[c].label,s&&"text-sm",br[l].label,X(),f&&"after:content-['*'] after:text-error-default after:ml-1"),children:n}),(e||d==="password"||m)&&p.jsx("div",{className:N("absolute top-1/2 -translate-y-1/2 flex items-center justify-center z-10",!s&&On[c].icon,s&&"w-5 h-5 right-3",br[l].icon,d==="password"&&!m?"cursor-pointer":"pointer-events-none"),onClick:d==="password"&&!m?V:void 0,onMouseDown:te=>d==="password"&&!m&&te.preventDefault(),children:p.jsx(re.motion.div,{animate:y?{y:[-2,0],rotate:[0,-10,10,-10,10,0]}:{},transition:{duration:.6,ease:"easeInOut"},children:m&&d!=="password"?p.jsx("div",{className:"animate-spin",children:p.jsx(pi,{size:24,color:"#7c86ff",loading:!0})}):d==="password"?C?p.jsx(je.EyeVisibility,{size:24,className:""}):p.jsx(je.EyeVisibilityOff,{size:24,className:""}):e})}),U&&p.jsx("p",{className:"mt-1 text-xs text-error-default",children:h}),Y&&p.jsx("p",{className:"mt-1 text-xs text-neutral-medium-default",children:g})]})},Ud=E.memo(Wd),Zd=({icon:n,iconPosition:e="left",label:t,className:r,containerClassName:i,id:a,type:o="text",...s})=>{const[l,c]=Kn.useField(s),[u,d]=E.useState(!1),[m,h]=E.useState(!1),g=c.touched&&c.error,f=l.value&&l.value.toString().length>0,v=o==="password",x=v?m?"text":"password":o,_=()=>u||f?"-top-3 left-2 scale-90":"top-1/2 -translate-y-1/2 scale-100",T=()=>v?n?e==="left"?"pl-10 pr-10":"pr-16":"pr-10":n?e==="left"?"pl-10":"pr-10":"",w=()=>n&&e==="left"?"left-10":"left-3",y=()=>{h(!m)};return p.jsxs("div",{className:N("relative w-full bg-inherit",i),children:[p.jsxs("div",{className:"relative bg-inherit",children:[p.jsx("input",{id:a||s.name,type:x,name:l.name,value:l.value||"",onChange:l.onChange,onFocus:()=>{d(!0),s.onFocus?.()},onBlur:k=>{d(!1),s.onBlur?.(),l.onBlur(k)},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":g?"border-error-default-default":"border-neutral-default-default hover:border-neutral-strong-default",T(),r)}),p.jsx("label",{htmlFor:a||s.name,className:N("absolute transition-all duration-200 ease-in-out pointer-events-none bg-inherit px-1 z-10","text-md",_(),f||u?"text-primary-default-default":g?"text-red-500":"text-neutral-medium-default",w()),children:t}),n&&p.jsx("div",{className:N("absolute top-1/2 -translate-y-1/2 text-neutral-medium-default",e==="left"?"left-3":"right-3"),children:n}),v&&p.jsx("button",{type:"button",onClick:y,className:N("absolute top-1/2 -translate-y-1/2 p-1 text-neutral-medium-default hover:text-neutral-strong-default","transition-colors duration-200 focus:outline-none focus:text-primary-default-default",n&&e==="right"?"right-8":"right-3"),tabIndex:-1,children:m?p.jsx(je.EyeVisibilityOff,{size:24,className:"text-neutral-default-default"}):p.jsx(je.EyeVisibility,{size:24,className:"text-neutral-default-default"})})]}),g&&p.jsx(Kn.ErrorMessage,{name:s.name,component:"span",className:"block text-error-default-default text-xs mt-1"})]})},Vd=()=>p.jsxs("div",{className:"container-logo flex items-center justify-center gap-1 bg-gradient-to-br from-[#312C85] to-[#1E1A4D] rounded-md min-w-[185px]",children:[p.jsx(je.TicketFilled,{size:28,className:"rotate-140 text-primary-medium-pressed icon-logo"}),p.jsx("span",{className:"font-bold text-[28px] text-primary-medium-pressed font-monserra -tracking-wide text-logo",children:"TICKETS"})]}),Yd=Object.assign(({menuRef:n,children:e})=>p.jsx("div",{ref:n,className:"flex bg-neutral-default-default absolute bottom-10 left-30 border-1 border-neutral-strong-default h-auto w-60 rounded-md px-2",children:p.jsx(re.AnimatePresence,{mode:"wait",children:p.jsx(re.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:e})})}),{Divider:()=>p.jsx(re.motion.div,{className:"flex justify-center items-center w-full ",exit:{opacity:0,scaleX:0,height:0,transition:{duration:.4,delay:.15,ease:"easeInOut"}},children:p.jsx("div",{className:"border-b border-neutral-strong-default border-1 w-full"})}),Items:({onClick:n,children:e,className:t})=>p.jsx(re.motion.button,{onClick:n,className:N("flex py-2 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",t),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:e})});function Xd({currentPage:n=1,totalPages:e=0,onPageChange:t}){const r=o=>{o>=1&&o<=e&&o!==n&&t?.(o)},a=(()=>{const o=[];if(e>7)if(o.push(1),n<=4){for(let l=2;l<=5;l++)o.push(l);o.push("ellipsis"),o.push(e)}else if(n>=e-3){o.push("ellipsis");for(let l=e-4;l<=e;l++)o.push(l)}else{o.push("ellipsis");for(let l=n-1;l<=n+1;l++)o.push(l);o.push("ellipsis"),o.push(e)}else for(let l=1;l<=e;l++)o.push(l);return o})();return p.jsxs("div",{className:"flex items-center justify-center gap-2 p-4",children:[p.jsx(re.motion.button,{whileHover:{scale:1.05},whileTap:{scale:.95},onClick:()=>r(n-1),disabled:n===1,className:"px-4 py-2 text-primary-medium-default hover:text-primary-default-default disabled:text-gray-600 disabled:cursor-not-allowed transition-colors cursor-pointer",children:"Anterior"}),p.jsx("div",{className:"flex items-center gap-1 select-none",children:a.map((o,s)=>{if(o==="ellipsis")return p.jsx("span",{className:"px-3 py-2 text-neutral-default-default",children:"..."},`ellipsis-${s}`);const l=o,c=l===n;return p.jsxs(re.motion.button,{whileHover:c?{}:{scale:1.1},whileTap:c?{}:{scale:.9},onClick:()=>r(l),className:`relative px-3 py-2 min-w-[40px] text-center transition-colors ${c?"text-primary-default-default":"text-neutral-default-default hover:text-white cursor-pointer "}`,children:[c&&p.jsx(re.motion.div,{layoutId:"activePage",className:"absolute inset-0 border-1 border-primary-default-default rounded-md",initial:!1,transition:{type:"spring",stiffness:500,damping:30}}),p.jsx("span",{className:"relative z-10",children:l})]},l)})}),p.jsx(re.motion.button,{whileHover:{scale:1.05},whileTap:{scale:.95},onClick:()=>r(n+1),disabled:n===e,className:"px-4 py-2 text-primary-medium-default hover:text-primary-default-default disabled:text-gray-600 disabled:cursor-not-allowed transition-colors cursor-pointer",children:"Siguiente"})]})}const Gd=E.forwardRef(({className:n,startDate:e,endDate:t,label:r,...i},a)=>{const o=new Date(e),s=new Date(t),l=new Date,c=1440*60*1e3,u=Math.ceil((s.getTime()-o.getTime())/c),d=Math.max(0,Math.floor((l.getTime()-o.getTime())/c)),m=Math.max(0,Math.ceil((s.getTime()-l.getTime())/c)),h=Math.min(Math.max(d/u*100,0),100),g=l>s,f=l<o;let v=r;return r||(g?v=`Vencido hace ${Math.ceil((l.getTime()-s.getTime())/c)} días`:f?v=`Comienza en ${Math.ceil((o.getTime()-l.getTime())/c)} días`:v=`Faltan ${m} días`),p.jsxs("div",{ref:a,className:n,...i,children:[p.jsxs("div",{className:"flex justify-between items-center text-white mb-2",children:[p.jsxs("div",{className:"flex flex-col gap-2",children:[p.jsx("span",{className:"text-sm text-neutral-medium-default",children:"Tiempo restante"}),p.jsx("span",{className:"text-semibold text-md text-neutral-default-default",children:v})]}),p.jsxs("span",{className:"text-sm text-gray-400",children:[d," / ",u," días"]})]}),p.jsx("div",{className:"w-full border-neutral-strong-default border-1 rounded-sm h-[14px]",children:p.jsx("div",{className:N("h-[14px] rounded-sm transition-all duration-300",g?"bg-red-500":"bg-primary-default-default"),style:{width:`${h}%`}})})]})}),Kd=({label:n,onOptionClick:e,value:t=[],isFetching:r=!1,options:i,multiple:a=!0,onClear:o,onClose:s,className:l,id:c,emptyMessage:u="No hay opciones disponibles",optionValue:d,optionLabel:m,renderOption:h,renderSelection:g,containerClassName:f,buttonClassName:v,dropdownClassName:x,displayMode:_="compact",onRemoveOption:T,width:w="100%",height:y})=>{const[k,C]=E.useState(!1),[O,j]=E.useState(!1),L=E.useRef(null),H=t&&t.length>0,V=i?.filter(A=>t.includes(d(A))),D=()=>k||H||O?"-top-2 left-2 scale-90":"top-1/2 -translate-y-1/2 scale-100",$={};w&&w!=="100%"&&($.width=w),y&&($.height=y);const U=()=>y?{height:y}:{};E.useEffect(()=>{const A=F=>{L.current&&!L.current.contains(F.target)&&C(!1)};return k&&document.addEventListener("mousedown",A),()=>{document.removeEventListener("mousedown",A)}},[k]);const Y=()=>{C(!k)},X=A=>{const F=d(A);e(F,A),!a&&s&&s()},ne=A=>{A.stopPropagation(),j(!1),A.target.blur(),o?.()},te=(A,F)=>{F?.stopPropagation();const Z=d(A);T?.(Z)},b=({option:A,onRemove:F})=>p.jsxs("div",{className:"inline-flex items-center gap-1 px-2 py-1 bg-primary-default-default text-white text-xs rounded-md",children:[p.jsx("span",{className:"truncate max-w-20",children:m(A)}),p.jsx("button",{onClick:Z=>F(A,Z),className:"flex-shrink-0 hover:bg-primary-strong-default rounded-sm p-0.5 transition-colors",type:"button",tabIndex:-1,children:p.jsx(je.Close,{size:12,className:""})})]}),P=({option:A,isSelected:F,onSelect:Z,isMultiple:W})=>p.jsxs("div",{onClick:Z,className:N("px-3 py-2 cursor-pointer flex items-center transition-colors",F?"bg-primary-default-default text-white":"hover:bg-neutral-medium-selected text-neutral-default-default"),children:[W&&p.jsx("input",{type:"checkbox",checked:F,onChange:()=>{},className:"mr-2 pointer-events-none"}),p.jsx("span",{children:m(A)})]}),R=({selectedOptions:A})=>A?.length===0?null:_==="chips"&&a?p.jsx("div",{className:"flex items-center gap-1 flex-wrap py-1",children:A.map(F=>p.jsx(b,{option:F,onRemove:te},d(F)))}):A?.length===1?p.jsx("span",{children:m(A[0])}):p.jsxs("span",{children:[A?.length," seleccionados"]}),z=h||P,M=g||R;return p.jsx("div",{className:N("relative bg-inherit",f,!w&&"w-full "),ref:L,style:$,children:p.jsxs("div",{className:N("relative bg-inherit",l),children:[p.jsxs("button",{id:c,type:"button",onClick:Y,onFocus:()=>j(!0),onBlur:()=>j(!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-inherit","focus:outline-none",_==="chips"&&a&&H?"min-h-12 py-2":!y&&"h-12",k||O?"border-primary-default-default border-2":"border-neutral-default-default hover:border-neutral-strong-default",v),style:U(),children:[p.jsx("label",{htmlFor:c,className:N("absolute left-3 transition-all duration-200 ease-in-out pointer-events-none bg-inherit px-1 z-10","text-sm",D(),H||k||O?"text-primary-default-default":"text-neutral-medium-default"),children:n}),p.jsx("div",{className:"flex-1 min-w-0",children:p.jsx(M,{selectedOptions:V})}),p.jsxs("div",{className:"flex items-center gap-2 ml-2",children:[r&&p.jsx(pi,{size:"small"}),H&&o&&p.jsx("button",{onClick:ne,className:"text-neutral-medium-default hover:text-neutral-default-default transition-colors",type:"button",tabIndex:-1,children:p.jsx(je.Close,{size:16,className:""})}),p.jsx(je.ChevronDown,{size:20,className:N("transition-transform text-neutral-default-default",k?"rotate-180":"")})]})]}),k&&p.jsx("div",{className:N("absolute z-50 w-full mt-1 bg-neutral-default-default border border-neutral-default-default rounded-md shadow-lg","max-h-60 overflow-auto",x),children:i.length===0?p.jsx("div",{className:"px-3 py-2 text-neutral-medium-default",children:u}):i.map(A=>{const F=d(A),Z=t.includes(F);return p.jsx(z,{option:A,isSelected:Z,onSelect:()=>X(A),isMultiple:a},F)})})]})})},Jd=E.memo(Kd),Qd=E.memo(function({items:e,activeTab:t,onTabChange:r,className:i,tabClassName:a,activeTabClassName:o,indicatorClassName:s,animated:l=!0,renderTab:c}){const u=d=>{d.disabled||r?.(d.id,d)};return p.jsx("div",{className:N("flex flex-row justify-around items-end relative border-b-1 border-neutral-strong-default w-full md:justify-start md:px-10 md:gap-5",i),role:"tablist",children:e?.map(d=>{const m=t===d.id,h=()=>u(d);return c?p.jsx("div",{children:c(d,m,h)},d.id):p.jsxs("button",{onClick:h,disabled:d.disabled,className:N("relative flex justify-center items-center h-10 px-4 font-medium focus:outline-none transition-colors",!d.disabled&&"hover:text-primary-default-default cursor-pointer",d.disabled&&"opacity-50 cursor-not-allowed",a,m&&o),tabIndex:d.disabled?-1:0,"aria-label":d.title,role:"tab","aria-selected":m,title:d.description,children:[m&&l&&p.jsx(re.motion.div,{layoutId:"tab-indicator",className:N("absolute -bottom-[1px] left-0 right-0 h-[5px] rounded-t-xl bg-primary-default-default z-0",s),transition:{type:"spring",stiffness:300,damping:20},"aria-hidden":"true"}),p.jsx("span",{className:N("relative z-10",m?"text-primary-default-default font-semibold text-md":"text-neutral-medium-default font-medium text-md"),children:d.title})]},d.id)})})}),Io=S.forwardRef(({className:n,...e},t)=>p.jsx("div",{className:"relative w-full overflow-auto",children:p.jsx("table",{ref:t,className:N("w-full caption-bottom text-sm border-b-1 rounded-lg border-neutral-default-default",n),...e})}));Io.displayName="Table";const Fo=S.forwardRef(({className:n,...e},t)=>p.jsx("thead",{ref:t,className:N("[&_tr]:border-b-0 [&_tr]:text-center",n),...e}));Fo.displayName="TableHeader";const Lo=S.forwardRef(({className:n,...e},t)=>p.jsx("tbody",{ref:t,className:N("[&_tr:last-child]:border-b [&_tr]:cursor-pointer ",n),...e}));Lo.displayName="TableBody";const zo=S.forwardRef(({className:n,...e},t)=>p.jsx("tfoot",{ref:t,className:N("border-t bg-muted/50 font-medium [&>tr]:last:!border-b-0",n),...e}));zo.displayName="TableFooter";const $o=S.forwardRef(({className:n,...e},t)=>p.jsx("tr",{ref:t,className:N("border-b border-neutral-default-default text-center text-md text-semibold transition-colors hover:bg-neutral-medium-default/50 text-neutral-default-default",n),...e}));$o.displayName="TableRow";const Bo=S.forwardRef(({className:n,...e},t)=>p.jsx("th",{ref:t,className:N("h-14 px-4 text-center align-middle font-semibold text-neutral-default-default bg-neutral-medium-default first:rounded-tl-lg first:rounded-bl-lg last:rounded-br-lg last:rounded-tr-lg",n),...e}));Bo.displayName="TableHead";const Ho=S.forwardRef(({className:n,...e},t)=>p.jsx("td",{ref:t,className:N("py-4 px-4 align-middle text-center [&:has([role=checkbox])]:pr-0",n),...e}));Ho.displayName="TableCell";const Wo=S.forwardRef(({className:n,...e},t)=>p.jsx("caption",{ref:t,className:N("mt-4 text-sm text-muted-foreground",n),...e}));Wo.displayName="TableCaption";function ep({className:n,autoResize:e=!1,userResize:t=!0,minRows:r=3,maxRows:i,placeholder:a,onChange:o,value:s,rows:l}){const c=S.useRef(null),u=S.useCallback(()=>{const h=c.current;if(!h||!e)return;h.style.height="auto";const g=h.scrollHeight,f=Number.parseInt(getComputedStyle(h).lineHeight)||20,v=r*f+16;let x=Math.max(g,v);if(i){const _=i*f+16;x=Math.min(x,_)}h.style.height=`${x}px`},[e,r,i]),d=h=>{o?.(h),u()};S.useEffect(()=>{u()},[u]);const m=()=>t?e?"resize-x":"resize":"resize-none";return p.jsx("textarea",{ref:c,"data-slot":"textarea",className:N("placeholder:text-neutral-medium-default text-neutral-default-default appearance-none border border-neutral-default-default focus:border-primary-default-default flex w-full rounded-md px-3 py-2 outline-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",m(),n),onChange:d,rows:e?r:l,value:s,placeholder:a})}const Uo=E.createContext(null),Zo=({children:n})=>{const e=E.useRef(null),t=r=>{r.current&&e&&(e.current=r.current)};return p.jsx(Uo.Provider,{value:{primarySidebarRef:e,registerPrimarySidebar:t},children:n})},Vo=()=>{const n=E.useContext(Uo);if(!n)throw new Error("useSidebarContext must be used within a SidebarProvider");return n},tp=({children:n,sidebar:e})=>p.jsxs("div",{className:"flex h-screen w-full bg-neutral-default-default",children:[p.jsx(Zo,{children:e}),p.jsx("main",{className:"w-full h-full overflow-y-auto",children:n})]}),np=E.memo(tp);function ht(n){if(n===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function Yo(n,e){n.prototype=Object.create(e.prototype),n.prototype.constructor=n,n.__proto__=e}/*!
23
81
  * GSAP 3.13.0
24
82
  * https://gsap.com
25
83
  *
26
84
  * @license Copyright 2008-2025, GreenSock. All rights reserved.
27
85
  * Subject to the terms at https://gsap.com/standard-license
28
86
  * @author: Jack Doyle, jack@greensock.com
29
- */var De={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},wt={duration:.5,overwrite:!1,delay:0},Bn,we,le,Le=1e8,re=1/Le,$n=Math.PI*2,Ro=$n/4,Mo=0,pr=Math.sqrt,Fo=Math.cos,zo=Math.sin,be=function(e){return typeof e=="string"},de=function(e){return typeof e=="function"},Xe=function(e){return typeof e=="number"},Hn=function(e){return typeof e>"u"},He=function(e){return typeof e=="object"},Ce=function(e){return e!==!1},Vn=function(){return typeof window<"u"},cn=function(e){return de(e)||be(e)},dr=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},Te=Array.isArray,Yn=/(?:-?\.?\d|\.)+/gi,fr=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,Tt=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,Un=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,mr=/[+-]=-?[.\d]+/,hr=/[^,'"\[\]\s]+/gi,Io=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,ce,Ve,Wn,Gn,Ae={},un={},vr,xr=function(e){return(un=kt(e,Ae))&&Ee},Xn=function(e,t){return console.warn("Invalid property",e,"set to",t,"Missing plugin? gsap.registerPlugin()")},It=function(e,t){return!t&&console.warn(e)},gr=function(e,t){return e&&(Ae[e]=t)&&un&&(un[e]=t)||Ae},Lt=function(){return 0},Lo={suppressEvents:!0,isStart:!0,kill:!1},pn={suppressEvents:!0,kill:!1},Zo={suppressEvents:!0},Kn={},et=[],Jn={},br,Ne={},Qn={},yr=30,dn=[],ei="",ti=function(e){var t=e[0],n,r;if(He(t)||de(t)||(e=[e]),!(n=(t._gsap||{}).harness)){for(r=dn.length;r--&&!dn[r].targetTest(t););n=dn[r]}for(r=e.length;r--;)e[r]&&(e[r]._gsap||(e[r]._gsap=new Gr(e[r],n)))||e.splice(r,1);return e},ct=function(e){return e._gsap||ti(Be(e))[0]._gsap},_r=function(e,t,n){return(n=e[t])&&de(n)?e[t]():Hn(n)&&e.getAttribute&&e.getAttribute(t)||n},Se=function(e,t){return(e=e.split(",")).forEach(t)||e},fe=function(e){return Math.round(e*1e5)/1e5||0},he=function(e){return Math.round(e*1e7)/1e7||0},jt=function(e,t){var n=t.charAt(0),r=parseFloat(t.substr(2));return e=parseFloat(e),n==="+"?e+r:n==="-"?e-r:n==="*"?e*r:e/r},Bo=function(e,t){for(var n=t.length,r=0;e.indexOf(t[r])<0&&++r<n;);return r<n},fn=function(){var e=et.length,t=et.slice(0),n,r;for(Jn={},et.length=0,n=0;n<e;n++)r=t[n],r&&r._lazy&&(r.render(r._lazy[0],r._lazy[1],!0)._lazy=0)},ni=function(e){return!!(e._initted||e._startAt||e.add)},wr=function(e,t,n,r){et.length&&!we&&fn(),e.render(t,n,!!(we&&t<0&&ni(e))),et.length&&!we&&fn()},Tr=function(e){var t=parseFloat(e);return(t||t===0)&&(e+"").match(hr).length<2?t:be(e)?e.trim():e},jr=function(e){return e},Re=function(e,t){for(var n in t)n in e||(e[n]=t[n]);return e},$o=function(e){return function(t,n){for(var r in n)r in t||r==="duration"&&e||r==="ease"||(t[r]=n[r])}},kt=function(e,t){for(var n in t)e[n]=t[n];return e},kr=function i(e,t){for(var n in t)n!=="__proto__"&&n!=="constructor"&&n!=="prototype"&&(e[n]=He(t[n])?i(e[n]||(e[n]={}),t[n]):t[n]);return e},mn=function(e,t){var n={},r;for(r in e)r in t||(n[r]=e[r]);return n},Zt=function(e){var t=e.parent||ce,n=e.keyframes?$o(Te(e.keyframes)):Re;if(Ce(e.inherit))for(;t;)n(e,t.vars.defaults),t=t.parent||t._dp;return e},Ho=function(e,t){for(var n=e.length,r=n===t.length;r&&n--&&e[n]===t[n];);return n<0},Or=function(e,t,n,r,a){var o=e[r],s;if(a)for(s=t[a];o&&o[a]>s;)o=o._prev;return o?(t._next=o._next,o._next=t):(t._next=e[n],e[n]=t),t._next?t._next._prev=t:e[r]=t,t._prev=o,t.parent=t._dp=e,t},hn=function(e,t,n,r){n===void 0&&(n="_first"),r===void 0&&(r="_last");var a=t._prev,o=t._next;a?a._next=o:e[n]===t&&(e[n]=o),o?o._prev=a:e[r]===t&&(e[r]=a),t._next=t._prev=t.parent=null},tt=function(e,t){e.parent&&(!t||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},ut=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},Vo=function(e){for(var t=e.parent;t&&t.parent;)t._dirty=1,t.totalDuration(),t=t.parent;return e},ii=function(e,t,n,r){return e._startAt&&(we?e._startAt.revert(pn):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(t,!0,r))},Yo=function i(e){return!e||e._ts&&i(e.parent)},Cr=function(e){return e._repeat?Ot(e._tTime,e=e.duration()+e._rDelay)*e:0},Ot=function(e,t){var n=Math.floor(e=he(e/t));return e&&n===e?n-1:n},vn=function(e,t){return(e-t._start)*t._ts+(t._ts>=0?0:t._dirty?t.totalDuration():t._tDur)},xn=function(e){return e._end=he(e._start+(e._tDur/Math.abs(e._ts||e._rts||re)||0))},gn=function(e,t){var n=e._dp;return n&&n.smoothChildTiming&&e._ts&&(e._start=he(n._time-(e._ts>0?t/e._ts:((e._dirty?e.totalDuration():e._tDur)-t)/-e._ts)),xn(e),n._dirty||ut(n,e)),e},Sr=function(e,t){var n;if((t._time||!t._dur&&t._initted||t._start<e._time&&(t._dur||!t.add))&&(n=vn(e.rawTime(),t),(!t._dur||$t(0,t.totalDuration(),n)-t._tTime>re)&&t.render(n,!0)),ut(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=-re}},Ye=function(e,t,n,r){return t.parent&&tt(t),t._start=he((Xe(n)?n:n||e!==ce?Ze(e,n,t):e._time)+t._delay),t._end=he(t._start+(t.totalDuration()/Math.abs(t.timeScale())||0)),Or(e,t,"_first","_last",e._sort?"_start":0),ri(t)||(e._recent=t),r||Sr(e,t),e._ts<0&&gn(e,e._tTime),e},qr=function(e,t){return(Ae.ScrollTrigger||Xn("scrollTrigger",t))&&Ae.ScrollTrigger.create(t,e)},Er=function(e,t,n,r,a){if(fi(e,t,a),!e._initted)return 1;if(!n&&e._pt&&!we&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&br!==Fe.frame)return et.push(e),e._lazy=[a,r],1},Uo=function i(e){var t=e.parent;return t&&t._ts&&t._initted&&!t._lock&&(t.rawTime()<0||i(t))},ri=function(e){var t=e.data;return t==="isFromStart"||t==="isStart"},Wo=function(e,t,n,r){var a=e.ratio,o=t<0||!t&&(!e._start&&Uo(e)&&!(!e._initted&&ri(e))||(e._ts<0||e._dp._ts<0)&&!ri(e))?0:1,s=e._rDelay,l=0,c,u,d;if(s&&e._repeat&&(l=$t(0,e._tDur,t),u=Ot(l,s),e._yoyo&&u&1&&(o=1-o),u!==Ot(e._tTime,s)&&(a=1-o,e.vars.repeatRefresh&&e._initted&&e.invalidate())),o!==a||we||r||e._zTime===re||!t&&e._zTime){if(!e._initted&&Er(e,t,r,n,l))return;for(d=e._zTime,e._zTime=t||(n?re:0),n||(n=t&&!d),e.ratio=o,e._from&&(o=1-o),e._time=0,e._tTime=l,c=e._pt;c;)c.r(o,c.d),c=c._next;t<0&&ii(e,t,n,!0),e._onUpdate&&!n&&Me(e,"onUpdate"),l&&e._repeat&&!n&&e.parent&&Me(e,"onRepeat"),(t>=e._tDur||t<0)&&e.ratio===o&&(o&&tt(e,1),!n&&!we&&(Me(e,o?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=t)},Go=function(e,t,n){var r;if(n>t)for(r=e._first;r&&r._start<=n;){if(r.data==="isPause"&&r._start>t)return r;r=r._next}else for(r=e._last;r&&r._start>=n;){if(r.data==="isPause"&&r._start<t)return r;r=r._prev}},Ct=function(e,t,n,r){var a=e._repeat,o=he(t)||0,s=e._tTime/e._tDur;return s&&!r&&(e._time*=o/e._dur),e._dur=o,e._tDur=a?a<0?1e10:he(o*(a+1)+e._rDelay*a):o,s>0&&!r&&gn(e,e._tTime=e._tDur*s),e.parent&&xn(e),n||ut(e.parent,e),e},Pr=function(e){return e instanceof Oe?ut(e):Ct(e,e._dur)},Xo={_start:0,endTime:Lt,totalDuration:Lt},Ze=function i(e,t,n){var r=e.labels,a=e._recent||Xo,o=e.duration()>=Le?a.endTime(!1):e._dur,s,l,c;return be(t)&&(isNaN(t)||t in r)?(l=t.charAt(0),c=t.substr(-1)==="%",s=t.indexOf("="),l==="<"||l===">"?(s>=0&&(t=t.replace(/=/,"")),(l==="<"?a._start:a.endTime(a._repeat>=0))+(parseFloat(t.substr(1))||0)*(c?(s<0?a:n).totalDuration()/100:1)):s<0?(t in r||(r[t]=o),r[t]):(l=parseFloat(t.charAt(s-1)+t.substr(s+1)),c&&n&&(l=l/100*(Te(n)?n[0]:n).totalDuration()),s>1?i(e,t.substr(0,s-1),n)+l:o+l)):t==null?o:+t},Bt=function(e,t,n){var r=Xe(t[1]),a=(r?2:1)+(e<2?0:1),o=t[a],s,l;if(r&&(o.duration=t[1]),o.parent=n,e){for(s=o,l=n;l&&!("immediateRender"in s);)s=l.vars.defaults||{},l=Ce(l.vars.inherit)&&l.parent;o.immediateRender=Ce(s.immediateRender),e<2?o.runBackwards=1:o.startAt=t[a-1]}return new ve(t[0],o,t[a+1])},nt=function(e,t){return e||e===0?t(e):t},$t=function(e,t,n){return n<e?e:n>t?t:n},je=function(e,t){return!be(e)||!(t=Io.exec(e))?"":t[1]},Ko=function(e,t,n){return nt(n,function(r){return $t(e,t,r)})},ai=[].slice,Dr=function(e,t){return e&&He(e)&&"length"in e&&(!t&&!e.length||e.length-1 in e&&He(e[0]))&&!e.nodeType&&e!==Ve},Jo=function(e,t,n){return n===void 0&&(n=[]),e.forEach(function(r){var a;return be(r)&&!t||Dr(r,1)?(a=n).push.apply(a,Be(r)):n.push(r)})||n},Be=function(e,t,n){return le&&!t&&le.selector?le.selector(e):be(e)&&!n&&(Wn||!qt())?ai.call((t||Gn).querySelectorAll(e),0):Te(e)?Jo(e,n):Dr(e)?ai.call(e,0):e?[e]:[]},oi=function(e){return e=Be(e)[0]||It("Invalid scope")||{},function(t){var n=e.current||e.nativeElement||e;return Be(t,n.querySelectorAll?n:n===e?It("Invalid scope")||Gn.createElement("div"):e)}},Ar=function(e){return e.sort(function(){return .5-Math.random()})},Nr=function(e){if(de(e))return e;var t=He(e)?e:{each:e},n=pt(t.ease),r=t.from||0,a=parseFloat(t.base)||0,o={},s=r>0&&r<1,l=isNaN(r)||s,c=t.axis,u=r,d=r;return be(r)?u=d={center:.5,edges:.5,end:1}[r]||0:!s&&l&&(u=r[0],d=r[1]),function(m,h,b){var f=(b||t).length,x=o[f],y,_,w,T,g,k,C,q,O;if(!x){if(O=t.grid==="auto"?0:(t.grid||[1,Le])[1],!O){for(C=-Le;C<(C=b[O++].getBoundingClientRect().left)&&O<f;);O<f&&O--}for(x=o[f]=[],y=l?Math.min(O,f)*u-.5:r%O,_=O===Le?0:l?f*d/O-.5:r/O|0,C=0,q=Le,k=0;k<f;k++)w=k%O-y,T=_-(k/O|0),x[k]=g=c?Math.abs(c==="y"?T:w):pr(w*w+T*T),g>C&&(C=g),g<q&&(q=g);r==="random"&&Ar(x),x.max=C-q,x.min=q,x.v=f=(parseFloat(t.amount)||parseFloat(t.each)*(O>f?f-1:c?c==="y"?f/O:O:Math.max(O,f/O))||0)*(r==="edges"?-1:1),x.b=f<0?a-f:a,x.u=je(t.amount||t.each)||0,n=n&&f<0?Yr(n):n}return f=(x[m]-x.min)/x.max||0,he(x.b+(n?n(f):f)*x.v)+x.u}},si=function(e){var t=Math.pow(10,((e+"").split(".")[1]||"").length);return function(n){var r=he(Math.round(parseFloat(n)/e)*e*t);return(r-r%1)/t+(Xe(n)?0:je(n))}},Rr=function(e,t){var n=Te(e),r,a;return!n&&He(e)&&(r=n=e.radius||Le,e.values?(e=Be(e.values),(a=!Xe(e[0]))&&(r*=r)):e=si(e.increment)),nt(t,n?de(e)?function(o){return a=e(o),Math.abs(a-o)<=r?a:o}:function(o){for(var s=parseFloat(a?o.x:o),l=parseFloat(a?o.y:0),c=Le,u=0,d=e.length,m,h;d--;)a?(m=e[d].x-s,h=e[d].y-l,m=m*m+h*h):m=Math.abs(e[d]-s),m<c&&(c=m,u=d);return u=!r||c<=r?e[u]:o,a||u===o||Xe(o)?u:u+je(o)}:si(e))},Mr=function(e,t,n,r){return nt(Te(e)?!t:n===!0?!!(n=0):!r,function(){return Te(e)?e[~~(Math.random()*e.length)]:(n=n||1e-5)&&(r=n<1?Math.pow(10,(n+"").length-2):1)&&Math.floor(Math.round((e-n/2+Math.random()*(t-e+n*.99))/n)*n*r)/r})},Qo=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(r){return t.reduce(function(a,o){return o(a)},r)}},es=function(e,t){return function(n){return e(parseFloat(n))+(t||je(n))}},ts=function(e,t,n){return zr(e,t,0,1,n)},Fr=function(e,t,n){return nt(n,function(r){return e[~~t(r)]})},ns=function i(e,t,n){var r=t-e;return Te(e)?Fr(e,i(0,e.length),t):nt(n,function(a){return(r+(a-e)%r)%r+e})},is=function i(e,t,n){var r=t-e,a=r*2;return Te(e)?Fr(e,i(0,e.length-1),t):nt(n,function(o){return o=(a+(o-e)%a)%a||0,e+(o>r?a-o:o)})},Ht=function(e){for(var t=0,n="",r,a,o,s;~(r=e.indexOf("random(",t));)o=e.indexOf(")",r),s=e.charAt(r+7)==="[",a=e.substr(r+7,o-r-7).match(s?hr:Yn),n+=e.substr(t,r-t)+Mr(s?a:+a[0],s?0:+a[1],+a[2]||1e-5),t=o+1;return n+e.substr(t,e.length-t)},zr=function(e,t,n,r,a){var o=t-e,s=r-n;return nt(a,function(l){return n+((l-e)/o*s||0)})},rs=function i(e,t,n,r){var a=isNaN(e+t)?0:function(h){return(1-h)*e+h*t};if(!a){var o=be(e),s={},l,c,u,d,m;if(n===!0&&(r=1)&&(n=null),o)e={p:e},t={p:t};else if(Te(e)&&!Te(t)){for(u=[],d=e.length,m=d-2,c=1;c<d;c++)u.push(i(e[c-1],e[c]));d--,a=function(b){b*=d;var f=Math.min(m,~~b);return u[f](b-f)},n=t}else r||(e=kt(Te(e)?[]:{},e));if(!u){for(l in t)pi.call(s,e,l,"get",t[l]);a=function(b){return vi(b,s)||(o?e.p:e)}}}return nt(n,a)},Ir=function(e,t,n){var r=e.labels,a=Le,o,s,l;for(o in r)s=r[o]-t,s<0==!!n&&s&&a>(s=Math.abs(s))&&(l=o,a=s);return l},Me=function(e,t,n){var r=e.vars,a=r[t],o=le,s=e._ctx,l,c,u;if(a)return l=r[t+"Params"],c=r.callbackScope||e,n&&et.length&&fn(),s&&(le=s),u=l?a.apply(c,l):a.call(c),le=o,u},Vt=function(e){return tt(e),e.scrollTrigger&&e.scrollTrigger.kill(!!we),e.progress()<1&&Me(e,"onInterrupt"),e},St,Lr=[],Zr=function(e){if(e)if(e=!e.name&&e.default||e,Vn()||e.headless){var t=e.name,n=de(e),r=t&&!n&&e.init?function(){this._props=[]}:e,a={init:Lt,render:vi,add:pi,kill:ys,modifier:bs,rawVars:0},o={targetTest:0,get:0,getSetter:hi,aliases:{},register:0};if(qt(),e!==r){if(Ne[t])return;Re(r,Re(mn(e,a),o)),kt(r.prototype,kt(a,mn(e,o))),Ne[r.prop=t]=r,e.targetTest&&(dn.push(r),Kn[t]=1),t=(t==="css"?"CSS":t.charAt(0).toUpperCase()+t.substr(1))+"Plugin"}gr(t,r),e.register&&e.register(Ee,r,qe)}else Lr.push(e)},ae=255,Yt={aqua:[0,ae,ae],lime:[0,ae,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,ae],navy:[0,0,128],white:[ae,ae,ae],olive:[128,128,0],yellow:[ae,ae,0],orange:[ae,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[ae,0,0],pink:[ae,192,203],cyan:[0,ae,ae],transparent:[ae,ae,ae,0]},li=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)*ae+.5|0},Br=function(e,t,n){var r=e?Xe(e)?[e>>16,e>>8&ae,e&ae]:0:Yt.black,a,o,s,l,c,u,d,m,h,b;if(!r){if(e.substr(-1)===","&&(e=e.substr(0,e.length-1)),Yt[e])r=Yt[e];else if(e.charAt(0)==="#"){if(e.length<6&&(a=e.charAt(1),o=e.charAt(2),s=e.charAt(3),e="#"+a+a+o+o+s+s+(e.length===5?e.charAt(4)+e.charAt(4):"")),e.length===9)return r=parseInt(e.substr(1,6),16),[r>>16,r>>8&ae,r&ae,parseInt(e.substr(7),16)/255];e=parseInt(e.substr(1),16),r=[e>>16,e>>8&ae,e&ae]}else if(e.substr(0,3)==="hsl"){if(r=b=e.match(Yn),!t)l=+r[0]%360/360,c=+r[1]/100,u=+r[2]/100,o=u<=.5?u*(c+1):u+c-u*c,a=u*2-o,r.length>3&&(r[3]*=1),r[0]=li(l+1/3,a,o),r[1]=li(l,a,o),r[2]=li(l-1/3,a,o);else if(~e.indexOf("="))return r=e.match(fr),n&&r.length<4&&(r[3]=1),r}else r=e.match(Yn)||Yt.transparent;r=r.map(Number)}return t&&!b&&(a=r[0]/ae,o=r[1]/ae,s=r[2]/ae,d=Math.max(a,o,s),m=Math.min(a,o,s),u=(d+m)/2,d===m?l=c=0:(h=d-m,c=u>.5?h/(2-d-m):h/(d+m),l=d===a?(o-s)/h+(o<s?6:0):d===o?(s-a)/h+2:(a-o)/h+4,l*=60),r[0]=~~(l+.5),r[1]=~~(c*100+.5),r[2]=~~(u*100+.5)),n&&r.length<4&&(r[3]=1),r},$r=function(e){var t=[],n=[],r=-1;return e.split(it).forEach(function(a){var o=a.match(Tt)||[];t.push.apply(t,o),n.push(r+=o.length+1)}),t.c=n,t},Hr=function(e,t,n){var r="",a=(e+r).match(it),o=t?"hsla(":"rgba(",s=0,l,c,u,d;if(!a)return e;if(a=a.map(function(m){return(m=Br(m,t,1))&&o+(t?m[0]+","+m[1]+"%,"+m[2]+"%,"+m[3]:m.join(","))+")"}),n&&(u=$r(e),l=n.c,l.join(r)!==u.c.join(r)))for(c=e.replace(it,"1").split(Tt),d=c.length-1;s<d;s++)r+=c[s]+(~l.indexOf(s)?a.shift()||o+"0,0,0,0)":(u.length?u:a.length?a:n).shift());if(!c)for(c=e.split(it),d=c.length-1;s<d;s++)r+=c[s]+a[s];return r+c[d]},it=(function(){var i="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",e;for(e in Yt)i+="|"+e+"\\b";return new RegExp(i+")","gi")})(),as=/hsl[a]?\(/,Vr=function(e){var t=e.join(" "),n;if(it.lastIndex=0,it.test(t))return n=as.test(t),e[1]=Hr(e[1],n),e[0]=Hr(e[0],n,$r(e[1])),!0},Ut,Fe=(function(){var i=Date.now,e=500,t=33,n=i(),r=n,a=1e3/240,o=a,s=[],l,c,u,d,m,h,b=function f(x){var y=i()-r,_=x===!0,w,T,g,k;if((y>e||y<0)&&(n+=y-t),r+=y,g=r-n,w=g-o,(w>0||_)&&(k=++d.frame,m=g-d.time*1e3,d.time=g=g/1e3,o+=w+(w>=a?4:a-w),T=1),_||(l=c(f)),T)for(h=0;h<s.length;h++)s[h](g,m,k,x)};return d={time:0,frame:0,tick:function(){b(!0)},deltaRatio:function(x){return m/(1e3/(x||60))},wake:function(){vr&&(!Wn&&Vn()&&(Ve=Wn=window,Gn=Ve.document||{},Ae.gsap=Ee,(Ve.gsapVersions||(Ve.gsapVersions=[])).push(Ee.version),xr(un||Ve.GreenSockGlobals||!Ve.gsap&&Ve||{}),Lr.forEach(Zr)),u=typeof requestAnimationFrame<"u"&&requestAnimationFrame,l&&d.sleep(),c=u||function(x){return setTimeout(x,o-d.time*1e3+1|0)},Ut=1,b(2))},sleep:function(){(u?cancelAnimationFrame:clearTimeout)(l),Ut=0,c=Lt},lagSmoothing:function(x,y){e=x||1/0,t=Math.min(y||33,e)},fps:function(x){a=1e3/(x||240),o=d.time*1e3+a},add:function(x,y,_){var w=y?function(T,g,k,C){x(T,g,k,C),d.remove(w)}:x;return d.remove(x),s[_?"unshift":"push"](w),qt(),w},remove:function(x,y){~(y=s.indexOf(x))&&s.splice(y,1)&&h>=y&&h--},_listeners:s},d})(),qt=function(){return!Ut&&Fe.wake()},ee={},os=/^[\d.\-M][\d.\-,\s]/,ss=/["']/g,ls=function(e){for(var t={},n=e.substr(1,e.length-3).split(":"),r=n[0],a=1,o=n.length,s,l,c;a<o;a++)l=n[a],s=a!==o-1?l.lastIndexOf(","):l.length,c=l.substr(0,s),t[r]=isNaN(c)?c.replace(ss,"").trim():+c,r=l.substr(s+1).trim();return t},cs=function(e){var t=e.indexOf("(")+1,n=e.indexOf(")"),r=e.indexOf("(",t);return e.substring(t,~r&&r<n?e.indexOf(")",n+1):n)},us=function(e){var t=(e+"").split("("),n=ee[t[0]];return n&&t.length>1&&n.config?n.config.apply(null,~e.indexOf("{")?[ls(t[1])]:cs(e).split(",").map(Tr)):ee._CE&&os.test(e)?ee._CE("",e):n},Yr=function(e){return function(t){return 1-e(1-t)}},Ur=function i(e,t){for(var n=e._first,r;n;)n instanceof Oe?i(n,t):n.vars.yoyoEase&&(!n._yoyo||!n._repeat)&&n._yoyo!==t&&(n.timeline?i(n.timeline,t):(r=n._ease,n._ease=n._yEase,n._yEase=r,n._yoyo=t)),n=n._next},pt=function(e,t){return e&&(de(e)?e:ee[e]||us(e))||t},dt=function(e,t,n,r){n===void 0&&(n=function(l){return 1-t(1-l)}),r===void 0&&(r=function(l){return l<.5?t(l*2)/2:1-t((1-l)*2)/2});var a={easeIn:t,easeOut:n,easeInOut:r},o;return Se(e,function(s){ee[s]=Ae[s]=a,ee[o=s.toLowerCase()]=n;for(var l in a)ee[o+(l==="easeIn"?".in":l==="easeOut"?".out":".inOut")]=ee[s+"."+l]=a[l]}),a},Wr=function(e){return function(t){return t<.5?(1-e(1-t*2))/2:.5+e((t-.5)*2)/2}},ci=function i(e,t,n){var r=t>=1?t:1,a=(n||(e?.3:.45))/(t<1?t:1),o=a/$n*(Math.asin(1/r)||0),s=function(u){return u===1?1:r*Math.pow(2,-10*u)*zo((u-o)*a)+1},l=e==="out"?s:e==="in"?function(c){return 1-s(1-c)}:Wr(s);return a=$n/a,l.config=function(c,u){return i(e,c,u)},l},ui=function i(e,t){t===void 0&&(t=1.70158);var n=function(o){return o?--o*o*((t+1)*o+t)+1:0},r=e==="out"?n:e==="in"?function(a){return 1-n(1-a)}:Wr(n);return r.config=function(a){return i(e,a)},r};Se("Linear,Quad,Cubic,Quart,Quint,Strong",function(i,e){var t=e<5?e+1:e;dt(i+",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})}),ee.Linear.easeNone=ee.none=ee.Linear.easeIn,dt("Elastic",ci("in"),ci("out"),ci()),(function(i,e){var t=1/e,n=2*t,r=2.5*t,a=function(s){return s<t?i*s*s:s<n?i*Math.pow(s-1.5/e,2)+.75:s<r?i*(s-=2.25/e)*s+.9375:i*Math.pow(s-2.625/e,2)+.984375};dt("Bounce",function(o){return 1-a(1-o)},a)})(7.5625,2.75),dt("Expo",function(i){return Math.pow(2,10*(i-1))*i+i*i*i*i*i*i*(1-i)}),dt("Circ",function(i){return-(pr(1-i*i)-1)}),dt("Sine",function(i){return i===1?1:-Fo(i*Ro)+1}),dt("Back",ui("in"),ui("out"),ui()),ee.SteppedEase=ee.steps=Ae.SteppedEase={config:function(e,t){e===void 0&&(e=1);var n=1/e,r=e+(t?0:1),a=t?1:0,o=1-re;return function(s){return((r*$t(0,o,s)|0)+a)*n}}},wt.ease=ee["quad.out"],Se("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(i){return ei+=i+","+i+"Params,"});var Gr=function(e,t){this.id=Mo++,e._gsap=this,this.target=e,this.harness=t,this.get=t?t.get:_r,this.set=t?t.getSetter:hi},Wt=(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,Ct(this,+t.duration,1,1),this.data=t.data,le&&(this._ctx=le,le.data.push(this)),Ut||Fe.wake()}var e=i.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,Ct(this,this._repeat<0?n:(n-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(n,r){if(qt(),!arguments.length)return this._tTime;var a=this._dp;if(a&&a.smoothChildTiming&&this._ts){for(gn(this,n),!a._dp||a.parent||Sr(a,this);a&&a.parent;)a.parent._time!==a._start+(a._ts>=0?a._tTime/a._ts:(a.totalDuration()-a._tTime)/-a._ts)&&a.totalTime(a._tTime,!0),a=a.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&n<this._tDur||this._ts<0&&n>0||!this._tDur&&!n)&&Ye(this._dp,this,this._start-this._delay)}return(this._tTime!==n||!this._dur&&!r||this._initted&&Math.abs(this._zTime)===re||!n&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=n),wr(this,n,r)),this},e.time=function(n,r){return arguments.length?this.totalTime(Math.min(this.totalDuration(),n+Cr(this))%(this._dur+this._rDelay)||(n?this._dur:0),r):this._time},e.totalProgress=function(n,r){return arguments.length?this.totalTime(this.totalDuration()*n,r):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>=0&&this._initted?1:0},e.progress=function(n,r){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-n:n)+Cr(this),r):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},e.iteration=function(n,r){var a=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(n-1)*a,r):this._repeat?Ot(this._tTime,a)+1:1},e.timeScale=function(n,r){if(!arguments.length)return this._rts===-re?0:this._rts;if(this._rts===n)return this;var a=this.parent&&this._ts?vn(this.parent._time,this):this._tTime;return this._rts=+n||0,this._ts=this._ps||n===-re?0:this._rts,this.totalTime($t(-Math.abs(this._delay),this.totalDuration(),a),r!==!1),xn(this),Vo(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)!==re&&(this._tTime-=re)))),this):this._ps},e.startTime=function(n){if(arguments.length){this._start=n;var r=this.parent||this._dp;return r&&(r._sort||!this.parent)&&Ye(r,this,n-this._delay),this}return this._start},e.endTime=function(n){return this._start+(Ce(n)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},e.rawTime=function(n){var r=this.parent||this._dp;return r?n&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?vn(r.rawTime(n),this):this._tTime:this._tTime},e.revert=function(n){n===void 0&&(n=Zo);var r=we;return we=n,ni(this)&&(this.timeline&&this.timeline.revert(n),this.totalTime(-.01,n.suppressEvents)),this.data!=="nested"&&n.kill!==!1&&this.kill(),we=r,this},e.globalTime=function(n){for(var r=this,a=arguments.length?n:r.rawTime();r;)a=r._start+a/(Math.abs(r._ts)||1),r=r._dp;return!this.parent&&this._sat?this._sat.globalTime(n):a},e.repeat=function(n){return arguments.length?(this._repeat=n===1/0?-2:n,Pr(this)):this._repeat===-2?1/0:this._repeat},e.repeatDelay=function(n){if(arguments.length){var r=this._time;return this._rDelay=n,Pr(this),r?this.time(r):this}return this._rDelay},e.yoyo=function(n){return arguments.length?(this._yoyo=n,this):this._yoyo},e.seek=function(n,r){return this.totalTime(Ze(this,n),Ce(r))},e.restart=function(n,r){return this.play().totalTime(n?-this._delay:0,Ce(r)),this._dur||(this._zTime=-re),this},e.play=function(n,r){return n!=null&&this.seek(n,r),this.reversed(!1).paused(!1)},e.reverse=function(n,r){return n!=null&&this.seek(n||this.totalDuration(),r),this.reversed(!0).paused(!1)},e.pause=function(n,r){return n!=null&&this.seek(n,r),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?-re:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-re,this},e.isActive=function(){var n=this.parent||this._dp,r=this._start,a;return!!(!n||this._ts&&this._initted&&n.isActive()&&(a=n.rawTime(!0))>=r&&a<this.endTime(!0)-re)},e.eventCallback=function(n,r,a){var o=this.vars;return arguments.length>1?(r?(o[n]=r,a&&(o[n+"Params"]=a),n==="onUpdate"&&(this._onUpdate=r)):delete o[n],this):o[n]},e.then=function(n){var r=this;return new Promise(function(a){var o=de(n)?n:jr,s=function(){var c=r.then;r.then=null,de(o)&&(o=o(r))&&(o.then||o===r)&&(r.then=c),a(o),r.then=c};r._initted&&r.totalProgress()===1&&r._ts>=0||!r._tTime&&r._ts<0?s():r._prom=s})},e.kill=function(){Vt(this)},i})();Re(Wt.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:-re,_prom:0,_ps:!1,_rts:1});var Oe=(function(i){ur(e,i);function e(n,r){var a;return n===void 0&&(n={}),a=i.call(this,n)||this,a.labels={},a.smoothChildTiming=!!n.smoothChildTiming,a.autoRemoveChildren=!!n.autoRemoveChildren,a._sort=Ce(n.sortChildren),ce&&Ye(n.parent||ce,Ge(a),r),n.reversed&&a.reverse(),n.paused&&a.paused(!0),n.scrollTrigger&&qr(Ge(a),n.scrollTrigger),a}var t=e.prototype;return t.to=function(r,a,o){return Bt(0,arguments,this),this},t.from=function(r,a,o){return Bt(1,arguments,this),this},t.fromTo=function(r,a,o,s){return Bt(2,arguments,this),this},t.set=function(r,a,o){return a.duration=0,a.parent=this,Zt(a).repeatDelay||(a.repeat=0),a.immediateRender=!!a.immediateRender,new ve(r,a,Ze(this,o),1),this},t.call=function(r,a,o){return Ye(this,ve.delayedCall(0,r,a),o)},t.staggerTo=function(r,a,o,s,l,c,u){return o.duration=a,o.stagger=o.stagger||s,o.onComplete=c,o.onCompleteParams=u,o.parent=this,new ve(r,o,Ze(this,l)),this},t.staggerFrom=function(r,a,o,s,l,c,u){return o.runBackwards=1,Zt(o).immediateRender=Ce(o.immediateRender),this.staggerTo(r,a,o,s,l,c,u)},t.staggerFromTo=function(r,a,o,s,l,c,u,d){return s.startAt=o,Zt(s).immediateRender=Ce(s.immediateRender),this.staggerTo(r,a,s,l,c,u,d)},t.render=function(r,a,o){var s=this._time,l=this._dirty?this.totalDuration():this._tDur,c=this._dur,u=r<=0?0:he(r),d=this._zTime<0!=r<0&&(this._initted||!c),m,h,b,f,x,y,_,w,T,g,k,C;if(this!==ce&&u>l&&r>=0&&(u=l),u!==this._tTime||o||d){if(s!==this._time&&c&&(u+=this._time-s,r+=this._time-s),m=u,T=this._start,w=this._ts,y=!w,d&&(c||(s=this._zTime),(r||!a)&&(this._zTime=r)),this._repeat){if(k=this._yoyo,x=c+this._rDelay,this._repeat<-1&&r<0)return this.totalTime(x*100+r,a,o);if(m=he(u%x),u===l?(f=this._repeat,m=c):(g=he(u/x),f=~~g,f&&f===g&&(m=c,f--),m>c&&(m=c)),g=Ot(this._tTime,x),!s&&this._tTime&&g!==f&&this._tTime-g*x-this._dur<=0&&(g=f),k&&f&1&&(m=c-m,C=1),f!==g&&!this._lock){var q=k&&g&1,O=q===(k&&f&1);if(f<g&&(q=!q),s=q?0:u%c?c:u,this._lock=1,this.render(s||(C?0:he(f*x)),a,!c)._lock=0,this._tTime=u,!a&&this.parent&&Me(this,"onRepeat"),this.vars.repeatRefresh&&!C&&(this.invalidate()._lock=1),s&&s!==this._time||y!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(c=this._dur,l=this._tDur,O&&(this._lock=2,s=q?c:-1e-4,this.render(s,!0),this.vars.repeatRefresh&&!C&&this.invalidate()),this._lock=0,!this._ts&&!y)return this;Ur(this,C)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(_=Go(this,he(s),he(m)),_&&(u-=m-(m=_._start))),this._tTime=u,this._time=m,this._act=!w,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=r,s=0),!s&&u&&!a&&!g&&(Me(this,"onStart"),this._tTime!==u))return this;if(m>=s&&r>=0)for(h=this._first;h;){if(b=h._next,(h._act||m>=h._start)&&h._ts&&_!==h){if(h.parent!==this)return this.render(r,a,o);if(h.render(h._ts>0?(m-h._start)*h._ts:(h._dirty?h.totalDuration():h._tDur)+(m-h._start)*h._ts,a,o),m!==this._time||!this._ts&&!y){_=0,b&&(u+=this._zTime=-re);break}}h=b}else{h=this._last;for(var B=r<0?r:m;h;){if(b=h._prev,(h._act||B<=h._end)&&h._ts&&_!==h){if(h.parent!==this)return this.render(r,a,o);if(h.render(h._ts>0?(B-h._start)*h._ts:(h._dirty?h.totalDuration():h._tDur)+(B-h._start)*h._ts,a,o||we&&ni(h)),m!==this._time||!this._ts&&!y){_=0,b&&(u+=this._zTime=B?-re:re);break}}h=b}}if(_&&!a&&(this.pause(),_.render(m>=s?0:-re)._zTime=m>=s?1:-1,this._ts))return this._start=T,xn(this),this.render(r,a,o);this._onUpdate&&!a&&Me(this,"onUpdate",!0),(u===l&&this._tTime>=this.totalDuration()||!u&&s)&&(T===this._start||Math.abs(w)!==Math.abs(this._ts))&&(this._lock||((r||!c)&&(u===l&&this._ts>0||!u&&this._ts<0)&&tt(this,1),!a&&!(r<0&&!s)&&(u||s||!l)&&(Me(this,u===l&&r>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(u<l&&this.timeScale()>0)&&this._prom())))}return this},t.add=function(r,a){var o=this;if(Xe(a)||(a=Ze(this,a,r)),!(r instanceof Wt)){if(Te(r))return r.forEach(function(s){return o.add(s,a)}),this;if(be(r))return this.addLabel(r,a);if(de(r))r=ve.delayedCall(0,r);else return this}return this!==r?Ye(this,r,a):this},t.getChildren=function(r,a,o,s){r===void 0&&(r=!0),a===void 0&&(a=!0),o===void 0&&(o=!0),s===void 0&&(s=-Le);for(var l=[],c=this._first;c;)c._start>=s&&(c instanceof ve?a&&l.push(c):(o&&l.push(c),r&&l.push.apply(l,c.getChildren(!0,a,o)))),c=c._next;return l},t.getById=function(r){for(var a=this.getChildren(1,1,1),o=a.length;o--;)if(a[o].vars.id===r)return a[o]},t.remove=function(r){return be(r)?this.removeLabel(r):de(r)?this.killTweensOf(r):(r.parent===this&&hn(this,r),r===this._recent&&(this._recent=this._last),ut(this))},t.totalTime=function(r,a){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=he(Fe.time-(this._ts>0?r/this._ts:(this.totalDuration()-r)/-this._ts))),i.prototype.totalTime.call(this,r,a),this._forcing=0,this):this._tTime},t.addLabel=function(r,a){return this.labels[r]=Ze(this,a),this},t.removeLabel=function(r){return delete this.labels[r],this},t.addPause=function(r,a,o){var s=ve.delayedCall(0,a||Lt,o);return s.data="isPause",this._hasPause=1,Ye(this,s,Ze(this,r))},t.removePause=function(r){var a=this._first;for(r=Ze(this,r);a;)a._start===r&&a.data==="isPause"&&tt(a),a=a._next},t.killTweensOf=function(r,a,o){for(var s=this.getTweensOf(r,o),l=s.length;l--;)rt!==s[l]&&s[l].kill(r,a);return this},t.getTweensOf=function(r,a){for(var o=[],s=Be(r),l=this._first,c=Xe(a),u;l;)l instanceof ve?Bo(l._targets,s)&&(c?(!rt||l._initted&&l._ts)&&l.globalTime(0)<=a&&l.globalTime(l.totalDuration())>a:!a||l.isActive())&&o.push(l):(u=l.getTweensOf(s,a)).length&&o.push.apply(o,u),l=l._next;return o},t.tweenTo=function(r,a){a=a||{};var o=this,s=Ze(o,r),l=a,c=l.startAt,u=l.onStart,d=l.onStartParams,m=l.immediateRender,h,b=ve.to(o,Re({ease:a.ease||"none",lazy:!1,immediateRender:!1,time:s,overwrite:"auto",duration:a.duration||Math.abs((s-(c&&"time"in c?c.time:o._time))/o.timeScale())||re,onStart:function(){if(o.pause(),!h){var x=a.duration||Math.abs((s-(c&&"time"in c?c.time:o._time))/o.timeScale());b._dur!==x&&Ct(b,x,0,1).render(b._time,!0,!0),h=1}u&&u.apply(b,d||[])}},a));return m?b.render(0):b},t.tweenFromTo=function(r,a,o){return this.tweenTo(a,Re({startAt:{time:Ze(this,r)}},o))},t.recent=function(){return this._recent},t.nextLabel=function(r){return r===void 0&&(r=this._time),Ir(this,Ze(this,r))},t.previousLabel=function(r){return r===void 0&&(r=this._time),Ir(this,Ze(this,r),1)},t.currentLabel=function(r){return arguments.length?this.seek(r,!0):this.previousLabel(this._time+re)},t.shiftChildren=function(r,a,o){o===void 0&&(o=0);for(var s=this._first,l=this.labels,c;s;)s._start>=o&&(s._start+=r,s._end+=r),s=s._next;if(a)for(c in l)l[c]>=o&&(l[c]+=r);return ut(this)},t.invalidate=function(r){var a=this._first;for(this._lock=0;a;)a.invalidate(r),a=a._next;return i.prototype.invalidate.call(this,r)},t.clear=function(r){r===void 0&&(r=!0);for(var a=this._first,o;a;)o=a._next,this.remove(a),a=o;return this._dp&&(this._time=this._tTime=this._pTime=0),r&&(this.labels={}),ut(this)},t.totalDuration=function(r){var a=0,o=this,s=o._last,l=Le,c,u,d;if(arguments.length)return o.timeScale((o._repeat<0?o.duration():o.totalDuration())/(o.reversed()?-r:r));if(o._dirty){for(d=o.parent;s;)c=s._prev,s._dirty&&s.totalDuration(),u=s._start,u>l&&o._sort&&s._ts&&!o._lock?(o._lock=1,Ye(o,s,u-s._delay,1)._lock=0):l=u,u<0&&s._ts&&(a-=u,(!d&&!o._dp||d&&d.smoothChildTiming)&&(o._start+=u/o._ts,o._time-=u,o._tTime-=u),o.shiftChildren(-u,!1,-1/0),l=0),s._end>a&&s._ts&&(a=s._end),s=c;Ct(o,o===ce&&o._time>a?o._time:a,1,1),o._dirty=0}return o._tDur},e.updateRoot=function(r){if(ce._ts&&(wr(ce,vn(r,ce)),br=Fe.frame),Fe.frame>=yr){yr+=De.autoSleep||120;var a=ce._first;if((!a||!a._ts)&&De.autoSleep&&Fe._listeners.length<2){for(;a&&!a._ts;)a=a._next;a||Fe.sleep()}}},e})(Wt);Re(Oe.prototype,{_lock:0,_hasPause:0,_forcing:0});var ps=function(e,t,n,r,a,o,s){var l=new qe(this._pt,e,t,0,1,ta,null,a),c=0,u=0,d,m,h,b,f,x,y,_;for(l.b=n,l.e=r,n+="",r+="",(y=~r.indexOf("random("))&&(r=Ht(r)),o&&(_=[n,r],o(_,e,t),n=_[0],r=_[1]),m=n.match(Un)||[];d=Un.exec(r);)b=d[0],f=r.substring(c,d.index),h?h=(h+1)%5:f.substr(-5)==="rgba("&&(h=1),b!==m[u++]&&(x=parseFloat(m[u-1])||0,l._pt={_next:l._pt,p:f||u===1?f:",",s:x,c:b.charAt(1)==="="?jt(x,b)-x:parseFloat(b)-x,m:h&&h<4?Math.round:0},c=Un.lastIndex);return l.c=c<r.length?r.substring(c,r.length):"",l.fp=s,(mr.test(r)||y)&&(l.e=0),this._pt=l,l},pi=function(e,t,n,r,a,o,s,l,c,u){de(r)&&(r=r(a||0,e,o));var d=e[t],m=n!=="get"?n:de(d)?c?e[t.indexOf("set")||!de(e["get"+t.substr(3)])?t:"get"+t.substr(3)](c):e[t]():d,h=de(d)?c?vs:Qr:mi,b;if(be(r)&&(~r.indexOf("random(")&&(r=Ht(r)),r.charAt(1)==="="&&(b=jt(m,r)+(je(m)||0),(b||b===0)&&(r=b))),!u||m!==r||di)return!isNaN(m*r)&&r!==""?(b=new qe(this._pt,e,t,+m||0,r-(m||0),typeof d=="boolean"?gs:ea,0,h),c&&(b.fp=c),s&&b.modifier(s,this,e),this._pt=b):(!d&&!(t in e)&&Xn(t,r),ps.call(this,e,t,m,r,h,l||De.stringFilter,c))},ds=function(e,t,n,r,a){if(de(e)&&(e=Gt(e,a,t,n,r)),!He(e)||e.style&&e.nodeType||Te(e)||dr(e))return be(e)?Gt(e,a,t,n,r):e;var o={},s;for(s in e)o[s]=Gt(e[s],a,t,n,r);return o},Xr=function(e,t,n,r,a,o){var s,l,c,u;if(Ne[e]&&(s=new Ne[e]).init(a,s.rawVars?t[e]:ds(t[e],r,a,o,n),n,r,o)!==!1&&(n._pt=l=new qe(n._pt,a,e,0,1,s.render,s,0,s.priority),n!==St))for(c=n._ptLookup[n._targets.indexOf(a)],u=s._props.length;u--;)c[s._props[u]]=l;return s},rt,di,fi=function i(e,t,n){var r=e.vars,a=r.ease,o=r.startAt,s=r.immediateRender,l=r.lazy,c=r.onUpdate,u=r.runBackwards,d=r.yoyoEase,m=r.keyframes,h=r.autoRevert,b=e._dur,f=e._startAt,x=e._targets,y=e.parent,_=y&&y.data==="nested"?y.vars.targets:x,w=e._overwrite==="auto"&&!Bn,T=e.timeline,g,k,C,q,O,B,H,U,V,Z,Y,G,K;if(T&&(!m||!a)&&(a="none"),e._ease=pt(a,wt.ease),e._yEase=d?Yr(pt(d===!0?a:d,wt.ease)):0,d&&e._yoyo&&!e._repeat&&(d=e._yEase,e._yEase=e._ease,e._ease=d),e._from=!T&&!!r.runBackwards,!T||m&&!r.stagger){if(U=x[0]?ct(x[0]).harness:0,G=U&&r[U.prop],g=mn(r,Kn),f&&(f._zTime<0&&f.progress(1),t<0&&u&&s&&!h?f.render(-1,!0):f.revert(u&&b?pn:Lo),f._lazy=0),o){if(tt(e._startAt=ve.set(x,Re({data:"isStart",overwrite:!1,parent:y,immediateRender:!0,lazy:!f&&Ce(l),startAt:null,delay:0,onUpdate:c&&function(){return Me(e,"onUpdate")},stagger:0},o))),e._startAt._dp=0,e._startAt._sat=e,t<0&&(we||!s&&!h)&&e._startAt.revert(pn),s&&b&&t<=0&&n<=0){t&&(e._zTime=t);return}}else if(u&&b&&!f){if(t&&(s=!1),C=Re({overwrite:!1,data:"isFromStart",lazy:s&&!f&&Ce(l),immediateRender:s,stagger:0,parent:y},g),G&&(C[U.prop]=G),tt(e._startAt=ve.set(x,C)),e._startAt._dp=0,e._startAt._sat=e,t<0&&(we?e._startAt.revert(pn):e._startAt.render(-1,!0)),e._zTime=t,!s)i(e._startAt,re,re);else if(!t)return}for(e._pt=e._ptCache=0,l=b&&Ce(l)||l&&!b,k=0;k<x.length;k++){if(O=x[k],H=O._gsap||ti(x)[k]._gsap,e._ptLookup[k]=Z={},Jn[H.id]&&et.length&&fn(),Y=_===x?k:_.indexOf(O),U&&(V=new U).init(O,G||g,e,Y,_)!==!1&&(e._pt=q=new qe(e._pt,O,V.name,0,1,V.render,V,0,V.priority),V._props.forEach(function(se){Z[se]=q}),V.priority&&(B=1)),!U||G)for(C in g)Ne[C]&&(V=Xr(C,g,e,Y,O,_))?V.priority&&(B=1):Z[C]=q=pi.call(e,O,C,"get",g[C],Y,_,0,r.stringFilter);e._op&&e._op[k]&&e.kill(O,e._op[k]),w&&e._pt&&(rt=e,ce.killTweensOf(O,Z,e.globalTime(t)),K=!e.parent,rt=0),e._pt&&l&&(Jn[H.id]=1)}B&&na(e),e._onInit&&e._onInit(e)}e._onUpdate=c,e._initted=(!e._op||e._pt)&&!K,m&&t<=0&&T.render(Le,!0,!0)},fs=function(e,t,n,r,a,o,s,l){var c=(e._pt&&e._ptCache||(e._ptCache={}))[t],u,d,m,h;if(!c)for(c=e._ptCache[t]=[],m=e._ptLookup,h=e._targets.length;h--;){if(u=m[h][t],u&&u.d&&u.d._pt)for(u=u.d._pt;u&&u.p!==t&&u.fp!==t;)u=u._next;if(!u)return di=1,e.vars[t]="+=0",fi(e,s),di=0,l?It(t+" not eligible for reset"):1;c.push(u)}for(h=c.length;h--;)d=c[h],u=d._pt||d,u.s=(r||r===0)&&!a?r:u.s+(r||0)+o*u.c,u.c=n-u.s,d.e&&(d.e=fe(n)+je(d.e)),d.b&&(d.b=u.s+je(d.b))},ms=function(e,t){var n=e[0]?ct(e[0]).harness:0,r=n&&n.aliases,a,o,s,l;if(!r)return t;a=kt({},t);for(o in r)if(o in a)for(l=r[o].split(","),s=l.length;s--;)a[l[s]]=a[o];return a},hs=function(e,t,n,r){var a=t.ease||r||"power1.inOut",o,s;if(Te(t))s=n[e]||(n[e]=[]),t.forEach(function(l,c){return s.push({t:c/(t.length-1)*100,v:l,e:a})});else for(o in t)s=n[o]||(n[o]=[]),o==="ease"||s.push({t:parseFloat(e),v:t[o],e:a})},Gt=function(e,t,n,r,a){return de(e)?e.call(t,n,r,a):be(e)&&~e.indexOf("random(")?Ht(e):e},Kr=ei+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",Jr={};Se(Kr+",id,stagger,delay,duration,paused,scrollTrigger",function(i){return Jr[i]=1});var ve=(function(i){ur(e,i);function e(n,r,a,o){var s;typeof r=="number"&&(a.duration=r,r=a,a=null),s=i.call(this,o?r:Zt(r))||this;var l=s.vars,c=l.duration,u=l.delay,d=l.immediateRender,m=l.stagger,h=l.overwrite,b=l.keyframes,f=l.defaults,x=l.scrollTrigger,y=l.yoyoEase,_=r.parent||ce,w=(Te(n)||dr(n)?Xe(n[0]):"length"in r)?[n]:Be(n),T,g,k,C,q,O,B,H;if(s._targets=w.length?ti(w):It("GSAP target "+n+" not found. https://gsap.com",!De.nullTargetWarn)||[],s._ptLookup=[],s._overwrite=h,b||m||cn(c)||cn(u)){if(r=s.vars,T=s.timeline=new Oe({data:"nested",defaults:f||{},targets:_&&_.data==="nested"?_.vars.targets:w}),T.kill(),T.parent=T._dp=Ge(s),T._start=0,m||cn(c)||cn(u)){if(C=w.length,B=m&&Nr(m),He(m))for(q in m)~Kr.indexOf(q)&&(H||(H={}),H[q]=m[q]);for(g=0;g<C;g++)k=mn(r,Jr),k.stagger=0,y&&(k.yoyoEase=y),H&&kt(k,H),O=w[g],k.duration=+Gt(c,Ge(s),g,O,w),k.delay=(+Gt(u,Ge(s),g,O,w)||0)-s._delay,!m&&C===1&&k.delay&&(s._delay=u=k.delay,s._start+=u,k.delay=0),T.to(O,k,B?B(g,O,w):0),T._ease=ee.none;T.duration()?c=u=0:s.timeline=0}else if(b){Zt(Re(T.vars.defaults,{ease:"none"})),T._ease=pt(b.ease||r.ease||"none");var U=0,V,Z,Y;if(Te(b))b.forEach(function(G){return T.to(w,G,">")}),T.duration();else{k={};for(q in b)q==="ease"||q==="easeEach"||hs(q,b[q],k,b.easeEach);for(q in k)for(V=k[q].sort(function(G,K){return G.t-K.t}),U=0,g=0;g<V.length;g++)Z=V[g],Y={ease:Z.e,duration:(Z.t-(g?V[g-1].t:0))/100*c},Y[q]=Z.v,T.to(w,Y,U),U+=Y.duration;T.duration()<c&&T.to({},{duration:c-T.duration()})}}c||s.duration(c=T.duration())}else s.timeline=0;return h===!0&&!Bn&&(rt=Ge(s),ce.killTweensOf(w),rt=0),Ye(_,Ge(s),a),r.reversed&&s.reverse(),r.paused&&s.paused(!0),(d||!c&&!b&&s._start===he(_._time)&&Ce(d)&&Yo(Ge(s))&&_.data!=="nested")&&(s._tTime=-re,s.render(Math.max(0,-u)||0)),x&&qr(Ge(s),x),s}var t=e.prototype;return t.render=function(r,a,o){var s=this._time,l=this._tDur,c=this._dur,u=r<0,d=r>l-re&&!u?l:r<re?0:r,m,h,b,f,x,y,_,w,T;if(!c)Wo(this,r,a,o);else if(d!==this._tTime||!r||o||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==u||this._lazy){if(m=d,w=this.timeline,this._repeat){if(f=c+this._rDelay,this._repeat<-1&&u)return this.totalTime(f*100+r,a,o);if(m=he(d%f),d===l?(b=this._repeat,m=c):(x=he(d/f),b=~~x,b&&b===x?(m=c,b--):m>c&&(m=c)),y=this._yoyo&&b&1,y&&(T=this._yEase,m=c-m),x=Ot(this._tTime,f),m===s&&!o&&this._initted&&b===x)return this._tTime=d,this;b!==x&&(w&&this._yEase&&Ur(w,y),this.vars.repeatRefresh&&!y&&!this._lock&&m!==f&&this._initted&&(this._lock=o=1,this.render(he(f*b),!0).invalidate()._lock=0))}if(!this._initted){if(Er(this,u?r:m,o,a,d))return this._tTime=0,this;if(s!==this._time&&!(o&&this.vars.repeatRefresh&&b!==x))return this;if(c!==this._dur)return this.render(r,a,o)}if(this._tTime=d,this._time=m,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=_=(T||this._ease)(m/c),this._from&&(this.ratio=_=1-_),!s&&d&&!a&&!x&&(Me(this,"onStart"),this._tTime!==d))return this;for(h=this._pt;h;)h.r(_,h.d),h=h._next;w&&w.render(r<0?r:w._dur*w._ease(m/this._dur),a,o)||this._startAt&&(this._zTime=r),this._onUpdate&&!a&&(u&&ii(this,r,a,o),Me(this,"onUpdate")),this._repeat&&b!==x&&this.vars.onRepeat&&!a&&this.parent&&Me(this,"onRepeat"),(d===this._tDur||!d)&&this._tTime===d&&(u&&!this._onUpdate&&ii(this,r,!0,!0),(r||!c)&&(d===this._tDur&&this._ts>0||!d&&this._ts<0)&&tt(this,1),!a&&!(u&&!s)&&(d||s||y)&&(Me(this,d===l?"onComplete":"onReverseComplete",!0),this._prom&&!(d<l&&this.timeScale()>0)&&this._prom()))}return this},t.targets=function(){return this._targets},t.invalidate=function(r){return(!r||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(r),i.prototype.invalidate.call(this,r)},t.resetTo=function(r,a,o,s,l){Ut||Fe.wake(),this._ts||this.play();var c=Math.min(this._dur,(this._dp._time-this._start)*this._ts),u;return this._initted||fi(this,c),u=this._ease(c/this._dur),fs(this,r,a,o,s,u,c,l)?this.resetTo(r,a,o,s,1):(gn(this,0),this.parent||Or(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},t.kill=function(r,a){if(a===void 0&&(a="all"),!r&&(!a||a==="all"))return this._lazy=this._pt=0,this.parent?Vt(this):this.scrollTrigger&&this.scrollTrigger.kill(!!we),this;if(this.timeline){var o=this.timeline.totalDuration();return this.timeline.killTweensOf(r,a,rt&&rt.vars.overwrite!==!0)._first||Vt(this),this.parent&&o!==this.timeline.totalDuration()&&Ct(this,this._dur*this.timeline._tDur/o,0,1),this}var s=this._targets,l=r?Be(r):s,c=this._ptLookup,u=this._pt,d,m,h,b,f,x,y;if((!a||a==="all")&&Ho(s,l))return a==="all"&&(this._pt=0),Vt(this);for(d=this._op=this._op||[],a!=="all"&&(be(a)&&(f={},Se(a,function(_){return f[_]=1}),a=f),a=ms(s,a)),y=s.length;y--;)if(~l.indexOf(s[y])){m=c[y],a==="all"?(d[y]=a,b=m,h={}):(h=d[y]=d[y]||{},b=a);for(f in b)x=m&&m[f],x&&((!("kill"in x.d)||x.d.kill(f)===!0)&&hn(this,x,"_pt"),delete m[f]),h!=="all"&&(h[f]=1)}return this._initted&&!this._pt&&u&&Vt(this),this},e.to=function(r,a){return new e(r,a,arguments[2])},e.from=function(r,a){return Bt(1,arguments)},e.delayedCall=function(r,a,o,s){return new e(a,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:r,onComplete:a,onReverseComplete:a,onCompleteParams:o,onReverseCompleteParams:o,callbackScope:s})},e.fromTo=function(r,a,o){return Bt(2,arguments)},e.set=function(r,a){return a.duration=0,a.repeatDelay||(a.repeat=0),new e(r,a)},e.killTweensOf=function(r,a,o){return ce.killTweensOf(r,a,o)},e})(Wt);Re(ve.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),Se("staggerTo,staggerFrom,staggerFromTo",function(i){ve[i]=function(){var e=new Oe,t=ai.call(arguments,0);return t.splice(i==="staggerFromTo"?5:4,0,0),e[i].apply(e,t)}});var mi=function(e,t,n){return e[t]=n},Qr=function(e,t,n){return e[t](n)},vs=function(e,t,n,r){return e[t](r.fp,n)},xs=function(e,t,n){return e.setAttribute(t,n)},hi=function(e,t){return de(e[t])?Qr:Hn(e[t])&&e.setAttribute?xs:mi},ea=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e6)/1e6,t)},gs=function(e,t){return t.set(t.t,t.p,!!(t.s+t.c*e),t)},ta=function(e,t){var n=t._pt,r="";if(!e&&t.b)r=t.b;else if(e===1&&t.e)r=t.e;else{for(;n;)r=n.p+(n.m?n.m(n.s+n.c*e):Math.round((n.s+n.c*e)*1e4)/1e4)+r,n=n._next;r+=t.c}t.set(t.t,t.p,r,t)},vi=function(e,t){for(var n=t._pt;n;)n.r(e,n.d),n=n._next},bs=function(e,t,n,r){for(var a=this._pt,o;a;)o=a._next,a.p===r&&a.modifier(e,t,n),a=o},ys=function(e){for(var t=this._pt,n,r;t;)r=t._next,t.p===e&&!t.op||t.op===e?hn(this,t,"_pt"):t.dep||(n=1),t=r;return!n},_s=function(e,t,n,r){r.mSet(e,t,r.m.call(r.tween,n,r.mt),r)},na=function(e){for(var t=e._pt,n,r,a,o;t;){for(n=t._next,r=a;r&&r.pr>t.pr;)r=r._next;(t._prev=r?r._prev:o)?t._prev._next=t:a=t,(t._next=r)?r._prev=t:o=t,t=n}e._pt=a},qe=(function(){function i(t,n,r,a,o,s,l,c,u){this.t=n,this.s=a,this.c=o,this.p=r,this.r=s||ea,this.d=l||this,this.set=c||mi,this.pr=u||0,this._next=t,t&&(t._prev=this)}var e=i.prototype;return e.modifier=function(n,r,a){this.mSet=this.mSet||this.set,this.set=_s,this.m=n,this.mt=a,this.tween=r},i})();Se(ei+"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 Kn[i]=1}),Ae.TweenMax=Ae.TweenLite=ve,Ae.TimelineLite=Ae.TimelineMax=Oe,ce=new Oe({sortChildren:!1,defaults:wt,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),De.stringFilter=Vr;var ft=[],bn={},ws=[],ia=0,Ts=0,xi=function(e){return(bn[e]||ws).map(function(t){return t()})},gi=function(){var e=Date.now(),t=[];e-ia>2&&(xi("matchMediaInit"),ft.forEach(function(n){var r=n.queries,a=n.conditions,o,s,l,c;for(s in r)o=Ve.matchMedia(r[s]).matches,o&&(l=1),o!==a[s]&&(a[s]=o,c=1);c&&(n.revert(),l&&t.push(n))}),xi("matchMediaRevert"),t.forEach(function(n){return n.onMatch(n,function(r){return n.add(null,r)})}),ia=e,xi("matchMedia"))},ra=(function(){function i(t,n){this.selector=n&&oi(n),this.data=[],this._r=[],this.isReverted=!1,this.id=Ts++,t&&this.add(t)}var e=i.prototype;return e.add=function(n,r,a){de(n)&&(a=r,r=n,n=de);var o=this,s=function(){var c=le,u=o.selector,d;return c&&c!==o&&c.data.push(o),a&&(o.selector=oi(a)),le=o,d=r.apply(o,arguments),de(d)&&o._r.push(d),le=c,o.selector=u,o.isReverted=!1,d};return o.last=s,n===de?s(o,function(l){return o.add(null,l)}):n?o[n]=s:s},e.ignore=function(n){var r=le;le=null,n(this),le=r},e.getTweens=function(){var n=[];return this.data.forEach(function(r){return r instanceof i?n.push.apply(n,r.getTweens()):r instanceof ve&&!(r.parent&&r.parent.data==="nested")&&n.push(r)}),n},e.clear=function(){this._r.length=this.data.length=0},e.kill=function(n,r){var a=this;if(n?(function(){for(var s=a.getTweens(),l=a.data.length,c;l--;)c=a.data[l],c.data==="isFlip"&&(c.revert(),c.getChildren(!0,!0,!1).forEach(function(u){return s.splice(s.indexOf(u),1)}));for(s.map(function(u){return{g:u._dur||u._delay||u._sat&&!u._sat.vars.immediateRender?u.globalTime(0):-1/0,t:u}}).sort(function(u,d){return d.g-u.g||-1/0}).forEach(function(u){return u.t.revert(n)}),l=a.data.length;l--;)c=a.data[l],c instanceof Oe?c.data!=="nested"&&(c.scrollTrigger&&c.scrollTrigger.revert(),c.kill()):!(c instanceof ve)&&c.revert&&c.revert(n);a._r.forEach(function(u){return u(n,a)}),a.isReverted=!0})():this.data.forEach(function(s){return s.kill&&s.kill()}),this.clear(),r)for(var o=ft.length;o--;)ft[o].id===this.id&&ft.splice(o,1)},e.revert=function(n){this.kill(n||{})},i})(),js=(function(){function i(t){this.contexts=[],this.scope=t,le&&le.data.push(this)}var e=i.prototype;return e.add=function(n,r,a){He(n)||(n={matches:n});var o=new ra(0,a||this.scope),s=o.conditions={},l,c,u;le&&!o.selector&&(o.selector=le.selector),this.contexts.push(o),r=o.add("onMatch",r),o.queries=n;for(c in n)c==="all"?u=1:(l=Ve.matchMedia(n[c]),l&&(ft.indexOf(o)<0&&ft.push(o),(s[c]=l.matches)&&(u=1),l.addListener?l.addListener(gi):l.addEventListener("change",gi)));return u&&r(o,function(d){return o.add(null,d)}),this},e.revert=function(n){this.kill(n||{})},e.kill=function(n){this.contexts.forEach(function(r){return r.kill(n,!0)})},i})(),yn={registerPlugin:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];t.forEach(function(r){return Zr(r)})},timeline:function(e){return new Oe(e)},getTweensOf:function(e,t){return ce.getTweensOf(e,t)},getProperty:function(e,t,n,r){be(e)&&(e=Be(e)[0]);var a=ct(e||{}).get,o=n?jr:Tr;return n==="native"&&(n=""),e&&(t?o((Ne[t]&&Ne[t].get||a)(e,t,n,r)):function(s,l,c){return o((Ne[s]&&Ne[s].get||a)(e,s,l,c))})},quickSetter:function(e,t,n){if(e=Be(e),e.length>1){var r=e.map(function(u){return Ee.quickSetter(u,t,n)}),a=r.length;return function(u){for(var d=a;d--;)r[d](u)}}e=e[0]||{};var o=Ne[t],s=ct(e),l=s.harness&&(s.harness.aliases||{})[t]||t,c=o?function(u){var d=new o;St._pt=0,d.init(e,n?u+n:u,St,0,[e]),d.render(1,d),St._pt&&vi(1,St)}:s.set(e,l);return o?c:function(u){return c(e,l,n?u+n:u,s,1)}},quickTo:function(e,t,n){var r,a=Ee.to(e,Re((r={},r[t]="+=0.1",r.paused=!0,r.stagger=0,r),n||{})),o=function(l,c,u){return a.resetTo(t,l,c,u)};return o.tween=a,o},isTweening:function(e){return ce.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=pt(e.ease,wt.ease)),kr(wt,e||{})},config:function(e){return kr(De,e||{})},registerEffect:function(e){var t=e.name,n=e.effect,r=e.plugins,a=e.defaults,o=e.extendTimeline;(r||"").split(",").forEach(function(s){return s&&!Ne[s]&&!Ae[s]&&It(t+" effect requires "+s+" plugin.")}),Qn[t]=function(s,l,c){return n(Be(s),Re(l||{},a),c)},o&&(Oe.prototype[t]=function(s,l,c){return this.add(Qn[t](s,He(l)?l:(c=l)&&{},this),c)})},registerEase:function(e,t){ee[e]=pt(t)},parseEase:function(e,t){return arguments.length?pt(e,t):ee},getById:function(e){return ce.getById(e)},exportRoot:function(e,t){e===void 0&&(e={});var n=new Oe(e),r,a;for(n.smoothChildTiming=Ce(e.smoothChildTiming),ce.remove(n),n._dp=0,n._time=n._tTime=ce._time,r=ce._first;r;)a=r._next,(t||!(!r._dur&&r instanceof ve&&r.vars.onComplete===r._targets[0]))&&Ye(n,r,r._start-r._delay),r=a;return Ye(ce,n,0),n},context:function(e,t){return e?new ra(e,t):le},matchMedia:function(e){return new js(e)},matchMediaRefresh:function(){return ft.forEach(function(e){var t=e.conditions,n,r;for(r in t)t[r]&&(t[r]=!1,n=1);n&&e.revert()})||gi()},addEventListener:function(e,t){var n=bn[e]||(bn[e]=[]);~n.indexOf(t)||n.push(t)},removeEventListener:function(e,t){var n=bn[e],r=n&&n.indexOf(t);r>=0&&n.splice(r,1)},utils:{wrap:ns,wrapYoyo:is,distribute:Nr,random:Mr,snap:Rr,normalize:ts,getUnit:je,clamp:Ko,splitColor:Br,toArray:Be,selector:oi,mapRange:zr,pipe:Qo,unitize:es,interpolate:rs,shuffle:Ar},install:xr,effects:Qn,ticker:Fe,updateRoot:Oe.updateRoot,plugins:Ne,globalTimeline:ce,core:{PropTween:qe,globals:gr,Tween:ve,Timeline:Oe,Animation:Wt,getCache:ct,_removeLinkedListItem:hn,reverting:function(){return we},context:function(e){return e&&le&&(le.data.push(e),e._ctx=le),le},suppressOverwrites:function(e){return Bn=e}}};Se("to,from,fromTo,delayedCall,set,killTweensOf",function(i){return yn[i]=ve[i]}),Fe.add(Oe.updateRoot),St=yn.to({},{duration:0});var ks=function(e,t){for(var n=e._pt;n&&n.p!==t&&n.op!==t&&n.fp!==t;)n=n._next;return n},Os=function(e,t){var n=e._targets,r,a,o;for(r in t)for(a=n.length;a--;)o=e._ptLookup[a][r],o&&(o=o.d)&&(o._pt&&(o=ks(o,r)),o&&o.modifier&&o.modifier(t[r],e,n[a],r))},bi=function(e,t){return{name:e,headless:1,rawVars:1,init:function(r,a,o){o._onInit=function(s){var l,c;if(be(a)&&(l={},Se(a,function(u){return l[u]=1}),a=l),t){l={};for(c in a)l[c]=t(a[c]);a=l}Os(s,a)}}}},Ee=yn.registerPlugin({name:"attr",init:function(e,t,n,r,a){var o,s,l;this.tween=n;for(o in t)l=e.getAttribute(o)||"",s=this.add(e,"setAttribute",(l||0)+"",t[o],r,a,0,0,o),s.op=o,s.b=l,this._props.push(o)},render:function(e,t){for(var n=t._pt;n;)we?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)}},bi("roundProps",si),bi("modifiers"),bi("snap",Rr))||yn;ve.version=Oe.version=Ee.version="3.13.0",vr=1,Vn()&&qt(),ee.Power0,ee.Power1,ee.Power2,ee.Power3,ee.Power4,ee.Linear,ee.Quad,ee.Cubic,ee.Quart,ee.Quint,ee.Strong,ee.Elastic,ee.Back,ee.SteppedEase,ee.Bounce,ee.Sine,ee.Expo,ee.Circ;/*!
87
+ */var Ue={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},rn={duration:.5,overwrite:!1,delay:0},fi,Ae,me,Ke=1e8,ue=1/Ke,mi=Math.PI*2,rp=mi/4,ip=0,Xo=Math.sqrt,ap=Math.cos,op=Math.sin,Pe=function(e){return typeof e=="string"},ye=function(e){return typeof e=="function"},vt=function(e){return typeof e=="number"},hi=function(e){return typeof e>"u"},at=function(e){return typeof e=="object"},Fe=function(e){return e!==!1},vi=function(){return typeof window<"u"},wr=function(e){return ye(e)||Pe(e)},Go=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},Ne=Array.isArray,gi=/(?:-?\.?\d|\.)+/gi,Ko=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,an=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,xi=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,Jo=/[+-]=-?[.\d]+/,Qo=/[^,'"\[\]\s]+/gi,sp=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,ve,ot,yi,bi,Ze={},_r={},es,ts=function(e){return(_r=sn(e,Ze))&&$e},wi=function(e,t){return console.warn("Invalid property",e,"set to",t,"Missing plugin? gsap.registerPlugin()")},kn=function(e,t){return!t&&console.warn(e)},ns=function(e,t){return e&&(Ze[e]=t)&&_r&&(_r[e]=t)||Ze},Pn=function(){return 0},lp={suppressEvents:!0,isStart:!0,kill:!1},Tr={suppressEvents:!0,kill:!1},cp={suppressEvents:!0},_i={},Et=[],Ti={},rs,Ve={},Ei={},is=30,Er=[],Si="",Ci=function(e){var t=e[0],r,i;if(at(t)||ye(t)||(e=[e]),!(r=(t._gsap||{}).harness)){for(i=Er.length;i--&&!Er[i].targetTest(t););r=Er[i]}for(i=e.length;i--;)e[i]&&(e[i]._gsap||(e[i]._gsap=new Ns(e[i],r)))||e.splice(i,1);return e},Lt=function(e){return e._gsap||Ci(Qe(e))[0]._gsap},as=function(e,t,r){return(r=e[t])&&ye(r)?e[t]():hi(r)&&e.getAttribute&&e.getAttribute(t)||r},Le=function(e,t){return(e=e.split(",")).forEach(t)||e},we=function(e){return Math.round(e*1e5)/1e5||0},Ee=function(e){return Math.round(e*1e7)/1e7||0},on=function(e,t){var r=t.charAt(0),i=parseFloat(t.substr(2));return e=parseFloat(e),r==="+"?e+i:r==="-"?e-i:r==="*"?e*i:e/i},up=function(e,t){for(var r=t.length,i=0;e.indexOf(t[i])<0&&++i<r;);return i<r},Sr=function(){var e=Et.length,t=Et.slice(0),r,i;for(Ti={},Et.length=0,r=0;r<e;r++)i=t[r],i&&i._lazy&&(i.render(i._lazy[0],i._lazy[1],!0)._lazy=0)},ji=function(e){return!!(e._initted||e._startAt||e.add)},os=function(e,t,r,i){Et.length&&!Ae&&Sr(),e.render(t,r,!!(Ae&&t<0&&ji(e))),Et.length&&!Ae&&Sr()},ss=function(e){var t=parseFloat(e);return(t||t===0)&&(e+"").match(Qo).length<2?t:Pe(e)?e.trim():e},ls=function(e){return e},Ye=function(e,t){for(var r in t)r in e||(e[r]=t[r]);return e},dp=function(e){return function(t,r){for(var i in r)i in t||i==="duration"&&e||i==="ease"||(t[i]=r[i])}},sn=function(e,t){for(var r in t)e[r]=t[r];return e},cs=function n(e,t){for(var r in t)r!=="__proto__"&&r!=="constructor"&&r!=="prototype"&&(e[r]=at(t[r])?n(e[r]||(e[r]={}),t[r]):t[r]);return e},Cr=function(e,t){var r={},i;for(i in e)i in t||(r[i]=e[i]);return r},Dn=function(e){var t=e.parent||ve,r=e.keyframes?dp(Ne(e.keyframes)):Ye;if(Fe(e.inherit))for(;t;)r(e,t.vars.defaults),t=t.parent||t._dp;return e},pp=function(e,t){for(var r=e.length,i=r===t.length;i&&r--&&e[r]===t[r];);return r<0},us=function(e,t,r,i,a){var o=e[i],s;if(a)for(s=t[a];o&&o[a]>s;)o=o._prev;return o?(t._next=o._next,o._next=t):(t._next=e[r],e[r]=t),t._next?t._next._prev=t:e[i]=t,t._prev=o,t.parent=t._dp=e,t},jr=function(e,t,r,i){r===void 0&&(r="_first"),i===void 0&&(i="_last");var a=t._prev,o=t._next;a?a._next=o:e[r]===t&&(e[r]=o),o?o._prev=a:e[i]===t&&(e[i]=a),t._next=t._prev=t.parent=null},St=function(e,t){e.parent&&(!t||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},zt=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},fp=function(e){for(var t=e.parent;t&&t.parent;)t._dirty=1,t.totalDuration(),t=t.parent;return e},Oi=function(e,t,r,i){return e._startAt&&(Ae?e._startAt.revert(Tr):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(t,!0,i))},mp=function n(e){return!e||e._ts&&n(e.parent)},ds=function(e){return e._repeat?ln(e._tTime,e=e.duration()+e._rDelay)*e:0},ln=function(e,t){var r=Math.floor(e=Ee(e/t));return e&&r===e?r-1:r},Or=function(e,t){return(e-t._start)*t._ts+(t._ts>=0?0:t._dirty?t.totalDuration():t._tDur)},kr=function(e){return e._end=Ee(e._start+(e._tDur/Math.abs(e._ts||e._rts||ue)||0))},Pr=function(e,t){var r=e._dp;return r&&r.smoothChildTiming&&e._ts&&(e._start=Ee(r._time-(e._ts>0?t/e._ts:((e._dirty?e.totalDuration():e._tDur)-t)/-e._ts)),kr(e),r._dirty||zt(r,e)),e},ps=function(e,t){var r;if((t._time||!t._dur&&t._initted||t._start<e._time&&(t._dur||!t.add))&&(r=Or(e.rawTime(),t),(!t._dur||Nn(0,t.totalDuration(),r)-t._tTime>ue)&&t.render(r,!0)),zt(e,t)._dp&&e._initted&&e._time>=e._dur&&e._ts){if(e._dur<e.duration())for(r=e;r._dp;)r.rawTime()>=0&&r.totalTime(r._tTime),r=r._dp;e._zTime=-ue}},st=function(e,t,r,i){return t.parent&&St(t),t._start=Ee((vt(r)?r:r||e!==ve?Je(e,r,t):e._time)+t._delay),t._end=Ee(t._start+(t.totalDuration()/Math.abs(t.timeScale())||0)),us(e,t,"_first","_last",e._sort?"_start":0),ki(t)||(e._recent=t),i||ps(e,t),e._ts<0&&Pr(e,e._tTime),e},fs=function(e,t){return(Ze.ScrollTrigger||wi("scrollTrigger",t))&&Ze.ScrollTrigger.create(t,e)},ms=function(e,t,r,i,a){if(Fi(e,t,a),!e._initted)return 1;if(!r&&e._pt&&!Ae&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&rs!==Ge.frame)return Et.push(e),e._lazy=[a,i],1},hp=function n(e){var t=e.parent;return t&&t._ts&&t._initted&&!t._lock&&(t.rawTime()<0||n(t))},ki=function(e){var t=e.data;return t==="isFromStart"||t==="isStart"},vp=function(e,t,r,i){var a=e.ratio,o=t<0||!t&&(!e._start&&hp(e)&&!(!e._initted&&ki(e))||(e._ts<0||e._dp._ts<0)&&!ki(e))?0:1,s=e._rDelay,l=0,c,u,d;if(s&&e._repeat&&(l=Nn(0,e._tDur,t),u=ln(l,s),e._yoyo&&u&1&&(o=1-o),u!==ln(e._tTime,s)&&(a=1-o,e.vars.repeatRefresh&&e._initted&&e.invalidate())),o!==a||Ae||i||e._zTime===ue||!t&&e._zTime){if(!e._initted&&ms(e,t,i,r,l))return;for(d=e._zTime,e._zTime=t||(r?ue:0),r||(r=t&&!d),e.ratio=o,e._from&&(o=1-o),e._time=0,e._tTime=l,c=e._pt;c;)c.r(o,c.d),c=c._next;t<0&&Oi(e,t,r,!0),e._onUpdate&&!r&&Xe(e,"onUpdate"),l&&e._repeat&&!r&&e.parent&&Xe(e,"onRepeat"),(t>=e._tDur||t<0)&&e.ratio===o&&(o&&St(e,1),!r&&!Ae&&(Xe(e,o?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=t)},gp=function(e,t,r){var i;if(r>t)for(i=e._first;i&&i._start<=r;){if(i.data==="isPause"&&i._start>t)return i;i=i._next}else for(i=e._last;i&&i._start>=r;){if(i.data==="isPause"&&i._start<t)return i;i=i._prev}},cn=function(e,t,r,i){var a=e._repeat,o=Ee(t)||0,s=e._tTime/e._tDur;return s&&!i&&(e._time*=o/e._dur),e._dur=o,e._tDur=a?a<0?1e10:Ee(o*(a+1)+e._rDelay*a):o,s>0&&!i&&Pr(e,e._tTime=e._tDur*s),e.parent&&kr(e),r||zt(e.parent,e),e},hs=function(e){return e instanceof Me?zt(e):cn(e,e._dur)},xp={_start:0,endTime:Pn,totalDuration:Pn},Je=function n(e,t,r){var i=e.labels,a=e._recent||xp,o=e.duration()>=Ke?a.endTime(!1):e._dur,s,l,c;return Pe(t)&&(isNaN(t)||t in i)?(l=t.charAt(0),c=t.substr(-1)==="%",s=t.indexOf("="),l==="<"||l===">"?(s>=0&&(t=t.replace(/=/,"")),(l==="<"?a._start:a.endTime(a._repeat>=0))+(parseFloat(t.substr(1))||0)*(c?(s<0?a:r).totalDuration()/100:1)):s<0?(t in i||(i[t]=o),i[t]):(l=parseFloat(t.charAt(s-1)+t.substr(s+1)),c&&r&&(l=l/100*(Ne(r)?r[0]:r).totalDuration()),s>1?n(e,t.substr(0,s-1),r)+l:o+l)):t==null?o:+t},An=function(e,t,r){var i=vt(t[1]),a=(i?2:1)+(e<2?0:1),o=t[a],s,l;if(i&&(o.duration=t[1]),o.parent=r,e){for(s=o,l=r;l&&!("immediateRender"in s);)s=l.vars.defaults||{},l=Fe(l.vars.inherit)&&l.parent;o.immediateRender=Fe(s.immediateRender),e<2?o.runBackwards=1:o.startAt=t[a-1]}return new Se(t[0],o,t[a+1])},Ct=function(e,t){return e||e===0?t(e):t},Nn=function(e,t,r){return r<e?e:r>t?t:r},qe=function(e,t){return!Pe(e)||!(t=sp.exec(e))?"":t[1]},yp=function(e,t,r){return Ct(r,function(i){return Nn(e,t,i)})},Pi=[].slice,vs=function(e,t){return e&&at(e)&&"length"in e&&(!t&&!e.length||e.length-1 in e&&at(e[0]))&&!e.nodeType&&e!==ot},bp=function(e,t,r){return r===void 0&&(r=[]),e.forEach(function(i){var a;return Pe(i)&&!t||vs(i,1)?(a=r).push.apply(a,Qe(i)):r.push(i)})||r},Qe=function(e,t,r){return me&&!t&&me.selector?me.selector(e):Pe(e)&&!r&&(yi||!dn())?Pi.call((t||bi).querySelectorAll(e),0):Ne(e)?bp(e,r):vs(e)?Pi.call(e,0):e?[e]:[]},Di=function(e){return e=Qe(e)[0]||kn("Invalid scope")||{},function(t){var r=e.current||e.nativeElement||e;return Qe(t,r.querySelectorAll?r:r===e?kn("Invalid scope")||bi.createElement("div"):e)}},gs=function(e){return e.sort(function(){return .5-Math.random()})},xs=function(e){if(ye(e))return e;var t=at(e)?e:{each:e},r=$t(t.ease),i=t.from||0,a=parseFloat(t.base)||0,o={},s=i>0&&i<1,l=isNaN(i)||s,c=t.axis,u=i,d=i;return Pe(i)?u=d={center:.5,edges:.5,end:1}[i]||0:!s&&l&&(u=i[0],d=i[1]),function(m,h,g){var f=(g||t).length,v=o[f],x,_,T,w,y,k,C,O,j;if(!v){if(j=t.grid==="auto"?0:(t.grid||[1,Ke])[1],!j){for(C=-Ke;C<(C=g[j++].getBoundingClientRect().left)&&j<f;);j<f&&j--}for(v=o[f]=[],x=l?Math.min(j,f)*u-.5:i%j,_=j===Ke?0:l?f*d/j-.5:i/j|0,C=0,O=Ke,k=0;k<f;k++)T=k%j-x,w=_-(k/j|0),v[k]=y=c?Math.abs(c==="y"?w:T):Xo(T*T+w*w),y>C&&(C=y),y<O&&(O=y);i==="random"&&gs(v),v.max=C-O,v.min=O,v.v=f=(parseFloat(t.amount)||parseFloat(t.each)*(j>f?f-1:c?c==="y"?f/j:j:Math.max(j,f/j))||0)*(i==="edges"?-1:1),v.b=f<0?a-f:a,v.u=qe(t.amount||t.each)||0,r=r&&f<0?Ps(r):r}return f=(v[m]-v.min)/v.max||0,Ee(v.b+(r?r(f):f)*v.v)+v.u}},Ai=function(e){var t=Math.pow(10,((e+"").split(".")[1]||"").length);return function(r){var i=Ee(Math.round(parseFloat(r)/e)*e*t);return(i-i%1)/t+(vt(r)?0:qe(r))}},ys=function(e,t){var r=Ne(e),i,a;return!r&&at(e)&&(i=r=e.radius||Ke,e.values?(e=Qe(e.values),(a=!vt(e[0]))&&(i*=i)):e=Ai(e.increment)),Ct(t,r?ye(e)?function(o){return a=e(o),Math.abs(a-o)<=i?a:o}:function(o){for(var s=parseFloat(a?o.x:o),l=parseFloat(a?o.y:0),c=Ke,u=0,d=e.length,m,h;d--;)a?(m=e[d].x-s,h=e[d].y-l,m=m*m+h*h):m=Math.abs(e[d]-s),m<c&&(c=m,u=d);return u=!i||c<=i?e[u]:o,a||u===o||vt(o)?u:u+qe(o)}:Ai(e))},bs=function(e,t,r,i){return Ct(Ne(e)?!t:r===!0?!!(r=0):!i,function(){return Ne(e)?e[~~(Math.random()*e.length)]:(r=r||1e-5)&&(i=r<1?Math.pow(10,(r+"").length-2):1)&&Math.floor(Math.round((e-r/2+Math.random()*(t-e+r*.99))/r)*r*i)/i})},wp=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(i){return t.reduce(function(a,o){return o(a)},i)}},_p=function(e,t){return function(r){return e(parseFloat(r))+(t||qe(r))}},Tp=function(e,t,r){return _s(e,t,0,1,r)},ws=function(e,t,r){return Ct(r,function(i){return e[~~t(i)]})},Ep=function n(e,t,r){var i=t-e;return Ne(e)?ws(e,n(0,e.length),t):Ct(r,function(a){return(i+(a-e)%i)%i+e})},Sp=function n(e,t,r){var i=t-e,a=i*2;return Ne(e)?ws(e,n(0,e.length-1),t):Ct(r,function(o){return o=(a+(o-e)%a)%a||0,e+(o>i?a-o:o)})},qn=function(e){for(var t=0,r="",i,a,o,s;~(i=e.indexOf("random(",t));)o=e.indexOf(")",i),s=e.charAt(i+7)==="[",a=e.substr(i+7,o-i-7).match(s?Qo:gi),r+=e.substr(t,i-t)+bs(s?a:+a[0],s?0:+a[1],+a[2]||1e-5),t=o+1;return r+e.substr(t,e.length-t)},_s=function(e,t,r,i,a){var o=t-e,s=i-r;return Ct(a,function(l){return r+((l-e)/o*s||0)})},Cp=function n(e,t,r,i){var a=isNaN(e+t)?0:function(h){return(1-h)*e+h*t};if(!a){var o=Pe(e),s={},l,c,u,d,m;if(r===!0&&(i=1)&&(r=null),o)e={p:e},t={p:t};else if(Ne(e)&&!Ne(t)){for(u=[],d=e.length,m=d-2,c=1;c<d;c++)u.push(n(e[c-1],e[c]));d--,a=function(g){g*=d;var f=Math.min(m,~~g);return u[f](g-f)},r=t}else i||(e=sn(Ne(e)?[]:{},e));if(!u){for(l in t)Mi.call(s,e,l,"get",t[l]);a=function(g){return $i(g,s)||(o?e.p:e)}}}return Ct(r,a)},Ts=function(e,t,r){var i=e.labels,a=Ke,o,s,l;for(o in i)s=i[o]-t,s<0==!!r&&s&&a>(s=Math.abs(s))&&(l=o,a=s);return l},Xe=function(e,t,r){var i=e.vars,a=i[t],o=me,s=e._ctx,l,c,u;if(a)return l=i[t+"Params"],c=i.callbackScope||e,r&&Et.length&&Sr(),s&&(me=s),u=l?a.apply(c,l):a.call(c),me=o,u},Rn=function(e){return St(e),e.scrollTrigger&&e.scrollTrigger.kill(!!Ae),e.progress()<1&&Xe(e,"onInterrupt"),e},un,Es=[],Ss=function(e){if(e)if(e=!e.name&&e.default||e,vi()||e.headless){var t=e.name,r=ye(e),i=t&&!r&&e.init?function(){this._props=[]}:e,a={init:Pn,render:$i,add:Mi,kill:Bp,modifier:$p,rawVars:0},o={targetTest:0,get:0,getSetter:zi,aliases:{},register:0};if(dn(),e!==i){if(Ve[t])return;Ye(i,Ye(Cr(e,a),o)),sn(i.prototype,sn(a,Cr(e,o))),Ve[i.prop=t]=i,e.targetTest&&(Er.push(i),_i[t]=1),t=(t==="css"?"CSS":t.charAt(0).toUpperCase()+t.substr(1))+"Plugin"}ns(t,i),e.register&&e.register($e,i,ze)}else Es.push(e)},de=255,Mn={aqua:[0,de,de],lime:[0,de,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,de],navy:[0,0,128],white:[de,de,de],olive:[128,128,0],yellow:[de,de,0],orange:[de,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[de,0,0],pink:[de,192,203],cyan:[0,de,de],transparent:[de,de,de,0]},Ni=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)*de+.5|0},Cs=function(e,t,r){var i=e?vt(e)?[e>>16,e>>8&de,e&de]:0:Mn.black,a,o,s,l,c,u,d,m,h,g;if(!i){if(e.substr(-1)===","&&(e=e.substr(0,e.length-1)),Mn[e])i=Mn[e];else if(e.charAt(0)==="#"){if(e.length<6&&(a=e.charAt(1),o=e.charAt(2),s=e.charAt(3),e="#"+a+a+o+o+s+s+(e.length===5?e.charAt(4)+e.charAt(4):"")),e.length===9)return i=parseInt(e.substr(1,6),16),[i>>16,i>>8&de,i&de,parseInt(e.substr(7),16)/255];e=parseInt(e.substr(1),16),i=[e>>16,e>>8&de,e&de]}else if(e.substr(0,3)==="hsl"){if(i=g=e.match(gi),!t)l=+i[0]%360/360,c=+i[1]/100,u=+i[2]/100,o=u<=.5?u*(c+1):u+c-u*c,a=u*2-o,i.length>3&&(i[3]*=1),i[0]=Ni(l+1/3,a,o),i[1]=Ni(l,a,o),i[2]=Ni(l-1/3,a,o);else if(~e.indexOf("="))return i=e.match(Ko),r&&i.length<4&&(i[3]=1),i}else i=e.match(gi)||Mn.transparent;i=i.map(Number)}return t&&!g&&(a=i[0]/de,o=i[1]/de,s=i[2]/de,d=Math.max(a,o,s),m=Math.min(a,o,s),u=(d+m)/2,d===m?l=c=0:(h=d-m,c=u>.5?h/(2-d-m):h/(d+m),l=d===a?(o-s)/h+(o<s?6:0):d===o?(s-a)/h+2:(a-o)/h+4,l*=60),i[0]=~~(l+.5),i[1]=~~(c*100+.5),i[2]=~~(u*100+.5)),r&&i.length<4&&(i[3]=1),i},js=function(e){var t=[],r=[],i=-1;return e.split(jt).forEach(function(a){var o=a.match(an)||[];t.push.apply(t,o),r.push(i+=o.length+1)}),t.c=r,t},Os=function(e,t,r){var i="",a=(e+i).match(jt),o=t?"hsla(":"rgba(",s=0,l,c,u,d;if(!a)return e;if(a=a.map(function(m){return(m=Cs(m,t,1))&&o+(t?m[0]+","+m[1]+"%,"+m[2]+"%,"+m[3]:m.join(","))+")"}),r&&(u=js(e),l=r.c,l.join(i)!==u.c.join(i)))for(c=e.replace(jt,"1").split(an),d=c.length-1;s<d;s++)i+=c[s]+(~l.indexOf(s)?a.shift()||o+"0,0,0,0)":(u.length?u:a.length?a:r).shift());if(!c)for(c=e.split(jt),d=c.length-1;s<d;s++)i+=c[s]+a[s];return i+c[d]},jt=(function(){var n="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",e;for(e in Mn)n+="|"+e+"\\b";return new RegExp(n+")","gi")})(),jp=/hsl[a]?\(/,ks=function(e){var t=e.join(" "),r;if(jt.lastIndex=0,jt.test(t))return r=jp.test(t),e[1]=Os(e[1],r),e[0]=Os(e[0],r,js(e[1])),!0},In,Ge=(function(){var n=Date.now,e=500,t=33,r=n(),i=r,a=1e3/240,o=a,s=[],l,c,u,d,m,h,g=function f(v){var x=n()-i,_=v===!0,T,w,y,k;if((x>e||x<0)&&(r+=x-t),i+=x,y=i-r,T=y-o,(T>0||_)&&(k=++d.frame,m=y-d.time*1e3,d.time=y=y/1e3,o+=T+(T>=a?4:a-T),w=1),_||(l=c(f)),w)for(h=0;h<s.length;h++)s[h](y,m,k,v)};return d={time:0,frame:0,tick:function(){g(!0)},deltaRatio:function(v){return m/(1e3/(v||60))},wake:function(){es&&(!yi&&vi()&&(ot=yi=window,bi=ot.document||{},Ze.gsap=$e,(ot.gsapVersions||(ot.gsapVersions=[])).push($e.version),ts(_r||ot.GreenSockGlobals||!ot.gsap&&ot||{}),Es.forEach(Ss)),u=typeof requestAnimationFrame<"u"&&requestAnimationFrame,l&&d.sleep(),c=u||function(v){return setTimeout(v,o-d.time*1e3+1|0)},In=1,g(2))},sleep:function(){(u?cancelAnimationFrame:clearTimeout)(l),In=0,c=Pn},lagSmoothing:function(v,x){e=v||1/0,t=Math.min(x||33,e)},fps:function(v){a=1e3/(v||240),o=d.time*1e3+a},add:function(v,x,_){var T=x?function(w,y,k,C){v(w,y,k,C),d.remove(T)}:v;return d.remove(v),s[_?"unshift":"push"](T),dn(),T},remove:function(v,x){~(x=s.indexOf(v))&&s.splice(x,1)&&h>=x&&h--},_listeners:s},d})(),dn=function(){return!In&&Ge.wake()},ie={},Op=/^[\d.\-M][\d.\-,\s]/,kp=/["']/g,Pp=function(e){for(var t={},r=e.substr(1,e.length-3).split(":"),i=r[0],a=1,o=r.length,s,l,c;a<o;a++)l=r[a],s=a!==o-1?l.lastIndexOf(","):l.length,c=l.substr(0,s),t[i]=isNaN(c)?c.replace(kp,"").trim():+c,i=l.substr(s+1).trim();return t},Dp=function(e){var t=e.indexOf("(")+1,r=e.indexOf(")"),i=e.indexOf("(",t);return e.substring(t,~i&&i<r?e.indexOf(")",r+1):r)},Ap=function(e){var t=(e+"").split("("),r=ie[t[0]];return r&&t.length>1&&r.config?r.config.apply(null,~e.indexOf("{")?[Pp(t[1])]:Dp(e).split(",").map(ss)):ie._CE&&Op.test(e)?ie._CE("",e):r},Ps=function(e){return function(t){return 1-e(1-t)}},Ds=function n(e,t){for(var r=e._first,i;r;)r instanceof Me?n(r,t):r.vars.yoyoEase&&(!r._yoyo||!r._repeat)&&r._yoyo!==t&&(r.timeline?n(r.timeline,t):(i=r._ease,r._ease=r._yEase,r._yEase=i,r._yoyo=t)),r=r._next},$t=function(e,t){return e&&(ye(e)?e:ie[e]||Ap(e))||t},Bt=function(e,t,r,i){r===void 0&&(r=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 a={easeIn:t,easeOut:r,easeInOut:i},o;return Le(e,function(s){ie[s]=Ze[s]=a,ie[o=s.toLowerCase()]=r;for(var l in a)ie[o+(l==="easeIn"?".in":l==="easeOut"?".out":".inOut")]=ie[s+"."+l]=a[l]}),a},As=function(e){return function(t){return t<.5?(1-e(1-t*2))/2:.5+e((t-.5)*2)/2}},qi=function n(e,t,r){var i=t>=1?t:1,a=(r||(e?.3:.45))/(t<1?t:1),o=a/mi*(Math.asin(1/i)||0),s=function(u){return u===1?1:i*Math.pow(2,-10*u)*op((u-o)*a)+1},l=e==="out"?s:e==="in"?function(c){return 1-s(1-c)}:As(s);return a=mi/a,l.config=function(c,u){return n(e,c,u)},l},Ri=function n(e,t){t===void 0&&(t=1.70158);var r=function(o){return o?--o*o*((t+1)*o+t)+1:0},i=e==="out"?r:e==="in"?function(a){return 1-r(1-a)}:As(r);return i.config=function(a){return n(e,a)},i};Le("Linear,Quad,Cubic,Quart,Quint,Strong",function(n,e){var t=e<5?e+1:e;Bt(n+",Power"+(t-1),e?function(r){return Math.pow(r,t)}:function(r){return r},function(r){return 1-Math.pow(1-r,t)},function(r){return r<.5?Math.pow(r*2,t)/2:1-Math.pow((1-r)*2,t)/2})}),ie.Linear.easeNone=ie.none=ie.Linear.easeIn,Bt("Elastic",qi("in"),qi("out"),qi()),(function(n,e){var t=1/e,r=2*t,i=2.5*t,a=function(s){return s<t?n*s*s:s<r?n*Math.pow(s-1.5/e,2)+.75:s<i?n*(s-=2.25/e)*s+.9375:n*Math.pow(s-2.625/e,2)+.984375};Bt("Bounce",function(o){return 1-a(1-o)},a)})(7.5625,2.75),Bt("Expo",function(n){return Math.pow(2,10*(n-1))*n+n*n*n*n*n*n*(1-n)}),Bt("Circ",function(n){return-(Xo(1-n*n)-1)}),Bt("Sine",function(n){return n===1?1:-ap(n*rp)+1}),Bt("Back",Ri("in"),Ri("out"),Ri()),ie.SteppedEase=ie.steps=Ze.SteppedEase={config:function(e,t){e===void 0&&(e=1);var r=1/e,i=e+(t?0:1),a=t?1:0,o=1-ue;return function(s){return((i*Nn(0,o,s)|0)+a)*r}}},rn.ease=ie["quad.out"],Le("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(n){return Si+=n+","+n+"Params,"});var Ns=function(e,t){this.id=ip++,e._gsap=this,this.target=e,this.harness=t,this.get=t?t.get:as,this.set=t?t.getSetter:zi},Fn=(function(){function n(t){this.vars=t,this._delay=+t.delay||0,(this._repeat=t.repeat===1/0?-2:t.repeat||0)&&(this._rDelay=t.repeatDelay||0,this._yoyo=!!t.yoyo||!!t.yoyoEase),this._ts=1,cn(this,+t.duration,1,1),this.data=t.data,me&&(this._ctx=me,me.data.push(this)),In||Ge.wake()}var e=n.prototype;return e.delay=function(r){return r||r===0?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+r-this._delay),this._delay=r,this):this._delay},e.duration=function(r){return arguments.length?this.totalDuration(this._repeat>0?r+(r+this._rDelay)*this._repeat:r):this.totalDuration()&&this._dur},e.totalDuration=function(r){return arguments.length?(this._dirty=0,cn(this,this._repeat<0?r:(r-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(r,i){if(dn(),!arguments.length)return this._tTime;var a=this._dp;if(a&&a.smoothChildTiming&&this._ts){for(Pr(this,r),!a._dp||a.parent||ps(a,this);a&&a.parent;)a.parent._time!==a._start+(a._ts>=0?a._tTime/a._ts:(a.totalDuration()-a._tTime)/-a._ts)&&a.totalTime(a._tTime,!0),a=a.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&r<this._tDur||this._ts<0&&r>0||!this._tDur&&!r)&&st(this._dp,this,this._start-this._delay)}return(this._tTime!==r||!this._dur&&!i||this._initted&&Math.abs(this._zTime)===ue||!r&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=r),os(this,r,i)),this},e.time=function(r,i){return arguments.length?this.totalTime(Math.min(this.totalDuration(),r+ds(this))%(this._dur+this._rDelay)||(r?this._dur:0),i):this._time},e.totalProgress=function(r,i){return arguments.length?this.totalTime(this.totalDuration()*r,i):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>=0&&this._initted?1:0},e.progress=function(r,i){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-r:r)+ds(this),i):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},e.iteration=function(r,i){var a=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(r-1)*a,i):this._repeat?ln(this._tTime,a)+1:1},e.timeScale=function(r,i){if(!arguments.length)return this._rts===-ue?0:this._rts;if(this._rts===r)return this;var a=this.parent&&this._ts?Or(this.parent._time,this):this._tTime;return this._rts=+r||0,this._ts=this._ps||r===-ue?0:this._rts,this.totalTime(Nn(-Math.abs(this._delay),this.totalDuration(),a),i!==!1),kr(this),fp(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):(dn(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==ue&&(this._tTime-=ue)))),this):this._ps},e.startTime=function(r){if(arguments.length){this._start=r;var i=this.parent||this._dp;return i&&(i._sort||!this.parent)&&st(i,this,r-this._delay),this}return this._start},e.endTime=function(r){return this._start+(Fe(r)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},e.rawTime=function(r){var i=this.parent||this._dp;return i?r&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?Or(i.rawTime(r),this):this._tTime:this._tTime},e.revert=function(r){r===void 0&&(r=cp);var i=Ae;return Ae=r,ji(this)&&(this.timeline&&this.timeline.revert(r),this.totalTime(-.01,r.suppressEvents)),this.data!=="nested"&&r.kill!==!1&&this.kill(),Ae=i,this},e.globalTime=function(r){for(var i=this,a=arguments.length?r:i.rawTime();i;)a=i._start+a/(Math.abs(i._ts)||1),i=i._dp;return!this.parent&&this._sat?this._sat.globalTime(r):a},e.repeat=function(r){return arguments.length?(this._repeat=r===1/0?-2:r,hs(this)):this._repeat===-2?1/0:this._repeat},e.repeatDelay=function(r){if(arguments.length){var i=this._time;return this._rDelay=r,hs(this),i?this.time(i):this}return this._rDelay},e.yoyo=function(r){return arguments.length?(this._yoyo=r,this):this._yoyo},e.seek=function(r,i){return this.totalTime(Je(this,r),Fe(i))},e.restart=function(r,i){return this.play().totalTime(r?-this._delay:0,Fe(i)),this._dur||(this._zTime=-ue),this},e.play=function(r,i){return r!=null&&this.seek(r,i),this.reversed(!1).paused(!1)},e.reverse=function(r,i){return r!=null&&this.seek(r||this.totalDuration(),i),this.reversed(!0).paused(!1)},e.pause=function(r,i){return r!=null&&this.seek(r,i),this.paused(!0)},e.resume=function(){return this.paused(!1)},e.reversed=function(r){return arguments.length?(!!r!==this.reversed()&&this.timeScale(-this._rts||(r?-ue:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-ue,this},e.isActive=function(){var r=this.parent||this._dp,i=this._start,a;return!!(!r||this._ts&&this._initted&&r.isActive()&&(a=r.rawTime(!0))>=i&&a<this.endTime(!0)-ue)},e.eventCallback=function(r,i,a){var o=this.vars;return arguments.length>1?(i?(o[r]=i,a&&(o[r+"Params"]=a),r==="onUpdate"&&(this._onUpdate=i)):delete o[r],this):o[r]},e.then=function(r){var i=this;return new Promise(function(a){var o=ye(r)?r:ls,s=function(){var c=i.then;i.then=null,ye(o)&&(o=o(i))&&(o.then||o===i)&&(i.then=c),a(o),i.then=c};i._initted&&i.totalProgress()===1&&i._ts>=0||!i._tTime&&i._ts<0?s():i._prom=s})},e.kill=function(){Rn(this)},n})();Ye(Fn.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-ue,_prom:0,_ps:!1,_rts:1});var Me=(function(n){Yo(e,n);function e(r,i){var a;return r===void 0&&(r={}),a=n.call(this,r)||this,a.labels={},a.smoothChildTiming=!!r.smoothChildTiming,a.autoRemoveChildren=!!r.autoRemoveChildren,a._sort=Fe(r.sortChildren),ve&&st(r.parent||ve,ht(a),i),r.reversed&&a.reverse(),r.paused&&a.paused(!0),r.scrollTrigger&&fs(ht(a),r.scrollTrigger),a}var t=e.prototype;return t.to=function(i,a,o){return An(0,arguments,this),this},t.from=function(i,a,o){return An(1,arguments,this),this},t.fromTo=function(i,a,o,s){return An(2,arguments,this),this},t.set=function(i,a,o){return a.duration=0,a.parent=this,Dn(a).repeatDelay||(a.repeat=0),a.immediateRender=!!a.immediateRender,new Se(i,a,Je(this,o),1),this},t.call=function(i,a,o){return st(this,Se.delayedCall(0,i,a),o)},t.staggerTo=function(i,a,o,s,l,c,u){return o.duration=a,o.stagger=o.stagger||s,o.onComplete=c,o.onCompleteParams=u,o.parent=this,new Se(i,o,Je(this,l)),this},t.staggerFrom=function(i,a,o,s,l,c,u){return o.runBackwards=1,Dn(o).immediateRender=Fe(o.immediateRender),this.staggerTo(i,a,o,s,l,c,u)},t.staggerFromTo=function(i,a,o,s,l,c,u,d){return s.startAt=o,Dn(s).immediateRender=Fe(s.immediateRender),this.staggerTo(i,a,s,l,c,u,d)},t.render=function(i,a,o){var s=this._time,l=this._dirty?this.totalDuration():this._tDur,c=this._dur,u=i<=0?0:Ee(i),d=this._zTime<0!=i<0&&(this._initted||!c),m,h,g,f,v,x,_,T,w,y,k,C;if(this!==ve&&u>l&&i>=0&&(u=l),u!==this._tTime||o||d){if(s!==this._time&&c&&(u+=this._time-s,i+=this._time-s),m=u,w=this._start,T=this._ts,x=!T,d&&(c||(s=this._zTime),(i||!a)&&(this._zTime=i)),this._repeat){if(k=this._yoyo,v=c+this._rDelay,this._repeat<-1&&i<0)return this.totalTime(v*100+i,a,o);if(m=Ee(u%v),u===l?(f=this._repeat,m=c):(y=Ee(u/v),f=~~y,f&&f===y&&(m=c,f--),m>c&&(m=c)),y=ln(this._tTime,v),!s&&this._tTime&&y!==f&&this._tTime-y*v-this._dur<=0&&(y=f),k&&f&1&&(m=c-m,C=1),f!==y&&!this._lock){var O=k&&y&1,j=O===(k&&f&1);if(f<y&&(O=!O),s=O?0:u%c?c:u,this._lock=1,this.render(s||(C?0:Ee(f*v)),a,!c)._lock=0,this._tTime=u,!a&&this.parent&&Xe(this,"onRepeat"),this.vars.repeatRefresh&&!C&&(this.invalidate()._lock=1),s&&s!==this._time||x!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(c=this._dur,l=this._tDur,j&&(this._lock=2,s=O?c:-1e-4,this.render(s,!0),this.vars.repeatRefresh&&!C&&this.invalidate()),this._lock=0,!this._ts&&!x)return this;Ds(this,C)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(_=gp(this,Ee(s),Ee(m)),_&&(u-=m-(m=_._start))),this._tTime=u,this._time=m,this._act=!T,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=i,s=0),!s&&u&&!a&&!y&&(Xe(this,"onStart"),this._tTime!==u))return this;if(m>=s&&i>=0)for(h=this._first;h;){if(g=h._next,(h._act||m>=h._start)&&h._ts&&_!==h){if(h.parent!==this)return this.render(i,a,o);if(h.render(h._ts>0?(m-h._start)*h._ts:(h._dirty?h.totalDuration():h._tDur)+(m-h._start)*h._ts,a,o),m!==this._time||!this._ts&&!x){_=0,g&&(u+=this._zTime=-ue);break}}h=g}else{h=this._last;for(var L=i<0?i:m;h;){if(g=h._prev,(h._act||L<=h._end)&&h._ts&&_!==h){if(h.parent!==this)return this.render(i,a,o);if(h.render(h._ts>0?(L-h._start)*h._ts:(h._dirty?h.totalDuration():h._tDur)+(L-h._start)*h._ts,a,o||Ae&&ji(h)),m!==this._time||!this._ts&&!x){_=0,g&&(u+=this._zTime=L?-ue:ue);break}}h=g}}if(_&&!a&&(this.pause(),_.render(m>=s?0:-ue)._zTime=m>=s?1:-1,this._ts))return this._start=w,kr(this),this.render(i,a,o);this._onUpdate&&!a&&Xe(this,"onUpdate",!0),(u===l&&this._tTime>=this.totalDuration()||!u&&s)&&(w===this._start||Math.abs(T)!==Math.abs(this._ts))&&(this._lock||((i||!c)&&(u===l&&this._ts>0||!u&&this._ts<0)&&St(this,1),!a&&!(i<0&&!s)&&(u||s||!l)&&(Xe(this,u===l&&i>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(u<l&&this.timeScale()>0)&&this._prom())))}return this},t.add=function(i,a){var o=this;if(vt(a)||(a=Je(this,a,i)),!(i instanceof Fn)){if(Ne(i))return i.forEach(function(s){return o.add(s,a)}),this;if(Pe(i))return this.addLabel(i,a);if(ye(i))i=Se.delayedCall(0,i);else return this}return this!==i?st(this,i,a):this},t.getChildren=function(i,a,o,s){i===void 0&&(i=!0),a===void 0&&(a=!0),o===void 0&&(o=!0),s===void 0&&(s=-Ke);for(var l=[],c=this._first;c;)c._start>=s&&(c instanceof Se?a&&l.push(c):(o&&l.push(c),i&&l.push.apply(l,c.getChildren(!0,a,o)))),c=c._next;return l},t.getById=function(i){for(var a=this.getChildren(1,1,1),o=a.length;o--;)if(a[o].vars.id===i)return a[o]},t.remove=function(i){return Pe(i)?this.removeLabel(i):ye(i)?this.killTweensOf(i):(i.parent===this&&jr(this,i),i===this._recent&&(this._recent=this._last),zt(this))},t.totalTime=function(i,a){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=Ee(Ge.time-(this._ts>0?i/this._ts:(this.totalDuration()-i)/-this._ts))),n.prototype.totalTime.call(this,i,a),this._forcing=0,this):this._tTime},t.addLabel=function(i,a){return this.labels[i]=Je(this,a),this},t.removeLabel=function(i){return delete this.labels[i],this},t.addPause=function(i,a,o){var s=Se.delayedCall(0,a||Pn,o);return s.data="isPause",this._hasPause=1,st(this,s,Je(this,i))},t.removePause=function(i){var a=this._first;for(i=Je(this,i);a;)a._start===i&&a.data==="isPause"&&St(a),a=a._next},t.killTweensOf=function(i,a,o){for(var s=this.getTweensOf(i,o),l=s.length;l--;)Ot!==s[l]&&s[l].kill(i,a);return this},t.getTweensOf=function(i,a){for(var o=[],s=Qe(i),l=this._first,c=vt(a),u;l;)l instanceof Se?up(l._targets,s)&&(c?(!Ot||l._initted&&l._ts)&&l.globalTime(0)<=a&&l.globalTime(l.totalDuration())>a:!a||l.isActive())&&o.push(l):(u=l.getTweensOf(s,a)).length&&o.push.apply(o,u),l=l._next;return o},t.tweenTo=function(i,a){a=a||{};var o=this,s=Je(o,i),l=a,c=l.startAt,u=l.onStart,d=l.onStartParams,m=l.immediateRender,h,g=Se.to(o,Ye({ease:a.ease||"none",lazy:!1,immediateRender:!1,time:s,overwrite:"auto",duration:a.duration||Math.abs((s-(c&&"time"in c?c.time:o._time))/o.timeScale())||ue,onStart:function(){if(o.pause(),!h){var v=a.duration||Math.abs((s-(c&&"time"in c?c.time:o._time))/o.timeScale());g._dur!==v&&cn(g,v,0,1).render(g._time,!0,!0),h=1}u&&u.apply(g,d||[])}},a));return m?g.render(0):g},t.tweenFromTo=function(i,a,o){return this.tweenTo(a,Ye({startAt:{time:Je(this,i)}},o))},t.recent=function(){return this._recent},t.nextLabel=function(i){return i===void 0&&(i=this._time),Ts(this,Je(this,i))},t.previousLabel=function(i){return i===void 0&&(i=this._time),Ts(this,Je(this,i),1)},t.currentLabel=function(i){return arguments.length?this.seek(i,!0):this.previousLabel(this._time+ue)},t.shiftChildren=function(i,a,o){o===void 0&&(o=0);for(var s=this._first,l=this.labels,c;s;)s._start>=o&&(s._start+=i,s._end+=i),s=s._next;if(a)for(c in l)l[c]>=o&&(l[c]+=i);return zt(this)},t.invalidate=function(i){var a=this._first;for(this._lock=0;a;)a.invalidate(i),a=a._next;return n.prototype.invalidate.call(this,i)},t.clear=function(i){i===void 0&&(i=!0);for(var a=this._first,o;a;)o=a._next,this.remove(a),a=o;return this._dp&&(this._time=this._tTime=this._pTime=0),i&&(this.labels={}),zt(this)},t.totalDuration=function(i){var a=0,o=this,s=o._last,l=Ke,c,u,d;if(arguments.length)return o.timeScale((o._repeat<0?o.duration():o.totalDuration())/(o.reversed()?-i:i));if(o._dirty){for(d=o.parent;s;)c=s._prev,s._dirty&&s.totalDuration(),u=s._start,u>l&&o._sort&&s._ts&&!o._lock?(o._lock=1,st(o,s,u-s._delay,1)._lock=0):l=u,u<0&&s._ts&&(a-=u,(!d&&!o._dp||d&&d.smoothChildTiming)&&(o._start+=u/o._ts,o._time-=u,o._tTime-=u),o.shiftChildren(-u,!1,-1/0),l=0),s._end>a&&s._ts&&(a=s._end),s=c;cn(o,o===ve&&o._time>a?o._time:a,1,1),o._dirty=0}return o._tDur},e.updateRoot=function(i){if(ve._ts&&(os(ve,Or(i,ve)),rs=Ge.frame),Ge.frame>=is){is+=Ue.autoSleep||120;var a=ve._first;if((!a||!a._ts)&&Ue.autoSleep&&Ge._listeners.length<2){for(;a&&!a._ts;)a=a._next;a||Ge.sleep()}}},e})(Fn);Ye(Me.prototype,{_lock:0,_hasPause:0,_forcing:0});var Np=function(e,t,r,i,a,o,s){var l=new ze(this._pt,e,t,0,1,Ls,null,a),c=0,u=0,d,m,h,g,f,v,x,_;for(l.b=r,l.e=i,r+="",i+="",(x=~i.indexOf("random("))&&(i=qn(i)),o&&(_=[r,i],o(_,e,t),r=_[0],i=_[1]),m=r.match(xi)||[];d=xi.exec(i);)g=d[0],f=i.substring(c,d.index),h?h=(h+1)%5:f.substr(-5)==="rgba("&&(h=1),g!==m[u++]&&(v=parseFloat(m[u-1])||0,l._pt={_next:l._pt,p:f||u===1?f:",",s:v,c:g.charAt(1)==="="?on(v,g)-v:parseFloat(g)-v,m:h&&h<4?Math.round:0},c=xi.lastIndex);return l.c=c<i.length?i.substring(c,i.length):"",l.fp=s,(Jo.test(i)||x)&&(l.e=0),this._pt=l,l},Mi=function(e,t,r,i,a,o,s,l,c,u){ye(i)&&(i=i(a||0,e,o));var d=e[t],m=r!=="get"?r:ye(d)?c?e[t.indexOf("set")||!ye(e["get"+t.substr(3)])?t:"get"+t.substr(3)](c):e[t]():d,h=ye(d)?c?Fp:Is:Li,g;if(Pe(i)&&(~i.indexOf("random(")&&(i=qn(i)),i.charAt(1)==="="&&(g=on(m,i)+(qe(m)||0),(g||g===0)&&(i=g))),!u||m!==i||Ii)return!isNaN(m*i)&&i!==""?(g=new ze(this._pt,e,t,+m||0,i-(m||0),typeof d=="boolean"?zp:Fs,0,h),c&&(g.fp=c),s&&g.modifier(s,this,e),this._pt=g):(!d&&!(t in e)&&wi(t,i),Np.call(this,e,t,m,i,h,l||Ue.stringFilter,c))},qp=function(e,t,r,i,a){if(ye(e)&&(e=Ln(e,a,t,r,i)),!at(e)||e.style&&e.nodeType||Ne(e)||Go(e))return Pe(e)?Ln(e,a,t,r,i):e;var o={},s;for(s in e)o[s]=Ln(e[s],a,t,r,i);return o},qs=function(e,t,r,i,a,o){var s,l,c,u;if(Ve[e]&&(s=new Ve[e]).init(a,s.rawVars?t[e]:qp(t[e],i,a,o,r),r,i,o)!==!1&&(r._pt=l=new ze(r._pt,a,e,0,1,s.render,s,0,s.priority),r!==un))for(c=r._ptLookup[r._targets.indexOf(a)],u=s._props.length;u--;)c[s._props[u]]=l;return s},Ot,Ii,Fi=function n(e,t,r){var i=e.vars,a=i.ease,o=i.startAt,s=i.immediateRender,l=i.lazy,c=i.onUpdate,u=i.runBackwards,d=i.yoyoEase,m=i.keyframes,h=i.autoRevert,g=e._dur,f=e._startAt,v=e._targets,x=e.parent,_=x&&x.data==="nested"?x.vars.targets:v,T=e._overwrite==="auto"&&!fi,w=e.timeline,y,k,C,O,j,L,H,V,D,$,U,Y,X;if(w&&(!m||!a)&&(a="none"),e._ease=$t(a,rn.ease),e._yEase=d?Ps($t(d===!0?a:d,rn.ease)):0,d&&e._yoyo&&!e._repeat&&(d=e._yEase,e._yEase=e._ease,e._ease=d),e._from=!w&&!!i.runBackwards,!w||m&&!i.stagger){if(V=v[0]?Lt(v[0]).harness:0,Y=V&&i[V.prop],y=Cr(i,_i),f&&(f._zTime<0&&f.progress(1),t<0&&u&&s&&!h?f.render(-1,!0):f.revert(u&&g?Tr:lp),f._lazy=0),o){if(St(e._startAt=Se.set(v,Ye({data:"isStart",overwrite:!1,parent:x,immediateRender:!0,lazy:!f&&Fe(l),startAt:null,delay:0,onUpdate:c&&function(){return Xe(e,"onUpdate")},stagger:0},o))),e._startAt._dp=0,e._startAt._sat=e,t<0&&(Ae||!s&&!h)&&e._startAt.revert(Tr),s&&g&&t<=0&&r<=0){t&&(e._zTime=t);return}}else if(u&&g&&!f){if(t&&(s=!1),C=Ye({overwrite:!1,data:"isFromStart",lazy:s&&!f&&Fe(l),immediateRender:s,stagger:0,parent:x},y),Y&&(C[V.prop]=Y),St(e._startAt=Se.set(v,C)),e._startAt._dp=0,e._startAt._sat=e,t<0&&(Ae?e._startAt.revert(Tr):e._startAt.render(-1,!0)),e._zTime=t,!s)n(e._startAt,ue,ue);else if(!t)return}for(e._pt=e._ptCache=0,l=g&&Fe(l)||l&&!g,k=0;k<v.length;k++){if(j=v[k],H=j._gsap||Ci(v)[k]._gsap,e._ptLookup[k]=$={},Ti[H.id]&&Et.length&&Sr(),U=_===v?k:_.indexOf(j),V&&(D=new V).init(j,Y||y,e,U,_)!==!1&&(e._pt=O=new ze(e._pt,j,D.name,0,1,D.render,D,0,D.priority),D._props.forEach(function(ne){$[ne]=O}),D.priority&&(L=1)),!V||Y)for(C in y)Ve[C]&&(D=qs(C,y,e,U,j,_))?D.priority&&(L=1):$[C]=O=Mi.call(e,j,C,"get",y[C],U,_,0,i.stringFilter);e._op&&e._op[k]&&e.kill(j,e._op[k]),T&&e._pt&&(Ot=e,ve.killTweensOf(j,$,e.globalTime(t)),X=!e.parent,Ot=0),e._pt&&l&&(Ti[H.id]=1)}L&&zs(e),e._onInit&&e._onInit(e)}e._onUpdate=c,e._initted=(!e._op||e._pt)&&!X,m&&t<=0&&w.render(Ke,!0,!0)},Rp=function(e,t,r,i,a,o,s,l){var c=(e._pt&&e._ptCache||(e._ptCache={}))[t],u,d,m,h;if(!c)for(c=e._ptCache[t]=[],m=e._ptLookup,h=e._targets.length;h--;){if(u=m[h][t],u&&u.d&&u.d._pt)for(u=u.d._pt;u&&u.p!==t&&u.fp!==t;)u=u._next;if(!u)return Ii=1,e.vars[t]="+=0",Fi(e,s),Ii=0,l?kn(t+" not eligible for reset"):1;c.push(u)}for(h=c.length;h--;)d=c[h],u=d._pt||d,u.s=(i||i===0)&&!a?i:u.s+(i||0)+o*u.c,u.c=r-u.s,d.e&&(d.e=we(r)+qe(d.e)),d.b&&(d.b=u.s+qe(d.b))},Mp=function(e,t){var r=e[0]?Lt(e[0]).harness:0,i=r&&r.aliases,a,o,s,l;if(!i)return t;a=sn({},t);for(o in i)if(o in a)for(l=i[o].split(","),s=l.length;s--;)a[l[s]]=a[o];return a},Ip=function(e,t,r,i){var a=t.ease||i||"power1.inOut",o,s;if(Ne(t))s=r[e]||(r[e]=[]),t.forEach(function(l,c){return s.push({t:c/(t.length-1)*100,v:l,e:a})});else for(o in t)s=r[o]||(r[o]=[]),o==="ease"||s.push({t:parseFloat(e),v:t[o],e:a})},Ln=function(e,t,r,i,a){return ye(e)?e.call(t,r,i,a):Pe(e)&&~e.indexOf("random(")?qn(e):e},Rs=Si+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",Ms={};Le(Rs+",id,stagger,delay,duration,paused,scrollTrigger",function(n){return Ms[n]=1});var Se=(function(n){Yo(e,n);function e(r,i,a,o){var s;typeof i=="number"&&(a.duration=i,i=a,a=null),s=n.call(this,o?i:Dn(i))||this;var l=s.vars,c=l.duration,u=l.delay,d=l.immediateRender,m=l.stagger,h=l.overwrite,g=l.keyframes,f=l.defaults,v=l.scrollTrigger,x=l.yoyoEase,_=i.parent||ve,T=(Ne(r)||Go(r)?vt(r[0]):"length"in i)?[r]:Qe(r),w,y,k,C,O,j,L,H;if(s._targets=T.length?Ci(T):kn("GSAP target "+r+" not found. https://gsap.com",!Ue.nullTargetWarn)||[],s._ptLookup=[],s._overwrite=h,g||m||wr(c)||wr(u)){if(i=s.vars,w=s.timeline=new Me({data:"nested",defaults:f||{},targets:_&&_.data==="nested"?_.vars.targets:T}),w.kill(),w.parent=w._dp=ht(s),w._start=0,m||wr(c)||wr(u)){if(C=T.length,L=m&&xs(m),at(m))for(O in m)~Rs.indexOf(O)&&(H||(H={}),H[O]=m[O]);for(y=0;y<C;y++)k=Cr(i,Ms),k.stagger=0,x&&(k.yoyoEase=x),H&&sn(k,H),j=T[y],k.duration=+Ln(c,ht(s),y,j,T),k.delay=(+Ln(u,ht(s),y,j,T)||0)-s._delay,!m&&C===1&&k.delay&&(s._delay=u=k.delay,s._start+=u,k.delay=0),w.to(j,k,L?L(y,j,T):0),w._ease=ie.none;w.duration()?c=u=0:s.timeline=0}else if(g){Dn(Ye(w.vars.defaults,{ease:"none"})),w._ease=$t(g.ease||i.ease||"none");var V=0,D,$,U;if(Ne(g))g.forEach(function(Y){return w.to(T,Y,">")}),w.duration();else{k={};for(O in g)O==="ease"||O==="easeEach"||Ip(O,g[O],k,g.easeEach);for(O in k)for(D=k[O].sort(function(Y,X){return Y.t-X.t}),V=0,y=0;y<D.length;y++)$=D[y],U={ease:$.e,duration:($.t-(y?D[y-1].t:0))/100*c},U[O]=$.v,w.to(T,U,V),V+=U.duration;w.duration()<c&&w.to({},{duration:c-w.duration()})}}c||s.duration(c=w.duration())}else s.timeline=0;return h===!0&&!fi&&(Ot=ht(s),ve.killTweensOf(T),Ot=0),st(_,ht(s),a),i.reversed&&s.reverse(),i.paused&&s.paused(!0),(d||!c&&!g&&s._start===Ee(_._time)&&Fe(d)&&mp(ht(s))&&_.data!=="nested")&&(s._tTime=-ue,s.render(Math.max(0,-u)||0)),v&&fs(ht(s),v),s}var t=e.prototype;return t.render=function(i,a,o){var s=this._time,l=this._tDur,c=this._dur,u=i<0,d=i>l-ue&&!u?l:i<ue?0:i,m,h,g,f,v,x,_,T,w;if(!c)vp(this,i,a,o);else if(d!==this._tTime||!i||o||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==u||this._lazy){if(m=d,T=this.timeline,this._repeat){if(f=c+this._rDelay,this._repeat<-1&&u)return this.totalTime(f*100+i,a,o);if(m=Ee(d%f),d===l?(g=this._repeat,m=c):(v=Ee(d/f),g=~~v,g&&g===v?(m=c,g--):m>c&&(m=c)),x=this._yoyo&&g&1,x&&(w=this._yEase,m=c-m),v=ln(this._tTime,f),m===s&&!o&&this._initted&&g===v)return this._tTime=d,this;g!==v&&(T&&this._yEase&&Ds(T,x),this.vars.repeatRefresh&&!x&&!this._lock&&m!==f&&this._initted&&(this._lock=o=1,this.render(Ee(f*g),!0).invalidate()._lock=0))}if(!this._initted){if(ms(this,u?i:m,o,a,d))return this._tTime=0,this;if(s!==this._time&&!(o&&this.vars.repeatRefresh&&g!==v))return this;if(c!==this._dur)return this.render(i,a,o)}if(this._tTime=d,this._time=m,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=_=(w||this._ease)(m/c),this._from&&(this.ratio=_=1-_),!s&&d&&!a&&!v&&(Xe(this,"onStart"),this._tTime!==d))return this;for(h=this._pt;h;)h.r(_,h.d),h=h._next;T&&T.render(i<0?i:T._dur*T._ease(m/this._dur),a,o)||this._startAt&&(this._zTime=i),this._onUpdate&&!a&&(u&&Oi(this,i,a,o),Xe(this,"onUpdate")),this._repeat&&g!==v&&this.vars.onRepeat&&!a&&this.parent&&Xe(this,"onRepeat"),(d===this._tDur||!d)&&this._tTime===d&&(u&&!this._onUpdate&&Oi(this,i,!0,!0),(i||!c)&&(d===this._tDur&&this._ts>0||!d&&this._ts<0)&&St(this,1),!a&&!(u&&!s)&&(d||s||x)&&(Xe(this,d===l?"onComplete":"onReverseComplete",!0),this._prom&&!(d<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),n.prototype.invalidate.call(this,i)},t.resetTo=function(i,a,o,s,l){In||Ge.wake(),this._ts||this.play();var c=Math.min(this._dur,(this._dp._time-this._start)*this._ts),u;return this._initted||Fi(this,c),u=this._ease(c/this._dur),Rp(this,i,a,o,s,u,c,l)?this.resetTo(i,a,o,s,1):(Pr(this,0),this.parent||us(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},t.kill=function(i,a){if(a===void 0&&(a="all"),!i&&(!a||a==="all"))return this._lazy=this._pt=0,this.parent?Rn(this):this.scrollTrigger&&this.scrollTrigger.kill(!!Ae),this;if(this.timeline){var o=this.timeline.totalDuration();return this.timeline.killTweensOf(i,a,Ot&&Ot.vars.overwrite!==!0)._first||Rn(this),this.parent&&o!==this.timeline.totalDuration()&&cn(this,this._dur*this.timeline._tDur/o,0,1),this}var s=this._targets,l=i?Qe(i):s,c=this._ptLookup,u=this._pt,d,m,h,g,f,v,x;if((!a||a==="all")&&pp(s,l))return a==="all"&&(this._pt=0),Rn(this);for(d=this._op=this._op||[],a!=="all"&&(Pe(a)&&(f={},Le(a,function(_){return f[_]=1}),a=f),a=Mp(s,a)),x=s.length;x--;)if(~l.indexOf(s[x])){m=c[x],a==="all"?(d[x]=a,g=m,h={}):(h=d[x]=d[x]||{},g=a);for(f in g)v=m&&m[f],v&&((!("kill"in v.d)||v.d.kill(f)===!0)&&jr(this,v,"_pt"),delete m[f]),h!=="all"&&(h[f]=1)}return this._initted&&!this._pt&&u&&Rn(this),this},e.to=function(i,a){return new e(i,a,arguments[2])},e.from=function(i,a){return An(1,arguments)},e.delayedCall=function(i,a,o,s){return new e(a,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:i,onComplete:a,onReverseComplete:a,onCompleteParams:o,onReverseCompleteParams:o,callbackScope:s})},e.fromTo=function(i,a,o){return An(2,arguments)},e.set=function(i,a){return a.duration=0,a.repeatDelay||(a.repeat=0),new e(i,a)},e.killTweensOf=function(i,a,o){return ve.killTweensOf(i,a,o)},e})(Fn);Ye(Se.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),Le("staggerTo,staggerFrom,staggerFromTo",function(n){Se[n]=function(){var e=new Me,t=Pi.call(arguments,0);return t.splice(n==="staggerFromTo"?5:4,0,0),e[n].apply(e,t)}});var Li=function(e,t,r){return e[t]=r},Is=function(e,t,r){return e[t](r)},Fp=function(e,t,r,i){return e[t](i.fp,r)},Lp=function(e,t,r){return e.setAttribute(t,r)},zi=function(e,t){return ye(e[t])?Is:hi(e[t])&&e.setAttribute?Lp:Li},Fs=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e6)/1e6,t)},zp=function(e,t){return t.set(t.t,t.p,!!(t.s+t.c*e),t)},Ls=function(e,t){var r=t._pt,i="";if(!e&&t.b)i=t.b;else if(e===1&&t.e)i=t.e;else{for(;r;)i=r.p+(r.m?r.m(r.s+r.c*e):Math.round((r.s+r.c*e)*1e4)/1e4)+i,r=r._next;i+=t.c}t.set(t.t,t.p,i,t)},$i=function(e,t){for(var r=t._pt;r;)r.r(e,r.d),r=r._next},$p=function(e,t,r,i){for(var a=this._pt,o;a;)o=a._next,a.p===i&&a.modifier(e,t,r),a=o},Bp=function(e){for(var t=this._pt,r,i;t;)i=t._next,t.p===e&&!t.op||t.op===e?jr(this,t,"_pt"):t.dep||(r=1),t=i;return!r},Hp=function(e,t,r,i){i.mSet(e,t,i.m.call(i.tween,r,i.mt),i)},zs=function(e){for(var t=e._pt,r,i,a,o;t;){for(r=t._next,i=a;i&&i.pr>t.pr;)i=i._next;(t._prev=i?i._prev:o)?t._prev._next=t:a=t,(t._next=i)?i._prev=t:o=t,t=r}e._pt=a},ze=(function(){function n(t,r,i,a,o,s,l,c,u){this.t=r,this.s=a,this.c=o,this.p=i,this.r=s||Fs,this.d=l||this,this.set=c||Li,this.pr=u||0,this._next=t,t&&(t._prev=this)}var e=n.prototype;return e.modifier=function(r,i,a){this.mSet=this.mSet||this.set,this.set=Hp,this.m=r,this.mt=a,this.tween=i},n})();Le(Si+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",function(n){return _i[n]=1}),Ze.TweenMax=Ze.TweenLite=Se,Ze.TimelineLite=Ze.TimelineMax=Me,ve=new Me({sortChildren:!1,defaults:rn,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),Ue.stringFilter=ks;var Ht=[],Dr={},Wp=[],$s=0,Up=0,Bi=function(e){return(Dr[e]||Wp).map(function(t){return t()})},Hi=function(){var e=Date.now(),t=[];e-$s>2&&(Bi("matchMediaInit"),Ht.forEach(function(r){var i=r.queries,a=r.conditions,o,s,l,c;for(s in i)o=ot.matchMedia(i[s]).matches,o&&(l=1),o!==a[s]&&(a[s]=o,c=1);c&&(r.revert(),l&&t.push(r))}),Bi("matchMediaRevert"),t.forEach(function(r){return r.onMatch(r,function(i){return r.add(null,i)})}),$s=e,Bi("matchMedia"))},Bs=(function(){function n(t,r){this.selector=r&&Di(r),this.data=[],this._r=[],this.isReverted=!1,this.id=Up++,t&&this.add(t)}var e=n.prototype;return e.add=function(r,i,a){ye(r)&&(a=i,i=r,r=ye);var o=this,s=function(){var c=me,u=o.selector,d;return c&&c!==o&&c.data.push(o),a&&(o.selector=Di(a)),me=o,d=i.apply(o,arguments),ye(d)&&o._r.push(d),me=c,o.selector=u,o.isReverted=!1,d};return o.last=s,r===ye?s(o,function(l){return o.add(null,l)}):r?o[r]=s:s},e.ignore=function(r){var i=me;me=null,r(this),me=i},e.getTweens=function(){var r=[];return this.data.forEach(function(i){return i instanceof n?r.push.apply(r,i.getTweens()):i instanceof Se&&!(i.parent&&i.parent.data==="nested")&&r.push(i)}),r},e.clear=function(){this._r.length=this.data.length=0},e.kill=function(r,i){var a=this;if(r?(function(){for(var s=a.getTweens(),l=a.data.length,c;l--;)c=a.data[l],c.data==="isFlip"&&(c.revert(),c.getChildren(!0,!0,!1).forEach(function(u){return s.splice(s.indexOf(u),1)}));for(s.map(function(u){return{g:u._dur||u._delay||u._sat&&!u._sat.vars.immediateRender?u.globalTime(0):-1/0,t:u}}).sort(function(u,d){return d.g-u.g||-1/0}).forEach(function(u){return u.t.revert(r)}),l=a.data.length;l--;)c=a.data[l],c instanceof Me?c.data!=="nested"&&(c.scrollTrigger&&c.scrollTrigger.revert(),c.kill()):!(c instanceof Se)&&c.revert&&c.revert(r);a._r.forEach(function(u){return u(r,a)}),a.isReverted=!0})():this.data.forEach(function(s){return s.kill&&s.kill()}),this.clear(),i)for(var o=Ht.length;o--;)Ht[o].id===this.id&&Ht.splice(o,1)},e.revert=function(r){this.kill(r||{})},n})(),Zp=(function(){function n(t){this.contexts=[],this.scope=t,me&&me.data.push(this)}var e=n.prototype;return e.add=function(r,i,a){at(r)||(r={matches:r});var o=new Bs(0,a||this.scope),s=o.conditions={},l,c,u;me&&!o.selector&&(o.selector=me.selector),this.contexts.push(o),i=o.add("onMatch",i),o.queries=r;for(c in r)c==="all"?u=1:(l=ot.matchMedia(r[c]),l&&(Ht.indexOf(o)<0&&Ht.push(o),(s[c]=l.matches)&&(u=1),l.addListener?l.addListener(Hi):l.addEventListener("change",Hi)));return u&&i(o,function(d){return o.add(null,d)}),this},e.revert=function(r){this.kill(r||{})},e.kill=function(r){this.contexts.forEach(function(i){return i.kill(r,!0)})},n})(),Ar={registerPlugin:function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];t.forEach(function(i){return Ss(i)})},timeline:function(e){return new Me(e)},getTweensOf:function(e,t){return ve.getTweensOf(e,t)},getProperty:function(e,t,r,i){Pe(e)&&(e=Qe(e)[0]);var a=Lt(e||{}).get,o=r?ls:ss;return r==="native"&&(r=""),e&&(t?o((Ve[t]&&Ve[t].get||a)(e,t,r,i)):function(s,l,c){return o((Ve[s]&&Ve[s].get||a)(e,s,l,c))})},quickSetter:function(e,t,r){if(e=Qe(e),e.length>1){var i=e.map(function(u){return $e.quickSetter(u,t,r)}),a=i.length;return function(u){for(var d=a;d--;)i[d](u)}}e=e[0]||{};var o=Ve[t],s=Lt(e),l=s.harness&&(s.harness.aliases||{})[t]||t,c=o?function(u){var d=new o;un._pt=0,d.init(e,r?u+r:u,un,0,[e]),d.render(1,d),un._pt&&$i(1,un)}:s.set(e,l);return o?c:function(u){return c(e,l,r?u+r:u,s,1)}},quickTo:function(e,t,r){var i,a=$e.to(e,Ye((i={},i[t]="+=0.1",i.paused=!0,i.stagger=0,i),r||{})),o=function(l,c,u){return a.resetTo(t,l,c,u)};return o.tween=a,o},isTweening:function(e){return ve.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=$t(e.ease,rn.ease)),cs(rn,e||{})},config:function(e){return cs(Ue,e||{})},registerEffect:function(e){var t=e.name,r=e.effect,i=e.plugins,a=e.defaults,o=e.extendTimeline;(i||"").split(",").forEach(function(s){return s&&!Ve[s]&&!Ze[s]&&kn(t+" effect requires "+s+" plugin.")}),Ei[t]=function(s,l,c){return r(Qe(s),Ye(l||{},a),c)},o&&(Me.prototype[t]=function(s,l,c){return this.add(Ei[t](s,at(l)?l:(c=l)&&{},this),c)})},registerEase:function(e,t){ie[e]=$t(t)},parseEase:function(e,t){return arguments.length?$t(e,t):ie},getById:function(e){return ve.getById(e)},exportRoot:function(e,t){e===void 0&&(e={});var r=new Me(e),i,a;for(r.smoothChildTiming=Fe(e.smoothChildTiming),ve.remove(r),r._dp=0,r._time=r._tTime=ve._time,i=ve._first;i;)a=i._next,(t||!(!i._dur&&i instanceof Se&&i.vars.onComplete===i._targets[0]))&&st(r,i,i._start-i._delay),i=a;return st(ve,r,0),r},context:function(e,t){return e?new Bs(e,t):me},matchMedia:function(e){return new Zp(e)},matchMediaRefresh:function(){return Ht.forEach(function(e){var t=e.conditions,r,i;for(i in t)t[i]&&(t[i]=!1,r=1);r&&e.revert()})||Hi()},addEventListener:function(e,t){var r=Dr[e]||(Dr[e]=[]);~r.indexOf(t)||r.push(t)},removeEventListener:function(e,t){var r=Dr[e],i=r&&r.indexOf(t);i>=0&&r.splice(i,1)},utils:{wrap:Ep,wrapYoyo:Sp,distribute:xs,random:bs,snap:ys,normalize:Tp,getUnit:qe,clamp:yp,splitColor:Cs,toArray:Qe,selector:Di,mapRange:_s,pipe:wp,unitize:_p,interpolate:Cp,shuffle:gs},install:ts,effects:Ei,ticker:Ge,updateRoot:Me.updateRoot,plugins:Ve,globalTimeline:ve,core:{PropTween:ze,globals:ns,Tween:Se,Timeline:Me,Animation:Fn,getCache:Lt,_removeLinkedListItem:jr,reverting:function(){return Ae},context:function(e){return e&&me&&(me.data.push(e),e._ctx=me),me},suppressOverwrites:function(e){return fi=e}}};Le("to,from,fromTo,delayedCall,set,killTweensOf",function(n){return Ar[n]=Se[n]}),Ge.add(Me.updateRoot),un=Ar.to({},{duration:0});var Vp=function(e,t){for(var r=e._pt;r&&r.p!==t&&r.op!==t&&r.fp!==t;)r=r._next;return r},Yp=function(e,t){var r=e._targets,i,a,o;for(i in t)for(a=r.length;a--;)o=e._ptLookup[a][i],o&&(o=o.d)&&(o._pt&&(o=Vp(o,i)),o&&o.modifier&&o.modifier(t[i],e,r[a],i))},Wi=function(e,t){return{name:e,headless:1,rawVars:1,init:function(i,a,o){o._onInit=function(s){var l,c;if(Pe(a)&&(l={},Le(a,function(u){return l[u]=1}),a=l),t){l={};for(c in a)l[c]=t(a[c]);a=l}Yp(s,a)}}}},$e=Ar.registerPlugin({name:"attr",init:function(e,t,r,i,a){var o,s,l;this.tween=r;for(o in t)l=e.getAttribute(o)||"",s=this.add(e,"setAttribute",(l||0)+"",t[o],i,a,0,0,o),s.op=o,s.b=l,this._props.push(o)},render:function(e,t){for(var r=t._pt;r;)Ae?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)}},Wi("roundProps",Ai),Wi("modifiers"),Wi("snap",ys))||Ar;Se.version=Me.version=$e.version="3.13.0",es=1,vi()&&dn(),ie.Power0,ie.Power1,ie.Power2,ie.Power3,ie.Power4,ie.Linear,ie.Quad,ie.Cubic,ie.Quart,ie.Quint,ie.Strong,ie.Elastic,ie.Back,ie.SteppedEase,ie.Bounce,ie.Sine,ie.Expo,ie.Circ;/*!
30
88
  * CSSPlugin 3.13.0
31
89
  * https://gsap.com
32
90
  *
33
91
  * Copyright 2008-2025, GreenSock. All rights reserved.
34
92
  * Subject to the terms at https://gsap.com/standard-license
35
93
  * @author: Jack Doyle, jack@greensock.com
36
- */var aa,at,Et,yi,mt,oa,_i,Cs=function(){return typeof window<"u"},Ke={},ht=180/Math.PI,Pt=Math.PI/180,Dt=Math.atan2,sa=1e8,wi=/([A-Z])/g,Ss=/(left|right|width|margin|padding|x)/i,qs=/[\s,\(]\S/,Ue={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},Ti=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},Es=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)},Ps=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)},Ds=function(e,t){var n=t.s+t.c*e;t.set(t.t,t.p,~~(n+(n<0?-.5:.5))+t.u,t)},la=function(e,t){return t.set(t.t,t.p,e?t.e:t.b,t)},ca=function(e,t){return t.set(t.t,t.p,e!==1?t.b:t.e,t)},As=function(e,t,n){return e.style[t]=n},Ns=function(e,t,n){return e.style.setProperty(t,n)},Rs=function(e,t,n){return e._gsap[t]=n},Ms=function(e,t,n){return e._gsap.scaleX=e._gsap.scaleY=n},Fs=function(e,t,n,r,a){var o=e._gsap;o.scaleX=o.scaleY=n,o.renderTransform(a,o)},zs=function(e,t,n,r,a){var o=e._gsap;o[t]=n,o.renderTransform(a,o)},ue="transform",Pe=ue+"Origin",Is=function i(e,t){var n=this,r=this.target,a=r.style,o=r._gsap;if(e in Ke&&a){if(this.tfm=this.tfm||{},e!=="transform")e=Ue[e]||e,~e.indexOf(",")?e.split(",").forEach(function(s){return n.tfm[s]=Je(r,s)}):this.tfm[e]=o.x?o[e]:Je(r,e),e===Pe&&(this.tfm.zOrigin=o.zOrigin);else return Ue.transform.split(",").forEach(function(s){return i.call(n,s,t)});if(this.props.indexOf(ue)>=0)return;o.svg&&(this.svgo=r.getAttribute("data-svg-origin"),this.props.push(Pe,t,"")),e=ue}(a||t)&&this.props.push(e,t,a[e])},ua=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},Ls=function(){var e=this.props,t=this.target,n=t.style,r=t._gsap,a,o;for(a=0;a<e.length;a+=3)e[a+1]?e[a+1]===2?t[e[a]](e[a+2]):t[e[a]]=e[a+2]:e[a+2]?n[e[a]]=e[a+2]:n.removeProperty(e[a].substr(0,2)==="--"?e[a]:e[a].replace(wi,"-$1").toLowerCase());if(this.tfm){for(o in this.tfm)r[o]=this.tfm[o];r.svg&&(r.renderTransform(),t.setAttribute("data-svg-origin",this.svgo||"")),a=_i(),(!a||!a.isStart)&&!n[ue]&&(ua(n),r.zOrigin&&n[Pe]&&(n[Pe]+=" "+r.zOrigin+"px",r.zOrigin=0,r.renderTransform()),r.uncache=1)}},pa=function(e,t){var n={target:e,props:[],revert:Ls,save:Is};return e._gsap||Ee.core.getCache(e),t&&e.style&&e.nodeType&&t.split(",").forEach(function(r){return n.save(r)}),n},da,ji=function(e,t){var n=at.createElementNS?at.createElementNS((t||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):at.createElement(e);return n&&n.style?n:at.createElement(e)},$e=function i(e,t,n){var r=getComputedStyle(e);return r[t]||r.getPropertyValue(t.replace(wi,"-$1").toLowerCase())||r.getPropertyValue(t)||!n&&i(e,At(t)||t,1)||""},fa="O,Moz,ms,Ms,Webkit".split(","),At=function(e,t,n){var r=t||mt,a=r.style,o=5;if(e in a&&!n)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);o--&&!(fa[o]+e in a););return o<0?null:(o===3?"ms":o>=0?fa[o]:"")+e},ki=function(){Cs()&&window.document&&(aa=window,at=aa.document,Et=at.documentElement,mt=ji("div")||{style:{}},ji("div"),ue=At(ue),Pe=ue+"Origin",mt.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",da=!!At("perspective"),_i=Ee.core.reverting,yi=1)},ma=function(e){var t=e.ownerSVGElement,n=ji("svg",t&&t.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),r=e.cloneNode(!0),a;r.style.display="block",n.appendChild(r),Et.appendChild(n);try{a=r.getBBox()}catch{}return n.removeChild(r),Et.removeChild(n),a},ha=function(e,t){for(var n=t.length;n--;)if(e.hasAttribute(t[n]))return e.getAttribute(t[n])},va=function(e){var t,n;try{t=e.getBBox()}catch{t=ma(e),n=1}return t&&(t.width||t.height)||n||(t=ma(e)),t&&!t.width&&!t.x&&!t.y?{x:+ha(e,["x","cx","x1"])||0,y:+ha(e,["y","cy","y1"])||0,width:0,height:0}:t},xa=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&va(e))},vt=function(e,t){if(t){var n=e.style,r;t in Ke&&t!==Pe&&(t=ue),n.removeProperty?(r=t.substr(0,2),(r==="ms"||t.substr(0,6)==="webkit")&&(t="-"+t),n.removeProperty(r==="--"?t:t.replace(wi,"-$1").toLowerCase())):n.removeAttribute(t)}},ot=function(e,t,n,r,a,o){var s=new qe(e._pt,t,n,0,1,o?ca:la);return e._pt=s,s.b=r,s.e=a,e._props.push(n),s},ga={deg:1,rad:1,turn:1},Zs={grid:1,flex:1},st=function i(e,t,n,r){var a=parseFloat(n)||0,o=(n+"").trim().substr((a+"").length)||"px",s=mt.style,l=Ss.test(t),c=e.tagName.toLowerCase()==="svg",u=(c?"client":"offset")+(l?"Width":"Height"),d=100,m=r==="px",h=r==="%",b,f,x,y;if(r===o||!a||ga[r]||ga[o])return a;if(o!=="px"&&!m&&(a=i(e,t,n,"px")),y=e.getCTM&&xa(e),(h||o==="%")&&(Ke[t]||~t.indexOf("adius")))return b=y?e.getBBox()[l?"width":"height"]:e[u],fe(h?a/b*d:a/100*b);if(s[l?"width":"height"]=d+(m?o:r),f=r!=="rem"&&~t.indexOf("adius")||r==="em"&&e.appendChild&&!c?e:e.parentNode,y&&(f=(e.ownerSVGElement||{}).parentNode),(!f||f===at||!f.appendChild)&&(f=at.body),x=f._gsap,x&&h&&x.width&&l&&x.time===Fe.time&&!x.uncache)return fe(a/x.width*d);if(h&&(t==="height"||t==="width")){var _=e.style[t];e.style[t]=d+r,b=e[u],_?e.style[t]=_:vt(e,t)}else(h||o==="%")&&!Zs[$e(f,"display")]&&(s.position=$e(e,"position")),f===e&&(s.position="static"),f.appendChild(mt),b=mt[u],f.removeChild(mt),s.position="absolute";return l&&h&&(x=ct(f),x.time=Fe.time,x.width=f[u]),fe(m?b*a/d:b&&a?d/b*a:0)},Je=function(e,t,n,r){var a;return yi||ki(),t in Ue&&t!=="transform"&&(t=Ue[t],~t.indexOf(",")&&(t=t.split(",")[0])),Ke[t]&&t!=="transform"?(a=Kt(e,r),a=t!=="transformOrigin"?a[t]:a.svg?a.origin:wn($e(e,Pe))+" "+a.zOrigin+"px"):(a=e.style[t],(!a||a==="auto"||r||~(a+"").indexOf("calc("))&&(a=_n[t]&&_n[t](e,t,n)||$e(e,t)||_r(e,t)||(t==="opacity"?1:0))),n&&!~(a+"").trim().indexOf(" ")?st(e,t,a,n)+n:a},Bs=function(e,t,n,r){if(!n||n==="none"){var a=At(t,e,1),o=a&&$e(e,a,1);o&&o!==n?(t=a,n=o):t==="borderColor"&&(n=$e(e,"borderTopColor"))}var s=new qe(this._pt,e.style,t,0,1,ta),l=0,c=0,u,d,m,h,b,f,x,y,_,w,T,g;if(s.b=n,s.e=r,n+="",r+="",r.substring(0,6)==="var(--"&&(r=$e(e,r.substring(4,r.indexOf(")")))),r==="auto"&&(f=e.style[t],e.style[t]=r,r=$e(e,t)||r,f?e.style[t]=f:vt(e,t)),u=[n,r],Vr(u),n=u[0],r=u[1],m=n.match(Tt)||[],g=r.match(Tt)||[],g.length){for(;d=Tt.exec(r);)x=d[0],_=r.substring(l,d.index),b?b=(b+1)%5:(_.substr(-5)==="rgba("||_.substr(-5)==="hsla(")&&(b=1),x!==(f=m[c++]||"")&&(h=parseFloat(f)||0,T=f.substr((h+"").length),x.charAt(1)==="="&&(x=jt(h,x)+T),y=parseFloat(x),w=x.substr((y+"").length),l=Tt.lastIndex-w.length,w||(w=w||De.units[t]||T,l===r.length&&(r+=w,s.e+=w)),T!==w&&(h=st(e,t,f,w)||0),s._pt={_next:s._pt,p:_||c===1?_:",",s:h,c:y-h,m:b&&b<4||t==="zIndex"?Math.round:0});s.c=l<r.length?r.substring(l,r.length):""}else s.r=t==="display"&&r==="none"?ca:la;return mr.test(r)&&(s.e=0),this._pt=s,s},ba={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},$s=function(e){var t=e.split(" "),n=t[0],r=t[1]||"50%";return(n==="top"||n==="bottom"||r==="left"||r==="right")&&(e=n,n=r,r=e),t[0]=ba[n]||n,t[1]=ba[r]||r,t.join(" ")},Hs=function(e,t){if(t.tween&&t.tween._time===t.tween._dur){var n=t.t,r=n.style,a=t.u,o=n._gsap,s,l,c;if(a==="all"||a===!0)r.cssText="",l=1;else for(a=a.split(","),c=a.length;--c>-1;)s=a[c],Ke[s]&&(l=1,s=s==="transformOrigin"?Pe:ue),vt(n,s);l&&(vt(n,ue),o&&(o.svg&&n.removeAttribute("transform"),r.scale=r.rotate=r.translate="none",Kt(n,1),o.uncache=1,ua(r)))}},_n={clearProps:function(e,t,n,r,a){if(a.data!=="isFromStart"){var o=e._pt=new qe(e._pt,t,n,0,0,Hs);return o.u=r,o.pr=-10,o.tween=a,e._props.push(n),1}}},Xt=[1,0,0,1,0,0],ya={},_a=function(e){return e==="matrix(1, 0, 0, 1, 0, 0)"||e==="none"||!e},wa=function(e){var t=$e(e,ue);return _a(t)?Xt:t.substr(7).match(fr).map(fe)},Oi=function(e,t){var n=e._gsap||ct(e),r=e.style,a=wa(e),o,s,l,c;return n.svg&&e.getAttribute("transform")?(l=e.transform.baseVal.consolidate().matrix,a=[l.a,l.b,l.c,l.d,l.e,l.f],a.join(",")==="1,0,0,1,0,0"?Xt:a):(a===Xt&&!e.offsetParent&&e!==Et&&!n.svg&&(l=r.display,r.display="block",o=e.parentNode,(!o||!e.offsetParent&&!e.getBoundingClientRect().width)&&(c=1,s=e.nextElementSibling,Et.appendChild(e)),a=wa(e),l?r.display=l:vt(e,"display"),c&&(s?o.insertBefore(e,s):o?o.appendChild(e):Et.removeChild(e))),t&&a.length>6?[a[0],a[1],a[4],a[5],a[12],a[13]]:a)},Ci=function(e,t,n,r,a,o){var s=e._gsap,l=a||Oi(e,!0),c=s.xOrigin||0,u=s.yOrigin||0,d=s.xOffset||0,m=s.yOffset||0,h=l[0],b=l[1],f=l[2],x=l[3],y=l[4],_=l[5],w=t.split(" "),T=parseFloat(w[0])||0,g=parseFloat(w[1])||0,k,C,q,O;n?l!==Xt&&(C=h*x-b*f)&&(q=T*(x/C)+g*(-f/C)+(f*_-x*y)/C,O=T*(-b/C)+g*(h/C)-(h*_-b*y)/C,T=q,g=O):(k=va(e),T=k.x+(~w[0].indexOf("%")?T/100*k.width:T),g=k.y+(~(w[1]||w[0]).indexOf("%")?g/100*k.height:g)),r||r!==!1&&s.smooth?(y=T-c,_=g-u,s.xOffset=d+(y*h+_*f)-y,s.yOffset=m+(y*b+_*x)-_):s.xOffset=s.yOffset=0,s.xOrigin=T,s.yOrigin=g,s.smooth=!!r,s.origin=t,s.originIsAbsolute=!!n,e.style[Pe]="0px 0px",o&&(ot(o,s,"xOrigin",c,T),ot(o,s,"yOrigin",u,g),ot(o,s,"xOffset",d,s.xOffset),ot(o,s,"yOffset",m,s.yOffset)),e.setAttribute("data-svg-origin",T+" "+g)},Kt=function(e,t){var n=e._gsap||new Gr(e);if("x"in n&&!t&&!n.uncache)return n;var r=e.style,a=n.scaleX<0,o="px",s="deg",l=getComputedStyle(e),c=$e(e,Pe)||"0",u,d,m,h,b,f,x,y,_,w,T,g,k,C,q,O,B,H,U,V,Z,Y,G,K,se,te,v,j,A,F,R,E;return u=d=m=f=x=y=_=w=T=0,h=b=1,n.svg=!!(e.getCTM&&xa(e)),l.translate&&((l.translate!=="none"||l.scale!=="none"||l.rotate!=="none")&&(r[ue]=(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[ue]!=="none"?l[ue]:"")),r.scale=r.rotate=r.translate="none"),C=Oi(e,n.svg),n.svg&&(n.uncache?(se=e.getBBox(),c=n.xOrigin-se.x+"px "+(n.yOrigin-se.y)+"px",K=""):K=!t&&e.getAttribute("data-svg-origin"),Ci(e,K||c,!!K||n.originIsAbsolute,n.smooth!==!1,C)),g=n.xOrigin||0,k=n.yOrigin||0,C!==Xt&&(H=C[0],U=C[1],V=C[2],Z=C[3],u=Y=C[4],d=G=C[5],C.length===6?(h=Math.sqrt(H*H+U*U),b=Math.sqrt(Z*Z+V*V),f=H||U?Dt(U,H)*ht:0,_=V||Z?Dt(V,Z)*ht+f:0,_&&(b*=Math.abs(Math.cos(_*Pt))),n.svg&&(u-=g-(g*H+k*V),d-=k-(g*U+k*Z))):(E=C[6],F=C[7],v=C[8],j=C[9],A=C[10],R=C[11],u=C[12],d=C[13],m=C[14],q=Dt(E,A),x=q*ht,q&&(O=Math.cos(-q),B=Math.sin(-q),K=Y*O+v*B,se=G*O+j*B,te=E*O+A*B,v=Y*-B+v*O,j=G*-B+j*O,A=E*-B+A*O,R=F*-B+R*O,Y=K,G=se,E=te),q=Dt(-V,A),y=q*ht,q&&(O=Math.cos(-q),B=Math.sin(-q),K=H*O-v*B,se=U*O-j*B,te=V*O-A*B,R=Z*B+R*O,H=K,U=se,V=te),q=Dt(U,H),f=q*ht,q&&(O=Math.cos(q),B=Math.sin(q),K=H*O+U*B,se=Y*O+G*B,U=U*O-H*B,G=G*O-Y*B,H=K,Y=se),x&&Math.abs(x)+Math.abs(f)>359.9&&(x=f=0,y=180-y),h=fe(Math.sqrt(H*H+U*U+V*V)),b=fe(Math.sqrt(G*G+E*E)),q=Dt(Y,G),_=Math.abs(q)>2e-4?q*ht:0,T=R?1/(R<0?-R:R):0),n.svg&&(K=e.getAttribute("transform"),n.forceCSS=e.setAttribute("transform","")||!_a($e(e,ue)),K&&e.setAttribute("transform",K))),Math.abs(_)>90&&Math.abs(_)<270&&(a?(h*=-1,_+=f<=0?180:-180,f+=f<=0?180:-180):(b*=-1,_+=_<=0?180:-180)),t=t||n.uncache,n.x=u-((n.xPercent=u&&(!t&&n.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-u)?-50:0)))?e.offsetWidth*n.xPercent/100:0)+o,n.y=d-((n.yPercent=d&&(!t&&n.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-d)?-50:0)))?e.offsetHeight*n.yPercent/100:0)+o,n.z=m+o,n.scaleX=fe(h),n.scaleY=fe(b),n.rotation=fe(f)+s,n.rotationX=fe(x)+s,n.rotationY=fe(y)+s,n.skewX=_+s,n.skewY=w+s,n.transformPerspective=T+o,(n.zOrigin=parseFloat(c.split(" ")[2])||!t&&n.zOrigin||0)&&(r[Pe]=wn(c)),n.xOffset=n.yOffset=0,n.force3D=De.force3D,n.renderTransform=n.svg?Ys:da?Ta:Vs,n.uncache=0,n},wn=function(e){return(e=e.split(" "))[0]+" "+e[1]},Si=function(e,t,n){var r=je(t);return fe(parseFloat(t)+parseFloat(st(e,"x",n+"px",r)))+r},Vs=function(e,t){t.z="0px",t.rotationY=t.rotationX="0deg",t.force3D=0,Ta(e,t)},xt="0deg",Jt="0px",gt=") ",Ta=function(e,t){var n=t||this,r=n.xPercent,a=n.yPercent,o=n.x,s=n.y,l=n.z,c=n.rotation,u=n.rotationY,d=n.rotationX,m=n.skewX,h=n.skewY,b=n.scaleX,f=n.scaleY,x=n.transformPerspective,y=n.force3D,_=n.target,w=n.zOrigin,T="",g=y==="auto"&&e&&e!==1||y===!0;if(w&&(d!==xt||u!==xt)){var k=parseFloat(u)*Pt,C=Math.sin(k),q=Math.cos(k),O;k=parseFloat(d)*Pt,O=Math.cos(k),o=Si(_,o,C*O*-w),s=Si(_,s,-Math.sin(k)*-w),l=Si(_,l,q*O*-w+w)}x!==Jt&&(T+="perspective("+x+gt),(r||a)&&(T+="translate("+r+"%, "+a+"%) "),(g||o!==Jt||s!==Jt||l!==Jt)&&(T+=l!==Jt||g?"translate3d("+o+", "+s+", "+l+") ":"translate("+o+", "+s+gt),c!==xt&&(T+="rotate("+c+gt),u!==xt&&(T+="rotateY("+u+gt),d!==xt&&(T+="rotateX("+d+gt),(m!==xt||h!==xt)&&(T+="skew("+m+", "+h+gt),(b!==1||f!==1)&&(T+="scale("+b+", "+f+gt),_.style[ue]=T||"translate(0, 0)"},Ys=function(e,t){var n=t||this,r=n.xPercent,a=n.yPercent,o=n.x,s=n.y,l=n.rotation,c=n.skewX,u=n.skewY,d=n.scaleX,m=n.scaleY,h=n.target,b=n.xOrigin,f=n.yOrigin,x=n.xOffset,y=n.yOffset,_=n.forceCSS,w=parseFloat(o),T=parseFloat(s),g,k,C,q,O;l=parseFloat(l),c=parseFloat(c),u=parseFloat(u),u&&(u=parseFloat(u),c+=u,l+=u),l||c?(l*=Pt,c*=Pt,g=Math.cos(l)*d,k=Math.sin(l)*d,C=Math.sin(l-c)*-m,q=Math.cos(l-c)*m,c&&(u*=Pt,O=Math.tan(c-u),O=Math.sqrt(1+O*O),C*=O,q*=O,u&&(O=Math.tan(u),O=Math.sqrt(1+O*O),g*=O,k*=O)),g=fe(g),k=fe(k),C=fe(C),q=fe(q)):(g=d,q=m,k=C=0),(w&&!~(o+"").indexOf("px")||T&&!~(s+"").indexOf("px"))&&(w=st(h,"x",o,"px"),T=st(h,"y",s,"px")),(b||f||x||y)&&(w=fe(w+b-(b*g+f*C)+x),T=fe(T+f-(b*k+f*q)+y)),(r||a)&&(O=h.getBBox(),w=fe(w+r/100*O.width),T=fe(T+a/100*O.height)),O="matrix("+g+","+k+","+C+","+q+","+w+","+T+")",h.setAttribute("transform",O),_&&(h.style[ue]=O)},Us=function(e,t,n,r,a){var o=360,s=be(a),l=parseFloat(a)*(s&&~a.indexOf("rad")?ht:1),c=l-r,u=r+c+"deg",d,m;return s&&(d=a.split("_")[1],d==="short"&&(c%=o,c!==c%(o/2)&&(c+=c<0?o:-o)),d==="cw"&&c<0?c=(c+o*sa)%o-~~(c/o)*o:d==="ccw"&&c>0&&(c=(c-o*sa)%o-~~(c/o)*o)),e._pt=m=new qe(e._pt,t,n,r,c,Es),m.e=u,m.u="deg",e._props.push(n),m},ja=function(e,t){for(var n in t)e[n]=t[n];return e},Ws=function(e,t,n){var r=ja({},n._gsap),a="perspective,force3D,transformOrigin,svgOrigin",o=n.style,s,l,c,u,d,m,h,b;r.svg?(c=n.getAttribute("transform"),n.setAttribute("transform",""),o[ue]=t,s=Kt(n,1),vt(n,ue),n.setAttribute("transform",c)):(c=getComputedStyle(n)[ue],o[ue]=t,s=Kt(n,1),o[ue]=c);for(l in Ke)c=r[l],u=s[l],c!==u&&a.indexOf(l)<0&&(h=je(c),b=je(u),d=h!==b?st(n,l,c,b):parseFloat(c),m=parseFloat(u),e._pt=new qe(e._pt,s,l,d,m-d,Ti),e._pt.u=b||0,e._props.push(l));ja(s,r)};Se("padding,margin,Width,Radius",function(i,e){var t="Top",n="Right",r="Bottom",a="Left",o=(e<3?[t,n,r,a]:[t+a,t+n,r+n,r+a]).map(function(s){return e<2?i+s:"border"+s+i});_n[e>1?"border"+i:i]=function(s,l,c,u,d){var m,h;if(arguments.length<4)return m=o.map(function(b){return Je(s,b,c)}),h=m.join(" "),h.split(m[0]).length===5?m[0]:h;m=(u+"").split(" "),h={},o.forEach(function(b,f){return h[b]=m[f]=m[f]||m[(f-1)/2|0]}),s.init(l,h,d)}});var ka={name:"css",register:ki,targetTest:function(e){return e.style&&e.nodeType},init:function(e,t,n,r,a){var o=this._props,s=e.style,l=n.vars.startAt,c,u,d,m,h,b,f,x,y,_,w,T,g,k,C,q;yi||ki(),this.styles=this.styles||pa(e),q=this.styles.props,this.tween=n;for(f in t)if(f!=="autoRound"&&(u=t[f],!(Ne[f]&&Xr(f,t,n,r,e,a)))){if(h=typeof u,b=_n[f],h==="function"&&(u=u.call(n,r,e,a),h=typeof u),h==="string"&&~u.indexOf("random(")&&(u=Ht(u)),b)b(this,e,f,u,n)&&(C=1);else if(f.substr(0,2)==="--")c=(getComputedStyle(e).getPropertyValue(f)+"").trim(),u+="",it.lastIndex=0,it.test(c)||(x=je(c),y=je(u)),y?x!==y&&(c=st(e,f,c,y)+y):x&&(u+=x),this.add(s,"setProperty",c,u,r,a,0,0,f),o.push(f),q.push(f,0,s[f]);else if(h!=="undefined"){if(l&&f in l?(c=typeof l[f]=="function"?l[f].call(n,r,e,a):l[f],be(c)&&~c.indexOf("random(")&&(c=Ht(c)),je(c+"")||c==="auto"||(c+=De.units[f]||je(Je(e,f))||""),(c+"").charAt(1)==="="&&(c=Je(e,f))):c=Je(e,f),m=parseFloat(c),_=h==="string"&&u.charAt(1)==="="&&u.substr(0,2),_&&(u=u.substr(2)),d=parseFloat(u),f in Ue&&(f==="autoAlpha"&&(m===1&&Je(e,"visibility")==="hidden"&&d&&(m=0),q.push("visibility",0,s.visibility),ot(this,s,"visibility",m?"inherit":"hidden",d?"inherit":"hidden",!d)),f!=="scale"&&f!=="transform"&&(f=Ue[f],~f.indexOf(",")&&(f=f.split(",")[0]))),w=f in Ke,w){if(this.styles.save(f),h==="string"&&u.substring(0,6)==="var(--"&&(u=$e(e,u.substring(4,u.indexOf(")"))),d=parseFloat(u)),T||(g=e._gsap,g.renderTransform&&!t.parseTransform||Kt(e,t.parseTransform),k=t.smoothOrigin!==!1&&g.smooth,T=this._pt=new qe(this._pt,s,ue,0,1,g.renderTransform,g,0,-1),T.dep=1),f==="scale")this._pt=new qe(this._pt,g,"scaleY",g.scaleY,(_?jt(g.scaleY,_+d):d)-g.scaleY||0,Ti),this._pt.u=0,o.push("scaleY",f),f+="X";else if(f==="transformOrigin"){q.push(Pe,0,s[Pe]),u=$s(u),g.svg?Ci(e,u,0,k,0,this):(y=parseFloat(u.split(" ")[2])||0,y!==g.zOrigin&&ot(this,g,"zOrigin",g.zOrigin,y),ot(this,s,f,wn(c),wn(u)));continue}else if(f==="svgOrigin"){Ci(e,u,1,k,0,this);continue}else if(f in ya){Us(this,g,f,m,_?jt(m,_+u):u);continue}else if(f==="smoothOrigin"){ot(this,g,"smooth",g.smooth,u);continue}else if(f==="force3D"){g[f]=u;continue}else if(f==="transform"){Ws(this,u,e);continue}}else f in s||(f=At(f)||f);if(w||(d||d===0)&&(m||m===0)&&!qs.test(u)&&f in s)x=(c+"").substr((m+"").length),d||(d=0),y=je(u)||(f in De.units?De.units[f]:x),x!==y&&(m=st(e,f,c,y)),this._pt=new qe(this._pt,w?g:s,f,m,(_?jt(m,_+d):d)-m,!w&&(y==="px"||f==="zIndex")&&t.autoRound!==!1?Ds:Ti),this._pt.u=y||0,x!==y&&y!=="%"&&(this._pt.b=c,this._pt.r=Ps);else if(f in s)Bs.call(this,e,f,c,_?_+u:u);else if(f in e)this.add(e,f,c||e[f],_?_+u:u,r,a);else if(f!=="parseTransform"){Xn(f,u);continue}w||(f in s?q.push(f,0,s[f]):typeof e[f]=="function"?q.push(f,2,e[f]()):q.push(f,1,c||e[f])),o.push(f)}}C&&na(this)},render:function(e,t){if(t.tween._time||!_i())for(var n=t._pt;n;)n.r(e,n.d),n=n._next;else t.styles.revert()},get:Je,aliases:Ue,getSetter:function(e,t,n){var r=Ue[t];return r&&r.indexOf(",")<0&&(t=r),t in Ke&&t!==Pe&&(e._gsap.x||Je(e,"x"))?n&&oa===n?t==="scale"?Ms:Rs:(oa=n||{})&&(t==="scale"?Fs:zs):e.style&&!Hn(e.style[t])?As:~t.indexOf("-")?Ns:hi(e,t)},core:{_removeProperty:vt,_getMatrix:Oi}};Ee.utils.checkPrefix=At,Ee.core.getStyleSaver=pa,(function(i,e,t,n){var r=Se(i+","+e+","+t,function(a){Ke[a]=1});Se(e,function(a){De.units[a]="deg",ya[a]=1}),Ue[r[13]]=i+","+e,Se(n,function(a){var o=a.split(":");Ue[o[1]]=r[o[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"),Se("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(i){De.units[i]="px"}),Ee.registerPlugin(ka);var ke=Ee.registerPlugin(ka)||Ee;ke.core.Tween,ke.registerPlugin(on.useGSAP);const Gs=S.forwardRef(({children:i,onClose:e,className:t},n)=>{const{isMobile:r}=No(),[a,o]=S.useState(!1),s=S.useRef(null),l=S.useCallback(()=>{o(!0)},[]),c=S.useCallback(()=>{o(!1),e?.()},[e]);return S.useImperativeHandle(n,()=>({open:l,close:c,isOpen:a}),[l,c,a]),on.useGSAP(()=>{if(!s.current)return;const u=ke.timeline();a?u.to(s.current,{width:r?"100%":"40%",duration:.4}):u.to(s.current,{width:"0%"})},{scope:s,dependencies:[a,r]}),p.jsx(p.Fragment,{children:a&&p.jsxs("div",{ref:s,className:P("bg-neutral-default-default absolute top-0 right-0 h-screen border-l border-neutral-strong-default ",t),children:[p.jsx("button",{title:"Cerrar Drawer",onClick:c,className:"z-10 absolute left-4 top-4 cursor-pointer",children:p.jsx(ge.Close,{size:24,className:"text-neutral-default-default"})}),p.jsx("div",{onClick:u=>u.stopPropagation(),children:i})]})})}),Xs=({title:i,subtitle:e,children:t,className:n})=>p.jsx("header",{className:P("h-16 flex items-center px-4 sm:h-20 md:h-24 md:px-6 lg:h-28 xl:h-32 2xl:h-36",n),children:p.jsxs(J.motion.div,{initial:{opacity:0,y:-10},animate:{opacity:1,y:0},transition:{duration:.6,ease:"easeOut"},className:"flex justify-between items-center w-full ",children:[p.jsxs("div",{className:"flex flex-col leading-6",children:[p.jsx("h3",{className:"text-xs font-semibold text-neutral-medium-default leading-1 sm:leading-2",children:e}),p.jsx("h1",{className:"text-xl font-bold text-neutral-strong-default sm:text-2xl md:text-3xl xl:text-[32px] 2xl:text-[34px]",children:i})]}),p.jsx("div",{className:"flex gap-4",children:t})]})}),Ks=S.memo(Xs);var Js={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 Qt(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 n=(i.match(/[^0-9]*$/)||"").toString();return Js[n]?{value:e,unit:n}:(console.warn("React Spinners: ".concat(i," is not a valid css value. Defaulting to ").concat(e,"px.")),{value:e,unit:"px"})}function ye(i){var e=Qt(i);return"".concat(e.value).concat(e.unit)}var lt=function(i,e,t){var n="react-spinners-".concat(i,"-").concat(t);if(typeof window>"u"||!window.document)return n;var r=document.createElement("style");document.head.appendChild(r);var a=r.sheet,o=`
37
- @keyframes `.concat(n,` {
38
- `).concat(e,`
39
- }
40
- `);return a&&a.insertRule(o,0),n},Tn;(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"})(Tn||(Tn={}));var Qs=function(i,e){if(i.includes("/"))return i.replace("rgb(","rgba(");var t=i.substring(i.startsWith("rgba(")?5:4,i.length-1).trim(),n=t.split(",");return n.length===4?i.replace("rgb(","rgba("):n.length===3?"rgba(".concat(t,", ").concat(e,")"):"rgba(".concat(t," / ").concat(e,")")},el=function(i,e){if(i.startsWith("rgb"))return Qs(i,e);if(Object.keys(Tn).includes(i)&&(i=Tn[i]),i[0]==="#"&&(i=i.slice(1)),i.length===3){var t="";i.split("").forEach(function(r){t+=r,t+=r}),i=t}var n=(i.match(/.{2}/g)||[]).map(function(r){return parseInt(r,16)}).join(", ");return"rgba(".concat(n,", ").concat(e,")")},jn=function(){return jn=Object.assign||function(i){for(var e,t=1,n=arguments.length;t<n;t++){e=arguments[t];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(i[r]=e[r])}return i},jn.apply(this,arguments)},tl=function(i,e){var t={};for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&e.indexOf(n)<0&&(t[n]=i[n]);if(i!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,n=Object.getOwnPropertySymbols(i);r<n.length;r++)e.indexOf(n[r])<0&&Object.prototype.propertyIsEnumerable.call(i,n[r])&&(t[n[r]]=i[n[r]]);return t},nl=lt("BounceLoader","0% {transform: scale(0)} 50% {transform: scale(1.0)} 100% {transform: scale(0)}","bounce");function il(i){var e=i.loading,t=e===void 0?!0:e,n=i.color,r=n===void 0?"#000000":n,a=i.speedMultiplier,o=a===void 0?1:a,s=i.cssOverride,l=s===void 0?{}:s,c=i.size,u=c===void 0?60:c,d=tl(i,["loading","color","speedMultiplier","cssOverride","size"]),m=function(b){var f=b===1?"".concat(1/o,"s"):"0s";return{position:"absolute",height:ye(u),width:ye(u),backgroundColor:r,borderRadius:"100%",opacity:.6,top:0,left:0,animationFillMode:"both",animation:"".concat(nl," ").concat(2.1/o,"s ").concat(f," infinite ease-in-out")}},h=jn({display:"inherit",position:"relative",width:ye(u),height:ye(u)},l);return t?Q.createElement("span",jn({style:h},d),Q.createElement("span",{style:m(1)}),Q.createElement("span",{style:m(2)})):null}var kn=function(){return kn=Object.assign||function(i){for(var e,t=1,n=arguments.length;t<n;t++){e=arguments[t];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(i[r]=e[r])}return i},kn.apply(this,arguments)},rl=function(i,e){var t={};for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&e.indexOf(n)<0&&(t[n]=i[n]);if(i!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,n=Object.getOwnPropertySymbols(i);r<n.length;r++)e.indexOf(n[r])<0&&Object.prototype.propertyIsEnumerable.call(i,n[r])&&(t[n[r]]=i[n[r]]);return t},al=lt("ClipLoader","0% {transform: rotate(0deg) scale(1)} 50% {transform: rotate(180deg) scale(0.8)} 100% {transform: rotate(360deg) scale(1)}","clip");function ol(i){var e=i.loading,t=e===void 0?!0:e,n=i.color,r=n===void 0?"#000000":n,a=i.speedMultiplier,o=a===void 0?1:a,s=i.cssOverride,l=s===void 0?{}:s,c=i.size,u=c===void 0?35:c,d=rl(i,["loading","color","speedMultiplier","cssOverride","size"]),m=kn({background:"transparent !important",width:ye(u),height:ye(u),borderRadius:"100%",border:"2px solid",borderTopColor:r,borderBottomColor:"transparent",borderLeftColor:r,borderRightColor:r,display:"inline-block",animation:"".concat(al," ").concat(.75/o,"s 0s infinite linear"),animationFillMode:"both"},l);return t?Q.createElement("span",kn({style:m},d)):null}var On=function(){return On=Object.assign||function(i){for(var e,t=1,n=arguments.length;t<n;t++){e=arguments[t];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(i[r]=e[r])}return i},On.apply(this,arguments)},sl=function(i,e){var t={};for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&e.indexOf(n)<0&&(t[n]=i[n]);if(i!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,n=Object.getOwnPropertySymbols(i);r<n.length;r++)e.indexOf(n[r])<0&&Object.prototype.propertyIsEnumerable.call(i,n[r])&&(t[n[r]]=i[n[r]]);return t},ll=lt("DotLoader","100% {transform: rotate(360deg)}","rotate"),cl=lt("DotLoader","0%, 100% {transform: scale(0)} 50% {transform: scale(1.0)}","bounce");function ul(i){var e=i.loading,t=e===void 0?!0:e,n=i.color,r=n===void 0?"#000000":n,a=i.speedMultiplier,o=a===void 0?1:a,s=i.cssOverride,l=s===void 0?{}:s,c=i.size,u=c===void 0?60:c,d=sl(i,["loading","color","speedMultiplier","cssOverride","size"]),m=On({display:"inherit",position:"relative",width:ye(u),height:ye(u),animationFillMode:"forwards",animation:"".concat(ll," ").concat(2/o,"s 0s infinite linear")},l),h=function(b){var f=Qt(u),x=f.value,y=f.unit;return{position:"absolute",top:b%2?"0":"auto",bottom:b%2?"auto":"0",height:"".concat(x/2).concat(y),width:"".concat(x/2).concat(y),backgroundColor:r,borderRadius:"100%",animationFillMode:"forwards",animation:"".concat(cl," ").concat(2/o,"s ").concat(b===2?"1s":"0s"," infinite linear")}};return t?Q.createElement("span",On({style:m},d),Q.createElement("span",{style:h(1)}),Q.createElement("span",{style:h(2)})):null}var Cn=function(){return Cn=Object.assign||function(i){for(var e,t=1,n=arguments.length;t<n;t++){e=arguments[t];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(i[r]=e[r])}return i},Cn.apply(this,arguments)},pl=function(i,e){var t={};for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&e.indexOf(n)<0&&(t[n]=i[n]);if(i!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,n=Object.getOwnPropertySymbols(i);r<n.length;r++)e.indexOf(n[r])<0&&Object.prototype.propertyIsEnumerable.call(i,n[r])&&(t[n[r]]=i[n[r]]);return t},dl=lt("GridLoader","0% {transform: scale(1)} 50% {transform: scale(0.5); opacity: 0.7} 100% {transform: scale(1); opacity: 1}","grid"),Qe=function(i){return Math.random()*i};function fl(i){var e=i.loading,t=e===void 0?!0:e,n=i.color,r=n===void 0?"#000000":n,a=i.speedMultiplier,o=a===void 0?1:a,s=i.cssOverride,l=s===void 0?{}:s,c=i.size,u=c===void 0?15:c,d=i.margin,m=d===void 0?2:d,h=pl(i,["loading","color","speedMultiplier","cssOverride","size","margin"]),b=Qt(u),f=Qt(m),x=parseFloat(b.value.toString())*3+parseFloat(f.value.toString())*6,y=Cn({width:"".concat(x).concat(b.unit),fontSize:0,display:"inline-block"},l),_=function(w){return{display:"inline-block",backgroundColor:r,width:"".concat(ye(u)),height:"".concat(ye(u)),margin:ye(m),borderRadius:"100%",animationFillMode:"both",animation:"".concat(dl," ").concat((w/100+.6)/o,"s ").concat(w/100-.2,"s infinite ease")}};return t?Q.createElement("span",Cn({style:y},h,{ref:function(w){w&&w.style.setProperty("width","".concat(x).concat(b.unit),"important")}}),Q.createElement("span",{style:_(Qe(100))}),Q.createElement("span",{style:_(Qe(100))}),Q.createElement("span",{style:_(Qe(100))}),Q.createElement("span",{style:_(Qe(100))}),Q.createElement("span",{style:_(Qe(100))}),Q.createElement("span",{style:_(Qe(100))}),Q.createElement("span",{style:_(Qe(100))}),Q.createElement("span",{style:_(Qe(100))}),Q.createElement("span",{style:_(Qe(100))})):null}var Sn=function(){return Sn=Object.assign||function(i){for(var e,t=1,n=arguments.length;t<n;t++){e=arguments[t];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(i[r]=e[r])}return i},Sn.apply(this,arguments)},ml=function(i,e){var t={};for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&e.indexOf(n)<0&&(t[n]=i[n]);if(i!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,n=Object.getOwnPropertySymbols(i);r<n.length;r++)e.indexOf(n[r])<0&&Object.prototype.propertyIsEnumerable.call(i,n[r])&&(t[n[r]]=i[n[r]]);return t};function hl(i){var e=i.loading,t=e===void 0?!0:e,n=i.color,r=n===void 0?"#000000":n,a=i.speedMultiplier,o=a===void 0?1:a,s=i.cssOverride,l=s===void 0?{}:s,c=i.size,u=c===void 0?50:c,d=ml(i,["loading","color","speedMultiplier","cssOverride","size"]),m=Qt(u),h=m.value,b=m.unit,f=Sn({display:"inherit",position:"relative",width:ye(u),height:ye(u),transform:"rotate(165deg)"},l),x=h/5,y=(h-x)/2,_=y-x,w=el(r,.75),T=lt("HashLoader","0% {width: ".concat(x,"px; box-shadow: ").concat(y,"px ").concat(-_,"px ").concat(w,", ").concat(-y,"px ").concat(_,"px ").concat(w,`}
41
- 35% {width: `).concat(ye(u),"; box-shadow: 0 ").concat(-_,"px ").concat(w,", 0 ").concat(_,"px ").concat(w,`}
42
- 70% {width: `).concat(x,"px; box-shadow: ").concat(-y,"px ").concat(-_,"px ").concat(w,", ").concat(y,"px ").concat(_,"px ").concat(w,`}
43
- 100% {box-shadow: `).concat(y,"px ").concat(-_,"px ").concat(w,", ").concat(-y,"px ").concat(_,"px ").concat(w,"}"),"before"),g=lt("HashLoader","0% {height: ".concat(x,"px; box-shadow: ").concat(_,"px ").concat(y,"px ").concat(r,", ").concat(-_,"px ").concat(-y,"px ").concat(r,`}
44
- 35% {height: `).concat(ye(u),"; box-shadow: ").concat(_,"px 0 ").concat(r,", ").concat(-_,"px 0 ").concat(r,`}
45
- 70% {height: `).concat(x,"px; box-shadow: ").concat(_,"px ").concat(-y,"px ").concat(r,", ").concat(-_,"px ").concat(y,"px ").concat(r,`}
46
- 100% {box-shadow: `).concat(_,"px ").concat(y,"px ").concat(r,", ").concat(-_,"px ").concat(-y,"px ").concat(r,"}"),"after"),k=function(C){return{position:"absolute",top:"50%",left:"50%",display:"block",width:"".concat(h/5).concat(b),height:"".concat(h/5).concat(b),borderRadius:"".concat(h/10).concat(b),transform:"translate(-50%, -50%)",animationFillMode:"none",animation:"".concat(C===1?T:g," ").concat(2/o,"s infinite")}};return t?Q.createElement("span",Sn({style:f},d),Q.createElement("span",{style:k(1)}),Q.createElement("span",{style:k(2)})):null}var qn=function(){return qn=Object.assign||function(i){for(var e,t=1,n=arguments.length;t<n;t++){e=arguments[t];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(i[r]=e[r])}return i},qn.apply(this,arguments)},vl=function(i,e){var t={};for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&e.indexOf(n)<0&&(t[n]=i[n]);if(i!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,n=Object.getOwnPropertySymbols(i);r<n.length;r++)e.indexOf(n[r])<0&&Object.prototype.propertyIsEnumerable.call(i,n[r])&&(t[n[r]]=i[n[r]]);return t},xl=lt("SyncLoader",`33% {transform: translateY(10px)}
47
- 66% {transform: translateY(-10px)}
48
- 100% {transform: translateY(0)}`,"sync");function gl(i){var e=i.loading,t=e===void 0?!0:e,n=i.color,r=n===void 0?"#000000":n,a=i.speedMultiplier,o=a===void 0?1:a,s=i.cssOverride,l=s===void 0?{}:s,c=i.size,u=c===void 0?15:c,d=i.margin,m=d===void 0?2:d,h=vl(i,["loading","color","speedMultiplier","cssOverride","size","margin"]),b=qn({display:"inherit"},l),f=function(x){return{backgroundColor:r,width:ye(u),height:ye(u),margin:ye(m),borderRadius:"100%",display:"inline-block",animation:"".concat(xl," ").concat(.6/o,"s ").concat(x*.07,"s infinite ease-in-out"),animationFillMode:"both"}};return t?Q.createElement("span",qn({style:b},h),Q.createElement("span",{style:f(1)}),Q.createElement("span",{style:f(2)}),Q.createElement("span",{style:f(3)})):null}const qi=({variant:i="sync",color:e="#3B82F6",loading:t=!0,size:n="medium",className:r="",speedMultiplier:a=1})=>{const s=(()=>{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:s,speedMultiplier:a,"aria-label":"Loading Spinner","data-testid":"spinner"},c=P("inline-block",r),u=()=>{switch(i){case"bounce":return p.jsx(il,{...l});case"dot":return p.jsx(ul,{...l});case"grid":return p.jsx(fl,{...l,size:s*.4});case"hash":return p.jsx(hl,{...l});case"sync":return p.jsx(gl,{...l,size:s*.4});case"clip":default:return p.jsx(ol,{...l})}};return p.jsx("div",{className:c,children:u()})},En={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")}},en={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"}},bl=({label:i,icon:e,onChange:t,value:n="",debounceMs:r=0,name:a,width:o="100%",height:s,variant:l="default",size:c="medium",disabled:u=!1,type:d="text",isFetching:m,errorMessage:h,helperText:b,required:f=!1,onFocus:x,onBlur:y})=>{const[_,w]=S.useState(n),[T]=jo.useDebounce(_,r),[g,k]=S.useState(!1),[C,q]=S.useState(!1);S.useEffect(()=>{r&&T!==n&&t(T)},[T,r,t,n]),S.useEffect(()=>{w(n)},[n]);const O=()=>{k(!0),x?.()},B=()=>{k(!1),y?.()},H=te=>{const v=te.target.value;w(v),r||t(v)},U=()=>{q(!C)},V={};o&&o!=="100%"&&(V.width=o),s&&(V.height=s);const Z=_.length>0,Y=l==="error"&&h,G=!Y&&b,K=()=>g||Z?"-top-2 left-2 scale-90":"top-1/2 -translate-y-1/2 scale-100",se=()=>s?{height:s}:{};return p.jsxs("div",{className:P("relative",en[c].container,!o&&"w-full","bg-inherit"),style:V,children:[p.jsx("input",{id:a,name:a,type:d==="password"&&C?"text":d,value:_,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",!s&&en[c].input,s&&`px-3 ${en[c].input.split(" ").filter(te=>te.startsWith("text-")).join(" ")}`,En[l].input,e&&"pr-10",u&&"bg-neutral-weak-default cursor-not-allowed opacity-60",En[l].container),style:se(),onChange:H,onFocus:O,onBlur:B,disabled:u,required:f}),p.jsx("label",{htmlFor:a,className:P("absolute left-3 transition-all duration-200 ease-in-out pointer-events-none bg-inherit px-1 z-10",!s&&en[c].label,s&&"text-sm",En[l].label,K(),f&&"after:content-['*'] after:text-error-default after:ml-1"),children:i}),(e||d==="password"||m)&&p.jsx("div",{className:P("absolute top-1/2 -translate-y-1/2 flex items-center justify-center z-10",!s&&en[c].icon,s&&"w-5 h-5 right-3",En[l].icon,d==="password"&&!m?"cursor-pointer":"pointer-events-none"),onClick:d==="password"&&!m?U:void 0,onMouseDown:te=>d==="password"&&!m&&te.preventDefault(),children:p.jsx(J.motion.div,{animate:g?{y:[-2,0],rotate:[0,-10,10,-10,10,0]}:{},transition:{duration:.6,ease:"easeInOut"},children:m&&d!=="password"?p.jsx("div",{className:"animate-spin",children:p.jsx(qi,{size:24,color:"#7c86ff",loading:!0})}):d==="password"?C?p.jsx(ge.EyeVisibility,{size:24,className:""}):p.jsx(ge.EyeVisibilityOff,{size:24,className:""}):e})}),Y&&p.jsx("p",{className:"mt-1 text-xs text-error-default",children:h}),G&&p.jsx("p",{className:"mt-1 text-xs text-neutral-medium-default",children:b})]})},yl=S.memo(bl),_l=({icon:i,iconPosition:e="left",label:t,className:n,containerClassName:r,id:a,type:o="text",...s})=>{const[l,c]=an.useField(s),[u,d]=S.useState(!1),[m,h]=S.useState(!1),b=c.touched&&c.error,f=l.value&&l.value.toString().length>0,x=o==="password",y=x?m?"text":"password":o,_=()=>u||f?"-top-3 left-2 scale-90":"top-1/2 -translate-y-1/2 scale-100",w=()=>x?i?e==="left"?"pl-10 pr-10":"pr-16":"pr-10":i?e==="left"?"pl-10":"pr-10":"",T=()=>i&&e==="left"?"left-10":"left-3",g=()=>{h(!m)};return p.jsxs("div",{className:P("relative w-full bg-inherit",r),children:[p.jsxs("div",{className:"relative bg-inherit",children:[p.jsx("input",{id:a||s.name,type:y,name:l.name,value:l.value||"",onChange:l.onChange,onFocus:()=>{d(!0),s.onFocus?.()},onBlur:k=>{d(!1),s.onBlur?.(),l.onBlur(k)},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":b?"border-error-default-default":"border-neutral-default-default hover:border-neutral-strong-default",w(),n)}),p.jsx("label",{htmlFor:a||s.name,className:P("absolute transition-all duration-200 ease-in-out pointer-events-none bg-inherit px-1 z-10","text-md",_(),f||u?"text-primary-default-default":b?"text-red-500":"text-neutral-medium-default",T()),children:t}),i&&p.jsx("div",{className:P("absolute top-1/2 -translate-y-1/2 text-neutral-medium-default",e==="left"?"left-3":"right-3"),children:i}),x&&p.jsx("button",{type:"button",onClick:g,className:P("absolute top-1/2 -translate-y-1/2 p-1 text-neutral-medium-default hover:text-neutral-strong-default","transition-colors duration-200 focus:outline-none focus:text-primary-default-default",i&&e==="right"?"right-8":"right-3"),tabIndex:-1,children:m?p.jsx(ge.EyeVisibilityOff,{size:24,className:"text-neutral-default-default"}):p.jsx(ge.EyeVisibility,{size:24,className:"text-neutral-default-default"})})]}),b&&p.jsx(an.ErrorMessage,{name:s.name,component:"span",className:"block text-error-default-default text-xs mt-1"})]})},wl=()=>p.jsxs("div",{className:"container-logo flex items-center justify-center gap-1 bg-gradient-to-br from-[#312C85] to-[#1E1A4D] rounded-md min-w-[185px]",children:[p.jsx(ge.TicketFilled,{size:28,className:"rotate-140 text-primary-medium-pressed icon-logo"}),p.jsx("span",{className:"font-bold text-[28px] text-primary-medium-pressed font-monserra -tracking-wide text-logo",children:"TICKETS"})]}),Tl=Object.assign(({menuRef:i,children:e})=>p.jsx("div",{ref:i,className:"flex bg-neutral-default-default absolute bottom-10 left-30 border-1 border-neutral-strong-default h-auto w-60 rounded-md px-2",children:p.jsx(J.AnimatePresence,{mode:"wait",children:p.jsx(J.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:e})})}),{Divider:()=>p.jsx(J.motion.div,{className:"flex justify-center items-center w-full ",exit:{opacity:0,scaleX:0,height:0,transition:{duration:.4,delay:.15,ease:"easeInOut"}},children:p.jsx("div",{className:"border-b border-neutral-strong-default border-1 w-full"})}),Items:({onClick:i,children:e,className:t})=>p.jsx(J.motion.button,{onClick:i,className:P("flex py-2 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",t),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:e})});function jl({currentPage:i=1,totalPages:e=0,onPageChange:t}){const n=o=>{o>=1&&o<=e&&o!==i&&t?.(o)},a=(()=>{const o=[];if(e>7)if(o.push(1),i<=4){for(let l=2;l<=5;l++)o.push(l);o.push("ellipsis"),o.push(e)}else if(i>=e-3){o.push("ellipsis");for(let l=e-4;l<=e;l++)o.push(l)}else{o.push("ellipsis");for(let l=i-1;l<=i+1;l++)o.push(l);o.push("ellipsis"),o.push(e)}else for(let l=1;l<=e;l++)o.push(l);return o})();return p.jsxs("div",{className:"flex items-center justify-center gap-2 p-4",children:[p.jsx(J.motion.button,{whileHover:{scale:1.05},whileTap:{scale:.95},onClick:()=>n(i-1),disabled:i===1,className:"px-4 py-2 text-primary-medium-default hover:text-primary-default-default disabled:text-gray-600 disabled:cursor-not-allowed transition-colors cursor-pointer",children:"Anterior"}),p.jsx("div",{className:"flex items-center gap-1 select-none",children:a.map((o,s)=>{if(o==="ellipsis")return p.jsx("span",{className:"px-3 py-2 text-neutral-default-default",children:"..."},`ellipsis-${s}`);const l=o,c=l===i;return p.jsxs(J.motion.button,{whileHover:c?{}:{scale:1.1},whileTap:c?{}:{scale:.9},onClick:()=>n(l),className:`relative px-3 py-2 min-w-[40px] text-center transition-colors ${c?"text-primary-default-default":"text-neutral-default-default hover:text-white cursor-pointer "}`,children:[c&&p.jsx(J.motion.div,{layoutId:"activePage",className:"absolute inset-0 border-1 border-primary-default-default rounded-md",initial:!1,transition:{type:"spring",stiffness:500,damping:30}}),p.jsx("span",{className:"relative z-10",children:l})]},l)})}),p.jsx(J.motion.button,{whileHover:{scale:1.05},whileTap:{scale:.95},onClick:()=>n(i+1),disabled:i===e,className:"px-4 py-2 text-primary-medium-default hover:text-primary-default-default disabled:text-gray-600 disabled:cursor-not-allowed transition-colors cursor-pointer",children:"Siguiente"})]})}const kl=S.forwardRef(({className:i,startDate:e,endDate:t,label:n,...r},a)=>{const o=new Date(e),s=new Date(t),l=new Date,c=1440*60*1e3,u=Math.ceil((s.getTime()-o.getTime())/c),d=Math.max(0,Math.floor((l.getTime()-o.getTime())/c)),m=Math.max(0,Math.ceil((s.getTime()-l.getTime())/c)),h=Math.min(Math.max(d/u*100,0),100),b=l>s,f=l<o;let x=n;return n||(b?x=`Vencido hace ${Math.ceil((l.getTime()-s.getTime())/c)} días`:f?x=`Comienza en ${Math.ceil((o.getTime()-l.getTime())/c)} días`:x=`Faltan ${m} días`),p.jsxs("div",{ref:a,className:i,...r,children:[p.jsxs("div",{className:"flex justify-between items-center text-white mb-2",children:[p.jsxs("div",{className:"flex flex-col gap-2",children:[p.jsx("span",{className:"text-sm text-neutral-medium-default",children:"Tiempo restante"}),p.jsx("span",{className:"text-semibold text-md text-neutral-default-default",children:x})]}),p.jsxs("span",{className:"text-sm text-gray-400",children:[d," / ",u," días"]})]}),p.jsx("div",{className:"w-full border-neutral-strong-default border-1 rounded-sm h-[14px]",children:p.jsx("div",{className:P("h-[14px] rounded-sm transition-all duration-300",b?"bg-red-500":"bg-primary-default-default"),style:{width:`${h}%`}})})]})}),Ol=({label:i,onOptionClick:e,value:t=[],isFetching:n=!1,options:r,multiple:a=!0,onClear:o,onClose:s,className:l,id:c,emptyMessage:u="No hay opciones disponibles",optionValue:d,optionLabel:m,renderOption:h,renderSelection:b,containerClassName:f,buttonClassName:x,dropdownClassName:y,displayMode:_="compact",onRemoveOption:w,width:T="100%",height:g})=>{const[k,C]=S.useState(!1),[q,O]=S.useState(!1),B=S.useRef(null),H=t&&t.length>0,U=r?.filter(E=>t.includes(d(E))),V=()=>k||H||q?"-top-2 left-2 scale-90":"top-1/2 -translate-y-1/2 scale-100",Z={};T&&T!=="100%"&&(Z.width=T),g&&(Z.height=g);const Y=()=>g?{height:g}:{};S.useEffect(()=>{const E=M=>{B.current&&!B.current.contains(M.target)&&C(!1)};return k&&document.addEventListener("mousedown",E),()=>{document.removeEventListener("mousedown",E)}},[k]);const G=()=>{C(!k)},K=E=>{const M=d(E);e(M,E),!a&&s&&s()},se=E=>{E.stopPropagation(),O(!1),E.target.blur(),o?.()},te=(E,M)=>{M?.stopPropagation();const L=d(E);w?.(L)},v=({option:E,onRemove:M})=>p.jsxs("div",{className:"inline-flex items-center gap-1 px-2 py-1 bg-primary-default-default text-white text-xs rounded-md",children:[p.jsx("span",{className:"truncate max-w-20",children:m(E)}),p.jsx("button",{onClick:L=>M(E,L),className:"flex-shrink-0 hover:bg-primary-strong-default rounded-sm p-0.5 transition-colors",type:"button",tabIndex:-1,children:p.jsx(ge.Close,{size:12,className:""})})]}),j=({option:E,isSelected:M,onSelect:L,isMultiple:I})=>p.jsxs("div",{onClick:L,className:P("px-3 py-2 cursor-pointer flex items-center transition-colors",M?"bg-primary-default-default text-white":"hover:bg-neutral-medium-selected text-neutral-default-default"),children:[I&&p.jsx("input",{type:"checkbox",checked:M,onChange:()=>{},className:"mr-2 pointer-events-none"}),p.jsx("span",{children:m(E)})]}),A=({selectedOptions:E})=>E?.length===0?null:_==="chips"&&a?p.jsx("div",{className:"flex items-center gap-1 flex-wrap py-1",children:E.map(M=>p.jsx(v,{option:M,onRemove:te},d(M)))}):E?.length===1?p.jsx("span",{children:m(E[0])}):p.jsxs("span",{children:[E?.length," seleccionados"]}),F=h||j,R=b||A;return p.jsx("div",{className:P("relative bg-inherit",f,!T&&"w-full "),ref:B,style:Z,children:p.jsxs("div",{className:P("relative bg-inherit",l),children:[p.jsxs("button",{id:c,type:"button",onClick:G,onFocus:()=>O(!0),onBlur:()=>O(!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-inherit","focus:outline-none",_==="chips"&&a&&H?"min-h-12 py-2":!g&&"h-12",k||q?"border-primary-default-default border-2":"border-neutral-default-default hover:border-neutral-strong-default",x),style:Y(),children:[p.jsx("label",{htmlFor:c,className:P("absolute left-3 transition-all duration-200 ease-in-out pointer-events-none bg-inherit px-1 z-10","text-sm",V(),H||k||q?"text-primary-default-default":"text-neutral-medium-default"),children:i}),p.jsx("div",{className:"flex-1 min-w-0",children:p.jsx(R,{selectedOptions:U})}),p.jsxs("div",{className:"flex items-center gap-2 ml-2",children:[n&&p.jsx(qi,{size:"small"}),H&&o&&p.jsx("button",{onClick:se,className:"text-neutral-medium-default hover:text-neutral-default-default transition-colors",type:"button",tabIndex:-1,children:p.jsx(ge.Close,{size:16,className:""})}),p.jsx(ge.ChevronDown,{size:20,className:P("transition-transform text-neutral-default-default",k?"rotate-180":"")})]})]}),k&&p.jsx("div",{className:P("absolute z-50 w-full mt-1 bg-neutral-default-default border border-neutral-default-default rounded-md shadow-lg","max-h-60 overflow-auto",y),children:r.length===0?p.jsx("div",{className:"px-3 py-2 text-neutral-medium-default",children:u}):r.map(E=>{const M=d(E),L=t.includes(M);return p.jsx(F,{option:E,isSelected:L,onSelect:()=>K(E),isMultiple:a},M)})})]})})},Cl=S.memo(Ol),Sl=S.memo(function({items:e,activeTab:t,onTabChange:n,className:r,tabClassName:a,activeTabClassName:o,indicatorClassName:s,animated:l=!0,renderTab:c}){const u=d=>{d.disabled||n?.(d.id,d)};return p.jsx("div",{className:P("flex flex-row justify-around items-end relative border-b-1 border-neutral-strong-default w-full md:justify-start md:px-10 md:gap-5",r),role:"tablist",children:e?.map(d=>{const m=t===d.id,h=()=>u(d);return c?p.jsx("div",{children:c(d,m,h)},d.id):p.jsxs("button",{onClick:h,disabled:d.disabled,className:P("relative flex justify-center items-center h-10 px-4 font-medium focus:outline-none transition-colors",!d.disabled&&"hover:text-primary-default-default cursor-pointer",d.disabled&&"opacity-50 cursor-not-allowed",a,m&&o),tabIndex:d.disabled?-1:0,"aria-label":d.title,role:"tab","aria-selected":m,title:d.description,children:[m&&l&&p.jsx(J.motion.div,{layoutId:"tab-indicator",className:P("absolute -bottom-[1px] left-0 right-0 h-[5px] rounded-t-xl bg-primary-default-default z-0",s),transition:{type:"spring",stiffness:300,damping:20},"aria-hidden":"true"}),p.jsx("span",{className:P("relative z-10",m?"text-primary-default-default font-semibold text-md":"text-neutral-medium-default font-medium text-md"),children:d.title})]},d.id)})})}),Oa=Q.forwardRef(({className:i,...e},t)=>p.jsx("div",{className:"relative w-full overflow-auto",children:p.jsx("table",{ref:t,className:P("w-full caption-bottom text-sm border-b-1 rounded-lg border-neutral-default-default",i),...e})}));Oa.displayName="Table";const Ca=Q.forwardRef(({className:i,...e},t)=>p.jsx("thead",{ref:t,className:P("[&_tr]:border-b-0 [&_tr]:text-center",i),...e}));Ca.displayName="TableHeader";const Sa=Q.forwardRef(({className:i,...e},t)=>p.jsx("tbody",{ref:t,className:P("[&_tr:last-child]:border-b [&_tr]:cursor-pointer ",i),...e}));Sa.displayName="TableBody";const qa=Q.forwardRef(({className:i,...e},t)=>p.jsx("tfoot",{ref:t,className:P("border-t bg-muted/50 font-medium [&>tr]:last:!border-b-0",i),...e}));qa.displayName="TableFooter";const Ea=Q.forwardRef(({className:i,...e},t)=>p.jsx("tr",{ref:t,className:P("border-b border-neutral-default-default text-center text-md text-semibold transition-colors hover:bg-neutral-medium-default/50 text-neutral-default-default",i),...e}));Ea.displayName="TableRow";const Pa=Q.forwardRef(({className:i,...e},t)=>p.jsx("th",{ref:t,className:P("h-14 px-4 text-center align-middle font-semibold text-neutral-default-default bg-neutral-medium-default first:rounded-tl-lg first:rounded-bl-lg last:rounded-br-lg last:rounded-tr-lg",i),...e}));Pa.displayName="TableHead";const Da=Q.forwardRef(({className:i,...e},t)=>p.jsx("td",{ref:t,className:P("py-4 px-4 align-middle text-center [&:has([role=checkbox])]:pr-0",i),...e}));Da.displayName="TableCell";const Aa=Q.forwardRef(({className:i,...e},t)=>p.jsx("caption",{ref:t,className:P("mt-4 text-sm text-muted-foreground",i),...e}));Aa.displayName="TableCaption";function ql({className:i,autoResize:e=!1,userResize:t=!0,minRows:n=3,maxRows:r,placeholder:a,onChange:o,value:s,rows:l}){const c=Q.useRef(null),u=Q.useCallback(()=>{const h=c.current;if(!h||!e)return;h.style.height="auto";const b=h.scrollHeight,f=Number.parseInt(getComputedStyle(h).lineHeight)||20,x=n*f+16;let y=Math.max(b,x);if(r){const _=r*f+16;y=Math.min(y,_)}h.style.height=`${y}px`},[e,n,r]),d=h=>{o?.(h),u()};Q.useEffect(()=>{u()},[u]);const m=()=>t?e?"resize-x":"resize":"resize-none";return p.jsx("textarea",{ref:c,"data-slot":"textarea",className:P("placeholder:text-neutral-medium-default text-neutral-default-default appearance-none border border-neutral-default-default focus:border-primary-default-default flex w-full rounded-md px-3 py-2 outline-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",m(),i),onChange:d,rows:e?n:l,value:s,placeholder:a})}const Na=S.createContext(null),Ra=({children:i})=>{const e=S.useRef(null),t=n=>{n.current&&e&&(e.current=n.current)};return p.jsx(Na.Provider,{value:{primarySidebarRef:e,registerPrimarySidebar:t},children:i})},Ma=()=>{const i=S.useContext(Na);if(!i)throw new Error("useSidebarContext must be used within a SidebarProvider");return i},El=({children:i,sidebar:e})=>p.jsxs("div",{className:"flex h-screen w-full bg-neutral-default-default",children:[p.jsx(Ra,{children:e}),p.jsx("main",{className:"w-full h-full overflow-y-auto",children:i})]}),Pl=S.memo(El),Dl=(i,e)=>{on.useGSAP(()=>{if(!i.current)return;const t=i.current,n=document.querySelector('[data-main-content="true"]');if(e){ke.fromTo(t,{width:"0rem",opacity:0},{width:"40rem",opacity:1,duration:.4,ease:"power2.out"}),n&&ke.to(n,{marginLeft:t.offsetWidth+"px",duration:.4,ease:"power2.out"});const r=t.querySelectorAll(".secondary-bar-content > *");r.length>0&&ke.fromTo(r,{y:20,opacity:0},{y:0,opacity:1,duration:.3,stagger:.05,delay:.1,ease:"power1.out"})}else ke.to(t,{width:"0rem",opacity:0,duration:.3,ease:"power2.in"}),n&&ke.to(n,{marginLeft:"0px",duration:.3,ease:"power2.in"})},{scope:i,dependencies:[e]})},Fa=({children:i,isOpen:e=!1,className:t="",width:n="w-96",action:r,primarySidebarCollapsed:a,onClose:o})=>{const s=S.useRef(null),[l,c]=S.useState({left:0,width:0}),{primarySidebarRef:u}=Ma();return S.useLayoutEffect(()=>{if(u?.current){const d=u.current.getBoundingClientRect();c({left:d.width,width:d.width})}},[u,e,a]),Dl(s,e),p.jsx(p.Fragment,{children:e&&p.jsxs(p.Fragment,{children:[p.jsx("div",{className:"fixed inset-0 bg-black/95 z-20",style:{left:l.left},onClick:o}),p.jsx("div",{ref:s,className:P("h-screen bg-neutral-default-default border-r-1 border-neutral-strong-default flex flex-col secondary-bar flex-shrink-0","absolute top-0 z-30",n,t),style:{left:l.left},"data-action":r,children:p.jsx("div",{className:"secondary-bar-content",children:i})})]})})},Al=Object.assign(Fa,{Root:Fa,Header:({children:i,className:e})=>p.jsx("div",{className:P("h-16 ",e),children:i}),Content:({children:i,className:e})=>p.jsx("div",{className:P("flex-1 overflow-y-auto p-4",e),children:i}),Footer:({children:i,className:e})=>p.jsx("div",{className:P("p-4 border-t border-neutral-strong-default",e),children:i}),Spacer:({className:i})=>p.jsx("div",{className:P("flex-1",i)})}),Pn=(i,e,t,n)=>e&&(Array.isArray(e)?e.length>0:e)?i.to(e,t,n):i,Nl=(i,e,t)=>{on.useGSAP(()=>{if(!i.current)return;const n=ke.timeline({defaults:{duration:.7,ease:"power1.out"}}),r={navbar:i.current,navLabels:ke.utils.toArray(".nav-label"),navIconWrappers:ke.utils.toArray(".nav-icon-wrapper"),navIcons:ke.utils.toArray(".nav-icon"),navLinkItems:ke.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"),logo:{contenedor:document.querySelector(".container-logo"),icon:document.querySelector(".icon-logo"),text:document.querySelector(".text-logo")},sidebarHeader:document.querySelector(".sidebar-header"),containerIconcollapsade:document.querySelector(".container-icon-collapsade"),secondaryBar:document.querySelector(".secondary-bar"),secondaryBarContent:ke.utils.toArray(".secondary-bar *"),badgeInLink:ke.utils.toArray(".badge-in-link")};e?Rl(n,r):Ml(n,r),r.secondaryBar&&Fl(r.secondaryBar)},{scope:i,dependencies:[e,t]})},Rl=(i,e)=>{i.to(e.navbar,{width:"5rem",duration:.2,ease:"bounce.out"}).to(e.logo.contenedor,{height:48,width:48,minWidth:48,ease:"bounce.out"},-1).to(e.logo.text,{opacity:0,scale:.8,duration:.5,ease:"back.in(1.2)"},-1).set(e.logo.text,{display:"none"}).to(e.sidebarHeader,{justifyContent:"center",display:"flex"},-1).to(e.logo.icon,{keyframes:{"0%":{scale:1},"33%":{scale:1.5},"66%":{scale:.5},"100%":{scale:1}},duration:.6,ease:"power1.inOut"}).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),Pn(i,e.buttonCrevron,{width:0,opacity:0,duration:.7,ease:"power1.out",onComplete:()=>{e.buttonCrevron.style.display="none"}},0),Pn(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.profileImageWrapper,{marginLeft:0,marginRight:0,duration:.2,width:58,ease:"bounce.out"}).to(e.buttonProfile,{height:"3rem",width:"3rem",margin:0,padding:0,borderRadius:"60px",duration:.3,ease:"power2.out",display:"flex",justifyContent:"center",alignItems:"center"},-1).to(e.containerIconcollapsade,{justifyContent:"center",marginRight:0},"=-1").to(e.badgeInLink,{position:"absolute",right:1,top:-7},-1)},Ml=(i,e)=>{i.to(e.navbar,{width:"20rem"},-1).to(e.navLinkItems,{borderRadius:"10px",duration:.3,width:"100%",justifyContent:"flex-start"},-1),Pn(i,e.buttonCrevron,{width:"auto",opacity:1,duration:0,ease:"power1.out",onComplete:()=>{e.buttonCrevron.style.display="flex"}},0),Pn(i,e.buttonContentChevron,{display:"flex"},0).to(e.logo.contenedor,{width:185,height:48,minWidth:185},-1).set(e.logo.text,{display:"flex"},-1).to(e.logo.text,{opacity:1,duration:0,ease:"back.in(1)"}).to(e.logo.icon,{keyframes:{"0%":{scale:1},"33%":{scale:1.5},"66%":{scale:.5},"100%":{scale:1}},duration:.3,ease:"power1.inOut"}).to(e.sidebarHeader,{justifyContent:"start",display:"flex"},-1).to(e.containerIconcollapsade,{justifyContent:"end",marginRight:20},-1).to(e.separatorProfile,{display:"flex"},0).to(e.badgeInLink,{position:"static",right:"auto",top:"auto",display:"flex",justifyContent:"end",alignItems:"center"},-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.profileUserInfo,{display:"flex"},-1).to(e.navIcons,{scale:1},.3)},Fl=(i,e)=>{ke.to(i,{x:"-100%",opacity:0,duration:.3,ease:"power2.in"})},Ei=S.forwardRef(({children:i,isCollapsed:e=!1,className:t=""},n)=>{const r=S.useRef(null),{registerPrimarySidebar:a}=Ma(),o=S.useCallback(s=>{r.current=s,typeof n=="function"?n(s):n&&(n.current=s)},[n]);return S.useEffect(()=>{r.current&&a(r)},[a]),Nl(r,e,!1),p.jsx("div",{ref:o,className:`bg-neutral-default-default hidden overflow-hidden h-screen md:flex flex-col border-r border-neutral-strong-default transition-all duration-300 relative z-50 flex-shrink-0
49
- } ${t}`,children:i})});Ei.displayName="SidebarRoot";const zl=Object.assign(Ei,{Root:Ei,CollapseButton:({isCollapsed:i,onToggleCollapse:e})=>p.jsx("div",{className:P("flex mt-5 mb-4 justify-end mr-5 container-icon-collapsade",i&&""),children:p.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?p.jsx(ge.CloseNavBarDesktop,{size:24,className:"rotate-180 transition-transform duration-300"}):p.jsx(ge.CloseNavBarDesktop,{size:24,className:"rotate-0 transition-transform duration-300"})})}),Header:({children:i,className:e})=>p.jsx("div",{className:`${e} sidebar-header`,children:i}),Divider:({className:i})=>p.jsx("div",{className:P("px-3 flex justify-center items-center w-full mb-4",i),children:p.jsx("div",{className:"border-b border-neutral-strong-default border-1 w-full"})}),Content:({children:i,className:e})=>p.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 p.jsx("div",{className:P(t(),i)})},Footer:({children:i,className:e})=>p.jsx("div",{className:e,children:i})}),Il=()=>{const[i,e]=S.useState(!1),[t,n]=S.useState(!1),r=()=>{e(!1),s()},a=()=>{e(!0),n(!1)},o=()=>{n(!0)},s=()=>{n(!1)};return{isCollapsed:i,setIsCollapsed:e,toggleCollapse:()=>{i?r():a()},expandSidebar:r,collapseSidebar:a,activeSecondaryBar:t,openSecondaryBar:o,closeSecondaryBar:s,toggleSecondaryBar:()=>{n(u=>!u)}}},Ll=({children:i,icon:e,label:t,href:n,onClick:r,isActive:a=!1,className:o})=>{const s=n?"a":"button";return p.jsxs(s,{href:n,onClick:r,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",a&&"bg-neutral-medium-default",o),children:[e&&p.jsx("div",{className:"nav-icon-wrapper mr-3 flex-shrink-0",children:p.jsx("div",{className:"nav-icon flex items-center justify-center w-5 h-5",children:e})}),t&&p.jsx("span",{className:"nav-label text-sm text-neutral-strong-default",children:t}),i]})},Zl=S.createContext(void 0),Bl=()=>{const i=S.useContext(Zl);if(!i)throw new Error("useSidebar must be used within a Sidebar.Root");return i},$l=({user:i,className:e,onProfileClick:t})=>{const{isCollapsed:n}=Bl(),[r,a]=S.useState(!1),o=()=>{n?t?.():a(!r)};return p.jsxs("div",{className:P("profile-container",e),children:[p.jsxs("button",{onClick:o,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:[p.jsx("div",{className:"profile-image-wrapper flex-shrink-0 mr-3",children:p.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?p.jsx("img",{src:i.profileImage,alt:i.name,className:"w-full h-full rounded-full object-cover"}):i.name.charAt(0).toUpperCase()})}),p.jsxs("div",{className:"profile-user-info flex-1 min-w-0",children:[p.jsx("div",{className:"profile-name text-sm font-medium text-neutral-strong-default truncate",children:i.name}),p.jsx("div",{className:"text-xs text-neutral-medium-default truncate",children:i.email})]}),p.jsx("div",{className:"button-content-chevron ml-2 flex-shrink-0",children:p.jsx("div",{className:"button-select-crevron w-4 h-4 text-neutral-medium-default",children:r?"▲":"▼"})})]}),r&&!n&&p.jsx("div",{className:"profile-options mt-2 pl-3 space-y-1",children:p.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:[p.jsx("span",{className:"logout-icon mr-2",children:"🚪"}),p.jsx("span",{className:"logout-label",children:"Cerrar sesión"})]})}),p.jsx("div",{className:"border-separator-profile mt-3 border-t border-neutral-strong-default"})]})},Pi=({count:i,maxCount:e=9,className:t="",size:n="medium",variant:r="primary",showZero:a=!1})=>{const o=i,s=o>e?`+${e}`:o;if(o===0&&!a)return null;const l={small:"w-4.5 h-4.5 text-xs ",medium:"w-5 h-5 text-xs",large:"w-6 h-6 text-sm"},c={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 p.jsx("div",{className:P("rounded-full flex items-center justify-center font-medium ",l[n],c[r],t),children:p.jsx("span",{children:s})})},Hl=({linkActions:i,onClick:e,activeAction:t})=>p.jsx("nav",{className:"flex flex-col gap-1",children:i?.map((n,r)=>n.isView&&n.viewAccess()&&p.jsx(J.motion.div,{initial:{opacity:0},animate:{opacity:1},transition:{duration:.4,delay:r*.03,ease:"easeOut"},className:"relative flex justify-center w-full items-center px-3",children:p.jsxs("button",{onClick:()=>{e?.(n.action)},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",t===n.action?"text-primary-default-default bg-neutral-medium-selected":"text-neutral-default-default"),children:[p.jsx(J.AnimatePresence,{mode:"wait",children:t===n.action&&p.jsx(J.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"}})}),p.jsxs(J.motion.div,{className:"nav-content-wrapper flex items-center justify-between gap-3 px-3 relative z-10 w-full",animate:{x:(t===n.action,0)},transition:{duration:.25,ease:"easeOut"},children:[p.jsxs("div",{className:"flex items-center gap-3",children:[p.jsx(J.motion.div,{className:"nav-icon-wrapper flex items-center justify-center flex-shrink-0",animate:{scale:t===n.action?1.05:1},transition:{duration:.25,ease:"easeOut"},children:typeof n.icon=="function"?n.icon({size:24,className:P("nav-icon transition-colors duration-250 ease-out",t===n.action?"text-primary-default-default":"text-neutral-default-default group-hover:text-white-prometeo")}):null}),p.jsx("span",{className:"nav-label whitespace-nowrap text-sm font-semibold ",children:n.title})]}),p.jsx("div",{className:"badge-in-link",children:n.count&&n?.count>=1?p.jsx(Pi,{count:n.count,maxCount:9,className:""}):""})]})]})},r))}),Vl=({links:i,isLinkActive:e,onLinkClick:t})=>p.jsx("nav",{className:"flex flex-col gap-1",children:i?.map((n,r)=>{const a=e(n.path)||(n.relatedPaths?.some(o=>e(o))??!1);return n.isView&&n.viewAccess()&&p.jsx(J.motion.div,{initial:{opacity:0},animate:{opacity:1},transition:{duration:.4,delay:r*.03,ease:"easeOut"},className:"relative flex justify-center w-full items-center px-3",children:p.jsxs("button",{onClick:()=>{t?.(n.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",a?"text-primary-default-default bg-neutral-medium-selected":"text-neutral-default-default"),children:[p.jsx(J.AnimatePresence,{mode:"wait",children:a&&p.jsx(J.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"}})}),p.jsxs(J.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:[p.jsxs("div",{className:"flex items-center gap-3",children:[p.jsx(J.motion.div,{className:"nav-icon-wrapper flex items-center justify-center flex-shrink-0",animate:{scale:a?1.05:1},transition:{duration:.25,ease:"easeOut"},children:typeof n.icon=="function"?n.icon({size:24,className:P("nav-icon transition-colors duration-250 ease-out",a?"text-primary-default-default":"text-neutral-default-default group-hover:text-white-prometeo")}):null}),p.jsx("span",{className:"nav-label whitespace-nowrap text-sm font-semibold ",children:n.title})]}),p.jsx("div",{className:"badge-in-link",children:n.count&&n.count?p.jsx(Pi,{count:n.count,maxCount:9,className:""}):""})]})]})},r)})}),Yl=({isActiveModalNotification:i,setIsActiveModalNotification:e})=>({handleNotificationClick:()=>{e(!0)},isActiveModalNotification:i}),Ul=i=>{const e=S.useRef(null);return{isCollapsed:i,navbarRef:e}},Wl=({isCollapsed:i,onToggle:e})=>p.jsx("div",{className:"",children:p.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?p.jsx(ge.CloseNavBarDesktop,{size:34,className:"rotate-180 transition-transform duration-300"}):p.jsx(ge.CloseNavBarDesktop,{size:34,className:"rotate-0 transition-transform duration-300"})})}),Gl=({logoUrl:i,companyName:e})=>p.jsx("div",{className:"w-full flex justify-center items-center p-2 h-20",children:p.jsx("img",{src:i,className:"h-2/3 rounded-full",alt:e??""})}),Xl=()=>{const i=S.useRef(null);return{ref:i,open:()=>{i.current?.open()},close:()=>{i.current?.close()},isOpen:()=>i.current?.isOpen??!1}},Kl=()=>{const i=S.useRef(null);return{ref:i,open:()=>{i.current?.open()},close:()=>{i.current?.close()},isOpen:()=>i.current?.isOpen??!1}},Jl=(i,e=!0)=>{const t=S.useRef(null);return S.useEffect(()=>{if(!e)return;const n=r=>{t.current&&!t.current.contains(r.target)&&i()};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})}},[i,e]),t};var Dn={exports:{}},An={exports:{}},ne={};/** @license React v16.13.1
94
+ */var Hs,kt,pn,Ui,Wt,Ws,Zi,Xp=function(){return typeof window<"u"},gt={},Ut=180/Math.PI,fn=Math.PI/180,mn=Math.atan2,Us=1e8,Vi=/([A-Z])/g,Gp=/(left|right|width|margin|padding|x)/i,Kp=/[\s,\(]\S/,lt={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},Yi=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},Jp=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)},Qp=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)},ef=function(e,t){var r=t.s+t.c*e;t.set(t.t,t.p,~~(r+(r<0?-.5:.5))+t.u,t)},Zs=function(e,t){return t.set(t.t,t.p,e?t.e:t.b,t)},Vs=function(e,t){return t.set(t.t,t.p,e!==1?t.b:t.e,t)},tf=function(e,t,r){return e.style[t]=r},nf=function(e,t,r){return e.style.setProperty(t,r)},rf=function(e,t,r){return e._gsap[t]=r},af=function(e,t,r){return e._gsap.scaleX=e._gsap.scaleY=r},of=function(e,t,r,i,a){var o=e._gsap;o.scaleX=o.scaleY=r,o.renderTransform(a,o)},sf=function(e,t,r,i,a){var o=e._gsap;o[t]=r,o.renderTransform(a,o)},ge="transform",Be=ge+"Origin",lf=function n(e,t){var r=this,i=this.target,a=i.style,o=i._gsap;if(e in gt&&a){if(this.tfm=this.tfm||{},e!=="transform")e=lt[e]||e,~e.indexOf(",")?e.split(",").forEach(function(s){return r.tfm[s]=xt(i,s)}):this.tfm[e]=o.x?o[e]:xt(i,e),e===Be&&(this.tfm.zOrigin=o.zOrigin);else return lt.transform.split(",").forEach(function(s){return n.call(r,s,t)});if(this.props.indexOf(ge)>=0)return;o.svg&&(this.svgo=i.getAttribute("data-svg-origin"),this.props.push(Be,t,"")),e=ge}(a||t)&&this.props.push(e,t,a[e])},Ys=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},cf=function(){var e=this.props,t=this.target,r=t.style,i=t._gsap,a,o;for(a=0;a<e.length;a+=3)e[a+1]?e[a+1]===2?t[e[a]](e[a+2]):t[e[a]]=e[a+2]:e[a+2]?r[e[a]]=e[a+2]:r.removeProperty(e[a].substr(0,2)==="--"?e[a]:e[a].replace(Vi,"-$1").toLowerCase());if(this.tfm){for(o in this.tfm)i[o]=this.tfm[o];i.svg&&(i.renderTransform(),t.setAttribute("data-svg-origin",this.svgo||"")),a=Zi(),(!a||!a.isStart)&&!r[ge]&&(Ys(r),i.zOrigin&&r[Be]&&(r[Be]+=" "+i.zOrigin+"px",i.zOrigin=0,i.renderTransform()),i.uncache=1)}},Xs=function(e,t){var r={target:e,props:[],revert:cf,save:lf};return e._gsap||$e.core.getCache(e),t&&e.style&&e.nodeType&&t.split(",").forEach(function(i){return r.save(i)}),r},Gs,Xi=function(e,t){var r=kt.createElementNS?kt.createElementNS((t||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):kt.createElement(e);return r&&r.style?r:kt.createElement(e)},et=function n(e,t,r){var i=getComputedStyle(e);return i[t]||i.getPropertyValue(t.replace(Vi,"-$1").toLowerCase())||i.getPropertyValue(t)||!r&&n(e,hn(t)||t,1)||""},Ks="O,Moz,ms,Ms,Webkit".split(","),hn=function(e,t,r){var i=t||Wt,a=i.style,o=5;if(e in a&&!r)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);o--&&!(Ks[o]+e in a););return o<0?null:(o===3?"ms":o>=0?Ks[o]:"")+e},Gi=function(){Xp()&&window.document&&(Hs=window,kt=Hs.document,pn=kt.documentElement,Wt=Xi("div")||{style:{}},Xi("div"),ge=hn(ge),Be=ge+"Origin",Wt.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",Gs=!!hn("perspective"),Zi=$e.core.reverting,Ui=1)},Js=function(e){var t=e.ownerSVGElement,r=Xi("svg",t&&t.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),i=e.cloneNode(!0),a;i.style.display="block",r.appendChild(i),pn.appendChild(r);try{a=i.getBBox()}catch{}return r.removeChild(i),pn.removeChild(r),a},Qs=function(e,t){for(var r=t.length;r--;)if(e.hasAttribute(t[r]))return e.getAttribute(t[r])},el=function(e){var t,r;try{t=e.getBBox()}catch{t=Js(e),r=1}return t&&(t.width||t.height)||r||(t=Js(e)),t&&!t.width&&!t.x&&!t.y?{x:+Qs(e,["x","cx","x1"])||0,y:+Qs(e,["y","cy","y1"])||0,width:0,height:0}:t},tl=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&el(e))},Zt=function(e,t){if(t){var r=e.style,i;t in gt&&t!==Be&&(t=ge),r.removeProperty?(i=t.substr(0,2),(i==="ms"||t.substr(0,6)==="webkit")&&(t="-"+t),r.removeProperty(i==="--"?t:t.replace(Vi,"-$1").toLowerCase())):r.removeAttribute(t)}},Pt=function(e,t,r,i,a,o){var s=new ze(e._pt,t,r,0,1,o?Vs:Zs);return e._pt=s,s.b=i,s.e=a,e._props.push(r),s},nl={deg:1,rad:1,turn:1},uf={grid:1,flex:1},Dt=function n(e,t,r,i){var a=parseFloat(r)||0,o=(r+"").trim().substr((a+"").length)||"px",s=Wt.style,l=Gp.test(t),c=e.tagName.toLowerCase()==="svg",u=(c?"client":"offset")+(l?"Width":"Height"),d=100,m=i==="px",h=i==="%",g,f,v,x;if(i===o||!a||nl[i]||nl[o])return a;if(o!=="px"&&!m&&(a=n(e,t,r,"px")),x=e.getCTM&&tl(e),(h||o==="%")&&(gt[t]||~t.indexOf("adius")))return g=x?e.getBBox()[l?"width":"height"]:e[u],we(h?a/g*d:a/100*g);if(s[l?"width":"height"]=d+(m?o:i),f=i!=="rem"&&~t.indexOf("adius")||i==="em"&&e.appendChild&&!c?e:e.parentNode,x&&(f=(e.ownerSVGElement||{}).parentNode),(!f||f===kt||!f.appendChild)&&(f=kt.body),v=f._gsap,v&&h&&v.width&&l&&v.time===Ge.time&&!v.uncache)return we(a/v.width*d);if(h&&(t==="height"||t==="width")){var _=e.style[t];e.style[t]=d+i,g=e[u],_?e.style[t]=_:Zt(e,t)}else(h||o==="%")&&!uf[et(f,"display")]&&(s.position=et(e,"position")),f===e&&(s.position="static"),f.appendChild(Wt),g=Wt[u],f.removeChild(Wt),s.position="absolute";return l&&h&&(v=Lt(f),v.time=Ge.time,v.width=f[u]),we(m?g*a/d:g&&a?d/g*a:0)},xt=function(e,t,r,i){var a;return Ui||Gi(),t in lt&&t!=="transform"&&(t=lt[t],~t.indexOf(",")&&(t=t.split(",")[0])),gt[t]&&t!=="transform"?(a=$n(e,i),a=t!=="transformOrigin"?a[t]:a.svg?a.origin:qr(et(e,Be))+" "+a.zOrigin+"px"):(a=e.style[t],(!a||a==="auto"||i||~(a+"").indexOf("calc("))&&(a=Nr[t]&&Nr[t](e,t,r)||et(e,t)||as(e,t)||(t==="opacity"?1:0))),r&&!~(a+"").trim().indexOf(" ")?Dt(e,t,a,r)+r:a},df=function(e,t,r,i){if(!r||r==="none"){var a=hn(t,e,1),o=a&&et(e,a,1);o&&o!==r?(t=a,r=o):t==="borderColor"&&(r=et(e,"borderTopColor"))}var s=new ze(this._pt,e.style,t,0,1,Ls),l=0,c=0,u,d,m,h,g,f,v,x,_,T,w,y;if(s.b=r,s.e=i,r+="",i+="",i.substring(0,6)==="var(--"&&(i=et(e,i.substring(4,i.indexOf(")")))),i==="auto"&&(f=e.style[t],e.style[t]=i,i=et(e,t)||i,f?e.style[t]=f:Zt(e,t)),u=[r,i],ks(u),r=u[0],i=u[1],m=r.match(an)||[],y=i.match(an)||[],y.length){for(;d=an.exec(i);)v=d[0],_=i.substring(l,d.index),g?g=(g+1)%5:(_.substr(-5)==="rgba("||_.substr(-5)==="hsla(")&&(g=1),v!==(f=m[c++]||"")&&(h=parseFloat(f)||0,w=f.substr((h+"").length),v.charAt(1)==="="&&(v=on(h,v)+w),x=parseFloat(v),T=v.substr((x+"").length),l=an.lastIndex-T.length,T||(T=T||Ue.units[t]||w,l===i.length&&(i+=T,s.e+=T)),w!==T&&(h=Dt(e,t,f,T)||0),s._pt={_next:s._pt,p:_||c===1?_:",",s:h,c:x-h,m:g&&g<4||t==="zIndex"?Math.round:0});s.c=l<i.length?i.substring(l,i.length):""}else s.r=t==="display"&&i==="none"?Vs:Zs;return Jo.test(i)&&(s.e=0),this._pt=s,s},rl={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},pf=function(e){var t=e.split(" "),r=t[0],i=t[1]||"50%";return(r==="top"||r==="bottom"||i==="left"||i==="right")&&(e=r,r=i,i=e),t[0]=rl[r]||r,t[1]=rl[i]||i,t.join(" ")},ff=function(e,t){if(t.tween&&t.tween._time===t.tween._dur){var r=t.t,i=r.style,a=t.u,o=r._gsap,s,l,c;if(a==="all"||a===!0)i.cssText="",l=1;else for(a=a.split(","),c=a.length;--c>-1;)s=a[c],gt[s]&&(l=1,s=s==="transformOrigin"?Be:ge),Zt(r,s);l&&(Zt(r,ge),o&&(o.svg&&r.removeAttribute("transform"),i.scale=i.rotate=i.translate="none",$n(r,1),o.uncache=1,Ys(i)))}},Nr={clearProps:function(e,t,r,i,a){if(a.data!=="isFromStart"){var o=e._pt=new ze(e._pt,t,r,0,0,ff);return o.u=i,o.pr=-10,o.tween=a,e._props.push(r),1}}},zn=[1,0,0,1,0,0],il={},al=function(e){return e==="matrix(1, 0, 0, 1, 0, 0)"||e==="none"||!e},ol=function(e){var t=et(e,ge);return al(t)?zn:t.substr(7).match(Ko).map(we)},Ki=function(e,t){var r=e._gsap||Lt(e),i=e.style,a=ol(e),o,s,l,c;return r.svg&&e.getAttribute("transform")?(l=e.transform.baseVal.consolidate().matrix,a=[l.a,l.b,l.c,l.d,l.e,l.f],a.join(",")==="1,0,0,1,0,0"?zn:a):(a===zn&&!e.offsetParent&&e!==pn&&!r.svg&&(l=i.display,i.display="block",o=e.parentNode,(!o||!e.offsetParent&&!e.getBoundingClientRect().width)&&(c=1,s=e.nextElementSibling,pn.appendChild(e)),a=ol(e),l?i.display=l:Zt(e,"display"),c&&(s?o.insertBefore(e,s):o?o.appendChild(e):pn.removeChild(e))),t&&a.length>6?[a[0],a[1],a[4],a[5],a[12],a[13]]:a)},Ji=function(e,t,r,i,a,o){var s=e._gsap,l=a||Ki(e,!0),c=s.xOrigin||0,u=s.yOrigin||0,d=s.xOffset||0,m=s.yOffset||0,h=l[0],g=l[1],f=l[2],v=l[3],x=l[4],_=l[5],T=t.split(" "),w=parseFloat(T[0])||0,y=parseFloat(T[1])||0,k,C,O,j;r?l!==zn&&(C=h*v-g*f)&&(O=w*(v/C)+y*(-f/C)+(f*_-v*x)/C,j=w*(-g/C)+y*(h/C)-(h*_-g*x)/C,w=O,y=j):(k=el(e),w=k.x+(~T[0].indexOf("%")?w/100*k.width:w),y=k.y+(~(T[1]||T[0]).indexOf("%")?y/100*k.height:y)),i||i!==!1&&s.smooth?(x=w-c,_=y-u,s.xOffset=d+(x*h+_*f)-x,s.yOffset=m+(x*g+_*v)-_):s.xOffset=s.yOffset=0,s.xOrigin=w,s.yOrigin=y,s.smooth=!!i,s.origin=t,s.originIsAbsolute=!!r,e.style[Be]="0px 0px",o&&(Pt(o,s,"xOrigin",c,w),Pt(o,s,"yOrigin",u,y),Pt(o,s,"xOffset",d,s.xOffset),Pt(o,s,"yOffset",m,s.yOffset)),e.setAttribute("data-svg-origin",w+" "+y)},$n=function(e,t){var r=e._gsap||new Ns(e);if("x"in r&&!t&&!r.uncache)return r;var i=e.style,a=r.scaleX<0,o="px",s="deg",l=getComputedStyle(e),c=et(e,Be)||"0",u,d,m,h,g,f,v,x,_,T,w,y,k,C,O,j,L,H,V,D,$,U,Y,X,ne,te,b,P,R,z,M,A;return u=d=m=f=v=x=_=T=w=0,h=g=1,r.svg=!!(e.getCTM&&tl(e)),l.translate&&((l.translate!=="none"||l.scale!=="none"||l.rotate!=="none")&&(i[ge]=(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[ge]!=="none"?l[ge]:"")),i.scale=i.rotate=i.translate="none"),C=Ki(e,r.svg),r.svg&&(r.uncache?(ne=e.getBBox(),c=r.xOrigin-ne.x+"px "+(r.yOrigin-ne.y)+"px",X=""):X=!t&&e.getAttribute("data-svg-origin"),Ji(e,X||c,!!X||r.originIsAbsolute,r.smooth!==!1,C)),y=r.xOrigin||0,k=r.yOrigin||0,C!==zn&&(H=C[0],V=C[1],D=C[2],$=C[3],u=U=C[4],d=Y=C[5],C.length===6?(h=Math.sqrt(H*H+V*V),g=Math.sqrt($*$+D*D),f=H||V?mn(V,H)*Ut:0,_=D||$?mn(D,$)*Ut+f:0,_&&(g*=Math.abs(Math.cos(_*fn))),r.svg&&(u-=y-(y*H+k*D),d-=k-(y*V+k*$))):(A=C[6],z=C[7],b=C[8],P=C[9],R=C[10],M=C[11],u=C[12],d=C[13],m=C[14],O=mn(A,R),v=O*Ut,O&&(j=Math.cos(-O),L=Math.sin(-O),X=U*j+b*L,ne=Y*j+P*L,te=A*j+R*L,b=U*-L+b*j,P=Y*-L+P*j,R=A*-L+R*j,M=z*-L+M*j,U=X,Y=ne,A=te),O=mn(-D,R),x=O*Ut,O&&(j=Math.cos(-O),L=Math.sin(-O),X=H*j-b*L,ne=V*j-P*L,te=D*j-R*L,M=$*L+M*j,H=X,V=ne,D=te),O=mn(V,H),f=O*Ut,O&&(j=Math.cos(O),L=Math.sin(O),X=H*j+V*L,ne=U*j+Y*L,V=V*j-H*L,Y=Y*j-U*L,H=X,U=ne),v&&Math.abs(v)+Math.abs(f)>359.9&&(v=f=0,x=180-x),h=we(Math.sqrt(H*H+V*V+D*D)),g=we(Math.sqrt(Y*Y+A*A)),O=mn(U,Y),_=Math.abs(O)>2e-4?O*Ut:0,w=M?1/(M<0?-M:M):0),r.svg&&(X=e.getAttribute("transform"),r.forceCSS=e.setAttribute("transform","")||!al(et(e,ge)),X&&e.setAttribute("transform",X))),Math.abs(_)>90&&Math.abs(_)<270&&(a?(h*=-1,_+=f<=0?180:-180,f+=f<=0?180:-180):(g*=-1,_+=_<=0?180:-180)),t=t||r.uncache,r.x=u-((r.xPercent=u&&(!t&&r.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-u)?-50:0)))?e.offsetWidth*r.xPercent/100:0)+o,r.y=d-((r.yPercent=d&&(!t&&r.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-d)?-50:0)))?e.offsetHeight*r.yPercent/100:0)+o,r.z=m+o,r.scaleX=we(h),r.scaleY=we(g),r.rotation=we(f)+s,r.rotationX=we(v)+s,r.rotationY=we(x)+s,r.skewX=_+s,r.skewY=T+s,r.transformPerspective=w+o,(r.zOrigin=parseFloat(c.split(" ")[2])||!t&&r.zOrigin||0)&&(i[Be]=qr(c)),r.xOffset=r.yOffset=0,r.force3D=Ue.force3D,r.renderTransform=r.svg?hf:Gs?sl:mf,r.uncache=0,r},qr=function(e){return(e=e.split(" "))[0]+" "+e[1]},Qi=function(e,t,r){var i=qe(t);return we(parseFloat(t)+parseFloat(Dt(e,"x",r+"px",i)))+i},mf=function(e,t){t.z="0px",t.rotationY=t.rotationX="0deg",t.force3D=0,sl(e,t)},Vt="0deg",Bn="0px",Yt=") ",sl=function(e,t){var r=t||this,i=r.xPercent,a=r.yPercent,o=r.x,s=r.y,l=r.z,c=r.rotation,u=r.rotationY,d=r.rotationX,m=r.skewX,h=r.skewY,g=r.scaleX,f=r.scaleY,v=r.transformPerspective,x=r.force3D,_=r.target,T=r.zOrigin,w="",y=x==="auto"&&e&&e!==1||x===!0;if(T&&(d!==Vt||u!==Vt)){var k=parseFloat(u)*fn,C=Math.sin(k),O=Math.cos(k),j;k=parseFloat(d)*fn,j=Math.cos(k),o=Qi(_,o,C*j*-T),s=Qi(_,s,-Math.sin(k)*-T),l=Qi(_,l,O*j*-T+T)}v!==Bn&&(w+="perspective("+v+Yt),(i||a)&&(w+="translate("+i+"%, "+a+"%) "),(y||o!==Bn||s!==Bn||l!==Bn)&&(w+=l!==Bn||y?"translate3d("+o+", "+s+", "+l+") ":"translate("+o+", "+s+Yt),c!==Vt&&(w+="rotate("+c+Yt),u!==Vt&&(w+="rotateY("+u+Yt),d!==Vt&&(w+="rotateX("+d+Yt),(m!==Vt||h!==Vt)&&(w+="skew("+m+", "+h+Yt),(g!==1||f!==1)&&(w+="scale("+g+", "+f+Yt),_.style[ge]=w||"translate(0, 0)"},hf=function(e,t){var r=t||this,i=r.xPercent,a=r.yPercent,o=r.x,s=r.y,l=r.rotation,c=r.skewX,u=r.skewY,d=r.scaleX,m=r.scaleY,h=r.target,g=r.xOrigin,f=r.yOrigin,v=r.xOffset,x=r.yOffset,_=r.forceCSS,T=parseFloat(o),w=parseFloat(s),y,k,C,O,j;l=parseFloat(l),c=parseFloat(c),u=parseFloat(u),u&&(u=parseFloat(u),c+=u,l+=u),l||c?(l*=fn,c*=fn,y=Math.cos(l)*d,k=Math.sin(l)*d,C=Math.sin(l-c)*-m,O=Math.cos(l-c)*m,c&&(u*=fn,j=Math.tan(c-u),j=Math.sqrt(1+j*j),C*=j,O*=j,u&&(j=Math.tan(u),j=Math.sqrt(1+j*j),y*=j,k*=j)),y=we(y),k=we(k),C=we(C),O=we(O)):(y=d,O=m,k=C=0),(T&&!~(o+"").indexOf("px")||w&&!~(s+"").indexOf("px"))&&(T=Dt(h,"x",o,"px"),w=Dt(h,"y",s,"px")),(g||f||v||x)&&(T=we(T+g-(g*y+f*C)+v),w=we(w+f-(g*k+f*O)+x)),(i||a)&&(j=h.getBBox(),T=we(T+i/100*j.width),w=we(w+a/100*j.height)),j="matrix("+y+","+k+","+C+","+O+","+T+","+w+")",h.setAttribute("transform",j),_&&(h.style[ge]=j)},vf=function(e,t,r,i,a){var o=360,s=Pe(a),l=parseFloat(a)*(s&&~a.indexOf("rad")?Ut:1),c=l-i,u=i+c+"deg",d,m;return s&&(d=a.split("_")[1],d==="short"&&(c%=o,c!==c%(o/2)&&(c+=c<0?o:-o)),d==="cw"&&c<0?c=(c+o*Us)%o-~~(c/o)*o:d==="ccw"&&c>0&&(c=(c-o*Us)%o-~~(c/o)*o)),e._pt=m=new ze(e._pt,t,r,i,c,Jp),m.e=u,m.u="deg",e._props.push(r),m},ll=function(e,t){for(var r in t)e[r]=t[r];return e},gf=function(e,t,r){var i=ll({},r._gsap),a="perspective,force3D,transformOrigin,svgOrigin",o=r.style,s,l,c,u,d,m,h,g;i.svg?(c=r.getAttribute("transform"),r.setAttribute("transform",""),o[ge]=t,s=$n(r,1),Zt(r,ge),r.setAttribute("transform",c)):(c=getComputedStyle(r)[ge],o[ge]=t,s=$n(r,1),o[ge]=c);for(l in gt)c=i[l],u=s[l],c!==u&&a.indexOf(l)<0&&(h=qe(c),g=qe(u),d=h!==g?Dt(r,l,c,g):parseFloat(c),m=parseFloat(u),e._pt=new ze(e._pt,s,l,d,m-d,Yi),e._pt.u=g||0,e._props.push(l));ll(s,i)};Le("padding,margin,Width,Radius",function(n,e){var t="Top",r="Right",i="Bottom",a="Left",o=(e<3?[t,r,i,a]:[t+a,t+r,i+r,i+a]).map(function(s){return e<2?n+s:"border"+s+n});Nr[e>1?"border"+n:n]=function(s,l,c,u,d){var m,h;if(arguments.length<4)return m=o.map(function(g){return xt(s,g,c)}),h=m.join(" "),h.split(m[0]).length===5?m[0]:h;m=(u+"").split(" "),h={},o.forEach(function(g,f){return h[g]=m[f]=m[f]||m[(f-1)/2|0]}),s.init(l,h,d)}});var cl={name:"css",register:Gi,targetTest:function(e){return e.style&&e.nodeType},init:function(e,t,r,i,a){var o=this._props,s=e.style,l=r.vars.startAt,c,u,d,m,h,g,f,v,x,_,T,w,y,k,C,O;Ui||Gi(),this.styles=this.styles||Xs(e),O=this.styles.props,this.tween=r;for(f in t)if(f!=="autoRound"&&(u=t[f],!(Ve[f]&&qs(f,t,r,i,e,a)))){if(h=typeof u,g=Nr[f],h==="function"&&(u=u.call(r,i,e,a),h=typeof u),h==="string"&&~u.indexOf("random(")&&(u=qn(u)),g)g(this,e,f,u,r)&&(C=1);else if(f.substr(0,2)==="--")c=(getComputedStyle(e).getPropertyValue(f)+"").trim(),u+="",jt.lastIndex=0,jt.test(c)||(v=qe(c),x=qe(u)),x?v!==x&&(c=Dt(e,f,c,x)+x):v&&(u+=v),this.add(s,"setProperty",c,u,i,a,0,0,f),o.push(f),O.push(f,0,s[f]);else if(h!=="undefined"){if(l&&f in l?(c=typeof l[f]=="function"?l[f].call(r,i,e,a):l[f],Pe(c)&&~c.indexOf("random(")&&(c=qn(c)),qe(c+"")||c==="auto"||(c+=Ue.units[f]||qe(xt(e,f))||""),(c+"").charAt(1)==="="&&(c=xt(e,f))):c=xt(e,f),m=parseFloat(c),_=h==="string"&&u.charAt(1)==="="&&u.substr(0,2),_&&(u=u.substr(2)),d=parseFloat(u),f in lt&&(f==="autoAlpha"&&(m===1&&xt(e,"visibility")==="hidden"&&d&&(m=0),O.push("visibility",0,s.visibility),Pt(this,s,"visibility",m?"inherit":"hidden",d?"inherit":"hidden",!d)),f!=="scale"&&f!=="transform"&&(f=lt[f],~f.indexOf(",")&&(f=f.split(",")[0]))),T=f in gt,T){if(this.styles.save(f),h==="string"&&u.substring(0,6)==="var(--"&&(u=et(e,u.substring(4,u.indexOf(")"))),d=parseFloat(u)),w||(y=e._gsap,y.renderTransform&&!t.parseTransform||$n(e,t.parseTransform),k=t.smoothOrigin!==!1&&y.smooth,w=this._pt=new ze(this._pt,s,ge,0,1,y.renderTransform,y,0,-1),w.dep=1),f==="scale")this._pt=new ze(this._pt,y,"scaleY",y.scaleY,(_?on(y.scaleY,_+d):d)-y.scaleY||0,Yi),this._pt.u=0,o.push("scaleY",f),f+="X";else if(f==="transformOrigin"){O.push(Be,0,s[Be]),u=pf(u),y.svg?Ji(e,u,0,k,0,this):(x=parseFloat(u.split(" ")[2])||0,x!==y.zOrigin&&Pt(this,y,"zOrigin",y.zOrigin,x),Pt(this,s,f,qr(c),qr(u)));continue}else if(f==="svgOrigin"){Ji(e,u,1,k,0,this);continue}else if(f in il){vf(this,y,f,m,_?on(m,_+u):u);continue}else if(f==="smoothOrigin"){Pt(this,y,"smooth",y.smooth,u);continue}else if(f==="force3D"){y[f]=u;continue}else if(f==="transform"){gf(this,u,e);continue}}else f in s||(f=hn(f)||f);if(T||(d||d===0)&&(m||m===0)&&!Kp.test(u)&&f in s)v=(c+"").substr((m+"").length),d||(d=0),x=qe(u)||(f in Ue.units?Ue.units[f]:v),v!==x&&(m=Dt(e,f,c,x)),this._pt=new ze(this._pt,T?y:s,f,m,(_?on(m,_+d):d)-m,!T&&(x==="px"||f==="zIndex")&&t.autoRound!==!1?ef:Yi),this._pt.u=x||0,v!==x&&x!=="%"&&(this._pt.b=c,this._pt.r=Qp);else if(f in s)df.call(this,e,f,c,_?_+u:u);else if(f in e)this.add(e,f,c||e[f],_?_+u:u,i,a);else if(f!=="parseTransform"){wi(f,u);continue}T||(f in s?O.push(f,0,s[f]):typeof e[f]=="function"?O.push(f,2,e[f]()):O.push(f,1,c||e[f])),o.push(f)}}C&&zs(this)},render:function(e,t){if(t.tween._time||!Zi())for(var r=t._pt;r;)r.r(e,r.d),r=r._next;else t.styles.revert()},get:xt,aliases:lt,getSetter:function(e,t,r){var i=lt[t];return i&&i.indexOf(",")<0&&(t=i),t in gt&&t!==Be&&(e._gsap.x||xt(e,"x"))?r&&Ws===r?t==="scale"?af:rf:(Ws=r||{})&&(t==="scale"?of:sf):e.style&&!hi(e.style[t])?tf:~t.indexOf("-")?nf:zi(e,t)},core:{_removeProperty:Zt,_getMatrix:Ki}};$e.utils.checkPrefix=hn,$e.core.getStyleSaver=Xs,(function(n,e,t,r){var i=Le(n+","+e+","+t,function(a){gt[a]=1});Le(e,function(a){Ue.units[a]="deg",il[a]=1}),lt[i[13]]=n+","+e,Le(r,function(a){var o=a.split(":");lt[o[1]]=i[o[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"),Le("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(n){Ue.units[n]="px"}),$e.registerPlugin(cl);var He=$e.registerPlugin(cl)||$e;He.core.Tween;const xf=(n,e)=>{ba.useGSAP(()=>{if(!n.current)return;const t=n.current,r=document.querySelector('[data-main-content="true"]');if(e){He.fromTo(t,{width:"0rem",opacity:0},{width:"40rem",opacity:1,duration:.4,ease:"power2.out"}),r&&He.to(r,{marginLeft:t.offsetWidth+"px",duration:.4,ease:"power2.out"});const i=t.querySelectorAll(".secondary-bar-content > *");i.length>0&&He.fromTo(i,{y:20,opacity:0},{y:0,opacity:1,duration:.3,stagger:.05,delay:.1,ease:"power1.out"})}else He.to(t,{width:"0rem",opacity:0,duration:.3,ease:"power2.in"}),r&&He.to(r,{marginLeft:"0px",duration:.3,ease:"power2.in"})},{scope:n,dependencies:[e]})},ul=({children:n,isOpen:e=!1,className:t="",width:r="w-96",action:i,primarySidebarCollapsed:a,onClose:o})=>{const s=E.useRef(null),[l,c]=E.useState({left:0,width:0}),{primarySidebarRef:u}=Vo();return E.useLayoutEffect(()=>{if(u?.current){const d=u.current.getBoundingClientRect();c({left:d.width,width:d.width})}},[u,e,a]),xf(s,e),p.jsx(p.Fragment,{children:e&&p.jsxs(p.Fragment,{children:[p.jsx("div",{className:"fixed inset-0 bg-black/95 z-20",style:{left:l.left},onClick:o}),p.jsx("div",{ref:s,className:N("h-screen bg-neutral-default-default border-r-1 border-neutral-strong-default flex flex-col secondary-bar flex-shrink-0","absolute top-0 z-30",r,t),style:{left:l.left},"data-action":i,children:p.jsx("div",{className:"secondary-bar-content",children:n})})]})})},yf=Object.assign(ul,{Root:ul,Header:({children:n,className:e})=>p.jsx("div",{className:N("h-16 ",e),children:n}),Content:({children:n,className:e})=>p.jsx("div",{className:N("flex-1 overflow-y-auto p-4",e),children:n}),Footer:({children:n,className:e})=>p.jsx("div",{className:N("p-4 border-t border-neutral-strong-default",e),children:n}),Spacer:({className:n})=>p.jsx("div",{className:N("flex-1",n)})}),Rr=(n,e,t,r)=>e&&(Array.isArray(e)?e.length>0:e)?n.to(e,t,r):n,bf=(n,e,t)=>{ba.useGSAP(()=>{if(!n.current)return;const r=He.timeline({defaults:{duration:.7,ease:"power1.out"}}),i={navbar:n.current,navLabels:He.utils.toArray(".nav-label"),navIconWrappers:He.utils.toArray(".nav-icon-wrapper"),navIcons:He.utils.toArray(".nav-icon"),navLinkItems:He.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"),logo:{contenedor:document.querySelector(".container-logo"),icon:document.querySelector(".icon-logo"),text:document.querySelector(".text-logo")},sidebarHeader:document.querySelector(".sidebar-header"),containerIconcollapsade:document.querySelector(".container-icon-collapsade"),secondaryBar:document.querySelector(".secondary-bar"),secondaryBarContent:He.utils.toArray(".secondary-bar *"),badgeInLink:He.utils.toArray(".badge-in-link")};e?wf(r,i):_f(r,i),i.secondaryBar&&Tf(i.secondaryBar)},{scope:n,dependencies:[e,t]})},wf=(n,e)=>{n.to(e.navbar,{width:"5rem",duration:.2,ease:"bounce.out"}).to(e.logo.contenedor,{height:48,width:48,minWidth:48,ease:"bounce.out"},-1).to(e.logo.text,{opacity:0,scale:.8,duration:.5,ease:"back.in(1.2)"},-1).set(e.logo.text,{display:"none"}).to(e.sidebarHeader,{justifyContent:"center",display:"flex"},-1).to(e.logo.icon,{keyframes:{"0%":{scale:1},"33%":{scale:1.5},"66%":{scale:.5},"100%":{scale:1}},duration:.6,ease:"power1.inOut"}).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(n,e.buttonCrevron,{width:0,opacity:0,duration:.7,ease:"power1.out",onComplete:()=>{e.buttonCrevron.style.display="none"}},0),Rr(n,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.profileImageWrapper,{marginLeft:0,marginRight:0,duration:.2,width:58,ease:"bounce.out"}).to(e.buttonProfile,{height:"3rem",width:"3rem",margin:0,padding:0,borderRadius:"60px",duration:.3,ease:"power2.out",display:"flex",justifyContent:"center",alignItems:"center"},-1).to(e.containerIconcollapsade,{justifyContent:"center",marginRight:0},"=-1").to(e.badgeInLink,{position:"absolute",right:1,top:-7},-1)},_f=(n,e)=>{n.to(e.navbar,{width:"20rem"},-1).to(e.navLinkItems,{borderRadius:"10px",duration:.3,width:"100%",justifyContent:"flex-start"},-1),Rr(n,e.buttonCrevron,{width:"auto",opacity:1,duration:0,ease:"power1.out",onComplete:()=>{e.buttonCrevron.style.display="flex"}},0),Rr(n,e.buttonContentChevron,{display:"flex"},0).to(e.logo.contenedor,{width:185,height:48,minWidth:185},-1).set(e.logo.text,{display:"flex"},-1).to(e.logo.text,{opacity:1,duration:0,ease:"back.in(1)"}).to(e.logo.icon,{keyframes:{"0%":{scale:1},"33%":{scale:1.5},"66%":{scale:.5},"100%":{scale:1}},duration:.3,ease:"power1.inOut"}).to(e.sidebarHeader,{justifyContent:"start",display:"flex"},-1).to(e.containerIconcollapsade,{justifyContent:"end",marginRight:20},-1).to(e.separatorProfile,{display:"flex"},0).to(e.badgeInLink,{position:"static",right:"auto",top:"auto",display:"flex",justifyContent:"end",alignItems:"center"},-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.profileUserInfo,{display:"flex"},-1).to(e.navIcons,{scale:1},.3)},Tf=(n,e)=>{He.to(n,{x:"-100%",opacity:0,duration:.3,ease:"power2.in"})},ea=E.forwardRef(({children:n,isCollapsed:e=!1,className:t=""},r)=>{const i=E.useRef(null),{registerPrimarySidebar:a}=Vo(),o=E.useCallback(s=>{i.current=s,typeof r=="function"?r(s):r&&(r.current=s)},[r]);return E.useEffect(()=>{i.current&&a(i)},[a]),bf(i,e,!1),p.jsx("div",{ref:o,className:`bg-neutral-default-default hidden overflow-hidden h-screen md:flex flex-col border-r border-neutral-strong-default transition-all duration-300 relative z-50 flex-shrink-0
95
+ } ${t}`,children:n})});ea.displayName="SidebarRoot";const Ef=Object.assign(ea,{Root:ea,CollapseButton:({isCollapsed:n,onToggleCollapse:e})=>p.jsx("div",{className:N("flex mt-5 mb-4 justify-end mr-5 container-icon-collapsade",n&&""),children:p.jsx("button",{onClick:e,title:n?"Expandir Navbar":"Contraer Navbar","aria-label":n?"Expandir Navbar":"Contraer Navbar",className:"cursor-pointer text-neutral-default-default hover:text-primary-default transition-colors duration-300",children:n?p.jsx(je.CloseNavBarDesktop,{size:24,className:"rotate-180 transition-transform duration-300"}):p.jsx(je.CloseNavBarDesktop,{size:24,className:"rotate-0 transition-transform duration-300"})})}),Header:({children:n,className:e})=>p.jsx("div",{className:`${e} sidebar-header`,children:n}),Divider:({className:n})=>p.jsx("div",{className:N("px-3 flex justify-center items-center w-full mb-4",n),children:p.jsx("div",{className:"border-b border-neutral-strong-default border-1 w-full"})}),Content:({children:n,className:e})=>p.jsx("div",{className:e,children:n}),Spacer:({className:n,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 p.jsx("div",{className:N(t(),n)})},Footer:({children:n,className:e})=>p.jsx("div",{className:e,children:n})}),Sf=()=>{const[n,e]=E.useState(!1),[t,r]=E.useState(!1),i=()=>{e(!1),s()},a=()=>{e(!0),r(!1)},o=()=>{r(!0)},s=()=>{r(!1)};return{isCollapsed:n,setIsCollapsed:e,toggleCollapse:()=>{n?i():a()},expandSidebar:i,collapseSidebar:a,activeSecondaryBar:t,openSecondaryBar:o,closeSecondaryBar:s,toggleSecondaryBar:()=>{r(u=>!u)}}},Cf=({children:n,icon:e,label:t,href:r,onClick:i,isActive:a=!1,className:o})=>{const s=r?"a":"button";return p.jsxs(s,{href:r,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",a&&"bg-neutral-medium-default",o),children:[e&&p.jsx("div",{className:"nav-icon-wrapper mr-3 flex-shrink-0",children:p.jsx("div",{className:"nav-icon flex items-center justify-center w-5 h-5",children:e})}),t&&p.jsx("span",{className:"nav-label text-sm text-neutral-strong-default",children:t}),n]})},jf=E.createContext(void 0),Of=()=>{const n=E.useContext(jf);if(!n)throw new Error("useSidebar must be used within a Sidebar.Root");return n},kf=({user:n,className:e,onProfileClick:t})=>{const{isCollapsed:r}=Of(),[i,a]=E.useState(!1),o=()=>{r?t?.():a(!i)};return p.jsxs("div",{className:N("profile-container",e),children:[p.jsxs("button",{onClick:o,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:[p.jsx("div",{className:"profile-image-wrapper flex-shrink-0 mr-3",children:p.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:n.profileImage?p.jsx("img",{src:n.profileImage,alt:n.name,className:"w-full h-full rounded-full object-cover"}):n.name.charAt(0).toUpperCase()})}),p.jsxs("div",{className:"profile-user-info flex-1 min-w-0",children:[p.jsx("div",{className:"profile-name text-sm font-medium text-neutral-strong-default truncate",children:n.name}),p.jsx("div",{className:"text-xs text-neutral-medium-default truncate",children:n.email})]}),p.jsx("div",{className:"button-content-chevron ml-2 flex-shrink-0",children:p.jsx("div",{className:"button-select-crevron w-4 h-4 text-neutral-medium-default",children:i?"▲":"▼"})})]}),i&&!r&&p.jsx("div",{className:"profile-options mt-2 pl-3 space-y-1",children:p.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:[p.jsx("span",{className:"logout-icon mr-2",children:"🚪"}),p.jsx("span",{className:"logout-label",children:"Cerrar sesión"})]})}),p.jsx("div",{className:"border-separator-profile mt-3 border-t border-neutral-strong-default"})]})},ta=({count:n,maxCount:e=9,className:t="",size:r="medium",variant:i="primary",showZero:a=!1})=>{const o=n,s=o>e?`+${e}`:o;if(o===0&&!a)return null;const l={small:"w-4.5 h-4.5 text-xs ",medium:"w-5 h-5 text-xs",large:"w-6 h-6 text-sm"},c={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 p.jsx("div",{className:N("rounded-full flex items-center justify-center font-medium ",l[r],c[i],t),children:p.jsx("span",{children:s})})},Pf=({linkActions:n,onClick:e,activeAction:t})=>p.jsx("nav",{className:"flex flex-col gap-1",children:n?.map((r,i)=>r.isView&&r.viewAccess()&&p.jsx(re.motion.div,{initial:{opacity:0},animate:{opacity:1},transition:{duration:.4,delay:i*.03,ease:"easeOut"},className:"relative flex justify-center w-full items-center px-3",children:p.jsxs("button",{onClick:()=>{e?.(r.action)},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",t===r.action?"text-primary-default-default bg-neutral-medium-selected":"text-neutral-default-default"),children:[p.jsx(re.AnimatePresence,{mode:"wait",children:t===r.action&&p.jsx(re.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"}})}),p.jsxs(re.motion.div,{className:"nav-content-wrapper flex items-center justify-between gap-3 px-3 relative z-10 w-full",animate:{x:(t===r.action,0)},transition:{duration:.25,ease:"easeOut"},children:[p.jsxs("div",{className:"flex items-center gap-3",children:[p.jsx(re.motion.div,{className:"nav-icon-wrapper flex items-center justify-center flex-shrink-0",animate:{scale:t===r.action?1.05:1},transition:{duration:.25,ease:"easeOut"},children:typeof r.icon=="function"?r.icon({size:24,className:N("nav-icon transition-colors duration-250 ease-out",t===r.action?"text-primary-default-default":"text-neutral-default-default group-hover:text-white-prometeo")}):null}),p.jsx("span",{className:"nav-label whitespace-nowrap text-sm font-semibold ",children:r.title})]}),p.jsx("div",{className:"badge-in-link",children:r.count&&r?.count>=1?p.jsx(ta,{count:r.count,maxCount:9,className:""}):""})]})]})},i))}),Df=({links:n,isLinkActive:e,onLinkClick:t})=>p.jsx("nav",{className:"flex flex-col gap-1",children:n?.map((r,i)=>{const a=e(r.path)||(r.relatedPaths?.some(o=>e(o))??!1);return r.isView&&r.viewAccess()&&p.jsx(re.motion.div,{initial:{opacity:0},animate:{opacity:1},transition:{duration:.4,delay:i*.03,ease:"easeOut"},className:"relative flex justify-center w-full items-center px-3",children:p.jsxs("button",{onClick:()=>{t?.(r.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",a?"text-primary-default-default bg-neutral-medium-selected":"text-neutral-default-default"),children:[p.jsx(re.AnimatePresence,{mode:"wait",children:a&&p.jsx(re.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"}})}),p.jsxs(re.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:[p.jsxs("div",{className:"flex items-center gap-3",children:[p.jsx(re.motion.div,{className:"nav-icon-wrapper flex items-center justify-center flex-shrink-0",animate:{scale:a?1.05:1},transition:{duration:.25,ease:"easeOut"},children:typeof r.icon=="function"?r.icon({size:24,className:N("nav-icon transition-colors duration-250 ease-out",a?"text-primary-default-default":"text-neutral-default-default group-hover:text-white-prometeo")}):null}),p.jsx("span",{className:"nav-label whitespace-nowrap text-sm font-semibold ",children:r.title})]}),p.jsx("div",{className:"badge-in-link",children:r.count&&r.count?p.jsx(ta,{count:r.count,maxCount:9,className:""}):""})]})]})},i)})}),Af=({isActiveModalNotification:n,setIsActiveModalNotification:e})=>({handleNotificationClick:()=>{e(!0)},isActiveModalNotification:n}),Nf=n=>{const e=E.useRef(null);return{isCollapsed:n,navbarRef:e}},qf=({isCollapsed:n,onToggle:e})=>p.jsx("div",{className:"",children:p.jsx("button",{onClick:e,title:n?"Expandir Navbar":"Contraer Navbar","aria-label":n?"Expandir Navbar":"Contraer Navbar",className:"cursor-pointer text-neutral-default-default hover:text-primary-default transition-colors duration-300",children:n?p.jsx(je.CloseNavBarDesktop,{size:34,className:"rotate-180 transition-transform duration-300"}):p.jsx(je.CloseNavBarDesktop,{size:34,className:"rotate-0 transition-transform duration-300"})})}),Rf=({logoUrl:n,companyName:e})=>p.jsx("div",{className:"w-full flex justify-center items-center p-2 h-20",children:p.jsx("img",{src:n,className:"h-2/3 rounded-full",alt:e??""})}),Mf=()=>{const n=E.useRef(null);return{ref:n,open:()=>{n.current?.open()},close:()=>{n.current?.close()},isOpen:()=>n.current?.isOpen??!1}},If=()=>{const n=E.useRef(null),e=E.useCallback(()=>{n.current?.open()},[]),t=E.useCallback(()=>{n.current?.close()},[]);return{isOpen:E.useCallback(()=>n.current?.isOpen??!1,[]),open:e,close:t,drawerRef:n}},Ff=()=>{const n=E.useRef(null),e=E.useCallback(()=>{n.current?.open()},[]),t=E.useCallback(()=>{n.current?.close()},[]);return{isOpen:E.useCallback(()=>n.current?.isOpen??!1,[]),open:e,close:t,drawerRef:n}},Lf=(n,e=!0)=>{const t=E.useRef(null);return E.useEffect(()=>{if(!e)return;const r=i=>{t.current&&!t.current.contains(i.target)&&n()};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})}},[n,e]),t};var Mr={exports:{}},Ir={exports:{}},oe={};/** @license React v16.13.1
50
96
  * react-is.production.min.js
51
97
  *
52
98
  * Copyright (c) Facebook, Inc. and its affiliates.
53
99
  *
54
100
  * This source code is licensed under the MIT license found in the
55
101
  * LICENSE file in the root directory of this source tree.
56
- */var za;function Ql(){if(za)return ne;za=1;var i=typeof Symbol=="function"&&Symbol.for,e=i?Symbol.for("react.element"):60103,t=i?Symbol.for("react.portal"):60106,n=i?Symbol.for("react.fragment"):60107,r=i?Symbol.for("react.strict_mode"):60108,a=i?Symbol.for("react.profiler"):60114,o=i?Symbol.for("react.provider"):60109,s=i?Symbol.for("react.context"):60110,l=i?Symbol.for("react.async_mode"):60111,c=i?Symbol.for("react.concurrent_mode"):60111,u=i?Symbol.for("react.forward_ref"):60112,d=i?Symbol.for("react.suspense"):60113,m=i?Symbol.for("react.suspense_list"):60120,h=i?Symbol.for("react.memo"):60115,b=i?Symbol.for("react.lazy"):60116,f=i?Symbol.for("react.block"):60121,x=i?Symbol.for("react.fundamental"):60117,y=i?Symbol.for("react.responder"):60118,_=i?Symbol.for("react.scope"):60119;function w(g){if(typeof g=="object"&&g!==null){var k=g.$$typeof;switch(k){case e:switch(g=g.type,g){case l:case c:case n:case a:case r:case d:return g;default:switch(g=g&&g.$$typeof,g){case s:case u:case b:case h:case o:return g;default:return k}}case t:return k}}}function T(g){return w(g)===c}return ne.AsyncMode=l,ne.ConcurrentMode=c,ne.ContextConsumer=s,ne.ContextProvider=o,ne.Element=e,ne.ForwardRef=u,ne.Fragment=n,ne.Lazy=b,ne.Memo=h,ne.Portal=t,ne.Profiler=a,ne.StrictMode=r,ne.Suspense=d,ne.isAsyncMode=function(g){return T(g)||w(g)===l},ne.isConcurrentMode=T,ne.isContextConsumer=function(g){return w(g)===s},ne.isContextProvider=function(g){return w(g)===o},ne.isElement=function(g){return typeof g=="object"&&g!==null&&g.$$typeof===e},ne.isForwardRef=function(g){return w(g)===u},ne.isFragment=function(g){return w(g)===n},ne.isLazy=function(g){return w(g)===b},ne.isMemo=function(g){return w(g)===h},ne.isPortal=function(g){return w(g)===t},ne.isProfiler=function(g){return w(g)===a},ne.isStrictMode=function(g){return w(g)===r},ne.isSuspense=function(g){return w(g)===d},ne.isValidElementType=function(g){return typeof g=="string"||typeof g=="function"||g===n||g===c||g===a||g===r||g===d||g===m||typeof g=="object"&&g!==null&&(g.$$typeof===b||g.$$typeof===h||g.$$typeof===o||g.$$typeof===s||g.$$typeof===u||g.$$typeof===x||g.$$typeof===y||g.$$typeof===_||g.$$typeof===f)},ne.typeOf=w,ne}var ie={};/** @license React v16.13.1
102
+ */var dl;function zf(){if(dl)return oe;dl=1;var n=typeof Symbol=="function"&&Symbol.for,e=n?Symbol.for("react.element"):60103,t=n?Symbol.for("react.portal"):60106,r=n?Symbol.for("react.fragment"):60107,i=n?Symbol.for("react.strict_mode"):60108,a=n?Symbol.for("react.profiler"):60114,o=n?Symbol.for("react.provider"):60109,s=n?Symbol.for("react.context"):60110,l=n?Symbol.for("react.async_mode"):60111,c=n?Symbol.for("react.concurrent_mode"):60111,u=n?Symbol.for("react.forward_ref"):60112,d=n?Symbol.for("react.suspense"):60113,m=n?Symbol.for("react.suspense_list"):60120,h=n?Symbol.for("react.memo"):60115,g=n?Symbol.for("react.lazy"):60116,f=n?Symbol.for("react.block"):60121,v=n?Symbol.for("react.fundamental"):60117,x=n?Symbol.for("react.responder"):60118,_=n?Symbol.for("react.scope"):60119;function T(y){if(typeof y=="object"&&y!==null){var k=y.$$typeof;switch(k){case e:switch(y=y.type,y){case l:case c:case r:case a:case i:case d:return y;default:switch(y=y&&y.$$typeof,y){case s:case u:case g:case h:case o:return y;default:return k}}case t:return k}}}function w(y){return T(y)===c}return oe.AsyncMode=l,oe.ConcurrentMode=c,oe.ContextConsumer=s,oe.ContextProvider=o,oe.Element=e,oe.ForwardRef=u,oe.Fragment=r,oe.Lazy=g,oe.Memo=h,oe.Portal=t,oe.Profiler=a,oe.StrictMode=i,oe.Suspense=d,oe.isAsyncMode=function(y){return w(y)||T(y)===l},oe.isConcurrentMode=w,oe.isContextConsumer=function(y){return T(y)===s},oe.isContextProvider=function(y){return T(y)===o},oe.isElement=function(y){return typeof y=="object"&&y!==null&&y.$$typeof===e},oe.isForwardRef=function(y){return T(y)===u},oe.isFragment=function(y){return T(y)===r},oe.isLazy=function(y){return T(y)===g},oe.isMemo=function(y){return T(y)===h},oe.isPortal=function(y){return T(y)===t},oe.isProfiler=function(y){return T(y)===a},oe.isStrictMode=function(y){return T(y)===i},oe.isSuspense=function(y){return T(y)===d},oe.isValidElementType=function(y){return typeof y=="string"||typeof y=="function"||y===r||y===c||y===a||y===i||y===d||y===m||typeof y=="object"&&y!==null&&(y.$$typeof===g||y.$$typeof===h||y.$$typeof===o||y.$$typeof===s||y.$$typeof===u||y.$$typeof===v||y.$$typeof===x||y.$$typeof===_||y.$$typeof===f)},oe.typeOf=T,oe}var se={};/** @license React v16.13.1
57
103
  * react-is.development.js
58
104
  *
59
105
  * Copyright (c) Facebook, Inc. and its affiliates.
60
106
  *
61
107
  * This source code is licensed under the MIT license found in the
62
108
  * LICENSE file in the root directory of this source tree.
63
- */var Ia;function ec(){return Ia||(Ia=1,process.env.NODE_ENV!=="production"&&(function(){var i=typeof Symbol=="function"&&Symbol.for,e=i?Symbol.for("react.element"):60103,t=i?Symbol.for("react.portal"):60106,n=i?Symbol.for("react.fragment"):60107,r=i?Symbol.for("react.strict_mode"):60108,a=i?Symbol.for("react.profiler"):60114,o=i?Symbol.for("react.provider"):60109,s=i?Symbol.for("react.context"):60110,l=i?Symbol.for("react.async_mode"):60111,c=i?Symbol.for("react.concurrent_mode"):60111,u=i?Symbol.for("react.forward_ref"):60112,d=i?Symbol.for("react.suspense"):60113,m=i?Symbol.for("react.suspense_list"):60120,h=i?Symbol.for("react.memo"):60115,b=i?Symbol.for("react.lazy"):60116,f=i?Symbol.for("react.block"):60121,x=i?Symbol.for("react.fundamental"):60117,y=i?Symbol.for("react.responder"):60118,_=i?Symbol.for("react.scope"):60119;function w(D){return typeof D=="string"||typeof D=="function"||D===n||D===c||D===a||D===r||D===d||D===m||typeof D=="object"&&D!==null&&(D.$$typeof===b||D.$$typeof===h||D.$$typeof===o||D.$$typeof===s||D.$$typeof===u||D.$$typeof===x||D.$$typeof===y||D.$$typeof===_||D.$$typeof===f)}function T(D){if(typeof D=="object"&&D!==null){var ze=D.$$typeof;switch(ze){case e:var _t=D.type;switch(_t){case l:case c:case n:case a:case r:case d:return _t;default:var nn=_t&&_t.$$typeof;switch(nn){case s:case u:case b:case h:case o:return nn;default:return ze}}case t:return ze}}}var g=l,k=c,C=s,q=o,O=e,B=u,H=n,U=b,V=h,Z=t,Y=a,G=r,K=d,se=!1;function te(D){return se||(se=!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.")),v(D)||T(D)===l}function v(D){return T(D)===c}function j(D){return T(D)===s}function A(D){return T(D)===o}function F(D){return typeof D=="object"&&D!==null&&D.$$typeof===e}function R(D){return T(D)===u}function E(D){return T(D)===n}function M(D){return T(D)===b}function L(D){return T(D)===h}function I(D){return T(D)===t}function X(D){return T(D)===a}function W(D){return T(D)===r}function me(D){return T(D)===d}ie.AsyncMode=g,ie.ConcurrentMode=k,ie.ContextConsumer=C,ie.ContextProvider=q,ie.Element=O,ie.ForwardRef=B,ie.Fragment=H,ie.Lazy=U,ie.Memo=V,ie.Portal=Z,ie.Profiler=Y,ie.StrictMode=G,ie.Suspense=K,ie.isAsyncMode=te,ie.isConcurrentMode=v,ie.isContextConsumer=j,ie.isContextProvider=A,ie.isElement=F,ie.isForwardRef=R,ie.isFragment=E,ie.isLazy=M,ie.isMemo=L,ie.isPortal=I,ie.isProfiler=X,ie.isStrictMode=W,ie.isSuspense=me,ie.isValidElementType=w,ie.typeOf=T})()),ie}var La;function Za(){return La||(La=1,process.env.NODE_ENV==="production"?An.exports=Ql():An.exports=ec()),An.exports}/*
109
+ */var pl;function $f(){return pl||(pl=1,process.env.NODE_ENV!=="production"&&(function(){var n=typeof Symbol=="function"&&Symbol.for,e=n?Symbol.for("react.element"):60103,t=n?Symbol.for("react.portal"):60106,r=n?Symbol.for("react.fragment"):60107,i=n?Symbol.for("react.strict_mode"):60108,a=n?Symbol.for("react.profiler"):60114,o=n?Symbol.for("react.provider"):60109,s=n?Symbol.for("react.context"):60110,l=n?Symbol.for("react.async_mode"):60111,c=n?Symbol.for("react.concurrent_mode"):60111,u=n?Symbol.for("react.forward_ref"):60112,d=n?Symbol.for("react.suspense"):60113,m=n?Symbol.for("react.suspense_list"):60120,h=n?Symbol.for("react.memo"):60115,g=n?Symbol.for("react.lazy"):60116,f=n?Symbol.for("react.block"):60121,v=n?Symbol.for("react.fundamental"):60117,x=n?Symbol.for("react.responder"):60118,_=n?Symbol.for("react.scope"):60119;function T(q){return typeof q=="string"||typeof q=="function"||q===r||q===c||q===a||q===i||q===d||q===m||typeof q=="object"&&q!==null&&(q.$$typeof===g||q.$$typeof===h||q.$$typeof===o||q.$$typeof===s||q.$$typeof===u||q.$$typeof===v||q.$$typeof===x||q.$$typeof===_||q.$$typeof===f)}function w(q){if(typeof q=="object"&&q!==null){var Re=q.$$typeof;switch(Re){case e:var J=q.type;switch(J){case l:case c:case r:case a:case i:case d:return J;default:var At=J&&J.$$typeof;switch(At){case s:case u:case g:case h:case o:return At;default:return Re}}case t:return Re}}}var y=l,k=c,C=s,O=o,j=e,L=u,H=r,V=g,D=h,$=t,U=a,Y=i,X=d,ne=!1;function te(q){return ne||(ne=!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.")),b(q)||w(q)===l}function b(q){return w(q)===c}function P(q){return w(q)===s}function R(q){return w(q)===o}function z(q){return typeof q=="object"&&q!==null&&q.$$typeof===e}function M(q){return w(q)===u}function A(q){return w(q)===r}function F(q){return w(q)===g}function Z(q){return w(q)===h}function W(q){return w(q)===t}function ee(q){return w(q)===a}function Q(q){return w(q)===i}function ce(q){return w(q)===d}se.AsyncMode=y,se.ConcurrentMode=k,se.ContextConsumer=C,se.ContextProvider=O,se.Element=j,se.ForwardRef=L,se.Fragment=H,se.Lazy=V,se.Memo=D,se.Portal=$,se.Profiler=U,se.StrictMode=Y,se.Suspense=X,se.isAsyncMode=te,se.isConcurrentMode=b,se.isContextConsumer=P,se.isContextProvider=R,se.isElement=z,se.isForwardRef=M,se.isFragment=A,se.isLazy=F,se.isMemo=Z,se.isPortal=W,se.isProfiler=ee,se.isStrictMode=Q,se.isSuspense=ce,se.isValidElementType=T,se.typeOf=w})()),se}var fl;function ml(){return fl||(fl=1,process.env.NODE_ENV==="production"?Ir.exports=zf():Ir.exports=$f()),Ir.exports}/*
64
110
  object-assign
65
111
  (c) Sindre Sorhus
66
112
  @license MIT
67
- */var Di,Ba;function tc(){if(Ba)return Di;Ba=1;var i=Object.getOwnPropertySymbols,e=Object.prototype.hasOwnProperty,t=Object.prototype.propertyIsEnumerable;function n(a){if(a==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(a)}function r(){try{if(!Object.assign)return!1;var a=new String("abc");if(a[5]="de",Object.getOwnPropertyNames(a)[0]==="5")return!1;for(var o={},s=0;s<10;s++)o["_"+String.fromCharCode(s)]=s;var l=Object.getOwnPropertyNames(o).map(function(u){return o[u]});if(l.join("")!=="0123456789")return!1;var c={};return"abcdefghijklmnopqrst".split("").forEach(function(u){c[u]=u}),Object.keys(Object.assign({},c)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return Di=r()?Object.assign:function(a,o){for(var s,l=n(a),c,u=1;u<arguments.length;u++){s=Object(arguments[u]);for(var d in s)e.call(s,d)&&(l[d]=s[d]);if(i){c=i(s);for(var m=0;m<c.length;m++)t.call(s,c[m])&&(l[c[m]]=s[c[m]])}}return l},Di}var Ai,$a;function Ni(){if($a)return Ai;$a=1;var i="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return Ai=i,Ai}var Ri,Ha;function Va(){return Ha||(Ha=1,Ri=Function.call.bind(Object.prototype.hasOwnProperty)),Ri}var Mi,Ya;function nc(){if(Ya)return Mi;Ya=1;var i=function(){};if(process.env.NODE_ENV!=="production"){var e=Ni(),t={},n=Va();i=function(a){var o="Warning: "+a;typeof console<"u"&&console.error(o);try{throw new Error(o)}catch{}}}function r(a,o,s,l,c){if(process.env.NODE_ENV!=="production"){for(var u in a)if(n(a,u)){var d;try{if(typeof a[u]!="function"){var m=Error((l||"React class")+": "+s+" type `"+u+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof a[u]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw m.name="Invariant Violation",m}d=a[u](o,u,l,s,null,e)}catch(b){d=b}if(d&&!(d instanceof Error)&&i((l||"React class")+": type specification of "+s+" `"+u+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof d+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),d instanceof Error&&!(d.message in t)){t[d.message]=!0;var h=c?c():"";i("Failed "+s+" type: "+d.message+(h??""))}}}}return r.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(t={})},Mi=r,Mi}var Fi,Ua;function ic(){if(Ua)return Fi;Ua=1;var i=Za(),e=tc(),t=Ni(),n=Va(),r=nc(),a=function(){};process.env.NODE_ENV!=="production"&&(a=function(s){var l="Warning: "+s;typeof console<"u"&&console.error(l);try{throw new Error(l)}catch{}});function o(){return null}return Fi=function(s,l){var c=typeof Symbol=="function"&&Symbol.iterator,u="@@iterator";function d(v){var j=v&&(c&&v[c]||v[u]);if(typeof j=="function")return j}var m="<<anonymous>>",h={array:y("array"),bigint:y("bigint"),bool:y("boolean"),func:y("function"),number:y("number"),object:y("object"),string:y("string"),symbol:y("symbol"),any:_(),arrayOf:w,element:T(),elementType:g(),instanceOf:k,node:B(),objectOf:q,oneOf:C,oneOfType:O,shape:U,exact:V};function b(v,j){return v===j?v!==0||1/v===1/j:v!==v&&j!==j}function f(v,j){this.message=v,this.data=j&&typeof j=="object"?j:{},this.stack=""}f.prototype=Error.prototype;function x(v){if(process.env.NODE_ENV!=="production")var j={},A=0;function F(E,M,L,I,X,W,me){if(I=I||m,W=W||L,me!==t){if(l){var D=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw D.name="Invariant Violation",D}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var ze=I+":"+L;!j[ze]&&A<3&&(a("You are manually calling a React.PropTypes validation function for the `"+W+"` prop on `"+I+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),j[ze]=!0,A++)}}return M[L]==null?E?M[L]===null?new f("The "+X+" `"+W+"` is marked as required "+("in `"+I+"`, but its value is `null`.")):new f("The "+X+" `"+W+"` is marked as required in "+("`"+I+"`, but its value is `undefined`.")):null:v(M,L,I,X,W)}var R=F.bind(null,!1);return R.isRequired=F.bind(null,!0),R}function y(v){function j(A,F,R,E,M,L){var I=A[F],X=G(I);if(X!==v){var W=K(I);return new f("Invalid "+E+" `"+M+"` of type "+("`"+W+"` supplied to `"+R+"`, expected ")+("`"+v+"`."),{expectedType:v})}return null}return x(j)}function _(){return x(o)}function w(v){function j(A,F,R,E,M){if(typeof v!="function")return new f("Property `"+M+"` of component `"+R+"` has invalid PropType notation inside arrayOf.");var L=A[F];if(!Array.isArray(L)){var I=G(L);return new f("Invalid "+E+" `"+M+"` of type "+("`"+I+"` supplied to `"+R+"`, expected an array."))}for(var X=0;X<L.length;X++){var W=v(L,X,R,E,M+"["+X+"]",t);if(W instanceof Error)return W}return null}return x(j)}function T(){function v(j,A,F,R,E){var M=j[A];if(!s(M)){var L=G(M);return new f("Invalid "+R+" `"+E+"` of type "+("`"+L+"` supplied to `"+F+"`, expected a single ReactElement."))}return null}return x(v)}function g(){function v(j,A,F,R,E){var M=j[A];if(!i.isValidElementType(M)){var L=G(M);return new f("Invalid "+R+" `"+E+"` of type "+("`"+L+"` supplied to `"+F+"`, expected a single ReactElement type."))}return null}return x(v)}function k(v){function j(A,F,R,E,M){if(!(A[F]instanceof v)){var L=v.name||m,I=te(A[F]);return new f("Invalid "+E+" `"+M+"` of type "+("`"+I+"` supplied to `"+R+"`, expected ")+("instance of `"+L+"`."))}return null}return x(j)}function C(v){if(!Array.isArray(v))return process.env.NODE_ENV!=="production"&&(arguments.length>1?a("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):a("Invalid argument supplied to oneOf, expected an array.")),o;function j(A,F,R,E,M){for(var L=A[F],I=0;I<v.length;I++)if(b(L,v[I]))return null;var X=JSON.stringify(v,function(me,D){var ze=K(D);return ze==="symbol"?String(D):D});return new f("Invalid "+E+" `"+M+"` of value `"+String(L)+"` "+("supplied to `"+R+"`, expected one of "+X+"."))}return x(j)}function q(v){function j(A,F,R,E,M){if(typeof v!="function")return new f("Property `"+M+"` of component `"+R+"` has invalid PropType notation inside objectOf.");var L=A[F],I=G(L);if(I!=="object")return new f("Invalid "+E+" `"+M+"` of type "+("`"+I+"` supplied to `"+R+"`, expected an object."));for(var X in L)if(n(L,X)){var W=v(L,X,R,E,M+"."+X,t);if(W instanceof Error)return W}return null}return x(j)}function O(v){if(!Array.isArray(v))return process.env.NODE_ENV!=="production"&&a("Invalid argument supplied to oneOfType, expected an instance of array."),o;for(var j=0;j<v.length;j++){var A=v[j];if(typeof A!="function")return a("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+se(A)+" at index "+j+"."),o}function F(R,E,M,L,I){for(var X=[],W=0;W<v.length;W++){var me=v[W],D=me(R,E,M,L,I,t);if(D==null)return null;D.data&&n(D.data,"expectedType")&&X.push(D.data.expectedType)}var ze=X.length>0?", expected one of type ["+X.join(", ")+"]":"";return new f("Invalid "+L+" `"+I+"` supplied to "+("`"+M+"`"+ze+"."))}return x(F)}function B(){function v(j,A,F,R,E){return Z(j[A])?null:new f("Invalid "+R+" `"+E+"` supplied to "+("`"+F+"`, expected a ReactNode."))}return x(v)}function H(v,j,A,F,R){return new f((v||"React class")+": "+j+" type `"+A+"."+F+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+R+"`.")}function U(v){function j(A,F,R,E,M){var L=A[F],I=G(L);if(I!=="object")return new f("Invalid "+E+" `"+M+"` of type `"+I+"` "+("supplied to `"+R+"`, expected `object`."));for(var X in v){var W=v[X];if(typeof W!="function")return H(R,E,M,X,K(W));var me=W(L,X,R,E,M+"."+X,t);if(me)return me}return null}return x(j)}function V(v){function j(A,F,R,E,M){var L=A[F],I=G(L);if(I!=="object")return new f("Invalid "+E+" `"+M+"` of type `"+I+"` "+("supplied to `"+R+"`, expected `object`."));var X=e({},A[F],v);for(var W in X){var me=v[W];if(n(v,W)&&typeof me!="function")return H(R,E,M,W,K(me));if(!me)return new f("Invalid "+E+" `"+M+"` key `"+W+"` supplied to `"+R+"`.\nBad object: "+JSON.stringify(A[F],null," ")+`
68
- Valid keys: `+JSON.stringify(Object.keys(v),null," "));var D=me(L,W,R,E,M+"."+W,t);if(D)return D}return null}return x(j)}function Z(v){switch(typeof v){case"number":case"string":case"undefined":return!0;case"boolean":return!v;case"object":if(Array.isArray(v))return v.every(Z);if(v===null||s(v))return!0;var j=d(v);if(j){var A=j.call(v),F;if(j!==v.entries){for(;!(F=A.next()).done;)if(!Z(F.value))return!1}else for(;!(F=A.next()).done;){var R=F.value;if(R&&!Z(R[1]))return!1}}else return!1;return!0;default:return!1}}function Y(v,j){return v==="symbol"?!0:j?j["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&j instanceof Symbol:!1}function G(v){var j=typeof v;return Array.isArray(v)?"array":v instanceof RegExp?"object":Y(j,v)?"symbol":j}function K(v){if(typeof v>"u"||v===null)return""+v;var j=G(v);if(j==="object"){if(v instanceof Date)return"date";if(v instanceof RegExp)return"regexp"}return j}function se(v){var j=K(v);switch(j){case"array":case"object":return"an "+j;case"boolean":case"date":case"regexp":return"a "+j;default:return j}}function te(v){return!v.constructor||!v.constructor.name?m:v.constructor.name}return h.checkPropTypes=r,h.resetWarningCache=r.resetWarningCache,h.PropTypes=h,h},Fi}var zi,Wa;function rc(){if(Wa)return zi;Wa=1;var i=Ni();function e(){}function t(){}return t.resetWarningCache=e,zi=function(){function n(o,s,l,c,u,d){if(d!==i){var m=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw m.name="Invariant Violation",m}}n.isRequired=n;function r(){return n}var a={array:n,bigint:n,bool:n,func:n,number:n,object:n,string:n,symbol:n,any:n,arrayOf:r,element:n,elementType:n,instanceOf:r,node:n,objectOf:r,oneOf:r,oneOfType:r,shape:r,exact:r,checkPropTypes:t,resetWarningCache:e};return a.PropTypes=a,a},zi}var Ga;function ac(){if(Ga)return Dn.exports;if(Ga=1,process.env.NODE_ENV!=="production"){var i=Za(),e=!0;Dn.exports=ic()(i.isElement,e)}else Dn.exports=rc()();return Dn.exports}var oc=ac();const oe=nr(oc);function bt(i,e,t,n){function r(a){return a instanceof t?a:new t(function(o){o(a)})}return new(t||(t=Promise))(function(a,o){function s(u){try{c(n.next(u))}catch(d){o(d)}}function l(u){try{c(n.throw(u))}catch(d){o(d)}}function c(u){u.done?a(u.value):r(u.value).then(s,l)}c((n=n.apply(i,e||[])).next())})}typeof SuppressedError=="function"&&SuppressedError;const sc=new Map([["1km","application/vnd.1000minds.decision-model+xml"],["3dml","text/vnd.in3d.3dml"],["3ds","image/x-3ds"],["3g2","video/3gpp2"],["3gp","video/3gp"],["3gpp","video/3gpp"],["3mf","model/3mf"],["7z","application/x-7z-compressed"],["7zip","application/x-7z-compressed"],["123","application/vnd.lotus-1-2-3"],["aab","application/x-authorware-bin"],["aac","audio/x-acc"],["aam","application/x-authorware-map"],["aas","application/x-authorware-seg"],["abw","application/x-abiword"],["ac","application/vnd.nokia.n-gage.ac+xml"],["ac3","audio/ac3"],["acc","application/vnd.americandynamics.acc"],["ace","application/x-ace-compressed"],["acu","application/vnd.acucobol"],["acutc","application/vnd.acucorp"],["adp","audio/adpcm"],["aep","application/vnd.audiograph"],["afm","application/x-font-type1"],["afp","application/vnd.ibm.modcap"],["ahead","application/vnd.ahead.space"],["ai","application/pdf"],["aif","audio/x-aiff"],["aifc","audio/x-aiff"],["aiff","audio/x-aiff"],["air","application/vnd.adobe.air-application-installer-package+zip"],["ait","application/vnd.dvb.ait"],["ami","application/vnd.amiga.ami"],["amr","audio/amr"],["apk","application/vnd.android.package-archive"],["apng","image/apng"],["appcache","text/cache-manifest"],["application","application/x-ms-application"],["apr","application/vnd.lotus-approach"],["arc","application/x-freearc"],["arj","application/x-arj"],["asc","application/pgp-signature"],["asf","video/x-ms-asf"],["asm","text/x-asm"],["aso","application/vnd.accpac.simply.aso"],["asx","video/x-ms-asf"],["atc","application/vnd.acucorp"],["atom","application/atom+xml"],["atomcat","application/atomcat+xml"],["atomdeleted","application/atomdeleted+xml"],["atomsvc","application/atomsvc+xml"],["atx","application/vnd.antix.game-component"],["au","audio/x-au"],["avi","video/x-msvideo"],["avif","image/avif"],["aw","application/applixware"],["azf","application/vnd.airzip.filesecure.azf"],["azs","application/vnd.airzip.filesecure.azs"],["azv","image/vnd.airzip.accelerator.azv"],["azw","application/vnd.amazon.ebook"],["b16","image/vnd.pco.b16"],["bat","application/x-msdownload"],["bcpio","application/x-bcpio"],["bdf","application/x-font-bdf"],["bdm","application/vnd.syncml.dm+wbxml"],["bdoc","application/x-bdoc"],["bed","application/vnd.realvnc.bed"],["bh2","application/vnd.fujitsu.oasysprs"],["bin","application/octet-stream"],["blb","application/x-blorb"],["blorb","application/x-blorb"],["bmi","application/vnd.bmi"],["bmml","application/vnd.balsamiq.bmml+xml"],["bmp","image/bmp"],["book","application/vnd.framemaker"],["box","application/vnd.previewsystems.box"],["boz","application/x-bzip2"],["bpk","application/octet-stream"],["bpmn","application/octet-stream"],["bsp","model/vnd.valve.source.compiled-map"],["btif","image/prs.btif"],["buffer","application/octet-stream"],["bz","application/x-bzip"],["bz2","application/x-bzip2"],["c","text/x-c"],["c4d","application/vnd.clonk.c4group"],["c4f","application/vnd.clonk.c4group"],["c4g","application/vnd.clonk.c4group"],["c4p","application/vnd.clonk.c4group"],["c4u","application/vnd.clonk.c4group"],["c11amc","application/vnd.cluetrust.cartomobile-config"],["c11amz","application/vnd.cluetrust.cartomobile-config-pkg"],["cab","application/vnd.ms-cab-compressed"],["caf","audio/x-caf"],["cap","application/vnd.tcpdump.pcap"],["car","application/vnd.curl.car"],["cat","application/vnd.ms-pki.seccat"],["cb7","application/x-cbr"],["cba","application/x-cbr"],["cbr","application/x-cbr"],["cbt","application/x-cbr"],["cbz","application/x-cbr"],["cc","text/x-c"],["cco","application/x-cocoa"],["cct","application/x-director"],["ccxml","application/ccxml+xml"],["cdbcmsg","application/vnd.contact.cmsg"],["cda","application/x-cdf"],["cdf","application/x-netcdf"],["cdfx","application/cdfx+xml"],["cdkey","application/vnd.mediastation.cdkey"],["cdmia","application/cdmi-capability"],["cdmic","application/cdmi-container"],["cdmid","application/cdmi-domain"],["cdmio","application/cdmi-object"],["cdmiq","application/cdmi-queue"],["cdr","application/cdr"],["cdx","chemical/x-cdx"],["cdxml","application/vnd.chemdraw+xml"],["cdy","application/vnd.cinderella"],["cer","application/pkix-cert"],["cfs","application/x-cfs-compressed"],["cgm","image/cgm"],["chat","application/x-chat"],["chm","application/vnd.ms-htmlhelp"],["chrt","application/vnd.kde.kchart"],["cif","chemical/x-cif"],["cii","application/vnd.anser-web-certificate-issue-initiation"],["cil","application/vnd.ms-artgalry"],["cjs","application/node"],["cla","application/vnd.claymore"],["class","application/octet-stream"],["clkk","application/vnd.crick.clicker.keyboard"],["clkp","application/vnd.crick.clicker.palette"],["clkt","application/vnd.crick.clicker.template"],["clkw","application/vnd.crick.clicker.wordbank"],["clkx","application/vnd.crick.clicker"],["clp","application/x-msclip"],["cmc","application/vnd.cosmocaller"],["cmdf","chemical/x-cmdf"],["cml","chemical/x-cml"],["cmp","application/vnd.yellowriver-custom-menu"],["cmx","image/x-cmx"],["cod","application/vnd.rim.cod"],["coffee","text/coffeescript"],["com","application/x-msdownload"],["conf","text/plain"],["cpio","application/x-cpio"],["cpp","text/x-c"],["cpt","application/mac-compactpro"],["crd","application/x-mscardfile"],["crl","application/pkix-crl"],["crt","application/x-x509-ca-cert"],["crx","application/x-chrome-extension"],["cryptonote","application/vnd.rig.cryptonote"],["csh","application/x-csh"],["csl","application/vnd.citationstyles.style+xml"],["csml","chemical/x-csml"],["csp","application/vnd.commonspace"],["csr","application/octet-stream"],["css","text/css"],["cst","application/x-director"],["csv","text/csv"],["cu","application/cu-seeme"],["curl","text/vnd.curl"],["cww","application/prs.cww"],["cxt","application/x-director"],["cxx","text/x-c"],["dae","model/vnd.collada+xml"],["daf","application/vnd.mobius.daf"],["dart","application/vnd.dart"],["dataless","application/vnd.fdsn.seed"],["davmount","application/davmount+xml"],["dbf","application/vnd.dbf"],["dbk","application/docbook+xml"],["dcr","application/x-director"],["dcurl","text/vnd.curl.dcurl"],["dd2","application/vnd.oma.dd2+xml"],["ddd","application/vnd.fujixerox.ddd"],["ddf","application/vnd.syncml.dmddf+xml"],["dds","image/vnd.ms-dds"],["deb","application/x-debian-package"],["def","text/plain"],["deploy","application/octet-stream"],["der","application/x-x509-ca-cert"],["dfac","application/vnd.dreamfactory"],["dgc","application/x-dgc-compressed"],["dic","text/x-c"],["dir","application/x-director"],["dis","application/vnd.mobius.dis"],["disposition-notification","message/disposition-notification"],["dist","application/octet-stream"],["distz","application/octet-stream"],["djv","image/vnd.djvu"],["djvu","image/vnd.djvu"],["dll","application/octet-stream"],["dmg","application/x-apple-diskimage"],["dmn","application/octet-stream"],["dmp","application/vnd.tcpdump.pcap"],["dms","application/octet-stream"],["dna","application/vnd.dna"],["doc","application/msword"],["docm","application/vnd.ms-word.template.macroEnabled.12"],["docx","application/vnd.openxmlformats-officedocument.wordprocessingml.document"],["dot","application/msword"],["dotm","application/vnd.ms-word.template.macroEnabled.12"],["dotx","application/vnd.openxmlformats-officedocument.wordprocessingml.template"],["dp","application/vnd.osgi.dp"],["dpg","application/vnd.dpgraph"],["dra","audio/vnd.dra"],["drle","image/dicom-rle"],["dsc","text/prs.lines.tag"],["dssc","application/dssc+der"],["dtb","application/x-dtbook+xml"],["dtd","application/xml-dtd"],["dts","audio/vnd.dts"],["dtshd","audio/vnd.dts.hd"],["dump","application/octet-stream"],["dvb","video/vnd.dvb.file"],["dvi","application/x-dvi"],["dwd","application/atsc-dwd+xml"],["dwf","model/vnd.dwf"],["dwg","image/vnd.dwg"],["dxf","image/vnd.dxf"],["dxp","application/vnd.spotfire.dxp"],["dxr","application/x-director"],["ear","application/java-archive"],["ecelp4800","audio/vnd.nuera.ecelp4800"],["ecelp7470","audio/vnd.nuera.ecelp7470"],["ecelp9600","audio/vnd.nuera.ecelp9600"],["ecma","application/ecmascript"],["edm","application/vnd.novadigm.edm"],["edx","application/vnd.novadigm.edx"],["efif","application/vnd.picsel"],["ei6","application/vnd.pg.osasli"],["elc","application/octet-stream"],["emf","image/emf"],["eml","message/rfc822"],["emma","application/emma+xml"],["emotionml","application/emotionml+xml"],["emz","application/x-msmetafile"],["eol","audio/vnd.digital-winds"],["eot","application/vnd.ms-fontobject"],["eps","application/postscript"],["epub","application/epub+zip"],["es","application/ecmascript"],["es3","application/vnd.eszigno3+xml"],["esa","application/vnd.osgi.subsystem"],["esf","application/vnd.epson.esf"],["et3","application/vnd.eszigno3+xml"],["etx","text/x-setext"],["eva","application/x-eva"],["evy","application/x-envoy"],["exe","application/octet-stream"],["exi","application/exi"],["exp","application/express"],["exr","image/aces"],["ext","application/vnd.novadigm.ext"],["ez","application/andrew-inset"],["ez2","application/vnd.ezpix-album"],["ez3","application/vnd.ezpix-package"],["f","text/x-fortran"],["f4v","video/mp4"],["f77","text/x-fortran"],["f90","text/x-fortran"],["fbs","image/vnd.fastbidsheet"],["fcdt","application/vnd.adobe.formscentral.fcdt"],["fcs","application/vnd.isac.fcs"],["fdf","application/vnd.fdf"],["fdt","application/fdt+xml"],["fe_launch","application/vnd.denovo.fcselayout-link"],["fg5","application/vnd.fujitsu.oasysgp"],["fgd","application/x-director"],["fh","image/x-freehand"],["fh4","image/x-freehand"],["fh5","image/x-freehand"],["fh7","image/x-freehand"],["fhc","image/x-freehand"],["fig","application/x-xfig"],["fits","image/fits"],["flac","audio/x-flac"],["fli","video/x-fli"],["flo","application/vnd.micrografx.flo"],["flv","video/x-flv"],["flw","application/vnd.kde.kivio"],["flx","text/vnd.fmi.flexstor"],["fly","text/vnd.fly"],["fm","application/vnd.framemaker"],["fnc","application/vnd.frogans.fnc"],["fo","application/vnd.software602.filler.form+xml"],["for","text/x-fortran"],["fpx","image/vnd.fpx"],["frame","application/vnd.framemaker"],["fsc","application/vnd.fsc.weblaunch"],["fst","image/vnd.fst"],["ftc","application/vnd.fluxtime.clip"],["fti","application/vnd.anser-web-funds-transfer-initiation"],["fvt","video/vnd.fvt"],["fxp","application/vnd.adobe.fxp"],["fxpl","application/vnd.adobe.fxp"],["fzs","application/vnd.fuzzysheet"],["g2w","application/vnd.geoplan"],["g3","image/g3fax"],["g3w","application/vnd.geospace"],["gac","application/vnd.groove-account"],["gam","application/x-tads"],["gbr","application/rpki-ghostbusters"],["gca","application/x-gca-compressed"],["gdl","model/vnd.gdl"],["gdoc","application/vnd.google-apps.document"],["geo","application/vnd.dynageo"],["geojson","application/geo+json"],["gex","application/vnd.geometry-explorer"],["ggb","application/vnd.geogebra.file"],["ggt","application/vnd.geogebra.tool"],["ghf","application/vnd.groove-help"],["gif","image/gif"],["gim","application/vnd.groove-identity-message"],["glb","model/gltf-binary"],["gltf","model/gltf+json"],["gml","application/gml+xml"],["gmx","application/vnd.gmx"],["gnumeric","application/x-gnumeric"],["gpg","application/gpg-keys"],["gph","application/vnd.flographit"],["gpx","application/gpx+xml"],["gqf","application/vnd.grafeq"],["gqs","application/vnd.grafeq"],["gram","application/srgs"],["gramps","application/x-gramps-xml"],["gre","application/vnd.geometry-explorer"],["grv","application/vnd.groove-injector"],["grxml","application/srgs+xml"],["gsf","application/x-font-ghostscript"],["gsheet","application/vnd.google-apps.spreadsheet"],["gslides","application/vnd.google-apps.presentation"],["gtar","application/x-gtar"],["gtm","application/vnd.groove-tool-message"],["gtw","model/vnd.gtw"],["gv","text/vnd.graphviz"],["gxf","application/gxf"],["gxt","application/vnd.geonext"],["gz","application/gzip"],["gzip","application/gzip"],["h","text/x-c"],["h261","video/h261"],["h263","video/h263"],["h264","video/h264"],["hal","application/vnd.hal+xml"],["hbci","application/vnd.hbci"],["hbs","text/x-handlebars-template"],["hdd","application/x-virtualbox-hdd"],["hdf","application/x-hdf"],["heic","image/heic"],["heics","image/heic-sequence"],["heif","image/heif"],["heifs","image/heif-sequence"],["hej2","image/hej2k"],["held","application/atsc-held+xml"],["hh","text/x-c"],["hjson","application/hjson"],["hlp","application/winhlp"],["hpgl","application/vnd.hp-hpgl"],["hpid","application/vnd.hp-hpid"],["hps","application/vnd.hp-hps"],["hqx","application/mac-binhex40"],["hsj2","image/hsj2"],["htc","text/x-component"],["htke","application/vnd.kenameaapp"],["htm","text/html"],["html","text/html"],["hvd","application/vnd.yamaha.hv-dic"],["hvp","application/vnd.yamaha.hv-voice"],["hvs","application/vnd.yamaha.hv-script"],["i2g","application/vnd.intergeo"],["icc","application/vnd.iccprofile"],["ice","x-conference/x-cooltalk"],["icm","application/vnd.iccprofile"],["ico","image/x-icon"],["ics","text/calendar"],["ief","image/ief"],["ifb","text/calendar"],["ifm","application/vnd.shana.informed.formdata"],["iges","model/iges"],["igl","application/vnd.igloader"],["igm","application/vnd.insors.igm"],["igs","model/iges"],["igx","application/vnd.micrografx.igx"],["iif","application/vnd.shana.informed.interchange"],["img","application/octet-stream"],["imp","application/vnd.accpac.simply.imp"],["ims","application/vnd.ms-ims"],["in","text/plain"],["ini","text/plain"],["ink","application/inkml+xml"],["inkml","application/inkml+xml"],["install","application/x-install-instructions"],["iota","application/vnd.astraea-software.iota"],["ipfix","application/ipfix"],["ipk","application/vnd.shana.informed.package"],["irm","application/vnd.ibm.rights-management"],["irp","application/vnd.irepository.package+xml"],["iso","application/x-iso9660-image"],["itp","application/vnd.shana.informed.formtemplate"],["its","application/its+xml"],["ivp","application/vnd.immervision-ivp"],["ivu","application/vnd.immervision-ivu"],["jad","text/vnd.sun.j2me.app-descriptor"],["jade","text/jade"],["jam","application/vnd.jam"],["jar","application/java-archive"],["jardiff","application/x-java-archive-diff"],["java","text/x-java-source"],["jhc","image/jphc"],["jisp","application/vnd.jisp"],["jls","image/jls"],["jlt","application/vnd.hp-jlyt"],["jng","image/x-jng"],["jnlp","application/x-java-jnlp-file"],["joda","application/vnd.joost.joda-archive"],["jp2","image/jp2"],["jpe","image/jpeg"],["jpeg","image/jpeg"],["jpf","image/jpx"],["jpg","image/jpeg"],["jpg2","image/jp2"],["jpgm","video/jpm"],["jpgv","video/jpeg"],["jph","image/jph"],["jpm","video/jpm"],["jpx","image/jpx"],["js","application/javascript"],["json","application/json"],["json5","application/json5"],["jsonld","application/ld+json"],["jsonl","application/jsonl"],["jsonml","application/jsonml+json"],["jsx","text/jsx"],["jxr","image/jxr"],["jxra","image/jxra"],["jxrs","image/jxrs"],["jxs","image/jxs"],["jxsc","image/jxsc"],["jxsi","image/jxsi"],["jxss","image/jxss"],["kar","audio/midi"],["karbon","application/vnd.kde.karbon"],["kdb","application/octet-stream"],["kdbx","application/x-keepass2"],["key","application/x-iwork-keynote-sffkey"],["kfo","application/vnd.kde.kformula"],["kia","application/vnd.kidspiration"],["kml","application/vnd.google-earth.kml+xml"],["kmz","application/vnd.google-earth.kmz"],["kne","application/vnd.kinar"],["knp","application/vnd.kinar"],["kon","application/vnd.kde.kontour"],["kpr","application/vnd.kde.kpresenter"],["kpt","application/vnd.kde.kpresenter"],["kpxx","application/vnd.ds-keypoint"],["ksp","application/vnd.kde.kspread"],["ktr","application/vnd.kahootz"],["ktx","image/ktx"],["ktx2","image/ktx2"],["ktz","application/vnd.kahootz"],["kwd","application/vnd.kde.kword"],["kwt","application/vnd.kde.kword"],["lasxml","application/vnd.las.las+xml"],["latex","application/x-latex"],["lbd","application/vnd.llamagraphics.life-balance.desktop"],["lbe","application/vnd.llamagraphics.life-balance.exchange+xml"],["les","application/vnd.hhe.lesson-player"],["less","text/less"],["lgr","application/lgr+xml"],["lha","application/octet-stream"],["link66","application/vnd.route66.link66+xml"],["list","text/plain"],["list3820","application/vnd.ibm.modcap"],["listafp","application/vnd.ibm.modcap"],["litcoffee","text/coffeescript"],["lnk","application/x-ms-shortcut"],["log","text/plain"],["lostxml","application/lost+xml"],["lrf","application/octet-stream"],["lrm","application/vnd.ms-lrm"],["ltf","application/vnd.frogans.ltf"],["lua","text/x-lua"],["luac","application/x-lua-bytecode"],["lvp","audio/vnd.lucent.voice"],["lwp","application/vnd.lotus-wordpro"],["lzh","application/octet-stream"],["m1v","video/mpeg"],["m2a","audio/mpeg"],["m2v","video/mpeg"],["m3a","audio/mpeg"],["m3u","text/plain"],["m3u8","application/vnd.apple.mpegurl"],["m4a","audio/x-m4a"],["m4p","application/mp4"],["m4s","video/iso.segment"],["m4u","application/vnd.mpegurl"],["m4v","video/x-m4v"],["m13","application/x-msmediaview"],["m14","application/x-msmediaview"],["m21","application/mp21"],["ma","application/mathematica"],["mads","application/mads+xml"],["maei","application/mmt-aei+xml"],["mag","application/vnd.ecowin.chart"],["maker","application/vnd.framemaker"],["man","text/troff"],["manifest","text/cache-manifest"],["map","application/json"],["mar","application/octet-stream"],["markdown","text/markdown"],["mathml","application/mathml+xml"],["mb","application/mathematica"],["mbk","application/vnd.mobius.mbk"],["mbox","application/mbox"],["mc1","application/vnd.medcalcdata"],["mcd","application/vnd.mcd"],["mcurl","text/vnd.curl.mcurl"],["md","text/markdown"],["mdb","application/x-msaccess"],["mdi","image/vnd.ms-modi"],["mdx","text/mdx"],["me","text/troff"],["mesh","model/mesh"],["meta4","application/metalink4+xml"],["metalink","application/metalink+xml"],["mets","application/mets+xml"],["mfm","application/vnd.mfmp"],["mft","application/rpki-manifest"],["mgp","application/vnd.osgeo.mapguide.package"],["mgz","application/vnd.proteus.magazine"],["mid","audio/midi"],["midi","audio/midi"],["mie","application/x-mie"],["mif","application/vnd.mif"],["mime","message/rfc822"],["mj2","video/mj2"],["mjp2","video/mj2"],["mjs","application/javascript"],["mk3d","video/x-matroska"],["mka","audio/x-matroska"],["mkd","text/x-markdown"],["mks","video/x-matroska"],["mkv","video/x-matroska"],["mlp","application/vnd.dolby.mlp"],["mmd","application/vnd.chipnuts.karaoke-mmd"],["mmf","application/vnd.smaf"],["mml","text/mathml"],["mmr","image/vnd.fujixerox.edmics-mmr"],["mng","video/x-mng"],["mny","application/x-msmoney"],["mobi","application/x-mobipocket-ebook"],["mods","application/mods+xml"],["mov","video/quicktime"],["movie","video/x-sgi-movie"],["mp2","audio/mpeg"],["mp2a","audio/mpeg"],["mp3","audio/mpeg"],["mp4","video/mp4"],["mp4a","audio/mp4"],["mp4s","application/mp4"],["mp4v","video/mp4"],["mp21","application/mp21"],["mpc","application/vnd.mophun.certificate"],["mpd","application/dash+xml"],["mpe","video/mpeg"],["mpeg","video/mpeg"],["mpg","video/mpeg"],["mpg4","video/mp4"],["mpga","audio/mpeg"],["mpkg","application/vnd.apple.installer+xml"],["mpm","application/vnd.blueice.multipass"],["mpn","application/vnd.mophun.application"],["mpp","application/vnd.ms-project"],["mpt","application/vnd.ms-project"],["mpy","application/vnd.ibm.minipay"],["mqy","application/vnd.mobius.mqy"],["mrc","application/marc"],["mrcx","application/marcxml+xml"],["ms","text/troff"],["mscml","application/mediaservercontrol+xml"],["mseed","application/vnd.fdsn.mseed"],["mseq","application/vnd.mseq"],["msf","application/vnd.epson.msf"],["msg","application/vnd.ms-outlook"],["msh","model/mesh"],["msi","application/x-msdownload"],["msl","application/vnd.mobius.msl"],["msm","application/octet-stream"],["msp","application/octet-stream"],["msty","application/vnd.muvee.style"],["mtl","model/mtl"],["mts","model/vnd.mts"],["mus","application/vnd.musician"],["musd","application/mmt-usd+xml"],["musicxml","application/vnd.recordare.musicxml+xml"],["mvb","application/x-msmediaview"],["mvt","application/vnd.mapbox-vector-tile"],["mwf","application/vnd.mfer"],["mxf","application/mxf"],["mxl","application/vnd.recordare.musicxml"],["mxmf","audio/mobile-xmf"],["mxml","application/xv+xml"],["mxs","application/vnd.triscape.mxs"],["mxu","video/vnd.mpegurl"],["n-gage","application/vnd.nokia.n-gage.symbian.install"],["n3","text/n3"],["nb","application/mathematica"],["nbp","application/vnd.wolfram.player"],["nc","application/x-netcdf"],["ncx","application/x-dtbncx+xml"],["nfo","text/x-nfo"],["ngdat","application/vnd.nokia.n-gage.data"],["nitf","application/vnd.nitf"],["nlu","application/vnd.neurolanguage.nlu"],["nml","application/vnd.enliven"],["nnd","application/vnd.noblenet-directory"],["nns","application/vnd.noblenet-sealer"],["nnw","application/vnd.noblenet-web"],["npx","image/vnd.net-fpx"],["nq","application/n-quads"],["nsc","application/x-conference"],["nsf","application/vnd.lotus-notes"],["nt","application/n-triples"],["ntf","application/vnd.nitf"],["numbers","application/x-iwork-numbers-sffnumbers"],["nzb","application/x-nzb"],["oa2","application/vnd.fujitsu.oasys2"],["oa3","application/vnd.fujitsu.oasys3"],["oas","application/vnd.fujitsu.oasys"],["obd","application/x-msbinder"],["obgx","application/vnd.openblox.game+xml"],["obj","model/obj"],["oda","application/oda"],["odb","application/vnd.oasis.opendocument.database"],["odc","application/vnd.oasis.opendocument.chart"],["odf","application/vnd.oasis.opendocument.formula"],["odft","application/vnd.oasis.opendocument.formula-template"],["odg","application/vnd.oasis.opendocument.graphics"],["odi","application/vnd.oasis.opendocument.image"],["odm","application/vnd.oasis.opendocument.text-master"],["odp","application/vnd.oasis.opendocument.presentation"],["ods","application/vnd.oasis.opendocument.spreadsheet"],["odt","application/vnd.oasis.opendocument.text"],["oga","audio/ogg"],["ogex","model/vnd.opengex"],["ogg","audio/ogg"],["ogv","video/ogg"],["ogx","application/ogg"],["omdoc","application/omdoc+xml"],["onepkg","application/onenote"],["onetmp","application/onenote"],["onetoc","application/onenote"],["onetoc2","application/onenote"],["opf","application/oebps-package+xml"],["opml","text/x-opml"],["oprc","application/vnd.palm"],["opus","audio/ogg"],["org","text/x-org"],["osf","application/vnd.yamaha.openscoreformat"],["osfpvg","application/vnd.yamaha.openscoreformat.osfpvg+xml"],["osm","application/vnd.openstreetmap.data+xml"],["otc","application/vnd.oasis.opendocument.chart-template"],["otf","font/otf"],["otg","application/vnd.oasis.opendocument.graphics-template"],["oth","application/vnd.oasis.opendocument.text-web"],["oti","application/vnd.oasis.opendocument.image-template"],["otp","application/vnd.oasis.opendocument.presentation-template"],["ots","application/vnd.oasis.opendocument.spreadsheet-template"],["ott","application/vnd.oasis.opendocument.text-template"],["ova","application/x-virtualbox-ova"],["ovf","application/x-virtualbox-ovf"],["owl","application/rdf+xml"],["oxps","application/oxps"],["oxt","application/vnd.openofficeorg.extension"],["p","text/x-pascal"],["p7a","application/x-pkcs7-signature"],["p7b","application/x-pkcs7-certificates"],["p7c","application/pkcs7-mime"],["p7m","application/pkcs7-mime"],["p7r","application/x-pkcs7-certreqresp"],["p7s","application/pkcs7-signature"],["p8","application/pkcs8"],["p10","application/x-pkcs10"],["p12","application/x-pkcs12"],["pac","application/x-ns-proxy-autoconfig"],["pages","application/x-iwork-pages-sffpages"],["pas","text/x-pascal"],["paw","application/vnd.pawaafile"],["pbd","application/vnd.powerbuilder6"],["pbm","image/x-portable-bitmap"],["pcap","application/vnd.tcpdump.pcap"],["pcf","application/x-font-pcf"],["pcl","application/vnd.hp-pcl"],["pclxl","application/vnd.hp-pclxl"],["pct","image/x-pict"],["pcurl","application/vnd.curl.pcurl"],["pcx","image/x-pcx"],["pdb","application/x-pilot"],["pde","text/x-processing"],["pdf","application/pdf"],["pem","application/x-x509-user-cert"],["pfa","application/x-font-type1"],["pfb","application/x-font-type1"],["pfm","application/x-font-type1"],["pfr","application/font-tdpfr"],["pfx","application/x-pkcs12"],["pgm","image/x-portable-graymap"],["pgn","application/x-chess-pgn"],["pgp","application/pgp"],["php","application/x-httpd-php"],["php3","application/x-httpd-php"],["php4","application/x-httpd-php"],["phps","application/x-httpd-php-source"],["phtml","application/x-httpd-php"],["pic","image/x-pict"],["pkg","application/octet-stream"],["pki","application/pkixcmp"],["pkipath","application/pkix-pkipath"],["pkpass","application/vnd.apple.pkpass"],["pl","application/x-perl"],["plb","application/vnd.3gpp.pic-bw-large"],["plc","application/vnd.mobius.plc"],["plf","application/vnd.pocketlearn"],["pls","application/pls+xml"],["pm","application/x-perl"],["pml","application/vnd.ctc-posml"],["png","image/png"],["pnm","image/x-portable-anymap"],["portpkg","application/vnd.macports.portpkg"],["pot","application/vnd.ms-powerpoint"],["potm","application/vnd.ms-powerpoint.presentation.macroEnabled.12"],["potx","application/vnd.openxmlformats-officedocument.presentationml.template"],["ppa","application/vnd.ms-powerpoint"],["ppam","application/vnd.ms-powerpoint.addin.macroEnabled.12"],["ppd","application/vnd.cups-ppd"],["ppm","image/x-portable-pixmap"],["pps","application/vnd.ms-powerpoint"],["ppsm","application/vnd.ms-powerpoint.slideshow.macroEnabled.12"],["ppsx","application/vnd.openxmlformats-officedocument.presentationml.slideshow"],["ppt","application/powerpoint"],["pptm","application/vnd.ms-powerpoint.presentation.macroEnabled.12"],["pptx","application/vnd.openxmlformats-officedocument.presentationml.presentation"],["pqa","application/vnd.palm"],["prc","application/x-pilot"],["pre","application/vnd.lotus-freelance"],["prf","application/pics-rules"],["provx","application/provenance+xml"],["ps","application/postscript"],["psb","application/vnd.3gpp.pic-bw-small"],["psd","application/x-photoshop"],["psf","application/x-font-linux-psf"],["pskcxml","application/pskc+xml"],["pti","image/prs.pti"],["ptid","application/vnd.pvi.ptid1"],["pub","application/x-mspublisher"],["pvb","application/vnd.3gpp.pic-bw-var"],["pwn","application/vnd.3m.post-it-notes"],["pya","audio/vnd.ms-playready.media.pya"],["pyv","video/vnd.ms-playready.media.pyv"],["qam","application/vnd.epson.quickanime"],["qbo","application/vnd.intu.qbo"],["qfx","application/vnd.intu.qfx"],["qps","application/vnd.publishare-delta-tree"],["qt","video/quicktime"],["qwd","application/vnd.quark.quarkxpress"],["qwt","application/vnd.quark.quarkxpress"],["qxb","application/vnd.quark.quarkxpress"],["qxd","application/vnd.quark.quarkxpress"],["qxl","application/vnd.quark.quarkxpress"],["qxt","application/vnd.quark.quarkxpress"],["ra","audio/x-realaudio"],["ram","audio/x-pn-realaudio"],["raml","application/raml+yaml"],["rapd","application/route-apd+xml"],["rar","application/x-rar"],["ras","image/x-cmu-raster"],["rcprofile","application/vnd.ipunplugged.rcprofile"],["rdf","application/rdf+xml"],["rdz","application/vnd.data-vision.rdz"],["relo","application/p2p-overlay+xml"],["rep","application/vnd.businessobjects"],["res","application/x-dtbresource+xml"],["rgb","image/x-rgb"],["rif","application/reginfo+xml"],["rip","audio/vnd.rip"],["ris","application/x-research-info-systems"],["rl","application/resource-lists+xml"],["rlc","image/vnd.fujixerox.edmics-rlc"],["rld","application/resource-lists-diff+xml"],["rm","audio/x-pn-realaudio"],["rmi","audio/midi"],["rmp","audio/x-pn-realaudio-plugin"],["rms","application/vnd.jcp.javame.midlet-rms"],["rmvb","application/vnd.rn-realmedia-vbr"],["rnc","application/relax-ng-compact-syntax"],["rng","application/xml"],["roa","application/rpki-roa"],["roff","text/troff"],["rp9","application/vnd.cloanto.rp9"],["rpm","audio/x-pn-realaudio-plugin"],["rpss","application/vnd.nokia.radio-presets"],["rpst","application/vnd.nokia.radio-preset"],["rq","application/sparql-query"],["rs","application/rls-services+xml"],["rsa","application/x-pkcs7"],["rsat","application/atsc-rsat+xml"],["rsd","application/rsd+xml"],["rsheet","application/urc-ressheet+xml"],["rss","application/rss+xml"],["rtf","text/rtf"],["rtx","text/richtext"],["run","application/x-makeself"],["rusd","application/route-usd+xml"],["rv","video/vnd.rn-realvideo"],["s","text/x-asm"],["s3m","audio/s3m"],["saf","application/vnd.yamaha.smaf-audio"],["sass","text/x-sass"],["sbml","application/sbml+xml"],["sc","application/vnd.ibm.secure-container"],["scd","application/x-msschedule"],["scm","application/vnd.lotus-screencam"],["scq","application/scvp-cv-request"],["scs","application/scvp-cv-response"],["scss","text/x-scss"],["scurl","text/vnd.curl.scurl"],["sda","application/vnd.stardivision.draw"],["sdc","application/vnd.stardivision.calc"],["sdd","application/vnd.stardivision.impress"],["sdkd","application/vnd.solent.sdkm+xml"],["sdkm","application/vnd.solent.sdkm+xml"],["sdp","application/sdp"],["sdw","application/vnd.stardivision.writer"],["sea","application/octet-stream"],["see","application/vnd.seemail"],["seed","application/vnd.fdsn.seed"],["sema","application/vnd.sema"],["semd","application/vnd.semd"],["semf","application/vnd.semf"],["senmlx","application/senml+xml"],["sensmlx","application/sensml+xml"],["ser","application/java-serialized-object"],["setpay","application/set-payment-initiation"],["setreg","application/set-registration-initiation"],["sfd-hdstx","application/vnd.hydrostatix.sof-data"],["sfs","application/vnd.spotfire.sfs"],["sfv","text/x-sfv"],["sgi","image/sgi"],["sgl","application/vnd.stardivision.writer-global"],["sgm","text/sgml"],["sgml","text/sgml"],["sh","application/x-sh"],["shar","application/x-shar"],["shex","text/shex"],["shf","application/shf+xml"],["shtml","text/html"],["sid","image/x-mrsid-image"],["sieve","application/sieve"],["sig","application/pgp-signature"],["sil","audio/silk"],["silo","model/mesh"],["sis","application/vnd.symbian.install"],["sisx","application/vnd.symbian.install"],["sit","application/x-stuffit"],["sitx","application/x-stuffitx"],["siv","application/sieve"],["skd","application/vnd.koan"],["skm","application/vnd.koan"],["skp","application/vnd.koan"],["skt","application/vnd.koan"],["sldm","application/vnd.ms-powerpoint.slide.macroenabled.12"],["sldx","application/vnd.openxmlformats-officedocument.presentationml.slide"],["slim","text/slim"],["slm","text/slim"],["sls","application/route-s-tsid+xml"],["slt","application/vnd.epson.salt"],["sm","application/vnd.stepmania.stepchart"],["smf","application/vnd.stardivision.math"],["smi","application/smil"],["smil","application/smil"],["smv","video/x-smv"],["smzip","application/vnd.stepmania.package"],["snd","audio/basic"],["snf","application/x-font-snf"],["so","application/octet-stream"],["spc","application/x-pkcs7-certificates"],["spdx","text/spdx"],["spf","application/vnd.yamaha.smaf-phrase"],["spl","application/x-futuresplash"],["spot","text/vnd.in3d.spot"],["spp","application/scvp-vp-response"],["spq","application/scvp-vp-request"],["spx","audio/ogg"],["sql","application/x-sql"],["src","application/x-wais-source"],["srt","application/x-subrip"],["sru","application/sru+xml"],["srx","application/sparql-results+xml"],["ssdl","application/ssdl+xml"],["sse","application/vnd.kodak-descriptor"],["ssf","application/vnd.epson.ssf"],["ssml","application/ssml+xml"],["sst","application/octet-stream"],["st","application/vnd.sailingtracker.track"],["stc","application/vnd.sun.xml.calc.template"],["std","application/vnd.sun.xml.draw.template"],["stf","application/vnd.wt.stf"],["sti","application/vnd.sun.xml.impress.template"],["stk","application/hyperstudio"],["stl","model/stl"],["stpx","model/step+xml"],["stpxz","model/step-xml+zip"],["stpz","model/step+zip"],["str","application/vnd.pg.format"],["stw","application/vnd.sun.xml.writer.template"],["styl","text/stylus"],["stylus","text/stylus"],["sub","text/vnd.dvb.subtitle"],["sus","application/vnd.sus-calendar"],["susp","application/vnd.sus-calendar"],["sv4cpio","application/x-sv4cpio"],["sv4crc","application/x-sv4crc"],["svc","application/vnd.dvb.service"],["svd","application/vnd.svd"],["svg","image/svg+xml"],["svgz","image/svg+xml"],["swa","application/x-director"],["swf","application/x-shockwave-flash"],["swi","application/vnd.aristanetworks.swi"],["swidtag","application/swid+xml"],["sxc","application/vnd.sun.xml.calc"],["sxd","application/vnd.sun.xml.draw"],["sxg","application/vnd.sun.xml.writer.global"],["sxi","application/vnd.sun.xml.impress"],["sxm","application/vnd.sun.xml.math"],["sxw","application/vnd.sun.xml.writer"],["t","text/troff"],["t3","application/x-t3vm-image"],["t38","image/t38"],["taglet","application/vnd.mynfc"],["tao","application/vnd.tao.intent-module-archive"],["tap","image/vnd.tencent.tap"],["tar","application/x-tar"],["tcap","application/vnd.3gpp2.tcap"],["tcl","application/x-tcl"],["td","application/urc-targetdesc+xml"],["teacher","application/vnd.smart.teacher"],["tei","application/tei+xml"],["teicorpus","application/tei+xml"],["tex","application/x-tex"],["texi","application/x-texinfo"],["texinfo","application/x-texinfo"],["text","text/plain"],["tfi","application/thraud+xml"],["tfm","application/x-tex-tfm"],["tfx","image/tiff-fx"],["tga","image/x-tga"],["tgz","application/x-tar"],["thmx","application/vnd.ms-officetheme"],["tif","image/tiff"],["tiff","image/tiff"],["tk","application/x-tcl"],["tmo","application/vnd.tmobile-livetv"],["toml","application/toml"],["torrent","application/x-bittorrent"],["tpl","application/vnd.groove-tool-template"],["tpt","application/vnd.trid.tpt"],["tr","text/troff"],["tra","application/vnd.trueapp"],["trig","application/trig"],["trm","application/x-msterminal"],["ts","video/mp2t"],["tsd","application/timestamped-data"],["tsv","text/tab-separated-values"],["ttc","font/collection"],["ttf","font/ttf"],["ttl","text/turtle"],["ttml","application/ttml+xml"],["twd","application/vnd.simtech-mindmapper"],["twds","application/vnd.simtech-mindmapper"],["txd","application/vnd.genomatix.tuxedo"],["txf","application/vnd.mobius.txf"],["txt","text/plain"],["u8dsn","message/global-delivery-status"],["u8hdr","message/global-headers"],["u8mdn","message/global-disposition-notification"],["u8msg","message/global"],["u32","application/x-authorware-bin"],["ubj","application/ubjson"],["udeb","application/x-debian-package"],["ufd","application/vnd.ufdl"],["ufdl","application/vnd.ufdl"],["ulx","application/x-glulx"],["umj","application/vnd.umajin"],["unityweb","application/vnd.unity"],["uoml","application/vnd.uoml+xml"],["uri","text/uri-list"],["uris","text/uri-list"],["urls","text/uri-list"],["usdz","model/vnd.usdz+zip"],["ustar","application/x-ustar"],["utz","application/vnd.uiq.theme"],["uu","text/x-uuencode"],["uva","audio/vnd.dece.audio"],["uvd","application/vnd.dece.data"],["uvf","application/vnd.dece.data"],["uvg","image/vnd.dece.graphic"],["uvh","video/vnd.dece.hd"],["uvi","image/vnd.dece.graphic"],["uvm","video/vnd.dece.mobile"],["uvp","video/vnd.dece.pd"],["uvs","video/vnd.dece.sd"],["uvt","application/vnd.dece.ttml+xml"],["uvu","video/vnd.uvvu.mp4"],["uvv","video/vnd.dece.video"],["uvva","audio/vnd.dece.audio"],["uvvd","application/vnd.dece.data"],["uvvf","application/vnd.dece.data"],["uvvg","image/vnd.dece.graphic"],["uvvh","video/vnd.dece.hd"],["uvvi","image/vnd.dece.graphic"],["uvvm","video/vnd.dece.mobile"],["uvvp","video/vnd.dece.pd"],["uvvs","video/vnd.dece.sd"],["uvvt","application/vnd.dece.ttml+xml"],["uvvu","video/vnd.uvvu.mp4"],["uvvv","video/vnd.dece.video"],["uvvx","application/vnd.dece.unspecified"],["uvvz","application/vnd.dece.zip"],["uvx","application/vnd.dece.unspecified"],["uvz","application/vnd.dece.zip"],["vbox","application/x-virtualbox-vbox"],["vbox-extpack","application/x-virtualbox-vbox-extpack"],["vcard","text/vcard"],["vcd","application/x-cdlink"],["vcf","text/x-vcard"],["vcg","application/vnd.groove-vcard"],["vcs","text/x-vcalendar"],["vcx","application/vnd.vcx"],["vdi","application/x-virtualbox-vdi"],["vds","model/vnd.sap.vds"],["vhd","application/x-virtualbox-vhd"],["vis","application/vnd.visionary"],["viv","video/vnd.vivo"],["vlc","application/videolan"],["vmdk","application/x-virtualbox-vmdk"],["vob","video/x-ms-vob"],["vor","application/vnd.stardivision.writer"],["vox","application/x-authorware-bin"],["vrml","model/vrml"],["vsd","application/vnd.visio"],["vsf","application/vnd.vsf"],["vss","application/vnd.visio"],["vst","application/vnd.visio"],["vsw","application/vnd.visio"],["vtf","image/vnd.valve.source.texture"],["vtt","text/vtt"],["vtu","model/vnd.vtu"],["vxml","application/voicexml+xml"],["w3d","application/x-director"],["wad","application/x-doom"],["wadl","application/vnd.sun.wadl+xml"],["war","application/java-archive"],["wasm","application/wasm"],["wav","audio/x-wav"],["wax","audio/x-ms-wax"],["wbmp","image/vnd.wap.wbmp"],["wbs","application/vnd.criticaltools.wbs+xml"],["wbxml","application/wbxml"],["wcm","application/vnd.ms-works"],["wdb","application/vnd.ms-works"],["wdp","image/vnd.ms-photo"],["weba","audio/webm"],["webapp","application/x-web-app-manifest+json"],["webm","video/webm"],["webmanifest","application/manifest+json"],["webp","image/webp"],["wg","application/vnd.pmi.widget"],["wgt","application/widget"],["wks","application/vnd.ms-works"],["wm","video/x-ms-wm"],["wma","audio/x-ms-wma"],["wmd","application/x-ms-wmd"],["wmf","image/wmf"],["wml","text/vnd.wap.wml"],["wmlc","application/wmlc"],["wmls","text/vnd.wap.wmlscript"],["wmlsc","application/vnd.wap.wmlscriptc"],["wmv","video/x-ms-wmv"],["wmx","video/x-ms-wmx"],["wmz","application/x-msmetafile"],["woff","font/woff"],["woff2","font/woff2"],["word","application/msword"],["wpd","application/vnd.wordperfect"],["wpl","application/vnd.ms-wpl"],["wps","application/vnd.ms-works"],["wqd","application/vnd.wqd"],["wri","application/x-mswrite"],["wrl","model/vrml"],["wsc","message/vnd.wfa.wsc"],["wsdl","application/wsdl+xml"],["wspolicy","application/wspolicy+xml"],["wtb","application/vnd.webturbo"],["wvx","video/x-ms-wvx"],["x3d","model/x3d+xml"],["x3db","model/x3d+fastinfoset"],["x3dbz","model/x3d+binary"],["x3dv","model/x3d-vrml"],["x3dvz","model/x3d+vrml"],["x3dz","model/x3d+xml"],["x32","application/x-authorware-bin"],["x_b","model/vnd.parasolid.transmit.binary"],["x_t","model/vnd.parasolid.transmit.text"],["xaml","application/xaml+xml"],["xap","application/x-silverlight-app"],["xar","application/vnd.xara"],["xav","application/xcap-att+xml"],["xbap","application/x-ms-xbap"],["xbd","application/vnd.fujixerox.docuworks.binder"],["xbm","image/x-xbitmap"],["xca","application/xcap-caps+xml"],["xcs","application/calendar+xml"],["xdf","application/xcap-diff+xml"],["xdm","application/vnd.syncml.dm+xml"],["xdp","application/vnd.adobe.xdp+xml"],["xdssc","application/dssc+xml"],["xdw","application/vnd.fujixerox.docuworks"],["xel","application/xcap-el+xml"],["xenc","application/xenc+xml"],["xer","application/patch-ops-error+xml"],["xfdf","application/vnd.adobe.xfdf"],["xfdl","application/vnd.xfdl"],["xht","application/xhtml+xml"],["xhtml","application/xhtml+xml"],["xhvml","application/xv+xml"],["xif","image/vnd.xiff"],["xl","application/excel"],["xla","application/vnd.ms-excel"],["xlam","application/vnd.ms-excel.addin.macroEnabled.12"],["xlc","application/vnd.ms-excel"],["xlf","application/xliff+xml"],["xlm","application/vnd.ms-excel"],["xls","application/vnd.ms-excel"],["xlsb","application/vnd.ms-excel.sheet.binary.macroEnabled.12"],["xlsm","application/vnd.ms-excel.sheet.macroEnabled.12"],["xlsx","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"],["xlt","application/vnd.ms-excel"],["xltm","application/vnd.ms-excel.template.macroEnabled.12"],["xltx","application/vnd.openxmlformats-officedocument.spreadsheetml.template"],["xlw","application/vnd.ms-excel"],["xm","audio/xm"],["xml","application/xml"],["xns","application/xcap-ns+xml"],["xo","application/vnd.olpc-sugar"],["xop","application/xop+xml"],["xpi","application/x-xpinstall"],["xpl","application/xproc+xml"],["xpm","image/x-xpixmap"],["xpr","application/vnd.is-xpr"],["xps","application/vnd.ms-xpsdocument"],["xpw","application/vnd.intercon.formnet"],["xpx","application/vnd.intercon.formnet"],["xsd","application/xml"],["xsl","application/xml"],["xslt","application/xslt+xml"],["xsm","application/vnd.syncml+xml"],["xspf","application/xspf+xml"],["xul","application/vnd.mozilla.xul+xml"],["xvm","application/xv+xml"],["xvml","application/xv+xml"],["xwd","image/x-xwindowdump"],["xyz","chemical/x-xyz"],["xz","application/x-xz"],["yaml","text/yaml"],["yang","application/yang"],["yin","application/yin+xml"],["yml","text/yaml"],["ymp","text/x-suse-ymp"],["z","application/x-compress"],["z1","application/x-zmachine"],["z2","application/x-zmachine"],["z3","application/x-zmachine"],["z4","application/x-zmachine"],["z5","application/x-zmachine"],["z6","application/x-zmachine"],["z7","application/x-zmachine"],["z8","application/x-zmachine"],["zaz","application/vnd.zzazz.deck+xml"],["zip","application/zip"],["zir","application/vnd.zul"],["zirz","application/vnd.zul"],["zmm","application/vnd.handheld-entertainment+xml"],["zsh","text/x-scriptzsh"]]);function Nt(i,e,t){const n=lc(i),{webkitRelativePath:r}=i,a=typeof e=="string"?e:typeof r=="string"&&r.length>0?r:`./${i.name}`;return typeof n.path!="string"&&Xa(n,"path",a),Xa(n,"relativePath",a),n}function lc(i){const{name:e}=i;if(e&&e.lastIndexOf(".")!==-1&&!i.type){const n=e.split(".").pop().toLowerCase(),r=sc.get(n);r&&Object.defineProperty(i,"type",{value:r,writable:!1,configurable:!1,enumerable:!0})}return i}function Xa(i,e,t){Object.defineProperty(i,e,{value:t,writable:!1,configurable:!1,enumerable:!0})}const cc=[".DS_Store","Thumbs.db"];function uc(i){return bt(this,void 0,void 0,function*(){return Nn(i)&&pc(i.dataTransfer)?hc(i.dataTransfer,i.type):dc(i)?fc(i):Array.isArray(i)&&i.every(e=>"getFile"in e&&typeof e.getFile=="function")?mc(i):[]})}function pc(i){return Nn(i)}function dc(i){return Nn(i)&&Nn(i.target)}function Nn(i){return typeof i=="object"&&i!==null}function fc(i){return Ii(i.target.files).map(e=>Nt(e))}function mc(i){return bt(this,void 0,void 0,function*(){return(yield Promise.all(i.map(t=>t.getFile()))).map(t=>Nt(t))})}function hc(i,e){return bt(this,void 0,void 0,function*(){if(i.items){const t=Ii(i.items).filter(r=>r.kind==="file");if(e!=="drop")return t;const n=yield Promise.all(t.map(vc));return Ka(Ja(n))}return Ka(Ii(i.files).map(t=>Nt(t)))})}function Ka(i){return i.filter(e=>cc.indexOf(e.name)===-1)}function Ii(i){if(i===null)return[];const e=[];for(let t=0;t<i.length;t++){const n=i[t];e.push(n)}return e}function vc(i){if(typeof i.webkitGetAsEntry!="function")return Qa(i);const e=i.webkitGetAsEntry();return e&&e.isDirectory?eo(e):Qa(i,e)}function Ja(i){return i.reduce((e,t)=>[...e,...Array.isArray(t)?Ja(t):[t]],[])}function Qa(i,e){return bt(this,void 0,void 0,function*(){var t;if(globalThis.isSecureContext&&typeof i.getAsFileSystemHandle=="function"){const a=yield i.getAsFileSystemHandle();if(a===null)throw new Error(`${i} is not a File`);if(a!==void 0){const o=yield a.getFile();return o.handle=a,Nt(o)}}const n=i.getAsFile();if(!n)throw new Error(`${i} is not a File`);return Nt(n,(t=e?.fullPath)!==null&&t!==void 0?t:void 0)})}function xc(i){return bt(this,void 0,void 0,function*(){return i.isDirectory?eo(i):gc(i)})}function eo(i){const e=i.createReader();return new Promise((t,n)=>{const r=[];function a(){e.readEntries(o=>bt(this,void 0,void 0,function*(){if(o.length){const s=Promise.all(o.map(xc));r.push(s),a()}else try{const s=yield Promise.all(r);t(s)}catch(s){n(s)}}),o=>{n(o)})}a()})}function gc(i){return bt(this,void 0,void 0,function*(){return new Promise((e,t)=>{i.file(n=>{const r=Nt(n,i.fullPath);e(r)},n=>{t(n)})})})}var Rn={},to;function bc(){return to||(to=1,Rn.__esModule=!0,Rn.default=function(i,e){if(i&&e){var t=Array.isArray(e)?e:e.split(",");if(t.length===0)return!0;var n=i.name||"",r=(i.type||"").toLowerCase(),a=r.replace(/\/.*$/,"");return t.some(function(o){var s=o.trim().toLowerCase();return s.charAt(0)==="."?n.toLowerCase().endsWith(s):s.endsWith("/*")?a===s.replace(/\/.*$/,""):r===s})}return!0}),Rn}var yc=bc();const Li=nr(yc);function no(i){return Tc(i)||wc(i)||oo(i)||_c()}function _c(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
69
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function wc(i){if(typeof Symbol<"u"&&i[Symbol.iterator]!=null||i["@@iterator"]!=null)return Array.from(i)}function Tc(i){if(Array.isArray(i))return Zi(i)}function io(i,e){var t=Object.keys(i);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(i);e&&(n=n.filter(function(r){return Object.getOwnPropertyDescriptor(i,r).enumerable})),t.push.apply(t,n)}return t}function ro(i){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?io(Object(t),!0).forEach(function(n){ao(i,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(t)):io(Object(t)).forEach(function(n){Object.defineProperty(i,n,Object.getOwnPropertyDescriptor(t,n))})}return i}function ao(i,e,t){return e in i?Object.defineProperty(i,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):i[e]=t,i}function tn(i,e){return Oc(i)||kc(i,e)||oo(i,e)||jc()}function jc(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
70
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function oo(i,e){if(i){if(typeof i=="string")return Zi(i,e);var t=Object.prototype.toString.call(i).slice(8,-1);if(t==="Object"&&i.constructor&&(t=i.constructor.name),t==="Map"||t==="Set")return Array.from(i);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return Zi(i,e)}}function Zi(i,e){(e==null||e>i.length)&&(e=i.length);for(var t=0,n=new Array(e);t<e;t++)n[t]=i[t];return n}function kc(i,e){var t=i==null?null:typeof Symbol<"u"&&i[Symbol.iterator]||i["@@iterator"];if(t!=null){var n=[],r=!0,a=!1,o,s;try{for(t=t.call(i);!(r=(o=t.next()).done)&&(n.push(o.value),!(e&&n.length===e));r=!0);}catch(l){a=!0,s=l}finally{try{!r&&t.return!=null&&t.return()}finally{if(a)throw s}}return n}}function Oc(i){if(Array.isArray(i))return i}var Cc=typeof Li=="function"?Li:Li.default,Sc="file-invalid-type",qc="file-too-large",Ec="file-too-small",Pc="too-many-files",Dc=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",t=e.split(","),n=t.length>1?"one of ".concat(t.join(", ")):t[0];return{code:Sc,message:"File type must be ".concat(n)}},so=function(e){return{code:qc,message:"File is larger than ".concat(e," ").concat(e===1?"byte":"bytes")}},lo=function(e){return{code:Ec,message:"File is smaller than ".concat(e," ").concat(e===1?"byte":"bytes")}},Ac={code:Pc,message:"Too many files"};function co(i,e){var t=i.type==="application/x-moz-file"||Cc(i,e);return[t,t?null:Dc(e)]}function uo(i,e,t){if(yt(i.size))if(yt(e)&&yt(t)){if(i.size>t)return[!1,so(t)];if(i.size<e)return[!1,lo(e)]}else{if(yt(e)&&i.size<e)return[!1,lo(e)];if(yt(t)&&i.size>t)return[!1,so(t)]}return[!0,null]}function yt(i){return i!=null}function Nc(i){var e=i.files,t=i.accept,n=i.minSize,r=i.maxSize,a=i.multiple,o=i.maxFiles,s=i.validator;return!a&&e.length>1||a&&o>=1&&e.length>o?!1:e.every(function(l){var c=co(l,t),u=tn(c,1),d=u[0],m=uo(l,n,r),h=tn(m,1),b=h[0],f=s?s(l):null;return d&&b&&!f})}function Mn(i){return typeof i.isPropagationStopped=="function"?i.isPropagationStopped():typeof i.cancelBubble<"u"?i.cancelBubble:!1}function Fn(i){return i.dataTransfer?Array.prototype.some.call(i.dataTransfer.types,function(e){return e==="Files"||e==="application/x-moz-file"}):!!i.target&&!!i.target.files}function po(i){i.preventDefault()}function Rc(i){return i.indexOf("MSIE")!==-1||i.indexOf("Trident/")!==-1}function Mc(i){return i.indexOf("Edge/")!==-1}function Fc(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:window.navigator.userAgent;return Rc(i)||Mc(i)}function We(){for(var i=arguments.length,e=new Array(i),t=0;t<i;t++)e[t]=arguments[t];return function(n){for(var r=arguments.length,a=new Array(r>1?r-1:0),o=1;o<r;o++)a[o-1]=arguments[o];return e.some(function(s){return!Mn(n)&&s&&s.apply(void 0,[n].concat(a)),Mn(n)})}}function zc(){return"showOpenFilePicker"in window}function Ic(i){if(yt(i)){var e=Object.entries(i).filter(function(t){var n=tn(t,2),r=n[0],a=n[1],o=!0;return fo(r)||(console.warn('Skipped "'.concat(r,'" because it is not a valid MIME type. Check https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types for a list of valid MIME types.')),o=!1),(!Array.isArray(a)||!a.every(mo))&&(console.warn('Skipped "'.concat(r,'" because an invalid file extension was provided.')),o=!1),o}).reduce(function(t,n){var r=tn(n,2),a=r[0],o=r[1];return ro(ro({},t),{},ao({},a,o))},{});return[{description:"Files",accept:e}]}return i}function Lc(i){if(yt(i))return Object.entries(i).reduce(function(e,t){var n=tn(t,2),r=n[0],a=n[1];return[].concat(no(e),[r],no(a))},[]).filter(function(e){return fo(e)||mo(e)}).join(",")}function Zc(i){return i instanceof DOMException&&(i.name==="AbortError"||i.code===i.ABORT_ERR)}function Bc(i){return i instanceof DOMException&&(i.name==="SecurityError"||i.code===i.SECURITY_ERR)}function fo(i){return i==="audio/*"||i==="video/*"||i==="image/*"||i==="text/*"||i==="application/*"||/\w+\/[-+.\w]+/g.test(i)}function mo(i){return/^.*\.[\w]+$/.test(i)}var $c=["children"],Hc=["open"],Vc=["refKey","role","onKeyDown","onFocus","onBlur","onClick","onDragEnter","onDragOver","onDragLeave","onDrop"],Yc=["refKey","onChange","onClick"];function Uc(i){return Xc(i)||Gc(i)||ho(i)||Wc()}function Wc(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
71
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Gc(i){if(typeof Symbol<"u"&&i[Symbol.iterator]!=null||i["@@iterator"]!=null)return Array.from(i)}function Xc(i){if(Array.isArray(i))return $i(i)}function Bi(i,e){return Qc(i)||Jc(i,e)||ho(i,e)||Kc()}function Kc(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
72
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ho(i,e){if(i){if(typeof i=="string")return $i(i,e);var t=Object.prototype.toString.call(i).slice(8,-1);if(t==="Object"&&i.constructor&&(t=i.constructor.name),t==="Map"||t==="Set")return Array.from(i);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return $i(i,e)}}function $i(i,e){(e==null||e>i.length)&&(e=i.length);for(var t=0,n=new Array(e);t<e;t++)n[t]=i[t];return n}function Jc(i,e){var t=i==null?null:typeof Symbol<"u"&&i[Symbol.iterator]||i["@@iterator"];if(t!=null){var n=[],r=!0,a=!1,o,s;try{for(t=t.call(i);!(r=(o=t.next()).done)&&(n.push(o.value),!(e&&n.length===e));r=!0);}catch(l){a=!0,s=l}finally{try{!r&&t.return!=null&&t.return()}finally{if(a)throw s}}return n}}function Qc(i){if(Array.isArray(i))return i}function vo(i,e){var t=Object.keys(i);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(i);e&&(n=n.filter(function(r){return Object.getOwnPropertyDescriptor(i,r).enumerable})),t.push.apply(t,n)}return t}function pe(i){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?vo(Object(t),!0).forEach(function(n){Hi(i,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(t)):vo(Object(t)).forEach(function(n){Object.defineProperty(i,n,Object.getOwnPropertyDescriptor(t,n))})}return i}function Hi(i,e,t){return e in i?Object.defineProperty(i,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):i[e]=t,i}function zn(i,e){if(i==null)return{};var t=eu(i,e),n,r;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(i);for(r=0;r<a.length;r++)n=a[r],!(e.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(i,n)&&(t[n]=i[n])}return t}function eu(i,e){if(i==null)return{};var t={},n=Object.keys(i),r,a;for(a=0;a<n.length;a++)r=n[a],!(e.indexOf(r)>=0)&&(t[r]=i[r]);return t}var Vi=S.forwardRef(function(i,e){var t=i.children,n=zn(i,$c),r=go(n),a=r.open,o=zn(r,Hc);return S.useImperativeHandle(e,function(){return{open:a}},[a]),S.createElement(S.Fragment,null,t(pe(pe({},o),{},{open:a})))});Vi.displayName="Dropzone";var xo={disabled:!1,getFilesFromEvent:uc,maxSize:1/0,minSize:0,multiple:!0,maxFiles:0,preventDropOnDocument:!0,noClick:!1,noKeyboard:!1,noDrag:!1,noDragEventsBubbling:!1,validator:null,useFsAccessApi:!1,autoFocus:!1};Vi.defaultProps=xo,Vi.propTypes={children:oe.func,accept:oe.objectOf(oe.arrayOf(oe.string)),multiple:oe.bool,preventDropOnDocument:oe.bool,noClick:oe.bool,noKeyboard:oe.bool,noDrag:oe.bool,noDragEventsBubbling:oe.bool,minSize:oe.number,maxSize:oe.number,maxFiles:oe.number,disabled:oe.bool,getFilesFromEvent:oe.func,onFileDialogCancel:oe.func,onFileDialogOpen:oe.func,useFsAccessApi:oe.bool,autoFocus:oe.bool,onDragEnter:oe.func,onDragLeave:oe.func,onDragOver:oe.func,onDrop:oe.func,onDropAccepted:oe.func,onDropRejected:oe.func,onError:oe.func,validator:oe.func};var Yi={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,acceptedFiles:[],fileRejections:[]};function go(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=pe(pe({},xo),i),t=e.accept,n=e.disabled,r=e.getFilesFromEvent,a=e.maxSize,o=e.minSize,s=e.multiple,l=e.maxFiles,c=e.onDragEnter,u=e.onDragLeave,d=e.onDragOver,m=e.onDrop,h=e.onDropAccepted,b=e.onDropRejected,f=e.onFileDialogCancel,x=e.onFileDialogOpen,y=e.useFsAccessApi,_=e.autoFocus,w=e.preventDropOnDocument,T=e.noClick,g=e.noKeyboard,k=e.noDrag,C=e.noDragEventsBubbling,q=e.onError,O=e.validator,B=S.useMemo(function(){return Lc(t)},[t]),H=S.useMemo(function(){return Ic(t)},[t]),U=S.useMemo(function(){return typeof x=="function"?x:bo},[x]),V=S.useMemo(function(){return typeof f=="function"?f:bo},[f]),Z=S.useRef(null),Y=S.useRef(null),G=S.useReducer(tu,Yi),K=Bi(G,2),se=K[0],te=K[1],v=se.isFocused,j=se.isFileDialogActive,A=S.useRef(typeof window<"u"&&window.isSecureContext&&y&&zc()),F=function(){!A.current&&j&&setTimeout(function(){if(Y.current){var $=Y.current.files;$.length||(te({type:"closeDialog"}),V())}},300)};S.useEffect(function(){return window.addEventListener("focus",F,!1),function(){window.removeEventListener("focus",F,!1)}},[Y,j,V,A]);var R=S.useRef([]),E=function($){Z.current&&Z.current.contains($.target)||($.preventDefault(),R.current=[])};S.useEffect(function(){return w&&(document.addEventListener("dragover",po,!1),document.addEventListener("drop",E,!1)),function(){w&&(document.removeEventListener("dragover",po),document.removeEventListener("drop",E))}},[Z,w]),S.useEffect(function(){return!n&&_&&Z.current&&Z.current.focus(),function(){}},[Z,_,n]);var M=S.useCallback(function(N){q?q(N):console.error(N)},[q]),L=S.useCallback(function(N){N.preventDefault(),N.persist(),Ln(N),R.current=[].concat(Uc(R.current),[N.target]),Fn(N)&&Promise.resolve(r(N)).then(function($){if(!(Mn(N)&&!C)){var xe=$.length,_e=xe>0&&Nc({files:$,accept:B,minSize:o,maxSize:a,multiple:s,maxFiles:l,validator:O}),Ie=xe>0&&!_e;te({isDragAccept:_e,isDragReject:Ie,isDragActive:!0,type:"setDraggedFiles"}),c&&c(N)}}).catch(function($){return M($)})},[r,c,M,C,B,o,a,s,l,O]),I=S.useCallback(function(N){N.preventDefault(),N.persist(),Ln(N);var $=Fn(N);if($&&N.dataTransfer)try{N.dataTransfer.dropEffect="copy"}catch{}return $&&d&&d(N),!1},[d,C]),X=S.useCallback(function(N){N.preventDefault(),N.persist(),Ln(N);var $=R.current.filter(function(_e){return Z.current&&Z.current.contains(_e)}),xe=$.indexOf(N.target);xe!==-1&&$.splice(xe,1),R.current=$,!($.length>0)&&(te({type:"setDraggedFiles",isDragActive:!1,isDragAccept:!1,isDragReject:!1}),Fn(N)&&u&&u(N))},[Z,u,C]),W=S.useCallback(function(N,$){var xe=[],_e=[];N.forEach(function(Ie){var rn=co(Ie,B),Mt=Bi(rn,2),Wi=Mt[0],Gi=Mt[1],Xi=uo(Ie,o,a),Zn=Bi(Xi,2),Ki=Zn[0],Ji=Zn[1],Qi=O?O(Ie):null;if(Wi&&Ki&&!Qi)xe.push(Ie);else{var er=[Gi,Ji];Qi&&(er=er.concat(Qi)),_e.push({file:Ie,errors:er.filter(function(ou){return ou})})}}),(!s&&xe.length>1||s&&l>=1&&xe.length>l)&&(xe.forEach(function(Ie){_e.push({file:Ie,errors:[Ac]})}),xe.splice(0)),te({acceptedFiles:xe,fileRejections:_e,isDragReject:_e.length>0,type:"setFiles"}),m&&m(xe,_e,$),_e.length>0&&b&&b(_e,$),xe.length>0&&h&&h(xe,$)},[te,s,B,o,a,l,m,h,b,O]),me=S.useCallback(function(N){N.preventDefault(),N.persist(),Ln(N),R.current=[],Fn(N)&&Promise.resolve(r(N)).then(function($){Mn(N)&&!C||W($,N)}).catch(function($){return M($)}),te({type:"reset"})},[r,W,M,C]),D=S.useCallback(function(){if(A.current){te({type:"openDialog"}),U();var N={multiple:s,types:H};window.showOpenFilePicker(N).then(function($){return r($)}).then(function($){W($,null),te({type:"closeDialog"})}).catch(function($){Zc($)?(V($),te({type:"closeDialog"})):Bc($)?(A.current=!1,Y.current?(Y.current.value=null,Y.current.click()):M(new Error("Cannot open the file picker because the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API is not supported and no <input> was provided."))):M($)});return}Y.current&&(te({type:"openDialog"}),U(),Y.current.value=null,Y.current.click())},[te,U,V,y,W,M,H,s]),ze=S.useCallback(function(N){!Z.current||!Z.current.isEqualNode(N.target)||(N.key===" "||N.key==="Enter"||N.keyCode===32||N.keyCode===13)&&(N.preventDefault(),D())},[Z,D]),_t=S.useCallback(function(){te({type:"focus"})},[]),nn=S.useCallback(function(){te({type:"blur"})},[]),_o=S.useCallback(function(){T||(Fc()?setTimeout(D,0):D())},[T,D]),Rt=function($){return n?null:$},Ui=function($){return g?null:Rt($)},In=function($){return k?null:Rt($)},Ln=function($){C&&$.stopPropagation()},iu=S.useMemo(function(){return function(){var N=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},$=N.refKey,xe=$===void 0?"ref":$,_e=N.role,Ie=N.onKeyDown,rn=N.onFocus,Mt=N.onBlur,Wi=N.onClick,Gi=N.onDragEnter,Xi=N.onDragOver,Zn=N.onDragLeave,Ki=N.onDrop,Ji=zn(N,Vc);return pe(pe(Hi({onKeyDown:Ui(We(Ie,ze)),onFocus:Ui(We(rn,_t)),onBlur:Ui(We(Mt,nn)),onClick:Rt(We(Wi,_o)),onDragEnter:In(We(Gi,L)),onDragOver:In(We(Xi,I)),onDragLeave:In(We(Zn,X)),onDrop:In(We(Ki,me)),role:typeof _e=="string"&&_e!==""?_e:"presentation"},xe,Z),!n&&!g?{tabIndex:0}:{}),Ji)}},[Z,ze,_t,nn,_o,L,I,X,me,g,k,n]),ru=S.useCallback(function(N){N.stopPropagation()},[]),au=S.useMemo(function(){return function(){var N=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},$=N.refKey,xe=$===void 0?"ref":$,_e=N.onChange,Ie=N.onClick,rn=zn(N,Yc),Mt=Hi({accept:B,multiple:s,type:"file",style:{border:0,clip:"rect(0, 0, 0, 0)",clipPath:"inset(50%)",height:"1px",margin:"0 -1px -1px 0",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"},onChange:Rt(We(_e,me)),onClick:Rt(We(Ie,ru)),tabIndex:-1},xe,Y);return pe(pe({},Mt),rn)}},[Y,t,s,me,n]);return pe(pe({},se),{},{isFocused:v&&!n,getRootProps:iu,getInputProps:au,rootRef:Z,inputRef:Y,open:Rt(D)})}function tu(i,e){switch(e.type){case"focus":return pe(pe({},i),{},{isFocused:!0});case"blur":return pe(pe({},i),{},{isFocused:!1});case"openDialog":return pe(pe({},Yi),{},{isFileDialogActive:!0});case"closeDialog":return pe(pe({},i),{},{isFileDialogActive:!1});case"setDraggedFiles":return pe(pe({},i),{},{isDragActive:e.isDragActive,isDragAccept:e.isDragAccept,isDragReject:e.isDragReject});case"setFiles":return pe(pe({},i),{},{acceptedFiles:e.acceptedFiles,fileRejections:e.fileRejections,isDragReject:e.isDragReject});case"reset":return pe({},Yi);default:return i}}function bo(){}const yo=S.forwardRef(({onFilesAccepted:i,onFilesRejected:e,className:t,title:n="Archivos adjuntos",subtitle:r="Arrastra y suelta el archivo aquí o haz clic para cargarlo desde tu computadora",acceptedFormats:a=".PNG, .JPG, .TXT o .PDF. Máx 100 BM.",variant:o="default",disabled:s=!1,showIcon:l=!0,accept:c,maxFiles:u=1,...d},m)=>{const h=S.useCallback((T,g)=>{T.length>0&&i?.(T),g.length>0&&e?.(g)},[i,e]),{getRootProps:b,getInputProps:f,isDragActive:x,isDragReject:y,fileRejections:_}=go({onDrop:h,accept:c,maxFiles:u,disabled:s,...d}),w=_.length>0;return p.jsxs("div",{className:P("w-full",t),children:[o==="default"&&p.jsx("h3",{className:"text-lg font-medium text-foreground mb-4",children:n}),p.jsxs("div",{ref:m,...b(),className:P("relative w-full rounded-lg border-[2px] border-dashed transition-all duration-200 h-36","flex flex-col items-center justify-center text-center",o==="default"?"p-8 min-h-[200px]":"p-1 min-h-[120px] h-24 md:h-36",!x&&!w&&!s&&["border-neutral-default-default","hover:border-primary/50 hover:bg-primary/5"],x&&!y&&["border-primary bg-primary/10","ring-2 ring-primary/20"],(y||w)&&["border-destructive bg-destructive/10","ring-2 ring-destructive/20"],s&&["cursor-not-allowed opacity-60","border-muted-foreground/20 bg-muted/30"]),children:[p.jsx("input",{...f()}),l&&p.jsx("div",{className:"mb-0.5 md:mb-4",children:w||y?p.jsx(ge.Error,{size:24,className:" text-destructive"}):p.jsx(ge.Upload,{size:24,className:P("w-8 h-8 transition-colors",x?"text-primary":"text-neutral-default-default")})}),p.jsxs("div",{className:"space-y-2",children:[p.jsx("p",{className:P("text-base font-medium text-neutral-default-default",w||y?"text-destructive":x?"text-primary ":"text-neutral-default-default text-sm font-[400]"),children:x&&!y?"Suelta los archivos aquí...":y||w?"Archivo no válido":r}),!w&&p.jsx("p",{className:"text-xs text-neutral-medium-default",children:a})]}),w&&p.jsx("div",{className:"mt-4 space-y-1",children:_.map(({file:T,errors:g})=>p.jsxs("div",{className:"text-sm text-destructive",children:[p.jsx("p",{className:"font-medium",children:T.name}),g.map(k=>p.jsx("p",{className:"text-xs",children:k.message},k.code))]},T.name))})]})]})});yo.displayName="DropZone";const nu="./styles/app.css";z.AppCss=nu,z.Avatar=or,z.Badge=Pi,z.Button=Eo,z.CardProfile=ln,z.ChangueAccount=cr,z.CheckboxFormik=Po,z.CompanyLogo=Gl,z.DialogModal=Ao,z.Drawer=Gs,z.DropZone=yo,z.Header=Ks,z.Icons=ge,z.Input=yl,z.InputFormik=_l,z.LayoutGeneric=Pl,z.Logo=wl,z.Menu=Tl,z.NavBarActions=Hl,z.NavbarCollapseButton=Wl,z.NavbarLinks=Vl,z.NavigationLink=Ll,z.Pagination=jl,z.ProfileSection=$l,z.ProgressBar=kl,z.SecondaryBar=Al,z.Select=Cl,z.Sidebar=zl,z.SidebarProvider=Ra,z.Spinner=qi,z.TabLinks=Sl,z.Table=Oa,z.TableBody=Sa,z.TableCaption=Aa,z.TableCell=Da,z.TableFooter=qa,z.TableHead=Pa,z.TableHeader=Ca,z.TableRow=Ea,z.TextArea=ql,z.useActionsNavbar=Yl,z.useClickOutside=Jl,z.useDialogControl=Xl,z.useDrawerControl=Kl,z.useNavbarCollapse=Ul,z.useSidebarState=Il,Object.defineProperty(z,Symbol.toStringTag,{value:"Module"})}));
113
+ */var na,hl;function Bf(){if(hl)return na;hl=1;var n=Object.getOwnPropertySymbols,e=Object.prototype.hasOwnProperty,t=Object.prototype.propertyIsEnumerable;function r(a){if(a==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(a)}function i(){try{if(!Object.assign)return!1;var a=new String("abc");if(a[5]="de",Object.getOwnPropertyNames(a)[0]==="5")return!1;for(var o={},s=0;s<10;s++)o["_"+String.fromCharCode(s)]=s;var l=Object.getOwnPropertyNames(o).map(function(u){return o[u]});if(l.join("")!=="0123456789")return!1;var c={};return"abcdefghijklmnopqrst".split("").forEach(function(u){c[u]=u}),Object.keys(Object.assign({},c)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return na=i()?Object.assign:function(a,o){for(var s,l=r(a),c,u=1;u<arguments.length;u++){s=Object(arguments[u]);for(var d in s)e.call(s,d)&&(l[d]=s[d]);if(n){c=n(s);for(var m=0;m<c.length;m++)t.call(s,c[m])&&(l[c[m]]=s[c[m]])}}return l},na}var ra,vl;function ia(){if(vl)return ra;vl=1;var n="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return ra=n,ra}var aa,gl;function xl(){return gl||(gl=1,aa=Function.call.bind(Object.prototype.hasOwnProperty)),aa}var oa,yl;function Hf(){if(yl)return oa;yl=1;var n=function(){};if(process.env.NODE_ENV!=="production"){var e=ia(),t={},r=xl();n=function(a){var o="Warning: "+a;typeof console<"u"&&console.error(o);try{throw new Error(o)}catch{}}}function i(a,o,s,l,c){if(process.env.NODE_ENV!=="production"){for(var u in a)if(r(a,u)){var d;try{if(typeof a[u]!="function"){var m=Error((l||"React class")+": "+s+" type `"+u+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof a[u]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw m.name="Invariant Violation",m}d=a[u](o,u,l,s,null,e)}catch(g){d=g}if(d&&!(d instanceof Error)&&n((l||"React class")+": type specification of "+s+" `"+u+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof d+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),d instanceof Error&&!(d.message in t)){t[d.message]=!0;var h=c?c():"";n("Failed "+s+" type: "+d.message+(h??""))}}}}return i.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(t={})},oa=i,oa}var sa,bl;function Wf(){if(bl)return sa;bl=1;var n=ml(),e=Bf(),t=ia(),r=xl(),i=Hf(),a=function(){};process.env.NODE_ENV!=="production"&&(a=function(s){var l="Warning: "+s;typeof console<"u"&&console.error(l);try{throw new Error(l)}catch{}});function o(){return null}return sa=function(s,l){var c=typeof Symbol=="function"&&Symbol.iterator,u="@@iterator";function d(b){var P=b&&(c&&b[c]||b[u]);if(typeof P=="function")return P}var m="<<anonymous>>",h={array:x("array"),bigint:x("bigint"),bool:x("boolean"),func:x("function"),number:x("number"),object:x("object"),string:x("string"),symbol:x("symbol"),any:_(),arrayOf:T,element:w(),elementType:y(),instanceOf:k,node:L(),objectOf:O,oneOf:C,oneOfType:j,shape:V,exact:D};function g(b,P){return b===P?b!==0||1/b===1/P:b!==b&&P!==P}function f(b,P){this.message=b,this.data=P&&typeof P=="object"?P:{},this.stack=""}f.prototype=Error.prototype;function v(b){if(process.env.NODE_ENV!=="production")var P={},R=0;function z(A,F,Z,W,ee,Q,ce){if(W=W||m,Q=Q||Z,ce!==t){if(l){var q=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw q.name="Invariant Violation",q}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var Re=W+":"+Z;!P[Re]&&R<3&&(a("You are manually calling a React.PropTypes validation function for the `"+Q+"` prop on `"+W+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),P[Re]=!0,R++)}}return F[Z]==null?A?F[Z]===null?new f("The "+ee+" `"+Q+"` is marked as required "+("in `"+W+"`, but its value is `null`.")):new f("The "+ee+" `"+Q+"` is marked as required in "+("`"+W+"`, but its value is `undefined`.")):null:b(F,Z,W,ee,Q)}var M=z.bind(null,!1);return M.isRequired=z.bind(null,!0),M}function x(b){function P(R,z,M,A,F,Z){var W=R[z],ee=Y(W);if(ee!==b){var Q=X(W);return new f("Invalid "+A+" `"+F+"` of type "+("`"+Q+"` supplied to `"+M+"`, expected ")+("`"+b+"`."),{expectedType:b})}return null}return v(P)}function _(){return v(o)}function T(b){function P(R,z,M,A,F){if(typeof b!="function")return new f("Property `"+F+"` of component `"+M+"` has invalid PropType notation inside arrayOf.");var Z=R[z];if(!Array.isArray(Z)){var W=Y(Z);return new f("Invalid "+A+" `"+F+"` of type "+("`"+W+"` supplied to `"+M+"`, expected an array."))}for(var ee=0;ee<Z.length;ee++){var Q=b(Z,ee,M,A,F+"["+ee+"]",t);if(Q instanceof Error)return Q}return null}return v(P)}function w(){function b(P,R,z,M,A){var F=P[R];if(!s(F)){var Z=Y(F);return new f("Invalid "+M+" `"+A+"` of type "+("`"+Z+"` supplied to `"+z+"`, expected a single ReactElement."))}return null}return v(b)}function y(){function b(P,R,z,M,A){var F=P[R];if(!n.isValidElementType(F)){var Z=Y(F);return new f("Invalid "+M+" `"+A+"` of type "+("`"+Z+"` supplied to `"+z+"`, expected a single ReactElement type."))}return null}return v(b)}function k(b){function P(R,z,M,A,F){if(!(R[z]instanceof b)){var Z=b.name||m,W=te(R[z]);return new f("Invalid "+A+" `"+F+"` of type "+("`"+W+"` supplied to `"+M+"`, expected ")+("instance of `"+Z+"`."))}return null}return v(P)}function C(b){if(!Array.isArray(b))return process.env.NODE_ENV!=="production"&&(arguments.length>1?a("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):a("Invalid argument supplied to oneOf, expected an array.")),o;function P(R,z,M,A,F){for(var Z=R[z],W=0;W<b.length;W++)if(g(Z,b[W]))return null;var ee=JSON.stringify(b,function(ce,q){var Re=X(q);return Re==="symbol"?String(q):q});return new f("Invalid "+A+" `"+F+"` of value `"+String(Z)+"` "+("supplied to `"+M+"`, expected one of "+ee+"."))}return v(P)}function O(b){function P(R,z,M,A,F){if(typeof b!="function")return new f("Property `"+F+"` of component `"+M+"` has invalid PropType notation inside objectOf.");var Z=R[z],W=Y(Z);if(W!=="object")return new f("Invalid "+A+" `"+F+"` of type "+("`"+W+"` supplied to `"+M+"`, expected an object."));for(var ee in Z)if(r(Z,ee)){var Q=b(Z,ee,M,A,F+"."+ee,t);if(Q instanceof Error)return Q}return null}return v(P)}function j(b){if(!Array.isArray(b))return process.env.NODE_ENV!=="production"&&a("Invalid argument supplied to oneOfType, expected an instance of array."),o;for(var P=0;P<b.length;P++){var R=b[P];if(typeof R!="function")return a("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+ne(R)+" at index "+P+"."),o}function z(M,A,F,Z,W){for(var ee=[],Q=0;Q<b.length;Q++){var ce=b[Q],q=ce(M,A,F,Z,W,t);if(q==null)return null;q.data&&r(q.data,"expectedType")&&ee.push(q.data.expectedType)}var Re=ee.length>0?", expected one of type ["+ee.join(", ")+"]":"";return new f("Invalid "+Z+" `"+W+"` supplied to "+("`"+F+"`"+Re+"."))}return v(z)}function L(){function b(P,R,z,M,A){return $(P[R])?null:new f("Invalid "+M+" `"+A+"` supplied to "+("`"+z+"`, expected a ReactNode."))}return v(b)}function H(b,P,R,z,M){return new f((b||"React class")+": "+P+" type `"+R+"."+z+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+M+"`.")}function V(b){function P(R,z,M,A,F){var Z=R[z],W=Y(Z);if(W!=="object")return new f("Invalid "+A+" `"+F+"` of type `"+W+"` "+("supplied to `"+M+"`, expected `object`."));for(var ee in b){var Q=b[ee];if(typeof Q!="function")return H(M,A,F,ee,X(Q));var ce=Q(Z,ee,M,A,F+"."+ee,t);if(ce)return ce}return null}return v(P)}function D(b){function P(R,z,M,A,F){var Z=R[z],W=Y(Z);if(W!=="object")return new f("Invalid "+A+" `"+F+"` of type `"+W+"` "+("supplied to `"+M+"`, expected `object`."));var ee=e({},R[z],b);for(var Q in ee){var ce=b[Q];if(r(b,Q)&&typeof ce!="function")return H(M,A,F,Q,X(ce));if(!ce)return new f("Invalid "+A+" `"+F+"` key `"+Q+"` supplied to `"+M+"`.\nBad object: "+JSON.stringify(R[z],null," ")+`
114
+ Valid keys: `+JSON.stringify(Object.keys(b),null," "));var q=ce(Z,Q,M,A,F+"."+Q,t);if(q)return q}return null}return v(P)}function $(b){switch(typeof b){case"number":case"string":case"undefined":return!0;case"boolean":return!b;case"object":if(Array.isArray(b))return b.every($);if(b===null||s(b))return!0;var P=d(b);if(P){var R=P.call(b),z;if(P!==b.entries){for(;!(z=R.next()).done;)if(!$(z.value))return!1}else for(;!(z=R.next()).done;){var M=z.value;if(M&&!$(M[1]))return!1}}else return!1;return!0;default:return!1}}function U(b,P){return b==="symbol"?!0:P?P["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&P instanceof Symbol:!1}function Y(b){var P=typeof b;return Array.isArray(b)?"array":b instanceof RegExp?"object":U(P,b)?"symbol":P}function X(b){if(typeof b>"u"||b===null)return""+b;var P=Y(b);if(P==="object"){if(b instanceof Date)return"date";if(b instanceof RegExp)return"regexp"}return P}function ne(b){var P=X(b);switch(P){case"array":case"object":return"an "+P;case"boolean":case"date":case"regexp":return"a "+P;default:return P}}function te(b){return!b.constructor||!b.constructor.name?m:b.constructor.name}return h.checkPropTypes=i,h.resetWarningCache=i.resetWarningCache,h.PropTypes=h,h},sa}var la,wl;function Uf(){if(wl)return la;wl=1;var n=ia();function e(){}function t(){}return t.resetWarningCache=e,la=function(){function r(o,s,l,c,u,d){if(d!==n){var m=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw m.name="Invariant Violation",m}}r.isRequired=r;function i(){return r}var a={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:i,element:r,elementType:r,instanceOf:i,node:r,objectOf:i,oneOf:i,oneOfType:i,shape:i,exact:i,checkPropTypes:t,resetWarningCache:e};return a.PropTypes=a,a},la}var _l;function Zf(){if(_l)return Mr.exports;if(_l=1,process.env.NODE_ENV!=="production"){var n=ml(),e=!0;Mr.exports=Wf()(n.isElement,e)}else Mr.exports=Uf()();return Mr.exports}var Vf=Zf();const pe=_a(Vf),Yf=new Map([["1km","application/vnd.1000minds.decision-model+xml"],["3dml","text/vnd.in3d.3dml"],["3ds","image/x-3ds"],["3g2","video/3gpp2"],["3gp","video/3gp"],["3gpp","video/3gpp"],["3mf","model/3mf"],["7z","application/x-7z-compressed"],["7zip","application/x-7z-compressed"],["123","application/vnd.lotus-1-2-3"],["aab","application/x-authorware-bin"],["aac","audio/x-acc"],["aam","application/x-authorware-map"],["aas","application/x-authorware-seg"],["abw","application/x-abiword"],["ac","application/vnd.nokia.n-gage.ac+xml"],["ac3","audio/ac3"],["acc","application/vnd.americandynamics.acc"],["ace","application/x-ace-compressed"],["acu","application/vnd.acucobol"],["acutc","application/vnd.acucorp"],["adp","audio/adpcm"],["aep","application/vnd.audiograph"],["afm","application/x-font-type1"],["afp","application/vnd.ibm.modcap"],["ahead","application/vnd.ahead.space"],["ai","application/pdf"],["aif","audio/x-aiff"],["aifc","audio/x-aiff"],["aiff","audio/x-aiff"],["air","application/vnd.adobe.air-application-installer-package+zip"],["ait","application/vnd.dvb.ait"],["ami","application/vnd.amiga.ami"],["amr","audio/amr"],["apk","application/vnd.android.package-archive"],["apng","image/apng"],["appcache","text/cache-manifest"],["application","application/x-ms-application"],["apr","application/vnd.lotus-approach"],["arc","application/x-freearc"],["arj","application/x-arj"],["asc","application/pgp-signature"],["asf","video/x-ms-asf"],["asm","text/x-asm"],["aso","application/vnd.accpac.simply.aso"],["asx","video/x-ms-asf"],["atc","application/vnd.acucorp"],["atom","application/atom+xml"],["atomcat","application/atomcat+xml"],["atomdeleted","application/atomdeleted+xml"],["atomsvc","application/atomsvc+xml"],["atx","application/vnd.antix.game-component"],["au","audio/x-au"],["avi","video/x-msvideo"],["avif","image/avif"],["aw","application/applixware"],["azf","application/vnd.airzip.filesecure.azf"],["azs","application/vnd.airzip.filesecure.azs"],["azv","image/vnd.airzip.accelerator.azv"],["azw","application/vnd.amazon.ebook"],["b16","image/vnd.pco.b16"],["bat","application/x-msdownload"],["bcpio","application/x-bcpio"],["bdf","application/x-font-bdf"],["bdm","application/vnd.syncml.dm+wbxml"],["bdoc","application/x-bdoc"],["bed","application/vnd.realvnc.bed"],["bh2","application/vnd.fujitsu.oasysprs"],["bin","application/octet-stream"],["blb","application/x-blorb"],["blorb","application/x-blorb"],["bmi","application/vnd.bmi"],["bmml","application/vnd.balsamiq.bmml+xml"],["bmp","image/bmp"],["book","application/vnd.framemaker"],["box","application/vnd.previewsystems.box"],["boz","application/x-bzip2"],["bpk","application/octet-stream"],["bpmn","application/octet-stream"],["bsp","model/vnd.valve.source.compiled-map"],["btif","image/prs.btif"],["buffer","application/octet-stream"],["bz","application/x-bzip"],["bz2","application/x-bzip2"],["c","text/x-c"],["c4d","application/vnd.clonk.c4group"],["c4f","application/vnd.clonk.c4group"],["c4g","application/vnd.clonk.c4group"],["c4p","application/vnd.clonk.c4group"],["c4u","application/vnd.clonk.c4group"],["c11amc","application/vnd.cluetrust.cartomobile-config"],["c11amz","application/vnd.cluetrust.cartomobile-config-pkg"],["cab","application/vnd.ms-cab-compressed"],["caf","audio/x-caf"],["cap","application/vnd.tcpdump.pcap"],["car","application/vnd.curl.car"],["cat","application/vnd.ms-pki.seccat"],["cb7","application/x-cbr"],["cba","application/x-cbr"],["cbr","application/x-cbr"],["cbt","application/x-cbr"],["cbz","application/x-cbr"],["cc","text/x-c"],["cco","application/x-cocoa"],["cct","application/x-director"],["ccxml","application/ccxml+xml"],["cdbcmsg","application/vnd.contact.cmsg"],["cda","application/x-cdf"],["cdf","application/x-netcdf"],["cdfx","application/cdfx+xml"],["cdkey","application/vnd.mediastation.cdkey"],["cdmia","application/cdmi-capability"],["cdmic","application/cdmi-container"],["cdmid","application/cdmi-domain"],["cdmio","application/cdmi-object"],["cdmiq","application/cdmi-queue"],["cdr","application/cdr"],["cdx","chemical/x-cdx"],["cdxml","application/vnd.chemdraw+xml"],["cdy","application/vnd.cinderella"],["cer","application/pkix-cert"],["cfs","application/x-cfs-compressed"],["cgm","image/cgm"],["chat","application/x-chat"],["chm","application/vnd.ms-htmlhelp"],["chrt","application/vnd.kde.kchart"],["cif","chemical/x-cif"],["cii","application/vnd.anser-web-certificate-issue-initiation"],["cil","application/vnd.ms-artgalry"],["cjs","application/node"],["cla","application/vnd.claymore"],["class","application/octet-stream"],["clkk","application/vnd.crick.clicker.keyboard"],["clkp","application/vnd.crick.clicker.palette"],["clkt","application/vnd.crick.clicker.template"],["clkw","application/vnd.crick.clicker.wordbank"],["clkx","application/vnd.crick.clicker"],["clp","application/x-msclip"],["cmc","application/vnd.cosmocaller"],["cmdf","chemical/x-cmdf"],["cml","chemical/x-cml"],["cmp","application/vnd.yellowriver-custom-menu"],["cmx","image/x-cmx"],["cod","application/vnd.rim.cod"],["coffee","text/coffeescript"],["com","application/x-msdownload"],["conf","text/plain"],["cpio","application/x-cpio"],["cpp","text/x-c"],["cpt","application/mac-compactpro"],["crd","application/x-mscardfile"],["crl","application/pkix-crl"],["crt","application/x-x509-ca-cert"],["crx","application/x-chrome-extension"],["cryptonote","application/vnd.rig.cryptonote"],["csh","application/x-csh"],["csl","application/vnd.citationstyles.style+xml"],["csml","chemical/x-csml"],["csp","application/vnd.commonspace"],["csr","application/octet-stream"],["css","text/css"],["cst","application/x-director"],["csv","text/csv"],["cu","application/cu-seeme"],["curl","text/vnd.curl"],["cww","application/prs.cww"],["cxt","application/x-director"],["cxx","text/x-c"],["dae","model/vnd.collada+xml"],["daf","application/vnd.mobius.daf"],["dart","application/vnd.dart"],["dataless","application/vnd.fdsn.seed"],["davmount","application/davmount+xml"],["dbf","application/vnd.dbf"],["dbk","application/docbook+xml"],["dcr","application/x-director"],["dcurl","text/vnd.curl.dcurl"],["dd2","application/vnd.oma.dd2+xml"],["ddd","application/vnd.fujixerox.ddd"],["ddf","application/vnd.syncml.dmddf+xml"],["dds","image/vnd.ms-dds"],["deb","application/x-debian-package"],["def","text/plain"],["deploy","application/octet-stream"],["der","application/x-x509-ca-cert"],["dfac","application/vnd.dreamfactory"],["dgc","application/x-dgc-compressed"],["dic","text/x-c"],["dir","application/x-director"],["dis","application/vnd.mobius.dis"],["disposition-notification","message/disposition-notification"],["dist","application/octet-stream"],["distz","application/octet-stream"],["djv","image/vnd.djvu"],["djvu","image/vnd.djvu"],["dll","application/octet-stream"],["dmg","application/x-apple-diskimage"],["dmn","application/octet-stream"],["dmp","application/vnd.tcpdump.pcap"],["dms","application/octet-stream"],["dna","application/vnd.dna"],["doc","application/msword"],["docm","application/vnd.ms-word.template.macroEnabled.12"],["docx","application/vnd.openxmlformats-officedocument.wordprocessingml.document"],["dot","application/msword"],["dotm","application/vnd.ms-word.template.macroEnabled.12"],["dotx","application/vnd.openxmlformats-officedocument.wordprocessingml.template"],["dp","application/vnd.osgi.dp"],["dpg","application/vnd.dpgraph"],["dra","audio/vnd.dra"],["drle","image/dicom-rle"],["dsc","text/prs.lines.tag"],["dssc","application/dssc+der"],["dtb","application/x-dtbook+xml"],["dtd","application/xml-dtd"],["dts","audio/vnd.dts"],["dtshd","audio/vnd.dts.hd"],["dump","application/octet-stream"],["dvb","video/vnd.dvb.file"],["dvi","application/x-dvi"],["dwd","application/atsc-dwd+xml"],["dwf","model/vnd.dwf"],["dwg","image/vnd.dwg"],["dxf","image/vnd.dxf"],["dxp","application/vnd.spotfire.dxp"],["dxr","application/x-director"],["ear","application/java-archive"],["ecelp4800","audio/vnd.nuera.ecelp4800"],["ecelp7470","audio/vnd.nuera.ecelp7470"],["ecelp9600","audio/vnd.nuera.ecelp9600"],["ecma","application/ecmascript"],["edm","application/vnd.novadigm.edm"],["edx","application/vnd.novadigm.edx"],["efif","application/vnd.picsel"],["ei6","application/vnd.pg.osasli"],["elc","application/octet-stream"],["emf","image/emf"],["eml","message/rfc822"],["emma","application/emma+xml"],["emotionml","application/emotionml+xml"],["emz","application/x-msmetafile"],["eol","audio/vnd.digital-winds"],["eot","application/vnd.ms-fontobject"],["eps","application/postscript"],["epub","application/epub+zip"],["es","application/ecmascript"],["es3","application/vnd.eszigno3+xml"],["esa","application/vnd.osgi.subsystem"],["esf","application/vnd.epson.esf"],["et3","application/vnd.eszigno3+xml"],["etx","text/x-setext"],["eva","application/x-eva"],["evy","application/x-envoy"],["exe","application/octet-stream"],["exi","application/exi"],["exp","application/express"],["exr","image/aces"],["ext","application/vnd.novadigm.ext"],["ez","application/andrew-inset"],["ez2","application/vnd.ezpix-album"],["ez3","application/vnd.ezpix-package"],["f","text/x-fortran"],["f4v","video/mp4"],["f77","text/x-fortran"],["f90","text/x-fortran"],["fbs","image/vnd.fastbidsheet"],["fcdt","application/vnd.adobe.formscentral.fcdt"],["fcs","application/vnd.isac.fcs"],["fdf","application/vnd.fdf"],["fdt","application/fdt+xml"],["fe_launch","application/vnd.denovo.fcselayout-link"],["fg5","application/vnd.fujitsu.oasysgp"],["fgd","application/x-director"],["fh","image/x-freehand"],["fh4","image/x-freehand"],["fh5","image/x-freehand"],["fh7","image/x-freehand"],["fhc","image/x-freehand"],["fig","application/x-xfig"],["fits","image/fits"],["flac","audio/x-flac"],["fli","video/x-fli"],["flo","application/vnd.micrografx.flo"],["flv","video/x-flv"],["flw","application/vnd.kde.kivio"],["flx","text/vnd.fmi.flexstor"],["fly","text/vnd.fly"],["fm","application/vnd.framemaker"],["fnc","application/vnd.frogans.fnc"],["fo","application/vnd.software602.filler.form+xml"],["for","text/x-fortran"],["fpx","image/vnd.fpx"],["frame","application/vnd.framemaker"],["fsc","application/vnd.fsc.weblaunch"],["fst","image/vnd.fst"],["ftc","application/vnd.fluxtime.clip"],["fti","application/vnd.anser-web-funds-transfer-initiation"],["fvt","video/vnd.fvt"],["fxp","application/vnd.adobe.fxp"],["fxpl","application/vnd.adobe.fxp"],["fzs","application/vnd.fuzzysheet"],["g2w","application/vnd.geoplan"],["g3","image/g3fax"],["g3w","application/vnd.geospace"],["gac","application/vnd.groove-account"],["gam","application/x-tads"],["gbr","application/rpki-ghostbusters"],["gca","application/x-gca-compressed"],["gdl","model/vnd.gdl"],["gdoc","application/vnd.google-apps.document"],["geo","application/vnd.dynageo"],["geojson","application/geo+json"],["gex","application/vnd.geometry-explorer"],["ggb","application/vnd.geogebra.file"],["ggt","application/vnd.geogebra.tool"],["ghf","application/vnd.groove-help"],["gif","image/gif"],["gim","application/vnd.groove-identity-message"],["glb","model/gltf-binary"],["gltf","model/gltf+json"],["gml","application/gml+xml"],["gmx","application/vnd.gmx"],["gnumeric","application/x-gnumeric"],["gpg","application/gpg-keys"],["gph","application/vnd.flographit"],["gpx","application/gpx+xml"],["gqf","application/vnd.grafeq"],["gqs","application/vnd.grafeq"],["gram","application/srgs"],["gramps","application/x-gramps-xml"],["gre","application/vnd.geometry-explorer"],["grv","application/vnd.groove-injector"],["grxml","application/srgs+xml"],["gsf","application/x-font-ghostscript"],["gsheet","application/vnd.google-apps.spreadsheet"],["gslides","application/vnd.google-apps.presentation"],["gtar","application/x-gtar"],["gtm","application/vnd.groove-tool-message"],["gtw","model/vnd.gtw"],["gv","text/vnd.graphviz"],["gxf","application/gxf"],["gxt","application/vnd.geonext"],["gz","application/gzip"],["gzip","application/gzip"],["h","text/x-c"],["h261","video/h261"],["h263","video/h263"],["h264","video/h264"],["hal","application/vnd.hal+xml"],["hbci","application/vnd.hbci"],["hbs","text/x-handlebars-template"],["hdd","application/x-virtualbox-hdd"],["hdf","application/x-hdf"],["heic","image/heic"],["heics","image/heic-sequence"],["heif","image/heif"],["heifs","image/heif-sequence"],["hej2","image/hej2k"],["held","application/atsc-held+xml"],["hh","text/x-c"],["hjson","application/hjson"],["hlp","application/winhlp"],["hpgl","application/vnd.hp-hpgl"],["hpid","application/vnd.hp-hpid"],["hps","application/vnd.hp-hps"],["hqx","application/mac-binhex40"],["hsj2","image/hsj2"],["htc","text/x-component"],["htke","application/vnd.kenameaapp"],["htm","text/html"],["html","text/html"],["hvd","application/vnd.yamaha.hv-dic"],["hvp","application/vnd.yamaha.hv-voice"],["hvs","application/vnd.yamaha.hv-script"],["i2g","application/vnd.intergeo"],["icc","application/vnd.iccprofile"],["ice","x-conference/x-cooltalk"],["icm","application/vnd.iccprofile"],["ico","image/x-icon"],["ics","text/calendar"],["ief","image/ief"],["ifb","text/calendar"],["ifm","application/vnd.shana.informed.formdata"],["iges","model/iges"],["igl","application/vnd.igloader"],["igm","application/vnd.insors.igm"],["igs","model/iges"],["igx","application/vnd.micrografx.igx"],["iif","application/vnd.shana.informed.interchange"],["img","application/octet-stream"],["imp","application/vnd.accpac.simply.imp"],["ims","application/vnd.ms-ims"],["in","text/plain"],["ini","text/plain"],["ink","application/inkml+xml"],["inkml","application/inkml+xml"],["install","application/x-install-instructions"],["iota","application/vnd.astraea-software.iota"],["ipfix","application/ipfix"],["ipk","application/vnd.shana.informed.package"],["irm","application/vnd.ibm.rights-management"],["irp","application/vnd.irepository.package+xml"],["iso","application/x-iso9660-image"],["itp","application/vnd.shana.informed.formtemplate"],["its","application/its+xml"],["ivp","application/vnd.immervision-ivp"],["ivu","application/vnd.immervision-ivu"],["jad","text/vnd.sun.j2me.app-descriptor"],["jade","text/jade"],["jam","application/vnd.jam"],["jar","application/java-archive"],["jardiff","application/x-java-archive-diff"],["java","text/x-java-source"],["jhc","image/jphc"],["jisp","application/vnd.jisp"],["jls","image/jls"],["jlt","application/vnd.hp-jlyt"],["jng","image/x-jng"],["jnlp","application/x-java-jnlp-file"],["joda","application/vnd.joost.joda-archive"],["jp2","image/jp2"],["jpe","image/jpeg"],["jpeg","image/jpeg"],["jpf","image/jpx"],["jpg","image/jpeg"],["jpg2","image/jp2"],["jpgm","video/jpm"],["jpgv","video/jpeg"],["jph","image/jph"],["jpm","video/jpm"],["jpx","image/jpx"],["js","application/javascript"],["json","application/json"],["json5","application/json5"],["jsonld","application/ld+json"],["jsonl","application/jsonl"],["jsonml","application/jsonml+json"],["jsx","text/jsx"],["jxr","image/jxr"],["jxra","image/jxra"],["jxrs","image/jxrs"],["jxs","image/jxs"],["jxsc","image/jxsc"],["jxsi","image/jxsi"],["jxss","image/jxss"],["kar","audio/midi"],["karbon","application/vnd.kde.karbon"],["kdb","application/octet-stream"],["kdbx","application/x-keepass2"],["key","application/x-iwork-keynote-sffkey"],["kfo","application/vnd.kde.kformula"],["kia","application/vnd.kidspiration"],["kml","application/vnd.google-earth.kml+xml"],["kmz","application/vnd.google-earth.kmz"],["kne","application/vnd.kinar"],["knp","application/vnd.kinar"],["kon","application/vnd.kde.kontour"],["kpr","application/vnd.kde.kpresenter"],["kpt","application/vnd.kde.kpresenter"],["kpxx","application/vnd.ds-keypoint"],["ksp","application/vnd.kde.kspread"],["ktr","application/vnd.kahootz"],["ktx","image/ktx"],["ktx2","image/ktx2"],["ktz","application/vnd.kahootz"],["kwd","application/vnd.kde.kword"],["kwt","application/vnd.kde.kword"],["lasxml","application/vnd.las.las+xml"],["latex","application/x-latex"],["lbd","application/vnd.llamagraphics.life-balance.desktop"],["lbe","application/vnd.llamagraphics.life-balance.exchange+xml"],["les","application/vnd.hhe.lesson-player"],["less","text/less"],["lgr","application/lgr+xml"],["lha","application/octet-stream"],["link66","application/vnd.route66.link66+xml"],["list","text/plain"],["list3820","application/vnd.ibm.modcap"],["listafp","application/vnd.ibm.modcap"],["litcoffee","text/coffeescript"],["lnk","application/x-ms-shortcut"],["log","text/plain"],["lostxml","application/lost+xml"],["lrf","application/octet-stream"],["lrm","application/vnd.ms-lrm"],["ltf","application/vnd.frogans.ltf"],["lua","text/x-lua"],["luac","application/x-lua-bytecode"],["lvp","audio/vnd.lucent.voice"],["lwp","application/vnd.lotus-wordpro"],["lzh","application/octet-stream"],["m1v","video/mpeg"],["m2a","audio/mpeg"],["m2v","video/mpeg"],["m3a","audio/mpeg"],["m3u","text/plain"],["m3u8","application/vnd.apple.mpegurl"],["m4a","audio/x-m4a"],["m4p","application/mp4"],["m4s","video/iso.segment"],["m4u","application/vnd.mpegurl"],["m4v","video/x-m4v"],["m13","application/x-msmediaview"],["m14","application/x-msmediaview"],["m21","application/mp21"],["ma","application/mathematica"],["mads","application/mads+xml"],["maei","application/mmt-aei+xml"],["mag","application/vnd.ecowin.chart"],["maker","application/vnd.framemaker"],["man","text/troff"],["manifest","text/cache-manifest"],["map","application/json"],["mar","application/octet-stream"],["markdown","text/markdown"],["mathml","application/mathml+xml"],["mb","application/mathematica"],["mbk","application/vnd.mobius.mbk"],["mbox","application/mbox"],["mc1","application/vnd.medcalcdata"],["mcd","application/vnd.mcd"],["mcurl","text/vnd.curl.mcurl"],["md","text/markdown"],["mdb","application/x-msaccess"],["mdi","image/vnd.ms-modi"],["mdx","text/mdx"],["me","text/troff"],["mesh","model/mesh"],["meta4","application/metalink4+xml"],["metalink","application/metalink+xml"],["mets","application/mets+xml"],["mfm","application/vnd.mfmp"],["mft","application/rpki-manifest"],["mgp","application/vnd.osgeo.mapguide.package"],["mgz","application/vnd.proteus.magazine"],["mid","audio/midi"],["midi","audio/midi"],["mie","application/x-mie"],["mif","application/vnd.mif"],["mime","message/rfc822"],["mj2","video/mj2"],["mjp2","video/mj2"],["mjs","application/javascript"],["mk3d","video/x-matroska"],["mka","audio/x-matroska"],["mkd","text/x-markdown"],["mks","video/x-matroska"],["mkv","video/x-matroska"],["mlp","application/vnd.dolby.mlp"],["mmd","application/vnd.chipnuts.karaoke-mmd"],["mmf","application/vnd.smaf"],["mml","text/mathml"],["mmr","image/vnd.fujixerox.edmics-mmr"],["mng","video/x-mng"],["mny","application/x-msmoney"],["mobi","application/x-mobipocket-ebook"],["mods","application/mods+xml"],["mov","video/quicktime"],["movie","video/x-sgi-movie"],["mp2","audio/mpeg"],["mp2a","audio/mpeg"],["mp3","audio/mpeg"],["mp4","video/mp4"],["mp4a","audio/mp4"],["mp4s","application/mp4"],["mp4v","video/mp4"],["mp21","application/mp21"],["mpc","application/vnd.mophun.certificate"],["mpd","application/dash+xml"],["mpe","video/mpeg"],["mpeg","video/mpeg"],["mpg","video/mpeg"],["mpg4","video/mp4"],["mpga","audio/mpeg"],["mpkg","application/vnd.apple.installer+xml"],["mpm","application/vnd.blueice.multipass"],["mpn","application/vnd.mophun.application"],["mpp","application/vnd.ms-project"],["mpt","application/vnd.ms-project"],["mpy","application/vnd.ibm.minipay"],["mqy","application/vnd.mobius.mqy"],["mrc","application/marc"],["mrcx","application/marcxml+xml"],["ms","text/troff"],["mscml","application/mediaservercontrol+xml"],["mseed","application/vnd.fdsn.mseed"],["mseq","application/vnd.mseq"],["msf","application/vnd.epson.msf"],["msg","application/vnd.ms-outlook"],["msh","model/mesh"],["msi","application/x-msdownload"],["msl","application/vnd.mobius.msl"],["msm","application/octet-stream"],["msp","application/octet-stream"],["msty","application/vnd.muvee.style"],["mtl","model/mtl"],["mts","model/vnd.mts"],["mus","application/vnd.musician"],["musd","application/mmt-usd+xml"],["musicxml","application/vnd.recordare.musicxml+xml"],["mvb","application/x-msmediaview"],["mvt","application/vnd.mapbox-vector-tile"],["mwf","application/vnd.mfer"],["mxf","application/mxf"],["mxl","application/vnd.recordare.musicxml"],["mxmf","audio/mobile-xmf"],["mxml","application/xv+xml"],["mxs","application/vnd.triscape.mxs"],["mxu","video/vnd.mpegurl"],["n-gage","application/vnd.nokia.n-gage.symbian.install"],["n3","text/n3"],["nb","application/mathematica"],["nbp","application/vnd.wolfram.player"],["nc","application/x-netcdf"],["ncx","application/x-dtbncx+xml"],["nfo","text/x-nfo"],["ngdat","application/vnd.nokia.n-gage.data"],["nitf","application/vnd.nitf"],["nlu","application/vnd.neurolanguage.nlu"],["nml","application/vnd.enliven"],["nnd","application/vnd.noblenet-directory"],["nns","application/vnd.noblenet-sealer"],["nnw","application/vnd.noblenet-web"],["npx","image/vnd.net-fpx"],["nq","application/n-quads"],["nsc","application/x-conference"],["nsf","application/vnd.lotus-notes"],["nt","application/n-triples"],["ntf","application/vnd.nitf"],["numbers","application/x-iwork-numbers-sffnumbers"],["nzb","application/x-nzb"],["oa2","application/vnd.fujitsu.oasys2"],["oa3","application/vnd.fujitsu.oasys3"],["oas","application/vnd.fujitsu.oasys"],["obd","application/x-msbinder"],["obgx","application/vnd.openblox.game+xml"],["obj","model/obj"],["oda","application/oda"],["odb","application/vnd.oasis.opendocument.database"],["odc","application/vnd.oasis.opendocument.chart"],["odf","application/vnd.oasis.opendocument.formula"],["odft","application/vnd.oasis.opendocument.formula-template"],["odg","application/vnd.oasis.opendocument.graphics"],["odi","application/vnd.oasis.opendocument.image"],["odm","application/vnd.oasis.opendocument.text-master"],["odp","application/vnd.oasis.opendocument.presentation"],["ods","application/vnd.oasis.opendocument.spreadsheet"],["odt","application/vnd.oasis.opendocument.text"],["oga","audio/ogg"],["ogex","model/vnd.opengex"],["ogg","audio/ogg"],["ogv","video/ogg"],["ogx","application/ogg"],["omdoc","application/omdoc+xml"],["onepkg","application/onenote"],["onetmp","application/onenote"],["onetoc","application/onenote"],["onetoc2","application/onenote"],["opf","application/oebps-package+xml"],["opml","text/x-opml"],["oprc","application/vnd.palm"],["opus","audio/ogg"],["org","text/x-org"],["osf","application/vnd.yamaha.openscoreformat"],["osfpvg","application/vnd.yamaha.openscoreformat.osfpvg+xml"],["osm","application/vnd.openstreetmap.data+xml"],["otc","application/vnd.oasis.opendocument.chart-template"],["otf","font/otf"],["otg","application/vnd.oasis.opendocument.graphics-template"],["oth","application/vnd.oasis.opendocument.text-web"],["oti","application/vnd.oasis.opendocument.image-template"],["otp","application/vnd.oasis.opendocument.presentation-template"],["ots","application/vnd.oasis.opendocument.spreadsheet-template"],["ott","application/vnd.oasis.opendocument.text-template"],["ova","application/x-virtualbox-ova"],["ovf","application/x-virtualbox-ovf"],["owl","application/rdf+xml"],["oxps","application/oxps"],["oxt","application/vnd.openofficeorg.extension"],["p","text/x-pascal"],["p7a","application/x-pkcs7-signature"],["p7b","application/x-pkcs7-certificates"],["p7c","application/pkcs7-mime"],["p7m","application/pkcs7-mime"],["p7r","application/x-pkcs7-certreqresp"],["p7s","application/pkcs7-signature"],["p8","application/pkcs8"],["p10","application/x-pkcs10"],["p12","application/x-pkcs12"],["pac","application/x-ns-proxy-autoconfig"],["pages","application/x-iwork-pages-sffpages"],["pas","text/x-pascal"],["paw","application/vnd.pawaafile"],["pbd","application/vnd.powerbuilder6"],["pbm","image/x-portable-bitmap"],["pcap","application/vnd.tcpdump.pcap"],["pcf","application/x-font-pcf"],["pcl","application/vnd.hp-pcl"],["pclxl","application/vnd.hp-pclxl"],["pct","image/x-pict"],["pcurl","application/vnd.curl.pcurl"],["pcx","image/x-pcx"],["pdb","application/x-pilot"],["pde","text/x-processing"],["pdf","application/pdf"],["pem","application/x-x509-user-cert"],["pfa","application/x-font-type1"],["pfb","application/x-font-type1"],["pfm","application/x-font-type1"],["pfr","application/font-tdpfr"],["pfx","application/x-pkcs12"],["pgm","image/x-portable-graymap"],["pgn","application/x-chess-pgn"],["pgp","application/pgp"],["php","application/x-httpd-php"],["php3","application/x-httpd-php"],["php4","application/x-httpd-php"],["phps","application/x-httpd-php-source"],["phtml","application/x-httpd-php"],["pic","image/x-pict"],["pkg","application/octet-stream"],["pki","application/pkixcmp"],["pkipath","application/pkix-pkipath"],["pkpass","application/vnd.apple.pkpass"],["pl","application/x-perl"],["plb","application/vnd.3gpp.pic-bw-large"],["plc","application/vnd.mobius.plc"],["plf","application/vnd.pocketlearn"],["pls","application/pls+xml"],["pm","application/x-perl"],["pml","application/vnd.ctc-posml"],["png","image/png"],["pnm","image/x-portable-anymap"],["portpkg","application/vnd.macports.portpkg"],["pot","application/vnd.ms-powerpoint"],["potm","application/vnd.ms-powerpoint.presentation.macroEnabled.12"],["potx","application/vnd.openxmlformats-officedocument.presentationml.template"],["ppa","application/vnd.ms-powerpoint"],["ppam","application/vnd.ms-powerpoint.addin.macroEnabled.12"],["ppd","application/vnd.cups-ppd"],["ppm","image/x-portable-pixmap"],["pps","application/vnd.ms-powerpoint"],["ppsm","application/vnd.ms-powerpoint.slideshow.macroEnabled.12"],["ppsx","application/vnd.openxmlformats-officedocument.presentationml.slideshow"],["ppt","application/powerpoint"],["pptm","application/vnd.ms-powerpoint.presentation.macroEnabled.12"],["pptx","application/vnd.openxmlformats-officedocument.presentationml.presentation"],["pqa","application/vnd.palm"],["prc","application/x-pilot"],["pre","application/vnd.lotus-freelance"],["prf","application/pics-rules"],["provx","application/provenance+xml"],["ps","application/postscript"],["psb","application/vnd.3gpp.pic-bw-small"],["psd","application/x-photoshop"],["psf","application/x-font-linux-psf"],["pskcxml","application/pskc+xml"],["pti","image/prs.pti"],["ptid","application/vnd.pvi.ptid1"],["pub","application/x-mspublisher"],["pvb","application/vnd.3gpp.pic-bw-var"],["pwn","application/vnd.3m.post-it-notes"],["pya","audio/vnd.ms-playready.media.pya"],["pyv","video/vnd.ms-playready.media.pyv"],["qam","application/vnd.epson.quickanime"],["qbo","application/vnd.intu.qbo"],["qfx","application/vnd.intu.qfx"],["qps","application/vnd.publishare-delta-tree"],["qt","video/quicktime"],["qwd","application/vnd.quark.quarkxpress"],["qwt","application/vnd.quark.quarkxpress"],["qxb","application/vnd.quark.quarkxpress"],["qxd","application/vnd.quark.quarkxpress"],["qxl","application/vnd.quark.quarkxpress"],["qxt","application/vnd.quark.quarkxpress"],["ra","audio/x-realaudio"],["ram","audio/x-pn-realaudio"],["raml","application/raml+yaml"],["rapd","application/route-apd+xml"],["rar","application/x-rar"],["ras","image/x-cmu-raster"],["rcprofile","application/vnd.ipunplugged.rcprofile"],["rdf","application/rdf+xml"],["rdz","application/vnd.data-vision.rdz"],["relo","application/p2p-overlay+xml"],["rep","application/vnd.businessobjects"],["res","application/x-dtbresource+xml"],["rgb","image/x-rgb"],["rif","application/reginfo+xml"],["rip","audio/vnd.rip"],["ris","application/x-research-info-systems"],["rl","application/resource-lists+xml"],["rlc","image/vnd.fujixerox.edmics-rlc"],["rld","application/resource-lists-diff+xml"],["rm","audio/x-pn-realaudio"],["rmi","audio/midi"],["rmp","audio/x-pn-realaudio-plugin"],["rms","application/vnd.jcp.javame.midlet-rms"],["rmvb","application/vnd.rn-realmedia-vbr"],["rnc","application/relax-ng-compact-syntax"],["rng","application/xml"],["roa","application/rpki-roa"],["roff","text/troff"],["rp9","application/vnd.cloanto.rp9"],["rpm","audio/x-pn-realaudio-plugin"],["rpss","application/vnd.nokia.radio-presets"],["rpst","application/vnd.nokia.radio-preset"],["rq","application/sparql-query"],["rs","application/rls-services+xml"],["rsa","application/x-pkcs7"],["rsat","application/atsc-rsat+xml"],["rsd","application/rsd+xml"],["rsheet","application/urc-ressheet+xml"],["rss","application/rss+xml"],["rtf","text/rtf"],["rtx","text/richtext"],["run","application/x-makeself"],["rusd","application/route-usd+xml"],["rv","video/vnd.rn-realvideo"],["s","text/x-asm"],["s3m","audio/s3m"],["saf","application/vnd.yamaha.smaf-audio"],["sass","text/x-sass"],["sbml","application/sbml+xml"],["sc","application/vnd.ibm.secure-container"],["scd","application/x-msschedule"],["scm","application/vnd.lotus-screencam"],["scq","application/scvp-cv-request"],["scs","application/scvp-cv-response"],["scss","text/x-scss"],["scurl","text/vnd.curl.scurl"],["sda","application/vnd.stardivision.draw"],["sdc","application/vnd.stardivision.calc"],["sdd","application/vnd.stardivision.impress"],["sdkd","application/vnd.solent.sdkm+xml"],["sdkm","application/vnd.solent.sdkm+xml"],["sdp","application/sdp"],["sdw","application/vnd.stardivision.writer"],["sea","application/octet-stream"],["see","application/vnd.seemail"],["seed","application/vnd.fdsn.seed"],["sema","application/vnd.sema"],["semd","application/vnd.semd"],["semf","application/vnd.semf"],["senmlx","application/senml+xml"],["sensmlx","application/sensml+xml"],["ser","application/java-serialized-object"],["setpay","application/set-payment-initiation"],["setreg","application/set-registration-initiation"],["sfd-hdstx","application/vnd.hydrostatix.sof-data"],["sfs","application/vnd.spotfire.sfs"],["sfv","text/x-sfv"],["sgi","image/sgi"],["sgl","application/vnd.stardivision.writer-global"],["sgm","text/sgml"],["sgml","text/sgml"],["sh","application/x-sh"],["shar","application/x-shar"],["shex","text/shex"],["shf","application/shf+xml"],["shtml","text/html"],["sid","image/x-mrsid-image"],["sieve","application/sieve"],["sig","application/pgp-signature"],["sil","audio/silk"],["silo","model/mesh"],["sis","application/vnd.symbian.install"],["sisx","application/vnd.symbian.install"],["sit","application/x-stuffit"],["sitx","application/x-stuffitx"],["siv","application/sieve"],["skd","application/vnd.koan"],["skm","application/vnd.koan"],["skp","application/vnd.koan"],["skt","application/vnd.koan"],["sldm","application/vnd.ms-powerpoint.slide.macroenabled.12"],["sldx","application/vnd.openxmlformats-officedocument.presentationml.slide"],["slim","text/slim"],["slm","text/slim"],["sls","application/route-s-tsid+xml"],["slt","application/vnd.epson.salt"],["sm","application/vnd.stepmania.stepchart"],["smf","application/vnd.stardivision.math"],["smi","application/smil"],["smil","application/smil"],["smv","video/x-smv"],["smzip","application/vnd.stepmania.package"],["snd","audio/basic"],["snf","application/x-font-snf"],["so","application/octet-stream"],["spc","application/x-pkcs7-certificates"],["spdx","text/spdx"],["spf","application/vnd.yamaha.smaf-phrase"],["spl","application/x-futuresplash"],["spot","text/vnd.in3d.spot"],["spp","application/scvp-vp-response"],["spq","application/scvp-vp-request"],["spx","audio/ogg"],["sql","application/x-sql"],["src","application/x-wais-source"],["srt","application/x-subrip"],["sru","application/sru+xml"],["srx","application/sparql-results+xml"],["ssdl","application/ssdl+xml"],["sse","application/vnd.kodak-descriptor"],["ssf","application/vnd.epson.ssf"],["ssml","application/ssml+xml"],["sst","application/octet-stream"],["st","application/vnd.sailingtracker.track"],["stc","application/vnd.sun.xml.calc.template"],["std","application/vnd.sun.xml.draw.template"],["stf","application/vnd.wt.stf"],["sti","application/vnd.sun.xml.impress.template"],["stk","application/hyperstudio"],["stl","model/stl"],["stpx","model/step+xml"],["stpxz","model/step-xml+zip"],["stpz","model/step+zip"],["str","application/vnd.pg.format"],["stw","application/vnd.sun.xml.writer.template"],["styl","text/stylus"],["stylus","text/stylus"],["sub","text/vnd.dvb.subtitle"],["sus","application/vnd.sus-calendar"],["susp","application/vnd.sus-calendar"],["sv4cpio","application/x-sv4cpio"],["sv4crc","application/x-sv4crc"],["svc","application/vnd.dvb.service"],["svd","application/vnd.svd"],["svg","image/svg+xml"],["svgz","image/svg+xml"],["swa","application/x-director"],["swf","application/x-shockwave-flash"],["swi","application/vnd.aristanetworks.swi"],["swidtag","application/swid+xml"],["sxc","application/vnd.sun.xml.calc"],["sxd","application/vnd.sun.xml.draw"],["sxg","application/vnd.sun.xml.writer.global"],["sxi","application/vnd.sun.xml.impress"],["sxm","application/vnd.sun.xml.math"],["sxw","application/vnd.sun.xml.writer"],["t","text/troff"],["t3","application/x-t3vm-image"],["t38","image/t38"],["taglet","application/vnd.mynfc"],["tao","application/vnd.tao.intent-module-archive"],["tap","image/vnd.tencent.tap"],["tar","application/x-tar"],["tcap","application/vnd.3gpp2.tcap"],["tcl","application/x-tcl"],["td","application/urc-targetdesc+xml"],["teacher","application/vnd.smart.teacher"],["tei","application/tei+xml"],["teicorpus","application/tei+xml"],["tex","application/x-tex"],["texi","application/x-texinfo"],["texinfo","application/x-texinfo"],["text","text/plain"],["tfi","application/thraud+xml"],["tfm","application/x-tex-tfm"],["tfx","image/tiff-fx"],["tga","image/x-tga"],["tgz","application/x-tar"],["thmx","application/vnd.ms-officetheme"],["tif","image/tiff"],["tiff","image/tiff"],["tk","application/x-tcl"],["tmo","application/vnd.tmobile-livetv"],["toml","application/toml"],["torrent","application/x-bittorrent"],["tpl","application/vnd.groove-tool-template"],["tpt","application/vnd.trid.tpt"],["tr","text/troff"],["tra","application/vnd.trueapp"],["trig","application/trig"],["trm","application/x-msterminal"],["ts","video/mp2t"],["tsd","application/timestamped-data"],["tsv","text/tab-separated-values"],["ttc","font/collection"],["ttf","font/ttf"],["ttl","text/turtle"],["ttml","application/ttml+xml"],["twd","application/vnd.simtech-mindmapper"],["twds","application/vnd.simtech-mindmapper"],["txd","application/vnd.genomatix.tuxedo"],["txf","application/vnd.mobius.txf"],["txt","text/plain"],["u8dsn","message/global-delivery-status"],["u8hdr","message/global-headers"],["u8mdn","message/global-disposition-notification"],["u8msg","message/global"],["u32","application/x-authorware-bin"],["ubj","application/ubjson"],["udeb","application/x-debian-package"],["ufd","application/vnd.ufdl"],["ufdl","application/vnd.ufdl"],["ulx","application/x-glulx"],["umj","application/vnd.umajin"],["unityweb","application/vnd.unity"],["uoml","application/vnd.uoml+xml"],["uri","text/uri-list"],["uris","text/uri-list"],["urls","text/uri-list"],["usdz","model/vnd.usdz+zip"],["ustar","application/x-ustar"],["utz","application/vnd.uiq.theme"],["uu","text/x-uuencode"],["uva","audio/vnd.dece.audio"],["uvd","application/vnd.dece.data"],["uvf","application/vnd.dece.data"],["uvg","image/vnd.dece.graphic"],["uvh","video/vnd.dece.hd"],["uvi","image/vnd.dece.graphic"],["uvm","video/vnd.dece.mobile"],["uvp","video/vnd.dece.pd"],["uvs","video/vnd.dece.sd"],["uvt","application/vnd.dece.ttml+xml"],["uvu","video/vnd.uvvu.mp4"],["uvv","video/vnd.dece.video"],["uvva","audio/vnd.dece.audio"],["uvvd","application/vnd.dece.data"],["uvvf","application/vnd.dece.data"],["uvvg","image/vnd.dece.graphic"],["uvvh","video/vnd.dece.hd"],["uvvi","image/vnd.dece.graphic"],["uvvm","video/vnd.dece.mobile"],["uvvp","video/vnd.dece.pd"],["uvvs","video/vnd.dece.sd"],["uvvt","application/vnd.dece.ttml+xml"],["uvvu","video/vnd.uvvu.mp4"],["uvvv","video/vnd.dece.video"],["uvvx","application/vnd.dece.unspecified"],["uvvz","application/vnd.dece.zip"],["uvx","application/vnd.dece.unspecified"],["uvz","application/vnd.dece.zip"],["vbox","application/x-virtualbox-vbox"],["vbox-extpack","application/x-virtualbox-vbox-extpack"],["vcard","text/vcard"],["vcd","application/x-cdlink"],["vcf","text/x-vcard"],["vcg","application/vnd.groove-vcard"],["vcs","text/x-vcalendar"],["vcx","application/vnd.vcx"],["vdi","application/x-virtualbox-vdi"],["vds","model/vnd.sap.vds"],["vhd","application/x-virtualbox-vhd"],["vis","application/vnd.visionary"],["viv","video/vnd.vivo"],["vlc","application/videolan"],["vmdk","application/x-virtualbox-vmdk"],["vob","video/x-ms-vob"],["vor","application/vnd.stardivision.writer"],["vox","application/x-authorware-bin"],["vrml","model/vrml"],["vsd","application/vnd.visio"],["vsf","application/vnd.vsf"],["vss","application/vnd.visio"],["vst","application/vnd.visio"],["vsw","application/vnd.visio"],["vtf","image/vnd.valve.source.texture"],["vtt","text/vtt"],["vtu","model/vnd.vtu"],["vxml","application/voicexml+xml"],["w3d","application/x-director"],["wad","application/x-doom"],["wadl","application/vnd.sun.wadl+xml"],["war","application/java-archive"],["wasm","application/wasm"],["wav","audio/x-wav"],["wax","audio/x-ms-wax"],["wbmp","image/vnd.wap.wbmp"],["wbs","application/vnd.criticaltools.wbs+xml"],["wbxml","application/wbxml"],["wcm","application/vnd.ms-works"],["wdb","application/vnd.ms-works"],["wdp","image/vnd.ms-photo"],["weba","audio/webm"],["webapp","application/x-web-app-manifest+json"],["webm","video/webm"],["webmanifest","application/manifest+json"],["webp","image/webp"],["wg","application/vnd.pmi.widget"],["wgt","application/widget"],["wks","application/vnd.ms-works"],["wm","video/x-ms-wm"],["wma","audio/x-ms-wma"],["wmd","application/x-ms-wmd"],["wmf","image/wmf"],["wml","text/vnd.wap.wml"],["wmlc","application/wmlc"],["wmls","text/vnd.wap.wmlscript"],["wmlsc","application/vnd.wap.wmlscriptc"],["wmv","video/x-ms-wmv"],["wmx","video/x-ms-wmx"],["wmz","application/x-msmetafile"],["woff","font/woff"],["woff2","font/woff2"],["word","application/msword"],["wpd","application/vnd.wordperfect"],["wpl","application/vnd.ms-wpl"],["wps","application/vnd.ms-works"],["wqd","application/vnd.wqd"],["wri","application/x-mswrite"],["wrl","model/vrml"],["wsc","message/vnd.wfa.wsc"],["wsdl","application/wsdl+xml"],["wspolicy","application/wspolicy+xml"],["wtb","application/vnd.webturbo"],["wvx","video/x-ms-wvx"],["x3d","model/x3d+xml"],["x3db","model/x3d+fastinfoset"],["x3dbz","model/x3d+binary"],["x3dv","model/x3d-vrml"],["x3dvz","model/x3d+vrml"],["x3dz","model/x3d+xml"],["x32","application/x-authorware-bin"],["x_b","model/vnd.parasolid.transmit.binary"],["x_t","model/vnd.parasolid.transmit.text"],["xaml","application/xaml+xml"],["xap","application/x-silverlight-app"],["xar","application/vnd.xara"],["xav","application/xcap-att+xml"],["xbap","application/x-ms-xbap"],["xbd","application/vnd.fujixerox.docuworks.binder"],["xbm","image/x-xbitmap"],["xca","application/xcap-caps+xml"],["xcs","application/calendar+xml"],["xdf","application/xcap-diff+xml"],["xdm","application/vnd.syncml.dm+xml"],["xdp","application/vnd.adobe.xdp+xml"],["xdssc","application/dssc+xml"],["xdw","application/vnd.fujixerox.docuworks"],["xel","application/xcap-el+xml"],["xenc","application/xenc+xml"],["xer","application/patch-ops-error+xml"],["xfdf","application/vnd.adobe.xfdf"],["xfdl","application/vnd.xfdl"],["xht","application/xhtml+xml"],["xhtml","application/xhtml+xml"],["xhvml","application/xv+xml"],["xif","image/vnd.xiff"],["xl","application/excel"],["xla","application/vnd.ms-excel"],["xlam","application/vnd.ms-excel.addin.macroEnabled.12"],["xlc","application/vnd.ms-excel"],["xlf","application/xliff+xml"],["xlm","application/vnd.ms-excel"],["xls","application/vnd.ms-excel"],["xlsb","application/vnd.ms-excel.sheet.binary.macroEnabled.12"],["xlsm","application/vnd.ms-excel.sheet.macroEnabled.12"],["xlsx","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"],["xlt","application/vnd.ms-excel"],["xltm","application/vnd.ms-excel.template.macroEnabled.12"],["xltx","application/vnd.openxmlformats-officedocument.spreadsheetml.template"],["xlw","application/vnd.ms-excel"],["xm","audio/xm"],["xml","application/xml"],["xns","application/xcap-ns+xml"],["xo","application/vnd.olpc-sugar"],["xop","application/xop+xml"],["xpi","application/x-xpinstall"],["xpl","application/xproc+xml"],["xpm","image/x-xpixmap"],["xpr","application/vnd.is-xpr"],["xps","application/vnd.ms-xpsdocument"],["xpw","application/vnd.intercon.formnet"],["xpx","application/vnd.intercon.formnet"],["xsd","application/xml"],["xsl","application/xml"],["xslt","application/xslt+xml"],["xsm","application/vnd.syncml+xml"],["xspf","application/xspf+xml"],["xul","application/vnd.mozilla.xul+xml"],["xvm","application/xv+xml"],["xvml","application/xv+xml"],["xwd","image/x-xwindowdump"],["xyz","chemical/x-xyz"],["xz","application/x-xz"],["yaml","text/yaml"],["yang","application/yang"],["yin","application/yin+xml"],["yml","text/yaml"],["ymp","text/x-suse-ymp"],["z","application/x-compress"],["z1","application/x-zmachine"],["z2","application/x-zmachine"],["z3","application/x-zmachine"],["z4","application/x-zmachine"],["z5","application/x-zmachine"],["z6","application/x-zmachine"],["z7","application/x-zmachine"],["z8","application/x-zmachine"],["zaz","application/vnd.zzazz.deck+xml"],["zip","application/zip"],["zir","application/vnd.zul"],["zirz","application/vnd.zul"],["zmm","application/vnd.handheld-entertainment+xml"],["zsh","text/x-scriptzsh"]]);function vn(n,e,t){const r=Xf(n),{webkitRelativePath:i}=n,a=typeof e=="string"?e:typeof i=="string"&&i.length>0?i:`./${n.name}`;return typeof r.path!="string"&&Tl(r,"path",a),Tl(r,"relativePath",a),r}function Xf(n){const{name:e}=n;if(e&&e.lastIndexOf(".")!==-1&&!n.type){const r=e.split(".").pop().toLowerCase(),i=Yf.get(r);i&&Object.defineProperty(n,"type",{value:i,writable:!1,configurable:!1,enumerable:!0})}return n}function Tl(n,e,t){Object.defineProperty(n,e,{value:t,writable:!1,configurable:!1,enumerable:!0})}const Gf=[".DS_Store","Thumbs.db"];function Kf(n){return Mt(this,void 0,void 0,function*(){return Fr(n)&&Jf(n.dataTransfer)?nm(n.dataTransfer,n.type):Qf(n)?em(n):Array.isArray(n)&&n.every(e=>"getFile"in e&&typeof e.getFile=="function")?tm(n):[]})}function Jf(n){return Fr(n)}function Qf(n){return Fr(n)&&Fr(n.target)}function Fr(n){return typeof n=="object"&&n!==null}function em(n){return ca(n.target.files).map(e=>vn(e))}function tm(n){return Mt(this,void 0,void 0,function*(){return(yield Promise.all(n.map(t=>t.getFile()))).map(t=>vn(t))})}function nm(n,e){return Mt(this,void 0,void 0,function*(){if(n.items){const t=ca(n.items).filter(i=>i.kind==="file");if(e!=="drop")return t;const r=yield Promise.all(t.map(rm));return El(Sl(r))}return El(ca(n.files).map(t=>vn(t)))})}function El(n){return n.filter(e=>Gf.indexOf(e.name)===-1)}function ca(n){if(n===null)return[];const e=[];for(let t=0;t<n.length;t++){const r=n[t];e.push(r)}return e}function rm(n){if(typeof n.webkitGetAsEntry!="function")return Cl(n);const e=n.webkitGetAsEntry();return e&&e.isDirectory?jl(e):Cl(n,e)}function Sl(n){return n.reduce((e,t)=>[...e,...Array.isArray(t)?Sl(t):[t]],[])}function Cl(n,e){return Mt(this,void 0,void 0,function*(){var t;if(globalThis.isSecureContext&&typeof n.getAsFileSystemHandle=="function"){const a=yield n.getAsFileSystemHandle();if(a===null)throw new Error(`${n} is not a File`);if(a!==void 0){const o=yield a.getFile();return o.handle=a,vn(o)}}const r=n.getAsFile();if(!r)throw new Error(`${n} is not a File`);return vn(r,(t=e?.fullPath)!==null&&t!==void 0?t:void 0)})}function im(n){return Mt(this,void 0,void 0,function*(){return n.isDirectory?jl(n):am(n)})}function jl(n){const e=n.createReader();return new Promise((t,r)=>{const i=[];function a(){e.readEntries(o=>Mt(this,void 0,void 0,function*(){if(o.length){const s=Promise.all(o.map(im));i.push(s),a()}else try{const s=yield Promise.all(i);t(s)}catch(s){r(s)}}),o=>{r(o)})}a()})}function am(n){return Mt(this,void 0,void 0,function*(){return new Promise((e,t)=>{n.file(r=>{const i=vn(r,n.fullPath);e(i)},r=>{t(r)})})})}var Lr={},Ol;function om(){return Ol||(Ol=1,Lr.__esModule=!0,Lr.default=function(n,e){if(n&&e){var t=Array.isArray(e)?e:e.split(",");if(t.length===0)return!0;var r=n.name||"",i=(n.type||"").toLowerCase(),a=i.replace(/\/.*$/,"");return t.some(function(o){var s=o.trim().toLowerCase();return s.charAt(0)==="."?r.toLowerCase().endsWith(s):s.endsWith("/*")?a===s.replace(/\/.*$/,""):i===s})}return!0}),Lr}var sm=om();const ua=_a(sm);function kl(n){return um(n)||cm(n)||Nl(n)||lm()}function lm(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
115
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function cm(n){if(typeof Symbol<"u"&&n[Symbol.iterator]!=null||n["@@iterator"]!=null)return Array.from(n)}function um(n){if(Array.isArray(n))return da(n)}function Pl(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable})),t.push.apply(t,r)}return t}function Dl(n){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?Pl(Object(t),!0).forEach(function(r){Al(n,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):Pl(Object(t)).forEach(function(r){Object.defineProperty(n,r,Object.getOwnPropertyDescriptor(t,r))})}return n}function Al(n,e,t){return e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}function Hn(n,e){return fm(n)||pm(n,e)||Nl(n,e)||dm()}function dm(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
116
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Nl(n,e){if(n){if(typeof n=="string")return da(n,e);var t=Object.prototype.toString.call(n).slice(8,-1);if(t==="Object"&&n.constructor&&(t=n.constructor.name),t==="Map"||t==="Set")return Array.from(n);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return da(n,e)}}function da(n,e){(e==null||e>n.length)&&(e=n.length);for(var t=0,r=new Array(e);t<e;t++)r[t]=n[t];return r}function pm(n,e){var t=n==null?null:typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(t!=null){var r=[],i=!0,a=!1,o,s;try{for(t=t.call(n);!(i=(o=t.next()).done)&&(r.push(o.value),!(e&&r.length===e));i=!0);}catch(l){a=!0,s=l}finally{try{!i&&t.return!=null&&t.return()}finally{if(a)throw s}}return r}}function fm(n){if(Array.isArray(n))return n}var mm=typeof ua=="function"?ua:ua.default,hm="file-invalid-type",vm="file-too-large",gm="file-too-small",xm="too-many-files",ym=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",t=e.split(","),r=t.length>1?"one of ".concat(t.join(", ")):t[0];return{code:hm,message:"File type must be ".concat(r)}},ql=function(e){return{code:vm,message:"File is larger than ".concat(e," ").concat(e===1?"byte":"bytes")}},Rl=function(e){return{code:gm,message:"File is smaller than ".concat(e," ").concat(e===1?"byte":"bytes")}},bm={code:xm,message:"Too many files"};function Ml(n,e){var t=n.type==="application/x-moz-file"||mm(n,e);return[t,t?null:ym(e)]}function Il(n,e,t){if(Xt(n.size))if(Xt(e)&&Xt(t)){if(n.size>t)return[!1,ql(t)];if(n.size<e)return[!1,Rl(e)]}else{if(Xt(e)&&n.size<e)return[!1,Rl(e)];if(Xt(t)&&n.size>t)return[!1,ql(t)]}return[!0,null]}function Xt(n){return n!=null}function wm(n){var e=n.files,t=n.accept,r=n.minSize,i=n.maxSize,a=n.multiple,o=n.maxFiles,s=n.validator;return!a&&e.length>1||a&&o>=1&&e.length>o?!1:e.every(function(l){var c=Ml(l,t),u=Hn(c,1),d=u[0],m=Il(l,r,i),h=Hn(m,1),g=h[0],f=s?s(l):null;return d&&g&&!f})}function zr(n){return typeof n.isPropagationStopped=="function"?n.isPropagationStopped():typeof n.cancelBubble<"u"?n.cancelBubble:!1}function $r(n){return n.dataTransfer?Array.prototype.some.call(n.dataTransfer.types,function(e){return e==="Files"||e==="application/x-moz-file"}):!!n.target&&!!n.target.files}function Fl(n){n.preventDefault()}function _m(n){return n.indexOf("MSIE")!==-1||n.indexOf("Trident/")!==-1}function Tm(n){return n.indexOf("Edge/")!==-1}function Em(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:window.navigator.userAgent;return _m(n)||Tm(n)}function ct(){for(var n=arguments.length,e=new Array(n),t=0;t<n;t++)e[t]=arguments[t];return function(r){for(var i=arguments.length,a=new Array(i>1?i-1:0),o=1;o<i;o++)a[o-1]=arguments[o];return e.some(function(s){return!zr(r)&&s&&s.apply(void 0,[r].concat(a)),zr(r)})}}function Sm(){return"showOpenFilePicker"in window}function Cm(n){if(Xt(n)){var e=Object.entries(n).filter(function(t){var r=Hn(t,2),i=r[0],a=r[1],o=!0;return Ll(i)||(console.warn('Skipped "'.concat(i,'" because it is not a valid MIME type. Check https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types for a list of valid MIME types.')),o=!1),(!Array.isArray(a)||!a.every(zl))&&(console.warn('Skipped "'.concat(i,'" because an invalid file extension was provided.')),o=!1),o}).reduce(function(t,r){var i=Hn(r,2),a=i[0],o=i[1];return Dl(Dl({},t),{},Al({},a,o))},{});return[{description:"Files",accept:e}]}return n}function jm(n){if(Xt(n))return Object.entries(n).reduce(function(e,t){var r=Hn(t,2),i=r[0],a=r[1];return[].concat(kl(e),[i],kl(a))},[]).filter(function(e){return Ll(e)||zl(e)}).join(",")}function Om(n){return n instanceof DOMException&&(n.name==="AbortError"||n.code===n.ABORT_ERR)}function km(n){return n instanceof DOMException&&(n.name==="SecurityError"||n.code===n.SECURITY_ERR)}function Ll(n){return n==="audio/*"||n==="video/*"||n==="image/*"||n==="text/*"||n==="application/*"||/\w+\/[-+.\w]+/g.test(n)}function zl(n){return/^.*\.[\w]+$/.test(n)}var Pm=["children"],Dm=["open"],Am=["refKey","role","onKeyDown","onFocus","onBlur","onClick","onDragEnter","onDragOver","onDragLeave","onDrop"],Nm=["refKey","onChange","onClick"];function qm(n){return Im(n)||Mm(n)||$l(n)||Rm()}function Rm(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
117
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Mm(n){if(typeof Symbol<"u"&&n[Symbol.iterator]!=null||n["@@iterator"]!=null)return Array.from(n)}function Im(n){if(Array.isArray(n))return fa(n)}function pa(n,e){return zm(n)||Lm(n,e)||$l(n,e)||Fm()}function Fm(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
118
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function $l(n,e){if(n){if(typeof n=="string")return fa(n,e);var t=Object.prototype.toString.call(n).slice(8,-1);if(t==="Object"&&n.constructor&&(t=n.constructor.name),t==="Map"||t==="Set")return Array.from(n);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return fa(n,e)}}function fa(n,e){(e==null||e>n.length)&&(e=n.length);for(var t=0,r=new Array(e);t<e;t++)r[t]=n[t];return r}function Lm(n,e){var t=n==null?null:typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(t!=null){var r=[],i=!0,a=!1,o,s;try{for(t=t.call(n);!(i=(o=t.next()).done)&&(r.push(o.value),!(e&&r.length===e));i=!0);}catch(l){a=!0,s=l}finally{try{!i&&t.return!=null&&t.return()}finally{if(a)throw s}}return r}}function zm(n){if(Array.isArray(n))return n}function Bl(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable})),t.push.apply(t,r)}return t}function xe(n){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?Bl(Object(t),!0).forEach(function(r){ma(n,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):Bl(Object(t)).forEach(function(r){Object.defineProperty(n,r,Object.getOwnPropertyDescriptor(t,r))})}return n}function ma(n,e,t){return e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}function Br(n,e){if(n==null)return{};var t=$m(n,e),r,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(n);for(i=0;i<a.length;i++)r=a[i],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(n,r)&&(t[r]=n[r])}return t}function $m(n,e){if(n==null)return{};var t={},r=Object.keys(n),i,a;for(a=0;a<r.length;a++)i=r[a],!(e.indexOf(i)>=0)&&(t[i]=n[i]);return t}var ha=E.forwardRef(function(n,e){var t=n.children,r=Br(n,Pm),i=Wl(r),a=i.open,o=Br(i,Dm);return E.useImperativeHandle(e,function(){return{open:a}},[a]),E.createElement(E.Fragment,null,t(xe(xe({},o),{},{open:a})))});ha.displayName="Dropzone";var Hl={disabled:!1,getFilesFromEvent:Kf,maxSize:1/0,minSize:0,multiple:!0,maxFiles:0,preventDropOnDocument:!0,noClick:!1,noKeyboard:!1,noDrag:!1,noDragEventsBubbling:!1,validator:null,useFsAccessApi:!1,autoFocus:!1};ha.defaultProps=Hl,ha.propTypes={children:pe.func,accept:pe.objectOf(pe.arrayOf(pe.string)),multiple:pe.bool,preventDropOnDocument:pe.bool,noClick:pe.bool,noKeyboard:pe.bool,noDrag:pe.bool,noDragEventsBubbling:pe.bool,minSize:pe.number,maxSize:pe.number,maxFiles:pe.number,disabled:pe.bool,getFilesFromEvent:pe.func,onFileDialogCancel:pe.func,onFileDialogOpen:pe.func,useFsAccessApi:pe.bool,autoFocus:pe.bool,onDragEnter:pe.func,onDragLeave:pe.func,onDragOver:pe.func,onDrop:pe.func,onDropAccepted:pe.func,onDropRejected:pe.func,onError:pe.func,validator:pe.func};var va={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,acceptedFiles:[],fileRejections:[]};function Wl(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=xe(xe({},Hl),n),t=e.accept,r=e.disabled,i=e.getFilesFromEvent,a=e.maxSize,o=e.minSize,s=e.multiple,l=e.maxFiles,c=e.onDragEnter,u=e.onDragLeave,d=e.onDragOver,m=e.onDrop,h=e.onDropAccepted,g=e.onDropRejected,f=e.onFileDialogCancel,v=e.onFileDialogOpen,x=e.useFsAccessApi,_=e.autoFocus,T=e.preventDropOnDocument,w=e.noClick,y=e.noKeyboard,k=e.noDrag,C=e.noDragEventsBubbling,O=e.onError,j=e.validator,L=E.useMemo(function(){return jm(t)},[t]),H=E.useMemo(function(){return Cm(t)},[t]),V=E.useMemo(function(){return typeof v=="function"?v:Ul},[v]),D=E.useMemo(function(){return typeof f=="function"?f:Ul},[f]),$=E.useRef(null),U=E.useRef(null),Y=E.useReducer(Bm,va),X=pa(Y,2),ne=X[0],te=X[1],b=ne.isFocused,P=ne.isFileDialogActive,R=E.useRef(typeof window<"u"&&window.isSecureContext&&x&&Sm()),z=function(){!R.current&&P&&setTimeout(function(){if(U.current){var G=U.current.files;G.length||(te({type:"closeDialog"}),D())}},300)};E.useEffect(function(){return window.addEventListener("focus",z,!1),function(){window.removeEventListener("focus",z,!1)}},[U,P,D,R]);var M=E.useRef([]),A=function(G){$.current&&$.current.contains(G.target)||(G.preventDefault(),M.current=[])};E.useEffect(function(){return T&&(document.addEventListener("dragover",Fl,!1),document.addEventListener("drop",A,!1)),function(){T&&(document.removeEventListener("dragover",Fl),document.removeEventListener("drop",A))}},[$,T]),E.useEffect(function(){return!r&&_&&$.current&&$.current.focus(),function(){}},[$,_,r]);var F=E.useCallback(function(I){O?O(I):console.error(I)},[O]),Z=E.useCallback(function(I){I.preventDefault(),I.persist(),nt(I),M.current=[].concat(qm(M.current),[I.target]),$r(I)&&Promise.resolve(i(I)).then(function(G){if(!(zr(I)&&!C)){var be=G.length,Ce=be>0&&wm({files:G,accept:L,minSize:o,maxSize:a,multiple:s,maxFiles:l,validator:j}),De=be>0&&!Ce;te({isDragAccept:Ce,isDragReject:De,isDragActive:!0,type:"setDraggedFiles"}),c&&c(I)}}).catch(function(G){return F(G)})},[i,c,F,C,L,o,a,s,l,j]),W=E.useCallback(function(I){I.preventDefault(),I.persist(),nt(I);var G=$r(I);if(G&&I.dataTransfer)try{I.dataTransfer.dropEffect="copy"}catch{}return G&&d&&d(I),!1},[d,C]),ee=E.useCallback(function(I){I.preventDefault(),I.persist(),nt(I);var G=M.current.filter(function(Ce){return $.current&&$.current.contains(Ce)}),be=G.indexOf(I.target);be!==-1&&G.splice(be,1),M.current=G,!(G.length>0)&&(te({type:"setDraggedFiles",isDragActive:!1,isDragAccept:!1,isDragReject:!1}),$r(I)&&u&&u(I))},[$,u,C]),Q=E.useCallback(function(I,G){var be=[],Ce=[];I.forEach(function(De){var Kt=Ml(De,L),yt=pa(Kt,2),Zn=yt[0],bt=yt[1],xn=Il(De,o,a),yn=pa(xn,2),Vn=yn[0],Yn=yn[1],Xn=j?j(De):null;if(Zn&&Vn&&!Xn)be.push(De);else{var Gn=[bt,Yn];Xn&&(Gn=Gn.concat(Xn)),Ce.push({file:De,errors:Gn.filter(function(K){return K})})}}),(!s&&be.length>1||s&&l>=1&&be.length>l)&&(be.forEach(function(De){Ce.push({file:De,errors:[bm]})}),be.splice(0)),te({acceptedFiles:be,fileRejections:Ce,isDragReject:Ce.length>0,type:"setFiles"}),m&&m(be,Ce,G),Ce.length>0&&g&&g(Ce,G),be.length>0&&h&&h(be,G)},[te,s,L,o,a,l,m,h,g,j]),ce=E.useCallback(function(I){I.preventDefault(),I.persist(),nt(I),M.current=[],$r(I)&&Promise.resolve(i(I)).then(function(G){zr(I)&&!C||Q(G,I)}).catch(function(G){return F(G)}),te({type:"reset"})},[i,Q,F,C]),q=E.useCallback(function(){if(R.current){te({type:"openDialog"}),V();var I={multiple:s,types:H};window.showOpenFilePicker(I).then(function(G){return i(G)}).then(function(G){Q(G,null),te({type:"closeDialog"})}).catch(function(G){Om(G)?(D(G),te({type:"closeDialog"})):km(G)?(R.current=!1,U.current?(U.current.value=null,U.current.click()):F(new Error("Cannot open the file picker because the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API is not supported and no <input> was provided."))):F(G)});return}U.current&&(te({type:"openDialog"}),V(),U.current.value=null,U.current.click())},[te,V,D,x,Q,F,H,s]),Re=E.useCallback(function(I){!$.current||!$.current.isEqualNode(I.target)||(I.key===" "||I.key==="Enter"||I.keyCode===32||I.keyCode===13)&&(I.preventDefault(),q())},[$,q]),J=E.useCallback(function(){te({type:"focus"})},[]),At=E.useCallback(function(){te({type:"blur"})},[]),Wn=E.useCallback(function(){w||(Em()?setTimeout(q,0):q())},[w,q]),ut=function(G){return r?null:G},Un=function(G){return y?null:ut(G)},gn=function(G){return k?null:ut(G)},nt=function(G){C&&G.stopPropagation()},Hr=E.useMemo(function(){return function(){var I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},G=I.refKey,be=G===void 0?"ref":G,Ce=I.role,De=I.onKeyDown,Kt=I.onFocus,yt=I.onBlur,Zn=I.onClick,bt=I.onDragEnter,xn=I.onDragOver,yn=I.onDragLeave,Vn=I.onDrop,Yn=Br(I,Am);return xe(xe(ma({onKeyDown:Un(ct(De,Re)),onFocus:Un(ct(Kt,J)),onBlur:Un(ct(yt,At)),onClick:ut(ct(Zn,Wn)),onDragEnter:gn(ct(bt,Z)),onDragOver:gn(ct(xn,W)),onDragLeave:gn(ct(yn,ee)),onDrop:gn(ct(Vn,ce)),role:typeof Ce=="string"&&Ce!==""?Ce:"presentation"},be,$),!r&&!y?{tabIndex:0}:{}),Yn)}},[$,Re,J,At,Wn,Z,W,ee,ce,y,k,r]),ga=E.useCallback(function(I){I.stopPropagation()},[]),Gt=E.useMemo(function(){return function(){var I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},G=I.refKey,be=G===void 0?"ref":G,Ce=I.onChange,De=I.onClick,Kt=Br(I,Nm),yt=ma({accept:L,multiple:s,type:"file",style:{border:0,clip:"rect(0, 0, 0, 0)",clipPath:"inset(50%)",height:"1px",margin:"0 -1px -1px 0",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"},onChange:ut(ct(Ce,ce)),onClick:ut(ct(De,ga)),tabIndex:-1},be,U);return xe(xe({},yt),Kt)}},[U,t,s,ce,r]);return xe(xe({},ne),{},{isFocused:b&&!r,getRootProps:Hr,getInputProps:Gt,rootRef:$,inputRef:U,open:ut(q)})}function Bm(n,e){switch(e.type){case"focus":return xe(xe({},n),{},{isFocused:!0});case"blur":return xe(xe({},n),{},{isFocused:!1});case"openDialog":return xe(xe({},va),{},{isFileDialogActive:!0});case"closeDialog":return xe(xe({},n),{},{isFileDialogActive:!1});case"setDraggedFiles":return xe(xe({},n),{},{isDragActive:e.isDragActive,isDragAccept:e.isDragAccept,isDragReject:e.isDragReject});case"setFiles":return xe(xe({},n),{},{acceptedFiles:e.acceptedFiles,fileRejections:e.fileRejections,isDragReject:e.isDragReject});case"reset":return xe({},va);default:return n}}function Ul(){}const Zl=E.forwardRef(({onFilesAccepted:n,onFilesRejected:e,className:t,title:r="Archivos adjuntos",subtitle:i="Arrastra y suelta el archivo aquí o haz clic para cargarlo desde tu computadora",acceptedFormats:a=".PNG, .JPG, .TXT o .PDF. Máx 100 BM.",variant:o="default",disabled:s=!1,showIcon:l=!0,accept:c,maxFiles:u=1,...d},m)=>{const h=E.useCallback((w,y)=>{w.length>0&&n?.(w),y.length>0&&e?.(y)},[n,e]),{getRootProps:g,getInputProps:f,isDragActive:v,isDragReject:x,fileRejections:_}=Wl({onDrop:h,accept:c,maxFiles:u,disabled:s,...d}),T=_.length>0;return p.jsxs("div",{className:N("w-full",t),children:[o==="default"&&p.jsx("h3",{className:"text-lg font-medium text-foreground mb-4",children:r}),p.jsxs("div",{ref:m,...g(),className:N("relative w-full rounded-lg border-[2px] border-dashed transition-all duration-200 h-36","flex flex-col items-center justify-center text-center",o==="default"?"p-8 min-h-[200px]":"p-1 min-h-[120px] h-24 md:h-36",!v&&!T&&!s&&["border-neutral-default-default","hover:border-primary/50 hover:bg-primary/5"],v&&!x&&["border-primary bg-primary/10","ring-2 ring-primary/20"],(x||T)&&["border-destructive bg-destructive/10","ring-2 ring-destructive/20"],s&&["cursor-not-allowed opacity-60","border-muted-foreground/20 bg-muted/30"]),children:[p.jsx("input",{...f()}),l&&p.jsx("div",{className:"mb-0.5 md:mb-4",children:T||x?p.jsx(je.Error,{size:24,className:" text-destructive"}):p.jsx(je.Upload,{size:24,className:N("w-8 h-8 transition-colors",v?"text-primary":"text-neutral-default-default")})}),p.jsxs("div",{className:"space-y-2",children:[p.jsx("p",{className:N("text-base font-medium text-neutral-default-default",T||x?"text-destructive":v?"text-primary ":"text-neutral-default-default text-sm font-[400]"),children:v&&!x?"Suelta los archivos aquí...":x||T?"Archivo no válido":i}),!T&&p.jsx("p",{className:"text-xs text-neutral-medium-default",children:a})]}),T&&p.jsx("div",{className:"mt-4 space-y-1",children:_.map(({file:w,errors:y})=>p.jsxs("div",{className:"text-sm text-destructive",children:[p.jsx("p",{className:"font-medium",children:w.name}),y.map(k=>p.jsx("p",{className:"text-xs",children:k.message},k.code))]},w.name))})]})]})});Zl.displayName="DropZone",B.Avatar=Ca,B.Badge=ta,B.Button=nc,B.CardProfile=Qn,B.ChangueAccount=ka,B.CheckboxFormik=rc,B.CompanyLogo=Rf,B.DialogModal=ac,B.DrawerDesktop=Ro,B.DrawerMobile=Mo,B.DropZone=Zl,B.Header=_d,B.Icons=je,B.Input=Ud,B.InputFormik=Zd,B.LayoutGeneric=np,B.Logo=Vd,B.Menu=Yd,B.NavBarActions=Pf,B.NavbarCollapseButton=qf,B.NavbarLinks=Df,B.NavigationLink=Cf,B.Pagination=Xd,B.ProfileSection=kf,B.ProgressBar=Gd,B.SecondaryBar=yf,B.Select=Jd,B.Sidebar=Ef,B.SidebarProvider=Zo,B.Spinner=pi,B.TabLinks=Qd,B.Table=Io,B.TableBody=Lo,B.TableCaption=Wo,B.TableCell=Ho,B.TableFooter=zo,B.TableHead=Bo,B.TableHeader=Fo,B.TableRow=$o,B.TextArea=ep,B.useActionsNavbar=Af,B.useClickOutside=Lf,B.useDialogControl=Mf,B.useDrawerDesktop=If,B.useDrawerMobile=Ff,B.useNavbarCollapse=Nf,B.useSidebarState=Sf,Object.defineProperty(B,Symbol.toStringTag,{value:"Module"})}));