@redhq/ui 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md ADDED
@@ -0,0 +1,16 @@
1
+ # React + Vite
2
+
3
+ This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
4
+
5
+ Currently, two official plugins are available:
6
+
7
+ - [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react) uses [Babel](https://babeljs.io/) (or [oxc](https://oxc.rs) when used in [rolldown-vite](https://vite.dev/guide/rolldown)) for Fast Refresh
8
+ - [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh
9
+
10
+ ## React Compiler
11
+
12
+ The React Compiler is not enabled on this template because of its impact on dev & build performances. To add it, see [this documentation](https://react.dev/learn/react-compiler/installation).
13
+
14
+ ## Expanding the ESLint configuration
15
+
16
+ If you are developing a production application, we recommend using TypeScript with type-aware lint rules enabled. Check out the [TS template](https://github.com/vitejs/vite/tree/main/packages/create-vite/template-react-ts) for information on how to integrate TypeScript and [`typescript-eslint`](https://typescript-eslint.io) in your project.
@@ -0,0 +1,7 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const fr=require("react");function pr(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var me={exports:{}},le={};var je;function mr(){if(je)return le;je=1;var e=Symbol.for("react.transitional.element"),n=Symbol.for("react.fragment");function o(t,s,a){var l=null;if(a!==void 0&&(l=""+a),s.key!==void 0&&(l=""+s.key),"key"in s){a={};for(var m in s)m!=="key"&&(a[m]=s[m])}else a=s;return s=a.ref,{$$typeof:e,type:t,key:l,ref:s!==void 0?s:null,props:a}}return le.Fragment=n,le.jsx=o,le.jsxs=o,le}var ce={};var Ie;function br(){return Ie||(Ie=1,process.env.NODE_ENV!=="production"&&(function(){function e(r){if(r==null)return null;if(typeof r=="function")return r.$$typeof===Q?null:r.displayName||r.name||null;if(typeof r=="string")return r;switch(r){case A:return"Fragment";case B:return"Profiler";case q:return"StrictMode";case G:return"Suspense";case H:return"SuspenseList";case te:return"Activity"}if(typeof r=="object")switch(typeof r.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),r.$$typeof){case C:return"Portal";case $:return r.displayName||"Context";case N:return(r._context.displayName||"Context")+".Consumer";case f:var c=r.render;return r=r.displayName,r||(r=c.displayName||c.name||"",r=r!==""?"ForwardRef("+r+")":"ForwardRef"),r;case k:return c=r.displayName||null,c!==null?c:e(r.type)||"Memo";case V:c=r._payload,r=r._init;try{return e(r(c))}catch{}}return null}function n(r){return""+r}function o(r){try{n(r);var c=!1}catch{c=!0}if(c){c=console;var u=c.error,p=typeof Symbol=="function"&&Symbol.toStringTag&&r[Symbol.toStringTag]||r.constructor.name||"Object";return u.call(c,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",p),n(r)}}function t(r){if(r===A)return"<>";if(typeof r=="object"&&r!==null&&r.$$typeof===V)return"<...>";try{var c=e(r);return c?"<"+c+">":"<...>"}catch{return"<...>"}}function s(){var r=J.A;return r===null?null:r.getOwner()}function a(){return Error("react-stack-top-frame")}function l(r){if(K.call(r,"key")){var c=Object.getOwnPropertyDescriptor(r,"key").get;if(c&&c.isReactWarning)return!1}return r.key!==void 0}function m(r,c){function u(){L||(L=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",c))}u.isReactWarning=!0,Object.defineProperty(r,"key",{get:u,configurable:!0})}function g(){var r=e(this.type);return F[r]||(F[r]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),r=this.props.ref,r!==void 0?r:null}function v(r,c,u,p,R,E){var d=u.ref;return r={$$typeof:Y,type:r,key:c,props:u,_owner:p},(d!==void 0?d:null)!==null?Object.defineProperty(r,"ref",{enumerable:!1,get:g}):Object.defineProperty(r,"ref",{enumerable:!1,value:null}),r._store={},Object.defineProperty(r._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(r,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(r,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:R}),Object.defineProperty(r,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:E}),Object.freeze&&(Object.freeze(r.props),Object.freeze(r)),r}function x(r,c,u,p,R,E){var d=c.children;if(d!==void 0)if(p)if(X(d)){for(p=0;p<d.length;p++)T(d[p]);Object.freeze&&Object.freeze(d)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else T(d);if(K.call(c,"key")){d=e(r);var S=Object.keys(c).filter(function(_){return _!=="key"});p=0<S.length?"{key: someKey, "+S.join(": ..., ")+": ...}":"{key: someKey}",i[d+p]||(S=0<S.length?"{"+S.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
2
+ let props = %s;
3
+ <%s {...props} />
4
+ React keys must be passed directly to JSX without using spread:
5
+ let props = %s;
6
+ <%s key={someKey} {...props} />`,p,d,S,d),i[d+p]=!0)}if(d=null,u!==void 0&&(o(u),d=""+u),l(c)&&(o(c.key),d=""+c.key),"key"in c){u={};for(var O in c)O!=="key"&&(u[O]=c[O])}else u=c;return d&&m(u,typeof r=="function"?r.displayName||r.name||"Unknown":r),v(r,d,u,s(),R,E)}function T(r){j(r)?r._store&&(r._store.validated=1):typeof r=="object"&&r!==null&&r.$$typeof===V&&(r._payload.status==="fulfilled"?j(r._payload.value)&&r._payload.value._store&&(r._payload.value._store.validated=1):r._store&&(r._store.validated=1))}function j(r){return typeof r=="object"&&r!==null&&r.$$typeof===Y}var I=fr,Y=Symbol.for("react.transitional.element"),C=Symbol.for("react.portal"),A=Symbol.for("react.fragment"),q=Symbol.for("react.strict_mode"),B=Symbol.for("react.profiler"),N=Symbol.for("react.consumer"),$=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),G=Symbol.for("react.suspense"),H=Symbol.for("react.suspense_list"),k=Symbol.for("react.memo"),V=Symbol.for("react.lazy"),te=Symbol.for("react.activity"),Q=Symbol.for("react.client.reference"),J=I.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,K=Object.prototype.hasOwnProperty,X=Array.isArray,U=console.createTask?console.createTask:function(){return null};I={react_stack_bottom_frame:function(r){return r()}};var L,F={},w=I.react_stack_bottom_frame.bind(I,a)(),ee=U(t(a)),i={};ce.Fragment=A,ce.jsx=function(r,c,u){var p=1e4>J.recentlyCreatedOwnerStacks++;return x(r,c,u,!1,p?Error("react-stack-top-frame"):w,p?U(t(r)):ee)},ce.jsxs=function(r,c,u){var p=1e4>J.recentlyCreatedOwnerStacks++;return x(r,c,u,!0,p?Error("react-stack-top-frame"):w,p?U(t(r)):ee)}})()),ce}var Me;function gr(){return Me||(Me=1,process.env.NODE_ENV==="production"?me.exports=mr():me.exports=br()),me.exports}var yr=gr(),be={exports:{}},ge={exports:{}},M={};var ze;function hr(){if(ze)return M;ze=1;var e=typeof Symbol=="function"&&Symbol.for,n=e?Symbol.for("react.element"):60103,o=e?Symbol.for("react.portal"):60106,t=e?Symbol.for("react.fragment"):60107,s=e?Symbol.for("react.strict_mode"):60108,a=e?Symbol.for("react.profiler"):60114,l=e?Symbol.for("react.provider"):60109,m=e?Symbol.for("react.context"):60110,g=e?Symbol.for("react.async_mode"):60111,v=e?Symbol.for("react.concurrent_mode"):60111,x=e?Symbol.for("react.forward_ref"):60112,T=e?Symbol.for("react.suspense"):60113,j=e?Symbol.for("react.suspense_list"):60120,I=e?Symbol.for("react.memo"):60115,Y=e?Symbol.for("react.lazy"):60116,C=e?Symbol.for("react.block"):60121,A=e?Symbol.for("react.fundamental"):60117,q=e?Symbol.for("react.responder"):60118,B=e?Symbol.for("react.scope"):60119;function N(f){if(typeof f=="object"&&f!==null){var G=f.$$typeof;switch(G){case n:switch(f=f.type,f){case g:case v:case t:case a:case s:case T:return f;default:switch(f=f&&f.$$typeof,f){case m:case x:case Y:case I:case l:return f;default:return G}}case o:return G}}}function $(f){return N(f)===v}return M.AsyncMode=g,M.ConcurrentMode=v,M.ContextConsumer=m,M.ContextProvider=l,M.Element=n,M.ForwardRef=x,M.Fragment=t,M.Lazy=Y,M.Memo=I,M.Portal=o,M.Profiler=a,M.StrictMode=s,M.Suspense=T,M.isAsyncMode=function(f){return $(f)||N(f)===g},M.isConcurrentMode=$,M.isContextConsumer=function(f){return N(f)===m},M.isContextProvider=function(f){return N(f)===l},M.isElement=function(f){return typeof f=="object"&&f!==null&&f.$$typeof===n},M.isForwardRef=function(f){return N(f)===x},M.isFragment=function(f){return N(f)===t},M.isLazy=function(f){return N(f)===Y},M.isMemo=function(f){return N(f)===I},M.isPortal=function(f){return N(f)===o},M.isProfiler=function(f){return N(f)===a},M.isStrictMode=function(f){return N(f)===s},M.isSuspense=function(f){return N(f)===T},M.isValidElementType=function(f){return typeof f=="string"||typeof f=="function"||f===t||f===v||f===a||f===s||f===T||f===j||typeof f=="object"&&f!==null&&(f.$$typeof===Y||f.$$typeof===I||f.$$typeof===l||f.$$typeof===m||f.$$typeof===x||f.$$typeof===A||f.$$typeof===q||f.$$typeof===B||f.$$typeof===C)},M.typeOf=N,M}var z={};var $e;function vr(){return $e||($e=1,process.env.NODE_ENV!=="production"&&(function(){var e=typeof Symbol=="function"&&Symbol.for,n=e?Symbol.for("react.element"):60103,o=e?Symbol.for("react.portal"):60106,t=e?Symbol.for("react.fragment"):60107,s=e?Symbol.for("react.strict_mode"):60108,a=e?Symbol.for("react.profiler"):60114,l=e?Symbol.for("react.provider"):60109,m=e?Symbol.for("react.context"):60110,g=e?Symbol.for("react.async_mode"):60111,v=e?Symbol.for("react.concurrent_mode"):60111,x=e?Symbol.for("react.forward_ref"):60112,T=e?Symbol.for("react.suspense"):60113,j=e?Symbol.for("react.suspense_list"):60120,I=e?Symbol.for("react.memo"):60115,Y=e?Symbol.for("react.lazy"):60116,C=e?Symbol.for("react.block"):60121,A=e?Symbol.for("react.fundamental"):60117,q=e?Symbol.for("react.responder"):60118,B=e?Symbol.for("react.scope"):60119;function N(b){return typeof b=="string"||typeof b=="function"||b===t||b===v||b===a||b===s||b===T||b===j||typeof b=="object"&&b!==null&&(b.$$typeof===Y||b.$$typeof===I||b.$$typeof===l||b.$$typeof===m||b.$$typeof===x||b.$$typeof===A||b.$$typeof===q||b.$$typeof===B||b.$$typeof===C)}function $(b){if(typeof b=="object"&&b!==null){var Z=b.$$typeof;switch(Z){case n:var pe=b.type;switch(pe){case g:case v:case t:case a:case s:case T:return pe;default:var Ae=pe&&pe.$$typeof;switch(Ae){case m:case x:case Y:case I:case l:return Ae;default:return Z}}case o:return Z}}}var f=g,G=v,H=m,k=l,V=n,te=x,Q=t,J=Y,K=I,X=o,U=a,L=s,F=T,w=!1;function ee(b){return w||(w=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),i(b)||$(b)===g}function i(b){return $(b)===v}function r(b){return $(b)===m}function c(b){return $(b)===l}function u(b){return typeof b=="object"&&b!==null&&b.$$typeof===n}function p(b){return $(b)===x}function R(b){return $(b)===t}function E(b){return $(b)===Y}function d(b){return $(b)===I}function S(b){return $(b)===o}function O(b){return $(b)===a}function _(b){return $(b)===s}function W(b){return $(b)===T}z.AsyncMode=f,z.ConcurrentMode=G,z.ContextConsumer=H,z.ContextProvider=k,z.Element=V,z.ForwardRef=te,z.Fragment=Q,z.Lazy=J,z.Memo=K,z.Portal=X,z.Profiler=U,z.StrictMode=L,z.Suspense=F,z.isAsyncMode=ee,z.isConcurrentMode=i,z.isContextConsumer=r,z.isContextProvider=c,z.isElement=u,z.isForwardRef=p,z.isFragment=R,z.isLazy=E,z.isMemo=d,z.isPortal=S,z.isProfiler=O,z.isStrictMode=_,z.isSuspense=W,z.isValidElementType=N,z.typeOf=$})()),z}var Ne;function He(){return Ne||(Ne=1,process.env.NODE_ENV==="production"?ge.exports=hr():ge.exports=vr()),ge.exports}var we,Ye;function wr(){if(Ye)return we;Ye=1;var e=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;function t(a){if(a==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(a)}function s(){try{if(!Object.assign)return!1;var a=new String("abc");if(a[5]="de",Object.getOwnPropertyNames(a)[0]==="5")return!1;for(var l={},m=0;m<10;m++)l["_"+String.fromCharCode(m)]=m;var g=Object.getOwnPropertyNames(l).map(function(x){return l[x]});if(g.join("")!=="0123456789")return!1;var v={};return"abcdefghijklmnopqrst".split("").forEach(function(x){v[x]=x}),Object.keys(Object.assign({},v)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return we=s()?Object.assign:function(a,l){for(var m,g=t(a),v,x=1;x<arguments.length;x++){m=Object(arguments[x]);for(var T in m)n.call(m,T)&&(g[T]=m[T]);if(e){v=e(m);for(var j=0;j<v.length;j++)o.call(m,v[j])&&(g[v[j]]=m[v[j]])}}return g},we}var xe,Le;function Oe(){if(Le)return xe;Le=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return xe=e,xe}var ke,qe;function Ze(){return qe||(qe=1,ke=Function.call.bind(Object.prototype.hasOwnProperty)),ke}var Ee,De;function xr(){if(De)return Ee;De=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var n=Oe(),o={},t=Ze();e=function(a){var l="Warning: "+a;typeof console<"u"&&console.error(l);try{throw new Error(l)}catch{}}}function s(a,l,m,g,v){if(process.env.NODE_ENV!=="production"){for(var x in a)if(t(a,x)){var T;try{if(typeof a[x]!="function"){var j=Error((g||"React class")+": "+m+" type `"+x+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof a[x]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw j.name="Invariant Violation",j}T=a[x](l,x,g,m,null,n)}catch(Y){T=Y}if(T&&!(T instanceof Error)&&e((g||"React class")+": type specification of "+m+" `"+x+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof T+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),T instanceof Error&&!(T.message in o)){o[T.message]=!0;var I=v?v():"";e("Failed "+m+" type: "+T.message+(I??""))}}}}return s.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(o={})},Ee=s,Ee}var Te,Fe;function kr(){if(Fe)return Te;Fe=1;var e=He(),n=wr(),o=Oe(),t=Ze(),s=xr(),a=function(){};process.env.NODE_ENV!=="production"&&(a=function(m){var g="Warning: "+m;typeof console<"u"&&console.error(g);try{throw new Error(g)}catch{}});function l(){return null}return Te=function(m,g){var v=typeof Symbol=="function"&&Symbol.iterator,x="@@iterator";function T(i){var r=i&&(v&&i[v]||i[x]);if(typeof r=="function")return r}var j="<<anonymous>>",I={array:q("array"),bigint:q("bigint"),bool:q("boolean"),func:q("function"),number:q("number"),object:q("object"),string:q("string"),symbol:q("symbol"),any:B(),arrayOf:N,element:$(),elementType:f(),instanceOf:G,node:te(),objectOf:k,oneOf:H,oneOfType:V,shape:J,exact:K};function Y(i,r){return i===r?i!==0||1/i===1/r:i!==i&&r!==r}function C(i,r){this.message=i,this.data=r&&typeof r=="object"?r:{},this.stack=""}C.prototype=Error.prototype;function A(i){if(process.env.NODE_ENV!=="production")var r={},c=0;function u(R,E,d,S,O,_,W){if(S=S||j,_=_||d,W!==o){if(g){var b=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw b.name="Invariant Violation",b}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var Z=S+":"+d;!r[Z]&&c<3&&(a("You are manually calling a React.PropTypes validation function for the `"+_+"` prop on `"+S+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),r[Z]=!0,c++)}}return E[d]==null?R?E[d]===null?new C("The "+O+" `"+_+"` is marked as required "+("in `"+S+"`, but its value is `null`.")):new C("The "+O+" `"+_+"` is marked as required in "+("`"+S+"`, but its value is `undefined`.")):null:i(E,d,S,O,_)}var p=u.bind(null,!1);return p.isRequired=u.bind(null,!0),p}function q(i){function r(c,u,p,R,E,d){var S=c[u],O=L(S);if(O!==i){var _=F(S);return new C("Invalid "+R+" `"+E+"` of type "+("`"+_+"` supplied to `"+p+"`, expected ")+("`"+i+"`."),{expectedType:i})}return null}return A(r)}function B(){return A(l)}function N(i){function r(c,u,p,R,E){if(typeof i!="function")return new C("Property `"+E+"` of component `"+p+"` has invalid PropType notation inside arrayOf.");var d=c[u];if(!Array.isArray(d)){var S=L(d);return new C("Invalid "+R+" `"+E+"` of type "+("`"+S+"` supplied to `"+p+"`, expected an array."))}for(var O=0;O<d.length;O++){var _=i(d,O,p,R,E+"["+O+"]",o);if(_ instanceof Error)return _}return null}return A(r)}function $(){function i(r,c,u,p,R){var E=r[c];if(!m(E)){var d=L(E);return new C("Invalid "+p+" `"+R+"` of type "+("`"+d+"` supplied to `"+u+"`, expected a single ReactElement."))}return null}return A(i)}function f(){function i(r,c,u,p,R){var E=r[c];if(!e.isValidElementType(E)){var d=L(E);return new C("Invalid "+p+" `"+R+"` of type "+("`"+d+"` supplied to `"+u+"`, expected a single ReactElement type."))}return null}return A(i)}function G(i){function r(c,u,p,R,E){if(!(c[u]instanceof i)){var d=i.name||j,S=ee(c[u]);return new C("Invalid "+R+" `"+E+"` of type "+("`"+S+"` supplied to `"+p+"`, expected ")+("instance of `"+d+"`."))}return null}return A(r)}function H(i){if(!Array.isArray(i))return process.env.NODE_ENV!=="production"&&(arguments.length>1?a("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):a("Invalid argument supplied to oneOf, expected an array.")),l;function r(c,u,p,R,E){for(var d=c[u],S=0;S<i.length;S++)if(Y(d,i[S]))return null;var O=JSON.stringify(i,function(W,b){var Z=F(b);return Z==="symbol"?String(b):b});return new C("Invalid "+R+" `"+E+"` of value `"+String(d)+"` "+("supplied to `"+p+"`, expected one of "+O+"."))}return A(r)}function k(i){function r(c,u,p,R,E){if(typeof i!="function")return new C("Property `"+E+"` of component `"+p+"` has invalid PropType notation inside objectOf.");var d=c[u],S=L(d);if(S!=="object")return new C("Invalid "+R+" `"+E+"` of type "+("`"+S+"` supplied to `"+p+"`, expected an object."));for(var O in d)if(t(d,O)){var _=i(d,O,p,R,E+"."+O,o);if(_ instanceof Error)return _}return null}return A(r)}function V(i){if(!Array.isArray(i))return process.env.NODE_ENV!=="production"&&a("Invalid argument supplied to oneOfType, expected an instance of array."),l;for(var r=0;r<i.length;r++){var c=i[r];if(typeof c!="function")return a("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+w(c)+" at index "+r+"."),l}function u(p,R,E,d,S){for(var O=[],_=0;_<i.length;_++){var W=i[_],b=W(p,R,E,d,S,o);if(b==null)return null;b.data&&t(b.data,"expectedType")&&O.push(b.data.expectedType)}var Z=O.length>0?", expected one of type ["+O.join(", ")+"]":"";return new C("Invalid "+d+" `"+S+"` supplied to "+("`"+E+"`"+Z+"."))}return A(u)}function te(){function i(r,c,u,p,R){return X(r[c])?null:new C("Invalid "+p+" `"+R+"` supplied to "+("`"+u+"`, expected a ReactNode."))}return A(i)}function Q(i,r,c,u,p){return new C((i||"React class")+": "+r+" type `"+c+"."+u+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+p+"`.")}function J(i){function r(c,u,p,R,E){var d=c[u],S=L(d);if(S!=="object")return new C("Invalid "+R+" `"+E+"` of type `"+S+"` "+("supplied to `"+p+"`, expected `object`."));for(var O in i){var _=i[O];if(typeof _!="function")return Q(p,R,E,O,F(_));var W=_(d,O,p,R,E+"."+O,o);if(W)return W}return null}return A(r)}function K(i){function r(c,u,p,R,E){var d=c[u],S=L(d);if(S!=="object")return new C("Invalid "+R+" `"+E+"` of type `"+S+"` "+("supplied to `"+p+"`, expected `object`."));var O=n({},c[u],i);for(var _ in O){var W=i[_];if(t(i,_)&&typeof W!="function")return Q(p,R,E,_,F(W));if(!W)return new C("Invalid "+R+" `"+E+"` key `"+_+"` supplied to `"+p+"`.\nBad object: "+JSON.stringify(c[u],null," ")+`
7
+ Valid keys: `+JSON.stringify(Object.keys(i),null," "));var b=W(d,_,p,R,E+"."+_,o);if(b)return b}return null}return A(r)}function X(i){switch(typeof i){case"number":case"string":case"undefined":return!0;case"boolean":return!i;case"object":if(Array.isArray(i))return i.every(X);if(i===null||m(i))return!0;var r=T(i);if(r){var c=r.call(i),u;if(r!==i.entries){for(;!(u=c.next()).done;)if(!X(u.value))return!1}else for(;!(u=c.next()).done;){var p=u.value;if(p&&!X(p[1]))return!1}}else return!1;return!0;default:return!1}}function U(i,r){return i==="symbol"?!0:r?r["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&r instanceof Symbol:!1}function L(i){var r=typeof i;return Array.isArray(i)?"array":i instanceof RegExp?"object":U(r,i)?"symbol":r}function F(i){if(typeof i>"u"||i===null)return""+i;var r=L(i);if(r==="object"){if(i instanceof Date)return"date";if(i instanceof RegExp)return"regexp"}return r}function w(i){var r=F(i);switch(r){case"array":case"object":return"an "+r;case"boolean":case"date":case"regexp":return"a "+r;default:return r}}function ee(i){return!i.constructor||!i.constructor.name?j:i.constructor.name}return I.checkPropTypes=s,I.resetWarningCache=s.resetWarningCache,I.PropTypes=I,I},Te}var Re,We;function Er(){if(We)return Re;We=1;var e=Oe();function n(){}function o(){}return o.resetWarningCache=n,Re=function(){function t(l,m,g,v,x,T){if(T!==e){var j=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw j.name="Invariant Violation",j}}t.isRequired=t;function s(){return t}var a={array:t,bigint:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:s,element:t,elementType:t,instanceOf:s,node:t,objectOf:s,oneOf:s,oneOfType:s,shape:s,exact:s,checkPropTypes:o,resetWarningCache:n};return a.PropTypes=a,a},Re}var Ge;function Tr(){if(Ge)return be.exports;if(Ge=1,process.env.NODE_ENV!=="production"){var e=He(),n=!0;be.exports=kr()(e.isElement,n)}else be.exports=Er()();return be.exports}var Rr=Tr();const ue=pr(Rr);function Qe(e){var n,o,t="";if(typeof e=="string"||typeof e=="number")t+=e;else if(typeof e=="object")if(Array.isArray(e)){var s=e.length;for(n=0;n<s;n++)e[n]&&(o=Qe(e[n]))&&(t&&(t+=" "),t+=o)}else for(o in e)e[o]&&(t&&(t+=" "),t+=o);return t}function Sr(){for(var e,n,o=0,t="",s=arguments.length;o<s;o++)(e=arguments[o])&&(n=Qe(e))&&(t&&(t+=" "),t+=n);return t}const _r=(e,n)=>{const o=new Array(e.length+n.length);for(let t=0;t<e.length;t++)o[t]=e[t];for(let t=0;t<n.length;t++)o[e.length+t]=n[t];return o},Pr=(e,n)=>({classGroupId:e,validator:n}),Ke=(e=new Map,n=null,o)=>({nextPart:e,validators:n,classGroupId:o}),ve="-",Ve=[],Or="arbitrary..",Cr=e=>{const n=jr(e),{conflictingClassGroups:o,conflictingClassGroupModifiers:t}=e;return{getClassGroupId:l=>{if(l.startsWith("[")&&l.endsWith("]"))return Ar(l);const m=l.split(ve),g=m[0]===""&&m.length>1?1:0;return er(m,g,n)},getConflictingClassGroupIds:(l,m)=>{if(m){const g=t[l],v=o[l];return g?v?_r(v,g):g:v||Ve}return o[l]||Ve}}},er=(e,n,o)=>{if(e.length-n===0)return o.classGroupId;const s=e[n],a=o.nextPart.get(s);if(a){const v=er(e,n+1,a);if(v)return v}const l=o.validators;if(l===null)return;const m=n===0?e.join(ve):e.slice(n).join(ve),g=l.length;for(let v=0;v<g;v++){const x=l[v];if(x.validator(m))return x.classGroupId}},Ar=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const n=e.slice(1,-1),o=n.indexOf(":"),t=n.slice(0,o);return t?Or+t:void 0})(),jr=e=>{const{theme:n,classGroups:o}=e;return Ir(o,n)},Ir=(e,n)=>{const o=Ke();for(const t in e){const s=e[t];Ce(s,o,t,n)}return o},Ce=(e,n,o,t)=>{const s=e.length;for(let a=0;a<s;a++){const l=e[a];Mr(l,n,o,t)}},Mr=(e,n,o,t)=>{if(typeof e=="string"){zr(e,n,o);return}if(typeof e=="function"){$r(e,n,o,t);return}Nr(e,n,o,t)},zr=(e,n,o)=>{const t=e===""?n:rr(n,e);t.classGroupId=o},$r=(e,n,o,t)=>{if(Yr(e)){Ce(e(t),n,o,t);return}n.validators===null&&(n.validators=[]),n.validators.push(Pr(o,e))},Nr=(e,n,o,t)=>{const s=Object.entries(e),a=s.length;for(let l=0;l<a;l++){const[m,g]=s[l];Ce(g,rr(n,m),o,t)}},rr=(e,n)=>{let o=e;const t=n.split(ve),s=t.length;for(let a=0;a<s;a++){const l=t[a];let m=o.nextPart.get(l);m||(m=Ke(),o.nextPart.set(l,m)),o=m}return o},Yr=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,Lr=e=>{if(e<1)return{get:()=>{},set:()=>{}};let n=0,o=Object.create(null),t=Object.create(null);const s=(a,l)=>{o[a]=l,n++,n>e&&(n=0,t=o,o=Object.create(null))};return{get(a){let l=o[a];if(l!==void 0)return l;if((l=t[a])!==void 0)return s(a,l),l},set(a,l){a in o?o[a]=l:s(a,l)}}},Pe="!",Ue=":",qr=[],Be=(e,n,o,t,s)=>({modifiers:e,hasImportantModifier:n,baseClassName:o,maybePostfixModifierPosition:t,isExternal:s}),Dr=e=>{const{prefix:n,experimentalParseClassName:o}=e;let t=s=>{const a=[];let l=0,m=0,g=0,v;const x=s.length;for(let C=0;C<x;C++){const A=s[C];if(l===0&&m===0){if(A===Ue){a.push(s.slice(g,C)),g=C+1;continue}if(A==="/"){v=C;continue}}A==="["?l++:A==="]"?l--:A==="("?m++:A===")"&&m--}const T=a.length===0?s:s.slice(g);let j=T,I=!1;T.endsWith(Pe)?(j=T.slice(0,-1),I=!0):T.startsWith(Pe)&&(j=T.slice(1),I=!0);const Y=v&&v>g?v-g:void 0;return Be(a,I,j,Y)};if(n){const s=n+Ue,a=t;t=l=>l.startsWith(s)?a(l.slice(s.length)):Be(qr,!1,l,void 0,!0)}if(o){const s=t;t=a=>o({className:a,parseClassName:s})}return t},Fr=e=>{const n=new Map;return e.orderSensitiveModifiers.forEach((o,t)=>{n.set(o,1e6+t)}),o=>{const t=[];let s=[];for(let a=0;a<o.length;a++){const l=o[a],m=l[0]==="[",g=n.has(l);m||g?(s.length>0&&(s.sort(),t.push(...s),s=[]),t.push(l)):s.push(l)}return s.length>0&&(s.sort(),t.push(...s)),t}},Wr=e=>({cache:Lr(e.cacheSize),parseClassName:Dr(e),sortModifiers:Fr(e),...Cr(e)}),Gr=/\s+/,Vr=(e,n)=>{const{parseClassName:o,getClassGroupId:t,getConflictingClassGroupIds:s,sortModifiers:a}=n,l=[],m=e.trim().split(Gr);let g="";for(let v=m.length-1;v>=0;v-=1){const x=m[v],{isExternal:T,modifiers:j,hasImportantModifier:I,baseClassName:Y,maybePostfixModifierPosition:C}=o(x);if(T){g=x+(g.length>0?" "+g:g);continue}let A=!!C,q=t(A?Y.substring(0,C):Y);if(!q){if(!A){g=x+(g.length>0?" "+g:g);continue}if(q=t(Y),!q){g=x+(g.length>0?" "+g:g);continue}A=!1}const B=j.length===0?"":j.length===1?j[0]:a(j).join(":"),N=I?B+Pe:B,$=N+q;if(l.indexOf($)>-1)continue;l.push($);const f=s(q,A);for(let G=0;G<f.length;++G){const H=f[G];l.push(N+H)}g=x+(g.length>0?" "+g:g)}return g},Ur=(...e)=>{let n=0,o,t,s="";for(;n<e.length;)(o=e[n++])&&(t=tr(o))&&(s&&(s+=" "),s+=t);return s},tr=e=>{if(typeof e=="string")return e;let n,o="";for(let t=0;t<e.length;t++)e[t]&&(n=tr(e[t]))&&(o&&(o+=" "),o+=n);return o},Br=(e,...n)=>{let o,t,s,a;const l=g=>{const v=n.reduce((x,T)=>T(x),e());return o=Wr(v),t=o.cache.get,s=o.cache.set,a=m,m(g)},m=g=>{const v=t(g);if(v)return v;const x=Vr(g,o);return s(g,x),x};return a=l,(...g)=>a(Ur(...g))},Jr=[],D=e=>{const n=o=>o[e]||Jr;return n.isThemeGetter=!0,n},or=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,nr=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Xr=/^\d+\/\d+$/,Hr=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Zr=/\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$/,Qr=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Kr=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,et=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,ae=e=>Xr.test(e),P=e=>!!e&&!Number.isNaN(Number(e)),oe=e=>!!e&&Number.isInteger(Number(e)),Se=e=>e.endsWith("%")&&P(e.slice(0,-1)),re=e=>Hr.test(e),rt=()=>!0,tt=e=>Zr.test(e)&&!Qr.test(e),ar=()=>!1,ot=e=>Kr.test(e),nt=e=>et.test(e),at=e=>!y(e)&&!h(e),st=e=>se(e,lr,ar),y=e=>or.test(e),ne=e=>se(e,cr,tt),_e=e=>se(e,dt,P),Je=e=>se(e,sr,ar),it=e=>se(e,ir,nt),ye=e=>se(e,ur,ot),h=e=>nr.test(e),de=e=>ie(e,cr),lt=e=>ie(e,ft),Xe=e=>ie(e,sr),ct=e=>ie(e,lr),ut=e=>ie(e,ir),he=e=>ie(e,ur,!0),se=(e,n,o)=>{const t=or.exec(e);return t?t[1]?n(t[1]):o(t[2]):!1},ie=(e,n,o=!1)=>{const t=nr.exec(e);return t?t[1]?n(t[1]):o:!1},sr=e=>e==="position"||e==="percentage",ir=e=>e==="image"||e==="url",lr=e=>e==="length"||e==="size"||e==="bg-size",cr=e=>e==="length",dt=e=>e==="number",ft=e=>e==="family-name",ur=e=>e==="shadow",pt=()=>{const e=D("color"),n=D("font"),o=D("text"),t=D("font-weight"),s=D("tracking"),a=D("leading"),l=D("breakpoint"),m=D("container"),g=D("spacing"),v=D("radius"),x=D("shadow"),T=D("inset-shadow"),j=D("text-shadow"),I=D("drop-shadow"),Y=D("blur"),C=D("perspective"),A=D("aspect"),q=D("ease"),B=D("animate"),N=()=>["auto","avoid","all","avoid-page","page","left","right","column"],$=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],f=()=>[...$(),h,y],G=()=>["auto","hidden","clip","visible","scroll"],H=()=>["auto","contain","none"],k=()=>[h,y,g],V=()=>[ae,"full","auto",...k()],te=()=>[oe,"none","subgrid",h,y],Q=()=>["auto",{span:["full",oe,h,y]},oe,h,y],J=()=>[oe,"auto",h,y],K=()=>["auto","min","max","fr",h,y],X=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],U=()=>["start","end","center","stretch","center-safe","end-safe"],L=()=>["auto",...k()],F=()=>[ae,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...k()],w=()=>[e,h,y],ee=()=>[...$(),Xe,Je,{position:[h,y]}],i=()=>["no-repeat",{repeat:["","x","y","space","round"]}],r=()=>["auto","cover","contain",ct,st,{size:[h,y]}],c=()=>[Se,de,ne],u=()=>["","none","full",v,h,y],p=()=>["",P,de,ne],R=()=>["solid","dashed","dotted","double"],E=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],d=()=>[P,Se,Xe,Je],S=()=>["","none",Y,h,y],O=()=>["none",P,h,y],_=()=>["none",P,h,y],W=()=>[P,h,y],b=()=>[ae,"full",...k()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[re],breakpoint:[re],color:[rt],container:[re],"drop-shadow":[re],ease:["in","out","in-out"],font:[at],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[re],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[re],shadow:[re],spacing:["px",P],text:[re],"text-shadow":[re],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",ae,y,h,A]}],container:["container"],columns:[{columns:[P,y,h,m]}],"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"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:f()}],overflow:[{overflow:G()}],"overflow-x":[{"overflow-x":G()}],"overflow-y":[{"overflow-y":G()}],overscroll:[{overscroll:H()}],"overscroll-x":[{"overscroll-x":H()}],"overscroll-y":[{"overscroll-y":H()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:V()}],"inset-x":[{"inset-x":V()}],"inset-y":[{"inset-y":V()}],start:[{start:V()}],end:[{end:V()}],top:[{top:V()}],right:[{right:V()}],bottom:[{bottom:V()}],left:[{left:V()}],visibility:["visible","invisible","collapse"],z:[{z:[oe,"auto",h,y]}],basis:[{basis:[ae,"full","auto",m,...k()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[P,ae,"auto","initial","none",y]}],grow:[{grow:["",P,h,y]}],shrink:[{shrink:["",P,h,y]}],order:[{order:[oe,"first","last","none",h,y]}],"grid-cols":[{"grid-cols":te()}],"col-start-end":[{col:Q()}],"col-start":[{"col-start":J()}],"col-end":[{"col-end":J()}],"grid-rows":[{"grid-rows":te()}],"row-start-end":[{row:Q()}],"row-start":[{"row-start":J()}],"row-end":[{"row-end":J()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":K()}],"auto-rows":[{"auto-rows":K()}],gap:[{gap:k()}],"gap-x":[{"gap-x":k()}],"gap-y":[{"gap-y":k()}],"justify-content":[{justify:[...X(),"normal"]}],"justify-items":[{"justify-items":[...U(),"normal"]}],"justify-self":[{"justify-self":["auto",...U()]}],"align-content":[{content:["normal",...X()]}],"align-items":[{items:[...U(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...U(),{baseline:["","last"]}]}],"place-content":[{"place-content":X()}],"place-items":[{"place-items":[...U(),"baseline"]}],"place-self":[{"place-self":["auto",...U()]}],p:[{p:k()}],px:[{px:k()}],py:[{py:k()}],ps:[{ps:k()}],pe:[{pe:k()}],pt:[{pt:k()}],pr:[{pr:k()}],pb:[{pb:k()}],pl:[{pl:k()}],m:[{m:L()}],mx:[{mx:L()}],my:[{my:L()}],ms:[{ms:L()}],me:[{me:L()}],mt:[{mt:L()}],mr:[{mr:L()}],mb:[{mb:L()}],ml:[{ml:L()}],"space-x":[{"space-x":k()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":k()}],"space-y-reverse":["space-y-reverse"],size:[{size:F()}],w:[{w:[m,"screen",...F()]}],"min-w":[{"min-w":[m,"screen","none",...F()]}],"max-w":[{"max-w":[m,"screen","none","prose",{screen:[l]},...F()]}],h:[{h:["screen","lh",...F()]}],"min-h":[{"min-h":["screen","lh","none",...F()]}],"max-h":[{"max-h":["screen","lh",...F()]}],"font-size":[{text:["base",o,de,ne]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[t,h,_e]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Se,y]}],"font-family":[{font:[lt,y,n]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[s,h,y]}],"line-clamp":[{"line-clamp":[P,"none",h,_e]}],leading:[{leading:[a,...k()]}],"list-image":[{"list-image":["none",h,y]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",h,y]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:w()}],"text-color":[{text:w()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...R(),"wavy"]}],"text-decoration-thickness":[{decoration:[P,"from-font","auto",h,ne]}],"text-decoration-color":[{decoration:w()}],"underline-offset":[{"underline-offset":[P,"auto",h,y]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:k()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",h,y]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",h,y]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:ee()}],"bg-repeat":[{bg:i()}],"bg-size":[{bg:r()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},oe,h,y],radial:["",h,y],conic:[oe,h,y]},ut,it]}],"bg-color":[{bg:w()}],"gradient-from-pos":[{from:c()}],"gradient-via-pos":[{via:c()}],"gradient-to-pos":[{to:c()}],"gradient-from":[{from:w()}],"gradient-via":[{via:w()}],"gradient-to":[{to:w()}],rounded:[{rounded:u()}],"rounded-s":[{"rounded-s":u()}],"rounded-e":[{"rounded-e":u()}],"rounded-t":[{"rounded-t":u()}],"rounded-r":[{"rounded-r":u()}],"rounded-b":[{"rounded-b":u()}],"rounded-l":[{"rounded-l":u()}],"rounded-ss":[{"rounded-ss":u()}],"rounded-se":[{"rounded-se":u()}],"rounded-ee":[{"rounded-ee":u()}],"rounded-es":[{"rounded-es":u()}],"rounded-tl":[{"rounded-tl":u()}],"rounded-tr":[{"rounded-tr":u()}],"rounded-br":[{"rounded-br":u()}],"rounded-bl":[{"rounded-bl":u()}],"border-w":[{border:p()}],"border-w-x":[{"border-x":p()}],"border-w-y":[{"border-y":p()}],"border-w-s":[{"border-s":p()}],"border-w-e":[{"border-e":p()}],"border-w-t":[{"border-t":p()}],"border-w-r":[{"border-r":p()}],"border-w-b":[{"border-b":p()}],"border-w-l":[{"border-l":p()}],"divide-x":[{"divide-x":p()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":p()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...R(),"hidden","none"]}],"divide-style":[{divide:[...R(),"hidden","none"]}],"border-color":[{border:w()}],"border-color-x":[{"border-x":w()}],"border-color-y":[{"border-y":w()}],"border-color-s":[{"border-s":w()}],"border-color-e":[{"border-e":w()}],"border-color-t":[{"border-t":w()}],"border-color-r":[{"border-r":w()}],"border-color-b":[{"border-b":w()}],"border-color-l":[{"border-l":w()}],"divide-color":[{divide:w()}],"outline-style":[{outline:[...R(),"none","hidden"]}],"outline-offset":[{"outline-offset":[P,h,y]}],"outline-w":[{outline:["",P,de,ne]}],"outline-color":[{outline:w()}],shadow:[{shadow:["","none",x,he,ye]}],"shadow-color":[{shadow:w()}],"inset-shadow":[{"inset-shadow":["none",T,he,ye]}],"inset-shadow-color":[{"inset-shadow":w()}],"ring-w":[{ring:p()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:w()}],"ring-offset-w":[{"ring-offset":[P,ne]}],"ring-offset-color":[{"ring-offset":w()}],"inset-ring-w":[{"inset-ring":p()}],"inset-ring-color":[{"inset-ring":w()}],"text-shadow":[{"text-shadow":["none",j,he,ye]}],"text-shadow-color":[{"text-shadow":w()}],opacity:[{opacity:[P,h,y]}],"mix-blend":[{"mix-blend":[...E(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":E()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[P]}],"mask-image-linear-from-pos":[{"mask-linear-from":d()}],"mask-image-linear-to-pos":[{"mask-linear-to":d()}],"mask-image-linear-from-color":[{"mask-linear-from":w()}],"mask-image-linear-to-color":[{"mask-linear-to":w()}],"mask-image-t-from-pos":[{"mask-t-from":d()}],"mask-image-t-to-pos":[{"mask-t-to":d()}],"mask-image-t-from-color":[{"mask-t-from":w()}],"mask-image-t-to-color":[{"mask-t-to":w()}],"mask-image-r-from-pos":[{"mask-r-from":d()}],"mask-image-r-to-pos":[{"mask-r-to":d()}],"mask-image-r-from-color":[{"mask-r-from":w()}],"mask-image-r-to-color":[{"mask-r-to":w()}],"mask-image-b-from-pos":[{"mask-b-from":d()}],"mask-image-b-to-pos":[{"mask-b-to":d()}],"mask-image-b-from-color":[{"mask-b-from":w()}],"mask-image-b-to-color":[{"mask-b-to":w()}],"mask-image-l-from-pos":[{"mask-l-from":d()}],"mask-image-l-to-pos":[{"mask-l-to":d()}],"mask-image-l-from-color":[{"mask-l-from":w()}],"mask-image-l-to-color":[{"mask-l-to":w()}],"mask-image-x-from-pos":[{"mask-x-from":d()}],"mask-image-x-to-pos":[{"mask-x-to":d()}],"mask-image-x-from-color":[{"mask-x-from":w()}],"mask-image-x-to-color":[{"mask-x-to":w()}],"mask-image-y-from-pos":[{"mask-y-from":d()}],"mask-image-y-to-pos":[{"mask-y-to":d()}],"mask-image-y-from-color":[{"mask-y-from":w()}],"mask-image-y-to-color":[{"mask-y-to":w()}],"mask-image-radial":[{"mask-radial":[h,y]}],"mask-image-radial-from-pos":[{"mask-radial-from":d()}],"mask-image-radial-to-pos":[{"mask-radial-to":d()}],"mask-image-radial-from-color":[{"mask-radial-from":w()}],"mask-image-radial-to-color":[{"mask-radial-to":w()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":$()}],"mask-image-conic-pos":[{"mask-conic":[P]}],"mask-image-conic-from-pos":[{"mask-conic-from":d()}],"mask-image-conic-to-pos":[{"mask-conic-to":d()}],"mask-image-conic-from-color":[{"mask-conic-from":w()}],"mask-image-conic-to-color":[{"mask-conic-to":w()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:ee()}],"mask-repeat":[{mask:i()}],"mask-size":[{mask:r()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",h,y]}],filter:[{filter:["","none",h,y]}],blur:[{blur:S()}],brightness:[{brightness:[P,h,y]}],contrast:[{contrast:[P,h,y]}],"drop-shadow":[{"drop-shadow":["","none",I,he,ye]}],"drop-shadow-color":[{"drop-shadow":w()}],grayscale:[{grayscale:["",P,h,y]}],"hue-rotate":[{"hue-rotate":[P,h,y]}],invert:[{invert:["",P,h,y]}],saturate:[{saturate:[P,h,y]}],sepia:[{sepia:["",P,h,y]}],"backdrop-filter":[{"backdrop-filter":["","none",h,y]}],"backdrop-blur":[{"backdrop-blur":S()}],"backdrop-brightness":[{"backdrop-brightness":[P,h,y]}],"backdrop-contrast":[{"backdrop-contrast":[P,h,y]}],"backdrop-grayscale":[{"backdrop-grayscale":["",P,h,y]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[P,h,y]}],"backdrop-invert":[{"backdrop-invert":["",P,h,y]}],"backdrop-opacity":[{"backdrop-opacity":[P,h,y]}],"backdrop-saturate":[{"backdrop-saturate":[P,h,y]}],"backdrop-sepia":[{"backdrop-sepia":["",P,h,y]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":k()}],"border-spacing-x":[{"border-spacing-x":k()}],"border-spacing-y":[{"border-spacing-y":k()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",h,y]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[P,"initial",h,y]}],ease:[{ease:["linear","initial",q,h,y]}],delay:[{delay:[P,h,y]}],animate:[{animate:["none",B,h,y]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[C,h,y]}],"perspective-origin":[{"perspective-origin":f()}],rotate:[{rotate:O()}],"rotate-x":[{"rotate-x":O()}],"rotate-y":[{"rotate-y":O()}],"rotate-z":[{"rotate-z":O()}],scale:[{scale:_()}],"scale-x":[{"scale-x":_()}],"scale-y":[{"scale-y":_()}],"scale-z":[{"scale-z":_()}],"scale-3d":["scale-3d"],skew:[{skew:W()}],"skew-x":[{"skew-x":W()}],"skew-y":[{"skew-y":W()}],transform:[{transform:[h,y,"","none","gpu","cpu"]}],"transform-origin":[{origin:f()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:b()}],"translate-x":[{"translate-x":b()}],"translate-y":[{"translate-y":b()}],"translate-z":[{"translate-z":b()}],"translate-none":["translate-none"],accent:[{accent:w()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:w()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",h,y]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":k()}],"scroll-mx":[{"scroll-mx":k()}],"scroll-my":[{"scroll-my":k()}],"scroll-ms":[{"scroll-ms":k()}],"scroll-me":[{"scroll-me":k()}],"scroll-mt":[{"scroll-mt":k()}],"scroll-mr":[{"scroll-mr":k()}],"scroll-mb":[{"scroll-mb":k()}],"scroll-ml":[{"scroll-ml":k()}],"scroll-p":[{"scroll-p":k()}],"scroll-px":[{"scroll-px":k()}],"scroll-py":[{"scroll-py":k()}],"scroll-ps":[{"scroll-ps":k()}],"scroll-pe":[{"scroll-pe":k()}],"scroll-pt":[{"scroll-pt":k()}],"scroll-pr":[{"scroll-pr":k()}],"scroll-pb":[{"scroll-pb":k()}],"scroll-pl":[{"scroll-pl":k()}],"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,y]}],fill:[{fill:["none",...w()]}],"stroke-w":[{stroke:[P,de,ne,_e]}],stroke:[{stroke:["none",...w()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},mt=Br(pt);function bt(...e){return mt(Sr(e))}const fe={base:"outline-none px-4 py-3 text-base",state:{default:"cursor-pointer opacity-100",disabled:"cursor-not-allowed opacity-50"},variant:{solid:"bg-blue-500 hover:bg-blue-600 active:bg-blue-700 border border-blue-500 hover:border-blue-600 active:border-blue-700 text-white"},corner:{squared:"rounded-none"}},dr=({className:e="",children:n,disabled:o=!1,loading:t=!1,type:s="button",...a})=>{const l=bt(fe.base,o?fe.state.disabled:fe.state.default,fe.variant.solid,fe.corner.squared,e);return yr.jsx("button",{type:s,disabled:o||t,className:l,...a,children:n})};dr.propTypes={className:ue.string,children:ue.node.isRequired,disabled:ue.bool,loading:ue.bool,type:ue.oneOf(["button","submit","reset"])};exports.Button=dr;