@takecasper/acuity-design-system 1.3.0 → 1.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -2
- package/dist/assets/index.css +1 -1
- package/dist/index.cjs.js +9 -9
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +7 -7
- package/dist/index.es.js +357 -339
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var
|
|
1
|
+
var qt=require("./assets/index.css");Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const ir=require("react");var Ie={exports:{}},ue={};/**
|
|
2
2
|
* @license React
|
|
3
3
|
* react-jsx-runtime.production.min.js
|
|
4
4
|
*
|
|
@@ -6,7 +6,7 @@ var Bt=require("./assets/index.css");Object.defineProperty(exports,Symbol.toStri
|
|
|
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 Qe;function
|
|
9
|
+
*/var Qe;function $r(){if(Qe)return ue;Qe=1;var r=ir,t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),s=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,p,b){var g,x={},k=null,P=null;b!==void 0&&(k=""+b),p.key!==void 0&&(k=""+p.key),p.ref!==void 0&&(P=p.ref);for(g in p)s.call(p,g)&&!i.hasOwnProperty(g)&&(x[g]=p[g]);if(u&&u.defaultProps)for(g in p=u.defaultProps,p)x[g]===void 0&&(x[g]=p[g]);return{$$typeof:t,type:u,key:k,ref:P,props:x,_owner:c.current}}return ue.Fragment=n,ue.jsx=l,ue.jsxs=l,ue}var de={};/**
|
|
10
10
|
* @license React
|
|
11
11
|
* react-jsx-runtime.development.js
|
|
12
12
|
*
|
|
@@ -14,15 +14,15 @@ var Bt=require("./assets/index.css");Object.defineProperty(exports,Symbol.toStri
|
|
|
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 er;function
|
|
18
|
-
`+Te+e}}var Se=!1,
|
|
17
|
+
*/var er;function Vr(){return er||(er=1,process.env.NODE_ENV!=="production"&&function(){var r=ir,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),s=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"),p=Symbol.for("react.forward_ref"),b=Symbol.for("react.suspense"),g=Symbol.for("react.suspense_list"),x=Symbol.for("react.memo"),k=Symbol.for("react.lazy"),P=Symbol.for("react.offscreen"),N=Symbol.iterator,R="@@iterator";function T(e){if(e===null||typeof e!="object")return null;var o=N&&e[N]||e[R];return typeof o=="function"?o:null}var L=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function j(e){{for(var o=arguments.length,a=new Array(o>1?o-1:0),f=1;f<o;f++)a[f-1]=arguments[f];ge("error",e,a)}}function ge(e,o,a){{var f=L.ReactDebugCurrentFrame,y=f.getStackAddendum();y!==""&&(o+="%s",a=a.concat([y]));var C=a.map(function(v){return String(v)});C.unshift("Warning: "+o),Function.prototype.apply.call(console[e],console,C)}}var oe=!1,be=!1,me=!1,he=!1,ve=!1,Z;Z=Symbol.for("react.module.reference");function se(e){return!!(typeof e=="string"||typeof e=="function"||e===s||e===i||ve||e===c||e===b||e===g||he||e===P||oe||be||me||typeof e=="object"&&e!==null&&(e.$$typeof===k||e.$$typeof===x||e.$$typeof===l||e.$$typeof===u||e.$$typeof===p||e.$$typeof===Z||e.getModuleId!==void 0))}function ae(e,o,a){var f=e.displayName;if(f)return f;var y=o.displayName||o.name||"";return y!==""?a+"("+y+")":a}function w(e){return e.displayName||"Context"}function O(e){if(e==null)return null;if(typeof e.tag=="number"&&j("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case s:return"Fragment";case n:return"Portal";case i:return"Profiler";case c:return"StrictMode";case b:return"Suspense";case g:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case u:var o=e;return w(o)+".Consumer";case l:var a=e;return w(a._context)+".Provider";case p:return ae(e,e.render,"ForwardRef");case x:var f=e.displayName||null;return f!==null?f:O(e.type)||"Memo";case k:{var y=e,C=y._payload,v=y._init;try{return O(v(C))}catch{return null}}}return null}var M=Object.assign,$=0,U,ie,J,V,le,F,Y;function ze(){}ze.__reactDisabledLog=!0;function gr(){{if($===0){U=console.log,ie=console.info,J=console.warn,V=console.error,le=console.group,F=console.groupCollapsed,Y=console.groupEnd;var e={configurable:!0,enumerable:!0,value:ze,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}$++}}function br(){{if($--,$===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:M({},e,{value:U}),info:M({},e,{value:ie}),warn:M({},e,{value:J}),error:M({},e,{value:V}),group:M({},e,{value:le}),groupCollapsed:M({},e,{value:F}),groupEnd:M({},e,{value:Y})})}$<0&&j("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var _e=L.ReactCurrentDispatcher,Te;function xe(e,o,a){{if(Te===void 0)try{throw Error()}catch(y){var f=y.stack.trim().match(/\n( *(at )?)/);Te=f&&f[1]||""}return`
|
|
18
|
+
`+Te+e}}var Se=!1,ye;{var mr=typeof WeakMap=="function"?WeakMap:Map;ye=new mr}function $e(e,o){if(!e||Se)return"";{var a=ye.get(e);if(a!==void 0)return a}var f;Se=!0;var y=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var C;C=_e.current,_e.current=null,gr();try{if(o){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(W){f=W}Reflect.construct(e,[],v)}else{try{v.call()}catch(W){f=W}e.call(v.prototype)}}else{try{throw Error()}catch(W){f=W}e()}}catch(W){if(W&&f&&typeof W.stack=="string"){for(var h=W.stack.split(`
|
|
19
19
|
`),A=f.stack.split(`
|
|
20
|
-
`),_=
|
|
21
|
-
`+
|
|
20
|
+
`),_=h.length-1,S=A.length-1;_>=1&&S>=0&&h[_]!==A[S];)S--;for(;_>=1&&S>=0;_--,S--)if(h[_]!==A[S]){if(_!==1||S!==1)do if(_--,S--,S<0||h[_]!==A[S]){var I=`
|
|
21
|
+
`+h[_].replace(" at new "," at ");return e.displayName&&I.includes("<anonymous>")&&(I=I.replace("<anonymous>",e.displayName)),typeof e=="function"&&ye.set(e,I),I}while(_>=1&&S>=0);break}}}finally{Se=!1,_e.current=C,br(),Error.prepareStackTrace=y}var X=e?e.displayName||e.name:"",Xe=X?xe(X):"";return typeof e=="function"&&ye.set(e,Xe),Xe}function hr(e,o,a){return $e(e,!1)}function vr(e){var o=e.prototype;return!!(o&&o.isReactComponent)}function we(e,o,a){if(e==null)return"";if(typeof e=="function")return $e(e,vr(e));if(typeof e=="string")return xe(e);switch(e){case b:return xe("Suspense");case g:return xe("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case p:return hr(e.render);case x:return we(e.type,o,a);case k:{var f=e,y=f._payload,C=f._init;try{return we(C(y),o,a)}catch{}}}return""}var Ce=Object.prototype.hasOwnProperty,Ve={},Fe=L.ReactDebugCurrentFrame;function ke(e){if(e){var o=e._owner,a=we(e.type,e._source,o?o.type:null);Fe.setExtraStackFrame(a)}else Fe.setExtraStackFrame(null)}function xr(e,o,a,f,y){{var C=Function.call.bind(Ce);for(var v in e)if(C(e,v)){var h=void 0;try{if(typeof e[v]!="function"){var A=Error((f||"React class")+": "+a+" 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 A.name="Invariant Violation",A}h=e[v](o,v,f,a,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(_){h=_}h&&!(h instanceof Error)&&(ke(y),j("%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).",f||"React class",a,v,typeof h),ke(null)),h instanceof Error&&!(h.message in Ve)&&(Ve[h.message]=!0,ke(y),j("Failed %s type: %s",a,h.message),ke(null))}}}var yr=Array.isArray;function Pe(e){return yr(e)}function wr(e){{var o=typeof Symbol=="function"&&Symbol.toStringTag,a=o&&e[Symbol.toStringTag]||e.constructor.name||"Object";return a}}function Cr(e){try{return Ge(e),!1}catch{return!0}}function Ge(e){return""+e}function De(e){if(Cr(e))return j("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",wr(e)),Ge(e)}var ce=L.ReactCurrentOwner,kr={key:!0,ref:!0,__self:!0,__source:!0},Be,Ue,Le;Le={};function jr(e){if(Ce.call(e,"ref")){var o=Object.getOwnPropertyDescriptor(e,"ref").get;if(o&&o.isReactWarning)return!1}return e.ref!==void 0}function Er(e){if(Ce.call(e,"key")){var o=Object.getOwnPropertyDescriptor(e,"key").get;if(o&&o.isReactWarning)return!1}return e.key!==void 0}function Rr(e,o){if(typeof e.ref=="string"&&ce.current&&o&&ce.current.stateNode!==o){var a=O(ce.current.type);Le[a]||(j('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',O(ce.current.type),e.ref),Le[a]=!0)}}function _r(e,o){{var a=function(){Be||(Be=!0,j("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",o))};a.isReactWarning=!0,Object.defineProperty(e,"key",{get:a,configurable:!0})}}function Tr(e,o){{var a=function(){Ue||(Ue=!0,j("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",o))};a.isReactWarning=!0,Object.defineProperty(e,"ref",{get:a,configurable:!0})}}var Sr=function(e,o,a,f,y,C,v){var h={$$typeof:t,type:e,key:o,ref:a,props:v,_owner:C};return h._store={},Object.defineProperty(h._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(h,"_self",{configurable:!1,enumerable:!1,writable:!1,value:f}),Object.defineProperty(h,"_source",{configurable:!1,enumerable:!1,writable:!1,value:y}),Object.freeze&&(Object.freeze(h.props),Object.freeze(h)),h};function Pr(e,o,a,f,y){{var C,v={},h=null,A=null;a!==void 0&&(De(a),h=""+a),Er(o)&&(De(o.key),h=""+o.key),jr(o)&&(A=o.ref,Rr(o,y));for(C in o)Ce.call(o,C)&&!kr.hasOwnProperty(C)&&(v[C]=o[C]);if(e&&e.defaultProps){var _=e.defaultProps;for(C in _)v[C]===void 0&&(v[C]=_[C])}if(h||A){var S=typeof e=="function"?e.displayName||e.name||"Unknown":e;h&&_r(v,S),A&&Tr(v,S)}return Sr(e,h,A,y,f,ce.current,v)}}var Ae=L.ReactCurrentOwner,Ye=L.ReactDebugCurrentFrame;function K(e){if(e){var o=e._owner,a=we(e.type,e._source,o?o.type:null);Ye.setExtraStackFrame(a)}else Ye.setExtraStackFrame(null)}var Oe;Oe=!1;function Me(e){return typeof e=="object"&&e!==null&&e.$$typeof===t}function He(){{if(Ae.current){var e=O(Ae.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 Lr(e){{if(e!==void 0){var o=e.fileName.replace(/^.*[\\\/]/,""),a=e.lineNumber;return`
|
|
24
24
|
|
|
25
|
-
Check your code at `+o+":"+a+"."}return""}}var qe={};function
|
|
25
|
+
Check your code at `+o+":"+a+"."}return""}}var qe={};function Ar(e){{var o=He();if(!o){var a=typeof e=="string"?e:e.displayName||e.name;a&&(o=`
|
|
26
26
|
|
|
27
|
-
Check the top-level render call using <`+a+">.")}return o}}function Ze(e,o){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var a=Or(o);if(qe[a])return;qe[a]=!0;var f="";e&&e._owner&&e._owner!==Ae.current&&(f=" It was passed a child from "+O(e._owner.type)+"."),Z(e),j('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',a,f),Z(null)}}function Je(e,o){{if(typeof e!="object")return;if(Pe(e))for(var a=0;a<e.length;a++){var f=e[a];Me(f)&&Ze(f,o)}else if(Me(e))e._store&&(e._store.validated=!0);else if(e){var y=T(e);if(typeof y=="function"&&y!==e.entries)for(var C=y.call(e),v;!(v=C.next()).done;)Me(v.value)&&Ze(v.value,o)}}}function Mr(e){{var o=e.type;if(o==null||typeof o=="string")return;var a;if(typeof o=="function")a=o.propTypes;else if(typeof o=="object"&&(o.$$typeof===p||o.$$typeof===x))a=o.propTypes;else return;if(a){var f=O(o);yr(a,e.props,"prop",f,e)}else if(o.PropTypes!==void 0&&!Oe){Oe=!0;var y=O(o);j("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",y||"Unknown")}typeof o.getDefaultProps=="function"&&!o.getDefaultProps.isReactClassApproved&&j("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Ir(e){{for(var o=Object.keys(e.props),a=0;a<o.length;a++){var f=o[a];if(f!=="children"&&f!=="key"){Z(e),j("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",f),Z(null);break}}e.ref!==null&&(Z(e),j("Invalid attribute `ref` supplied to `React.Fragment`."),Z(null))}}function Ke(e,o,a,f,y,C){{var v=re(e);if(!v){var m="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(m+=" 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 A=Ar(y);A?m+=A:m+=He();var _;e===null?_="null":Pe(e)?_="array":e!==void 0&&e.$$typeof===t?(_="<"+(O(e.type)||"Unknown")+" />",m=" Did you accidentally export a JSX literal instead of a component?"):_=typeof e,j("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",_,m)}var S=Lr(e,o,a,y,C);if(S==null)return S;if(v){var I=o.children;if(I!==void 0)if(f)if(Pe(I)){for(var J=0;J<I.length;J++)Je(I[J],e);Object.freeze&&Object.freeze(I)}else j("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(I,e)}return e===s?Ir(S):Mr(S),S}}function Nr(e,o,a){return Ke(e,o,a,!0)}function Wr(e,o,a){return Ke(e,o,a,!1)}var $r=Wr,zr=Nr;ie.Fragment=s,ie.jsx=$r,ie.jsxs=zr}()),ie}process.env.NODE_ENV==="production"?Ie.exports=Vr():Ie.exports=Fr();var d=Ie.exports;const Gr=({type:r="button",variant:t="primary",disabled:n=!1,className:s="",handleClick:c,label:i="",children:l})=>{const u={primary:"bg-acuity-blue text-neutrals-white",secondary:"bg-neutrals text-neutrals-white",danger:"bg-acuity-red text-neutrals-white",outline:""};return d.jsx("button",{disabled:n,type:r,onClick:c,className:`rounded px-6 py-2 text-base font-normal ${u[t]} ${s}`,"aria-label":i,children:l})},Dr=Gr;function cr(r){var t,n,s="";if(typeof r=="string"||typeof r=="number")s+=r;else if(typeof r=="object")if(Array.isArray(r))for(t=0;t<r.length;t++)r[t]&&(n=cr(r[t]))&&(s&&(s+=" "),s+=n);else for(t in r)r[t]&&(s&&(s+=" "),s+=t);return s}function Ur(){for(var r,t,n=0,s="";n<arguments.length;)(r=arguments[n++])&&(t=cr(r))&&(s&&(s+=" "),s+=t);return s}const rr=r=>typeof r=="boolean"?"".concat(r):r===0?"0":r,tr=Ur,X=(r,t)=>n=>{var s;if((t==null?void 0:t.variants)==null)return tr(r,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:c,defaultVariants:i}=t,l=Object.keys(c).map(b=>{const g=n==null?void 0:n[b],x=i==null?void 0:i[b];if(g===null)return null;const k=rr(g)||rr(x);return c[b][k]}),u=n&&Object.entries(n).reduce((b,g)=>{let[x,k]=g;return k===void 0||(b[x]=k),b},{}),p=t==null||(s=t.compoundVariants)===null||s===void 0?void 0:s.reduce((b,g)=>{let{class:x,className:k,...P}=g;return Object.entries(P).every(N=>{let[R,T]=N;return Array.isArray(T)?T.includes({...i,...u}[R]):{...i,...u}[R]===T})?[...b,x,k]:b},[]);return tr(r,l,p,n==null?void 0:n.class,n==null?void 0:n.className)},We="-";function Yr(r){const t=Hr(r),{conflictingClassGroups:n,conflictingClassGroupModifiers:s}=r;function c(l){const u=l.split(We);return u[0]===""&&u.length!==1&&u.shift(),ur(u,t)||Br(l)}function i(l,u){const p=n[l]||[];return u&&s[l]?[...p,...s[l]]:p}return{getClassGroupId:c,getConflictingClassGroupIds:i}}function ur(r,t){var l;if(r.length===0)return t.classGroupId;const n=r[0],s=t.nextPart.get(n),c=s?ur(r.slice(1),s):void 0;if(c)return c;if(t.validators.length===0)return;const i=r.join(We);return(l=t.validators.find(({validator:u})=>u(i)))==null?void 0:l.classGroupId}const nr=/^\[(.+)\]$/;function Br(r){if(nr.test(r)){const t=nr.exec(r)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}}function Hr(r){const{theme:t,prefix:n}=r,s={nextPart:new Map,validators:[]};return Zr(Object.entries(r.classGroups),n).forEach(([i,l])=>{Ne(l,s,i,t)}),s}function Ne(r,t,n,s){r.forEach(c=>{if(typeof c=="string"){const i=c===""?t:or(t,c);i.classGroupId=n;return}if(typeof c=="function"){if(qr(c)){Ne(c(s),t,n,s);return}t.validators.push({validator:c,classGroupId:n});return}Object.entries(c).forEach(([i,l])=>{Ne(l,or(t,i),n,s)})})}function or(r,t){let n=r;return t.split(We).forEach(s=>{n.nextPart.has(s)||n.nextPart.set(s,{nextPart:new Map,validators:[]}),n=n.nextPart.get(s)}),n}function qr(r){return r.isThemeGetter}function Zr(r,t){return t?r.map(([n,s])=>{const c=s.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 Jr(r){if(r<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,s=new Map;function c(i,l){n.set(i,l),t++,t>r&&(t=0,s=n,n=new Map)}return{get(i){let l=n.get(i);if(l!==void 0)return l;if((l=s.get(i))!==void 0)return c(i,l),l},set(i,l){n.has(i)?n.set(i,l):c(i,l)}}}const dr="!";function Kr(r){const t=r.separator,n=t.length===1,s=t[0],c=t.length;return function(l){const u=[];let p=0,b=0,g;for(let R=0;R<l.length;R++){let T=l[R];if(p===0){if(T===s&&(n||l.slice(R,R+c)===t)){u.push(l.slice(b,R)),b=R+c;continue}if(T==="/"){g=R;continue}}T==="["?p++:T==="]"&&p--}const x=u.length===0?l:l.substring(b),k=x.startsWith(dr),P=k?x.substring(1):x,N=g&&g>b?g-b:void 0;return{modifiers:u,hasImportantModifier:k,baseClassName:P,maybePostfixModifierPosition:N}}}function Xr(r){if(r.length<=1)return r;const t=[];let n=[];return r.forEach(s=>{s[0]==="["?(t.push(...n.sort(),s),n=[]):n.push(s)}),t.push(...n.sort()),t}function Qr(r){return{cache:Jr(r.cacheSize),splitModifiers:Kr(r),...Yr(r)}}const et=/\s+/;function rt(r,t){const{splitModifiers:n,getClassGroupId:s,getConflictingClassGroupIds:c}=t,i=new Set;return r.trim().split(et).map(l=>{const{modifiers:u,hasImportantModifier:p,baseClassName:b,maybePostfixModifierPosition:g}=n(l);let x=s(g?b.substring(0,g):b),k=!!g;if(!x){if(!g)return{isTailwindClass:!1,originalClassName:l};if(x=s(b),!x)return{isTailwindClass:!1,originalClassName:l};k=!1}const P=Xr(u).join(":");return{isTailwindClass:!0,modifierId:p?P+dr:P,classGroupId:x,originalClassName:l,hasPostfixModifier:k}}).reverse().filter(l=>{if(!l.isTailwindClass)return!0;const{modifierId:u,classGroupId:p,hasPostfixModifier:b}=l,g=u+p;return i.has(g)?!1:(i.add(g),c(p,b).forEach(x=>i.add(u+x)),!0)}).reverse().map(l=>l.originalClassName).join(" ")}function tt(){let r=0,t,n,s="";for(;r<arguments.length;)(t=arguments[r++])&&(n=fr(t))&&(s&&(s+=" "),s+=n);return s}function fr(r){if(typeof r=="string")return r;let t,n="";for(let s=0;s<r.length;s++)r[s]&&(t=fr(r[s]))&&(n&&(n+=" "),n+=t);return n}function nt(r,...t){let n,s,c,i=l;function l(p){const b=t.reduce((g,x)=>x(g),r());return n=Qr(b),s=n.cache.get,c=n.cache.set,i=u,u(p)}function u(p){const b=s(p);if(b)return b;const g=rt(p,n);return c(p,g),g}return function(){return i(tt.apply(null,arguments))}}function E(r){const t=n=>n[r]||[];return t.isThemeGetter=!0,t}const pr=/^\[(?:([a-z-]+):)?(.+)\]$/i,ot=/^\d+\/\d+$/,st=new Set(["px","full","screen"]),at=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,it=/\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$/,lt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,ct=/^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,ut=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function $(r){return B(r)||st.has(r)||ot.test(r)}function G(r){return Q(r,"length",vt)}function B(r){return!!r&&!Number.isNaN(Number(r))}function we(r){return Q(r,"number",B)}function le(r){return!!r&&Number.isInteger(Number(r))}function dt(r){return r.endsWith("%")&&B(r.slice(0,-1))}function h(r){return pr.test(r)}function D(r){return at.test(r)}const ft=new Set(["length","size","percentage"]);function pt(r){return Q(r,ft,gr)}function gt(r){return Q(r,"position",gr)}const bt=new Set(["image","url"]);function ht(r){return Q(r,bt,yt)}function mt(r){return Q(r,"",xt)}function ce(){return!0}function Q(r,t,n){const s=pr.exec(r);return s?s[1]?typeof t=="string"?s[1]===t:t.has(s[1]):n(s[2]):!1}function vt(r){return it.test(r)&&!lt.test(r)}function gr(){return!1}function xt(r){return ct.test(r)}function yt(r){return ut.test(r)}function wt(){const r=E("colors"),t=E("spacing"),n=E("blur"),s=E("brightness"),c=E("borderColor"),i=E("borderRadius"),l=E("borderSpacing"),u=E("borderWidth"),p=E("contrast"),b=E("grayscale"),g=E("hueRotate"),x=E("invert"),k=E("gap"),P=E("gradientColorStops"),N=E("gradientColorStopPositions"),R=E("inset"),T=E("margin"),L=E("opacity"),j=E("padding"),de=E("saturate"),ee=E("scale"),fe=E("sepia"),pe=E("skew"),ge=E("space"),be=E("translate"),H=()=>["auto","contain","none"],re=()=>["auto","hidden","clip","visible","scroll"],te=()=>["auto",h,t],w=()=>[h,t],O=()=>["",$,G],M=()=>["auto",B,h],z=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],U=()=>["solid","dashed","dotted","double","none"],ne=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"],q=()=>["start","end","center","between","around","evenly","stretch"],V=()=>["","0",h],oe=()=>["auto","avoid","all","avoid-page","page","left","right","column"],F=()=>[B,we],Y=()=>[B,h];return{cacheSize:500,separator:":",theme:{colors:[ce],spacing:[$,G],blur:["none","",D,h],brightness:F(),borderColor:[r],borderRadius:["none","","full",D,h],borderSpacing:w(),borderWidth:O(),contrast:F(),grayscale:V(),hueRotate:Y(),invert:V(),gap:w(),gradientColorStops:[r],gradientColorStopPositions:[dt,G],inset:te(),margin:te(),opacity:F(),padding:w(),saturate:F(),scale:F(),sepia:V(),skew:Y(),space:w(),translate:w()},classGroups:{aspect:[{aspect:["auto","square","video",h]}],container:["container"],columns:[{columns:[D]}],"break-after":[{"break-after":oe()}],"break-before":[{"break-before":oe()}],"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:[...z(),h]}],overflow:[{overflow:re()}],"overflow-x":[{"overflow-x":re()}],"overflow-y":[{"overflow-y":re()}],overscroll:[{overscroll:H()}],"overscroll-x":[{"overscroll-x":H()}],"overscroll-y":[{"overscroll-y":H()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[R]}],"inset-x":[{"inset-x":[R]}],"inset-y":[{"inset-y":[R]}],start:[{start:[R]}],end:[{end:[R]}],top:[{top:[R]}],right:[{right:[R]}],bottom:[{bottom:[R]}],left:[{left:[R]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",le,h]}],basis:[{basis:te()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",h]}],grow:[{grow:V()}],shrink:[{shrink:V()}],order:[{order:["first","last","none",le,h]}],"grid-cols":[{"grid-cols":[ce]}],"col-start-end":[{col:["auto",{span:["full",le,h]},h]}],"col-start":[{"col-start":M()}],"col-end":[{"col-end":M()}],"grid-rows":[{"grid-rows":[ce]}],"row-start-end":[{row:["auto",{span:[le,h]},h]}],"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",h]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",h]}],gap:[{gap:[k]}],"gap-x":[{"gap-x":[k]}],"gap-y":[{"gap-y":[k]}],"justify-content":[{justify:["normal",...q()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...q(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...q(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[j]}],px:[{px:[j]}],py:[{py:[j]}],ps:[{ps:[j]}],pe:[{pe:[j]}],pt:[{pt:[j]}],pr:[{pr:[j]}],pb:[{pb:[j]}],pl:[{pl:[j]}],m:[{m:[T]}],mx:[{mx:[T]}],my:[{my:[T]}],ms:[{ms:[T]}],me:[{me:[T]}],mt:[{mt:[T]}],mr:[{mr:[T]}],mb:[{mb:[T]}],ml:[{ml:[T]}],"space-x":[{"space-x":[ge]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[ge]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",h,t]}],"min-w":[{"min-w":[h,t,"min","max","fit"]}],"max-w":[{"max-w":[h,t,"none","full","min","max","fit","prose",{screen:[D]},D]}],h:[{h:[h,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[h,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[h,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[h,t,"auto","min","max","fit"]}],"font-size":[{text:["base",D,G]}],"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",h]}],"line-clamp":[{"line-clamp":["none",B,we]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",$,h]}],"list-image":[{"list-image":["none",h]}],"list-style-type":[{list:["none","disc","decimal",h]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[r]}],"placeholder-opacity":[{"placeholder-opacity":[L]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[r]}],"text-opacity":[{"text-opacity":[L]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...U(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",$,G]}],"underline-offset":[{"underline-offset":["auto",$,h]}],"text-decoration-color":[{decoration:[r]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:w()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",h]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",h]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[L]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...z(),gt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",pt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},ht]}],"bg-color":[{bg:[r]}],"gradient-from-pos":[{from:[N]}],"gradient-via-pos":[{via:[N]}],"gradient-to-pos":[{to:[N]}],"gradient-from":[{from:[P]}],"gradient-via":[{via:[P]}],"gradient-to":[{to:[P]}],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":[L]}],"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":[L]}],"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":[$,h]}],"outline-w":[{outline:[$,G]}],"outline-color":[{outline:[r]}],"ring-w":[{ring:O()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[r]}],"ring-opacity":[{"ring-opacity":[L]}],"ring-offset-w":[{"ring-offset":[$,G]}],"ring-offset-color":[{"ring-offset":[r]}],shadow:[{shadow:["","inner","none",D,mt]}],"shadow-color":[{shadow:[ce]}],opacity:[{opacity:[L]}],"mix-blend":[{"mix-blend":ne()}],"bg-blend":[{"bg-blend":ne()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[s]}],contrast:[{contrast:[p]}],"drop-shadow":[{"drop-shadow":["","none",D,h]}],grayscale:[{grayscale:[b]}],"hue-rotate":[{"hue-rotate":[g]}],invert:[{invert:[x]}],saturate:[{saturate:[de]}],sepia:[{sepia:[fe]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[s]}],"backdrop-contrast":[{"backdrop-contrast":[p]}],"backdrop-grayscale":[{"backdrop-grayscale":[b]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[g]}],"backdrop-invert":[{"backdrop-invert":[x]}],"backdrop-opacity":[{"backdrop-opacity":[L]}],"backdrop-saturate":[{"backdrop-saturate":[de]}],"backdrop-sepia":[{"backdrop-sepia":[fe]}],"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",h]}],duration:[{duration:Y()}],ease:[{ease:["linear","in","out","in-out",h]}],delay:[{delay:Y()}],animate:[{animate:["none","spin","ping","pulse","bounce",h]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[ee]}],"scale-x":[{"scale-x":[ee]}],"scale-y":[{"scale-y":[ee]}],rotate:[{rotate:[le,h]}],"translate-x":[{"translate-x":[be]}],"translate-y":[{"translate-y":[be]}],"skew-x":[{"skew-x":[pe]}],"skew-y":[{"skew-y":[pe]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",h]}],accent:[{accent:["auto",r]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",h]}],"caret-color":[{caret:[r]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":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",h]}],fill:[{fill:[r,"none"]}],"stroke-w":[{stroke:[$,G,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 ke=nt(wt),ue="large",je="medium",Ee="small",Re="extra-large",sr="h1",Ct="h2",kt="h3",jt="div";function Et(r){return{[ue]:sr,[je]:Ct,[Ee]:kt,[Re]:jt}[r]||sr}const Rt=X("",{variants:{size:{[Ee]:"mb-4",[je]:"mb-4",[ue]:"mb-4",[Re]:"mb-6"}}}),Ce=X("",{variants:{size:{[Ee]:"text-xl font-semibold mb-2",[je]:"text-2xl font-semibold mb-2",[ue]:"text-3xl font-bold mb-2",[Re]:"text-4xl font-semibold mb-3"}}}),ar=X("mt-0",{variants:{size:{[Ee]:"mb-2 text-sm",[je]:"mb-2 text-base",[ue]:"mb-2 text-base",[Re]:"mb-3 text-base"}}}),_t=({size:r=ue,className:t="",text:n="",descriptionTop:s="",descriptionBottom:c="",hasHorizontalRule:i=!1,hasMarginBottom:l=!0,headingTag:u,...p})=>{const b=s?d.jsx("p",{className:ar({size:r}),children:s}):null,g=c?d.jsx("p",{className:ar({size:r}),children:c}):null,x=i?d.jsx("hr",{}):null,k=l?Rt({size:r}):"",P={div:d.jsx("div",{className:Ce({size:r}),children:n}),h3:d.jsx("h3",{className:Ce({size:r}),children:n}),h2:d.jsx("h2",{className:Ce({size:r}),children:n}),h1:d.jsx("h1",{className:Ce({size:r}),children:n})};return d.jsxs("div",{className:ke(k,t),...p,children:[b,P[u||Et(r)],g,x]})},Tt=_t,St=({width:r="24",height:t="24",className:n=""})=>d.jsxs("svg",{width:r,height:t,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:n,stroke:"#000000",children:[d.jsx("path",{d:"M12 21C14.3869 21 16.6761 20.0518 18.364 18.364C20.0518 16.6761 21 14.3869 21 12C21 9.61305 20.0518 7.32387 18.364 5.63604C16.6761 3.94821 14.3869 3 12 3C9.61305 3 7.32387 3.94821 5.63604 5.63604C3.94821 7.32387 3 9.61305 3 12C3 14.3869 3.94821 16.6761 5.63604 18.364C7.32387 20.0518 9.61305 21 12 21Z",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),d.jsx("path",{d:"M12 17V13",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),d.jsx("path",{d:"M12 9.05957C11.8674 9.05957 11.7402 9.00689 11.6464 8.91312C11.5527 8.81936 11.5 8.69218 11.5 8.55957C11.5 8.42696 11.5527 8.29979 11.6464 8.20602C11.7402 8.11225 11.8674 8.05957 12 8.05957",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),d.jsx("path",{d:"M12 9.05957C12.1326 9.05957 12.2598 9.00689 12.3536 8.91312C12.4473 8.81936 12.5 8.69218 12.5 8.55957C12.5 8.42696 12.4473 8.29979 12.3536 8.20602C12.2598 8.11225 12.1326 8.05957 12 8.05957",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),Pt=St,Lt=({width:r="24",height:t="24",className:n=""})=>d.jsxs("svg",{width:r,height:t,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"#000000",className:n,children:[d.jsx("path",{d:"M15.3313 9.99609L11.7945 14.7118C11.7372 14.7881 11.6642 14.8512 11.5804 14.8968C11.4966 14.9425 11.404 14.9696 11.3088 14.9763C11.2136 14.9831 11.1181 14.9693 11.0287 14.9359C10.9393 14.9025 10.8581 14.8503 10.7906 14.7829L8.66821 12.6613",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),d.jsx("path",{d:"M10.8715 2.54037C11.0072 2.37168 11.1791 2.23557 11.3743 2.14206C11.5696 2.04854 11.7833 2 11.9998 2C12.2163 2 12.4301 2.04854 12.6253 2.14206C12.8206 2.23557 12.9924 2.37168 13.1281 2.54037L14.4714 4.21147C14.6235 4.40106 14.821 4.54927 15.0455 4.64243C15.27 4.73559 15.5144 4.7707 15.756 4.74452L17.8882 4.51264C18.1041 4.48866 18.3225 4.51354 18.5275 4.58543C18.7324 4.65731 18.9185 4.77437 19.0721 4.92793C19.2256 5.08149 19.3427 5.26762 19.4146 5.47255C19.4865 5.67747 19.5113 5.89594 19.4874 6.11178L19.2555 8.24397C19.2293 8.48564 19.2644 8.73001 19.3576 8.95453C19.4507 9.17905 19.5989 9.37648 19.7885 9.52862L21.4596 10.8719C21.6283 11.0076 21.7644 11.1794 21.8579 11.3747C21.9515 11.5699 22 11.7837 22 12.0002C22 12.2167 21.9515 12.4304 21.8579 12.6257C21.7644 12.8209 21.6283 12.9928 21.4596 13.1285L19.7832 14.4655C19.5937 14.6179 19.4455 14.8155 19.3524 15.0402C19.2592 15.2648 19.2241 15.5093 19.2502 15.7511L19.482 17.8832C19.5062 18.0991 19.4814 18.3177 19.4096 18.5227C19.3378 18.7277 19.2207 18.9139 19.0671 19.0675C18.9135 19.2211 18.7273 19.3381 18.5223 19.41C18.3173 19.4818 18.0988 19.5065 17.8829 19.4824L15.7507 19.2505C15.509 19.2242 15.2646 19.2593 15.0401 19.3525C14.8156 19.4456 14.6181 19.5939 14.4661 19.7836L13.1281 21.4484C12.9925 21.6173 12.8207 21.7535 12.6254 21.8471C12.4302 21.9407 12.2164 21.9893 11.9998 21.9893C11.7833 21.9893 11.5695 21.9407 11.3742 21.8471C11.1789 21.7535 11.0072 21.6173 10.8715 21.4484L9.52915 19.7782C9.37682 19.5886 9.17922 19.4404 8.95456 19.3473C8.7299 19.2541 8.48541 19.219 8.24361 19.2452L6.11142 19.4771C5.89551 19.5014 5.6769 19.4767 5.47181 19.405C5.26673 19.3332 5.08045 19.2162 4.92681 19.0625C4.77318 18.9089 4.65613 18.7226 4.58436 18.5175C4.5126 18.3124 4.48796 18.0938 4.51228 17.8779L4.74416 15.7457C4.77033 15.5039 4.73522 15.2594 4.64207 15.0348C4.54891 14.8101 4.40071 14.6125 4.21111 14.4602L2.54089 13.1178C2.37207 12.9822 2.23582 12.8104 2.14221 12.6151C2.0486 12.4199 2 12.2061 2 11.9895C2 11.773 2.0486 11.5592 2.14221 11.3639C2.23582 11.1686 2.37207 10.9969 2.54089 10.8612L4.21111 9.51795C4.40076 9.36588 4.54902 9.16845 4.64219 8.94391C4.73536 8.71938 4.77043 8.47498 4.74416 8.23331L4.51228 6.10112C4.48813 5.88525 4.51289 5.6667 4.58471 5.4617C4.65654 5.2567 4.77359 5.07049 4.92719 4.91689C5.08079 4.76329 5.267 4.64624 5.472 4.57441C5.67701 4.50259 5.89555 4.47783 6.11142 4.50198L8.24361 4.73385C8.4854 4.75995 8.72987 4.7248 8.95452 4.63165C9.17916 4.5385 9.37677 4.39034 9.52915 4.20081L10.8715 2.54037Z",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),At=Lt,Ot=({width:r="24",height:t="24",className:n=""})=>d.jsxs("svg",{width:r,height:t,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:n,stroke:"#000000",children:[d.jsxs("g",{clipPath:"url(#clip0_2681_281)",children:[d.jsx("path",{d:"M12 18.25C11.8274 18.25 11.6875 18.1101 11.6875 17.9375C11.6875 17.7649 11.8274 17.625 12 17.625",strokeWidth:"1.5"}),d.jsx("path",{d:"M12 18.25C12.1726 18.25 12.3125 18.1101 12.3125 17.9375C12.3125 17.7649 12.1726 17.625 12 17.625",strokeWidth:"1.5"}),d.jsx("path",{d:"M12 15.125V8.875",strokeWidth:"1.5"}),d.jsx("path",{d:"M13.3508 3.46647C13.2268 3.21398 13.0345 3.0013 12.7957 2.85257C12.557 2.70384 12.2813 2.625 12 2.625C11.7187 2.625 11.443 2.70384 11.2042 2.85257C10.9655 3.0013 10.7732 3.21398 10.6492 3.46647L2.75501 19.5481C2.65998 19.7415 2.61579 19.9558 2.6266 20.1709C2.63741 20.386 2.70286 20.5949 2.81678 20.7776C2.9307 20.9605 3.08933 21.1112 3.2777 21.2157C3.46606 21.3202 3.67794 21.375 3.89334 21.3748H20.1067C20.3221 21.375 20.5339 21.3202 20.7223 21.2157C20.9107 21.1112 21.0693 20.9605 21.1832 20.7776C21.2972 20.5949 21.3626 20.386 21.3734 20.1709C21.3842 19.9558 21.34 19.7415 21.245 19.5481L13.3508 3.46647Z",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),d.jsx("defs",{children:d.jsx("clipPath",{id:"clip0_2681_281",children:d.jsx("rect",{width:"20",height:"20",fill:"white",transform:"translate(2 2)"})})})]}),Mt=Ot,It=({width:r="24",height:t="24",className:n=""})=>d.jsxs("svg",{width:r,height:t,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"#000000",className:n,children:[d.jsxs("g",{clipPath:"url(#clip0_2681_180)",children:[d.jsx("path",{d:"M14.6666 7.33894L12.1666 6.50561C11.7908 6.38013 11.3905 6.34579 10.9987 6.40543C10.607 6.46506 10.235 6.61696 9.91354 6.8486C9.59204 7.08025 9.33021 7.38499 9.14964 7.73771C8.96907 8.09043 8.87492 8.48102 8.87498 8.87728V12.6273L7.38248 11.4306C7.28057 11.349 7.16279 11.2894 7.03663 11.2558C6.91047 11.2222 6.77868 11.2152 6.64967 11.2352C6.52065 11.2553 6.39722 11.302 6.28723 11.3724C6.17724 11.4427 6.08311 11.5352 6.01081 11.6439C5.90769 11.7985 5.85266 11.9802 5.85266 12.166C5.85266 12.3519 5.90769 12.5335 6.01081 12.6881L8.15164 15.8998C8.50548 16.4304 8.98481 16.8654 9.54709 17.1663C10.1094 17.4672 10.7372 17.6247 11.375 17.6248H13.2408C14.072 17.6251 14.8693 17.2954 15.4575 16.7081C16.0445 16.1201 16.3742 15.3232 16.3741 14.4923V9.71061C16.3743 9.18615 16.2095 8.67493 15.903 8.2493C15.5966 7.82368 15.1641 7.5052 14.6666 7.33894Z",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),d.jsx("path",{d:"M7.625 21.375H16.375L21.375 16.375V7.625L16.375 2.625H7.625L2.625 7.625V16.375L7.625 21.375Z",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),d.jsx("defs",{children:d.jsx("clipPath",{id:"clip0_2681_180",children:d.jsx("rect",{width:"20",height:"20",fill:"white",transform:"translate(2 2)"})})})]}),Nt=It,Wt=({width:r="22",height:t="22",className:n=""})=>d.jsxs("svg",{width:r,height:t,viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:n,stroke:"#000000",children:[d.jsx("path",{d:"M1.625 20.3741L20.375 1.62415",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),d.jsx("path",{d:"M20.375 20.3741L1.625 1.62415",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),$t=Wt;function zt(){return Math.floor(Math.random()*1e7)}const Vt=X(["flex","w-full","flex-row","justify-between","rounded","px-4","py-4","font-sans"],{variants:{variant:{success:["bg-success-green-lightest","text-success-green-darkest"],info:["bg-information-blue-lightest","text-information-blue-darkest"],warning:["bg-warning-yellow-lightest","text-neutrals-darker"],error:["bg-danger-red-lightest","text-danger-red-darkest"]}}}),Ft=r=>ke(Vt(r)),Gt=X("",{variants:{variant:{success:"text-success-green-dark",info:"text-information-blue-dark",warning:"text-warning-yellow-darkest",error:"text-danger-red-dark"}}}),ir=r=>ke(Gt(r)),Dt=X("",{variants:{variant:{success:["text-success-green-darkest","stroke-success-green-darkest"],info:["text-information-blue-darkest","stroke-information-blue-darkest"],warning:["text-neutrals-darker","stroke-neutrals-darker"],error:["text-danger-red-darkest","stroke-danger-red-darkest"]}}}),K=r=>ke(Dt(r)),Ut=({variant:r="info",isDismissible:t=!0,showIcon:n=!0,titleSize:s="large",title:c="",description:i="",content:l=null,id:u="alert_"+zt().toString(),handleClose:p})=>{const b={success:d.jsx(At,{className:K({variant:r})}),info:d.jsx(Pt,{className:K({variant:r})}),warning:d.jsx(Mt,{className:K({variant:r})}),error:d.jsx(Nt,{className:K({variant:r})})};return d.jsxs("div",{id:u,className:Ft({variant:r}),children:[d.jsxs("div",{className:"flex flex-row",children:[n&&d.jsx("div",{className:`flex pr-2 ${s==="large"&&c!==""&&"h-[1.75rem] items-center"}`,children:b[r]}),d.jsxs("div",{className:"flex flex-col gap-3",children:[d.jsxs("div",{className:`${s==="large"?"flex-col":"flex-row"} flex gap-3`,children:[s!=="none"&&c!==""&&d.jsx("h1",{className:s==="large"?"text-xl font-semibold":"hidden",children:c}),d.jsxs("div",{className:ir({variant:r}),children:[d.jsx("span",{className:`${K({variant:r})} ${s==="small"&&c!==""?"pr-2 text-base font-semibold":"hidden"}`,children:c}),i]})]}),l&&d.jsx("div",{className:ir({variant:r}),children:l})]})]}),t===!0&&d.jsx("button",{className:"h-5",onClick:p,children:d.jsx($t,{width:"1rem",height:"1rem",className:K({variant:r})})})]})},Yt=Ut;exports.Alert=Yt;exports.Button=Dr;exports.Heading=Tt;
|
|
27
|
+
Check the top-level render call using <`+a+">.")}return o}}function Ze(e,o){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var a=Ar(o);if(qe[a])return;qe[a]=!0;var f="";e&&e._owner&&e._owner!==Ae.current&&(f=" It was passed a child from "+O(e._owner.type)+"."),K(e),j('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',a,f),K(null)}}function Je(e,o){{if(typeof e!="object")return;if(Pe(e))for(var a=0;a<e.length;a++){var f=e[a];Me(f)&&Ze(f,o)}else if(Me(e))e._store&&(e._store.validated=!0);else if(e){var y=T(e);if(typeof y=="function"&&y!==e.entries)for(var C=y.call(e),v;!(v=C.next()).done;)Me(v.value)&&Ze(v.value,o)}}}function Or(e){{var o=e.type;if(o==null||typeof o=="string")return;var a;if(typeof o=="function")a=o.propTypes;else if(typeof o=="object"&&(o.$$typeof===p||o.$$typeof===x))a=o.propTypes;else return;if(a){var f=O(o);xr(a,e.props,"prop",f,e)}else if(o.PropTypes!==void 0&&!Oe){Oe=!0;var y=O(o);j("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",y||"Unknown")}typeof o.getDefaultProps=="function"&&!o.getDefaultProps.isReactClassApproved&&j("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Mr(e){{for(var o=Object.keys(e.props),a=0;a<o.length;a++){var f=o[a];if(f!=="children"&&f!=="key"){K(e),j("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",f),K(null);break}}e.ref!==null&&(K(e),j("Invalid attribute `ref` supplied to `React.Fragment`."),K(null))}}function Ke(e,o,a,f,y,C){{var v=se(e);if(!v){var h="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(h+=" 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 A=Lr(y);A?h+=A:h+=He();var _;e===null?_="null":Pe(e)?_="array":e!==void 0&&e.$$typeof===t?(_="<"+(O(e.type)||"Unknown")+" />",h=" Did you accidentally export a JSX literal instead of a component?"):_=typeof e,j("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",_,h)}var S=Pr(e,o,a,y,C);if(S==null)return S;if(v){var I=o.children;if(I!==void 0)if(f)if(Pe(I)){for(var X=0;X<I.length;X++)Je(I[X],e);Object.freeze&&Object.freeze(I)}else j("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(I,e)}return e===s?Mr(S):Or(S),S}}function Ir(e,o,a){return Ke(e,o,a,!0)}function Nr(e,o,a){return Ke(e,o,a,!1)}var Wr=Nr,zr=Ir;de.Fragment=s,de.jsx=Wr,de.jsxs=zr}()),de}process.env.NODE_ENV==="production"?Ie.exports=$r():Ie.exports=Vr();var d=Ie.exports;const Fr=({type:r="button",variant:t="primary",disabled:n=!1,className:s="",handleClick:c,label:i="",children:l})=>{const u={primary:"bg-acuity-blue text-neutrals-white",secondary:"bg-neutrals text-neutrals-white",danger:"bg-acuity-red text-neutrals-white",outline:""};return d.jsx("button",{disabled:n,type:r,onClick:c,className:`rounded px-6 py-2 text-base font-normal ${u[t]} ${s}`,"aria-label":i,children:l})},Gr=Fr;function lr(r){var t,n,s="";if(typeof r=="string"||typeof r=="number")s+=r;else if(typeof r=="object")if(Array.isArray(r))for(t=0;t<r.length;t++)r[t]&&(n=lr(r[t]))&&(s&&(s+=" "),s+=n);else for(t in r)r[t]&&(s&&(s+=" "),s+=t);return s}function Dr(){for(var r,t,n=0,s="";n<arguments.length;)(r=arguments[n++])&&(t=lr(r))&&(s&&(s+=" "),s+=t);return s}const rr=r=>typeof r=="boolean"?"".concat(r):r===0?"0":r,tr=Dr,B=(r,t)=>n=>{var s;if((t==null?void 0:t.variants)==null)return tr(r,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:c,defaultVariants:i}=t,l=Object.keys(c).map(b=>{const g=n==null?void 0:n[b],x=i==null?void 0:i[b];if(g===null)return null;const k=rr(g)||rr(x);return c[b][k]}),u=n&&Object.entries(n).reduce((b,g)=>{let[x,k]=g;return k===void 0||(b[x]=k),b},{}),p=t==null||(s=t.compoundVariants)===null||s===void 0?void 0:s.reduce((b,g)=>{let{class:x,className:k,...P}=g;return Object.entries(P).every(N=>{let[R,T]=N;return Array.isArray(T)?T.includes({...i,...u}[R]):{...i,...u}[R]===T})?[...b,x,k]:b},[]);return tr(r,l,p,n==null?void 0:n.class,n==null?void 0:n.className)},We="-";function Br(r){const t=Yr(r),{conflictingClassGroups:n,conflictingClassGroupModifiers:s}=r;function c(l){const u=l.split(We);return u[0]===""&&u.length!==1&&u.shift(),cr(u,t)||Ur(l)}function i(l,u){const p=n[l]||[];return u&&s[l]?[...p,...s[l]]:p}return{getClassGroupId:c,getConflictingClassGroupIds:i}}function cr(r,t){var l;if(r.length===0)return t.classGroupId;const n=r[0],s=t.nextPart.get(n),c=s?cr(r.slice(1),s):void 0;if(c)return c;if(t.validators.length===0)return;const i=r.join(We);return(l=t.validators.find(({validator:u})=>u(i)))==null?void 0:l.classGroupId}const nr=/^\[(.+)\]$/;function Ur(r){if(nr.test(r)){const t=nr.exec(r)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}}function Yr(r){const{theme:t,prefix:n}=r,s={nextPart:new Map,validators:[]};return qr(Object.entries(r.classGroups),n).forEach(([i,l])=>{Ne(l,s,i,t)}),s}function Ne(r,t,n,s){r.forEach(c=>{if(typeof c=="string"){const i=c===""?t:or(t,c);i.classGroupId=n;return}if(typeof c=="function"){if(Hr(c)){Ne(c(s),t,n,s);return}t.validators.push({validator:c,classGroupId:n});return}Object.entries(c).forEach(([i,l])=>{Ne(l,or(t,i),n,s)})})}function or(r,t){let n=r;return t.split(We).forEach(s=>{n.nextPart.has(s)||n.nextPart.set(s,{nextPart:new Map,validators:[]}),n=n.nextPart.get(s)}),n}function Hr(r){return r.isThemeGetter}function qr(r,t){return t?r.map(([n,s])=>{const c=s.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 Zr(r){if(r<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,s=new Map;function c(i,l){n.set(i,l),t++,t>r&&(t=0,s=n,n=new Map)}return{get(i){let l=n.get(i);if(l!==void 0)return l;if((l=s.get(i))!==void 0)return c(i,l),l},set(i,l){n.has(i)?n.set(i,l):c(i,l)}}}const ur="!";function Jr(r){const t=r.separator,n=t.length===1,s=t[0],c=t.length;return function(l){const u=[];let p=0,b=0,g;for(let R=0;R<l.length;R++){let T=l[R];if(p===0){if(T===s&&(n||l.slice(R,R+c)===t)){u.push(l.slice(b,R)),b=R+c;continue}if(T==="/"){g=R;continue}}T==="["?p++:T==="]"&&p--}const x=u.length===0?l:l.substring(b),k=x.startsWith(ur),P=k?x.substring(1):x,N=g&&g>b?g-b:void 0;return{modifiers:u,hasImportantModifier:k,baseClassName:P,maybePostfixModifierPosition:N}}}function Kr(r){if(r.length<=1)return r;const t=[];let n=[];return r.forEach(s=>{s[0]==="["?(t.push(...n.sort(),s),n=[]):n.push(s)}),t.push(...n.sort()),t}function Xr(r){return{cache:Zr(r.cacheSize),splitModifiers:Jr(r),...Br(r)}}const Qr=/\s+/;function et(r,t){const{splitModifiers:n,getClassGroupId:s,getConflictingClassGroupIds:c}=t,i=new Set;return r.trim().split(Qr).map(l=>{const{modifiers:u,hasImportantModifier:p,baseClassName:b,maybePostfixModifierPosition:g}=n(l);let x=s(g?b.substring(0,g):b),k=!!g;if(!x){if(!g)return{isTailwindClass:!1,originalClassName:l};if(x=s(b),!x)return{isTailwindClass:!1,originalClassName:l};k=!1}const P=Kr(u).join(":");return{isTailwindClass:!0,modifierId:p?P+ur:P,classGroupId:x,originalClassName:l,hasPostfixModifier:k}}).reverse().filter(l=>{if(!l.isTailwindClass)return!0;const{modifierId:u,classGroupId:p,hasPostfixModifier:b}=l,g=u+p;return i.has(g)?!1:(i.add(g),c(p,b).forEach(x=>i.add(u+x)),!0)}).reverse().map(l=>l.originalClassName).join(" ")}function rt(){let r=0,t,n,s="";for(;r<arguments.length;)(t=arguments[r++])&&(n=dr(t))&&(s&&(s+=" "),s+=n);return s}function dr(r){if(typeof r=="string")return r;let t,n="";for(let s=0;s<r.length;s++)r[s]&&(t=dr(r[s]))&&(n&&(n+=" "),n+=t);return n}function tt(r,...t){let n,s,c,i=l;function l(p){const b=t.reduce((g,x)=>x(g),r());return n=Xr(b),s=n.cache.get,c=n.cache.set,i=u,u(p)}function u(p){const b=s(p);if(b)return b;const g=et(p,n);return c(p,g),g}return function(){return i(rt.apply(null,arguments))}}function E(r){const t=n=>n[r]||[];return t.isThemeGetter=!0,t}const fr=/^\[(?:([a-z-]+):)?(.+)\]$/i,nt=/^\d+\/\d+$/,ot=new Set(["px","full","screen"]),st=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,at=/\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$/,it=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,lt=/^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,ct=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function z(r){return H(r)||ot.has(r)||nt.test(r)}function G(r){return ee(r,"length",ht)}function H(r){return!!r&&!Number.isNaN(Number(r))}function je(r){return ee(r,"number",H)}function fe(r){return!!r&&Number.isInteger(Number(r))}function ut(r){return r.endsWith("%")&&H(r.slice(0,-1))}function m(r){return fr.test(r)}function D(r){return st.test(r)}const dt=new Set(["length","size","percentage"]);function ft(r){return ee(r,dt,pr)}function pt(r){return ee(r,"position",pr)}const gt=new Set(["image","url"]);function bt(r){return ee(r,gt,xt)}function mt(r){return ee(r,"",vt)}function pe(){return!0}function ee(r,t,n){const s=fr.exec(r);return s?s[1]?typeof t=="string"?s[1]===t:t.has(s[1]):n(s[2]):!1}function ht(r){return at.test(r)&&!it.test(r)}function pr(){return!1}function vt(r){return lt.test(r)}function xt(r){return ct.test(r)}function yt(){const r=E("colors"),t=E("spacing"),n=E("blur"),s=E("brightness"),c=E("borderColor"),i=E("borderRadius"),l=E("borderSpacing"),u=E("borderWidth"),p=E("contrast"),b=E("grayscale"),g=E("hueRotate"),x=E("invert"),k=E("gap"),P=E("gradientColorStops"),N=E("gradientColorStopPositions"),R=E("inset"),T=E("margin"),L=E("opacity"),j=E("padding"),ge=E("saturate"),oe=E("scale"),be=E("sepia"),me=E("skew"),he=E("space"),ve=E("translate"),Z=()=>["auto","contain","none"],se=()=>["auto","hidden","clip","visible","scroll"],ae=()=>["auto",m,t],w=()=>[m,t],O=()=>["",z,G],M=()=>["auto",H,m],$=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],U=()=>["solid","dashed","dotted","double","none"],ie=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"],J=()=>["start","end","center","between","around","evenly","stretch"],V=()=>["","0",m],le=()=>["auto","avoid","all","avoid-page","page","left","right","column"],F=()=>[H,je],Y=()=>[H,m];return{cacheSize:500,separator:":",theme:{colors:[pe],spacing:[z,G],blur:["none","",D,m],brightness:F(),borderColor:[r],borderRadius:["none","","full",D,m],borderSpacing:w(),borderWidth:O(),contrast:F(),grayscale:V(),hueRotate:Y(),invert:V(),gap:w(),gradientColorStops:[r],gradientColorStopPositions:[ut,G],inset:ae(),margin:ae(),opacity:F(),padding:w(),saturate:F(),scale:F(),sepia:V(),skew:Y(),space:w(),translate:w()},classGroups:{aspect:[{aspect:["auto","square","video",m]}],container:["container"],columns:[{columns:[D]}],"break-after":[{"break-after":le()}],"break-before":[{"break-before":le()}],"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:[...$(),m]}],overflow:[{overflow:se()}],"overflow-x":[{"overflow-x":se()}],"overflow-y":[{"overflow-y":se()}],overscroll:[{overscroll:Z()}],"overscroll-x":[{"overscroll-x":Z()}],"overscroll-y":[{"overscroll-y":Z()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[R]}],"inset-x":[{"inset-x":[R]}],"inset-y":[{"inset-y":[R]}],start:[{start:[R]}],end:[{end:[R]}],top:[{top:[R]}],right:[{right:[R]}],bottom:[{bottom:[R]}],left:[{left:[R]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",fe,m]}],basis:[{basis:ae()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",m]}],grow:[{grow:V()}],shrink:[{shrink:V()}],order:[{order:["first","last","none",fe,m]}],"grid-cols":[{"grid-cols":[pe]}],"col-start-end":[{col:["auto",{span:["full",fe,m]},m]}],"col-start":[{"col-start":M()}],"col-end":[{"col-end":M()}],"grid-rows":[{"grid-rows":[pe]}],"row-start-end":[{row:["auto",{span:[fe,m]},m]}],"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",m]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",m]}],gap:[{gap:[k]}],"gap-x":[{"gap-x":[k]}],"gap-y":[{"gap-y":[k]}],"justify-content":[{justify:["normal",...J()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...J(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...J(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[j]}],px:[{px:[j]}],py:[{py:[j]}],ps:[{ps:[j]}],pe:[{pe:[j]}],pt:[{pt:[j]}],pr:[{pr:[j]}],pb:[{pb:[j]}],pl:[{pl:[j]}],m:[{m:[T]}],mx:[{mx:[T]}],my:[{my:[T]}],ms:[{ms:[T]}],me:[{me:[T]}],mt:[{mt:[T]}],mr:[{mr:[T]}],mb:[{mb:[T]}],ml:[{ml:[T]}],"space-x":[{"space-x":[he]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[he]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",m,t]}],"min-w":[{"min-w":[m,t,"min","max","fit"]}],"max-w":[{"max-w":[m,t,"none","full","min","max","fit","prose",{screen:[D]},D]}],h:[{h:[m,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[m,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[m,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[m,t,"auto","min","max","fit"]}],"font-size":[{text:["base",D,G]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",je]}],"font-family":[{font:[pe]}],"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",m]}],"line-clamp":[{"line-clamp":["none",H,je]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",z,m]}],"list-image":[{"list-image":["none",m]}],"list-style-type":[{list:["none","disc","decimal",m]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[r]}],"placeholder-opacity":[{"placeholder-opacity":[L]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[r]}],"text-opacity":[{"text-opacity":[L]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...U(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",z,G]}],"underline-offset":[{"underline-offset":["auto",z,m]}],"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",m]}],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",m]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[L]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...$(),pt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",ft]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},bt]}],"bg-color":[{bg:[r]}],"gradient-from-pos":[{from:[N]}],"gradient-via-pos":[{via:[N]}],"gradient-to-pos":[{to:[N]}],"gradient-from":[{from:[P]}],"gradient-via":[{via:[P]}],"gradient-to":[{to:[P]}],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":[L]}],"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":[L]}],"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":[z,m]}],"outline-w":[{outline:[z,G]}],"outline-color":[{outline:[r]}],"ring-w":[{ring:O()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[r]}],"ring-opacity":[{"ring-opacity":[L]}],"ring-offset-w":[{"ring-offset":[z,G]}],"ring-offset-color":[{"ring-offset":[r]}],shadow:[{shadow:["","inner","none",D,mt]}],"shadow-color":[{shadow:[pe]}],opacity:[{opacity:[L]}],"mix-blend":[{"mix-blend":ie()}],"bg-blend":[{"bg-blend":ie()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[s]}],contrast:[{contrast:[p]}],"drop-shadow":[{"drop-shadow":["","none",D,m]}],grayscale:[{grayscale:[b]}],"hue-rotate":[{"hue-rotate":[g]}],invert:[{invert:[x]}],saturate:[{saturate:[ge]}],sepia:[{sepia:[be]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[s]}],"backdrop-contrast":[{"backdrop-contrast":[p]}],"backdrop-grayscale":[{"backdrop-grayscale":[b]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[g]}],"backdrop-invert":[{"backdrop-invert":[x]}],"backdrop-opacity":[{"backdrop-opacity":[L]}],"backdrop-saturate":[{"backdrop-saturate":[ge]}],"backdrop-sepia":[{"backdrop-sepia":[be]}],"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",m]}],duration:[{duration:Y()}],ease:[{ease:["linear","in","out","in-out",m]}],delay:[{delay:Y()}],animate:[{animate:["none","spin","ping","pulse","bounce",m]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[oe]}],"scale-x":[{"scale-x":[oe]}],"scale-y":[{"scale-y":[oe]}],rotate:[{rotate:[fe,m]}],"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",m]}],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",m]}],"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",m]}],fill:[{fill:[r,"none"]}],"stroke-w":[{stroke:[z,G,je]}],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 Re=tt(yt),q="large",re="medium",te="small",ne="extra-large",sr="h1",wt="h2",Ct="h3",kt="div";function jt(r){return{[q]:sr,[re]:wt,[te]:Ct,[ne]:kt}[r]||sr}const Et=B("",{variants:{size:{[te]:"mb-3",[re]:"mb-5",[q]:"mb-5",[ne]:"mb-6"}}}),Ee=B("text-neutrals-darker",{variants:{size:{[te]:"text-xl font-semibold",[re]:"text-2xl font-semibold",[q]:"text-3xl font-bold",[ne]:"text-4xl font-semibold"}}}),Rt=B("mt-0 font-bold text-neutrals-dark",{variants:{size:{[te]:"mb-1 text-sm",[re]:"mb-2 text-sm",[q]:"mb-2 text-base",[ne]:"mb-3 text-base"}}}),_t=B("mb-0 text-neutrals-dark",{variants:{size:{[te]:"mt-1 text-base",[re]:"mt-2 text-base",[q]:"mt-2 text-base",[ne]:"mt-3 text-base"}}}),Tt=B("text-neutrals-light",{variants:{size:{[te]:"mt-2",[re]:"mt-2",[q]:"mt-2",[ne]:"mt-3"}}}),St=({size:r=q,className:t="",text:n="",descriptionTop:s="",descriptionBottom:c="",hasHorizontalRule:i=!1,hasMarginBottom:l=!0,headingTag:u,...p})=>{const b=s?d.jsx("p",{className:Rt({size:r}),children:s}):null,g=c?d.jsx("p",{className:_t({size:r}),children:c}):null,x=i?d.jsx("hr",{className:Tt({size:r})}):null,k=l?Et({size:r}):"",P={div:d.jsx("div",{className:Ee({size:r}),children:n}),h3:d.jsx("h3",{className:Ee({size:r}),children:n}),h2:d.jsx("h2",{className:Ee({size:r}),children:n}),h1:d.jsx("h1",{className:Ee({size:r}),children:n})};return d.jsxs("div",{className:Re(k,t),...p,children:[b,P[u||jt(r)],g,x]})},Pt=St,Lt=({width:r="24",height:t="24",className:n=""})=>d.jsxs("svg",{width:r,height:t,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:n,stroke:"#000000",children:[d.jsx("path",{d:"M12 21C14.3869 21 16.6761 20.0518 18.364 18.364C20.0518 16.6761 21 14.3869 21 12C21 9.61305 20.0518 7.32387 18.364 5.63604C16.6761 3.94821 14.3869 3 12 3C9.61305 3 7.32387 3.94821 5.63604 5.63604C3.94821 7.32387 3 9.61305 3 12C3 14.3869 3.94821 16.6761 5.63604 18.364C7.32387 20.0518 9.61305 21 12 21Z",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),d.jsx("path",{d:"M12 17V13",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),d.jsx("path",{d:"M12 9.05957C11.8674 9.05957 11.7402 9.00689 11.6464 8.91312C11.5527 8.81936 11.5 8.69218 11.5 8.55957C11.5 8.42696 11.5527 8.29979 11.6464 8.20602C11.7402 8.11225 11.8674 8.05957 12 8.05957",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),d.jsx("path",{d:"M12 9.05957C12.1326 9.05957 12.2598 9.00689 12.3536 8.91312C12.4473 8.81936 12.5 8.69218 12.5 8.55957C12.5 8.42696 12.4473 8.29979 12.3536 8.20602C12.2598 8.11225 12.1326 8.05957 12 8.05957",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),At=Lt,Ot=({width:r="24",height:t="24",className:n=""})=>d.jsxs("svg",{width:r,height:t,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"#000000",className:n,children:[d.jsx("path",{d:"M15.3313 9.99609L11.7945 14.7118C11.7372 14.7881 11.6642 14.8512 11.5804 14.8968C11.4966 14.9425 11.404 14.9696 11.3088 14.9763C11.2136 14.9831 11.1181 14.9693 11.0287 14.9359C10.9393 14.9025 10.8581 14.8503 10.7906 14.7829L8.66821 12.6613",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),d.jsx("path",{d:"M10.8715 2.54037C11.0072 2.37168 11.1791 2.23557 11.3743 2.14206C11.5696 2.04854 11.7833 2 11.9998 2C12.2163 2 12.4301 2.04854 12.6253 2.14206C12.8206 2.23557 12.9924 2.37168 13.1281 2.54037L14.4714 4.21147C14.6235 4.40106 14.821 4.54927 15.0455 4.64243C15.27 4.73559 15.5144 4.7707 15.756 4.74452L17.8882 4.51264C18.1041 4.48866 18.3225 4.51354 18.5275 4.58543C18.7324 4.65731 18.9185 4.77437 19.0721 4.92793C19.2256 5.08149 19.3427 5.26762 19.4146 5.47255C19.4865 5.67747 19.5113 5.89594 19.4874 6.11178L19.2555 8.24397C19.2293 8.48564 19.2644 8.73001 19.3576 8.95453C19.4507 9.17905 19.5989 9.37648 19.7885 9.52862L21.4596 10.8719C21.6283 11.0076 21.7644 11.1794 21.8579 11.3747C21.9515 11.5699 22 11.7837 22 12.0002C22 12.2167 21.9515 12.4304 21.8579 12.6257C21.7644 12.8209 21.6283 12.9928 21.4596 13.1285L19.7832 14.4655C19.5937 14.6179 19.4455 14.8155 19.3524 15.0402C19.2592 15.2648 19.2241 15.5093 19.2502 15.7511L19.482 17.8832C19.5062 18.0991 19.4814 18.3177 19.4096 18.5227C19.3378 18.7277 19.2207 18.9139 19.0671 19.0675C18.9135 19.2211 18.7273 19.3381 18.5223 19.41C18.3173 19.4818 18.0988 19.5065 17.8829 19.4824L15.7507 19.2505C15.509 19.2242 15.2646 19.2593 15.0401 19.3525C14.8156 19.4456 14.6181 19.5939 14.4661 19.7836L13.1281 21.4484C12.9925 21.6173 12.8207 21.7535 12.6254 21.8471C12.4302 21.9407 12.2164 21.9893 11.9998 21.9893C11.7833 21.9893 11.5695 21.9407 11.3742 21.8471C11.1789 21.7535 11.0072 21.6173 10.8715 21.4484L9.52915 19.7782C9.37682 19.5886 9.17922 19.4404 8.95456 19.3473C8.7299 19.2541 8.48541 19.219 8.24361 19.2452L6.11142 19.4771C5.89551 19.5014 5.6769 19.4767 5.47181 19.405C5.26673 19.3332 5.08045 19.2162 4.92681 19.0625C4.77318 18.9089 4.65613 18.7226 4.58436 18.5175C4.5126 18.3124 4.48796 18.0938 4.51228 17.8779L4.74416 15.7457C4.77033 15.5039 4.73522 15.2594 4.64207 15.0348C4.54891 14.8101 4.40071 14.6125 4.21111 14.4602L2.54089 13.1178C2.37207 12.9822 2.23582 12.8104 2.14221 12.6151C2.0486 12.4199 2 12.2061 2 11.9895C2 11.773 2.0486 11.5592 2.14221 11.3639C2.23582 11.1686 2.37207 10.9969 2.54089 10.8612L4.21111 9.51795C4.40076 9.36588 4.54902 9.16845 4.64219 8.94391C4.73536 8.71938 4.77043 8.47498 4.74416 8.23331L4.51228 6.10112C4.48813 5.88525 4.51289 5.6667 4.58471 5.4617C4.65654 5.2567 4.77359 5.07049 4.92719 4.91689C5.08079 4.76329 5.267 4.64624 5.472 4.57441C5.67701 4.50259 5.89555 4.47783 6.11142 4.50198L8.24361 4.73385C8.4854 4.75995 8.72987 4.7248 8.95452 4.63165C9.17916 4.5385 9.37677 4.39034 9.52915 4.20081L10.8715 2.54037Z",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),Mt=Ot,It=({width:r="24",height:t="24",className:n=""})=>d.jsxs("svg",{width:r,height:t,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:n,stroke:"#000000",children:[d.jsxs("g",{clipPath:"url(#clip0_2681_281)",children:[d.jsx("path",{d:"M12 18.25C11.8274 18.25 11.6875 18.1101 11.6875 17.9375C11.6875 17.7649 11.8274 17.625 12 17.625",strokeWidth:"1.5"}),d.jsx("path",{d:"M12 18.25C12.1726 18.25 12.3125 18.1101 12.3125 17.9375C12.3125 17.7649 12.1726 17.625 12 17.625",strokeWidth:"1.5"}),d.jsx("path",{d:"M12 15.125V8.875",strokeWidth:"1.5"}),d.jsx("path",{d:"M13.3508 3.46647C13.2268 3.21398 13.0345 3.0013 12.7957 2.85257C12.557 2.70384 12.2813 2.625 12 2.625C11.7187 2.625 11.443 2.70384 11.2042 2.85257C10.9655 3.0013 10.7732 3.21398 10.6492 3.46647L2.75501 19.5481C2.65998 19.7415 2.61579 19.9558 2.6266 20.1709C2.63741 20.386 2.70286 20.5949 2.81678 20.7776C2.9307 20.9605 3.08933 21.1112 3.2777 21.2157C3.46606 21.3202 3.67794 21.375 3.89334 21.3748H20.1067C20.3221 21.375 20.5339 21.3202 20.7223 21.2157C20.9107 21.1112 21.0693 20.9605 21.1832 20.7776C21.2972 20.5949 21.3626 20.386 21.3734 20.1709C21.3842 19.9558 21.34 19.7415 21.245 19.5481L13.3508 3.46647Z",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),d.jsx("defs",{children:d.jsx("clipPath",{id:"clip0_2681_281",children:d.jsx("rect",{width:"20",height:"20",fill:"white",transform:"translate(2 2)"})})})]}),Nt=It,Wt=({width:r="24",height:t="24",className:n=""})=>d.jsxs("svg",{width:r,height:t,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"#000000",className:n,children:[d.jsxs("g",{clipPath:"url(#clip0_2681_180)",children:[d.jsx("path",{d:"M14.6666 7.33894L12.1666 6.50561C11.7908 6.38013 11.3905 6.34579 10.9987 6.40543C10.607 6.46506 10.235 6.61696 9.91354 6.8486C9.59204 7.08025 9.33021 7.38499 9.14964 7.73771C8.96907 8.09043 8.87492 8.48102 8.87498 8.87728V12.6273L7.38248 11.4306C7.28057 11.349 7.16279 11.2894 7.03663 11.2558C6.91047 11.2222 6.77868 11.2152 6.64967 11.2352C6.52065 11.2553 6.39722 11.302 6.28723 11.3724C6.17724 11.4427 6.08311 11.5352 6.01081 11.6439C5.90769 11.7985 5.85266 11.9802 5.85266 12.166C5.85266 12.3519 5.90769 12.5335 6.01081 12.6881L8.15164 15.8998C8.50548 16.4304 8.98481 16.8654 9.54709 17.1663C10.1094 17.4672 10.7372 17.6247 11.375 17.6248H13.2408C14.072 17.6251 14.8693 17.2954 15.4575 16.7081C16.0445 16.1201 16.3742 15.3232 16.3741 14.4923V9.71061C16.3743 9.18615 16.2095 8.67493 15.903 8.2493C15.5966 7.82368 15.1641 7.5052 14.6666 7.33894Z",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),d.jsx("path",{d:"M7.625 21.375H16.375L21.375 16.375V7.625L16.375 2.625H7.625L2.625 7.625V16.375L7.625 21.375Z",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),d.jsx("defs",{children:d.jsx("clipPath",{id:"clip0_2681_180",children:d.jsx("rect",{width:"20",height:"20",fill:"white",transform:"translate(2 2)"})})})]}),zt=Wt,$t=({width:r="22",height:t="22",className:n=""})=>d.jsxs("svg",{width:r,height:t,viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:n,stroke:"#000000",children:[d.jsx("path",{d:"M1.625 20.3741L20.375 1.62415",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),d.jsx("path",{d:"M20.375 20.3741L1.625 1.62415",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),Vt=$t;function Ft(){return Math.floor(Math.random()*1e7)}const Gt=B(["flex","w-full","flex-row","justify-between","rounded","px-4","py-4","font-sans"],{variants:{variant:{success:["bg-success-green-lightest","text-success-green-darkest"],info:["bg-information-blue-lightest","text-information-blue-darkest"],warning:["bg-warning-yellow-lightest","text-neutrals-darker"],error:["bg-danger-red-lightest","text-danger-red-darkest"]}}}),Dt=r=>Re(Gt(r)),Bt=B("",{variants:{variant:{success:"text-success-green-dark",info:"text-information-blue-dark",warning:"text-warning-yellow-darkest",error:"text-danger-red-dark"}}}),ar=r=>Re(Bt(r)),Ut=B("",{variants:{variant:{success:["text-success-green-darkest","stroke-success-green-darkest"],info:["text-information-blue-darkest","stroke-information-blue-darkest"],warning:["text-neutrals-darker","stroke-neutrals-darker"],error:["text-danger-red-darkest","stroke-danger-red-darkest"]}}}),Q=r=>Re(Ut(r)),Yt=({variant:r="info",isDismissible:t=!0,showIcon:n=!0,titleSize:s="large",title:c="",description:i="",content:l=null,id:u="alert_"+Ft().toString(),handleClose:p})=>{const b={success:d.jsx(Mt,{className:Q({variant:r})}),info:d.jsx(At,{className:Q({variant:r})}),warning:d.jsx(Nt,{className:Q({variant:r})}),error:d.jsx(zt,{className:Q({variant:r})})};return d.jsxs("div",{id:u,className:Dt({variant:r}),children:[d.jsxs("div",{className:"flex flex-row",children:[n&&d.jsx("div",{className:`flex pr-2 ${s==="large"&&c!==""&&"h-[1.75rem] items-center"}`,children:b[r]}),d.jsxs("div",{className:"flex flex-col gap-3",children:[d.jsxs("div",{className:`${s==="large"?"flex-col":"flex-row"} flex gap-3`,children:[s!=="none"&&c!==""&&d.jsx("h1",{className:s==="large"?"text-xl font-semibold":"hidden",children:c}),d.jsxs("div",{className:ar({variant:r}),children:[d.jsx("span",{className:`${Q({variant:r})} ${s==="small"&&c!==""?"pr-2 text-base font-semibold":"hidden"}`,children:c}),i]})]}),l&&d.jsx("div",{className:ar({variant:r}),children:l})]})]}),t===!0&&d.jsx("button",{className:"h-5",onClick:p,children:d.jsx(Vt,{width:"1rem",height:"1rem",className:Q({variant:r})})})]})},Ht=Yt;exports.Alert=Ht;exports.Button=Gr;exports.Heading=Pt;
|
|
28
28
|
//# sourceMappingURL=index.cjs.js.map
|