@pondipondi/mimas 0.1.3 → 0.1.4

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.
@@ -44,23 +44,27 @@ declare const button: import("tailwind-variants").TVReturnType<{
44
44
  };
45
45
  };
46
46
  colour: {
47
- neutral: {
47
+ base: {
48
48
  inner: string;
49
49
  chip: string;
50
50
  };
51
- red: {
51
+ primary: {
52
52
  inner: string;
53
53
  chip: string;
54
54
  };
55
- green: {
55
+ negative: {
56
56
  inner: string;
57
57
  chip: string;
58
58
  };
59
- blue: {
59
+ positive: {
60
60
  inner: string;
61
61
  chip: string;
62
62
  };
63
- white: {
63
+ warning: {
64
+ inner: string;
65
+ chip: string;
66
+ };
67
+ invert: {
64
68
  inner: string;
65
69
  chip: string;
66
70
  };
@@ -122,23 +126,27 @@ declare const button: import("tailwind-variants").TVReturnType<{
122
126
  };
123
127
  };
124
128
  colour: {
125
- neutral: {
129
+ base: {
130
+ inner: string;
131
+ chip: string;
132
+ };
133
+ primary: {
126
134
  inner: string;
127
135
  chip: string;
128
136
  };
129
- red: {
137
+ negative: {
130
138
  inner: string;
131
139
  chip: string;
132
140
  };
133
- green: {
141
+ positive: {
134
142
  inner: string;
135
143
  chip: string;
136
144
  };
137
- blue: {
145
+ warning: {
138
146
  inner: string;
139
147
  chip: string;
140
148
  };
141
- white: {
149
+ invert: {
142
150
  inner: string;
143
151
  chip: string;
144
152
  };
@@ -196,23 +204,27 @@ declare const button: import("tailwind-variants").TVReturnType<{
196
204
  };
197
205
  };
198
206
  colour: {
199
- neutral: {
207
+ base: {
200
208
  inner: string;
201
209
  chip: string;
202
210
  };
203
- red: {
211
+ primary: {
204
212
  inner: string;
205
213
  chip: string;
206
214
  };
207
- green: {
215
+ negative: {
208
216
  inner: string;
209
217
  chip: string;
210
218
  };
211
- blue: {
219
+ positive: {
212
220
  inner: string;
213
221
  chip: string;
214
222
  };
215
- white: {
223
+ warning: {
224
+ inner: string;
225
+ chip: string;
226
+ };
227
+ invert: {
216
228
  inner: string;
217
229
  chip: string;
218
230
  };
@@ -270,23 +282,27 @@ declare const button: import("tailwind-variants").TVReturnType<{
270
282
  };
271
283
  };
272
284
  colour: {
273
- neutral: {
285
+ base: {
274
286
  inner: string;
275
287
  chip: string;
276
288
  };
277
- red: {
289
+ primary: {
278
290
  inner: string;
279
291
  chip: string;
280
292
  };
281
- green: {
293
+ negative: {
282
294
  inner: string;
283
295
  chip: string;
284
296
  };
285
- blue: {
297
+ positive: {
286
298
  inner: string;
287
299
  chip: string;
288
300
  };
289
- white: {
301
+ warning: {
302
+ inner: string;
303
+ chip: string;
304
+ };
305
+ invert: {
290
306
  inner: string;
291
307
  chip: string;
292
308
  };
@@ -348,23 +364,27 @@ declare const button: import("tailwind-variants").TVReturnType<{
348
364
  };
349
365
  };
350
366
  colour: {
351
- neutral: {
367
+ base: {
352
368
  inner: string;
353
369
  chip: string;
354
370
  };
355
- red: {
371
+ primary: {
356
372
  inner: string;
357
373
  chip: string;
358
374
  };
359
- green: {
375
+ negative: {
360
376
  inner: string;
361
377
  chip: string;
362
378
  };
363
- blue: {
379
+ positive: {
364
380
  inner: string;
365
381
  chip: string;
366
382
  };
367
- white: {
383
+ warning: {
384
+ inner: string;
385
+ chip: string;
386
+ };
387
+ invert: {
368
388
  inner: string;
369
389
  chip: string;
370
390
  };
@@ -426,23 +446,27 @@ declare const button: import("tailwind-variants").TVReturnType<{
426
446
  };
427
447
  };
428
448
  colour: {
429
- neutral: {
449
+ base: {
450
+ inner: string;
451
+ chip: string;
452
+ };
453
+ primary: {
430
454
  inner: string;
431
455
  chip: string;
432
456
  };
433
- red: {
457
+ negative: {
434
458
  inner: string;
435
459
  chip: string;
436
460
  };
437
- green: {
461
+ positive: {
438
462
  inner: string;
439
463
  chip: string;
440
464
  };
441
- blue: {
465
+ warning: {
442
466
  inner: string;
443
467
  chip: string;
444
468
  };
445
- white: {
469
+ invert: {
446
470
  inner: string;
447
471
  chip: string;
448
472
  };
@@ -500,23 +524,27 @@ declare const button: import("tailwind-variants").TVReturnType<{
500
524
  };
501
525
  };
502
526
  colour: {
503
- neutral: {
527
+ base: {
528
+ inner: string;
529
+ chip: string;
530
+ };
531
+ primary: {
504
532
  inner: string;
505
533
  chip: string;
506
534
  };
507
- red: {
535
+ negative: {
508
536
  inner: string;
509
537
  chip: string;
510
538
  };
511
- green: {
539
+ positive: {
512
540
  inner: string;
513
541
  chip: string;
514
542
  };
515
- blue: {
543
+ warning: {
516
544
  inner: string;
517
545
  chip: string;
518
546
  };
519
- white: {
547
+ invert: {
520
548
  inner: string;
521
549
  chip: string;
522
550
  };
@@ -534,5 +562,5 @@ interface ButtonProps extends VariantProps<typeof button>, React.ButtonHTMLAttri
534
562
  loading?: boolean;
535
563
  text?: string;
536
564
  }
537
- declare function Button({ size, colour, width, corners, leftCorners, loading, text, children, className, disabled, onClick, ...props }: ButtonProps): import("react/jsx-runtime").JSX.Element;
565
+ declare function Button(props: ButtonProps): import("react/jsx-runtime").JSX.Element;
538
566
  export default Button;
@@ -0,0 +1,50 @@
1
+ import { ReactNode } from "react";
2
+ import { VariantProps } from "tailwind-variants";
3
+ declare const variants: import("tailwind-variants").TVReturnType<{
4
+ padding: {
5
+ small: string;
6
+ medium: string;
7
+ large: string;
8
+ };
9
+ }, undefined, "bg-base-800 rounded-lg border-2 border-t-[3px] border-base-900 shadow-inner shadow-base-900/50", import("tailwind-variants/dist/config").TVConfig<{
10
+ padding: {
11
+ small: string;
12
+ medium: string;
13
+ large: string;
14
+ };
15
+ }, {
16
+ padding: {
17
+ small: string;
18
+ medium: string;
19
+ large: string;
20
+ };
21
+ }>, {
22
+ padding: {
23
+ small: string;
24
+ medium: string;
25
+ large: string;
26
+ };
27
+ }, undefined, import("tailwind-variants").TVReturnType<{
28
+ padding: {
29
+ small: string;
30
+ medium: string;
31
+ large: string;
32
+ };
33
+ }, undefined, "bg-base-800 rounded-lg border-2 border-t-[3px] border-base-900 shadow-inner shadow-base-900/50", import("tailwind-variants/dist/config").TVConfig<{
34
+ padding: {
35
+ small: string;
36
+ medium: string;
37
+ large: string;
38
+ };
39
+ }, {
40
+ padding: {
41
+ small: string;
42
+ medium: string;
43
+ large: string;
44
+ };
45
+ }>, unknown, unknown, undefined>>;
46
+ interface Props extends VariantProps<typeof variants> {
47
+ children?: ReactNode;
48
+ }
49
+ declare const Inset: (props: Props) => import("react/jsx-runtime").JSX.Element;
50
+ export default Inset;
@@ -1,4 +1,6 @@
1
- export { default as Button } from "./crumbs/Button/Button";
2
- export { default as LoadingRing } from "./crumbs/LoadingRing/LoadingRing";
3
- export { default as ToggleSet } from "./crumbs/ToggleSet/ToggleSet";
4
- export { default as Noise } from "./util/Noise/Noise";
1
+ export { default as MimasProvider } from "./util/MimasProvider";
2
+ export { default as Noise } from "./util/Noise";
3
+ export { default as Inset } from "./frames/Inset";
4
+ export { default as Button } from "./crumbs/Button";
5
+ export { default as LoadingRing } from "./crumbs/LoadingRing";
6
+ export { default as ToggleSet } from "./crumbs/ToggleSet";
@@ -0,0 +1,6 @@
1
+ import { ReactNode } from "react";
2
+ import "@/index.css";
3
+ declare function MimasProvider({ children }: {
4
+ children?: ReactNode;
5
+ }): import("react/jsx-runtime").JSX.Element;
6
+ export default MimasProvider;
package/dist/mimas.cjs.js CHANGED
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const ur=require("react");var $e={exports:{}},me={};/**
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const dr=require("react");var Ne={exports:{}},ve={};/**
2
2
  * @license React
3
3
  * react-jsx-runtime.production.min.js
4
4
  *
@@ -6,7 +6,7 @@
6
6
  *
7
7
  * This source code is licensed under the MIT license found in the
8
8
  * LICENSE file in the root directory of this source tree.
9
- */var nr;function Kr(){if(nr)return me;nr=1;var r=ur,n=Symbol.for("react.element"),t=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,f=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function s(c,d,C){var p,k={},A=null,$=null;C!==void 0&&(A=""+C),d.key!==void 0&&(A=""+d.key),d.ref!==void 0&&($=d.ref);for(p in d)a.call(d,p)&&!i.hasOwnProperty(p)&&(k[p]=d[p]);if(c&&c.defaultProps)for(p in d=c.defaultProps,d)k[p]===void 0&&(k[p]=d[p]);return{$$typeof:n,type:c,key:A,ref:$,props:k,_owner:f.current}}return me.Fragment=t,me.jsx=s,me.jsxs=s,me}var ve={};/**
9
+ */var nr;function Jr(){if(nr)return ve;nr=1;var r=dr,o=Symbol.for("react.element"),t=Symbol.for("react.fragment"),s=Object.prototype.hasOwnProperty,d=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};function c(i,f,_){var b,T={},O=null,F=null;_!==void 0&&(O=""+_),f.key!==void 0&&(O=""+f.key),f.ref!==void 0&&(F=f.ref);for(b in f)s.call(f,b)&&!a.hasOwnProperty(b)&&(T[b]=f[b]);if(i&&i.defaultProps)for(b in f=i.defaultProps,f)T[b]===void 0&&(T[b]=f[b]);return{$$typeof:o,type:i,key:O,ref:F,props:T,_owner:d.current}}return ve.Fragment=t,ve.jsx=c,ve.jsxs=c,ve}var me={};/**
10
10
  * @license React
11
11
  * react-jsx-runtime.development.js
12
12
  *
@@ -14,17 +14,17 @@
14
14
  *
15
15
  * This source code is licensed under the MIT license found in the
16
16
  * LICENSE file in the root directory of this source tree.
17
- */var or;function Xr(){return or||(or=1,process.env.NODE_ENV!=="production"&&function(){var r=ur,n=Symbol.for("react.element"),t=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),f=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),c=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),C=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),k=Symbol.for("react.memo"),A=Symbol.for("react.lazy"),$=Symbol.for("react.offscreen"),G=Symbol.iterator,N="@@iterator";function _(e){if(e===null||typeof e!="object")return null;var o=G&&e[G]||e[N];return typeof o=="function"?o:null}var M=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function v(e){{for(var o=arguments.length,l=new Array(o>1?o-1:0),b=1;b<o;b++)l[b-1]=arguments[b];ie("error",e,l)}}function ie(e,o,l){{var b=M.ReactDebugCurrentFrame,j=b.getStackAddendum();j!==""&&(o+="%s",l=l.concat([j]));var P=l.map(function(R){return String(R)});P.unshift("Warning: "+o),Function.prototype.apply.call(console[e],console,P)}}var X=!1,ae=!1,se=!1,Q=!1,ee=!1,q;q=Symbol.for("react.module.reference");function re(e){return!!(typeof e=="string"||typeof e=="function"||e===a||e===i||ee||e===f||e===C||e===p||Q||e===$||X||ae||se||typeof e=="object"&&e!==null&&(e.$$typeof===A||e.$$typeof===k||e.$$typeof===s||e.$$typeof===c||e.$$typeof===d||e.$$typeof===q||e.getModuleId!==void 0))}function te(e,o,l){var b=e.displayName;if(b)return b;var j=o.displayName||o.name||"";return j!==""?l+"("+j+")":l}function u(e){return e.displayName||"Context"}function m(e){if(e==null)return null;if(typeof e.tag=="number"&&v("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case a:return"Fragment";case t:return"Portal";case i:return"Profiler";case f:return"StrictMode";case C:return"Suspense";case p:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case c:var o=e;return u(o)+".Consumer";case s:var l=e;return u(l._context)+".Provider";case d:return te(e,e.render,"ForwardRef");case k:var b=e.displayName||null;return b!==null?b:m(e.type)||"Memo";case A:{var j=e,P=j._payload,R=j._init;try{return m(R(P))}catch{return null}}}return null}var g=Object.assign,x=0,y,E,S,T,z,D,W;function ke(){}ke.__reactDisabledLog=!0;function fe(){{if(x===0){y=console.log,E=console.info,S=console.warn,T=console.error,z=console.group,D=console.groupCollapsed,W=console.groupEnd;var e={configurable:!0,enumerable:!0,value:ke,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}x++}}function pe(){{if(x--,x===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:g({},e,{value:y}),info:g({},e,{value:E}),warn:g({},e,{value:S}),error:g({},e,{value:T}),group:g({},e,{value:z}),groupCollapsed:g({},e,{value:D}),groupEnd:g({},e,{value:W})})}x<0&&v("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var le=M.ReactCurrentDispatcher,be;function Ee(e,o,l){{if(be===void 0)try{throw Error()}catch(j){var b=j.stack.trim().match(/\n( *(at )?)/);be=b&&b[1]||""}return`
18
- `+be+e}}var Te=!1,Ce;{var Er=typeof WeakMap=="function"?WeakMap:Map;Ce=new Er}function Le(e,o){if(!e||Te)return"";{var l=Ce.get(e);if(l!==void 0)return l}var b;Te=!0;var j=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var P;P=le.current,le.current=null,fe();try{if(o){var R=function(){throw Error()};if(Object.defineProperty(R.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(R,[])}catch(Y){b=Y}Reflect.construct(e,[],R)}else{try{R.call()}catch(Y){b=Y}e.call(R.prototype)}}else{try{throw Error()}catch(Y){b=Y}e()}}catch(Y){if(Y&&b&&typeof Y.stack=="string"){for(var w=Y.stack.split(`
19
- `),L=b.stack.split(`
20
- `),I=w.length-1,F=L.length-1;I>=1&&F>=0&&w[I]!==L[F];)F--;for(;I>=1&&F>=0;I--,F--)if(w[I]!==L[F]){if(I!==1||F!==1)do if(I--,F--,F<0||w[I]!==L[F]){var B=`
21
- `+w[I].replace(" at new "," at ");return e.displayName&&B.includes("<anonymous>")&&(B=B.replace("<anonymous>",e.displayName)),typeof e=="function"&&Ce.set(e,B),B}while(I>=1&&F>=0);break}}}finally{Te=!1,le.current=P,pe(),Error.prepareStackTrace=j}var ue=e?e.displayName||e.name:"",ne=ue?Ee(ue):"";return typeof e=="function"&&Ce.set(e,ne),ne}function Cr(e,o,l){return Le(e,!1)}function _r(e){var o=e.prototype;return!!(o&&o.isReactComponent)}function _e(e,o,l){if(e==null)return"";if(typeof e=="function")return Le(e,_r(e));if(typeof e=="string")return Ee(e);switch(e){case C:return Ee("Suspense");case p:return Ee("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case d:return Cr(e.render);case k:return _e(e.type,o,l);case A:{var b=e,j=b._payload,P=b._init;try{return _e(P(j),o,l)}catch{}}}return""}var ge=Object.prototype.hasOwnProperty,De={},Ye=M.ReactDebugCurrentFrame;function je(e){if(e){var o=e._owner,l=_e(e.type,e._source,o?o.type:null);Ye.setExtraStackFrame(l)}else Ye.setExtraStackFrame(null)}function jr(e,o,l,b,j){{var P=Function.call.bind(ge);for(var R in e)if(P(e,R)){var w=void 0;try{if(typeof e[R]!="function"){var L=Error((b||"React class")+": "+l+" type `"+R+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[R]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw L.name="Invariant Violation",L}w=e[R](o,R,b,l,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(I){w=I}w&&!(w instanceof Error)&&(je(j),v("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",b||"React class",l,R,typeof w),je(null)),w instanceof Error&&!(w.message in De)&&(De[w.message]=!0,je(j),v("Failed %s type: %s",l,w.message),je(null))}}}var Sr=Array.isArray;function Ae(e){return Sr(e)}function Tr(e){{var o=typeof Symbol=="function"&&Symbol.toStringTag,l=o&&e[Symbol.toStringTag]||e.constructor.name||"Object";return l}}function Ar(e){try{return Ue(e),!1}catch{return!0}}function Ue(e){return""+e}function Be(e){if(Ar(e))return v("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Tr(e)),Ue(e)}var qe=M.ReactCurrentOwner,Pr={key:!0,ref:!0,__self:!0,__source:!0},Je,Ke;function Or(e){if(ge.call(e,"ref")){var o=Object.getOwnPropertyDescriptor(e,"ref").get;if(o&&o.isReactWarning)return!1}return e.ref!==void 0}function Mr(e){if(ge.call(e,"key")){var o=Object.getOwnPropertyDescriptor(e,"key").get;if(o&&o.isReactWarning)return!1}return e.key!==void 0}function zr(e,o){typeof e.ref=="string"&&qe.current}function Ir(e,o){{var l=function(){Je||(Je=!0,v("%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://reactjs.org/link/special-props)",o))};l.isReactWarning=!0,Object.defineProperty(e,"key",{get:l,configurable:!0})}}function $r(e,o){{var l=function(){Ke||(Ke=!0,v("%s: `ref` 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://reactjs.org/link/special-props)",o))};l.isReactWarning=!0,Object.defineProperty(e,"ref",{get:l,configurable:!0})}}var Nr=function(e,o,l,b,j,P,R){var w={$$typeof:n,type:e,key:o,ref:l,props:R,_owner:P};return w._store={},Object.defineProperty(w._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(w,"_self",{configurable:!1,enumerable:!1,writable:!1,value:b}),Object.defineProperty(w,"_source",{configurable:!1,enumerable:!1,writable:!1,value:j}),Object.freeze&&(Object.freeze(w.props),Object.freeze(w)),w};function Fr(e,o,l,b,j){{var P,R={},w=null,L=null;l!==void 0&&(Be(l),w=""+l),Mr(o)&&(Be(o.key),w=""+o.key),Or(o)&&(L=o.ref,zr(o,j));for(P in o)ge.call(o,P)&&!Pr.hasOwnProperty(P)&&(R[P]=o[P]);if(e&&e.defaultProps){var I=e.defaultProps;for(P in I)R[P]===void 0&&(R[P]=I[P])}if(w||L){var F=typeof e=="function"?e.displayName||e.name||"Unknown":e;w&&Ir(R,F),L&&$r(R,F)}return Nr(e,w,L,j,b,qe.current,R)}}var Pe=M.ReactCurrentOwner,Xe=M.ReactDebugCurrentFrame;function ce(e){if(e){var o=e._owner,l=_e(e.type,e._source,o?o.type:null);Xe.setExtraStackFrame(l)}else Xe.setExtraStackFrame(null)}var Oe;Oe=!1;function Me(e){return typeof e=="object"&&e!==null&&e.$$typeof===n}function He(){{if(Pe.current){var e=m(Pe.current.type);if(e)return`
17
+ */var ar;function Kr(){return ar||(ar=1,process.env.NODE_ENV!=="production"&&function(){var r=dr,o=Symbol.for("react.element"),t=Symbol.for("react.portal"),s=Symbol.for("react.fragment"),d=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),i=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),_=Symbol.for("react.suspense"),b=Symbol.for("react.suspense_list"),T=Symbol.for("react.memo"),O=Symbol.for("react.lazy"),F=Symbol.for("react.offscreen"),I=Symbol.iterator,P="@@iterator";function C(e){if(e===null||typeof e!="object")return null;var n=I&&e[I]||e[P];return typeof n=="function"?n:null}var z=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function g(e){{for(var n=arguments.length,l=new Array(n>1?n-1:0),p=1;p<n;p++)l[p-1]=arguments[p];J("error",e,l)}}function J(e,n,l){{var p=z.ReactDebugCurrentFrame,k=p.getStackAddendum();k!==""&&(n+="%s",l=l.concat([k]));var A=l.map(function(R){return String(R)});A.unshift("Warning: "+n),Function.prototype.apply.call(console[e],console,A)}}var U=!1,Z=!1,se=!1,re=!1,te=!1,K;K=Symbol.for("react.module.reference");function oe(e){return!!(typeof e=="string"||typeof e=="function"||e===s||e===a||te||e===d||e===_||e===b||re||e===F||U||Z||se||typeof e=="object"&&e!==null&&(e.$$typeof===O||e.$$typeof===T||e.$$typeof===c||e.$$typeof===i||e.$$typeof===f||e.$$typeof===K||e.getModuleId!==void 0))}function ne(e,n,l){var p=e.displayName;if(p)return p;var k=n.displayName||n.name||"";return k!==""?l+"("+k+")":l}function u(e){return e.displayName||"Context"}function m(e){if(e==null)return null;if(typeof e.tag=="number"&&g("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case s:return"Fragment";case t:return"Portal";case a:return"Profiler";case d:return"StrictMode";case _:return"Suspense";case b:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case i:var n=e;return u(n)+".Consumer";case c:var l=e;return u(l._context)+".Provider";case f:return ne(e,e.render,"ForwardRef");case T:var p=e.displayName||null;return p!==null?p:m(e.type)||"Memo";case O:{var k=e,A=k._payload,R=k._init;try{return m(R(A))}catch{return null}}}return null}var v=Object.assign,x=0,y,E,j,S,N,W,q;function Ce(){}Ce.__reactDisabledLog=!0;function fe(){{if(x===0){y=console.log,E=console.info,j=console.warn,S=console.error,N=console.group,W=console.groupCollapsed,q=console.groupEnd;var e={configurable:!0,enumerable:!0,value:Ce,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}x++}}function pe(){{if(x--,x===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:v({},e,{value:y}),info:v({},e,{value:E}),warn:v({},e,{value:j}),error:v({},e,{value:S}),group:v({},e,{value:N}),groupCollapsed:v({},e,{value:W}),groupEnd:v({},e,{value:q})})}x<0&&g("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ie=z.ReactCurrentDispatcher,be;function Ee(e,n,l){{if(be===void 0)try{throw Error()}catch(k){var p=k.stack.trim().match(/\n( *(at )?)/);be=p&&p[1]||""}return`
18
+ `+be+e}}var Se=!1,ke;{var Cr=typeof WeakMap=="function"?WeakMap:Map;ke=new Cr}function De(e,n){if(!e||Se)return"";{var l=ke.get(e);if(l!==void 0)return l}var p;Se=!0;var k=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var A;A=ie.current,ie.current=null,fe();try{if(n){var R=function(){throw Error()};if(Object.defineProperty(R.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(R,[])}catch(D){p=D}Reflect.construct(e,[],R)}else{try{R.call()}catch(D){p=D}e.call(R.prototype)}}else{try{throw Error()}catch(D){p=D}e()}}catch(D){if(D&&p&&typeof D.stack=="string"){for(var w=D.stack.split(`
19
+ `),L=p.stack.split(`
20
+ `),$=w.length-1,V=L.length-1;$>=1&&V>=0&&w[$]!==L[V];)V--;for(;$>=1&&V>=0;$--,V--)if(w[$]!==L[V]){if($!==1||V!==1)do if($--,V--,V<0||w[$]!==L[V]){var B=`
21
+ `+w[$].replace(" at new "," at ");return e.displayName&&B.includes("<anonymous>")&&(B=B.replace("<anonymous>",e.displayName)),typeof e=="function"&&ke.set(e,B),B}while($>=1&&V>=0);break}}}finally{Se=!1,ie.current=A,pe(),Error.prepareStackTrace=k}var ce=e?e.displayName||e.name:"",ae=ce?Ee(ce):"";return typeof e=="function"&&ke.set(e,ae),ae}function Er(e,n,l){return De(e,!1)}function kr(e){var n=e.prototype;return!!(n&&n.isReactComponent)}function _e(e,n,l){if(e==null)return"";if(typeof e=="function")return De(e,kr(e));if(typeof e=="string")return Ee(e);switch(e){case _:return Ee("Suspense");case b:return Ee("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case f:return Er(e.render);case T:return _e(e.type,n,l);case O:{var p=e,k=p._payload,A=p._init;try{return _e(A(k),n,l)}catch{}}}return""}var ge=Object.prototype.hasOwnProperty,Ye={},Ue=z.ReactDebugCurrentFrame;function je(e){if(e){var n=e._owner,l=_e(e.type,e._source,n?n.type:null);Ue.setExtraStackFrame(l)}else Ue.setExtraStackFrame(null)}function _r(e,n,l,p,k){{var A=Function.call.bind(ge);for(var R in e)if(A(e,R)){var w=void 0;try{if(typeof e[R]!="function"){var L=Error((p||"React class")+": "+l+" type `"+R+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[R]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw L.name="Invariant Violation",L}w=e[R](n,R,p,l,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch($){w=$}w&&!(w instanceof Error)&&(je(k),g("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",p||"React class",l,R,typeof w),je(null)),w instanceof Error&&!(w.message in Ye)&&(Ye[w.message]=!0,je(k),g("Failed %s type: %s",l,w.message),je(null))}}}var jr=Array.isArray;function Te(e){return jr(e)}function Sr(e){{var n=typeof Symbol=="function"&&Symbol.toStringTag,l=n&&e[Symbol.toStringTag]||e.constructor.name||"Object";return l}}function Tr(e){try{return Be(e),!1}catch{return!0}}function Be(e){return""+e}function qe(e){if(Tr(e))return g("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Sr(e)),Be(e)}var Je=z.ReactCurrentOwner,Pr={key:!0,ref:!0,__self:!0,__source:!0},Ke,Xe;function Ar(e){if(ge.call(e,"ref")){var n=Object.getOwnPropertyDescriptor(e,"ref").get;if(n&&n.isReactWarning)return!1}return e.ref!==void 0}function Or(e){if(ge.call(e,"key")){var n=Object.getOwnPropertyDescriptor(e,"key").get;if(n&&n.isReactWarning)return!1}return e.key!==void 0}function zr(e,n){typeof e.ref=="string"&&Je.current}function Mr(e,n){{var l=function(){Ke||(Ke=!0,g("%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://reactjs.org/link/special-props)",n))};l.isReactWarning=!0,Object.defineProperty(e,"key",{get:l,configurable:!0})}}function Ir(e,n){{var l=function(){Xe||(Xe=!0,g("%s: `ref` 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://reactjs.org/link/special-props)",n))};l.isReactWarning=!0,Object.defineProperty(e,"ref",{get:l,configurable:!0})}}var Nr=function(e,n,l,p,k,A,R){var w={$$typeof:o,type:e,key:n,ref:l,props:R,_owner:A};return w._store={},Object.defineProperty(w._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(w,"_self",{configurable:!1,enumerable:!1,writable:!1,value:p}),Object.defineProperty(w,"_source",{configurable:!1,enumerable:!1,writable:!1,value:k}),Object.freeze&&(Object.freeze(w.props),Object.freeze(w)),w};function $r(e,n,l,p,k){{var A,R={},w=null,L=null;l!==void 0&&(qe(l),w=""+l),Or(n)&&(qe(n.key),w=""+n.key),Ar(n)&&(L=n.ref,zr(n,k));for(A in n)ge.call(n,A)&&!Pr.hasOwnProperty(A)&&(R[A]=n[A]);if(e&&e.defaultProps){var $=e.defaultProps;for(A in $)R[A]===void 0&&(R[A]=$[A])}if(w||L){var V=typeof e=="function"?e.displayName||e.name||"Unknown":e;w&&Mr(R,V),L&&Ir(R,V)}return Nr(e,w,L,k,p,Je.current,R)}}var Pe=z.ReactCurrentOwner,He=z.ReactDebugCurrentFrame;function le(e){if(e){var n=e._owner,l=_e(e.type,e._source,n?n.type:null);He.setExtraStackFrame(l)}else He.setExtraStackFrame(null)}var Ae;Ae=!1;function Oe(e){return typeof e=="object"&&e!==null&&e.$$typeof===o}function Ze(){{if(Pe.current){var e=m(Pe.current.type);if(e)return`
22
22
 
23
- Check the render method of \``+e+"`."}return""}}function Vr(e){return""}var Ze={};function Gr(e){{var o=He();if(!o){var l=typeof e=="string"?e:e.displayName||e.name;l&&(o=`
23
+ Check the render method of \``+e+"`."}return""}}function Fr(e){return""}var Qe={};function Vr(e){{var n=Ze();if(!n){var l=typeof e=="string"?e:e.displayName||e.name;l&&(n=`
24
24
 
25
- Check the top-level render call using <`+l+">.")}return o}}function Qe(e,o){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var l=Gr(o);if(Ze[l])return;Ze[l]=!0;var b="";e&&e._owner&&e._owner!==Pe.current&&(b=" It was passed a child from "+m(e._owner.type)+"."),ce(e),v('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',l,b),ce(null)}}function er(e,o){{if(typeof e!="object")return;if(Ae(e))for(var l=0;l<e.length;l++){var b=e[l];Me(b)&&Qe(b,o)}else if(Me(e))e._store&&(e._store.validated=!0);else if(e){var j=_(e);if(typeof j=="function"&&j!==e.entries)for(var P=j.call(e),R;!(R=P.next()).done;)Me(R.value)&&Qe(R.value,o)}}}function Wr(e){{var o=e.type;if(o==null||typeof o=="string")return;var l;if(typeof o=="function")l=o.propTypes;else if(typeof o=="object"&&(o.$$typeof===d||o.$$typeof===k))l=o.propTypes;else return;if(l){var b=m(o);jr(l,e.props,"prop",b,e)}else if(o.PropTypes!==void 0&&!Oe){Oe=!0;var j=m(o);v("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",j||"Unknown")}typeof o.getDefaultProps=="function"&&!o.getDefaultProps.isReactClassApproved&&v("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Lr(e){{for(var o=Object.keys(e.props),l=0;l<o.length;l++){var b=o[l];if(b!=="children"&&b!=="key"){ce(e),v("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",b),ce(null);break}}e.ref!==null&&(ce(e),v("Invalid attribute `ref` supplied to `React.Fragment`."),ce(null))}}var rr={};function tr(e,o,l,b,j,P){{var R=re(e);if(!R){var w="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(w+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var L=Vr();L?w+=L:w+=He();var I;e===null?I="null":Ae(e)?I="array":e!==void 0&&e.$$typeof===n?(I="<"+(m(e.type)||"Unknown")+" />",w=" Did you accidentally export a JSX literal instead of a component?"):I=typeof e,v("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",I,w)}var F=Fr(e,o,l,j,P);if(F==null)return F;if(R){var B=o.children;if(B!==void 0)if(b)if(Ae(B)){for(var ue=0;ue<B.length;ue++)er(B[ue],e);Object.freeze&&Object.freeze(B)}else v("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 er(B,e)}if(ge.call(o,"key")){var ne=m(e),Y=Object.keys(o).filter(function(Jr){return Jr!=="key"}),ze=Y.length>0?"{key: someKey, "+Y.join(": ..., ")+": ...}":"{key: someKey}";if(!rr[ne+ze]){var qr=Y.length>0?"{"+Y.join(": ..., ")+": ...}":"{}";v(`A props object containing a "key" prop is being spread into JSX:
25
+ Check the top-level render call using <`+l+">.")}return n}}function er(e,n){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var l=Vr(n);if(Qe[l])return;Qe[l]=!0;var p="";e&&e._owner&&e._owner!==Pe.current&&(p=" It was passed a child from "+m(e._owner.type)+"."),le(e),g('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',l,p),le(null)}}function rr(e,n){{if(typeof e!="object")return;if(Te(e))for(var l=0;l<e.length;l++){var p=e[l];Oe(p)&&er(p,n)}else if(Oe(e))e._store&&(e._store.validated=!0);else if(e){var k=C(e);if(typeof k=="function"&&k!==e.entries)for(var A=k.call(e),R;!(R=A.next()).done;)Oe(R.value)&&er(R.value,n)}}}function Gr(e){{var n=e.type;if(n==null||typeof n=="string")return;var l;if(typeof n=="function")l=n.propTypes;else if(typeof n=="object"&&(n.$$typeof===f||n.$$typeof===T))l=n.propTypes;else return;if(l){var p=m(n);_r(l,e.props,"prop",p,e)}else if(n.PropTypes!==void 0&&!Ae){Ae=!0;var k=m(n);g("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",k||"Unknown")}typeof n.getDefaultProps=="function"&&!n.getDefaultProps.isReactClassApproved&&g("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Wr(e){{for(var n=Object.keys(e.props),l=0;l<n.length;l++){var p=n[l];if(p!=="children"&&p!=="key"){le(e),g("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",p),le(null);break}}e.ref!==null&&(le(e),g("Invalid attribute `ref` supplied to `React.Fragment`."),le(null))}}var tr={};function or(e,n,l,p,k,A){{var R=oe(e);if(!R){var w="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(w+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var L=Fr();L?w+=L:w+=Ze();var $;e===null?$="null":Te(e)?$="array":e!==void 0&&e.$$typeof===o?($="<"+(m(e.type)||"Unknown")+" />",w=" Did you accidentally export a JSX literal instead of a component?"):$=typeof e,g("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",$,w)}var V=$r(e,n,l,k,A);if(V==null)return V;if(R){var B=n.children;if(B!==void 0)if(p)if(Te(B)){for(var ce=0;ce<B.length;ce++)rr(B[ce],e);Object.freeze&&Object.freeze(B)}else g("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 rr(B,e)}if(ge.call(n,"key")){var ae=m(e),D=Object.keys(n).filter(function(qr){return qr!=="key"}),ze=D.length>0?"{key: someKey, "+D.join(": ..., ")+": ...}":"{key: someKey}";if(!tr[ae+ze]){var Br=D.length>0?"{"+D.join(": ..., ")+": ...}":"{}";g(`A props object containing a "key" prop is being spread into JSX:
26
26
  let props = %s;
27
27
  <%s {...props} />
28
28
  React keys must be passed directly to JSX without using spread:
29
29
  let props = %s;
30
- <%s key={someKey} {...props} />`,ze,ne,qr,ne),rr[ne+ze]=!0}}return e===a?Lr(F):Wr(F),F}}function Dr(e,o,l){return tr(e,o,l,!0)}function Yr(e,o,l){return tr(e,o,l,!1)}var Ur=Yr,Br=Dr;ve.Fragment=a,ve.jsx=Ur,ve.jsxs=Br}()),ve}process.env.NODE_ENV==="production"?$e.exports=Kr():$e.exports=Xr();var V=$e.exports,ir=r=>typeof r=="boolean"?`${r}`:r===0?"0":r,U=r=>!r||typeof r!="object"||Object.keys(r).length===0,Hr=(r,n)=>JSON.stringify(r)===JSON.stringify(n);function dr(r,n){r.forEach(function(t){Array.isArray(t)?dr(t,n):n.push(t)})}function fr(r){let n=[];return dr(r,n),n}var pr=(...r)=>fr(r).filter(Boolean),br=(r,n)=>{let t={},a=Object.keys(r),f=Object.keys(n);for(let i of a)if(f.includes(i)){let s=r[i],c=n[i];typeof s=="object"&&typeof c=="object"?t[i]=br(s,c):Array.isArray(s)||Array.isArray(c)?t[i]=pr(c,s):t[i]=c+" "+s}else t[i]=r[i];for(let i of f)a.includes(i)||(t[i]=n[i]);return t},ar=r=>!r||typeof r!="string"?r:r.replace(/\s+/g," ").trim();const We="-";function Zr(r){const n=et(r),{conflictingClassGroups:t,conflictingClassGroupModifiers:a}=r;function f(s){const c=s.split(We);return c[0]===""&&c.length!==1&&c.shift(),gr(c,n)||Qr(s)}function i(s,c){const d=t[s]||[];return c&&a[s]?[...d,...a[s]]:d}return{getClassGroupId:f,getConflictingClassGroupIds:i}}function gr(r,n){var s;if(r.length===0)return n.classGroupId;const t=r[0],a=n.nextPart.get(t),f=a?gr(r.slice(1),a):void 0;if(f)return f;if(n.validators.length===0)return;const i=r.join(We);return(s=n.validators.find(({validator:c})=>c(i)))==null?void 0:s.classGroupId}const sr=/^\[(.+)\]$/;function Qr(r){if(sr.test(r)){const n=sr.exec(r)[1],t=n==null?void 0:n.substring(0,n.indexOf(":"));if(t)return"arbitrary.."+t}}function et(r){const{theme:n,prefix:t}=r,a={nextPart:new Map,validators:[]};return tt(Object.entries(r.classGroups),t).forEach(([i,s])=>{Ne(s,a,i,n)}),a}function Ne(r,n,t,a){r.forEach(f=>{if(typeof f=="string"){const i=f===""?n:lr(n,f);i.classGroupId=t;return}if(typeof f=="function"){if(rt(f)){Ne(f(a),n,t,a);return}n.validators.push({validator:f,classGroupId:t});return}Object.entries(f).forEach(([i,s])=>{Ne(s,lr(n,i),t,a)})})}function lr(r,n){let t=r;return n.split(We).forEach(a=>{t.nextPart.has(a)||t.nextPart.set(a,{nextPart:new Map,validators:[]}),t=t.nextPart.get(a)}),t}function rt(r){return r.isThemeGetter}function tt(r,n){return n?r.map(([t,a])=>{const f=a.map(i=>typeof i=="string"?n+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(([s,c])=>[n+s,c])):i);return[t,f]}):r}function nt(r){if(r<1)return{get:()=>{},set:()=>{}};let n=0,t=new Map,a=new Map;function f(i,s){t.set(i,s),n++,n>r&&(n=0,a=t,t=new Map)}return{get(i){let s=t.get(i);if(s!==void 0)return s;if((s=a.get(i))!==void 0)return f(i,s),s},set(i,s){t.has(i)?t.set(i,s):f(i,s)}}}const mr="!";function ot(r){const{separator:n,experimentalParseClassName:t}=r,a=n.length===1,f=n[0],i=n.length;function s(c){const d=[];let C=0,p=0,k;for(let _=0;_<c.length;_++){let M=c[_];if(C===0){if(M===f&&(a||c.slice(_,_+i)===n)){d.push(c.slice(p,_)),p=_+i;continue}if(M==="/"){k=_;continue}}M==="["?C++:M==="]"&&C--}const A=d.length===0?c:c.substring(p),$=A.startsWith(mr),G=$?A.substring(1):A,N=k&&k>p?k-p:void 0;return{modifiers:d,hasImportantModifier:$,baseClassName:G,maybePostfixModifierPosition:N}}return t?function(d){return t({className:d,parseClassName:s})}:s}function it(r){if(r.length<=1)return r;const n=[];let t=[];return r.forEach(a=>{a[0]==="["?(n.push(...t.sort(),a),t=[]):t.push(a)}),n.push(...t.sort()),n}function at(r){return{cache:nt(r.cacheSize),parseClassName:ot(r),...Zr(r)}}const st=/\s+/;function lt(r,n){const{parseClassName:t,getClassGroupId:a,getConflictingClassGroupIds:f}=n,i=new Set;return r.trim().split(st).map(s=>{const{modifiers:c,hasImportantModifier:d,baseClassName:C,maybePostfixModifierPosition:p}=t(s);let k=!!p,A=a(k?C.substring(0,p):C);if(!A){if(!k)return{isTailwindClass:!1,originalClassName:s};if(A=a(C),!A)return{isTailwindClass:!1,originalClassName:s};k=!1}const $=it(c).join(":");return{isTailwindClass:!0,modifierId:d?$+mr:$,classGroupId:A,originalClassName:s,hasPostfixModifier:k}}).reverse().filter(s=>{if(!s.isTailwindClass)return!0;const{modifierId:c,classGroupId:d,hasPostfixModifier:C}=s,p=c+d;return i.has(p)?!1:(i.add(p),f(d,C).forEach(k=>i.add(c+k)),!0)}).reverse().map(s=>s.originalClassName).join(" ")}function ct(){let r=0,n,t,a="";for(;r<arguments.length;)(n=arguments[r++])&&(t=vr(n))&&(a&&(a+=" "),a+=t);return a}function vr(r){if(typeof r=="string")return r;let n,t="";for(let a=0;a<r.length;a++)r[a]&&(n=vr(r[a]))&&(t&&(t+=" "),t+=n);return t}function Fe(r,...n){let t,a,f,i=s;function s(d){const C=n.reduce((p,k)=>k(p),r());return t=at(C),a=t.cache.get,f=t.cache.set,i=c,c(d)}function c(d){const C=a(d);if(C)return C;const p=lt(d,t);return f(d,p),p}return function(){return i(ct.apply(null,arguments))}}function O(r){const n=t=>t[r]||[];return n.isThemeGetter=!0,n}const hr=/^\[(?:([a-z-]+):)?(.+)\]$/i,ut=/^\d+\/\d+$/,dt=new Set(["px","full","screen"]),ft=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,pt=/\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$/,bt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,gt=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,mt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function J(r){return oe(r)||dt.has(r)||ut.test(r)}function H(r){return de(r,"length",Et)}function oe(r){return!!r&&!Number.isNaN(Number(r))}function Se(r){return de(r,"number",oe)}function he(r){return!!r&&Number.isInteger(Number(r))}function vt(r){return r.endsWith("%")&&oe(r.slice(0,-1))}function h(r){return hr.test(r)}function Z(r){return ft.test(r)}const ht=new Set(["length","size","percentage"]);function yt(r){return de(r,ht,yr)}function xt(r){return de(r,"position",yr)}const wt=new Set(["image","url"]);function Rt(r){return de(r,wt,_t)}function kt(r){return de(r,"",Ct)}function ye(){return!0}function de(r,n,t){const a=hr.exec(r);return a?a[1]?typeof n=="string"?a[1]===n:n.has(a[1]):t(a[2]):!1}function Et(r){return pt.test(r)&&!bt.test(r)}function yr(){return!1}function Ct(r){return gt.test(r)}function _t(r){return mt.test(r)}function Ve(){const r=O("colors"),n=O("spacing"),t=O("blur"),a=O("brightness"),f=O("borderColor"),i=O("borderRadius"),s=O("borderSpacing"),c=O("borderWidth"),d=O("contrast"),C=O("grayscale"),p=O("hueRotate"),k=O("invert"),A=O("gap"),$=O("gradientColorStops"),G=O("gradientColorStopPositions"),N=O("inset"),_=O("margin"),M=O("opacity"),v=O("padding"),ie=O("saturate"),X=O("scale"),ae=O("sepia"),se=O("skew"),Q=O("space"),ee=O("translate"),q=()=>["auto","contain","none"],re=()=>["auto","hidden","clip","visible","scroll"],te=()=>["auto",h,n],u=()=>[h,n],m=()=>["",J,H],g=()=>["auto",oe,h],x=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],y=()=>["solid","dashed","dotted","double","none"],E=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],S=()=>["start","end","center","between","around","evenly","stretch"],T=()=>["","0",h],z=()=>["auto","avoid","all","avoid-page","page","left","right","column"],D=()=>[oe,Se],W=()=>[oe,h];return{cacheSize:500,separator:":",theme:{colors:[ye],spacing:[J,H],blur:["none","",Z,h],brightness:D(),borderColor:[r],borderRadius:["none","","full",Z,h],borderSpacing:u(),borderWidth:m(),contrast:D(),grayscale:T(),hueRotate:W(),invert:T(),gap:u(),gradientColorStops:[r],gradientColorStopPositions:[vt,H],inset:te(),margin:te(),opacity:D(),padding:u(),saturate:D(),scale:D(),sepia:T(),skew:W(),space:u(),translate:u()},classGroups:{aspect:[{aspect:["auto","square","video",h]}],container:["container"],columns:[{columns:[Z]}],"break-after":[{"break-after":z()}],"break-before":[{"break-before":z()}],"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"],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(),h]}],overflow:[{overflow:re()}],"overflow-x":[{"overflow-x":re()}],"overflow-y":[{"overflow-y":re()}],overscroll:[{overscroll:q()}],"overscroll-x":[{"overscroll-x":q()}],"overscroll-y":[{"overscroll-y":q()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[N]}],"inset-x":[{"inset-x":[N]}],"inset-y":[{"inset-y":[N]}],start:[{start:[N]}],end:[{end:[N]}],top:[{top:[N]}],right:[{right:[N]}],bottom:[{bottom:[N]}],left:[{left:[N]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",he,h]}],basis:[{basis:te()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",h]}],grow:[{grow:T()}],shrink:[{shrink:T()}],order:[{order:["first","last","none",he,h]}],"grid-cols":[{"grid-cols":[ye]}],"col-start-end":[{col:["auto",{span:["full",he,h]},h]}],"col-start":[{"col-start":g()}],"col-end":[{"col-end":g()}],"grid-rows":[{"grid-rows":[ye]}],"row-start-end":[{row:["auto",{span:[he,h]},h]}],"row-start":[{"row-start":g()}],"row-end":[{"row-end":g()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",h]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",h]}],gap:[{gap:[A]}],"gap-x":[{"gap-x":[A]}],"gap-y":[{"gap-y":[A]}],"justify-content":[{justify:["normal",...S()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...S(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...S(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[v]}],px:[{px:[v]}],py:[{py:[v]}],ps:[{ps:[v]}],pe:[{pe:[v]}],pt:[{pt:[v]}],pr:[{pr:[v]}],pb:[{pb:[v]}],pl:[{pl:[v]}],m:[{m:[_]}],mx:[{mx:[_]}],my:[{my:[_]}],ms:[{ms:[_]}],me:[{me:[_]}],mt:[{mt:[_]}],mr:[{mr:[_]}],mb:[{mb:[_]}],ml:[{ml:[_]}],"space-x":[{"space-x":[Q]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[Q]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",h,n]}],"min-w":[{"min-w":[h,n,"min","max","fit"]}],"max-w":[{"max-w":[h,n,"none","full","min","max","fit","prose",{screen:[Z]},Z]}],h:[{h:[h,n,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[h,n,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[h,n,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[h,n,"auto","min","max","fit"]}],"font-size":[{text:["base",Z,H]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Se]}],"font-family":[{font:[ye]}],"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-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",h]}],"line-clamp":[{"line-clamp":["none",oe,Se]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",J,h]}],"list-image":[{"list-image":["none",h]}],"list-style-type":[{list:["none","disc","decimal",h]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[r]}],"placeholder-opacity":[{"placeholder-opacity":[M]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[r]}],"text-opacity":[{"text-opacity":[M]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...y(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",J,H]}],"underline-offset":[{"underline-offset":["auto",J,h]}],"text-decoration-color":[{decoration:[r]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:u()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",h]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",h]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[M]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...x(),xt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",yt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Rt]}],"bg-color":[{bg:[r]}],"gradient-from-pos":[{from:[G]}],"gradient-via-pos":[{via:[G]}],"gradient-to-pos":[{to:[G]}],"gradient-from":[{from:[$]}],"gradient-via":[{via:[$]}],"gradient-to":[{to:[$]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-ee":[{"rounded-ee":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[c]}],"border-w-x":[{"border-x":[c]}],"border-w-y":[{"border-y":[c]}],"border-w-s":[{"border-s":[c]}],"border-w-e":[{"border-e":[c]}],"border-w-t":[{"border-t":[c]}],"border-w-r":[{"border-r":[c]}],"border-w-b":[{"border-b":[c]}],"border-w-l":[{"border-l":[c]}],"border-opacity":[{"border-opacity":[M]}],"border-style":[{border:[...y(),"hidden"]}],"divide-x":[{"divide-x":[c]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[c]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[M]}],"divide-style":[{divide:y()}],"border-color":[{border:[f]}],"border-color-x":[{"border-x":[f]}],"border-color-y":[{"border-y":[f]}],"border-color-t":[{"border-t":[f]}],"border-color-r":[{"border-r":[f]}],"border-color-b":[{"border-b":[f]}],"border-color-l":[{"border-l":[f]}],"divide-color":[{divide:[f]}],"outline-style":[{outline:["",...y()]}],"outline-offset":[{"outline-offset":[J,h]}],"outline-w":[{outline:[J,H]}],"outline-color":[{outline:[r]}],"ring-w":[{ring:m()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[r]}],"ring-opacity":[{"ring-opacity":[M]}],"ring-offset-w":[{"ring-offset":[J,H]}],"ring-offset-color":[{"ring-offset":[r]}],shadow:[{shadow:["","inner","none",Z,kt]}],"shadow-color":[{shadow:[ye]}],opacity:[{opacity:[M]}],"mix-blend":[{"mix-blend":[...E(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":E()}],filter:[{filter:["","none"]}],blur:[{blur:[t]}],brightness:[{brightness:[a]}],contrast:[{contrast:[d]}],"drop-shadow":[{"drop-shadow":["","none",Z,h]}],grayscale:[{grayscale:[C]}],"hue-rotate":[{"hue-rotate":[p]}],invert:[{invert:[k]}],saturate:[{saturate:[ie]}],sepia:[{sepia:[ae]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[t]}],"backdrop-brightness":[{"backdrop-brightness":[a]}],"backdrop-contrast":[{"backdrop-contrast":[d]}],"backdrop-grayscale":[{"backdrop-grayscale":[C]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[p]}],"backdrop-invert":[{"backdrop-invert":[k]}],"backdrop-opacity":[{"backdrop-opacity":[M]}],"backdrop-saturate":[{"backdrop-saturate":[ie]}],"backdrop-sepia":[{"backdrop-sepia":[ae]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-y":[{"border-spacing-y":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",h]}],duration:[{duration:W()}],ease:[{ease:["linear","in","out","in-out",h]}],delay:[{delay:W()}],animate:[{animate:["none","spin","ping","pulse","bounce",h]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[X]}],"scale-x":[{"scale-x":[X]}],"scale-y":[{"scale-y":[X]}],rotate:[{rotate:[he,h]}],"translate-x":[{"translate-x":[ee]}],"translate-y":[{"translate-y":[ee]}],"skew-x":[{"skew-x":[se]}],"skew-y":[{"skew-y":[se]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",h]}],accent:[{accent:["auto",r]}],appearance:[{appearance:["none","auto"]}],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",h]}],"caret-color":[{caret:[r]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":u()}],"scroll-mx":[{"scroll-mx":u()}],"scroll-my":[{"scroll-my":u()}],"scroll-ms":[{"scroll-ms":u()}],"scroll-me":[{"scroll-me":u()}],"scroll-mt":[{"scroll-mt":u()}],"scroll-mr":[{"scroll-mr":u()}],"scroll-mb":[{"scroll-mb":u()}],"scroll-ml":[{"scroll-ml":u()}],"scroll-p":[{"scroll-p":u()}],"scroll-px":[{"scroll-px":u()}],"scroll-py":[{"scroll-py":u()}],"scroll-ps":[{"scroll-ps":u()}],"scroll-pe":[{"scroll-pe":u()}],"scroll-pt":[{"scroll-pt":u()}],"scroll-pr":[{"scroll-pr":u()}],"scroll-pb":[{"scroll-pb":u()}],"scroll-pl":[{"scroll-pl":u()}],"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",h]}],fill:[{fill:[r,"none"]}],"stroke-w":[{stroke:[J,H,Se]}],stroke:[{stroke:[r,"none"]}],sr:["sr-only","not-sr-only"],"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-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-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"],"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"]}}}function jt(r,{cacheSize:n,prefix:t,separator:a,experimentalParseClassName:f,extend:i={},override:s={}}){we(r,"cacheSize",n),we(r,"prefix",t),we(r,"separator",a),we(r,"experimentalParseClassName",f);for(const c in s)St(r[c],s[c]);for(const c in i)Tt(r[c],i[c]);return r}function we(r,n,t){t!==void 0&&(r[n]=t)}function St(r,n){if(n)for(const t in n)we(r,t,n[t])}function Tt(r,n){if(n)for(const t in n){const a=n[t];a!==void 0&&(r[t]=(r[t]||[]).concat(a))}}function At(r,...n){return typeof r=="function"?Fe(Ve,r,...n):Fe(()=>jt(Ve(),r),...n)}const Pt=Fe(Ve);var Ot={twMerge:!0,twMergeConfig:{},responsiveVariants:!1},xr=r=>r||void 0,Re=(...r)=>xr(fr(r).filter(Boolean).join(" ")),Ie=null,K={},Ge=!1,xe=(...r)=>n=>n.twMerge?((!Ie||Ge)&&(Ge=!1,Ie=U(K)?Pt:At({...K,extend:{theme:K.theme,classGroups:K.classGroups,conflictingClassGroupModifiers:K.conflictingClassGroupModifiers,conflictingClassGroups:K.conflictingClassGroups,...K.extend}})),xr(Ie(Re(r)))):Re(r),cr=(r,n)=>{for(let t in n)r.hasOwnProperty(t)?r[t]=Re(r[t],n[t]):r[t]=n[t];return r},wr=(r,n)=>{let{extend:t=null,slots:a={},variants:f={},compoundVariants:i=[],compoundSlots:s=[],defaultVariants:c={}}=r,d={...Ot,...n},C=t!=null&&t.base?Re(t.base,r==null?void 0:r.base):r==null?void 0:r.base,p=t!=null&&t.variants&&!U(t.variants)?br(f,t.variants):f,k=t!=null&&t.defaultVariants&&!U(t.defaultVariants)?{...t.defaultVariants,...c}:c;!U(d.twMergeConfig)&&!Hr(d.twMergeConfig,K)&&(Ge=!0,K=d.twMergeConfig);let A=U(t==null?void 0:t.slots),$=U(a)?{}:{base:Re(r==null?void 0:r.base,A&&(t==null?void 0:t.base)),...a},G=A?$:cr({...t==null?void 0:t.slots},U($)?{base:r==null?void 0:r.base}:$),N=U(t==null?void 0:t.compoundVariants)?i:pr(t==null?void 0:t.compoundVariants,i),_=v=>{if(U(p)&&U(a)&&A)return xe(C,v==null?void 0:v.class,v==null?void 0:v.className)(d);if(N&&!Array.isArray(N))throw new TypeError(`The "compoundVariants" prop must be an array. Received: ${typeof N}`);if(s&&!Array.isArray(s))throw new TypeError(`The "compoundSlots" prop must be an array. Received: ${typeof s}`);let ie=(u,m,g=[],x)=>{let y=g;if(typeof m=="string")y=y.concat(ar(m).split(" ").map(E=>`${u}:${E}`));else if(Array.isArray(m))y=y.concat(m.reduce((E,S)=>E.concat(`${u}:${S}`),[]));else if(typeof m=="object"&&typeof x=="string"){for(let E in m)if(m.hasOwnProperty(E)&&E===x){let S=m[E];if(S&&typeof S=="string"){let T=ar(S);y[x]?y[x]=y[x].concat(T.split(" ").map(z=>`${u}:${z}`)):y[x]=T.split(" ").map(z=>`${u}:${z}`)}else Array.isArray(S)&&S.length>0&&(y[x]=S.reduce((T,z)=>T.concat(`${u}:${z}`),[]))}}return y},X=(u,m=p,g=null,x=null)=>{var y;let E=m[u];if(!E||U(E))return null;let S=(y=x==null?void 0:x[u])!=null?y:v==null?void 0:v[u];if(S===null)return null;let T=ir(S),z=Array.isArray(d.responsiveVariants)&&d.responsiveVariants.length>0||d.responsiveVariants===!0,D=k==null?void 0:k[u],W=[];if(typeof T=="object"&&z)for(let[pe,le]of Object.entries(T)){let be=E[le];if(pe==="initial"){D=le;continue}Array.isArray(d.responsiveVariants)&&!d.responsiveVariants.includes(pe)||(W=ie(pe,be,W,g))}let ke=T!=null&&typeof T!="object"?T:ir(D),fe=E[ke||"false"];return typeof W=="object"&&typeof g=="string"&&W[g]?cr(W,fe):W.length>0?(W.push(fe),W):fe},ae=()=>p?Object.keys(p).map(u=>X(u,p)):null,se=(u,m)=>{if(!p||typeof p!="object")return null;let g=new Array;for(let x in p){let y=X(x,p,u,m),E=u==="base"&&typeof y=="string"?y:y&&y[u];E&&(g[g.length]=E)}return g},Q={};for(let u in v)v[u]!==void 0&&(Q[u]=v[u]);let ee=(u,m)=>{var g;let x=typeof(v==null?void 0:v[u])=="object"?{[u]:(g=v[u])==null?void 0:g.initial}:{};return{...k,...Q,...x,...m}},q=(u=[],m)=>{let g=[];for(let{class:x,className:y,...E}of u){let S=!0;for(let[T,z]of Object.entries(E)){let D=ee(T,m);if(Array.isArray(z)){if(!z.includes(D[T])){S=!1;break}}else if(D[T]!==z){S=!1;break}}S&&(x&&g.push(x),y&&g.push(y))}return g},re=u=>{let m=q(N,u);if(!Array.isArray(m))return m;let g={};for(let x of m)if(typeof x=="string"&&(g.base=xe(g.base,x)(d)),typeof x=="object")for(let[y,E]of Object.entries(x))g[y]=xe(g[y],E)(d);return g},te=u=>{if(s.length<1)return null;let m={};for(let{slots:g=[],class:x,className:y,...E}of s){if(!U(E)){let S=!0;for(let T of Object.keys(E)){let z=ee(T,u)[T];if(z===void 0||(Array.isArray(E[T])?!E[T].includes(z):E[T]!==z)){S=!1;break}}if(!S)continue}for(let S of g)m[S]=m[S]||[],m[S].push([x,y])}return m};if(!U(a)||!A){let u={};if(typeof G=="object"&&!U(G))for(let m of Object.keys(G))u[m]=g=>{var x,y;return xe(G[m],se(m,g),((x=re(g))!=null?x:[])[m],((y=te(g))!=null?y:[])[m],g==null?void 0:g.class,g==null?void 0:g.className)(d)};return u}return xe(C,ae(),q(N),v==null?void 0:v.class,v==null?void 0:v.className)(d)},M=()=>{if(!(!p||typeof p!="object"))return Object.keys(p)};return _.variantKeys=M(),_.extend=t,_.base=C,_.slots=G,_.variants=p,_.defaultVariants=k,_.compoundSlots=s,_.compoundVariants=N,_};const Mt=wr({base:"animate-spin",variants:{size:{small:"w-5 h-5",large:"w-8 h-8"}}});function Rr({size:r}){return V.jsx("div",{className:Mt({size:r}),children:V.jsx("svg",{viewBox:"0 0 800 800",xmlns:"http://www.w3.org/2000/svg",children:V.jsx("circle",{cx:"400",cy:"400",fill:"none",r:"200","stroke-width":"50","stroke-dasharray":"269 150",stroke:"currentColor",opacity:.5,"stroke-linecap":"round"})})})}function kr(){return V.jsx(V.Fragment,{children:V.jsxs("svg",{className:"pointer-events-none absolute inset-0 isolate z-10 h-full w-full opacity-25",height:"100%",id:"texture",children:[V.jsxs("filter",{id:"noise",children:[V.jsx("feTurbulence",{type:"fractalNoise",baseFrequency:"0.75",numOctaves:"4",stitchTiles:"stitch"}),V.jsx("feColorMatrix",{type:"saturate",values:"0"})]}),V.jsx("rect",{width:"100%",height:"100%",filter:"url(#noise)"})]})})}const zt=wr({slots:{outer:"group p-[2px] bg-neutral-200 dark:bg-neutral-900",inner:"relative shadow-form border overflow-hidden animate-press",chip:"pb-[2px]"},variants:{corners:{sharp:{inner:"rounded-sm",outer:"rounded-sm",chip:"rounded-sm"},round:{inner:"rounded-md",outer:"rounded-lg",chip:"rounded-md"},circle:{inner:"rounded-full",outer:"rounded-full",chip:"rounded-full"}},leftCorners:{none:{},sharp:{inner:"rounded-s-sm",outer:"rounded-s-sm",chip:"rounded-s-sm"},round:{inner:"rounded-s-md",outer:"rounded-s-lg",chip:"rounded-s-md"},circle:{inner:"rounded-s-full",outer:"rounded-s-full",chip:"rounded-s-full"}},size:{small:{inner:"py-[2px] px-2 text-xs min-h-5"},large:{inner:"py-1 px-3 min-h-8"}},colour:{neutral:{inner:"bg-neutral-800 border-neutral-700/70 group-disabled:border-neutral-700/40 group-active:border-neutral-700/40 text-neutral-200",chip:"bg-neutral-800"},red:{inner:"bg-red-700 border-red-500/60 group-disabled:border-red-600/40 group-active:border-red-600/40 text-neutral-200",chip:"bg-red-900"},green:{inner:"bg-lime-700 border-lime-600/70 group-disabled:border-lime-600/40 group-active:border-lime-600/40 text-neutral-200",chip:"bg-lime-900"},blue:{inner:"bg-sky-700 border-sky-600/70 group-disabled:border-sky-600/40 group-active:border-sky-600/40 text-neutral-200",chip:"bg-sky-900"},white:{inner:"bg-neutral-300 border-neutral-300/70 group-disabled:border-neutral-300/40 group-active:border-neutral-300/40 text-neutral-800",chip:"bg-neutral-400"}},width:{fit:{},grow:{inner:"w-full",outer:"w-full",chip:"w-full"}}},defaultVariants:{size:"large",colour:"neutral",corners:"round",leftCorners:"none"}});function It({size:r,colour:n,width:t,corners:a,leftCorners:f,loading:i,text:s,children:c,className:d,disabled:C,onClick:p,...k}){const{outer:A,chip:$,inner:G}=zt({size:r,colour:n,width:t,corners:a,leftCorners:f});return V.jsx("button",{className:A(),disabled:C||i,onClick:p,...k,children:V.jsx("div",{className:$(),children:V.jsxs("div",{className:G({className:d}),children:[V.jsxs("span",{className:"relative block z-10 text-inherit group-disabled:opacity-50",style:{visibility:i?"hidden":"visible"},children:[c,s]}),i&&V.jsx("div",{className:"absolute inset-0 w-full h-full flex justify-center items-center",children:V.jsx(Rr,{size:r})}),V.jsx(kr,{})]})})})}function $t(){return V.jsx("div",{children:"ToggleSet"})}exports.Button=It;exports.LoadingRing=Rr;exports.Noise=kr;exports.ToggleSet=$t;
30
+ <%s key={someKey} {...props} />`,ze,ae,Br,ae),tr[ae+ze]=!0}}return e===s?Wr(V):Gr(V),V}}function Lr(e,n,l){return or(e,n,l,!0)}function Dr(e,n,l){return or(e,n,l,!1)}var Yr=Dr,Ur=Lr;me.Fragment=s,me.jsx=Yr,me.jsxs=Ur}()),me}process.env.NODE_ENV==="production"?Ne.exports=Jr():Ne.exports=Kr();var G=Ne.exports;function Xr({children:r}){return G.jsx(G.Fragment,{children:r})}function Hr(){return G.jsx(G.Fragment,{children:G.jsxs("svg",{className:"pointer-events-none absolute inset-0 isolate z-10 h-full w-full opacity-15",height:"100%",id:"texture",children:[G.jsx("filter",{id:"noise",children:G.jsx("feTurbulence",{type:"fractalNoise",baseFrequency:"0.75",numOctaves:"4",stitchTiles:"stitch"})}),G.jsx("rect",{width:"100%",height:"100%",filter:"url(#noise)"})]})})}var sr=r=>typeof r=="boolean"?`${r}`:r===0?"0":r,Y=r=>!r||typeof r!="object"||Object.keys(r).length===0,Zr=(r,o)=>JSON.stringify(r)===JSON.stringify(o);function fr(r,o){r.forEach(function(t){Array.isArray(t)?fr(t,o):o.push(t)})}function pr(r){let o=[];return fr(r,o),o}var br=(...r)=>pr(r).filter(Boolean),gr=(r,o)=>{let t={},s=Object.keys(r),d=Object.keys(o);for(let a of s)if(d.includes(a)){let c=r[a],i=o[a];typeof c=="object"&&typeof i=="object"?t[a]=gr(c,i):Array.isArray(c)||Array.isArray(i)?t[a]=br(i,c):t[a]=i+" "+c}else t[a]=r[a];for(let a of d)s.includes(a)||(t[a]=o[a]);return t},ir=r=>!r||typeof r!="string"?r:r.replace(/\s+/g," ").trim();const We="-",Qr=r=>{const o=rt(r),{conflictingClassGroups:t,conflictingClassGroupModifiers:s}=r;return{getClassGroupId:c=>{const i=c.split(We);return i[0]===""&&i.length!==1&&i.shift(),vr(i,o)||et(c)},getConflictingClassGroupIds:(c,i)=>{const f=t[c]||[];return i&&s[c]?[...f,...s[c]]:f}}},vr=(r,o)=>{var c;if(r.length===0)return o.classGroupId;const t=r[0],s=o.nextPart.get(t),d=s?vr(r.slice(1),s):void 0;if(d)return d;if(o.validators.length===0)return;const a=r.join(We);return(c=o.validators.find(({validator:i})=>i(a)))==null?void 0:c.classGroupId},lr=/^\[(.+)\]$/,et=r=>{if(lr.test(r)){const o=lr.exec(r)[1],t=o==null?void 0:o.substring(0,o.indexOf(":"));if(t)return"arbitrary.."+t}},rt=r=>{const{theme:o,prefix:t}=r,s={nextPart:new Map,validators:[]};return ot(Object.entries(r.classGroups),t).forEach(([a,c])=>{$e(c,s,a,o)}),s},$e=(r,o,t,s)=>{r.forEach(d=>{if(typeof d=="string"){const a=d===""?o:cr(o,d);a.classGroupId=t;return}if(typeof d=="function"){if(tt(d)){$e(d(s),o,t,s);return}o.validators.push({validator:d,classGroupId:t});return}Object.entries(d).forEach(([a,c])=>{$e(c,cr(o,a),t,s)})})},cr=(r,o)=>{let t=r;return o.split(We).forEach(s=>{t.nextPart.has(s)||t.nextPart.set(s,{nextPart:new Map,validators:[]}),t=t.nextPart.get(s)}),t},tt=r=>r.isThemeGetter,ot=(r,o)=>o?r.map(([t,s])=>{const d=s.map(a=>typeof a=="string"?o+a:typeof a=="object"?Object.fromEntries(Object.entries(a).map(([c,i])=>[o+c,i])):a);return[t,d]}):r,nt=r=>{if(r<1)return{get:()=>{},set:()=>{}};let o=0,t=new Map,s=new Map;const d=(a,c)=>{t.set(a,c),o++,o>r&&(o=0,s=t,t=new Map)};return{get(a){let c=t.get(a);if(c!==void 0)return c;if((c=s.get(a))!==void 0)return d(a,c),c},set(a,c){t.has(a)?t.set(a,c):d(a,c)}}},mr="!",at=r=>{const{separator:o,experimentalParseClassName:t}=r,s=o.length===1,d=o[0],a=o.length,c=i=>{const f=[];let _=0,b=0,T;for(let C=0;C<i.length;C++){let z=i[C];if(_===0){if(z===d&&(s||i.slice(C,C+a)===o)){f.push(i.slice(b,C)),b=C+a;continue}if(z==="/"){T=C;continue}}z==="["?_++:z==="]"&&_--}const O=f.length===0?i:i.substring(b),F=O.startsWith(mr),I=F?O.substring(1):O,P=T&&T>b?T-b:void 0;return{modifiers:f,hasImportantModifier:F,baseClassName:I,maybePostfixModifierPosition:P}};return t?i=>t({className:i,parseClassName:c}):c},st=r=>{if(r.length<=1)return r;const o=[];let t=[];return r.forEach(s=>{s[0]==="["?(o.push(...t.sort(),s),t=[]):t.push(s)}),o.push(...t.sort()),o},it=r=>({cache:nt(r.cacheSize),parseClassName:at(r),...Qr(r)}),lt=/\s+/,ct=(r,o)=>{const{parseClassName:t,getClassGroupId:s,getConflictingClassGroupIds:d}=o,a=[],c=r.trim().split(lt);let i="";for(let f=c.length-1;f>=0;f-=1){const _=c[f],{modifiers:b,hasImportantModifier:T,baseClassName:O,maybePostfixModifierPosition:F}=t(_);let I=!!F,P=s(I?O.substring(0,F):O);if(!P){if(!I){i=_+(i.length>0?" "+i:i);continue}if(P=s(O),!P){i=_+(i.length>0?" "+i:i);continue}I=!1}const C=st(b).join(":"),z=T?C+mr:C,g=z+P;if(a.includes(g))continue;a.push(g);const J=d(P,I);for(let U=0;U<J.length;++U){const Z=J[U];a.push(z+Z)}i=_+(i.length>0?" "+i:i)}return i};function ut(){let r=0,o,t,s="";for(;r<arguments.length;)(o=arguments[r++])&&(t=hr(o))&&(s&&(s+=" "),s+=t);return s}const hr=r=>{if(typeof r=="string")return r;let o,t="";for(let s=0;s<r.length;s++)r[s]&&(o=hr(r[s]))&&(t&&(t+=" "),t+=o);return t};function Fe(r,...o){let t,s,d,a=c;function c(f){const _=o.reduce((b,T)=>T(b),r());return t=it(_),s=t.cache.get,d=t.cache.set,a=i,i(f)}function i(f){const _=s(f);if(_)return _;const b=ct(f,t);return d(f,b),b}return function(){return a(ut.apply(null,arguments))}}const M=r=>{const o=t=>t[r]||[];return o.isThemeGetter=!0,o},yr=/^\[(?:([a-z-]+):)?(.+)\]$/i,dt=/^\d+\/\d+$/,ft=new Set(["px","full","screen"]),pt=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,bt=/\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$/,gt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,vt=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,mt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,X=r=>ue(r)||ft.has(r)||dt.test(r),Q=r=>de(r,"length",kt),ue=r=>!!r&&!Number.isNaN(Number(r)),Me=r=>de(r,"number",ue),he=r=>!!r&&Number.isInteger(Number(r)),ht=r=>r.endsWith("%")&&ue(r.slice(0,-1)),h=r=>yr.test(r),ee=r=>pt.test(r),yt=new Set(["length","size","percentage"]),xt=r=>de(r,yt,xr),wt=r=>de(r,"position",xr),Rt=new Set(["image","url"]),Ct=r=>de(r,Rt,jt),Et=r=>de(r,"",_t),ye=()=>!0,de=(r,o,t)=>{const s=yr.exec(r);return s?s[1]?typeof o=="string"?s[1]===o:o.has(s[1]):t(s[2]):!1},kt=r=>bt.test(r)&&!gt.test(r),xr=()=>!1,_t=r=>vt.test(r),jt=r=>mt.test(r),Ve=()=>{const r=M("colors"),o=M("spacing"),t=M("blur"),s=M("brightness"),d=M("borderColor"),a=M("borderRadius"),c=M("borderSpacing"),i=M("borderWidth"),f=M("contrast"),_=M("grayscale"),b=M("hueRotate"),T=M("invert"),O=M("gap"),F=M("gradientColorStops"),I=M("gradientColorStopPositions"),P=M("inset"),C=M("margin"),z=M("opacity"),g=M("padding"),J=M("saturate"),U=M("scale"),Z=M("sepia"),se=M("skew"),re=M("space"),te=M("translate"),K=()=>["auto","contain","none"],oe=()=>["auto","hidden","clip","visible","scroll"],ne=()=>["auto",h,o],u=()=>[h,o],m=()=>["",X,Q],v=()=>["auto",ue,h],x=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],y=()=>["solid","dashed","dotted","double","none"],E=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],j=()=>["start","end","center","between","around","evenly","stretch"],S=()=>["","0",h],N=()=>["auto","avoid","all","avoid-page","page","left","right","column"],W=()=>[ue,h];return{cacheSize:500,separator:":",theme:{colors:[ye],spacing:[X,Q],blur:["none","",ee,h],brightness:W(),borderColor:[r],borderRadius:["none","","full",ee,h],borderSpacing:u(),borderWidth:m(),contrast:W(),grayscale:S(),hueRotate:W(),invert:S(),gap:u(),gradientColorStops:[r],gradientColorStopPositions:[ht,Q],inset:ne(),margin:ne(),opacity:W(),padding:u(),saturate:W(),scale:W(),sepia:S(),skew:W(),space:u(),translate:u()},classGroups:{aspect:[{aspect:["auto","square","video",h]}],container:["container"],columns:[{columns:[ee]}],"break-after":[{"break-after":N()}],"break-before":[{"break-before":N()}],"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"],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(),h]}],overflow:[{overflow:oe()}],"overflow-x":[{"overflow-x":oe()}],"overflow-y":[{"overflow-y":oe()}],overscroll:[{overscroll:K()}],"overscroll-x":[{"overscroll-x":K()}],"overscroll-y":[{"overscroll-y":K()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[P]}],"inset-x":[{"inset-x":[P]}],"inset-y":[{"inset-y":[P]}],start:[{start:[P]}],end:[{end:[P]}],top:[{top:[P]}],right:[{right:[P]}],bottom:[{bottom:[P]}],left:[{left:[P]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",he,h]}],basis:[{basis:ne()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",h]}],grow:[{grow:S()}],shrink:[{shrink:S()}],order:[{order:["first","last","none",he,h]}],"grid-cols":[{"grid-cols":[ye]}],"col-start-end":[{col:["auto",{span:["full",he,h]},h]}],"col-start":[{"col-start":v()}],"col-end":[{"col-end":v()}],"grid-rows":[{"grid-rows":[ye]}],"row-start-end":[{row:["auto",{span:[he,h]},h]}],"row-start":[{"row-start":v()}],"row-end":[{"row-end":v()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",h]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",h]}],gap:[{gap:[O]}],"gap-x":[{"gap-x":[O]}],"gap-y":[{"gap-y":[O]}],"justify-content":[{justify:["normal",...j()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...j(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...j(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[g]}],px:[{px:[g]}],py:[{py:[g]}],ps:[{ps:[g]}],pe:[{pe:[g]}],pt:[{pt:[g]}],pr:[{pr:[g]}],pb:[{pb:[g]}],pl:[{pl:[g]}],m:[{m:[C]}],mx:[{mx:[C]}],my:[{my:[C]}],ms:[{ms:[C]}],me:[{me:[C]}],mt:[{mt:[C]}],mr:[{mr:[C]}],mb:[{mb:[C]}],ml:[{ml:[C]}],"space-x":[{"space-x":[re]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[re]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",h,o]}],"min-w":[{"min-w":[h,o,"min","max","fit"]}],"max-w":[{"max-w":[h,o,"none","full","min","max","fit","prose",{screen:[ee]},ee]}],h:[{h:[h,o,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[h,o,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[h,o,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[h,o,"auto","min","max","fit"]}],"font-size":[{text:["base",ee,Q]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Me]}],"font-family":[{font:[ye]}],"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:["tighter","tight","normal","wide","wider","widest",h]}],"line-clamp":[{"line-clamp":["none",ue,Me]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",X,h]}],"list-image":[{"list-image":["none",h]}],"list-style-type":[{list:["none","disc","decimal",h]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[r]}],"placeholder-opacity":[{"placeholder-opacity":[z]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[r]}],"text-opacity":[{"text-opacity":[z]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...y(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",X,Q]}],"underline-offset":[{"underline-offset":["auto",X,h]}],"text-decoration-color":[{decoration:[r]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:u()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",h]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",h]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[z]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...x(),wt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",xt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Ct]}],"bg-color":[{bg:[r]}],"gradient-from-pos":[{from:[I]}],"gradient-via-pos":[{via:[I]}],"gradient-to-pos":[{to:[I]}],"gradient-from":[{from:[F]}],"gradient-via":[{via:[F]}],"gradient-to":[{to:[F]}],rounded:[{rounded:[a]}],"rounded-s":[{"rounded-s":[a]}],"rounded-e":[{"rounded-e":[a]}],"rounded-t":[{"rounded-t":[a]}],"rounded-r":[{"rounded-r":[a]}],"rounded-b":[{"rounded-b":[a]}],"rounded-l":[{"rounded-l":[a]}],"rounded-ss":[{"rounded-ss":[a]}],"rounded-se":[{"rounded-se":[a]}],"rounded-ee":[{"rounded-ee":[a]}],"rounded-es":[{"rounded-es":[a]}],"rounded-tl":[{"rounded-tl":[a]}],"rounded-tr":[{"rounded-tr":[a]}],"rounded-br":[{"rounded-br":[a]}],"rounded-bl":[{"rounded-bl":[a]}],"border-w":[{border:[i]}],"border-w-x":[{"border-x":[i]}],"border-w-y":[{"border-y":[i]}],"border-w-s":[{"border-s":[i]}],"border-w-e":[{"border-e":[i]}],"border-w-t":[{"border-t":[i]}],"border-w-r":[{"border-r":[i]}],"border-w-b":[{"border-b":[i]}],"border-w-l":[{"border-l":[i]}],"border-opacity":[{"border-opacity":[z]}],"border-style":[{border:[...y(),"hidden"]}],"divide-x":[{"divide-x":[i]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[i]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[z]}],"divide-style":[{divide:y()}],"border-color":[{border:[d]}],"border-color-x":[{"border-x":[d]}],"border-color-y":[{"border-y":[d]}],"border-color-s":[{"border-s":[d]}],"border-color-e":[{"border-e":[d]}],"border-color-t":[{"border-t":[d]}],"border-color-r":[{"border-r":[d]}],"border-color-b":[{"border-b":[d]}],"border-color-l":[{"border-l":[d]}],"divide-color":[{divide:[d]}],"outline-style":[{outline:["",...y()]}],"outline-offset":[{"outline-offset":[X,h]}],"outline-w":[{outline:[X,Q]}],"outline-color":[{outline:[r]}],"ring-w":[{ring:m()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[r]}],"ring-opacity":[{"ring-opacity":[z]}],"ring-offset-w":[{"ring-offset":[X,Q]}],"ring-offset-color":[{"ring-offset":[r]}],shadow:[{shadow:["","inner","none",ee,Et]}],"shadow-color":[{shadow:[ye]}],opacity:[{opacity:[z]}],"mix-blend":[{"mix-blend":[...E(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":E()}],filter:[{filter:["","none"]}],blur:[{blur:[t]}],brightness:[{brightness:[s]}],contrast:[{contrast:[f]}],"drop-shadow":[{"drop-shadow":["","none",ee,h]}],grayscale:[{grayscale:[_]}],"hue-rotate":[{"hue-rotate":[b]}],invert:[{invert:[T]}],saturate:[{saturate:[J]}],sepia:[{sepia:[Z]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[t]}],"backdrop-brightness":[{"backdrop-brightness":[s]}],"backdrop-contrast":[{"backdrop-contrast":[f]}],"backdrop-grayscale":[{"backdrop-grayscale":[_]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[b]}],"backdrop-invert":[{"backdrop-invert":[T]}],"backdrop-opacity":[{"backdrop-opacity":[z]}],"backdrop-saturate":[{"backdrop-saturate":[J]}],"backdrop-sepia":[{"backdrop-sepia":[Z]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[c]}],"border-spacing-x":[{"border-spacing-x":[c]}],"border-spacing-y":[{"border-spacing-y":[c]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",h]}],duration:[{duration:W()}],ease:[{ease:["linear","in","out","in-out",h]}],delay:[{delay:W()}],animate:[{animate:["none","spin","ping","pulse","bounce",h]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[U]}],"scale-x":[{"scale-x":[U]}],"scale-y":[{"scale-y":[U]}],rotate:[{rotate:[he,h]}],"translate-x":[{"translate-x":[te]}],"translate-y":[{"translate-y":[te]}],"skew-x":[{"skew-x":[se]}],"skew-y":[{"skew-y":[se]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",h]}],accent:[{accent:["auto",r]}],appearance:[{appearance:["none","auto"]}],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",h]}],"caret-color":[{caret:[r]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":u()}],"scroll-mx":[{"scroll-mx":u()}],"scroll-my":[{"scroll-my":u()}],"scroll-ms":[{"scroll-ms":u()}],"scroll-me":[{"scroll-me":u()}],"scroll-mt":[{"scroll-mt":u()}],"scroll-mr":[{"scroll-mr":u()}],"scroll-mb":[{"scroll-mb":u()}],"scroll-ml":[{"scroll-ml":u()}],"scroll-p":[{"scroll-p":u()}],"scroll-px":[{"scroll-px":u()}],"scroll-py":[{"scroll-py":u()}],"scroll-ps":[{"scroll-ps":u()}],"scroll-pe":[{"scroll-pe":u()}],"scroll-pt":[{"scroll-pt":u()}],"scroll-pr":[{"scroll-pr":u()}],"scroll-pb":[{"scroll-pb":u()}],"scroll-pl":[{"scroll-pl":u()}],"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",h]}],fill:[{fill:[r,"none"]}],"stroke-w":[{stroke:[X,Q,Me]}],stroke:[{stroke:[r,"none"]}],sr:["sr-only","not-sr-only"],"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-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-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"],"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"]}}},St=(r,{cacheSize:o,prefix:t,separator:s,experimentalParseClassName:d,extend:a={},override:c={}})=>{we(r,"cacheSize",o),we(r,"prefix",t),we(r,"separator",s),we(r,"experimentalParseClassName",d);for(const i in c)Tt(r[i],c[i]);for(const i in a)Pt(r[i],a[i]);return r},we=(r,o,t)=>{t!==void 0&&(r[o]=t)},Tt=(r,o)=>{if(o)for(const t in o)we(r,t,o[t])},Pt=(r,o)=>{if(o)for(const t in o){const s=o[t];s!==void 0&&(r[t]=(r[t]||[]).concat(s))}},At=(r,...o)=>typeof r=="function"?Fe(Ve,r,...o):Fe(()=>St(Ve(),r),...o),Ot=Fe(Ve);var zt={twMerge:!0,twMergeConfig:{},responsiveVariants:!1},wr=r=>r||void 0,Re=(...r)=>wr(pr(r).filter(Boolean).join(" ")),Ie=null,H={},Ge=!1,xe=(...r)=>o=>o.twMerge?((!Ie||Ge)&&(Ge=!1,Ie=Y(H)?Ot:At({...H,extend:{theme:H.theme,classGroups:H.classGroups,conflictingClassGroupModifiers:H.conflictingClassGroupModifiers,conflictingClassGroups:H.conflictingClassGroups,...H.extend}})),wr(Ie(Re(r)))):Re(r),ur=(r,o)=>{for(let t in o)r.hasOwnProperty(t)?r[t]=Re(r[t],o[t]):r[t]=o[t];return r},Le=(r,o)=>{let{extend:t=null,slots:s={},variants:d={},compoundVariants:a=[],compoundSlots:c=[],defaultVariants:i={}}=r,f={...zt,...o},_=t!=null&&t.base?Re(t.base,r==null?void 0:r.base):r==null?void 0:r.base,b=t!=null&&t.variants&&!Y(t.variants)?gr(d,t.variants):d,T=t!=null&&t.defaultVariants&&!Y(t.defaultVariants)?{...t.defaultVariants,...i}:i;!Y(f.twMergeConfig)&&!Zr(f.twMergeConfig,H)&&(Ge=!0,H=f.twMergeConfig);let O=Y(t==null?void 0:t.slots),F=Y(s)?{}:{base:Re(r==null?void 0:r.base,O&&(t==null?void 0:t.base)),...s},I=O?F:ur({...t==null?void 0:t.slots},Y(F)?{base:r==null?void 0:r.base}:F),P=Y(t==null?void 0:t.compoundVariants)?a:br(t==null?void 0:t.compoundVariants,a),C=g=>{if(Y(b)&&Y(s)&&O)return xe(_,g==null?void 0:g.class,g==null?void 0:g.className)(f);if(P&&!Array.isArray(P))throw new TypeError(`The "compoundVariants" prop must be an array. Received: ${typeof P}`);if(c&&!Array.isArray(c))throw new TypeError(`The "compoundSlots" prop must be an array. Received: ${typeof c}`);let J=(u,m,v=[],x)=>{let y=v;if(typeof m=="string")y=y.concat(ir(m).split(" ").map(E=>`${u}:${E}`));else if(Array.isArray(m))y=y.concat(m.reduce((E,j)=>E.concat(`${u}:${j}`),[]));else if(typeof m=="object"&&typeof x=="string"){for(let E in m)if(m.hasOwnProperty(E)&&E===x){let j=m[E];if(j&&typeof j=="string"){let S=ir(j);y[x]?y[x]=y[x].concat(S.split(" ").map(N=>`${u}:${N}`)):y[x]=S.split(" ").map(N=>`${u}:${N}`)}else Array.isArray(j)&&j.length>0&&(y[x]=j.reduce((S,N)=>S.concat(`${u}:${N}`),[]))}}return y},U=(u,m=b,v=null,x=null)=>{var y;let E=m[u];if(!E||Y(E))return null;let j=(y=x==null?void 0:x[u])!=null?y:g==null?void 0:g[u];if(j===null)return null;let S=sr(j),N=Array.isArray(f.responsiveVariants)&&f.responsiveVariants.length>0||f.responsiveVariants===!0,W=T==null?void 0:T[u],q=[];if(typeof S=="object"&&N)for(let[pe,ie]of Object.entries(S)){let be=E[ie];if(pe==="initial"){W=ie;continue}Array.isArray(f.responsiveVariants)&&!f.responsiveVariants.includes(pe)||(q=J(pe,be,q,v))}let Ce=S!=null&&typeof S!="object"?S:sr(W),fe=E[Ce||"false"];return typeof q=="object"&&typeof v=="string"&&q[v]?ur(q,fe):q.length>0?(q.push(fe),q):fe},Z=()=>b?Object.keys(b).map(u=>U(u,b)):null,se=(u,m)=>{if(!b||typeof b!="object")return null;let v=new Array;for(let x in b){let y=U(x,b,u,m),E=u==="base"&&typeof y=="string"?y:y&&y[u];E&&(v[v.length]=E)}return v},re={};for(let u in g)g[u]!==void 0&&(re[u]=g[u]);let te=(u,m)=>{var v;let x=typeof(g==null?void 0:g[u])=="object"?{[u]:(v=g[u])==null?void 0:v.initial}:{};return{...T,...re,...x,...m}},K=(u=[],m)=>{let v=[];for(let{class:x,className:y,...E}of u){let j=!0;for(let[S,N]of Object.entries(E)){let W=te(S,m);if(Array.isArray(N)){if(!N.includes(W[S])){j=!1;break}}else if(W[S]!==N){j=!1;break}}j&&(x&&v.push(x),y&&v.push(y))}return v},oe=u=>{let m=K(P,u);if(!Array.isArray(m))return m;let v={};for(let x of m)if(typeof x=="string"&&(v.base=xe(v.base,x)(f)),typeof x=="object")for(let[y,E]of Object.entries(x))v[y]=xe(v[y],E)(f);return v},ne=u=>{if(c.length<1)return null;let m={};for(let{slots:v=[],class:x,className:y,...E}of c){if(!Y(E)){let j=!0;for(let S of Object.keys(E)){let N=te(S,u)[S];if(N===void 0||(Array.isArray(E[S])?!E[S].includes(N):E[S]!==N)){j=!1;break}}if(!j)continue}for(let j of v)m[j]=m[j]||[],m[j].push([x,y])}return m};if(!Y(s)||!O){let u={};if(typeof I=="object"&&!Y(I))for(let m of Object.keys(I))u[m]=v=>{var x,y;return xe(I[m],se(m,v),((x=oe(v))!=null?x:[])[m],((y=ne(v))!=null?y:[])[m],v==null?void 0:v.class,v==null?void 0:v.className)(f)};return u}return xe(_,Z(),K(P),g==null?void 0:g.class,g==null?void 0:g.className)(f)},z=()=>{if(!(!b||typeof b!="object"))return Object.keys(b)};return C.variantKeys=z(),C.extend=t,C.base=_,C.slots=I,C.variants=b,C.defaultVariants=T,C.compoundSlots=c,C.compoundVariants=P,C};const Mt=Le({base:"bg-base-800 rounded-lg border-2 border-t-[3px] border-base-900 shadow-inner shadow-base-900/50",variants:{padding:{small:"p-2",medium:"p-4",large:"p-8"}},defaultVariants:{padding:"medium"}}),It=r=>{const{children:o,padding:t}=r;return G.jsx("div",{className:Mt({padding:t}),children:o})},Nt=Le({base:"animate-spin",variants:{size:{small:"w-5 h-5",large:"w-8 h-8"}}});function Rr({size:r}){return G.jsx("div",{className:Nt({size:r}),children:G.jsx("svg",{viewBox:"0 0 800 800",xmlns:"http://www.w3.org/2000/svg",children:G.jsx("circle",{cx:"400",cy:"400",fill:"none",r:"200","stroke-width":"50","stroke-dasharray":"269 150",stroke:"currentColor",opacity:.5,"stroke-linecap":"round"})})})}const $t=Le({slots:{outer:"group p-[2px] bg-base-200 dark:bg-base-900 cursor-pointer",inner:"relative shadow-form border overflow-hidden animate-press",chip:"pb-[2px]"},variants:{corners:{sharp:{inner:"rounded-sm",outer:"rounded-sm",chip:"rounded-sm"},round:{inner:"rounded-md",outer:"rounded-lg",chip:"rounded-md"},circle:{inner:"rounded-full",outer:"rounded-full",chip:"rounded-full"}},leftCorners:{none:{},sharp:{inner:"rounded-s-sm",outer:"rounded-s-sm",chip:"rounded-s-sm"},round:{inner:"rounded-s-md",outer:"rounded-s-lg",chip:"rounded-s-md"},circle:{inner:"rounded-s-full",outer:"rounded-s-full",chip:"rounded-s-full"}},size:{small:{inner:"py-[2px] px-2 text-xs min-h-5"},large:{inner:"py-1 px-3 min-h-8"}},colour:{base:{inner:"bg-base-700 border-base-700/70 group-disabled:border-base-700/40 group-active:border-base-700/40 text-base-200",chip:"bg-base-800"},primary:{inner:"bg-primary-700 border-primary-600/70 group-disabled:border-primary-600/40 group-active:border-primary-600/40 text-primary-text",chip:"bg-primary-900"},negative:{inner:"bg-negative-700 border-negative-500/60 group-disabled:border-negative-600/40 group-active:border-negative-600/40 text-negative-text",chip:"bg-negative-900"},positive:{inner:"bg-positive-700 border-positive-600/70 group-disabled:border-positive-600/40 group-active:border-positive-600/40 text-positive-text",chip:"bg-positive-900"},warning:{inner:"bg-warning-500 border-warning-400/70 group-disabled:border-warning-400/40 group-active:border-warning-400/40 text-warning-text",chip:"bg-warning-800"},invert:{inner:"bg-base-300 border-base-300/70 group-disabled:border-base-300/40 group-active:border-base-300/40 text-base-800",chip:"bg-base-400"}},width:{fit:{},grow:{inner:"w-full",outer:"w-full",chip:"w-full"}}},defaultVariants:{size:"large",colour:"base",corners:"round",leftCorners:"none"}});function Ft(r){const{size:o,colour:t,width:s,corners:d,leftCorners:a,loading:c,text:i,children:f,className:_,disabled:b,onClick:T,...O}=r,{outer:F,chip:I,inner:P}=$t({size:o,colour:t,width:s,corners:d,leftCorners:a});return G.jsx("button",{className:F(),disabled:b||c,onClick:T,...O,children:G.jsx("div",{className:I(),children:G.jsxs("div",{className:P({className:_}),children:[G.jsxs("span",{className:"relative z-10 block text-inherit group-disabled:opacity-50",style:{visibility:c?"hidden":"visible"},children:[f,i]}),c&&G.jsx("div",{className:"absolute inset-0 flex h-full w-full items-center justify-center",children:G.jsx(Rr,{size:o})})]})})})}function Vt(){return G.jsx("div",{children:"ToggleSet"})}exports.Button=Ft;exports.Inset=It;exports.LoadingRing=Rr;exports.MimasProvider=Xr;exports.Noise=Hr;exports.ToggleSet=Vt;