@sportflow/ui 0.0.5 → 0.1.0

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.
package/dist/index.umd.js CHANGED
@@ -1,13 +1,13 @@
1
- (function(A,h){typeof exports=="object"&&typeof module<"u"?h(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],h):(A=typeof globalThis<"u"?globalThis:A||self,h(A["sportflow-design-system"]={},A.React))})(this,(function(A,h){"use strict";function K(a){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(a){for(const l in a)if(l!=="default"){const f=Object.getOwnPropertyDescriptor(a,l);Object.defineProperty(n,l,f.get?f:{enumerable:!0,get:()=>a[l]})}}return n.default=a,Object.freeze(n)}const t=K(h);var Z={exports:{}},T={};var $;function ee(){if($)return T;$=1;var a=Symbol.for("react.transitional.element"),n=Symbol.for("react.fragment");function l(f,o,c){var d=null;if(c!==void 0&&(d=""+c),o.key!==void 0&&(d=""+o.key),"key"in o){c={};for(var i in o)i!=="key"&&(c[i]=o[i])}else c=o;return o=c.ref,{$$typeof:a,type:f,key:d,ref:o!==void 0?o:null,props:c}}return T.Fragment=n,T.jsx=l,T.jsxs=l,T}var j={};var z;function te(){return z||(z=1,process.env.NODE_ENV!=="production"&&(function(){function a(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===Ae?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case y:return"Fragment";case S:return"Profiler";case O:return"StrictMode";case Ee:return"Suspense";case he:return"SuspenseList";case ge:return"Activity"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case N:return"Portal";case de:return e.displayName||"Context";case fe:return(e._context.displayName||"Context")+".Consumer";case pe:var r=e.render;return e=e.displayName,e||(e=r.displayName||r.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case be:return r=e.displayName||null,r!==null?r:a(e.type)||"Memo";case P:r=e._payload,e=e._init;try{return a(e(r))}catch{}}return null}function n(e){return""+e}function l(e){try{n(e);var r=!1}catch{r=!0}if(r){r=console;var s=r.error,u=typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return s.call(r,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",u),n(e)}}function f(e){if(e===y)return"<>";if(typeof e=="object"&&e!==null&&e.$$typeof===P)return"<...>";try{var r=a(e);return r?"<"+r+">":"<...>"}catch{return"<...>"}}function o(){var e=F.A;return e===null?null:e.getOwner()}function c(){return Error("react-stack-top-frame")}function d(e){if(B.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return e.key!==void 0}function i(e,r){function s(){G||(G=!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)",r))}s.isReactWarning=!0,Object.defineProperty(e,"key",{get:s,configurable:!0})}function w(){var e=a(this.type);return H[e]||(H[e]=!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.")),e=this.props.ref,e!==void 0?e:null}function E(e,r,s,u,C,I){var m=s.ref;return e={$$typeof:g,type:e,key:r,props:s,_owner:u},(m!==void 0?m:null)!==null?Object.defineProperty(e,"ref",{enumerable:!1,get:w}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:C}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:I}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function _(e,r,s,u,C,I){var m=r.children;if(m!==void 0)if(u)if(we(m)){for(u=0;u<m.length;u++)R(m[u]);Object.freeze&&Object.freeze(m)}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 R(m);if(B.call(r,"key")){m=a(e);var x=Object.keys(r).filter(function(_e){return _e!=="key"});u=0<x.length?"{key: someKey, "+x.join(": ..., ")+": ...}":"{key: someKey}",Q[m+u]||(x=0<x.length?"{"+x.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
1
+ (function(re,K){typeof exports=="object"&&typeof module<"u"?K(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],K):(re=typeof globalThis<"u"?globalThis:re||self,K(re["sportflow-design-system"]={},re.React))})(this,(function(re,K){"use strict";function rs(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const h=rs(K);var Ye={exports:{}},Pe={};var qt;function ss(){if(qt)return Pe;qt=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function n(r,s,o){var i=null;if(o!==void 0&&(i=""+o),s.key!==void 0&&(i=""+s.key),"key"in s){o={};for(var a in s)a!=="key"&&(o[a]=s[a])}else o=s;return s=o.ref,{$$typeof:e,type:r,key:i,ref:s!==void 0?s:null,props:o}}return Pe.Fragment=t,Pe.jsx=n,Pe.jsxs=n,Pe}var Oe={};var Ht;function os(){return Ht||(Ht=1,process.env.NODE_ENV!=="production"&&(function(){function e(d){if(d==null)return null;if(typeof d=="function")return d.$$typeof===W?null:d.displayName||d.name||null;if(typeof d=="string")return d;switch(d){case T:return"Fragment";case D:return"Profiler";case S:return"StrictMode";case R:return"Suspense";case I:return"SuspenseList";case B:return"Activity"}if(typeof d=="object")switch(typeof d.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),d.$$typeof){case A:return"Portal";case O:return d.displayName||"Context";case P:return(d._context.displayName||"Context")+".Consumer";case x:var M=d.render;return d=d.displayName,d||(d=M.displayName||M.name||"",d=d!==""?"ForwardRef("+d+")":"ForwardRef"),d;case p:return M=d.displayName||null,M!==null?M:e(d.type)||"Memo";case V:M=d._payload,d=d._init;try{return e(d(M))}catch{}}return null}function t(d){return""+d}function n(d){try{t(d);var M=!1}catch{M=!0}if(M){M=console;var C=M.error,N=typeof Symbol=="function"&&Symbol.toStringTag&&d[Symbol.toStringTag]||d.constructor.name||"Object";return C.call(M,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",N),t(d)}}function r(d){if(d===T)return"<>";if(typeof d=="object"&&d!==null&&d.$$typeof===V)return"<...>";try{var M=e(d);return M?"<"+M+">":"<...>"}catch{return"<...>"}}function s(){var d=H.A;return d===null?null:d.getOwner()}function o(){return Error("react-stack-top-frame")}function i(d){if(ee.call(d,"key")){var M=Object.getOwnPropertyDescriptor(d,"key").get;if(M&&M.isReactWarning)return!1}return d.key!==void 0}function a(d,M){function C(){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)",M))}C.isReactWarning=!0,Object.defineProperty(d,"key",{get:C,configurable:!0})}function l(){var d=e(this.type);return L[d]||(L[d]=!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.")),d=this.props.ref,d!==void 0?d:null}function u(d,M,C,N,G,ne){var E=C.ref;return d={$$typeof:v,type:d,key:M,props:C,_owner:N},(E!==void 0?E:null)!==null?Object.defineProperty(d,"ref",{enumerable:!1,get:l}):Object.defineProperty(d,"ref",{enumerable:!1,value:null}),d._store={},Object.defineProperty(d._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(d,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(d,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:G}),Object.defineProperty(d,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:ne}),Object.freeze&&(Object.freeze(d.props),Object.freeze(d)),d}function c(d,M,C,N,G,ne){var E=M.children;if(E!==void 0)if(N)if(Re(E)){for(N=0;N<E.length;N++)f(E[N]);Object.freeze&&Object.freeze(E)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else f(E);if(ee.call(M,"key")){E=e(d);var Y=Object.keys(M).filter(function(Fe){return Fe!=="key"});N=0<Y.length?"{key: someKey, "+Y.join(": ..., ")+": ...}":"{key: someKey}",fe[E+N]||(Y=0<Y.length?"{"+Y.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
2
2
  let props = %s;
3
3
  <%s {...props} />
4
4
  React keys must be passed directly to JSX without using spread:
5
5
  let props = %s;
6
- <%s key={someKey} {...props} />`,u,m,x,m),Q[m+u]=!0)}if(m=null,s!==void 0&&(l(s),m=""+s),d(r)&&(l(r.key),m=""+r.key),"key"in r){s={};for(var Y in r)Y!=="key"&&(s[Y]=r[Y])}else s=r;return m&&i(s,typeof e=="function"?e.displayName||e.name||"Unknown":e),E(e,m,s,o(),C,I)}function R(e){b(e)?e._store&&(e._store.validated=1):typeof e=="object"&&e!==null&&e.$$typeof===P&&(e._payload.status==="fulfilled"?b(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1))}function b(e){return typeof e=="object"&&e!==null&&e.$$typeof===g}var v=h,g=Symbol.for("react.transitional.element"),N=Symbol.for("react.portal"),y=Symbol.for("react.fragment"),O=Symbol.for("react.strict_mode"),S=Symbol.for("react.profiler"),fe=Symbol.for("react.consumer"),de=Symbol.for("react.context"),pe=Symbol.for("react.forward_ref"),Ee=Symbol.for("react.suspense"),he=Symbol.for("react.suspense_list"),be=Symbol.for("react.memo"),P=Symbol.for("react.lazy"),ge=Symbol.for("react.activity"),Ae=Symbol.for("react.client.reference"),F=v.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,B=Object.prototype.hasOwnProperty,we=Array.isArray,L=console.createTask?console.createTask:function(){return null};v={react_stack_bottom_frame:function(e){return e()}};var G,H={},J=v.react_stack_bottom_frame.bind(v,c)(),X=L(f(c)),Q={};j.Fragment=y,j.jsx=function(e,r,s){var u=1e4>F.recentlyCreatedOwnerStacks++;return _(e,r,s,!1,u?Error("react-stack-top-frame"):J,u?L(f(e)):X)},j.jsxs=function(e,r,s){var u=1e4>F.recentlyCreatedOwnerStacks++;return _(e,r,s,!0,u?Error("react-stack-top-frame"):J,u?L(f(e)):X)}})()),j}var D;function re(){return D||(D=1,process.env.NODE_ENV==="production"?Z.exports=ee():Z.exports=te()),Z.exports}var p=re();function ae({text:a,icon:n,iconPosition:l="left",href:f,disabled:o=!1,handleOnClick:c,btnColor:d,textColor:i="text-black",fullWidth:w=!1,border:E,rounded:_="rounded-none",extraClassName:R}){const b=S=>S?.includes("[")&&S?.includes("]")||!1,v=["flex","h-12","px-4","py-2","text-xl","font-semibold","uppercase","duration-300","items-center","justify-center","transition-colors",w?"w-full":"w-fit",o?"!bg-gray-300 !opacity-40 !cursor-not-allowed shadow-inner":"cursor-pointer"],g={backgroundColor:d||"bg-white",borderColor:E,textColor:i,borderWidth:E?"border-2":"",rounded:_},N=[...v,g.backgroundColor,g.borderWidth,g.borderColor,g.textColor,g.rounded,R].filter(Boolean).join(" ").replace(/\s+/g," ").trim(),y={...d&&b(d)&&{backgroundColor:d.match(/\[(.*?)\]/)?.[1]},...E&&b(E)&&{borderColor:E.match(/\[(.*?)\]/)?.[1]},...i&&b(i)&&{color:i.match(/\[(.*?)\]/)?.[1]}},O=p.jsxs("span",{className:`flex gap-2 justify-center items-center ${b(i)?"":i}`,style:i&&b(i)?{color:i.match(/\[(.*?)\]/)?.[1]}:{},children:[n&&l==="left"&&p.jsx("span",{"data-testid":"icon-left",children:h.createElement(n,{size:24,weight:"bold"})}),a,n&&l==="right"&&p.jsx("span",{"data-testid":"icon-right",children:h.createElement(n,{size:24,weight:"bold"})})]});return f&&!o?p.jsx("a",{className:N,style:y,href:f,target:"_blank",rel:"noopener noreferrer",onClick:c,children:O}):p.jsx("button",{className:N,style:y,disabled:o,type:"button",onClick:c,children:O})}const ne=new Map([["bold",t.createElement(t.Fragment,null,t.createElement("path",{d:"M168.49,199.51a12,12,0,0,1-17,17l-80-80a12,12,0,0,1,0-17l80-80a12,12,0,0,1,17,17L97,128Z"}))],["duotone",t.createElement(t.Fragment,null,t.createElement("path",{d:"M160,48V208L80,128Z",opacity:"0.2"}),t.createElement("path",{d:"M163.06,40.61a8,8,0,0,0-8.72,1.73l-80,80a8,8,0,0,0,0,11.32l80,80A8,8,0,0,0,168,208V48A8,8,0,0,0,163.06,40.61ZM152,188.69,91.31,128,152,67.31Z"}))],["fill",t.createElement(t.Fragment,null,t.createElement("path",{d:"M168,48V208a8,8,0,0,1-13.66,5.66l-80-80a8,8,0,0,1,0-11.32l80-80A8,8,0,0,1,168,48Z"}))],["light",t.createElement(t.Fragment,null,t.createElement("path",{d:"M164.24,203.76a6,6,0,1,1-8.48,8.48l-80-80a6,6,0,0,1,0-8.48l80-80a6,6,0,0,1,8.48,8.48L88.49,128Z"}))],["regular",t.createElement(t.Fragment,null,t.createElement("path",{d:"M165.66,202.34a8,8,0,0,1-11.32,11.32l-80-80a8,8,0,0,1,0-11.32l80-80a8,8,0,0,1,11.32,11.32L91.31,128Z"}))],["thin",t.createElement(t.Fragment,null,t.createElement("path",{d:"M162.83,205.17a4,4,0,0,1-5.66,5.66l-80-80a4,4,0,0,1,0-5.66l80-80a4,4,0,1,1,5.66,5.66L85.66,128Z"}))]]),le=new Map([["bold",t.createElement(t.Fragment,null,t.createElement("path",{d:"M184.49,136.49l-80,80a12,12,0,0,1-17-17L159,128,87.51,56.49a12,12,0,1,1,17-17l80,80A12,12,0,0,1,184.49,136.49Z"}))],["duotone",t.createElement(t.Fragment,null,t.createElement("path",{d:"M176,128,96,208V48Z",opacity:"0.2"}),t.createElement("path",{d:"M181.66,122.34l-80-80A8,8,0,0,0,88,48V208a8,8,0,0,0,13.66,5.66l80-80A8,8,0,0,0,181.66,122.34ZM104,188.69V67.31L164.69,128Z"}))],["fill",t.createElement(t.Fragment,null,t.createElement("path",{d:"M181.66,133.66l-80,80A8,8,0,0,1,88,208V48a8,8,0,0,1,13.66-5.66l80,80A8,8,0,0,1,181.66,133.66Z"}))],["light",t.createElement(t.Fragment,null,t.createElement("path",{d:"M180.24,132.24l-80,80a6,6,0,0,1-8.48-8.48L167.51,128,91.76,52.24a6,6,0,0,1,8.48-8.48l80,80A6,6,0,0,1,180.24,132.24Z"}))],["regular",t.createElement(t.Fragment,null,t.createElement("path",{d:"M181.66,133.66l-80,80a8,8,0,0,1-11.32-11.32L164.69,128,90.34,53.66a8,8,0,0,1,11.32-11.32l80,80A8,8,0,0,1,181.66,133.66Z"}))],["thin",t.createElement(t.Fragment,null,t.createElement("path",{d:"M178.83,130.83l-80,80a4,4,0,0,1-5.66-5.66L170.34,128,93.17,50.83a4,4,0,0,1,5.66-5.66l80,80A4,4,0,0,1,178.83,130.83Z"}))]]),oe=new Map([["bold",t.createElement(t.Fragment,null,t.createElement("path",{d:"M176.49,95.51a12,12,0,0,1,0,17l-56,56a12,12,0,0,1-17,0l-24-24a12,12,0,1,1,17-17L112,143l47.51-47.52A12,12,0,0,1,176.49,95.51ZM236,128A108,108,0,1,1,128,20,108.12,108.12,0,0,1,236,128Zm-24,0a84,84,0,1,0-84,84A84.09,84.09,0,0,0,212,128Z"}))],["duotone",t.createElement(t.Fragment,null,t.createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),t.createElement("path",{d:"M173.66,98.34a8,8,0,0,1,0,11.32l-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35A8,8,0,0,1,173.66,98.34ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"}))],["fill",t.createElement(t.Fragment,null,t.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm45.66,85.66-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35a8,8,0,0,1,11.32,11.32Z"}))],["light",t.createElement(t.Fragment,null,t.createElement("path",{d:"M172.24,99.76a6,6,0,0,1,0,8.48l-56,56a6,6,0,0,1-8.48,0l-24-24a6,6,0,0,1,8.48-8.48L112,151.51l51.76-51.75A6,6,0,0,1,172.24,99.76ZM230,128A102,102,0,1,1,128,26,102.12,102.12,0,0,1,230,128Zm-12,0a90,90,0,1,0-90,90A90.1,90.1,0,0,0,218,128Z"}))],["regular",t.createElement(t.Fragment,null,t.createElement("path",{d:"M173.66,98.34a8,8,0,0,1,0,11.32l-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35A8,8,0,0,1,173.66,98.34ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"}))],["thin",t.createElement(t.Fragment,null,t.createElement("path",{d:"M170.83,101.17a4,4,0,0,1,0,5.66l-56,56a4,4,0,0,1-5.66,0l-24-24a4,4,0,0,1,5.66-5.66L112,154.34l53.17-53.17A4,4,0,0,1,170.83,101.17ZM228,128A100,100,0,1,1,128,28,100.11,100.11,0,0,1,228,128Zm-8,0a92,92,0,1,0-92,92A92.1,92.1,0,0,0,220,128Z"}))]]),se=new Map([["bold",t.createElement(t.Fragment,null,t.createElement("path",{d:"M180,128a12,12,0,0,1-12,12H88a12,12,0,0,1,0-24h80A12,12,0,0,1,180,128Zm56,0A108,108,0,1,1,128,20,108.12,108.12,0,0,1,236,128Zm-24,0a84,84,0,1,0-84,84A84.09,84.09,0,0,0,212,128Z"}))],["duotone",t.createElement(t.Fragment,null,t.createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),t.createElement("path",{d:"M176,128a8,8,0,0,1-8,8H88a8,8,0,0,1,0-16h80A8,8,0,0,1,176,128Zm56,0A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"}))],["fill",t.createElement(t.Fragment,null,t.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm40,112H88a8,8,0,0,1,0-16h80a8,8,0,0,1,0,16Z"}))],["light",t.createElement(t.Fragment,null,t.createElement("path",{d:"M174,128a6,6,0,0,1-6,6H88a6,6,0,0,1,0-12h80A6,6,0,0,1,174,128Zm56,0A102,102,0,1,1,128,26,102.12,102.12,0,0,1,230,128Zm-12,0a90,90,0,1,0-90,90A90.1,90.1,0,0,0,218,128Z"}))],["regular",t.createElement(t.Fragment,null,t.createElement("path",{d:"M176,128a8,8,0,0,1-8,8H88a8,8,0,0,1,0-16h80A8,8,0,0,1,176,128Zm56,0A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"}))],["thin",t.createElement(t.Fragment,null,t.createElement("path",{d:"M172,128a4,4,0,0,1-4,4H88a4,4,0,0,1,0-8h80A4,4,0,0,1,172,128Zm56,0A100,100,0,1,1,128,28,100.11,100.11,0,0,1,228,128Zm-8,0a92,92,0,1,0-92,92A92.1,92.1,0,0,0,220,128Z"}))]]),ce=h.createContext({color:"currentColor",size:"1em",weight:"regular",mirrored:!1}),k=t.forwardRef((a,n)=>{const{alt:l,color:f,size:o,weight:c,mirrored:d,children:i,weights:w,...E}=a,{color:_="currentColor",size:R,weight:b="regular",mirrored:v=!1,...g}=t.useContext(ce);return t.createElement("svg",{ref:n,xmlns:"http://www.w3.org/2000/svg",width:o??R,height:o??R,fill:f??_,viewBox:"0 0 256 256",transform:d||v?"scale(-1, 1)":void 0,...g,...E},!!l&&t.createElement("title",null,l),i,w.get(c??b))});k.displayName="IconBase";const V=t.forwardRef((a,n)=>t.createElement(k,{ref:n,...a,weights:ne}));V.displayName="CaretLeftIcon";const W=t.forwardRef((a,n)=>t.createElement(k,{ref:n,...a,weights:le}));W.displayName="CaretRightIcon";const U=t.forwardRef((a,n)=>t.createElement(k,{ref:n,...a,weights:oe}));U.displayName="CheckCircleIcon";const q=t.forwardRef((a,n)=>t.createElement(k,{ref:n,...a,weights:se}));q.displayName="MinusCircleIcon";const M={number:/\d/,lowercase:/[a-z]/,uppercase:/[A-Z]/,specialChar:/[!@#$%^&*()_+\-=[\]{};':"\\|,.<>/?~`]/},ie={length:"Contiene 8 caracteres",number:"Contiene un número",lowercase:"Contiene una letra minúscula",uppercase:"Contiene una letra mayúscula",specialChar:"Contiene un carácter especial"};function ue({password:a,color:n="text-gray-600"}){const l=String(a),f=h.useMemo(()=>({length:l.length>=8,number:M.number.test(l),lowercase:M.lowercase.test(l),uppercase:M.uppercase.test(l),specialChar:M.specialChar.test(l)}),[l]),o=Object.entries(f);return p.jsx("div",{className:"absolute bottom-full z-10 mb-2 w-full border border-gray-600 bg-white p-2",role:"password-tooltip","aria-label":"Requisitos de contraseña",children:o.map(([c,d])=>p.jsxs("div",{className:"mt-1 flex items-center gap-2",children:[d?p.jsx(U,{className:"text-green-500",size:20}):p.jsx(q,{className:n,size:20}),p.jsx("p",{className:`text-sm ${d?"text-green-500":n}`,children:ie[c]})]},c))})}function me({currentPage:a,totalPages:n,onPageChange:l,className:f="",disabled:o=!1}){const c=a===0,d=a===n-1,i=!c&&!o,w=!d&&!o,E=()=>{i&&l(a-1)},_=()=>{w&&l(a+1)};return p.jsxs("div",{className:`flex items-center justify-center ${f}`,children:[p.jsx("button",{type:"button",onClick:E,disabled:!i,"aria-label":"Previous",className:`
6
+ <%s key={someKey} {...props} />`,N,E,Y,E),fe[E+N]=!0)}if(E=null,C!==void 0&&(n(C),E=""+C),i(M)&&(n(M.key),E=""+M.key),"key"in M){C={};for(var X in M)X!=="key"&&(C[X]=M[X])}else C=M;return E&&a(C,typeof d=="function"?d.displayName||d.name||"Unknown":d),u(d,E,C,s(),G,ne)}function f(d){m(d)?d._store&&(d._store.validated=1):typeof d=="object"&&d!==null&&d.$$typeof===V&&(d._payload.status==="fulfilled"?m(d._payload.value)&&d._payload.value._store&&(d._payload.value._store.validated=1):d._store&&(d._store.validated=1))}function m(d){return typeof d=="object"&&d!==null&&d.$$typeof===v}var w=K,v=Symbol.for("react.transitional.element"),A=Symbol.for("react.portal"),T=Symbol.for("react.fragment"),S=Symbol.for("react.strict_mode"),D=Symbol.for("react.profiler"),P=Symbol.for("react.consumer"),O=Symbol.for("react.context"),x=Symbol.for("react.forward_ref"),R=Symbol.for("react.suspense"),I=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),V=Symbol.for("react.lazy"),B=Symbol.for("react.activity"),W=Symbol.for("react.client.reference"),H=w.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ee=Object.prototype.hasOwnProperty,Re=Array.isArray,te=console.createTask?console.createTask:function(){return null};w={react_stack_bottom_frame:function(d){return d()}};var U,L={},y=w.react_stack_bottom_frame.bind(w,o)(),de=te(r(o)),fe={};Oe.Fragment=T,Oe.jsx=function(d,M,C){var N=1e4>H.recentlyCreatedOwnerStacks++;return c(d,M,C,!1,N?Error("react-stack-top-frame"):y,N?te(r(d)):de)},Oe.jsxs=function(d,M,C){var N=1e4>H.recentlyCreatedOwnerStacks++;return c(d,M,C,!0,N?Error("react-stack-top-frame"):y,N?te(r(d)):de)}})()),Oe}var Jt;function is(){return Jt||(Jt=1,process.env.NODE_ENV==="production"?Ye.exports=ss():Ye.exports=os()),Ye.exports}var $=is();function as({text:e,icon:t,iconPosition:n="left",href:r,disabled:s=!1,handleOnClick:o,btnColor:i,textColor:a="text-black",fullWidth:l=!1,border:u,rounded:c="rounded-none",extraClassName:f}){const m=D=>D?.includes("[")&&D?.includes("]")||!1,w=["flex","h-12","px-4","py-2","text-xl","font-semibold","uppercase","duration-300","items-center","justify-center","transition-colors",l?"w-full":"w-fit",s?"!bg-gray-300 !opacity-40 !cursor-not-allowed shadow-inner":"cursor-pointer"],v={backgroundColor:i||"bg-white",borderColor:u,textColor:a,borderWidth:u?"border-2":"",rounded:c},A=[...w,v.backgroundColor,v.borderWidth,v.borderColor,v.textColor,v.rounded,f].filter(Boolean).join(" ").replace(/\s+/g," ").trim(),T={...i&&m(i)&&{backgroundColor:i.match(/\[(.*?)\]/)?.[1]},...u&&m(u)&&{borderColor:u.match(/\[(.*?)\]/)?.[1]},...a&&m(a)&&{color:a.match(/\[(.*?)\]/)?.[1]}},S=$.jsxs("span",{className:`flex gap-2 justify-center items-center ${m(a)?"":a}`,style:a&&m(a)?{color:a.match(/\[(.*?)\]/)?.[1]}:{},children:[t&&n==="left"&&$.jsx("span",{"data-testid":"icon-left",children:K.createElement(t,{size:24,weight:"bold"})}),e,t&&n==="right"&&$.jsx("span",{"data-testid":"icon-right",children:K.createElement(t,{size:24,weight:"bold"})})]});return r&&!s?$.jsx("a",{className:A,style:T,href:r,target:"_blank",rel:"noopener noreferrer",onClick:o,children:S}):$.jsx("button",{className:A,style:T,disabled:s,type:"button",onClick:o,children:S})}const ls=new Map([["bold",h.createElement(h.Fragment,null,h.createElement("path",{d:"M168.49,199.51a12,12,0,0,1-17,17l-80-80a12,12,0,0,1,0-17l80-80a12,12,0,0,1,17,17L97,128Z"}))],["duotone",h.createElement(h.Fragment,null,h.createElement("path",{d:"M160,48V208L80,128Z",opacity:"0.2"}),h.createElement("path",{d:"M163.06,40.61a8,8,0,0,0-8.72,1.73l-80,80a8,8,0,0,0,0,11.32l80,80A8,8,0,0,0,168,208V48A8,8,0,0,0,163.06,40.61ZM152,188.69,91.31,128,152,67.31Z"}))],["fill",h.createElement(h.Fragment,null,h.createElement("path",{d:"M168,48V208a8,8,0,0,1-13.66,5.66l-80-80a8,8,0,0,1,0-11.32l80-80A8,8,0,0,1,168,48Z"}))],["light",h.createElement(h.Fragment,null,h.createElement("path",{d:"M164.24,203.76a6,6,0,1,1-8.48,8.48l-80-80a6,6,0,0,1,0-8.48l80-80a6,6,0,0,1,8.48,8.48L88.49,128Z"}))],["regular",h.createElement(h.Fragment,null,h.createElement("path",{d:"M165.66,202.34a8,8,0,0,1-11.32,11.32l-80-80a8,8,0,0,1,0-11.32l80-80a8,8,0,0,1,11.32,11.32L91.31,128Z"}))],["thin",h.createElement(h.Fragment,null,h.createElement("path",{d:"M162.83,205.17a4,4,0,0,1-5.66,5.66l-80-80a4,4,0,0,1,0-5.66l80-80a4,4,0,1,1,5.66,5.66L85.66,128Z"}))]]),cs=new Map([["bold",h.createElement(h.Fragment,null,h.createElement("path",{d:"M184.49,136.49l-80,80a12,12,0,0,1-17-17L159,128,87.51,56.49a12,12,0,1,1,17-17l80,80A12,12,0,0,1,184.49,136.49Z"}))],["duotone",h.createElement(h.Fragment,null,h.createElement("path",{d:"M176,128,96,208V48Z",opacity:"0.2"}),h.createElement("path",{d:"M181.66,122.34l-80-80A8,8,0,0,0,88,48V208a8,8,0,0,0,13.66,5.66l80-80A8,8,0,0,0,181.66,122.34ZM104,188.69V67.31L164.69,128Z"}))],["fill",h.createElement(h.Fragment,null,h.createElement("path",{d:"M181.66,133.66l-80,80A8,8,0,0,1,88,208V48a8,8,0,0,1,13.66-5.66l80,80A8,8,0,0,1,181.66,133.66Z"}))],["light",h.createElement(h.Fragment,null,h.createElement("path",{d:"M180.24,132.24l-80,80a6,6,0,0,1-8.48-8.48L167.51,128,91.76,52.24a6,6,0,0,1,8.48-8.48l80,80A6,6,0,0,1,180.24,132.24Z"}))],["regular",h.createElement(h.Fragment,null,h.createElement("path",{d:"M181.66,133.66l-80,80a8,8,0,0,1-11.32-11.32L164.69,128,90.34,53.66a8,8,0,0,1,11.32-11.32l80,80A8,8,0,0,1,181.66,133.66Z"}))],["thin",h.createElement(h.Fragment,null,h.createElement("path",{d:"M178.83,130.83l-80,80a4,4,0,0,1-5.66-5.66L170.34,128,93.17,50.83a4,4,0,0,1,5.66-5.66l80,80A4,4,0,0,1,178.83,130.83Z"}))]]),us=new Map([["bold",h.createElement(h.Fragment,null,h.createElement("path",{d:"M176.49,95.51a12,12,0,0,1,0,17l-56,56a12,12,0,0,1-17,0l-24-24a12,12,0,1,1,17-17L112,143l47.51-47.52A12,12,0,0,1,176.49,95.51ZM236,128A108,108,0,1,1,128,20,108.12,108.12,0,0,1,236,128Zm-24,0a84,84,0,1,0-84,84A84.09,84.09,0,0,0,212,128Z"}))],["duotone",h.createElement(h.Fragment,null,h.createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),h.createElement("path",{d:"M173.66,98.34a8,8,0,0,1,0,11.32l-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35A8,8,0,0,1,173.66,98.34ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"}))],["fill",h.createElement(h.Fragment,null,h.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm45.66,85.66-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35a8,8,0,0,1,11.32,11.32Z"}))],["light",h.createElement(h.Fragment,null,h.createElement("path",{d:"M172.24,99.76a6,6,0,0,1,0,8.48l-56,56a6,6,0,0,1-8.48,0l-24-24a6,6,0,0,1,8.48-8.48L112,151.51l51.76-51.75A6,6,0,0,1,172.24,99.76ZM230,128A102,102,0,1,1,128,26,102.12,102.12,0,0,1,230,128Zm-12,0a90,90,0,1,0-90,90A90.1,90.1,0,0,0,218,128Z"}))],["regular",h.createElement(h.Fragment,null,h.createElement("path",{d:"M173.66,98.34a8,8,0,0,1,0,11.32l-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35A8,8,0,0,1,173.66,98.34ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"}))],["thin",h.createElement(h.Fragment,null,h.createElement("path",{d:"M170.83,101.17a4,4,0,0,1,0,5.66l-56,56a4,4,0,0,1-5.66,0l-24-24a4,4,0,0,1,5.66-5.66L112,154.34l53.17-53.17A4,4,0,0,1,170.83,101.17ZM228,128A100,100,0,1,1,128,28,100.11,100.11,0,0,1,228,128Zm-8,0a92,92,0,1,0-92,92A92.1,92.1,0,0,0,220,128Z"}))]]),ds=new Map([["bold",h.createElement(h.Fragment,null,h.createElement("path",{d:"M180,128a12,12,0,0,1-12,12H88a12,12,0,0,1,0-24h80A12,12,0,0,1,180,128Zm56,0A108,108,0,1,1,128,20,108.12,108.12,0,0,1,236,128Zm-24,0a84,84,0,1,0-84,84A84.09,84.09,0,0,0,212,128Z"}))],["duotone",h.createElement(h.Fragment,null,h.createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),h.createElement("path",{d:"M176,128a8,8,0,0,1-8,8H88a8,8,0,0,1,0-16h80A8,8,0,0,1,176,128Zm56,0A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"}))],["fill",h.createElement(h.Fragment,null,h.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm40,112H88a8,8,0,0,1,0-16h80a8,8,0,0,1,0,16Z"}))],["light",h.createElement(h.Fragment,null,h.createElement("path",{d:"M174,128a6,6,0,0,1-6,6H88a6,6,0,0,1,0-12h80A6,6,0,0,1,174,128Zm56,0A102,102,0,1,1,128,26,102.12,102.12,0,0,1,230,128Zm-12,0a90,90,0,1,0-90,90A90.1,90.1,0,0,0,218,128Z"}))],["regular",h.createElement(h.Fragment,null,h.createElement("path",{d:"M176,128a8,8,0,0,1-8,8H88a8,8,0,0,1,0-16h80A8,8,0,0,1,176,128Zm56,0A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"}))],["thin",h.createElement(h.Fragment,null,h.createElement("path",{d:"M172,128a4,4,0,0,1-4,4H88a4,4,0,0,1,0-8h80A4,4,0,0,1,172,128Zm56,0A100,100,0,1,1,128,28,100.11,100.11,0,0,1,228,128Zm-8,0a92,92,0,1,0-92,92A92.1,92.1,0,0,0,220,128Z"}))]]),fs=K.createContext({color:"currentColor",size:"1em",weight:"regular",mirrored:!1}),Ne=h.forwardRef((e,t)=>{const{alt:n,color:r,size:s,weight:o,mirrored:i,children:a,weights:l,...u}=e,{color:c="currentColor",size:f,weight:m="regular",mirrored:w=!1,...v}=h.useContext(fs);return h.createElement("svg",{ref:t,xmlns:"http://www.w3.org/2000/svg",width:s??f,height:s??f,fill:r??c,viewBox:"0 0 256 256",transform:i||w?"scale(-1, 1)":void 0,...v,...u},!!n&&h.createElement("title",null,n),a,l.get(o??m))});Ne.displayName="IconBase";const Qt=h.forwardRef((e,t)=>h.createElement(Ne,{ref:t,...e,weights:ls}));Qt.displayName="CaretLeftIcon";const en=h.forwardRef((e,t)=>h.createElement(Ne,{ref:t,...e,weights:cs}));en.displayName="CaretRightIcon";const tn=h.forwardRef((e,t)=>h.createElement(Ne,{ref:t,...e,weights:us}));tn.displayName="CheckCircleIcon";const nn=h.forwardRef((e,t)=>h.createElement(Ne,{ref:t,...e,weights:ds}));nn.displayName="MinusCircleIcon";const Ue={number:/\d/,lowercase:/[a-z]/,uppercase:/[A-Z]/,specialChar:/[!@#$%^&*()_+\-=[\]{};':"\\|,.<>/?~`]/},ms={length:"Contiene 8 caracteres",number:"Contiene un número",lowercase:"Contiene una letra minúscula",uppercase:"Contiene una letra mayúscula",specialChar:"Contiene un carácter especial"};function hs({password:e,color:t="text-gray-600"}){const n=String(e),r=K.useMemo(()=>({length:n.length>=8,number:Ue.number.test(n),lowercase:Ue.lowercase.test(n),uppercase:Ue.uppercase.test(n),specialChar:Ue.specialChar.test(n)}),[n]),s=Object.entries(r);return $.jsx("div",{className:"absolute bottom-full z-10 mb-2 w-full border border-gray-600 bg-white p-2",role:"password-tooltip","aria-label":"Requisitos de contraseña",children:s.map(([o,i])=>$.jsxs("div",{className:"mt-1 flex items-center gap-2",children:[i?$.jsx(tn,{className:"text-green-500",size:20}):$.jsx(nn,{className:t,size:20}),$.jsx("p",{className:`text-sm ${i?"text-green-500":t}`,children:ms[o]})]},o))})}function ps({currentPage:e,totalPages:t,onPageChange:n,className:r="",disabled:s=!1}){const o=e===0,i=e===t-1,a=!o&&!s,l=!i&&!s,u=()=>{a&&n(e-1)},c=()=>{l&&n(e+1)};return $.jsxs("div",{className:`flex items-center justify-center ${r}`,children:[$.jsx("button",{type:"button",onClick:u,disabled:!a,"aria-label":"Previous",className:`
7
7
  transition-colors rounded-full
8
- ${i?"text-black cursor-pointer":"text-gray-300 cursor-not-allowed"}
9
- `,children:p.jsx(V,{size:16,weight:"bold"})}),n>1&&p.jsxs("span",{className:"text-sm font-bold text-black min-w-12 text-center",children:[a+1," / ",n]}),p.jsx("button",{type:"button",onClick:_,disabled:!w,"aria-label":"Next",className:`
8
+ ${a?"text-black cursor-pointer":"text-gray-300 cursor-not-allowed"}
9
+ `,children:$.jsx(Qt,{size:16,weight:"bold"})}),t>1&&$.jsxs("span",{className:"text-sm font-bold text-black min-w-12 text-center",children:[e+1," / ",t]}),$.jsx("button",{type:"button",onClick:c,disabled:!l,"aria-label":"Next",className:`
10
10
  transition-colors rounded-full
11
- ${w?"text-black cursor-pointer":"text-gray-300 cursor-not-allowed"}
12
- `,children:p.jsx(W,{size:16,weight:"bold"})})]})}A.Button=ae,A.Navigation=me,A.PasswordTooltip=ue,Object.defineProperty(A,Symbol.toStringTag,{value:"Module"})}));
11
+ ${l?"text-black cursor-pointer":"text-gray-300 cursor-not-allowed"}
12
+ `,children:$.jsx(en,{size:16,weight:"bold"})})]})}const rn=typeof window<"u",gs=rn?K.useLayoutEffect:K.useEffect;function bs(e,t){e.indexOf(t)===-1&&e.push(t)}function sn(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const me=(e,t,n)=>n>t?t:n<e?e:n;function ot(e,t){return t?`${e}. For more information and steps for solving, visit https://motion.dev/troubleshooting/${t}`:e}let De=()=>{},se=()=>{};process.env.NODE_ENV!=="production"&&(De=(e,t,n)=>{!e&&typeof console<"u"&&console.warn(ot(t,n))},se=(e,t,n)=>{if(!e)throw new Error(ot(t,n))});const oe={},on=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function ys(e){return typeof e=="object"&&e!==null}const an=e=>/^0[^.\s]+$/u.test(e);function it(e){let t;return()=>(t===void 0&&(t=e()),t)}const we=e=>e,ws=(e,t)=>n=>t(e(n)),at=(...e)=>e.reduce(ws),lt=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r};class ln{constructor(){this.subscriptions=[]}add(t){return bs(this.subscriptions,t),()=>sn(this.subscriptions,t)}notify(t,n,r){const s=this.subscriptions.length;if(s)if(s===1)this.subscriptions[0](t,n,r);else for(let o=0;o<s;o++){const i=this.subscriptions[o];i&&i(t,n,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const J=e=>e*1e3,Q=e=>e/1e3;function cn(e,t){return t?e*(1e3/t):0}const un=new Set;function dn(e,t,n){e||un.has(t)||(console.warn(ot(t,n)),un.add(t))}const xs=(e,t,n)=>{const r=t-e;return((n-e)%r+r)%r+e},fn=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,vs=1e-7,Ts=12;function As(e,t,n,r,s){let o,i,a=0;do i=t+(n-t)/2,o=fn(i,r,s)-e,o>0?n=i:t=i;while(Math.abs(o)>vs&&++a<Ts);return i}function Ie(e,t,n,r){if(e===t&&n===r)return we;const s=o=>As(o,0,1,e,n);return o=>o===0||o===1?o:fn(s(o),t,r)}const mn=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,hn=e=>t=>1-e(1-t),pn=Ie(.33,1.53,.69,.99),ct=hn(pn),gn=mn(ct),bn=e=>(e*=2)<1?.5*ct(e):.5*(2-Math.pow(2,-10*(e-1))),ut=e=>1-Math.sin(Math.acos(e)),ks=hn(ut),yn=mn(ut),Ss=Ie(.42,0,1,1),Ms=Ie(0,0,.58,1),wn=Ie(.42,0,.58,1),xn=e=>Array.isArray(e)&&typeof e[0]!="number";function vn(e,t){return xn(e)?e[xs(0,e.length,t)]:e}const Tn=e=>Array.isArray(e)&&typeof e[0]=="number",An={linear:we,easeIn:Ss,easeInOut:wn,easeOut:Ms,circIn:ut,circInOut:yn,circOut:ks,backIn:ct,backInOut:gn,backOut:pn,anticipate:bn},Es=e=>typeof e=="string",kn=e=>{if(Tn(e)){se(e.length===4,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");const[t,n,r,s]=e;return Ie(t,n,r,s)}else if(Es(e))return se(An[e]!==void 0,`Invalid easing type '${e}'`,"invalid-easing-type"),An[e];return e},Xe=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function Vs(e,t){let n=new Set,r=new Set,s=!1,o=!1;const i=new WeakSet;let a={delta:0,timestamp:0,isProcessing:!1};function l(c){i.has(c)&&(u.schedule(c),e()),c(a)}const u={schedule:(c,f=!1,m=!1)=>{const v=m&&s?n:r;return f&&i.add(c),v.has(c)||v.add(c),c},cancel:c=>{r.delete(c),i.delete(c)},process:c=>{if(a=c,s){o=!0;return}s=!0,[n,r]=[r,n],n.forEach(l),n.clear(),s=!1,o&&(o=!1,u.process(c))}};return u}const Cs=40;function Sn(e,t){let n=!1,r=!0;const s={delta:0,timestamp:0,isProcessing:!1},o=()=>n=!0,i=Xe.reduce((P,O)=>(P[O]=Vs(o),P),{}),{setup:a,read:l,resolveKeyframes:u,preUpdate:c,update:f,preRender:m,render:w,postRender:v}=i,A=()=>{const P=oe.useManualTiming?s.timestamp:performance.now();n=!1,oe.useManualTiming||(s.delta=r?1e3/60:Math.max(Math.min(P-s.timestamp,Cs),1)),s.timestamp=P,s.isProcessing=!0,a.process(s),l.process(s),u.process(s),c.process(s),f.process(s),m.process(s),w.process(s),v.process(s),s.isProcessing=!1,n&&t&&(r=!1,e(A))},T=()=>{n=!0,r=!0,s.isProcessing||e(A)};return{schedule:Xe.reduce((P,O)=>{const x=i[O];return P[O]=(R,I=!1,p=!1)=>(n||T(),x.schedule(R,I,p)),P},{}),cancel:P=>{for(let O=0;O<Xe.length;O++)i[Xe[O]].cancel(P)},state:s,steps:i}}const{schedule:ie,cancel:dt,state:qe}=Sn(typeof requestAnimationFrame<"u"?requestAnimationFrame:we,!0);let He;function Rs(){He=void 0}const q={now:()=>(He===void 0&&q.set(qe.isProcessing||oe.useManualTiming?qe.timestamp:performance.now()),He),set:e=>{He=e,queueMicrotask(Rs)}},Mn=e=>t=>typeof t=="string"&&t.startsWith(e),En=Mn("--"),Fs=Mn("var(--"),ft=e=>Fs(e)?Ps.test(e.split("/*")[0].trim()):!1,Ps=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,xe={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},_e={...xe,transform:e=>me(0,1,e)},Je={...xe,default:1},je=e=>Math.round(e*1e5)/1e5,mt=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function Os(e){return e==null}const Ns=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,ht=(e,t)=>n=>!!(typeof n=="string"&&Ns.test(n)&&n.startsWith(e)||t&&!Os(n)&&Object.prototype.hasOwnProperty.call(n,t)),Vn=(e,t,n)=>r=>{if(typeof r!="string")return r;const[s,o,i,a]=r.match(mt);return{[e]:parseFloat(s),[t]:parseFloat(o),[n]:parseFloat(i),alpha:a!==void 0?parseFloat(a):1}},Ds=e=>me(0,255,e),pt={...xe,transform:e=>Math.round(Ds(e))},he={test:ht("rgb","red"),parse:Vn("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+pt.transform(e)+", "+pt.transform(t)+", "+pt.transform(n)+", "+je(_e.transform(r))+")"};function Is(e){let t="",n="",r="",s="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),s=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),s=e.substring(4,5),t+=t,n+=n,r+=r,s+=s),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:s?parseInt(s,16)/255:1}}const gt={test:ht("#"),parse:Is,transform:he.transform},ze=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),le=ze("deg"),ve=ze("%"),k=ze("px"),_s=ze("vh"),js=ze("vw"),Cn={...ve,parse:e=>ve.parse(e)/100,transform:e=>ve.transform(e*100)},Te={test:ht("hsl","hue"),parse:Vn("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+ve.transform(je(t))+", "+ve.transform(je(n))+", "+je(_e.transform(r))+")"},j={test:e=>he.test(e)||gt.test(e)||Te.test(e),parse:e=>he.test(e)?he.parse(e):Te.test(e)?Te.parse(e):gt.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?he.transform(e):Te.transform(e),getAnimatableNone:e=>{const t=j.parse(e);return t.alpha=0,j.transform(t)}},zs=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function Ls(e){return isNaN(e)&&typeof e=="string"&&(e.match(mt)?.length||0)+(e.match(zs)?.length||0)>0}const Rn="number",Fn="color",Bs="var",$s="var(",Pn="${}",Ks=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function Le(e){const t=e.toString(),n=[],r={color:[],number:[],var:[]},s=[];let o=0;const a=t.replace(Ks,l=>(j.test(l)?(r.color.push(o),s.push(Fn),n.push(j.parse(l))):l.startsWith($s)?(r.var.push(o),s.push(Bs),n.push(l)):(r.number.push(o),s.push(Rn),n.push(parseFloat(l))),++o,Pn)).split(Pn);return{values:n,split:a,indexes:r,types:s}}function On(e){return Le(e).values}function Nn(e){const{split:t,types:n}=Le(e),r=t.length;return s=>{let o="";for(let i=0;i<r;i++)if(o+=t[i],s[i]!==void 0){const a=n[i];a===Rn?o+=je(s[i]):a===Fn?o+=j.transform(s[i]):o+=s[i]}return o}}const Zs=e=>typeof e=="number"?0:j.test(e)?j.getAnimatableNone(e):e;function Ws(e){const t=On(e);return Nn(e)(t.map(Zs))}const ce={test:Ls,parse:On,createTransformer:Nn,getAnimatableNone:Ws};function bt(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function Gs({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let s=0,o=0,i=0;if(!t)s=o=i=n;else{const a=n<.5?n*(1+t):n+t-n*t,l=2*n-a;s=bt(l,a,e+1/3),o=bt(l,a,e),i=bt(l,a,e-1/3)}return{red:Math.round(s*255),green:Math.round(o*255),blue:Math.round(i*255),alpha:r}}function Qe(e,t){return n=>n>0?t:e}const Ae=(e,t,n)=>e+(t-e)*n,yt=(e,t,n)=>{const r=e*e,s=n*(t*t-r)+r;return s<0?0:Math.sqrt(s)},Ys=[gt,he,Te],Us=e=>Ys.find(t=>t.test(e));function Dn(e){const t=Us(e);if(De(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!t)return!1;let n=t.parse(e);return t===Te&&(n=Gs(n)),n}const In=(e,t)=>{const n=Dn(e),r=Dn(t);if(!n||!r)return Qe(e,t);const s={...n};return o=>(s.red=yt(n.red,r.red,o),s.green=yt(n.green,r.green,o),s.blue=yt(n.blue,r.blue,o),s.alpha=Ae(n.alpha,r.alpha,o),he.transform(s))},wt=new Set(["none","hidden"]);function Xs(e,t){return wt.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function qs(e,t){return n=>Ae(e,t,n)}function xt(e){return typeof e=="number"?qs:typeof e=="string"?ft(e)?Qe:j.test(e)?In:Qs:Array.isArray(e)?_n:typeof e=="object"?j.test(e)?In:Hs:Qe}function _n(e,t){const n=[...e],r=n.length,s=e.map((o,i)=>xt(o)(o,t[i]));return o=>{for(let i=0;i<r;i++)n[i]=s[i](o);return n}}function Hs(e,t){const n={...e,...t},r={};for(const s in n)e[s]!==void 0&&t[s]!==void 0&&(r[s]=xt(e[s])(e[s],t[s]));return s=>{for(const o in r)n[o]=r[o](s);return n}}function Js(e,t){const n=[],r={color:0,var:0,number:0};for(let s=0;s<t.values.length;s++){const o=t.types[s],i=e.indexes[o][r[o]],a=e.values[i]??0;n[s]=a,r[o]++}return n}const Qs=(e,t)=>{const n=ce.createTransformer(t),r=Le(e),s=Le(t);return r.indexes.var.length===s.indexes.var.length&&r.indexes.color.length===s.indexes.color.length&&r.indexes.number.length>=s.indexes.number.length?wt.has(e)&&!s.values.length||wt.has(t)&&!r.values.length?Xs(e,t):at(_n(Js(r,s),s.values),n):(De(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),Qe(e,t))};function jn(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?Ae(e,t,n):xt(e)(e,t)}const eo=e=>{const t=({timestamp:n})=>e(n);return{start:(n=!0)=>ie.update(t,n),stop:()=>dt(t),now:()=>qe.isProcessing?qe.timestamp:q.now()}},zn=(e,t,n=10)=>{let r="";const s=Math.max(Math.round(t/n),2);for(let o=0;o<s;o++)r+=Math.round(e(o/(s-1))*1e4)/1e4+", ";return`linear(${r.substring(0,r.length-2)})`},et=2e4;function vt(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t<et;)t+=n,r=e.next(t);return t>=et?1/0:t}function Ln(e,t=100,n){const r=n({...e,keyframes:[0,t]}),s=Math.min(vt(r),et);return{type:"keyframes",ease:o=>r.next(s*o).value/t,duration:Q(s)}}const to=5;function Bn(e,t,n){const r=Math.max(t-to,0);return cn(n-e(r),t-r)}const _={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},Tt=.001;function no({duration:e=_.duration,bounce:t=_.bounce,velocity:n=_.velocity,mass:r=_.mass}){let s,o;De(e<=J(_.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let i=1-t;i=me(_.minDamping,_.maxDamping,i),e=me(_.minDuration,_.maxDuration,Q(e)),i<1?(s=u=>{const c=u*i,f=c*e,m=c-n,w=At(u,i),v=Math.exp(-f);return Tt-m/w*v},o=u=>{const f=u*i*e,m=f*n+n,w=Math.pow(i,2)*Math.pow(u,2)*e,v=Math.exp(-f),A=At(Math.pow(u,2),i);return(-s(u)+Tt>0?-1:1)*((m-w)*v)/A}):(s=u=>{const c=Math.exp(-u*e),f=(u-n)*e+1;return-Tt+c*f},o=u=>{const c=Math.exp(-u*e),f=(n-u)*(e*e);return c*f});const a=5/e,l=so(s,o,a);if(e=J(e),isNaN(l))return{stiffness:_.stiffness,damping:_.damping,duration:e};{const u=Math.pow(l,2)*r;return{stiffness:u,damping:i*2*Math.sqrt(r*u),duration:e}}}const ro=12;function so(e,t,n){let r=n;for(let s=1;s<ro;s++)r=r-e(r)/t(r);return r}function At(e,t){return e*Math.sqrt(1-t*t)}const oo=["duration","bounce"],io=["stiffness","damping","mass"];function $n(e,t){return t.some(n=>e[n]!==void 0)}function ao(e){let t={velocity:_.velocity,stiffness:_.stiffness,damping:_.damping,mass:_.mass,isResolvedFromDuration:!1,...e};if(!$n(e,io)&&$n(e,oo))if(e.visualDuration){const n=e.visualDuration,r=2*Math.PI/(n*1.2),s=r*r,o=2*me(.05,1,1-(e.bounce||0))*Math.sqrt(s);t={...t,mass:_.mass,stiffness:s,damping:o}}else{const n=no(e);t={...t,...n,mass:_.mass},t.isResolvedFromDuration=!0}return t}function Be(e=_.visualDuration,t=_.bounce){const n=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:r,restDelta:s}=n;const o=n.keyframes[0],i=n.keyframes[n.keyframes.length-1],a={done:!1,value:o},{stiffness:l,damping:u,mass:c,duration:f,velocity:m,isResolvedFromDuration:w}=ao({...n,velocity:-Q(n.velocity||0)}),v=m||0,A=u/(2*Math.sqrt(l*c)),T=i-o,S=Q(Math.sqrt(l/c)),D=Math.abs(T)<5;r||(r=D?_.restSpeed.granular:_.restSpeed.default),s||(s=D?_.restDelta.granular:_.restDelta.default);let P;if(A<1){const x=At(S,A);P=R=>{const I=Math.exp(-A*S*R);return i-I*((v+A*S*T)/x*Math.sin(x*R)+T*Math.cos(x*R))}}else if(A===1)P=x=>i-Math.exp(-S*x)*(T+(v+S*T)*x);else{const x=S*Math.sqrt(A*A-1);P=R=>{const I=Math.exp(-A*S*R),p=Math.min(x*R,300);return i-I*((v+A*S*T)*Math.sinh(p)+x*T*Math.cosh(p))/x}}const O={calculatedDuration:w&&f||null,next:x=>{const R=P(x);if(w)a.done=x>=f;else{let I=x===0?v:0;A<1&&(I=x===0?J(v):Bn(P,x,R));const p=Math.abs(I)<=r,V=Math.abs(i-R)<=s;a.done=p&&V}return a.value=a.done?i:R,a},toString:()=>{const x=Math.min(vt(O),et),R=zn(I=>O.next(x*I).value,x,30);return x+"ms "+R},toTransition:()=>{}};return O}Be.applyToOptions=e=>{const t=Ln(e,100,Be);return e.ease=t.ease,e.duration=J(t.duration),e.type="keyframes",e};function kt({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:s=10,bounceStiffness:o=500,modifyTarget:i,min:a,max:l,restDelta:u=.5,restSpeed:c}){const f=e[0],m={done:!1,value:f},w=p=>a!==void 0&&p<a||l!==void 0&&p>l,v=p=>a===void 0?l:l===void 0||Math.abs(a-p)<Math.abs(l-p)?a:l;let A=n*t;const T=f+A,S=i===void 0?T:i(T);S!==T&&(A=S-f);const D=p=>-A*Math.exp(-p/r),P=p=>S+D(p),O=p=>{const V=D(p),B=P(p);m.done=Math.abs(V)<=u,m.value=m.done?S:B};let x,R;const I=p=>{w(m.value)&&(x=p,R=Be({keyframes:[m.value,v(m.value)],velocity:Bn(P,p,m.value),damping:s,stiffness:o,restDelta:u,restSpeed:c}))};return I(0),{calculatedDuration:null,next:p=>{let V=!1;return!R&&x===void 0&&(V=!0,O(p),I(p)),x!==void 0&&p>=x?R.next(p-x):(!V&&O(p),m)}}}function lo(e,t,n){const r=[],s=n||oe.mix||jn,o=e.length-1;for(let i=0;i<o;i++){let a=s(e[i],e[i+1]);if(t){const l=Array.isArray(t)?t[i]||we:t;a=at(l,a)}r.push(a)}return r}function co(e,t,{clamp:n=!0,ease:r,mixer:s}={}){const o=e.length;if(se(o===t.length,"Both input and output ranges must be the same length","range-length"),o===1)return()=>t[0];if(o===2&&t[0]===t[1])return()=>t[1];const i=e[0]===e[1];e[0]>e[o-1]&&(e=[...e].reverse(),t=[...t].reverse());const a=lo(t,r,s),l=a.length,u=c=>{if(i&&c<e[0])return t[0];let f=0;if(l>1)for(;f<e.length-2&&!(c<e[f+1]);f++);const m=lt(e[f],e[f+1],c);return a[f](m)};return n?c=>u(me(e[0],e[o-1],c)):u}function Kn(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const s=lt(0,t,r);e.push(Ae(n,1,s))}}function Zn(e){const t=[0];return Kn(t,e.length-1),t}function uo(e,t){return e.map(n=>n*t)}function fo(e,t){return e.map(()=>t||wn).splice(0,e.length-1)}function ke({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const s=xn(r)?r.map(kn):kn(r),o={done:!1,value:t[0]},i=uo(n&&n.length===t.length?n:Zn(t),e),a=co(i,t,{ease:Array.isArray(s)?s:fo(t,s)});return{calculatedDuration:e,next:l=>(o.value=a(l),o.done=l>=e,o)}}const mo=e=>e!==null;function St(e,{repeat:t,repeatType:n="loop"},r,s=1){const o=e.filter(mo),a=s<0||t&&n!=="loop"&&t%2===1?0:o.length-1;return!a||r===void 0?o[a]:r}const ho={decay:kt,inertia:kt,tween:ke,keyframes:ke,spring:Be};function Wn(e){typeof e.type=="string"&&(e.type=ho[e.type])}class Mt{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,n){return this.finished.then(t,n)}}const po=e=>e/100;class Et extends Mt{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{const{motionValue:n}=this.options;n&&n.updatedAt!==q.now()&&this.tick(q.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),this.options.onStop?.())},this.options=t,this.initAnimation(),this.play(),t.autoplay===!1&&this.pause()}initAnimation(){const{options:t}=this;Wn(t);const{type:n=ke,repeat:r=0,repeatDelay:s=0,repeatType:o,velocity:i=0}=t;let{keyframes:a}=t;const l=n||ke;process.env.NODE_ENV!=="production"&&l!==ke&&se(a.length<=2,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${a}`,"spring-two-frames"),l!==ke&&typeof a[0]!="number"&&(this.mixKeyframes=at(po,jn(a[0],a[1])),a=[0,100]);const u=l({...t,keyframes:a});o==="mirror"&&(this.mirroredGenerator=l({...t,keyframes:[...a].reverse(),velocity:-i})),u.calculatedDuration===null&&(u.calculatedDuration=vt(u));const{calculatedDuration:c}=u;this.calculatedDuration=c,this.resolvedDuration=c+s,this.totalDuration=this.resolvedDuration*(r+1)-s,this.generator=u}updateTime(t){const n=Math.round(t-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=n}tick(t,n=!1){const{generator:r,totalDuration:s,mixKeyframes:o,mirroredGenerator:i,resolvedDuration:a,calculatedDuration:l}=this;if(this.startTime===null)return r.next(0);const{delay:u=0,keyframes:c,repeat:f,repeatType:m,repeatDelay:w,type:v,onUpdate:A,finalKeyframe:T}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-s/this.speed,this.startTime)),n?this.currentTime=t:this.updateTime(t);const S=this.currentTime-u*(this.playbackSpeed>=0?1:-1),D=this.playbackSpeed>=0?S<0:S>s;this.currentTime=Math.max(S,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=s);let P=this.currentTime,O=r;if(f){const p=Math.min(this.currentTime,s)/a;let V=Math.floor(p),B=p%1;!B&&p>=1&&(B=1),B===1&&V--,V=Math.min(V,f+1),!!(V%2)&&(m==="reverse"?(B=1-B,w&&(B-=w/a)):m==="mirror"&&(O=i)),P=me(0,1,B)*a}const x=D?{done:!1,value:c[0]}:O.next(P);o&&(x.value=o(x.value));let{done:R}=x;!D&&l!==null&&(R=this.playbackSpeed>=0?this.currentTime>=s:this.currentTime<=0);const I=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&R);return I&&v!==kt&&(x.value=St(c,this.options,T,this.speed)),A&&A(x.value),I&&this.finish(),x}then(t,n){return this.finished.then(t,n)}get duration(){return Q(this.calculatedDuration)}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+Q(t)}get time(){return Q(this.currentTime)}set time(t){t=J(t),this.currentTime=t,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(t){this.updateTime(q.now());const n=this.playbackSpeed!==t;this.playbackSpeed=t,n&&(this.time=Q(this.currentTime))}play(){if(this.isStopped)return;const{driver:t=eo,startTime:n}=this.options;this.driver||(this.driver=t(s=>this.tick(s))),this.options.onPlay?.();const r=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=r):this.holdTime!==null?this.startTime=r-this.holdTime:this.startTime||(this.startTime=n??r),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(q.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),t.observe(this)}}function go(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}const pe=e=>e*180/Math.PI,Vt=e=>{const t=pe(Math.atan2(e[1],e[0]));return Ct(t)},bo={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:Vt,rotateZ:Vt,skewX:e=>pe(Math.atan(e[1])),skewY:e=>pe(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},Ct=e=>(e=e%360,e<0&&(e+=360),e),Gn=Vt,Yn=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),Un=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),yo={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Yn,scaleY:Un,scale:e=>(Yn(e)+Un(e))/2,rotateX:e=>Ct(pe(Math.atan2(e[6],e[5]))),rotateY:e=>Ct(pe(Math.atan2(-e[2],e[0]))),rotateZ:Gn,rotate:Gn,skewX:e=>pe(Math.atan(e[4])),skewY:e=>pe(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function Rt(e){return e.includes("scale")?1:0}function Ft(e,t){if(!e||e==="none")return Rt(t);const n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let r,s;if(n)r=yo,s=n;else{const a=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=bo,s=a}if(!s)return Rt(t);const o=r[t],i=s[1].split(",").map(xo);return typeof o=="function"?o(i):i[o]}const wo=(e,t)=>{const{transform:n="none"}=getComputedStyle(e);return Ft(n,t)};function xo(e){return parseFloat(e.trim())}const Se=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Me=new Set(Se),Xn=e=>e===xe||e===k,vo=new Set(["x","y","z"]),To=Se.filter(e=>!vo.has(e));function Ao(e){const t=[];return To.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}const ge={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>Ft(t,"x"),y:(e,{transform:t})=>Ft(t,"y")};ge.translateX=ge.x,ge.translateY=ge.y;const be=new Set;let Pt=!1,Ot=!1,Nt=!1;function qn(){if(Ot){const e=Array.from(be).filter(r=>r.needsMeasurement),t=new Set(e.map(r=>r.element)),n=new Map;t.forEach(r=>{const s=Ao(r);s.length&&(n.set(r,s),r.render())}),e.forEach(r=>r.measureInitialState()),t.forEach(r=>{r.render();const s=n.get(r);s&&s.forEach(([o,i])=>{r.getValue(o)?.set(i)})}),e.forEach(r=>r.measureEndState()),e.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}Ot=!1,Pt=!1,be.forEach(e=>e.complete(Nt)),be.clear()}function Hn(){be.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Ot=!0)})}function ko(){Nt=!0,Hn(),qn(),Nt=!1}class Dt{constructor(t,n,r,s,o,i=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=r,this.motionValue=s,this.element=o,this.isAsync=i}scheduleResolve(){this.state="scheduled",this.isAsync?(be.add(this),Pt||(Pt=!0,ie.read(Hn),ie.resolveKeyframes(qn))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:r,motionValue:s}=this;if(t[0]===null){const o=s?.get(),i=t[t.length-1];if(o!==void 0)t[0]=o;else if(r&&n){const a=r.readValue(n,i);a!=null&&(t[0]=a)}t[0]===void 0&&(t[0]=i),s&&o===void 0&&s.set(t[0])}go(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),be.delete(this)}cancel(){this.state==="scheduled"&&(be.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const So=e=>e.startsWith("--");function Mo(e,t,n){So(t)?e.style.setProperty(t,n):e.style[t]=n}const Eo=it(()=>window.ScrollTimeline!==void 0),Vo={};function Co(e,t){const n=it(e);return()=>Vo[t]??n()}const Jn=Co(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),$e=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,Qn={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:$e([0,.65,.55,1]),circOut:$e([.55,0,1,.45]),backIn:$e([.31,.01,.66,-.59]),backOut:$e([.33,1.53,.69,.99])};function er(e,t){if(e)return typeof e=="function"?Jn()?zn(e,t):"ease-out":Tn(e)?$e(e):Array.isArray(e)?e.map(n=>er(n,t)||Qn.easeOut):Qn[e]}function Ro(e,t,n,{delay:r=0,duration:s=300,repeat:o=0,repeatType:i="loop",ease:a="easeOut",times:l}={},u=void 0){const c={[t]:n};l&&(c.offset=l);const f=er(a,s);Array.isArray(f)&&(c.easing=f);const m={delay:r,duration:s,easing:Array.isArray(f)?"linear":f,fill:"both",iterations:o+1,direction:i==="reverse"?"alternate":"normal"};return u&&(m.pseudoElement=u),e.animate(c,m)}function It(e){return typeof e=="function"&&"applyToOptions"in e}function Fo({type:e,...t}){return It(e)&&Jn()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}class Po extends Mt{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,!t)return;const{element:n,name:r,keyframes:s,pseudoElement:o,allowFlatten:i=!1,finalKeyframe:a,onComplete:l}=t;this.isPseudoElement=!!o,this.allowFlatten=i,this.options=t,se(typeof t.type!="string",`Mini animate() doesn't support "type" as a string.`,"mini-spring");const u=Fo(t);this.animation=Ro(n,r,s,u,o),u.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!o){const c=St(s,this.options,a,this.speed);this.updateMotionValue?this.updateMotionValue(c):Mo(n,r,c),this.animation.cancel()}l?.(),this.notifyFinished()}}play(){this.isStopped||(this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:t}=this;t==="idle"||t==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){const t=this.animation.effect?.getComputedTiming?.().duration||0;return Q(Number(t))}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+Q(t)}get time(){return Q(Number(this.animation.currentTime)||0)}set time(t){this.finishedTime=null,this.animation.currentTime=J(t)}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(t){this.animation.startTime=t}attachTimeline({timeline:t,observe:n}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,t&&Eo()?(this.animation.timeline=t,we):n(this)}}const tr={anticipate:bn,backInOut:gn,circInOut:yn};function Oo(e){return e in tr}function No(e){typeof e.ease=="string"&&Oo(e.ease)&&(e.ease=tr[e.ease])}const nr=10;class Do extends Po{constructor(t){No(t),Wn(t),super(t),t.startTime&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){const{motionValue:n,onUpdate:r,onComplete:s,element:o,...i}=this.options;if(!n)return;if(t!==void 0){n.set(t);return}const a=new Et({...i,autoplay:!1}),l=J(this.finishedTime??this.time);n.setWithVelocity(a.sample(l-nr).value,a.sample(l).value,nr),a.stop()}}const rr=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(ce.test(e)||e==="0")&&!e.startsWith("url("));function Io(e){const t=e[0];if(e.length===1)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}function _o(e,t,n,r){const s=e[0];if(s===null)return!1;if(t==="display"||t==="visibility")return!0;const o=e[e.length-1],i=rr(s,t),a=rr(o,t);return De(i===a,`You are trying to animate ${t} from "${s}" to "${o}". "${i?o:s}" is not an animatable value.`,"value-not-animatable"),!i||!a?!1:Io(e)||(n==="spring"||It(n))&&r}function _t(e){e.duration=0,e.type="keyframes"}const jo=new Set(["opacity","clipPath","filter","transform"]),zo=it(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function Lo(e){const{motionValue:t,name:n,repeatDelay:r,repeatType:s,damping:o,type:i}=e;if(!(t?.owner?.current instanceof HTMLElement))return!1;const{onUpdate:l,transformTemplate:u}=t.owner.getProps();return zo()&&n&&jo.has(n)&&(n!=="transform"||!u)&&!l&&!r&&s!=="mirror"&&o!==0&&i!=="inertia"}const Bo=40;class $o extends Mt{constructor({autoplay:t=!0,delay:n=0,type:r="keyframes",repeat:s=0,repeatDelay:o=0,repeatType:i="loop",keyframes:a,name:l,motionValue:u,element:c,...f}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=q.now();const m={autoplay:t,delay:n,type:r,repeat:s,repeatDelay:o,repeatType:i,name:l,motionValue:u,element:c,...f},w=c?.KeyframeResolver||Dt;this.keyframeResolver=new w(a,(v,A,T)=>this.onKeyframesResolved(v,A,m,!T),l,u,c),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,n,r,s){this.keyframeResolver=void 0;const{name:o,type:i,velocity:a,delay:l,isHandoff:u,onUpdate:c}=r;this.resolvedAt=q.now(),_o(t,o,i,a)||((oe.instantAnimations||!l)&&c?.(St(t,r,n)),t[0]=t[t.length-1],_t(r),r.repeat=0);const m={startTime:s?this.resolvedAt?this.resolvedAt-this.createdAt>Bo?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:n,...r,keyframes:t},w=!u&&Lo(m)?new Do({...m,element:m.motionValue.owner.current}):new Et(m);w.finished.then(()=>this.notifyFinished()).catch(we),this.pendingTimeline&&(this.stopTimeline=w.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=w}get finished(){return this._animation?this.animation.finished:this._finished}then(t,n){return this.finished.finally(t).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),ko()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}class Ko{constructor(t){this.stop=()=>this.runAll("stop"),this.animations=t.filter(Boolean)}get finished(){return Promise.all(this.animations.map(t=>t.finished))}getAll(t){return this.animations[0][t]}setAll(t,n){for(let r=0;r<this.animations.length;r++)this.animations[r][t]=n}attachTimeline(t){const n=this.animations.map(r=>r.attachTimeline(t));return()=>{n.forEach((r,s)=>{r&&r(),this.animations[s].stop()})}}get time(){return this.getAll("time")}set time(t){this.setAll("time",t)}get speed(){return this.getAll("speed")}set speed(t){this.setAll("speed",t)}get state(){return this.getAll("state")}get startTime(){return this.getAll("startTime")}get duration(){return sr(this.animations,"duration")}get iterationDuration(){return sr(this.animations,"iterationDuration")}runAll(t){this.animations.forEach(n=>n[t]())}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}function sr(e,t){let n=0;for(let r=0;r<e.length;r++){const s=e[r][t];s!==null&&s>n&&(n=s)}return n}class Zo extends Ko{then(t,n){return this.finished.finally(t).then(()=>{})}}const Wo=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function Go(e){const t=Wo.exec(e);if(!t)return[,];const[,n,r,s]=t;return[`--${n??r}`,s]}const Yo=4;function or(e,t,n=1){se(n<=Yo,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");const[r,s]=Go(e);if(!r)return;const o=window.getComputedStyle(t).getPropertyValue(r);if(o){const i=o.trim();return on(i)?parseFloat(i):i}return ft(s)?or(s,t,n+1):s}function ir(e,t){return e?.[t]??e?.default??e}const ar=new Set(["width","height","top","left","right","bottom",...Se]),Uo={test:e=>e==="auto",parse:e=>e},lr=e=>t=>t.test(e),cr=[xe,k,ve,le,js,_s,Uo],ur=e=>cr.find(lr(e));function Xo(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||an(e):!0}const qo=new Set(["brightness","contrast","saturate","opacity"]);function Ho(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(mt)||[];if(!r)return e;const s=n.replace(r,"");let o=qo.has(t)?1:0;return r!==n&&(o*=100),t+"("+o+s+")"}const Jo=/\b([a-z-]*)\(.*?\)/gu,jt={...ce,getAnimatableNone:e=>{const t=e.match(Jo);return t?t.map(Ho).join(" "):e}},dr={...xe,transform:Math.round},zt={borderWidth:k,borderTopWidth:k,borderRightWidth:k,borderBottomWidth:k,borderLeftWidth:k,borderRadius:k,radius:k,borderTopLeftRadius:k,borderTopRightRadius:k,borderBottomRightRadius:k,borderBottomLeftRadius:k,width:k,maxWidth:k,height:k,maxHeight:k,top:k,right:k,bottom:k,left:k,padding:k,paddingTop:k,paddingRight:k,paddingBottom:k,paddingLeft:k,margin:k,marginTop:k,marginRight:k,marginBottom:k,marginLeft:k,backgroundPositionX:k,backgroundPositionY:k,...{rotate:le,rotateX:le,rotateY:le,rotateZ:le,scale:Je,scaleX:Je,scaleY:Je,scaleZ:Je,skew:le,skewX:le,skewY:le,distance:k,translateX:k,translateY:k,translateZ:k,x:k,y:k,z:k,perspective:k,transformPerspective:k,opacity:_e,originX:Cn,originY:Cn,originZ:k},zIndex:dr,fillOpacity:_e,strokeOpacity:_e,numOctaves:dr},Qo={...zt,color:j,backgroundColor:j,outlineColor:j,fill:j,stroke:j,borderColor:j,borderTopColor:j,borderRightColor:j,borderBottomColor:j,borderLeftColor:j,filter:jt,WebkitFilter:jt},fr=e=>Qo[e];function mr(e,t){let n=fr(e);return n!==jt&&(n=ce),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const ei=new Set(["auto","none","0"]);function ti(e,t,n){let r=0,s;for(;r<e.length&&!s;){const o=e[r];typeof o=="string"&&!ei.has(o)&&Le(o).values.length&&(s=e[r]),r++}if(s&&n)for(const o of t)e[o]=mr(n,s)}class ni extends Dt{constructor(t,n,r,s,o){super(t,n,r,s,o,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:n,name:r}=this;if(!n||!n.current)return;super.readKeyframes();for(let l=0;l<t.length;l++){let u=t[l];if(typeof u=="string"&&(u=u.trim(),ft(u))){const c=or(u,n.current);c!==void 0&&(t[l]=c),l===t.length-1&&(this.finalKeyframe=u)}}if(this.resolveNoneKeyframes(),!ar.has(r)||t.length!==2)return;const[s,o]=t,i=ur(s),a=ur(o);if(i!==a)if(Xn(i)&&Xn(a))for(let l=0;l<t.length;l++){const u=t[l];typeof u=="string"&&(t[l]=parseFloat(u))}else ge[r]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:n}=this,r=[];for(let s=0;s<t.length;s++)(t[s]===null||Xo(t[s]))&&r.push(s);r.length&&ti(t,r,n)}measureInitialState(){const{element:t,unresolvedKeyframes:n,name:r}=this;if(!t||!t.current)return;r==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=ge[r](t.measureViewportBox(),window.getComputedStyle(t.current)),n[0]=this.measuredOrigin;const s=n[n.length-1];s!==void 0&&t.getValue(r,s).jump(s,!1)}measureEndState(){const{element:t,name:n,unresolvedKeyframes:r}=this;if(!t||!t.current)return;const s=t.getValue(n);s&&s.jump(this.measuredOrigin,!1);const o=r.length-1,i=r[o];r[o]=ge[n](t.measureViewportBox(),window.getComputedStyle(t.current)),i!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=i),this.removedTransforms?.length&&this.removedTransforms.forEach(([a,l])=>{t.getValue(a).set(l)}),this.resolveNoneKeyframes()}}function hr(e,t,n){if(e instanceof EventTarget)return[e];if(typeof e=="string"){let r=document;const s=n?.[e]??r.querySelectorAll(e);return s?Array.from(s):[]}return Array.from(e)}const pr=(e,t)=>t&&typeof e=="number"?t.transform(e):e,gr=30,ri=e=>!isNaN(parseFloat(e));class si{constructor(t,n={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=r=>{const s=q.now();if(this.updatedAt!==s&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(const o of this.dependents)o.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=n.owner}setCurrent(t){this.current=t,this.updatedAt=q.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=ri(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return process.env.NODE_ENV!=="production"&&dn(!1,'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'),this.on("change",t)}on(t,n){this.events[t]||(this.events[t]=new ln);const r=this.events[t].add(n);return t==="change"?()=>{r(),ie.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,n){this.passiveEffect=t,this.stopPassiveEffect=n}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,n,r){this.set(n),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-r}jump(t,n=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const t=q.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>gr)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,gr);return cn(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(t){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=t(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Ke(e,t){return new si(e,t)}const{schedule:oi}=Sn(queueMicrotask,!1);function br(e){return ys(e)&&"ownerSVGElement"in e}function ii(e){return br(e)&&e.tagName==="svg"}const Z=e=>!!(e&&e.getVelocity),ai=[...cr,j,ce],li=e=>ai.find(lr(e)),yr={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},Lt={};for(const e in yr)Lt[e]={isEnabled:t=>yr[e].some(n=>!!t[n])};function ci(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function ui(e){return typeof e=="string"||Array.isArray(e)}const di=["initial",...["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"]];function wr(e){return ci(e.animate)||di.some(t=>ui(e[t]))}function fi(e){return!!(wr(e)||e.variants)}function xr(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const Ze={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(k.test(e))e=parseFloat(e);else return e;const n=xr(e,t.target.x),r=xr(e,t.target.y);return`${n}% ${r}%`}},mi={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,s=ce.parse(e);if(s.length>5)return r;const o=ce.createTransformer(e),i=typeof s[0]!="number"?1:0,a=n.x.scale*t.x,l=n.y.scale*t.y;s[0+i]/=a,s[1+i]/=l;const u=Ae(a,l,.5);return typeof s[2+i]=="number"&&(s[2+i]/=u),typeof s[3+i]=="number"&&(s[3+i]/=u),o(s)}},hi={borderRadius:{...Ze,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Ze,borderTopRightRadius:Ze,borderBottomLeftRadius:Ze,borderBottomRightRadius:Ze,boxShadow:mi};function pi(e,{layout:t,layoutId:n}){return Me.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!hi[e]||e==="opacity")}const gi={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},bi=Se.length;function yi(e,t,n){let r="",s=!0;for(let o=0;o<bi;o++){const i=Se[o],a=e[i];if(a===void 0)continue;let l=!0;if(typeof a=="number"?l=a===(i.startsWith("scale")?1:0):l=parseFloat(a)===0,!l||n){const u=pr(a,zt[i]);if(!l){s=!1;const c=gi[i]||i;r+=`${c}(${u}) `}n&&(t[i]=u)}}return r=r.trim(),n?r=n(t,s?"":r):s&&(r="none"),r}function vr(e,t,n){const{style:r,vars:s,transformOrigin:o}=e;let i=!1,a=!1;for(const l in t){const u=t[l];if(Me.has(l)){i=!0;continue}else if(En(l)){s[l]=u;continue}else{const c=pr(u,zt[l]);l.startsWith("origin")?(a=!0,o[l]=c):r[l]=c}}if(t.transform||(i||n?r.transform=yi(t,e.transform,n):r.transform&&(r.transform="none")),a){const{originX:l="50%",originY:u="50%",originZ:c=0}=o;r.transformOrigin=`${l} ${u} ${c}`}}const wi={offset:"stroke-dashoffset",array:"stroke-dasharray"},xi={offset:"strokeDashoffset",array:"strokeDasharray"};function vi(e,t,n=1,r=0,s=!0){e.pathLength=1;const o=s?wi:xi;e[o.offset]=k.transform(-r);const i=k.transform(t),a=k.transform(n);e[o.array]=`${i} ${a}`}function Ti(e,{attrX:t,attrY:n,attrScale:r,pathLength:s,pathSpacing:o=1,pathOffset:i=0,...a},l,u,c){if(vr(e,a,u),l){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:f,style:m}=e;f.transform&&(m.transform=f.transform,delete f.transform),(m.transform||f.transformOrigin)&&(m.transformOrigin=f.transformOrigin??"50% 50%",delete f.transformOrigin),m.transform&&(m.transformBox=c?.transformBox??"fill-box",delete f.transformBox),t!==void 0&&(f.x=t),n!==void 0&&(f.y=n),r!==void 0&&(f.scale=r),s!==void 0&&vi(f,s,o,i,!1)}const Ai=e=>typeof e=="string"&&e.toLowerCase()==="svg";function Tr(e){const t=[{},{}];return e?.values.forEach((n,r)=>{t[0][r]=n.get(),t[1][r]=n.getVelocity()}),t}function Ar(e,t,n,r){if(typeof t=="function"){const[s,o]=Tr(r);t=t(n!==void 0?n:e.custom,s,o)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[s,o]=Tr(r);t=t(n!==void 0?n:e.custom,s,o)}return t}function kr(e,t,n){const{style:r}=e,s={};for(const o in r)(Z(r[o])||t.style&&Z(t.style[o])||pi(o,e)||n?.getValue(o)?.liveStyle!==void 0)&&(s[o]=r[o]);return s}function ki(e,t,n){const r=kr(e,t,n);for(const s in e)if(Z(e[s])||Z(t[s])){const o=Se.indexOf(s)!==-1?"attr"+s.charAt(0).toUpperCase()+s.substring(1):s;r[o]=e[s]}return r}const Bt=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),Si="data-"+Bt("framerAppearId");function Mi({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function Ei(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function Vi(e,t){return Mi(Ei(e.getBoundingClientRect(),t))}const Sr=()=>({min:0,max:0}),$t=()=>({x:Sr(),y:Sr()}),Kt={current:null},Mr={current:!1};function Ci(){if(Mr.current=!0,!!rn)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Kt.current=e.matches;e.addEventListener("change",t),t()}else Kt.current=!1}const We=new WeakMap;function Ri(e,t,n){for(const r in t){const s=t[r],o=n[r];if(Z(s))e.addValue(r,s);else if(Z(o))e.addValue(r,Ke(s,{owner:e}));else if(o!==s)if(e.hasValue(r)){const i=e.getValue(r);i.liveStyle===!0?i.jump(s):i.hasAnimated||i.set(s)}else{const i=e.getStaticValue(r);e.addValue(r,Ke(i!==void 0?i:s,{owner:e}))}}for(const r in n)t[r]===void 0&&e.removeValue(r);return t}const Er=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class Vr{scrapeMotionValuesFromProps(t,n,r){return{}}constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:s,blockInitialAnimation:o,visualState:i},a={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=Dt,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const m=q.now();this.renderScheduledAt<m&&(this.renderScheduledAt=m,ie.render(this.render,!1,!0))};const{latestValues:l,renderState:u}=i;this.latestValues=l,this.baseTarget={...l},this.initialValues=n.initial?{...l}:{},this.renderState=u,this.parent=t,this.props=n,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=s,this.options=a,this.blockInitialAnimation=!!o,this.isControllingVariants=wr(n),this.isVariantNode=fi(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:c,...f}=this.scrapeMotionValuesFromProps(n,{},this);for(const m in f){const w=f[m];l[m]!==void 0&&Z(w)&&w.set(l[m])}}mount(t){this.current=t,We.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((n,r)=>this.bindToMotionValue(r,n)),Mr.current||Ci(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:Kt.current,process.env.NODE_ENV!=="production"&&dn(this.shouldReduceMotion!==!0,"You have Reduced Motion enabled on your device. Animations may not appear as expected.","reduced-motion-disabled"),this.parent?.addChild(this),this.update(this.props,this.presenceContext)}unmount(){this.projection&&this.projection.unmount(),dt(this.notifyUpdate),dt(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(const t in this.events)this.events[t].clear();for(const t in this.features){const n=this.features[t];n&&(n.unmount(),n.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,n){this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();const r=Me.has(t);r&&this.onBindTransform&&this.onBindTransform();const s=n.on("change",i=>{this.latestValues[t]=i,this.props.onUpdate&&ie.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let o;window.MotionCheckAppearSync&&(o=window.MotionCheckAppearSync(this,t,n)),this.valueSubscriptions.set(t,()=>{s(),o&&o(),n.owner&&n.stop()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in Lt){const n=Lt[t];if(!n)continue;const{isEnabled:r,Feature:s}=n;if(!this.features[t]&&s&&r(this.props)&&(this.features[t]=new s(this)),this.features[t]){const o=this.features[t];o.isMounted?o.update():(o.mount(),o.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):$t()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=n}update(t,n){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let r=0;r<Er.length;r++){const s=Er[r];this.propEventSubscriptions[s]&&(this.propEventSubscriptions[s](),delete this.propEventSubscriptions[s]);const o="on"+s,i=t[o];i&&(this.propEventSubscriptions[s]=this.on(s,i))}this.prevMotionValues=Ri(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){const n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(t),()=>n.variantChildren.delete(t)}addValue(t,n){const r=this.values.get(t);n!==r&&(r&&this.removeValue(t),this.bindToMotionValue(t,n),this.values.set(t,n),this.latestValues[t]=n.get())}removeValue(t){this.values.delete(t);const n=this.valueSubscriptions.get(t);n&&(n(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let r=this.values.get(t);return r===void 0&&n!==void 0&&(r=Ke(n===null?void 0:n,{owner:this}),this.addValue(t,r)),r}readValue(t,n){let r=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options);return r!=null&&(typeof r=="string"&&(on(r)||an(r))?r=parseFloat(r):!li(r)&&ce.test(n)&&(r=mr(t,n)),this.setBaseTarget(t,Z(r)?r.get():r)),Z(r)?r.get():r}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){const{initial:n}=this.props;let r;if(typeof n=="string"||typeof n=="object"){const o=Ar(this.props,n,this.presenceContext?.custom);o&&(r=o[t])}if(n&&r!==void 0)return r;const s=this.getBaseTargetFromProps(this.props,t);return s!==void 0&&!Z(s)?s:this.initialValues[t]!==void 0&&r===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new ln),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}scheduleRenderMicrotask(){oi.render(this.render)}}class Cr extends Vr{constructor(){super(...arguments),this.KeyframeResolver=ni}sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){return t.style?t.style[n]:void 0}removeValueFromRenderState(t,{vars:n,style:r}){delete n[t],delete r[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;Z(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}function Rr(e,{style:t,vars:n},r,s){const o=e.style;let i;for(i in t)o[i]=t[i];s?.applyProjectionStyles(o,r);for(i in n)o.setProperty(i,n[i])}function Fi(e){return window.getComputedStyle(e)}class Pi extends Cr{constructor(){super(...arguments),this.type="html",this.renderInstance=Rr}readValueFromInstance(t,n){if(Me.has(n))return this.projection?.isProjecting?Rt(n):wo(t,n);{const r=Fi(t),s=(En(n)?r.getPropertyValue(n):r[n])||0;return typeof s=="string"?s.trim():s}}measureInstanceViewportBox(t,{transformPagePoint:n}){return Vi(t,n)}build(t,n,r){vr(t,n,r.transformTemplate)}scrapeMotionValuesFromProps(t,n,r){return kr(t,n,r)}}const Fr=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function Oi(e,t,n,r){Rr(e,t,void 0,r);for(const s in t.attrs)e.setAttribute(Fr.has(s)?s:Bt(s),t.attrs[s])}class Ni extends Cr{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=$t}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(Me.has(n)){const r=fr(n);return r&&r.default||0}return n=Fr.has(n)?n:Bt(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,r){return ki(t,n,r)}build(t,n,r){Ti(t,n,this.isSVGTag,r.transformTemplate,r.style)}renderInstance(t,n,r,s){Oi(t,n,r,s)}mount(t){this.isSVGTag=Ai(t.tagName),super.mount(t)}}function Di(e,t,n){const r=e.getProps();return Ar(r,t,r.custom,e)}const Ii=e=>Array.isArray(e);function _i(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Ke(n))}function ji(e){return Ii(e)?e[e.length-1]||0:e}function zi(e,t){const n=Di(e,t);let{transitionEnd:r={},transition:s={},...o}=n||{};o={...o,...r};for(const i in o){const a=ji(o[i]);_i(e,i,a)}}function Li(e){return!!(Z(e)&&e.add)}function Bi(e,t){const n=e.getValue("willChange");if(Li(n))return n.add(t);if(!n&&oe.WillChange){const r=new oe.WillChange("auto");e.addValue("willChange",r),r.add(t)}}function $i(e){return e.props[Si]}const Ki=e=>e!==null;function Zi(e,{repeat:t,repeatType:n="loop"},r){const s=e.filter(Ki),o=t&&n!=="loop"&&t%2===1?0:s.length-1;return s[o]}const Wi={type:"spring",stiffness:500,damping:25,restSpeed:10},Gi=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),Yi={type:"keyframes",duration:.8},Ui={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Xi=(e,{keyframes:t})=>t.length>2?Yi:Me.has(e)?e.startsWith("scale")?Gi(t[1]):Wi:Ui;function qi({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:s,repeat:o,repeatType:i,repeatDelay:a,from:l,elapsed:u,...c}){return!!Object.keys(c).length}const Pr=(e,t,n,r={},s,o)=>i=>{const a=ir(r,e)||{},l=a.delay||r.delay||0;let{elapsed:u=0}=r;u=u-J(l);const c={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...a,delay:-u,onUpdate:m=>{t.set(m),a.onUpdate&&a.onUpdate(m)},onComplete:()=>{i(),a.onComplete&&a.onComplete()},name:e,motionValue:t,element:o?void 0:s};qi(a)||Object.assign(c,Xi(e,c)),c.duration&&(c.duration=J(c.duration)),c.repeatDelay&&(c.repeatDelay=J(c.repeatDelay)),c.from!==void 0&&(c.keyframes[0]=c.from);let f=!1;if((c.type===!1||c.duration===0&&!c.repeatDelay)&&(_t(c),c.delay===0&&(f=!0)),(oe.instantAnimations||oe.skipAnimations)&&(f=!0,_t(c),c.delay=0),c.allowFlatten=!a.type&&!a.ease,f&&!o&&t.get()!==void 0){const m=Zi(c.keyframes,a);if(m!==void 0){ie.update(()=>{c.onUpdate(m),c.onComplete()});return}}return a.isSync?new Et(c):new $o(c)};function Hi({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function Ji(e,t,{delay:n=0,transitionOverride:r,type:s}={}){let{transition:o=e.getDefaultTransition(),transitionEnd:i,...a}=t;r&&(o=r);const l=[],u=s&&e.animationState&&e.animationState.getState()[s];for(const c in a){const f=e.getValue(c,e.latestValues[c]??null),m=a[c];if(m===void 0||u&&Hi(u,c))continue;const w={delay:n,...ir(o||{},c)},v=f.get();if(v!==void 0&&!f.isAnimating&&!Array.isArray(m)&&m===v&&!w.velocity)continue;let A=!1;if(window.MotionHandoffAnimation){const S=$i(e);if(S){const D=window.MotionHandoffAnimation(S,c,ie);D!==null&&(w.startTime=D,A=!0)}}Bi(e,c),f.start(Pr(c,f,m,e.shouldReduceMotion&&ar.has(c)?{type:!1}:w,e,A));const T=f.animation;T&&l.push(T)}return i&&Promise.all(l).then(()=>{ie.update(()=>{i&&zi(e,i)})}),l}function Qi(e,t,n){const r=Z(e)?e:Ke(e);return r.start(Pr("",r,t,n)),r.animation}function Zt(e){return typeof e=="object"&&!Array.isArray(e)}function Or(e,t,n,r){return typeof e=="string"&&Zt(t)?hr(e,n,r):e instanceof NodeList?Array.from(e):Array.isArray(e)?e:[e]}function ea(e,t,n){return e*(t+1)}function Nr(e,t,n,r){return typeof t=="number"?t:t.startsWith("-")||t.startsWith("+")?Math.max(0,e+parseFloat(t)):t==="<"?n:t.startsWith("<")?Math.max(0,n+parseFloat(t.slice(1))):r.get(t)??e}function ta(e,t,n){for(let r=0;r<e.length;r++){const s=e[r];s.at>t&&s.at<n&&(sn(e,s),r--)}}function na(e,t,n,r,s,o){ta(e,s,o);for(let i=0;i<t.length;i++)e.push({value:t[i],at:Ae(s,o,r[i]),easing:vn(n,i)})}function ra(e,t){for(let n=0;n<e.length;n++)e[n]=e[n]/(t+1)}function sa(e,t){return e.at===t.at?e.value===null?1:t.value===null?-1:0:e.at-t.at}const oa="easeInOut",ia=20;function aa(e,{defaultTransition:t={},...n}={},r,s){const o=t.duration||.3,i=new Map,a=new Map,l={},u=new Map;let c=0,f=0,m=0;for(let w=0;w<e.length;w++){const v=e[w];if(typeof v=="string"){u.set(v,f);continue}else if(!Array.isArray(v)){u.set(v.name,Nr(f,v.at,c,u));continue}let[A,T,S={}]=v;S.at!==void 0&&(f=Nr(f,S.at,c,u));let D=0;const P=(O,x,R,I=0,p=0)=>{const V=la(O),{delay:B=0,times:W=Zn(V),type:H="keyframes",repeat:ee,repeatType:Re,repeatDelay:te=0,...U}=x;let{ease:L=t.ease||"easeOut",duration:y}=x;const de=typeof B=="function"?B(I,p):B,fe=V.length,d=It(H)?H:s?.[H||"keyframes"];if(fe<=2&&d){let G=100;if(fe===2&&da(V)){const Y=V[1]-V[0];G=Math.abs(Y)}const ne={...U};y!==void 0&&(ne.duration=J(y));const E=Ln(ne,G,d);L=E.ease,y=E.duration}y??(y=o);const M=f+de;W.length===1&&W[0]===0&&(W[1]=1);const C=W.length-V.length;if(C>0&&Kn(W,C),V.length===1&&V.unshift(null),ee){se(ee<ia,"Repeat count too high, must be less than 20","repeat-count-high"),y=ea(y,ee);const G=[...V],ne=[...W];L=Array.isArray(L)?[...L]:[L];const E=[...L];for(let Y=0;Y<ee;Y++){V.push(...G);for(let X=0;X<G.length;X++)W.push(ne[X]+(Y+1)),L.push(X===0?"linear":vn(E,X-1))}ra(W,ee)}const N=M+y;na(R,V,L,W,M,N),D=Math.max(de+y,D),m=Math.max(N,m)};if(Z(A)){const O=Dr(A,a);P(T,S,Ir("default",O))}else{const O=Or(A,T,r,l),x=O.length;for(let R=0;R<x;R++){T=T,S=S;const I=O[R],p=Dr(I,a);for(const V in T)P(T[V],ca(S,V),Ir(V,p),R,x)}}c=f,f+=D}return a.forEach((w,v)=>{for(const A in w){const T=w[A];T.sort(sa);const S=[],D=[],P=[];for(let x=0;x<T.length;x++){const{at:R,value:I,easing:p}=T[x];S.push(I),D.push(lt(0,m,R)),P.push(p||"easeOut")}D[0]!==0&&(D.unshift(0),S.unshift(S[0]),P.unshift(oa)),D[D.length-1]!==1&&(D.push(1),S.push(null)),i.has(v)||i.set(v,{keyframes:{},transition:{}});const O=i.get(v);O.keyframes[A]=S,O.transition[A]={...t,duration:m,ease:P,times:D,...n}}}),i}function Dr(e,t){return!t.has(e)&&t.set(e,{}),t.get(e)}function Ir(e,t){return t[e]||(t[e]=[]),t[e]}function la(e){return Array.isArray(e)?e:[e]}function ca(e,t){return e&&e[t]?{...e,...e[t]}:{...e}}const ua=e=>typeof e=="number",da=e=>e.every(ua);function fa(e,t){return e in t}class ma extends Vr{constructor(){super(...arguments),this.type="object"}readValueFromInstance(t,n){if(fa(n,t)){const r=t[n];if(typeof r=="string"||typeof r=="number")return r}}getBaseTargetFromProps(){}removeValueFromRenderState(t,n){delete n.output[t]}measureInstanceViewportBox(){return $t()}build(t,n){Object.assign(t.output,n)}renderInstance(t,{output:n}){Object.assign(t,n)}sortInstanceNodePosition(){return 0}}function ha(e){const t={presenceContext:null,props:{},visualState:{renderState:{transform:{},transformOrigin:{},style:{},vars:{},attrs:{}},latestValues:{}}},n=br(e)&&!ii(e)?new Ni(t):new Pi(t);n.mount(e),We.set(e,n)}function pa(e){const t={presenceContext:null,props:{},visualState:{renderState:{output:{}},latestValues:{}}},n=new ma(t);n.mount(e),We.set(e,n)}function ga(e,t){return Z(e)||typeof e=="number"||typeof e=="string"&&!Zt(t)}function _r(e,t,n,r){const s=[];if(ga(e,t))s.push(Qi(e,Zt(t)&&t.default||t,n&&(n.default||n)));else{const o=Or(e,t,r),i=o.length;se(!!i,"No valid elements provided.","no-valid-elements");for(let a=0;a<i;a++){const l=o[a];se(l!==null,"You're trying to perform an animation on null. Ensure that selectors are correctly finding elements and refs are correctly hydrated.","animate-null");const u=l instanceof Element?ha:pa;We.has(l)||u(l);const c=We.get(l),f={...n};"delay"in f&&typeof f.delay=="function"&&(f.delay=f.delay(a,i)),s.push(...Ji(c,{...t,transition:f},{}))}}return s}function ba(e,t,n){const r=[];return aa(e,t,n,{spring:Be}).forEach(({keyframes:o,transition:i},a)=>{r.push(..._r(a,o,i))}),r}function ya(e){return Array.isArray(e)&&e.some(Array.isArray)}function wa(e){function t(n,r,s){let o=[],i;if(ya(n))o=ba(n,r,e);else{const{onComplete:l,...u}=s||{};typeof l=="function"&&(i=l),o=_r(n,r,u,e)}const a=new Zo(o);return i&&a.finished.then(i),a}return t}const xa=wa(),va={some:0,all:1};function Ta(e,t,{root:n,margin:r,amount:s="some"}={}){const o=hr(e),i=new WeakMap,a=u=>{u.forEach(c=>{const f=i.get(c.target);if(c.isIntersecting!==!!f)if(c.isIntersecting){const m=t(c.target,c);typeof m=="function"?i.set(c.target,m):l.unobserve(c.target)}else typeof f=="function"&&(f(c),i.delete(c.target))})},l=new IntersectionObserver(a,{root:n,rootMargin:r,threshold:typeof s=="number"?s:va[s]});return o.forEach(u=>l.observe(u)),()=>l.disconnect()}function Aa(e,{root:t,margin:n,amount:r,once:s=!1,initial:o=!1}={}){const[i,a]=K.useState(o);return K.useEffect(()=>{if(!e.current||s&&i)return;const l=()=>(a(!0),s?void 0:()=>a(!1)),u={root:t&&t.current||void 0,margin:n,amount:r};return Ta(e.current,l,u)},[t,e,n,s,r]),i}function jr(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var s=e.length;for(t=0;t<s;t++)e[t]&&(n=jr(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function ka(){for(var e,t,n=0,r="",s=arguments.length;n<s;n++)(e=arguments[n])&&(t=jr(e))&&(r&&(r+=" "),r+=t);return r}const Sa=(e,t)=>{const n=new Array(e.length+t.length);for(let r=0;r<e.length;r++)n[r]=e[r];for(let r=0;r<t.length;r++)n[e.length+r]=t[r];return n},Ma=(e,t)=>({classGroupId:e,validator:t}),zr=(e=new Map,t=null,n)=>({nextPart:e,validators:t,classGroupId:n}),tt="-",Lr=[],Ea="arbitrary..",Va=e=>{const t=Ra(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:i=>{if(i.startsWith("[")&&i.endsWith("]"))return Ca(i);const a=i.split(tt),l=a[0]===""&&a.length>1?1:0;return Br(a,l,t)},getConflictingClassGroupIds:(i,a)=>{if(a){const l=r[i],u=n[i];return l?u?Sa(u,l):l:u||Lr}return n[i]||Lr}}},Br=(e,t,n)=>{if(e.length-t===0)return n.classGroupId;const s=e[t],o=n.nextPart.get(s);if(o){const u=Br(e,t+1,o);if(u)return u}const i=n.validators;if(i===null)return;const a=t===0?e.join(tt):e.slice(t).join(tt),l=i.length;for(let u=0;u<l;u++){const c=i[u];if(c.validator(a))return c.classGroupId}},Ca=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const t=e.slice(1,-1),n=t.indexOf(":"),r=t.slice(0,n);return r?Ea+r:void 0})(),Ra=e=>{const{theme:t,classGroups:n}=e;return Fa(n,t)},Fa=(e,t)=>{const n=zr();for(const r in e){const s=e[r];Wt(s,n,r,t)}return n},Wt=(e,t,n,r)=>{const s=e.length;for(let o=0;o<s;o++){const i=e[o];Pa(i,t,n,r)}},Pa=(e,t,n,r)=>{if(typeof e=="string"){Oa(e,t,n);return}if(typeof e=="function"){Na(e,t,n,r);return}Da(e,t,n,r)},Oa=(e,t,n)=>{const r=e===""?t:$r(t,e);r.classGroupId=n},Na=(e,t,n,r)=>{if(Ia(e)){Wt(e(r),t,n,r);return}t.validators===null&&(t.validators=[]),t.validators.push(Ma(n,e))},Da=(e,t,n,r)=>{const s=Object.entries(e),o=s.length;for(let i=0;i<o;i++){const[a,l]=s[i];Wt(l,$r(t,a),n,r)}},$r=(e,t)=>{let n=e;const r=t.split(tt),s=r.length;for(let o=0;o<s;o++){const i=r[o];let a=n.nextPart.get(i);a||(a=zr(),n.nextPart.set(i,a)),n=a}return n},Ia=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,_a=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=Object.create(null),r=Object.create(null);const s=(o,i)=>{n[o]=i,t++,t>e&&(t=0,r=n,n=Object.create(null))};return{get(o){let i=n[o];if(i!==void 0)return i;if((i=r[o])!==void 0)return s(o,i),i},set(o,i){o in n?n[o]=i:s(o,i)}}},Gt="!",Kr=":",ja=[],Zr=(e,t,n,r,s)=>({modifiers:e,hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:r,isExternal:s}),za=e=>{const{prefix:t,experimentalParseClassName:n}=e;let r=s=>{const o=[];let i=0,a=0,l=0,u;const c=s.length;for(let A=0;A<c;A++){const T=s[A];if(i===0&&a===0){if(T===Kr){o.push(s.slice(l,A)),l=A+1;continue}if(T==="/"){u=A;continue}}T==="["?i++:T==="]"?i--:T==="("?a++:T===")"&&a--}const f=o.length===0?s:s.slice(l);let m=f,w=!1;f.endsWith(Gt)?(m=f.slice(0,-1),w=!0):f.startsWith(Gt)&&(m=f.slice(1),w=!0);const v=u&&u>l?u-l:void 0;return Zr(o,w,m,v)};if(t){const s=t+Kr,o=r;r=i=>i.startsWith(s)?o(i.slice(s.length)):Zr(ja,!1,i,void 0,!0)}if(n){const s=r;r=o=>n({className:o,parseClassName:s})}return r},La=e=>{const t=new Map;return e.orderSensitiveModifiers.forEach((n,r)=>{t.set(n,1e6+r)}),n=>{const r=[];let s=[];for(let o=0;o<n.length;o++){const i=n[o],a=i[0]==="[",l=t.has(i);a||l?(s.length>0&&(s.sort(),r.push(...s),s=[]),r.push(i)):s.push(i)}return s.length>0&&(s.sort(),r.push(...s)),r}},Ba=e=>({cache:_a(e.cacheSize),parseClassName:za(e),sortModifiers:La(e),...Va(e)}),$a=/\s+/,Ka=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:s,sortModifiers:o}=t,i=[],a=e.trim().split($a);let l="";for(let u=a.length-1;u>=0;u-=1){const c=a[u],{isExternal:f,modifiers:m,hasImportantModifier:w,baseClassName:v,maybePostfixModifierPosition:A}=n(c);if(f){l=c+(l.length>0?" "+l:l);continue}let T=!!A,S=r(T?v.substring(0,A):v);if(!S){if(!T){l=c+(l.length>0?" "+l:l);continue}if(S=r(v),!S){l=c+(l.length>0?" "+l:l);continue}T=!1}const D=m.length===0?"":m.length===1?m[0]:o(m).join(":"),P=w?D+Gt:D,O=P+S;if(i.indexOf(O)>-1)continue;i.push(O);const x=s(S,T);for(let R=0;R<x.length;++R){const I=x[R];i.push(P+I)}l=c+(l.length>0?" "+l:l)}return l},Za=(...e)=>{let t=0,n,r,s="";for(;t<e.length;)(n=e[t++])&&(r=Wr(n))&&(s&&(s+=" "),s+=r);return s},Wr=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=Wr(e[r]))&&(n&&(n+=" "),n+=t);return n},Wa=(e,...t)=>{let n,r,s,o;const i=l=>{const u=t.reduce((c,f)=>f(c),e());return n=Ba(u),r=n.cache.get,s=n.cache.set,o=a,a(l)},a=l=>{const u=r(l);if(u)return u;const c=Ka(l,n);return s(l,c),c};return o=i,(...l)=>o(Za(...l))},Ga=[],z=e=>{const t=n=>n[e]||Ga;return t.isThemeGetter=!0,t},Gr=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Yr=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Ya=/^\d+\/\d+$/,Ua=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Xa=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,qa=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Ha=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Ja=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Ee=e=>Ya.test(e),F=e=>!!e&&!Number.isNaN(Number(e)),ue=e=>!!e&&Number.isInteger(Number(e)),Yt=e=>e.endsWith("%")&&F(e.slice(0,-1)),ae=e=>Ua.test(e),Qa=()=>!0,el=e=>Xa.test(e)&&!qa.test(e),Ur=()=>!1,tl=e=>Ha.test(e),nl=e=>Ja.test(e),rl=e=>!g(e)&&!b(e),sl=e=>Ve(e,Qr,Ur),g=e=>Gr.test(e),ye=e=>Ve(e,es,el),Ut=e=>Ve(e,cl,F),Xr=e=>Ve(e,Hr,Ur),ol=e=>Ve(e,Jr,nl),nt=e=>Ve(e,ts,tl),b=e=>Yr.test(e),Ge=e=>Ce(e,es),il=e=>Ce(e,ul),qr=e=>Ce(e,Hr),al=e=>Ce(e,Qr),ll=e=>Ce(e,Jr),rt=e=>Ce(e,ts,!0),Ve=(e,t,n)=>{const r=Gr.exec(e);return r?r[1]?t(r[1]):n(r[2]):!1},Ce=(e,t,n=!1)=>{const r=Yr.exec(e);return r?r[1]?t(r[1]):n:!1},Hr=e=>e==="position"||e==="percentage",Jr=e=>e==="image"||e==="url",Qr=e=>e==="length"||e==="size"||e==="bg-size",es=e=>e==="length",cl=e=>e==="number",ul=e=>e==="family-name",ts=e=>e==="shadow",dl=Wa(()=>{const e=z("color"),t=z("font"),n=z("text"),r=z("font-weight"),s=z("tracking"),o=z("leading"),i=z("breakpoint"),a=z("container"),l=z("spacing"),u=z("radius"),c=z("shadow"),f=z("inset-shadow"),m=z("text-shadow"),w=z("drop-shadow"),v=z("blur"),A=z("perspective"),T=z("aspect"),S=z("ease"),D=z("animate"),P=()=>["auto","avoid","all","avoid-page","page","left","right","column"],O=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],x=()=>[...O(),b,g],R=()=>["auto","hidden","clip","visible","scroll"],I=()=>["auto","contain","none"],p=()=>[b,g,l],V=()=>[Ee,"full","auto",...p()],B=()=>[ue,"none","subgrid",b,g],W=()=>["auto",{span:["full",ue,b,g]},ue,b,g],H=()=>[ue,"auto",b,g],ee=()=>["auto","min","max","fr",b,g],Re=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],te=()=>["start","end","center","stretch","center-safe","end-safe"],U=()=>["auto",...p()],L=()=>[Ee,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...p()],y=()=>[e,b,g],de=()=>[...O(),qr,Xr,{position:[b,g]}],fe=()=>["no-repeat",{repeat:["","x","y","space","round"]}],d=()=>["auto","cover","contain",al,sl,{size:[b,g]}],M=()=>[Yt,Ge,ye],C=()=>["","none","full",u,b,g],N=()=>["",F,Ge,ye],G=()=>["solid","dashed","dotted","double"],ne=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],E=()=>[F,Yt,qr,Xr],Y=()=>["","none",v,b,g],X=()=>["none",F,b,g],Fe=()=>["none",F,b,g],Xt=()=>[F,b,g],st=()=>[Ee,"full",...p()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[ae],breakpoint:[ae],color:[Qa],container:[ae],"drop-shadow":[ae],ease:["in","out","in-out"],font:[rl],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[ae],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[ae],shadow:[ae],spacing:["px",F],text:[ae],"text-shadow":[ae],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Ee,g,b,T]}],container:["container"],columns:[{columns:[F,g,b,a]}],"break-after":[{"break-after":P()}],"break-before":[{"break-before":P()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:x()}],overflow:[{overflow:R()}],"overflow-x":[{"overflow-x":R()}],"overflow-y":[{"overflow-y":R()}],overscroll:[{overscroll:I()}],"overscroll-x":[{"overscroll-x":I()}],"overscroll-y":[{"overscroll-y":I()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:V()}],"inset-x":[{"inset-x":V()}],"inset-y":[{"inset-y":V()}],start:[{start:V()}],end:[{end:V()}],top:[{top:V()}],right:[{right:V()}],bottom:[{bottom:V()}],left:[{left:V()}],visibility:["visible","invisible","collapse"],z:[{z:[ue,"auto",b,g]}],basis:[{basis:[Ee,"full","auto",a,...p()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[F,Ee,"auto","initial","none",g]}],grow:[{grow:["",F,b,g]}],shrink:[{shrink:["",F,b,g]}],order:[{order:[ue,"first","last","none",b,g]}],"grid-cols":[{"grid-cols":B()}],"col-start-end":[{col:W()}],"col-start":[{"col-start":H()}],"col-end":[{"col-end":H()}],"grid-rows":[{"grid-rows":B()}],"row-start-end":[{row:W()}],"row-start":[{"row-start":H()}],"row-end":[{"row-end":H()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":ee()}],"auto-rows":[{"auto-rows":ee()}],gap:[{gap:p()}],"gap-x":[{"gap-x":p()}],"gap-y":[{"gap-y":p()}],"justify-content":[{justify:[...Re(),"normal"]}],"justify-items":[{"justify-items":[...te(),"normal"]}],"justify-self":[{"justify-self":["auto",...te()]}],"align-content":[{content:["normal",...Re()]}],"align-items":[{items:[...te(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...te(),{baseline:["","last"]}]}],"place-content":[{"place-content":Re()}],"place-items":[{"place-items":[...te(),"baseline"]}],"place-self":[{"place-self":["auto",...te()]}],p:[{p:p()}],px:[{px:p()}],py:[{py:p()}],ps:[{ps:p()}],pe:[{pe:p()}],pt:[{pt:p()}],pr:[{pr:p()}],pb:[{pb:p()}],pl:[{pl:p()}],m:[{m:U()}],mx:[{mx:U()}],my:[{my:U()}],ms:[{ms:U()}],me:[{me:U()}],mt:[{mt:U()}],mr:[{mr:U()}],mb:[{mb:U()}],ml:[{ml:U()}],"space-x":[{"space-x":p()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":p()}],"space-y-reverse":["space-y-reverse"],size:[{size:L()}],w:[{w:[a,"screen",...L()]}],"min-w":[{"min-w":[a,"screen","none",...L()]}],"max-w":[{"max-w":[a,"screen","none","prose",{screen:[i]},...L()]}],h:[{h:["screen","lh",...L()]}],"min-h":[{"min-h":["screen","lh","none",...L()]}],"max-h":[{"max-h":["screen","lh",...L()]}],"font-size":[{text:["base",n,Ge,ye]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,b,Ut]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Yt,g]}],"font-family":[{font:[il,g,t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[s,b,g]}],"line-clamp":[{"line-clamp":[F,"none",b,Ut]}],leading:[{leading:[o,...p()]}],"list-image":[{"list-image":["none",b,g]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",b,g]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:y()}],"text-color":[{text:y()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...G(),"wavy"]}],"text-decoration-thickness":[{decoration:[F,"from-font","auto",b,ye]}],"text-decoration-color":[{decoration:y()}],"underline-offset":[{"underline-offset":[F,"auto",b,g]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:p()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",b,g]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",b,g]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:de()}],"bg-repeat":[{bg:fe()}],"bg-size":[{bg:d()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},ue,b,g],radial:["",b,g],conic:[ue,b,g]},ll,ol]}],"bg-color":[{bg:y()}],"gradient-from-pos":[{from:M()}],"gradient-via-pos":[{via:M()}],"gradient-to-pos":[{to:M()}],"gradient-from":[{from:y()}],"gradient-via":[{via:y()}],"gradient-to":[{to:y()}],rounded:[{rounded:C()}],"rounded-s":[{"rounded-s":C()}],"rounded-e":[{"rounded-e":C()}],"rounded-t":[{"rounded-t":C()}],"rounded-r":[{"rounded-r":C()}],"rounded-b":[{"rounded-b":C()}],"rounded-l":[{"rounded-l":C()}],"rounded-ss":[{"rounded-ss":C()}],"rounded-se":[{"rounded-se":C()}],"rounded-ee":[{"rounded-ee":C()}],"rounded-es":[{"rounded-es":C()}],"rounded-tl":[{"rounded-tl":C()}],"rounded-tr":[{"rounded-tr":C()}],"rounded-br":[{"rounded-br":C()}],"rounded-bl":[{"rounded-bl":C()}],"border-w":[{border:N()}],"border-w-x":[{"border-x":N()}],"border-w-y":[{"border-y":N()}],"border-w-s":[{"border-s":N()}],"border-w-e":[{"border-e":N()}],"border-w-t":[{"border-t":N()}],"border-w-r":[{"border-r":N()}],"border-w-b":[{"border-b":N()}],"border-w-l":[{"border-l":N()}],"divide-x":[{"divide-x":N()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":N()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...G(),"hidden","none"]}],"divide-style":[{divide:[...G(),"hidden","none"]}],"border-color":[{border:y()}],"border-color-x":[{"border-x":y()}],"border-color-y":[{"border-y":y()}],"border-color-s":[{"border-s":y()}],"border-color-e":[{"border-e":y()}],"border-color-t":[{"border-t":y()}],"border-color-r":[{"border-r":y()}],"border-color-b":[{"border-b":y()}],"border-color-l":[{"border-l":y()}],"divide-color":[{divide:y()}],"outline-style":[{outline:[...G(),"none","hidden"]}],"outline-offset":[{"outline-offset":[F,b,g]}],"outline-w":[{outline:["",F,Ge,ye]}],"outline-color":[{outline:y()}],shadow:[{shadow:["","none",c,rt,nt]}],"shadow-color":[{shadow:y()}],"inset-shadow":[{"inset-shadow":["none",f,rt,nt]}],"inset-shadow-color":[{"inset-shadow":y()}],"ring-w":[{ring:N()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:y()}],"ring-offset-w":[{"ring-offset":[F,ye]}],"ring-offset-color":[{"ring-offset":y()}],"inset-ring-w":[{"inset-ring":N()}],"inset-ring-color":[{"inset-ring":y()}],"text-shadow":[{"text-shadow":["none",m,rt,nt]}],"text-shadow-color":[{"text-shadow":y()}],opacity:[{opacity:[F,b,g]}],"mix-blend":[{"mix-blend":[...ne(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":ne()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[F]}],"mask-image-linear-from-pos":[{"mask-linear-from":E()}],"mask-image-linear-to-pos":[{"mask-linear-to":E()}],"mask-image-linear-from-color":[{"mask-linear-from":y()}],"mask-image-linear-to-color":[{"mask-linear-to":y()}],"mask-image-t-from-pos":[{"mask-t-from":E()}],"mask-image-t-to-pos":[{"mask-t-to":E()}],"mask-image-t-from-color":[{"mask-t-from":y()}],"mask-image-t-to-color":[{"mask-t-to":y()}],"mask-image-r-from-pos":[{"mask-r-from":E()}],"mask-image-r-to-pos":[{"mask-r-to":E()}],"mask-image-r-from-color":[{"mask-r-from":y()}],"mask-image-r-to-color":[{"mask-r-to":y()}],"mask-image-b-from-pos":[{"mask-b-from":E()}],"mask-image-b-to-pos":[{"mask-b-to":E()}],"mask-image-b-from-color":[{"mask-b-from":y()}],"mask-image-b-to-color":[{"mask-b-to":y()}],"mask-image-l-from-pos":[{"mask-l-from":E()}],"mask-image-l-to-pos":[{"mask-l-to":E()}],"mask-image-l-from-color":[{"mask-l-from":y()}],"mask-image-l-to-color":[{"mask-l-to":y()}],"mask-image-x-from-pos":[{"mask-x-from":E()}],"mask-image-x-to-pos":[{"mask-x-to":E()}],"mask-image-x-from-color":[{"mask-x-from":y()}],"mask-image-x-to-color":[{"mask-x-to":y()}],"mask-image-y-from-pos":[{"mask-y-from":E()}],"mask-image-y-to-pos":[{"mask-y-to":E()}],"mask-image-y-from-color":[{"mask-y-from":y()}],"mask-image-y-to-color":[{"mask-y-to":y()}],"mask-image-radial":[{"mask-radial":[b,g]}],"mask-image-radial-from-pos":[{"mask-radial-from":E()}],"mask-image-radial-to-pos":[{"mask-radial-to":E()}],"mask-image-radial-from-color":[{"mask-radial-from":y()}],"mask-image-radial-to-color":[{"mask-radial-to":y()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":O()}],"mask-image-conic-pos":[{"mask-conic":[F]}],"mask-image-conic-from-pos":[{"mask-conic-from":E()}],"mask-image-conic-to-pos":[{"mask-conic-to":E()}],"mask-image-conic-from-color":[{"mask-conic-from":y()}],"mask-image-conic-to-color":[{"mask-conic-to":y()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:de()}],"mask-repeat":[{mask:fe()}],"mask-size":[{mask:d()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",b,g]}],filter:[{filter:["","none",b,g]}],blur:[{blur:Y()}],brightness:[{brightness:[F,b,g]}],contrast:[{contrast:[F,b,g]}],"drop-shadow":[{"drop-shadow":["","none",w,rt,nt]}],"drop-shadow-color":[{"drop-shadow":y()}],grayscale:[{grayscale:["",F,b,g]}],"hue-rotate":[{"hue-rotate":[F,b,g]}],invert:[{invert:["",F,b,g]}],saturate:[{saturate:[F,b,g]}],sepia:[{sepia:["",F,b,g]}],"backdrop-filter":[{"backdrop-filter":["","none",b,g]}],"backdrop-blur":[{"backdrop-blur":Y()}],"backdrop-brightness":[{"backdrop-brightness":[F,b,g]}],"backdrop-contrast":[{"backdrop-contrast":[F,b,g]}],"backdrop-grayscale":[{"backdrop-grayscale":["",F,b,g]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[F,b,g]}],"backdrop-invert":[{"backdrop-invert":["",F,b,g]}],"backdrop-opacity":[{"backdrop-opacity":[F,b,g]}],"backdrop-saturate":[{"backdrop-saturate":[F,b,g]}],"backdrop-sepia":[{"backdrop-sepia":["",F,b,g]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":p()}],"border-spacing-x":[{"border-spacing-x":p()}],"border-spacing-y":[{"border-spacing-y":p()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",b,g]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[F,"initial",b,g]}],ease:[{ease:["linear","initial",S,b,g]}],delay:[{delay:[F,b,g]}],animate:[{animate:["none",D,b,g]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[A,b,g]}],"perspective-origin":[{"perspective-origin":x()}],rotate:[{rotate:X()}],"rotate-x":[{"rotate-x":X()}],"rotate-y":[{"rotate-y":X()}],"rotate-z":[{"rotate-z":X()}],scale:[{scale:Fe()}],"scale-x":[{"scale-x":Fe()}],"scale-y":[{"scale-y":Fe()}],"scale-z":[{"scale-z":Fe()}],"scale-3d":["scale-3d"],skew:[{skew:Xt()}],"skew-x":[{"skew-x":Xt()}],"skew-y":[{"skew-y":Xt()}],transform:[{transform:[b,g,"","none","gpu","cpu"]}],"transform-origin":[{origin:x()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:st()}],"translate-x":[{"translate-x":st()}],"translate-y":[{"translate-y":st()}],"translate-z":[{"translate-z":st()}],"translate-none":["translate-none"],accent:[{accent:y()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:y()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",b,g]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":p()}],"scroll-mx":[{"scroll-mx":p()}],"scroll-my":[{"scroll-my":p()}],"scroll-ms":[{"scroll-ms":p()}],"scroll-me":[{"scroll-me":p()}],"scroll-mt":[{"scroll-mt":p()}],"scroll-mr":[{"scroll-mr":p()}],"scroll-mb":[{"scroll-mb":p()}],"scroll-ml":[{"scroll-ml":p()}],"scroll-p":[{"scroll-p":p()}],"scroll-px":[{"scroll-px":p()}],"scroll-py":[{"scroll-py":p()}],"scroll-ps":[{"scroll-ps":p()}],"scroll-pe":[{"scroll-pe":p()}],"scroll-pt":[{"scroll-pt":p()}],"scroll-pr":[{"scroll-pr":p()}],"scroll-pb":[{"scroll-pb":p()}],"scroll-pl":[{"scroll-pl":p()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",b,g]}],fill:[{fill:["none",...y()]}],"stroke-w":[{stroke:[F,Ge,ye,Ut]}],stroke:[{stroke:["none",...y()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}}),fl={small:"text-xl md:text-2xl",medium:"text-3xl md:text-4xl",large:"text-4xl md:text-5xl"},ns={primary:{textColor:"text-white",suffixPosition:"left"},secondary:{textColor:"text-black",suffixPosition:"right"}};function ml({value:e,suffix:t="",variant:n="primary",size:r="small",className:s}){const o=K.useRef(null),i=Aa(o,{once:!0});gs(()=>{const l=o.current;if(!l)return;const{suffixPosition:u}=ns[n],c=u==="left"?`${t}0`:`0${t}`;if(l.textContent=c,!i)return;if(window.matchMedia("(prefers-reduced-motion)").matches){const m=u==="left"?`${t}${e}`:`${e}${t}`;l.textContent=m;return}const f=xa(0,e,{duration:2,ease:"easeOut",onUpdate:m=>{const w=Math.floor(m);l.textContent=u==="left"?`${t}${w}`:`${w}${t}`}});return()=>f.stop()},[e,t,n,i]);const a=dl(ka("font-bold",fl[r],ns[n].textColor,s));return $.jsx("span",{ref:o,className:a,"data-testid":"counter"})}re.Button=as,re.Counter=ml,re.Navigation=ps,re.PasswordTooltip=hs,Object.defineProperty(re,Symbol.toStringTag,{value:"Module"})}));
13
13
  //# sourceMappingURL=index.umd.js.map