ds-smart-ui 0.0.14 → 0.0.16
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 +59 -6
- package/dist/index.cjs.js +35 -10
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +960 -732
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +35 -10
- package/dist/index.umd.js.map +1 -1
- package/dist/src/components/UI/Bagde/Badge.d.ts +15 -0
- package/dist/src/components/UI/Bagde/index.d.ts +1 -0
- package/dist/src/components/UI/Button/Button.d.ts +2 -2
- package/dist/src/components/UI/IconButton/IconButton.d.ts +2 -2
- package/dist/src/components/UI/SidebarMenuItem/SidebarMenuItem.d.ts +15 -0
- package/dist/src/components/UI/SidebarMenuItem/index.d.ts +1 -0
- package/dist/src/components/UI/Typography/Typography.d.ts +2 -1
- package/dist/src/components/UI/index.d.ts +2 -0
- package/dist/src/pages/BadgePage.d.ts +2 -0
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,13 +1,66 @@
|
|
|
1
|
-
|
|
1
|
+
<p><a target="_blank" href="https://app.eraser.io/workspace/zznMZKW2bQwnN4EatpJw" id="edit-in-eraser-github-link"><img alt="Edit in Eraser" src="https://firebasestorage.googleapis.com/v0/b/second-petal-295822.appspot.com/o/images%2Fgithub%2FOpen%20in%20Eraser.svg?alt=media&token=968381c8-a7e7-472a-8ed6-4a6626da5501"></a></p>
|
|
2
2
|
|
|
3
|
-
Smart
|
|
3
|
+
# Smart UI - React Components
|
|
4
|
+
Smart UI is a collection of React components designed to streamline the development of user interfaces. It includes a variety of components such as buttons, forms, and navigation elements, all styled to match modern design standards. This documentation provides an overview of how to install and use Smart UI in your React project.
|
|
4
5
|
|
|
5
|
-
|
|
6
|
+
#### Installation
|
|
7
|
+
To install Smart UI, use npm:
|
|
6
8
|
|
|
7
|
-
|
|
9
|
+
```bash
|
|
10
|
+
npm install ds-smart-ui
|
|
11
|
+
```
|
|
12
|
+
After installation, import the CSS file in your main application file to apply the styles:
|
|
13
|
+
|
|
14
|
+
```javascript
|
|
15
|
+
import "ds-smart-ui/dist/style.css";
|
|
16
|
+
```
|
|
17
|
+
#### Usage
|
|
18
|
+
Once Smart UI is installed and the styles are imported, you can start using the components in your React application.
|
|
19
|
+
|
|
20
|
+
For example, to use the `**Button**` component:
|
|
21
|
+
|
|
22
|
+
```javascript
|
|
23
|
+
import React from "react";
|
|
24
|
+
import { Button } from "ds-smart-ui";
|
|
25
|
+
|
|
26
|
+
function App() {
|
|
27
|
+
return (
|
|
28
|
+
<div>
|
|
29
|
+
<Button variant="contained" color="primary">
|
|
30
|
+
Click me
|
|
31
|
+
</Button>
|
|
32
|
+
</div>
|
|
33
|
+
);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export default App;
|
|
37
|
+
```
|
|
38
|
+
#### Lucide Icons
|
|
39
|
+
For icons, it is recommended to use Lucide Icons along with Smart UI. You can install Lucide Icons using npm:
|
|
8
40
|
|
|
9
41
|
```bash
|
|
10
|
-
|
|
42
|
+
bashCopy codenpm install lucide-react
|
|
43
|
+
```
|
|
44
|
+
Then, you can use Lucide Icons in your `**IconButton**` component from Smart UI:
|
|
45
|
+
|
|
46
|
+
```javascript
|
|
47
|
+
import React from "react";
|
|
48
|
+
import { IconButton } from "ds-smart-ui";
|
|
49
|
+
import { CrossIcon } from "lucide-react";
|
|
50
|
+
|
|
51
|
+
function App() {
|
|
52
|
+
return (
|
|
53
|
+
<div>
|
|
54
|
+
<IconButton iconStart={<CrossIcon />} onClick={() => console.log("Button clicked")}>Click me</IconButton>
|
|
55
|
+
</div>
|
|
56
|
+
);
|
|
57
|
+
}
|
|
11
58
|
|
|
12
|
-
|
|
59
|
+
export default App;
|
|
13
60
|
```
|
|
61
|
+
#### Project Usage
|
|
62
|
+
Smart UI is designed to meet the needs of projects like PT Praisindo Teknologi, providing a reliable set of components for building user interfaces efficiently and effectively.
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
<!--- Eraser file: https://app.eraser.io/workspace/zznMZKW2bQwnN4EatpJw --->
|
package/dist/index.cjs.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const W=require("react");function Yr(r){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(r){for(const n in r)if(n!=="default"){const o=Object.getOwnPropertyDescriptor(r,n);Object.defineProperty(t,n,o.get?o:{enumerable:!0,get:()=>r[n]})}}return t.default=r,Object.freeze(t)}const Y=Yr(W);var ze={exports:{}},ce={};/**
|
|
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 He;function
|
|
9
|
+
*/var He;function Ur(){if(He)return ce;He=1;var r=W,t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,c=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function l(u,d,p){var f,m={},_=null,j=null;p!==void 0&&(_=""+p),d.key!==void 0&&(_=""+d.key),d.ref!==void 0&&(j=d.ref);for(f in d)o.call(d,f)&&!i.hasOwnProperty(f)&&(m[f]=d[f]);if(u&&u.defaultProps)for(f in d=u.defaultProps,d)m[f]===void 0&&(m[f]=d[f]);return{$$typeof:t,type:u,key:_,ref:j,props:m,_owner:c.current}}return ce.Fragment=n,ce.jsx=l,ce.jsxs=l,ce}var ue={};/**
|
|
10
10
|
* @license React
|
|
11
11
|
* react-jsx-runtime.development.js
|
|
12
12
|
*
|
|
@@ -14,18 +14,43 @@
|
|
|
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 Ze;function
|
|
18
|
-
`+
|
|
19
|
-
`),
|
|
20
|
-
`),k=
|
|
21
|
-
`+
|
|
17
|
+
*/var Ze;function qr(){return Ze||(Ze=1,process.env.NODE_ENV!=="production"&&function(){var r=W,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),c=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),u=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),m=Symbol.for("react.memo"),_=Symbol.for("react.lazy"),j=Symbol.for("react.offscreen"),V=Symbol.iterator,C="@@iterator";function S(e){if(e===null||typeof e!="object")return null;var a=V&&e[V]||e[C];return typeof a=="function"?a:null}var O=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function R(e){{for(var a=arguments.length,s=new Array(a>1?a-1:0),b=1;b<a;b++)s[b-1]=arguments[b];be("error",e,s)}}function be(e,a,s){{var b=O.ReactDebugCurrentFrame,h=b.getStackAddendum();h!==""&&(a+="%s",s=s.concat([h]));var w=s.map(function(v){return String(v)});w.unshift("Warning: "+a),Function.prototype.apply.call(console[e],console,w)}}var te=!1,ge=!1,me=!1,ye=!1,ve=!1,H;H=Symbol.for("react.module.reference");function ne(e){return!!(typeof e=="string"||typeof e=="function"||e===o||e===i||ve||e===c||e===p||e===f||ye||e===j||te||ge||me||typeof e=="object"&&e!==null&&(e.$$typeof===_||e.$$typeof===m||e.$$typeof===l||e.$$typeof===u||e.$$typeof===d||e.$$typeof===H||e.getModuleId!==void 0))}function oe(e,a,s){var b=e.displayName;if(b)return b;var h=a.displayName||a.name||"";return h!==""?s+"("+h+")":s}function x(e){return e.displayName||"Context"}function M(e){if(e==null)return null;if(typeof e.tag=="number"&&R("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 o:return"Fragment";case n:return"Portal";case i:return"Profiler";case c:return"StrictMode";case p:return"Suspense";case f:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case u:var a=e;return x(a)+".Consumer";case l:var s=e;return x(s._context)+".Provider";case d:return oe(e,e.render,"ForwardRef");case m:var b=e.displayName||null;return b!==null?b:M(e.type)||"Memo";case _:{var h=e,w=h._payload,v=h._init;try{return M(v(w))}catch{return null}}}return null}var I=Object.assign,$=0,U,ae,Z,L,ie,D,q;function Ne(){}Ne.__reactDisabledLog=!0;function vr(){{if($===0){U=console.log,ae=console.info,Z=console.warn,L=console.error,ie=console.group,D=console.groupCollapsed,q=console.groupEnd;var e={configurable:!0,enumerable:!0,value:Ne,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}$++}}function hr(){{if($--,$===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:I({},e,{value:U}),info:I({},e,{value:ae}),warn:I({},e,{value:Z}),error:I({},e,{value:L}),group:I({},e,{value:ie}),groupCollapsed:I({},e,{value:D}),groupEnd:I({},e,{value:q})})}$<0&&R("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Ee=O.ReactCurrentDispatcher,Ce;function he(e,a,s){{if(Ce===void 0)try{throw Error()}catch(h){var b=h.stack.trim().match(/\n( *(at )?)/);Ce=b&&b[1]||""}return`
|
|
18
|
+
`+Ce+e}}var ke=!1,_e;{var _r=typeof WeakMap=="function"?WeakMap:Map;_e=new _r}function Ve(e,a){if(!e||ke)return"";{var s=_e.get(e);if(s!==void 0)return s}var b;ke=!0;var h=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var w;w=Ee.current,Ee.current=null,vr();try{if(a){var v=function(){throw Error()};if(Object.defineProperty(v.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(v,[])}catch(z){b=z}Reflect.construct(e,[],v)}else{try{v.call()}catch(z){b=z}e.call(v.prototype)}}else{try{throw Error()}catch(z){b=z}e()}}catch(z){if(z&&b&&typeof z.stack=="string"){for(var y=z.stack.split(`
|
|
19
|
+
`),P=b.stack.split(`
|
|
20
|
+
`),k=y.length-1,T=P.length-1;k>=1&&T>=0&&y[k]!==P[T];)T--;for(;k>=1&&T>=0;k--,T--)if(y[k]!==P[T]){if(k!==1||T!==1)do if(k--,T--,T<0||y[k]!==P[T]){var N=`
|
|
21
|
+
`+y[k].replace(" at new "," at ");return e.displayName&&N.includes("<anonymous>")&&(N=N.replace("<anonymous>",e.displayName)),typeof e=="function"&&_e.set(e,N),N}while(k>=1&&T>=0);break}}}finally{ke=!1,Ee.current=w,hr(),Error.prepareStackTrace=h}var ee=e?e.displayName||e.name:"",J=ee?he(ee):"";return typeof e=="function"&&_e.set(e,J),J}function xr(e,a,s){return Ve(e,!1)}function wr(e){var a=e.prototype;return!!(a&&a.isReactComponent)}function xe(e,a,s){if(e==null)return"";if(typeof e=="function")return Ve(e,wr(e));if(typeof e=="string")return he(e);switch(e){case p:return he("Suspense");case f:return he("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case d:return xr(e.render);case m:return xe(e.type,a,s);case _:{var b=e,h=b._payload,w=b._init;try{return xe(w(h),a,s)}catch{}}}return""}var se=Object.prototype.hasOwnProperty,Fe={},We=O.ReactDebugCurrentFrame;function we(e){if(e){var a=e._owner,s=xe(e.type,e._source,a?a.type:null);We.setExtraStackFrame(s)}else We.setExtraStackFrame(null)}function Rr(e,a,s,b,h){{var w=Function.call.bind(se);for(var v in e)if(w(e,v)){var y=void 0;try{if(typeof e[v]!="function"){var P=Error((b||"React class")+": "+s+" type `"+v+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[v]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw P.name="Invariant Violation",P}y=e[v](a,v,b,s,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(k){y=k}y&&!(y instanceof Error)&&(we(h),R("%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",s,v,typeof y),we(null)),y instanceof Error&&!(y.message in Fe)&&(Fe[y.message]=!0,we(h),R("Failed %s type: %s",s,y.message),we(null))}}}var Er=Array.isArray;function Se(e){return Er(e)}function Cr(e){{var a=typeof Symbol=="function"&&Symbol.toStringTag,s=a&&e[Symbol.toStringTag]||e.constructor.name||"Object";return s}}function kr(e){try{return $e(e),!1}catch{return!0}}function $e(e){return""+e}function Le(e){if(kr(e))return R("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Cr(e)),$e(e)}var le=O.ReactCurrentOwner,Sr={key:!0,ref:!0,__self:!0,__source:!0},De,Ge,Te;Te={};function Tr(e){if(se.call(e,"ref")){var a=Object.getOwnPropertyDescriptor(e,"ref").get;if(a&&a.isReactWarning)return!1}return e.ref!==void 0}function jr(e){if(se.call(e,"key")){var a=Object.getOwnPropertyDescriptor(e,"key").get;if(a&&a.isReactWarning)return!1}return e.key!==void 0}function Or(e,a){if(typeof e.ref=="string"&&le.current&&a&&le.current.stateNode!==a){var s=M(le.current.type);Te[s]||(R('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',M(le.current.type),e.ref),Te[s]=!0)}}function Pr(e,a){{var s=function(){De||(De=!0,R("%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)",a))};s.isReactWarning=!0,Object.defineProperty(e,"key",{get:s,configurable:!0})}}function Ar(e,a){{var s=function(){Ge||(Ge=!0,R("%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)",a))};s.isReactWarning=!0,Object.defineProperty(e,"ref",{get:s,configurable:!0})}}var zr=function(e,a,s,b,h,w,v){var y={$$typeof:t,type:e,key:a,ref:s,props:v,_owner:w};return y._store={},Object.defineProperty(y._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(y,"_self",{configurable:!1,enumerable:!1,writable:!1,value:b}),Object.defineProperty(y,"_source",{configurable:!1,enumerable:!1,writable:!1,value:h}),Object.freeze&&(Object.freeze(y.props),Object.freeze(y)),y};function Mr(e,a,s,b,h){{var w,v={},y=null,P=null;s!==void 0&&(Le(s),y=""+s),jr(a)&&(Le(a.key),y=""+a.key),Tr(a)&&(P=a.ref,Or(a,h));for(w in a)se.call(a,w)&&!Sr.hasOwnProperty(w)&&(v[w]=a[w]);if(e&&e.defaultProps){var k=e.defaultProps;for(w in k)v[w]===void 0&&(v[w]=k[w])}if(y||P){var T=typeof e=="function"?e.displayName||e.name||"Unknown":e;y&&Pr(v,T),P&&Ar(v,T)}return zr(e,y,P,h,b,le.current,v)}}var je=O.ReactCurrentOwner,Be=O.ReactDebugCurrentFrame;function Q(e){if(e){var a=e._owner,s=xe(e.type,e._source,a?a.type:null);Be.setExtraStackFrame(s)}else Be.setExtraStackFrame(null)}var Oe;Oe=!1;function Pe(e){return typeof e=="object"&&e!==null&&e.$$typeof===t}function Ye(){{if(je.current){var e=M(je.current.type);if(e)return`
|
|
22
22
|
|
|
23
|
-
Check the render method of \``+e+"`."}return""}}function
|
|
23
|
+
Check the render method of \``+e+"`."}return""}}function Ir(e){return""}var Ue={};function Nr(e){{var a=Ye();if(!a){var s=typeof e=="string"?e:e.displayName||e.name;s&&(a=`
|
|
24
24
|
|
|
25
|
-
Check the top-level render call using <`+
|
|
25
|
+
Check the top-level render call using <`+s+">.")}return a}}function qe(e,a){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var s=Nr(a);if(Ue[s])return;Ue[s]=!0;var b="";e&&e._owner&&e._owner!==je.current&&(b=" It was passed a child from "+M(e._owner.type)+"."),Q(e),R('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',s,b),Q(null)}}function Je(e,a){{if(typeof e!="object")return;if(Se(e))for(var s=0;s<e.length;s++){var b=e[s];Pe(b)&&qe(b,a)}else if(Pe(e))e._store&&(e._store.validated=!0);else if(e){var h=S(e);if(typeof h=="function"&&h!==e.entries)for(var w=h.call(e),v;!(v=w.next()).done;)Pe(v.value)&&qe(v.value,a)}}}function Vr(e){{var a=e.type;if(a==null||typeof a=="string")return;var s;if(typeof a=="function")s=a.propTypes;else if(typeof a=="object"&&(a.$$typeof===d||a.$$typeof===m))s=a.propTypes;else return;if(s){var b=M(a);Rr(s,e.props,"prop",b,e)}else if(a.PropTypes!==void 0&&!Oe){Oe=!0;var h=M(a);R("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",h||"Unknown")}typeof a.getDefaultProps=="function"&&!a.getDefaultProps.isReactClassApproved&&R("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Fr(e){{for(var a=Object.keys(e.props),s=0;s<a.length;s++){var b=a[s];if(b!=="children"&&b!=="key"){Q(e),R("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",b),Q(null);break}}e.ref!==null&&(Q(e),R("Invalid attribute `ref` supplied to `React.Fragment`."),Q(null))}}var Ke={};function Xe(e,a,s,b,h,w){{var v=ne(e);if(!v){var y="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(y+=" 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 P=Ir();P?y+=P:y+=Ye();var k;e===null?k="null":Se(e)?k="array":e!==void 0&&e.$$typeof===t?(k="<"+(M(e.type)||"Unknown")+" />",y=" Did you accidentally export a JSX literal instead of a component?"):k=typeof e,R("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",k,y)}var T=Mr(e,a,s,h,w);if(T==null)return T;if(v){var N=a.children;if(N!==void 0)if(b)if(Se(N)){for(var ee=0;ee<N.length;ee++)Je(N[ee],e);Object.freeze&&Object.freeze(N)}else R("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 Je(N,e)}if(se.call(a,"key")){var J=M(e),z=Object.keys(a).filter(function(Br){return Br!=="key"}),Ae=z.length>0?"{key: someKey, "+z.join(": ..., ")+": ...}":"{key: someKey}";if(!Ke[J+Ae]){var Gr=z.length>0?"{"+z.join(": ..., ")+": ...}":"{}";R(`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} />`,Pe,B,$r,B),Ke[B+Pe]=!0}}return e===o?Ir(T):Mr(T),T}}function Fr(e,a,i){return Xe(e,a,i,!0)}function Vr(e,a,i){return Xe(e,a,i,!1)}var Wr=Vr,Nr=Fr;se.Fragment=o,se.jsx=Wr,se.jsxs=Nr}()),se}process.env.NODE_ENV==="production"?Oe.exports=Gr():Oe.exports=Yr();var G=Oe.exports;function ar(r){var t,n,o="";if(typeof r=="string"||typeof r=="number")o+=r;else if(typeof r=="object")if(Array.isArray(r))for(t=0;t<r.length;t++)r[t]&&(n=ar(r[t]))&&(o&&(o+=" "),o+=n);else for(t in r)r[t]&&(o&&(o+=" "),o+=t);return o}function Ur(){for(var r,t,n=0,o="";n<arguments.length;)(r=arguments[n++])&&(t=ar(r))&&(o&&(o+=" "),o+=t);return o}const Qe=r=>typeof r=="boolean"?"".concat(r):r===0?"0":r,er=Ur,Me=(r,t)=>n=>{var o;if((t==null?void 0:t.variants)==null)return er(r,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:c,defaultVariants:s}=t,l=Object.keys(c).map(m=>{const f=n==null?void 0:n[m],g=s==null?void 0:s[m];if(f===null)return null;const x=Qe(f)||Qe(g);return c[m][x]}),u=n&&Object.entries(n).reduce((m,f)=>{let[g,x]=f;return x===void 0||(m[g]=x),m},{}),p=t==null||(o=t.compoundVariants)===null||o===void 0?void 0:o.reduce((m,f)=>{let{class:g,className:x,...j}=f;return Object.entries(j).every(F=>{let[C,S]=F;return Array.isArray(S)?S.includes({...s,...u}[C]):{...s,...u}[C]===S})?[...m,g,x]:m},[]);return er(r,l,p,n==null?void 0:n.class,n==null?void 0:n.className)};function ir(r){var t,n,o="";if(typeof r=="string"||typeof r=="number")o+=r;else if(typeof r=="object")if(Array.isArray(r)){var c=r.length;for(t=0;t<c;t++)r[t]&&(n=ir(r[t]))&&(o&&(o+=" "),o+=n)}else for(n in r)r[n]&&(o&&(o+=" "),o+=n);return o}function Br(){for(var r,t,n=0,o="",c=arguments.length;n<c;n++)(r=arguments[n])&&(t=ir(r))&&(o&&(o+=" "),o+=t);return o}const Ie="-";function qr(r){const t=Kr(r),{conflictingClassGroups:n,conflictingClassGroupModifiers:o}=r;function c(l){const u=l.split(Ie);return u[0]===""&&u.length!==1&&u.shift(),sr(u,t)||Jr(l)}function s(l,u){const p=n[l]||[];return u&&o[l]?[...p,...o[l]]:p}return{getClassGroupId:c,getConflictingClassGroupIds:s}}function sr(r,t){var l;if(r.length===0)return t.classGroupId;const n=r[0],o=t.nextPart.get(n),c=o?sr(r.slice(1),o):void 0;if(c)return c;if(t.validators.length===0)return;const s=r.join(Ie);return(l=t.validators.find(({validator:u})=>u(s)))==null?void 0:l.classGroupId}const rr=/^\[(.+)\]$/;function Jr(r){if(rr.test(r)){const t=rr.exec(r)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}}function Kr(r){const{theme:t,prefix:n}=r,o={nextPart:new Map,validators:[]};return Hr(Object.entries(r.classGroups),n).forEach(([s,l])=>{Ae(l,o,s,t)}),o}function Ae(r,t,n,o){r.forEach(c=>{if(typeof c=="string"){const s=c===""?t:tr(t,c);s.classGroupId=n;return}if(typeof c=="function"){if(Xr(c)){Ae(c(o),t,n,o);return}t.validators.push({validator:c,classGroupId:n});return}Object.entries(c).forEach(([s,l])=>{Ae(l,tr(t,s),n,o)})})}function tr(r,t){let n=r;return t.split(Ie).forEach(o=>{n.nextPart.has(o)||n.nextPart.set(o,{nextPart:new Map,validators:[]}),n=n.nextPart.get(o)}),n}function Xr(r){return r.isThemeGetter}function Hr(r,t){return t?r.map(([n,o])=>{const c=o.map(s=>typeof s=="string"?t+s:typeof s=="object"?Object.fromEntries(Object.entries(s).map(([l,u])=>[t+l,u])):s);return[n,c]}):r}function Zr(r){if(r<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,o=new Map;function c(s,l){n.set(s,l),t++,t>r&&(t=0,o=n,n=new Map)}return{get(s){let l=n.get(s);if(l!==void 0)return l;if((l=o.get(s))!==void 0)return c(s,l),l},set(s,l){n.has(s)?n.set(s,l):c(s,l)}}}const lr="!";function Qr(r){const t=r.separator,n=t.length===1,o=t[0],c=t.length;return function(l){const u=[];let p=0,m=0,f;for(let C=0;C<l.length;C++){let S=l[C];if(p===0){if(S===o&&(n||l.slice(C,C+c)===t)){u.push(l.slice(m,C)),m=C+c;continue}if(S==="/"){f=C;continue}}S==="["?p++:S==="]"&&p--}const g=u.length===0?l:l.substring(m),x=g.startsWith(lr),j=x?g.substring(1):g,F=f&&f>m?f-m:void 0;return{modifiers:u,hasImportantModifier:x,baseClassName:j,maybePostfixModifierPosition:F}}}function et(r){if(r.length<=1)return r;const t=[];let n=[];return r.forEach(o=>{o[0]==="["?(t.push(...n.sort(),o),n=[]):n.push(o)}),t.push(...n.sort()),t}function rt(r){return{cache:Zr(r.cacheSize),splitModifiers:Qr(r),...qr(r)}}const tt=/\s+/;function nt(r,t){const{splitModifiers:n,getClassGroupId:o,getConflictingClassGroupIds:c}=t,s=new Set;return r.trim().split(tt).map(l=>{const{modifiers:u,hasImportantModifier:p,baseClassName:m,maybePostfixModifierPosition:f}=n(l);let g=o(f?m.substring(0,f):m),x=!!f;if(!g){if(!f)return{isTailwindClass:!1,originalClassName:l};if(g=o(m),!g)return{isTailwindClass:!1,originalClassName:l};x=!1}const j=et(u).join(":");return{isTailwindClass:!0,modifierId:p?j+lr:j,classGroupId:g,originalClassName:l,hasPostfixModifier:x}}).reverse().filter(l=>{if(!l.isTailwindClass)return!0;const{modifierId:u,classGroupId:p,hasPostfixModifier:m}=l,f=u+p;return s.has(f)?!1:(s.add(f),c(p,m).forEach(g=>s.add(u+g)),!0)}).reverse().map(l=>l.originalClassName).join(" ")}function ot(){let r=0,t,n,o="";for(;r<arguments.length;)(t=arguments[r++])&&(n=cr(t))&&(o&&(o+=" "),o+=n);return o}function cr(r){if(typeof r=="string")return r;let t,n="";for(let o=0;o<r.length;o++)r[o]&&(t=cr(r[o]))&&(n&&(n+=" "),n+=t);return n}function at(r,...t){let n,o,c,s=l;function l(p){const m=t.reduce((f,g)=>g(f),r());return n=rt(m),o=n.cache.get,c=n.cache.set,s=u,u(p)}function u(p){const m=o(p);if(m)return m;const f=nt(p,n);return c(p,f),f}return function(){return s(ot.apply(null,arguments))}}function _(r){const t=n=>n[r]||[];return t.isThemeGetter=!0,t}const ur=/^\[(?:([a-z-]+):)?(.+)\]$/i,it=/^\d+\/\d+$/,st=new Set(["px","full","screen"]),lt=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,ct=/\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$/,ut=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,dt=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,ft=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function V(r){return q(r)||st.has(r)||it.test(r)}function D(r){return Z(r,"length",xt)}function q(r){return!!r&&!Number.isNaN(Number(r))}function we(r){return Z(r,"number",q)}function le(r){return!!r&&Number.isInteger(Number(r))}function pt(r){return r.endsWith("%")&&q(r.slice(0,-1))}function b(r){return ur.test(r)}function L(r){return lt.test(r)}const bt=new Set(["length","size","percentage"]);function mt(r){return Z(r,bt,dr)}function gt(r){return Z(r,"position",dr)}const vt=new Set(["image","url"]);function ht(r){return Z(r,vt,Rt)}function yt(r){return Z(r,"",wt)}function ce(){return!0}function Z(r,t,n){const o=ur.exec(r);return o?o[1]?typeof t=="string"?o[1]===t:t.has(o[1]):n(o[2]):!1}function xt(r){return ct.test(r)&&!ut.test(r)}function dr(){return!1}function wt(r){return dt.test(r)}function Rt(r){return ft.test(r)}function Et(){const r=_("colors"),t=_("spacing"),n=_("blur"),o=_("brightness"),c=_("borderColor"),s=_("borderRadius"),l=_("borderSpacing"),u=_("borderWidth"),p=_("contrast"),m=_("grayscale"),f=_("hueRotate"),g=_("invert"),x=_("gap"),j=_("gradientColorStops"),F=_("gradientColorStopPositions"),C=_("inset"),S=_("margin"),P=_("opacity"),E=_("padding"),fe=_("saturate"),Q=_("scale"),pe=_("sepia"),be=_("skew"),me=_("space"),ge=_("translate"),J=()=>["auto","contain","none"],ee=()=>["auto","hidden","clip","visible","scroll"],re=()=>["auto",b,t],w=()=>[b,t],z=()=>["",V,D],M=()=>["auto",q,b],W=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],Y=()=>["solid","dashed","dotted","double","none"],te=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],K=()=>["start","end","center","between","around","evenly","stretch"],N=()=>["","0",b],ne=()=>["auto","avoid","all","avoid-page","page","left","right","column"],$=()=>[q,we],U=()=>[q,b];return{cacheSize:500,separator:":",theme:{colors:[ce],spacing:[V,D],blur:["none","",L,b],brightness:$(),borderColor:[r],borderRadius:["none","","full",L,b],borderSpacing:w(),borderWidth:z(),contrast:$(),grayscale:N(),hueRotate:U(),invert:N(),gap:w(),gradientColorStops:[r],gradientColorStopPositions:[pt,D],inset:re(),margin:re(),opacity:$(),padding:w(),saturate:$(),scale:$(),sepia:N(),skew:U(),space:w(),translate:w()},classGroups:{aspect:[{aspect:["auto","square","video",b]}],container:["container"],columns:[{columns:[L]}],"break-after":[{"break-after":ne()}],"break-before":[{"break-before":ne()}],"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:[...W(),b]}],overflow:[{overflow:ee()}],"overflow-x":[{"overflow-x":ee()}],"overflow-y":[{"overflow-y":ee()}],overscroll:[{overscroll:J()}],"overscroll-x":[{"overscroll-x":J()}],"overscroll-y":[{"overscroll-y":J()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[C]}],"inset-x":[{"inset-x":[C]}],"inset-y":[{"inset-y":[C]}],start:[{start:[C]}],end:[{end:[C]}],top:[{top:[C]}],right:[{right:[C]}],bottom:[{bottom:[C]}],left:[{left:[C]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",le,b]}],basis:[{basis:re()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",b]}],grow:[{grow:N()}],shrink:[{shrink:N()}],order:[{order:["first","last","none",le,b]}],"grid-cols":[{"grid-cols":[ce]}],"col-start-end":[{col:["auto",{span:["full",le,b]},b]}],"col-start":[{"col-start":M()}],"col-end":[{"col-end":M()}],"grid-rows":[{"grid-rows":[ce]}],"row-start-end":[{row:["auto",{span:[le,b]},b]}],"row-start":[{"row-start":M()}],"row-end":[{"row-end":M()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",b]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",b]}],gap:[{gap:[x]}],"gap-x":[{"gap-x":[x]}],"gap-y":[{"gap-y":[x]}],"justify-content":[{justify:["normal",...K()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...K(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...K(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[E]}],px:[{px:[E]}],py:[{py:[E]}],ps:[{ps:[E]}],pe:[{pe:[E]}],pt:[{pt:[E]}],pr:[{pr:[E]}],pb:[{pb:[E]}],pl:[{pl:[E]}],m:[{m:[S]}],mx:[{mx:[S]}],my:[{my:[S]}],ms:[{ms:[S]}],me:[{me:[S]}],mt:[{mt:[S]}],mr:[{mr:[S]}],mb:[{mb:[S]}],ml:[{ml:[S]}],"space-x":[{"space-x":[me]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[me]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",b,t]}],"min-w":[{"min-w":[b,t,"min","max","fit"]}],"max-w":[{"max-w":[b,t,"none","full","min","max","fit","prose",{screen:[L]},L]}],h:[{h:[b,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[b,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[b,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[b,t,"auto","min","max","fit"]}],"font-size":[{text:["base",L,D]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",we]}],"font-family":[{font:[ce]}],"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",b]}],"line-clamp":[{"line-clamp":["none",q,we]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",V,b]}],"list-image":[{"list-image":["none",b]}],"list-style-type":[{list:["none","disc","decimal",b]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[r]}],"placeholder-opacity":[{"placeholder-opacity":[P]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[r]}],"text-opacity":[{"text-opacity":[P]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Y(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",V,D]}],"underline-offset":[{"underline-offset":["auto",V,b]}],"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:w()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",b]}],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",b]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[P]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...W(),gt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",mt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},ht]}],"bg-color":[{bg:[r]}],"gradient-from-pos":[{from:[F]}],"gradient-via-pos":[{via:[F]}],"gradient-to-pos":[{to:[F]}],"gradient-from":[{from:[j]}],"gradient-via":[{via:[j]}],"gradient-to":[{to:[j]}],rounded:[{rounded:[s]}],"rounded-s":[{"rounded-s":[s]}],"rounded-e":[{"rounded-e":[s]}],"rounded-t":[{"rounded-t":[s]}],"rounded-r":[{"rounded-r":[s]}],"rounded-b":[{"rounded-b":[s]}],"rounded-l":[{"rounded-l":[s]}],"rounded-ss":[{"rounded-ss":[s]}],"rounded-se":[{"rounded-se":[s]}],"rounded-ee":[{"rounded-ee":[s]}],"rounded-es":[{"rounded-es":[s]}],"rounded-tl":[{"rounded-tl":[s]}],"rounded-tr":[{"rounded-tr":[s]}],"rounded-br":[{"rounded-br":[s]}],"rounded-bl":[{"rounded-bl":[s]}],"border-w":[{border:[u]}],"border-w-x":[{"border-x":[u]}],"border-w-y":[{"border-y":[u]}],"border-w-s":[{"border-s":[u]}],"border-w-e":[{"border-e":[u]}],"border-w-t":[{"border-t":[u]}],"border-w-r":[{"border-r":[u]}],"border-w-b":[{"border-b":[u]}],"border-w-l":[{"border-l":[u]}],"border-opacity":[{"border-opacity":[P]}],"border-style":[{border:[...Y(),"hidden"]}],"divide-x":[{"divide-x":[u]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[u]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[P]}],"divide-style":[{divide:Y()}],"border-color":[{border:[c]}],"border-color-x":[{"border-x":[c]}],"border-color-y":[{"border-y":[c]}],"border-color-t":[{"border-t":[c]}],"border-color-r":[{"border-r":[c]}],"border-color-b":[{"border-b":[c]}],"border-color-l":[{"border-l":[c]}],"divide-color":[{divide:[c]}],"outline-style":[{outline:["",...Y()]}],"outline-offset":[{"outline-offset":[V,b]}],"outline-w":[{outline:[V,D]}],"outline-color":[{outline:[r]}],"ring-w":[{ring:z()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[r]}],"ring-opacity":[{"ring-opacity":[P]}],"ring-offset-w":[{"ring-offset":[V,D]}],"ring-offset-color":[{"ring-offset":[r]}],shadow:[{shadow:["","inner","none",L,yt]}],"shadow-color":[{shadow:[ce]}],opacity:[{opacity:[P]}],"mix-blend":[{"mix-blend":[...te(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":te()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[o]}],contrast:[{contrast:[p]}],"drop-shadow":[{"drop-shadow":["","none",L,b]}],grayscale:[{grayscale:[m]}],"hue-rotate":[{"hue-rotate":[f]}],invert:[{invert:[g]}],saturate:[{saturate:[fe]}],sepia:[{sepia:[pe]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[p]}],"backdrop-grayscale":[{"backdrop-grayscale":[m]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[f]}],"backdrop-invert":[{"backdrop-invert":[g]}],"backdrop-opacity":[{"backdrop-opacity":[P]}],"backdrop-saturate":[{"backdrop-saturate":[fe]}],"backdrop-sepia":[{"backdrop-sepia":[pe]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[l]}],"border-spacing-x":[{"border-spacing-x":[l]}],"border-spacing-y":[{"border-spacing-y":[l]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",b]}],duration:[{duration:U()}],ease:[{ease:["linear","in","out","in-out",b]}],delay:[{delay:U()}],animate:[{animate:["none","spin","ping","pulse","bounce",b]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[Q]}],"scale-x":[{"scale-x":[Q]}],"scale-y":[{"scale-y":[Q]}],rotate:[{rotate:[le,b]}],"translate-x":[{"translate-x":[ge]}],"translate-y":[{"translate-y":[ge]}],"skew-x":[{"skew-x":[be]}],"skew-y":[{"skew-y":[be]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",b]}],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",b]}],"caret-color":[{caret:[r]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":w()}],"scroll-mx":[{"scroll-mx":w()}],"scroll-my":[{"scroll-my":w()}],"scroll-ms":[{"scroll-ms":w()}],"scroll-me":[{"scroll-me":w()}],"scroll-mt":[{"scroll-mt":w()}],"scroll-mr":[{"scroll-mr":w()}],"scroll-mb":[{"scroll-mb":w()}],"scroll-ml":[{"scroll-ml":w()}],"scroll-p":[{"scroll-p":w()}],"scroll-px":[{"scroll-px":w()}],"scroll-py":[{"scroll-py":w()}],"scroll-ps":[{"scroll-ps":w()}],"scroll-pe":[{"scroll-pe":w()}],"scroll-pt":[{"scroll-pt":w()}],"scroll-pr":[{"scroll-pr":w()}],"scroll-pb":[{"scroll-pb":w()}],"scroll-pl":[{"scroll-pl":w()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",b]}],fill:[{fill:[r,"none"]}],"stroke-w":[{stroke:[V,D,we]}],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"]}}}const _t=at(Et);function de(...r){return _t(Br(...r))}const nr=Me("inline-flex items-center font-medium justify-center transition-colors disabled:opacity-50 disabled:pointer-events-none",{variants:{variant:{contained:"text-g-neutral-100 bg-wms-primary-500 hover:bg-wms-primary-700",soft:"text-wms-primary-500 bg-wms-primary-50 hover:bg-wms-primary-100",outline:"text-wms-primary-500 border-2 border-wms-primary-500 hover:bg-wms-primary-50",transparent:"text-wms-primary-500 bg-transparent hover:bg-wms-primary-50",link:"text-wms-primary-500 bg-transparent underline-offset-4 hover:underline hover:bg-transparent"},size:{sm:"py-1 px-4 h-8 text-sm",md:"py-2 px-4 h-10 text-base",lg:"py-2 px-4 h-12 text-lg"},rounded:{none:"rounded-none",full:"rounded-full",md:"rounded-md",lg:"rounded-lg"}},defaultVariants:{variant:"contained",size:"sm",rounded:"full"}}),fr=ue.forwardRef(({className:r,children:t,href:n,variant:o,size:c,rounded:s,...l},u)=>n?G.jsx("a",{href:n,className:de(nr({variant:o,size:c,rounded:s,className:r})),children:t}):G.jsx("button",{className:de(nr({variant:o,size:c,rounded:s,className:r})),ref:u,...l,children:t}));fr.displayName="Button";const or=Me("inline-flex items-center font-medium justify-center transition-colors disabled:opacity-50 disabled:pointer-events-none",{variants:{variant:{contained:"text-g-neutral-100 bg-wms-primary-500 hover:bg-wms-primary-700",soft:"text-wms-primary-500 bg-wms-primary-50 hover:bg-wms-primary-100",outline:"text-wms-primary-500 border-2 border-wms-primary-500 hover:bg-wms-primary-50",transparent:"text-wms-primary-500 bg-transparent hover:bg-wms-primary-50",link:"text-wms-primary-500 bg-transparent underline-offset-4 hover:underline hover:bg-transparent"},size:{sm:"px-3 h-8 text-sm",md:"px-3 h-10 text-base",lg:"px-3 h-12 text-lg"},rounded:{full:"rounded-full",none:"rounded-none",md:"rounded-md",lg:"rounded-lg"}},defaultVariants:{variant:"contained",size:"sm",rounded:"full"}}),pr=ue.forwardRef(({className:r,children:t,href:n,variant:o,size:c,rounded:s,startIcon:l,endIcon:u,...p},m)=>{const f=ue.Children.count(t)===1&&ue.isValidElement(t)&&!l&&!u;let g="";if(f)switch(c){case"md":g="h-10 w-10";break;case"lg":g="h-12 w-12";break;case"sm":default:g="h-8 w-8"}const x=G.jsxs(G.Fragment,{children:[l,G.jsx("span",{className:l||u?"mx-2":"",children:t}),u]});return n?G.jsx("a",{href:n,className:de(or({variant:o,size:c,rounded:s}),r,g),children:x}):G.jsx("button",{className:de(or({variant:o,size:c,rounded:s}),r,g),ref:m,...p,children:x})});pr.displayName="IconButton";const Ct=Me("text-body1-r",{variants:{variant:{h1r:"text-h1-r",h1m:"text-h1-m",h1b:"text-h1-b",h2r:"text-h2-r",h2m:"text-h2-m",h2b:"text-h2-b",h3r:"text-h3-r",h3m:"text-h3-m",h3b:"text-h3-b",h4r:"text-h4-r",h4m:"text-h4-m",h4b:"text-h4-b",h5r:"text-h5-r",h5m:"text-h5-m",h5b:"text-h5-b",h6r:"text-h6-r",h6m:"text-h6-m",h6b:"text-h6-b",p1r:"text-p1-r",p1m:"text-p1-m",p1b:"text-p1-b",p2r:"text-p2-r",p2m:"text-p2-m",p2b:"text-p2-b",p3r:"text-p3-r",p3m:"text-p3-m",p3b:"text-p3-b",body1r:"text-body1-r",body1m:"text-body1-m",body1b:"text-body1-b",body2r:"text-body2-r",body2m:"text-body2-m",body2b:"text-body2-b",body3r:"text-body3-r",body3m:"text-body3-m",body3b:"text-body3-b",body4r:"text-body4-r",body4m:"text-body4-m",body4b:"text-body4-b",overliner:"text-overline-r",overlinem:"text-overline-m",overlineb:"text-overline-b"}},defaultVariants:{variant:"body2r"}}),br=ue.forwardRef(({children:r,variant:t,className:n,...o},c)=>G.jsx("p",{className:de(Ct({variant:t,className:n})),...o,children:r}));br.displayName="Typography";exports.Button=fr;exports.IconButton=pr;exports.Typography=br;
|
|
30
|
+
<%s key={someKey} {...props} />`,Ae,J,Gr,J),Ke[J+Ae]=!0}}return e===o?Fr(T):Vr(T),T}}function Wr(e,a,s){return Xe(e,a,s,!0)}function $r(e,a,s){return Xe(e,a,s,!1)}var Lr=$r,Dr=Wr;ue.Fragment=o,ue.jsx=Lr,ue.jsxs=Dr}()),ue}process.env.NODE_ENV==="production"?ze.exports=Ur():ze.exports=qr();var A=ze.exports;function ar(r){var t,n,o="";if(typeof r=="string"||typeof r=="number")o+=r;else if(typeof r=="object")if(Array.isArray(r))for(t=0;t<r.length;t++)r[t]&&(n=ar(r[t]))&&(o&&(o+=" "),o+=n);else for(t in r)r[t]&&(o&&(o+=" "),o+=t);return o}function Jr(){for(var r,t,n=0,o="";n<arguments.length;)(r=arguments[n++])&&(t=ar(r))&&(o&&(o+=" "),o+=t);return o}const Qe=r=>typeof r=="boolean"?"".concat(r):r===0?"0":r,er=Jr,pe=(r,t)=>n=>{var o;if((t==null?void 0:t.variants)==null)return er(r,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:c,defaultVariants:i}=t,l=Object.keys(c).map(p=>{const f=n==null?void 0:n[p],m=i==null?void 0:i[p];if(f===null)return null;const _=Qe(f)||Qe(m);return c[p][_]}),u=n&&Object.entries(n).reduce((p,f)=>{let[m,_]=f;return _===void 0||(p[m]=_),p},{}),d=t==null||(o=t.compoundVariants)===null||o===void 0?void 0:o.reduce((p,f)=>{let{class:m,className:_,...j}=f;return Object.entries(j).every(V=>{let[C,S]=V;return Array.isArray(S)?S.includes({...i,...u}[C]):{...i,...u}[C]===S})?[...p,m,_]:p},[]);return er(r,l,d,n==null?void 0:n.class,n==null?void 0:n.className)};function ir(r){var t,n,o="";if(typeof r=="string"||typeof r=="number")o+=r;else if(typeof r=="object")if(Array.isArray(r)){var c=r.length;for(t=0;t<c;t++)r[t]&&(n=ir(r[t]))&&(o&&(o+=" "),o+=n)}else for(n in r)r[n]&&(o&&(o+=" "),o+=n);return o}function Kr(){for(var r,t,n=0,o="",c=arguments.length;n<c;n++)(r=arguments[n])&&(t=ir(r))&&(o&&(o+=" "),o+=t);return o}const Ie="-";function Xr(r){const t=Zr(r),{conflictingClassGroups:n,conflictingClassGroupModifiers:o}=r;function c(l){const u=l.split(Ie);return u[0]===""&&u.length!==1&&u.shift(),sr(u,t)||Hr(l)}function i(l,u){const d=n[l]||[];return u&&o[l]?[...d,...o[l]]:d}return{getClassGroupId:c,getConflictingClassGroupIds:i}}function sr(r,t){var l;if(r.length===0)return t.classGroupId;const n=r[0],o=t.nextPart.get(n),c=o?sr(r.slice(1),o):void 0;if(c)return c;if(t.validators.length===0)return;const i=r.join(Ie);return(l=t.validators.find(({validator:u})=>u(i)))==null?void 0:l.classGroupId}const rr=/^\[(.+)\]$/;function Hr(r){if(rr.test(r)){const t=rr.exec(r)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}}function Zr(r){const{theme:t,prefix:n}=r,o={nextPart:new Map,validators:[]};return et(Object.entries(r.classGroups),n).forEach(([i,l])=>{Me(l,o,i,t)}),o}function Me(r,t,n,o){r.forEach(c=>{if(typeof c=="string"){const i=c===""?t:tr(t,c);i.classGroupId=n;return}if(typeof c=="function"){if(Qr(c)){Me(c(o),t,n,o);return}t.validators.push({validator:c,classGroupId:n});return}Object.entries(c).forEach(([i,l])=>{Me(l,tr(t,i),n,o)})})}function tr(r,t){let n=r;return t.split(Ie).forEach(o=>{n.nextPart.has(o)||n.nextPart.set(o,{nextPart:new Map,validators:[]}),n=n.nextPart.get(o)}),n}function Qr(r){return r.isThemeGetter}function et(r,t){return t?r.map(([n,o])=>{const c=o.map(i=>typeof i=="string"?t+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(([l,u])=>[t+l,u])):i);return[n,c]}):r}function rt(r){if(r<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,o=new Map;function c(i,l){n.set(i,l),t++,t>r&&(t=0,o=n,n=new Map)}return{get(i){let l=n.get(i);if(l!==void 0)return l;if((l=o.get(i))!==void 0)return c(i,l),l},set(i,l){n.has(i)?n.set(i,l):c(i,l)}}}const lr="!";function tt(r){const t=r.separator,n=t.length===1,o=t[0],c=t.length;return function(l){const u=[];let d=0,p=0,f;for(let C=0;C<l.length;C++){let S=l[C];if(d===0){if(S===o&&(n||l.slice(C,C+c)===t)){u.push(l.slice(p,C)),p=C+c;continue}if(S==="/"){f=C;continue}}S==="["?d++:S==="]"&&d--}const m=u.length===0?l:l.substring(p),_=m.startsWith(lr),j=_?m.substring(1):m,V=f&&f>p?f-p:void 0;return{modifiers:u,hasImportantModifier:_,baseClassName:j,maybePostfixModifierPosition:V}}}function nt(r){if(r.length<=1)return r;const t=[];let n=[];return r.forEach(o=>{o[0]==="["?(t.push(...n.sort(),o),n=[]):n.push(o)}),t.push(...n.sort()),t}function ot(r){return{cache:rt(r.cacheSize),splitModifiers:tt(r),...Xr(r)}}const at=/\s+/;function it(r,t){const{splitModifiers:n,getClassGroupId:o,getConflictingClassGroupIds:c}=t,i=new Set;return r.trim().split(at).map(l=>{const{modifiers:u,hasImportantModifier:d,baseClassName:p,maybePostfixModifierPosition:f}=n(l);let m=o(f?p.substring(0,f):p),_=!!f;if(!m){if(!f)return{isTailwindClass:!1,originalClassName:l};if(m=o(p),!m)return{isTailwindClass:!1,originalClassName:l};_=!1}const j=nt(u).join(":");return{isTailwindClass:!0,modifierId:d?j+lr:j,classGroupId:m,originalClassName:l,hasPostfixModifier:_}}).reverse().filter(l=>{if(!l.isTailwindClass)return!0;const{modifierId:u,classGroupId:d,hasPostfixModifier:p}=l,f=u+d;return i.has(f)?!1:(i.add(f),c(d,p).forEach(m=>i.add(u+m)),!0)}).reverse().map(l=>l.originalClassName).join(" ")}function st(){let r=0,t,n,o="";for(;r<arguments.length;)(t=arguments[r++])&&(n=cr(t))&&(o&&(o+=" "),o+=n);return o}function cr(r){if(typeof r=="string")return r;let t,n="";for(let o=0;o<r.length;o++)r[o]&&(t=cr(r[o]))&&(n&&(n+=" "),n+=t);return n}function lt(r,...t){let n,o,c,i=l;function l(d){const p=t.reduce((f,m)=>m(f),r());return n=ot(p),o=n.cache.get,c=n.cache.set,i=u,u(d)}function u(d){const p=o(d);if(p)return p;const f=it(d,n);return c(d,f),f}return function(){return i(st.apply(null,arguments))}}function E(r){const t=n=>n[r]||[];return t.isThemeGetter=!0,t}const ur=/^\[(?:([a-z-]+):)?(.+)\]$/i,ct=/^\d+\/\d+$/,ut=new Set(["px","full","screen"]),dt=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,ft=/\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$/,pt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,bt=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,gt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function F(r){return K(r)||ut.has(r)||ct.test(r)}function G(r){return re(r,"length",Rt)}function K(r){return!!r&&!Number.isNaN(Number(r))}function Re(r){return re(r,"number",K)}function de(r){return!!r&&Number.isInteger(Number(r))}function mt(r){return r.endsWith("%")&&K(r.slice(0,-1))}function g(r){return ur.test(r)}function B(r){return dt.test(r)}const yt=new Set(["length","size","percentage"]);function vt(r){return re(r,yt,dr)}function ht(r){return re(r,"position",dr)}const _t=new Set(["image","url"]);function xt(r){return re(r,_t,Ct)}function wt(r){return re(r,"",Et)}function fe(){return!0}function re(r,t,n){const o=ur.exec(r);return o?o[1]?typeof t=="string"?o[1]===t:t.has(o[1]):n(o[2]):!1}function Rt(r){return ft.test(r)&&!pt.test(r)}function dr(){return!1}function Et(r){return bt.test(r)}function Ct(r){return gt.test(r)}function kt(){const r=E("colors"),t=E("spacing"),n=E("blur"),o=E("brightness"),c=E("borderColor"),i=E("borderRadius"),l=E("borderSpacing"),u=E("borderWidth"),d=E("contrast"),p=E("grayscale"),f=E("hueRotate"),m=E("invert"),_=E("gap"),j=E("gradientColorStops"),V=E("gradientColorStopPositions"),C=E("inset"),S=E("margin"),O=E("opacity"),R=E("padding"),be=E("saturate"),te=E("scale"),ge=E("sepia"),me=E("skew"),ye=E("space"),ve=E("translate"),H=()=>["auto","contain","none"],ne=()=>["auto","hidden","clip","visible","scroll"],oe=()=>["auto",g,t],x=()=>[g,t],M=()=>["",F,G],I=()=>["auto",K,g],$=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],U=()=>["solid","dashed","dotted","double","none"],ae=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Z=()=>["start","end","center","between","around","evenly","stretch"],L=()=>["","0",g],ie=()=>["auto","avoid","all","avoid-page","page","left","right","column"],D=()=>[K,Re],q=()=>[K,g];return{cacheSize:500,separator:":",theme:{colors:[fe],spacing:[F,G],blur:["none","",B,g],brightness:D(),borderColor:[r],borderRadius:["none","","full",B,g],borderSpacing:x(),borderWidth:M(),contrast:D(),grayscale:L(),hueRotate:q(),invert:L(),gap:x(),gradientColorStops:[r],gradientColorStopPositions:[mt,G],inset:oe(),margin:oe(),opacity:D(),padding:x(),saturate:D(),scale:D(),sepia:L(),skew:q(),space:x(),translate:x()},classGroups:{aspect:[{aspect:["auto","square","video",g]}],container:["container"],columns:[{columns:[B]}],"break-after":[{"break-after":ie()}],"break-before":[{"break-before":ie()}],"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:[...$(),g]}],overflow:[{overflow:ne()}],"overflow-x":[{"overflow-x":ne()}],"overflow-y":[{"overflow-y":ne()}],overscroll:[{overscroll:H()}],"overscroll-x":[{"overscroll-x":H()}],"overscroll-y":[{"overscroll-y":H()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[C]}],"inset-x":[{"inset-x":[C]}],"inset-y":[{"inset-y":[C]}],start:[{start:[C]}],end:[{end:[C]}],top:[{top:[C]}],right:[{right:[C]}],bottom:[{bottom:[C]}],left:[{left:[C]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",de,g]}],basis:[{basis:oe()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",g]}],grow:[{grow:L()}],shrink:[{shrink:L()}],order:[{order:["first","last","none",de,g]}],"grid-cols":[{"grid-cols":[fe]}],"col-start-end":[{col:["auto",{span:["full",de,g]},g]}],"col-start":[{"col-start":I()}],"col-end":[{"col-end":I()}],"grid-rows":[{"grid-rows":[fe]}],"row-start-end":[{row:["auto",{span:[de,g]},g]}],"row-start":[{"row-start":I()}],"row-end":[{"row-end":I()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",g]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",g]}],gap:[{gap:[_]}],"gap-x":[{"gap-x":[_]}],"gap-y":[{"gap-y":[_]}],"justify-content":[{justify:["normal",...Z()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...Z(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...Z(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[R]}],px:[{px:[R]}],py:[{py:[R]}],ps:[{ps:[R]}],pe:[{pe:[R]}],pt:[{pt:[R]}],pr:[{pr:[R]}],pb:[{pb:[R]}],pl:[{pl:[R]}],m:[{m:[S]}],mx:[{mx:[S]}],my:[{my:[S]}],ms:[{ms:[S]}],me:[{me:[S]}],mt:[{mt:[S]}],mr:[{mr:[S]}],mb:[{mb:[S]}],ml:[{ml:[S]}],"space-x":[{"space-x":[ye]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[ye]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",g,t]}],"min-w":[{"min-w":[g,t,"min","max","fit"]}],"max-w":[{"max-w":[g,t,"none","full","min","max","fit","prose",{screen:[B]},B]}],h:[{h:[g,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[g,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[g,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[g,t,"auto","min","max","fit"]}],"font-size":[{text:["base",B,G]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Re]}],"font-family":[{font:[fe]}],"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",g]}],"line-clamp":[{"line-clamp":["none",K,Re]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",F,g]}],"list-image":[{"list-image":["none",g]}],"list-style-type":[{list:["none","disc","decimal",g]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[r]}],"placeholder-opacity":[{"placeholder-opacity":[O]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[r]}],"text-opacity":[{"text-opacity":[O]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...U(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",F,G]}],"underline-offset":[{"underline-offset":["auto",F,g]}],"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:x()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",g]}],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",g]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[O]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...$(),ht]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",vt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},xt]}],"bg-color":[{bg:[r]}],"gradient-from-pos":[{from:[V]}],"gradient-via-pos":[{via:[V]}],"gradient-to-pos":[{to:[V]}],"gradient-from":[{from:[j]}],"gradient-via":[{via:[j]}],"gradient-to":[{to:[j]}],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:[u]}],"border-w-x":[{"border-x":[u]}],"border-w-y":[{"border-y":[u]}],"border-w-s":[{"border-s":[u]}],"border-w-e":[{"border-e":[u]}],"border-w-t":[{"border-t":[u]}],"border-w-r":[{"border-r":[u]}],"border-w-b":[{"border-b":[u]}],"border-w-l":[{"border-l":[u]}],"border-opacity":[{"border-opacity":[O]}],"border-style":[{border:[...U(),"hidden"]}],"divide-x":[{"divide-x":[u]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[u]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[O]}],"divide-style":[{divide:U()}],"border-color":[{border:[c]}],"border-color-x":[{"border-x":[c]}],"border-color-y":[{"border-y":[c]}],"border-color-t":[{"border-t":[c]}],"border-color-r":[{"border-r":[c]}],"border-color-b":[{"border-b":[c]}],"border-color-l":[{"border-l":[c]}],"divide-color":[{divide:[c]}],"outline-style":[{outline:["",...U()]}],"outline-offset":[{"outline-offset":[F,g]}],"outline-w":[{outline:[F,G]}],"outline-color":[{outline:[r]}],"ring-w":[{ring:M()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[r]}],"ring-opacity":[{"ring-opacity":[O]}],"ring-offset-w":[{"ring-offset":[F,G]}],"ring-offset-color":[{"ring-offset":[r]}],shadow:[{shadow:["","inner","none",B,wt]}],"shadow-color":[{shadow:[fe]}],opacity:[{opacity:[O]}],"mix-blend":[{"mix-blend":[...ae(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":ae()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[o]}],contrast:[{contrast:[d]}],"drop-shadow":[{"drop-shadow":["","none",B,g]}],grayscale:[{grayscale:[p]}],"hue-rotate":[{"hue-rotate":[f]}],invert:[{invert:[m]}],saturate:[{saturate:[be]}],sepia:[{sepia:[ge]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[d]}],"backdrop-grayscale":[{"backdrop-grayscale":[p]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[f]}],"backdrop-invert":[{"backdrop-invert":[m]}],"backdrop-opacity":[{"backdrop-opacity":[O]}],"backdrop-saturate":[{"backdrop-saturate":[be]}],"backdrop-sepia":[{"backdrop-sepia":[ge]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[l]}],"border-spacing-x":[{"border-spacing-x":[l]}],"border-spacing-y":[{"border-spacing-y":[l]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",g]}],duration:[{duration:q()}],ease:[{ease:["linear","in","out","in-out",g]}],delay:[{delay:q()}],animate:[{animate:["none","spin","ping","pulse","bounce",g]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[te]}],"scale-x":[{"scale-x":[te]}],"scale-y":[{"scale-y":[te]}],rotate:[{rotate:[de,g]}],"translate-x":[{"translate-x":[ve]}],"translate-y":[{"translate-y":[ve]}],"skew-x":[{"skew-x":[me]}],"skew-y":[{"skew-y":[me]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",g]}],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",g]}],"caret-color":[{caret:[r]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":x()}],"scroll-mx":[{"scroll-mx":x()}],"scroll-my":[{"scroll-my":x()}],"scroll-ms":[{"scroll-ms":x()}],"scroll-me":[{"scroll-me":x()}],"scroll-mt":[{"scroll-mt":x()}],"scroll-mr":[{"scroll-mr":x()}],"scroll-mb":[{"scroll-mb":x()}],"scroll-ml":[{"scroll-ml":x()}],"scroll-p":[{"scroll-p":x()}],"scroll-px":[{"scroll-px":x()}],"scroll-py":[{"scroll-py":x()}],"scroll-ps":[{"scroll-ps":x()}],"scroll-pe":[{"scroll-pe":x()}],"scroll-pt":[{"scroll-pt":x()}],"scroll-pr":[{"scroll-pr":x()}],"scroll-pb":[{"scroll-pb":x()}],"scroll-pl":[{"scroll-pl":x()}],"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",g]}],fill:[{fill:[r,"none"]}],"stroke-w":[{stroke:[F,G,Re]}],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"]}}}const St=lt(kt);function X(...r){return St(Kr(...r))}const nr=pe("btn",{variants:{variant:{contained:"btn__contained",outlined:"btn__outlined",soft:"btn__soft",transparent:"btn__transparent",link:"btn__link"},size:{sm:"btn--sm",md:"btn--md",lg:"btn--lg"},rounded:{none:"btn--rounded-none",full:"btn--rounded-full",sm:"btn--rounded-sm",md:"btn--rounded-md",lg:"btn--rounded-lg"}},defaultVariants:{variant:"contained",size:"sm",rounded:"full"}}),fr=Y.forwardRef(({className:r,children:t,href:n,variant:o,size:c,rounded:i,...l},u)=>n?A.jsx("a",{href:n,className:X(nr({variant:o,size:c,rounded:i,className:r})),children:t}):A.jsx("button",{className:X(nr({variant:o,size:c,rounded:i,className:r})),ref:u,...l,children:t}));fr.displayName="Button";const Tt=pe("badge",{variants:{variant:{contained:"",soft:""},color:{primary:"",blue:"",green:"",yellow:"",orange:"",red:"",purple:"",gray:"",cyan:""},size:{sm:"badge--sm",md:"badge--md",lg:"badge--lg"}},defaultVariants:{variant:"contained",size:"sm",color:"primary"}}),jt={contained:{primary:"badge__contained--primary",blue:"badge__contained--blue",green:"badge__contained--green",yellow:"badge__contained--yellow",orange:"badge__contained--orange",red:"badge__contained--red",purple:"badge__contained--purple",gray:"badge__contained--gray",cyan:"badge__contained--cyan"},soft:{primary:"badge__soft--primary",blue:"badge__soft--blue",green:"badge__soft--green",yellow:"badge__soft--yellow",orange:"badge__soft--orange",red:"badge__soft--red",purple:"badge__soft--purple",gray:"badge__soft--gray",cyan:"badge__soft--cyan"}},pr=Y.forwardRef(({className:r,children:t,variant:n,size:o,color:c,startIcon:i,endIcon:l},u)=>{const d=Y.Children.count(t)===1&&Y.isValidElement(t)&&!i&&!l;let p="";if(d)switch(o){case"md":p="badge__icon--md";break;case"lg":p="badge__icon--lg";break;case"sm":default:p="badge__icon--sm"}const f=A.jsxs(A.Fragment,{children:[i,A.jsx("span",{className:i||l?"mx-2":"",children:t}),l]}),m=jt[n||"contained"][c||"primary"];return A.jsx("div",{ref:u,className:X(Tt({variant:n,size:o,color:c}),m,r,p),children:f})});pr.displayName="Badge";const or=pe("btn",{variants:{variant:{contained:"btn__contained",outlined:"btn__outlined",soft:"btn__soft",transparent:"btn__transparent",link:"btn__link"},size:{sm:"btn--sm",md:"btn--md",lg:"btn--lg"},rounded:{full:"btn--rounded-full",none:"btn--rounded-none",sm:"btn--rounded-sm",md:"btn--rounded-md",lg:"btn--rounded-lg"}},defaultVariants:{variant:"contained",size:"sm",rounded:"full"}}),br=Y.forwardRef(({className:r,children:t,href:n,variant:o,size:c,rounded:i,startIcon:l,endIcon:u,...d},p)=>{const f=Y.Children.count(t)===1&&Y.isValidElement(t)&&!l&&!u;let m="";if(f)switch(c){case"md":m="btn__icon--md";break;case"lg":m="btn__icon--lg";break;case"sm":default:m="btn__icon--sm"}const _=A.jsxs(A.Fragment,{children:[l,A.jsx("span",{className:l||u?"mx-2":"",children:t}),u]});return n?A.jsx("a",{href:n,className:X(or({variant:o,size:c,rounded:i}),r,m),children:_}):A.jsx("button",{className:X(or({variant:o,size:c,rounded:i}),r,m),ref:p,...d,children:_})});br.displayName="IconButton";const Ot=pe("text-body1-r",{variants:{variant:{h1r:"typo__text-h1--regular",h1m:"typo__text-h1--medium",h1b:"typo__text-h1--bold",h2r:"typo__text-h2--regular",h2m:"typo__text-h2--medium",h2b:"typo__text-h2--bold",h3r:"typo__text-h3--regular",h3m:"typo__text-h3--medium",h3b:"typo__text-h3--bold",h4r:"typo__text-h4--regular",h4m:"typo__text-h4--medium",h4b:"typo__text-h4--bold",h5r:"typo__text-h5--regular",h5m:"typo__text-h5--medium",h5b:"typo__text-h5--bold",h6r:"typo__text-h6--regular",h6m:"typo__text-h6--medium",h6b:"typo__text-h6--bold",body1r:"typo__text-body1--regular",body1m:"typo__text-body1--medium",body1b:"typo__text-body1--bold",body2r:"typo__text-body2--regular",body2m:"typo__text-body2--medium",body2b:"typo__text-body2--bold",body3r:"typo__text-body3--regular",body3m:"typo__text-body3--medium",body3b:"typo__text-body3--bold",body4r:"typo__text-body4--regular",body4m:"typo__text-body4--medium",body4b:"typo__text-body4--bold",p1r:"typo__text-p1--regular",p1m:"typo__text-p1--medium",p1b:"typo__text-p1--bold",p2r:"typo__text-p2--regular",p2m:"typo__text-p2--medium",p2b:"typo__text-p2--bold",p3r:"typo__text-p3--regular",p3m:"typo__text-p3--medium",p3b:"typo__text-p3--bold",overliner:"typo__text-overline--regular",overlinem:"typo__text-overline--medium",overlineb:"typo__text-overline--bold"},textStyle:{normal:"",italic:"typo__type--italic",underline:"typo__type--underline"}},defaultVariants:{variant:"body2r",textStyle:"normal"}}),gr=Y.forwardRef(({children:r,variant:t,textStyle:n,className:o,...c},i)=>A.jsx("p",{className:X(Ot({variant:t,textStyle:n,className:o})),...c,children:r}));gr.displayName="Typography";/**
|
|
31
|
+
* @license lucide-react v0.379.0 - ISC
|
|
32
|
+
*
|
|
33
|
+
* This source code is licensed under the ISC license.
|
|
34
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
35
|
+
*/const Pt=r=>r.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),mr=(...r)=>r.filter((t,n,o)=>!!t&&o.indexOf(t)===n).join(" ");/**
|
|
36
|
+
* @license lucide-react v0.379.0 - ISC
|
|
37
|
+
*
|
|
38
|
+
* This source code is licensed under the ISC license.
|
|
39
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
40
|
+
*/var At={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
|
|
41
|
+
* @license lucide-react v0.379.0 - ISC
|
|
42
|
+
*
|
|
43
|
+
* This source code is licensed under the ISC license.
|
|
44
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
45
|
+
*/const zt=W.forwardRef(({color:r="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:o,className:c="",children:i,iconNode:l,...u},d)=>W.createElement("svg",{ref:d,...At,width:t,height:t,stroke:r,strokeWidth:o?Number(n)*24/Number(t):n,className:mr("lucide",c),...u},[...l.map(([p,f])=>W.createElement(p,f)),...Array.isArray(i)?i:[i]]));/**
|
|
46
|
+
* @license lucide-react v0.379.0 - ISC
|
|
47
|
+
*
|
|
48
|
+
* This source code is licensed under the ISC license.
|
|
49
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
50
|
+
*/const Mt=(r,t)=>{const n=W.forwardRef(({className:o,...c},i)=>W.createElement(zt,{ref:i,iconNode:t,className:mr(`lucide-${Pt(r)}`,o),...c}));return n.displayName=`${r}`,n};/**
|
|
51
|
+
* @license lucide-react v0.379.0 - ISC
|
|
52
|
+
*
|
|
53
|
+
* This source code is licensed under the ISC license.
|
|
54
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
55
|
+
*/const It=Mt("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]),Nt=pe("sidebar-menu__item",{variants:{size:{sm:"sidebar-menu__item--size-sm",md:"sidebar-menu__item--size-md",lg:"sidebar-menu__item--size-lg"},active:{yes:"sidebar-menu__item--active",no:"sidebar-menu__item--inactive"},iconLeft:{true:"sidebar-menu__icon--left",false:""},iconRight:{true:"sidebar-menu__icon--right",false:""}},defaultVariants:{size:"md",active:"no",iconLeft:!1,iconRight:!1}}),yr=W.forwardRef(({className:r,parent:t=!1,size:n,active:o,iconLeft:c,iconRight:i,startIcon:l,...u},d)=>A.jsxs("button",{ref:d,className:X(Nt({size:n,active:o,iconLeft:c,iconRight:i}),r),...u,children:[A.jsx("span",{className:"sidebar-menu__label",children:u.children}),t&&A.jsx(It,{className:"ml-auto"})]}));yr.displayName="SidebarMenuItem";exports.Badge=pr;exports.Button=fr;exports.IconButton=br;exports.SidebarMenuItem=yr;exports.Typography=gr;
|
|
31
56
|
//# sourceMappingURL=index.cjs.js.map
|