@processhub-lib/react 1.0.4 → 1.0.6

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.
Files changed (50) hide show
  1. package/dist/classnames-2Mts7qXW.js +29 -0
  2. package/dist/classnames-BqI3URgS.cjs +1 -0
  3. package/dist/index-B1vZ8U-f.cjs +88 -0
  4. package/dist/index-hkfwDYXz.js +3097 -0
  5. package/dist/index.cjs.js +1 -0
  6. package/dist/index.d.ts +3 -0
  7. package/dist/index.es.js +12 -0
  8. package/dist/scripts/generate-endpoints.d.ts +1 -0
  9. package/dist/style.css +1 -0
  10. package/dist/ui/Button/colors.d.ts +162 -0
  11. package/dist/ui/Button/index.d.ts +3 -0
  12. package/dist/ui/Button/types/button.d.ts +16 -0
  13. package/dist/ui/Input/index.d.ts +3 -0
  14. package/{src/ui/Input/types/input.ts → dist/ui/Input/types/input.d.ts} +6 -7
  15. package/dist/ui/Select/index.d.ts +3 -0
  16. package/dist/ui/Select/types/select.d.ts +17 -0
  17. package/dist/ui/index.d.ts +3 -0
  18. package/dist/ui.cjs.js +1 -0
  19. package/dist/ui.d.ts +1 -0
  20. package/dist/ui.es.js +6 -0
  21. package/dist/utils/applyMask.d.ts +9 -0
  22. package/dist/utils/classnames.d.ts +16 -0
  23. package/dist/utils/formatar.d.ts +62 -0
  24. package/dist/utils/index.d.ts +4 -0
  25. package/dist/utils/isDocumento.d.ts +11 -0
  26. package/dist/utils.cjs.js +1 -0
  27. package/dist/utils.d.ts +1 -0
  28. package/dist/utils.es.js +128 -0
  29. package/package.json +5 -1
  30. package/postcss.config.js +0 -5
  31. package/src/context/ThemeContext.tsx +0 -45
  32. package/src/index.ts +0 -4
  33. package/src/scripts/generate-endpoints.ts +0 -184
  34. package/src/style.css +0 -1
  35. package/src/ui/Button/colors.tsx +0 -163
  36. package/src/ui/Button/index.tsx +0 -45
  37. package/src/ui/Button/types/button.ts +0 -17
  38. package/src/ui/Input/index.tsx +0 -74
  39. package/src/ui/Select/index.tsx +0 -150
  40. package/src/ui/Select/types/select.ts +0 -16
  41. package/src/ui/index.ts +0 -3
  42. package/src/utils/applyMask.tsx +0 -49
  43. package/src/utils/classnames.tsx +0 -89
  44. package/src/utils/formatar.tsx +0 -173
  45. package/src/utils/index.ts +0 -4
  46. package/src/utils/isDocumento.tsx +0 -46
  47. package/tailwind.config.js +0 -13
  48. package/tsconfig.json +0 -26
  49. package/tsconfig.node.json +0 -10
  50. package/vite.config.ts +0 -31
@@ -0,0 +1,29 @@
1
+ const o = {}.hasOwnProperty;
2
+ function s(...t) {
3
+ let n = "";
4
+ for (let e = 0; e < t.length; e++) {
5
+ const r = t[e];
6
+ r && (n = i(n, c(r)));
7
+ }
8
+ return n;
9
+ }
10
+ function c(t) {
11
+ if (typeof t == "string")
12
+ return t;
13
+ if (typeof t != "object" || t === null)
14
+ return "";
15
+ if (Array.isArray(t))
16
+ return s(...t);
17
+ if (t.toString !== Object.prototype.toString && !t.toString.toString().includes("[native code]"))
18
+ return t.toString();
19
+ let n = "";
20
+ for (const e in t)
21
+ o.call(t, e) && t[e] && (n = i(n, e));
22
+ return n;
23
+ }
24
+ function i(t, n) {
25
+ return n ? t ? `${t} ${n}` : n : t;
26
+ }
27
+ export {
28
+ s as c
29
+ };
@@ -0,0 +1 @@
1
+ "use strict";const s={}.hasOwnProperty;function r(...t){let n="";for(let e=0;e<t.length;e++){const i=t[e];i&&(n=o(n,c(i)))}return n}function c(t){if(typeof t=="string")return t;if(typeof t!="object"||t===null)return"";if(Array.isArray(t))return r(...t);if(t.toString!==Object.prototype.toString&&!t.toString.toString().includes("[native code]"))return t.toString();let n="";for(const e in t)s.call(t,e)&&t[e]&&(n=o(n,e));return n}function o(t,n){return n?t?`${t} ${n}`:n:t}exports.classnames=r;
@@ -0,0 +1,88 @@
1
+ "use strict";const br=require("./classnames-BqI3URgS.cjs"),I=require("react");function Nr(o){const c=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(o){for(const v in o)if(v!=="default"){const b=Object.getOwnPropertyDescriptor(o,v);Object.defineProperty(c,v,b.get?b:{enumerable:!0,get:()=>o[v]})}}return c.default=o,Object.freeze(c)}const a=Nr(I);var xr={exports:{}},cr={};/**
2
+ * @license React
3
+ * react-jsx-runtime.production.min.js
4
+ *
5
+ * Copyright (c) Facebook, Inc. and its affiliates.
6
+ *
7
+ * This source code is licensed under the MIT license found in the
8
+ * LICENSE file in the root directory of this source tree.
9
+ */var jr;function Dr(){if(jr)return cr;jr=1;var o=I,c=Symbol.for("react.element"),v=Symbol.for("react.fragment"),b=Object.prototype.hasOwnProperty,_=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,S={key:!0,ref:!0,__self:!0,__source:!0};function O(w,d,m){var f,h={},j=null,M=null;m!==void 0&&(j=""+m),d.key!==void 0&&(j=""+d.key),d.ref!==void 0&&(M=d.ref);for(f in d)b.call(d,f)&&!S.hasOwnProperty(f)&&(h[f]=d[f]);if(w&&w.defaultProps)for(f in d=w.defaultProps,d)h[f]===void 0&&(h[f]=d[f]);return{$$typeof:c,type:w,key:j,ref:M,props:h,_owner:_.current}}return cr.Fragment=v,cr.jsx=O,cr.jsxs=O,cr}var ur={};/**
10
+ * @license React
11
+ * react-jsx-runtime.development.js
12
+ *
13
+ * Copyright (c) Facebook, Inc. and its affiliates.
14
+ *
15
+ * This source code is licensed under the MIT license found in the
16
+ * LICENSE file in the root directory of this source tree.
17
+ */var Sr;function Zr(){return Sr||(Sr=1,process.env.NODE_ENV!=="production"&&function(){var o=I,c=Symbol.for("react.element"),v=Symbol.for("react.portal"),b=Symbol.for("react.fragment"),_=Symbol.for("react.strict_mode"),S=Symbol.for("react.profiler"),O=Symbol.for("react.provider"),w=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),j=Symbol.for("react.lazy"),M=Symbol.for("react.offscreen"),V=Symbol.iterator,ae="@@iterator";function oe(e){if(e===null||typeof e!="object")return null;var r=V&&e[V]||e[ae];return typeof r=="function"?r:null}var C=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function y(e){{for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];ee("error",e,t)}}function ee(e,r,t){{var n=C.ReactDebugCurrentFrame,s=n.getStackAddendum();s!==""&&(r+="%s",t=t.concat([s]));var u=t.map(function(i){return String(i)});u.unshift("Warning: "+r),Function.prototype.apply.call(console[e],console,u)}}var le=!1,Pe=!1,ie=!1,T=!1,re=!1,se;se=Symbol.for("react.module.reference");function Me(e){return!!(typeof e=="string"||typeof e=="function"||e===b||e===S||re||e===_||e===m||e===f||T||e===M||le||Pe||ie||typeof e=="object"&&e!==null&&(e.$$typeof===j||e.$$typeof===h||e.$$typeof===O||e.$$typeof===w||e.$$typeof===d||e.$$typeof===se||e.getModuleId!==void 0))}function Fe(e,r,t){var n=e.displayName;if(n)return n;var s=r.displayName||r.name||"";return s!==""?t+"("+s+")":t}function ce(e){return e.displayName||"Context"}function k(e){if(e==null)return null;if(typeof e.tag=="number"&&y("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 b:return"Fragment";case v:return"Portal";case S:return"Profiler";case _:return"StrictMode";case m:return"Suspense";case f:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case w:var r=e;return ce(r)+".Consumer";case O:var t=e;return ce(t._context)+".Provider";case d:return Fe(e,e.render,"ForwardRef");case h:var n=e.displayName||null;return n!==null?n:k(e.type)||"Memo";case j:{var s=e,u=s._payload,i=s._init;try{return k(i(u))}catch{return null}}}return null}var L=Object.assign,D=0,ue,fe,de,pe,ge,be,ve;function ye(){}ye.__reactDisabledLog=!0;function Ne(){{if(D===0){ue=console.log,fe=console.info,de=console.warn,pe=console.error,ge=console.group,be=console.groupCollapsed,ve=console.groupEnd;var e={configurable:!0,enumerable:!0,value:ye,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}D++}}function De(){{if(D--,D===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:L({},e,{value:ue}),info:L({},e,{value:fe}),warn:L({},e,{value:de}),error:L({},e,{value:pe}),group:L({},e,{value:ge}),groupCollapsed:L({},e,{value:be}),groupEnd:L({},e,{value:ve})})}D<0&&y("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var z=C.ReactCurrentDispatcher,B;function U(e,r,t){{if(B===void 0)try{throw Error()}catch(s){var n=s.stack.trim().match(/\n( *(at )?)/);B=n&&n[1]||""}return`
18
+ `+B+e}}var q=!1,H;{var Ze=typeof WeakMap=="function"?WeakMap:Map;H=new Ze}function he(e,r){if(!e||q)return"";{var t=H.get(e);if(t!==void 0)return t}var n;q=!0;var s=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var u;u=z.current,z.current=null,Ne();try{if(r){var i=function(){throw Error()};if(Object.defineProperty(i.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(i,[])}catch(E){n=E}Reflect.construct(e,[],i)}else{try{i.call()}catch(E){n=E}e.call(i.prototype)}}else{try{throw Error()}catch(E){n=E}e()}}catch(E){if(E&&n&&typeof E.stack=="string"){for(var l=E.stack.split(`
19
+ `),x=n.stack.split(`
20
+ `),p=l.length-1,g=x.length-1;p>=1&&g>=0&&l[p]!==x[g];)g--;for(;p>=1&&g>=0;p--,g--)if(l[p]!==x[g]){if(p!==1||g!==1)do if(p--,g--,g<0||l[p]!==x[g]){var R=`
21
+ `+l[p].replace(" at new "," at ");return e.displayName&&R.includes("<anonymous>")&&(R=R.replace("<anonymous>",e.displayName)),typeof e=="function"&&H.set(e,R),R}while(p>=1&&g>=0);break}}}finally{q=!1,z.current=u,De(),Error.prepareStackTrace=s}var N=e?e.displayName||e.name:"",P=N?U(N):"";return typeof e=="function"&&H.set(e,P),P}function $e(e,r,t){return he(e,!1)}function Ie(e){var r=e.prototype;return!!(r&&r.isReactComponent)}function W(e,r,t){if(e==null)return"";if(typeof e=="function")return he(e,Ie(e));if(typeof e=="string")return U(e);switch(e){case m:return U("Suspense");case f:return U("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case d:return $e(e.render);case h:return W(e.type,r,t);case j:{var n=e,s=n._payload,u=n._init;try{return W(u(s),r,t)}catch{}}}return""}var Z=Object.prototype.hasOwnProperty,me={},xe=C.ReactDebugCurrentFrame;function Y(e){if(e){var r=e._owner,t=W(e.type,e._source,r?r.type:null);xe.setExtraStackFrame(t)}else xe.setExtraStackFrame(null)}function Ve(e,r,t,n,s){{var u=Function.call.bind(Z);for(var i in e)if(u(e,i)){var l=void 0;try{if(typeof e[i]!="function"){var x=Error((n||"React class")+": "+t+" type `"+i+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[i]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw x.name="Invariant Violation",x}l=e[i](r,i,n,t,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(p){l=p}l&&!(l instanceof Error)&&(Y(s),y("%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).",n||"React class",t,i,typeof l),Y(null)),l instanceof Error&&!(l.message in me)&&(me[l.message]=!0,Y(s),y("Failed %s type: %s",t,l.message),Y(null))}}}var Ue=Array.isArray;function J(e){return Ue(e)}function He(e){{var r=typeof Symbol=="function"&&Symbol.toStringTag,t=r&&e[Symbol.toStringTag]||e.constructor.name||"Object";return t}}function We(e){try{return we(e),!1}catch{return!0}}function we(e){return""+e}function Ee(e){if(We(e))return y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",He(e)),we(e)}var _e=C.ReactCurrentOwner,Ye={key:!0,ref:!0,__self:!0,__source:!0},Re,je;function ze(e){if(Z.call(e,"ref")){var r=Object.getOwnPropertyDescriptor(e,"ref").get;if(r&&r.isReactWarning)return!1}return e.ref!==void 0}function Be(e){if(Z.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return e.key!==void 0}function qe(e,r){typeof e.ref=="string"&&_e.current}function Je(e,r){{var t=function(){Re||(Re=!0,y("%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)",r))};t.isReactWarning=!0,Object.defineProperty(e,"key",{get:t,configurable:!0})}}function Ke(e,r){{var t=function(){je||(je=!0,y("%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)",r))};t.isReactWarning=!0,Object.defineProperty(e,"ref",{get:t,configurable:!0})}}var Xe=function(e,r,t,n,s,u,i){var l={$$typeof:c,type:e,key:r,ref:t,props:i,_owner:u};return l._store={},Object.defineProperty(l._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(l,"_self",{configurable:!1,enumerable:!1,writable:!1,value:n}),Object.defineProperty(l,"_source",{configurable:!1,enumerable:!1,writable:!1,value:s}),Object.freeze&&(Object.freeze(l.props),Object.freeze(l)),l};function Ge(e,r,t,n,s){{var u,i={},l=null,x=null;t!==void 0&&(Ee(t),l=""+t),Be(r)&&(Ee(r.key),l=""+r.key),ze(r)&&(x=r.ref,qe(r,s));for(u in r)Z.call(r,u)&&!Ye.hasOwnProperty(u)&&(i[u]=r[u]);if(e&&e.defaultProps){var p=e.defaultProps;for(u in p)i[u]===void 0&&(i[u]=p[u])}if(l||x){var g=typeof e=="function"?e.displayName||e.name||"Unknown":e;l&&Je(i,g),x&&Ke(i,g)}return Xe(e,l,x,s,n,_e.current,i)}}var K=C.ReactCurrentOwner,Se=C.ReactDebugCurrentFrame;function F(e){if(e){var r=e._owner,t=W(e.type,e._source,r?r.type:null);Se.setExtraStackFrame(t)}else Se.setExtraStackFrame(null)}var X;X=!1;function G(e){return typeof e=="object"&&e!==null&&e.$$typeof===c}function Oe(){{if(K.current){var e=k(K.current.type);if(e)return`
22
+
23
+ Check the render method of \``+e+"`."}return""}}function Qe(e){return""}var ke={};function er(e){{var r=Oe();if(!r){var t=typeof e=="string"?e:e.displayName||e.name;t&&(r=`
24
+
25
+ Check the top-level render call using <`+t+">.")}return r}}function Ae(e,r){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var t=er(r);if(ke[t])return;ke[t]=!0;var n="";e&&e._owner&&e._owner!==K.current&&(n=" It was passed a child from "+k(e._owner.type)+"."),F(e),y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',t,n),F(null)}}function Ce(e,r){{if(typeof e!="object")return;if(J(e))for(var t=0;t<e.length;t++){var n=e[t];G(n)&&Ae(n,r)}else if(G(e))e._store&&(e._store.validated=!0);else if(e){var s=oe(e);if(typeof s=="function"&&s!==e.entries)for(var u=s.call(e),i;!(i=u.next()).done;)G(i.value)&&Ae(i.value,r)}}}function rr(e){{var r=e.type;if(r==null||typeof r=="string")return;var t;if(typeof r=="function")t=r.propTypes;else if(typeof r=="object"&&(r.$$typeof===d||r.$$typeof===h))t=r.propTypes;else return;if(t){var n=k(r);Ve(t,e.props,"prop",n,e)}else if(r.PropTypes!==void 0&&!X){X=!0;var s=k(r);y("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",s||"Unknown")}typeof r.getDefaultProps=="function"&&!r.getDefaultProps.isReactClassApproved&&y("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function tr(e){{for(var r=Object.keys(e.props),t=0;t<r.length;t++){var n=r[t];if(n!=="children"&&n!=="key"){F(e),y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",n),F(null);break}}e.ref!==null&&(F(e),y("Invalid attribute `ref` supplied to `React.Fragment`."),F(null))}}var Te={};function Le(e,r,t,n,s,u){{var i=Me(e);if(!i){var l="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(l+=" 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 x=Qe();x?l+=x:l+=Oe();var p;e===null?p="null":J(e)?p="array":e!==void 0&&e.$$typeof===c?(p="<"+(k(e.type)||"Unknown")+" />",l=" Did you accidentally export a JSX literal instead of a component?"):p=typeof e,y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",p,l)}var g=Ge(e,r,t,s,u);if(g==null)return g;if(i){var R=r.children;if(R!==void 0)if(n)if(J(R)){for(var N=0;N<R.length;N++)Ce(R[N],e);Object.freeze&&Object.freeze(R)}else y("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 Ce(R,e)}if(Z.call(r,"key")){var P=k(e),E=Object.keys(r).filter(function(sr){return sr!=="key"}),Q=E.length>0?"{key: someKey, "+E.join(": ..., ")+": ...}":"{key: someKey}";if(!Te[P+Q]){var ir=E.length>0?"{"+E.join(": ..., ")+": ...}":"{}";y(`A props object containing a "key" prop is being spread into JSX:
26
+ let props = %s;
27
+ <%s {...props} />
28
+ React keys must be passed directly to JSX without using spread:
29
+ let props = %s;
30
+ <%s key={someKey} {...props} />`,Q,P,ir,P),Te[P+Q]=!0}}return e===b?tr(g):rr(g),g}}function nr(e,r,t){return Le(e,r,t,!0)}function ar(e,r,t){return Le(e,r,t,!1)}var or=ar,lr=nr;ur.Fragment=b,ur.jsx=or,ur.jsxs=lr}()),ur}process.env.NODE_ENV==="production"?xr.exports=Dr():xr.exports=Zr();var A=xr.exports;const vr={green:{solid:{bg:"bg-green-500",hover:"hover:bg-green-600",text:"text-white",border:"border-green-500"},outline:{bg:"bg-transparent",hover:"hover:bg-green-500 hover:text-white",text:"text-green-600",border:"border-green-500"},ghost:{bg:"bg-transparent",hover:"hover:bg-green-100",text:"text-green-600",border:"border-transparent"}},blue:{solid:{bg:"bg-blue-500",hover:"hover:bg-blue-600",text:"text-white",border:"border-blue-500"},outline:{bg:"bg-transparent",hover:"hover:bg-blue-500 hover:text-white",text:"text-blue-600",border:"border-blue-500"},ghost:{bg:"bg-transparent",hover:"hover:bg-blue-100",text:"text-blue-600",border:"border-transparent"}},red:{solid:{bg:"bg-red-500",hover:"hover:bg-red-600",text:"text-white",border:"border-red-500"},outline:{bg:"bg-transparent",hover:"hover:bg-red-500 hover:text-white",text:"text-red-600",border:"border-red-500"},ghost:{bg:"bg-transparent",hover:"hover:bg-red-100",text:"text-red-600",border:"border-transparent"}},yellow:{solid:{bg:"bg-yellow-500",hover:"hover:bg-yellow-600",text:"text-black",border:"border-yellow-500"},outline:{bg:"bg-transparent",hover:"hover:bg-yellow-500 hover:text-black",text:"text-yellow-600",border:"border-yellow-500"},ghost:{bg:"bg-transparent",hover:"hover:bg-yellow-100",text:"text-yellow-600",border:"border-transparent"}},primary:{solid:{bg:"bg-primary",hover:"hover:bg-primary/90",text:"text-primary-foreground",border:"border-primary"},outline:{bg:"bg-transparent",hover:"hover:bg-primary hover:text-primary-foreground",text:"text-primary",border:"border-primary"},ghost:{bg:"bg-transparent",hover:"hover:bg-primary/10",text:"text-primary",border:"border-transparent"}},secondary:{solid:{bg:"bg-secondary",hover:"hover:bg-secondary/80",text:"text-secondary-foreground",border:"border-secondary"},outline:{bg:"bg-transparent",hover:"hover:bg-secondary hover:text-secondary-foreground",text:"text-secondary",border:"border-secondary"},ghost:{bg:"bg-transparent",hover:"hover:bg-secondary/10",text:"text-secondary",border:"border-transparent"}},destructive:{solid:{bg:"bg-destructive",hover:"hover:bg-destructive/90",text:"text-destructive-foreground",border:"border-destructive"},outline:{bg:"bg-transparent",hover:"hover:bg-destructive hover:text-destructive-foreground",text:"text-destructive",border:"border-destructive"},ghost:{bg:"bg-transparent",hover:"hover:bg-destructive/10",text:"text-destructive",border:"border-transparent"}},card:{solid:{bg:"bg-card",hover:"hover:bg-accent",text:"text-card-foreground",border:"border-border"},outline:{bg:"bg-transparent",hover:"hover:bg-accent",text:"text-card-foreground",border:"border-border"},ghost:{bg:"bg-transparent",hover:"hover:bg-accent/50",text:"text-card-foreground",border:"border-transparent"}}};function $r({title:o,icon:c,positionIcon:v,color:b="green",variant:_="solid",disable:S=!1,className:O,type:w="button",onClick:d=()=>{}}){const m=b in vr?vr[b]:vr.green,f=m[_]||m.solid,h=br.classnames("cursor-pointer flex items-center justify-center gap-2 px-4 py-2 rounded-lg transition-colors shadow-sm font-medium text-sm border",f.bg,f.hover,f.text,f.border,{"opacity-50 cursor-not-allowed":S},O);return A.jsxs("button",{type:w,onClick:j=>!S&&(d==null?void 0:d(j)),disabled:S,className:h,children:[v==="left"&&c,o&&A.jsx("span",{className:"first-letter:uppercase",children:o}),v==="right"&&c]})}function Ir({field:o,title:c,id:v,type:b,placeholder:_,className:S,value:O,iconPosition:w,icon:d,error:m,...f}){return A.jsxs("div",{className:"flex flex-col gap-2",children:[c&&A.jsxs("label",{htmlFor:v,className:br.classnames("block text-md font-medium text-foreground",{"text-red-700":m}),children:[f.required&&A.jsx("span",{className:"text-red-500",children:"* "}),c,":"]}),A.jsxs("div",{className:br.classnames("flex items-center justify-between border border-border text-foreground text-sm rounded-lg w-full",{"text-red-500 placeholder-red-500 border-red-500 focus:ring-red-500 focus:border-red-500":m,"p-2.5":d,"bg-input cursor-pointer":!f.disabled,"bg-gray-400/40 cursor-not-allowed":f.disabled}),children:[w==="left"&&d,A.jsx("input",{type:b,id:v,name:String(o),value:O,placeholder:_,className:br.classnames("bg-transparent border-none text-foreground text-sm focus:outline-none w-full",{"ml-3":w==="left","p-2.5":!d,"cursor-pointer":!f.disabled,"cursor-not-allowed":f.disabled,className:S}),onChange:f.onChange,...f}),w==="right"&&d]}),m&&A.jsx("div",{className:"mt-2",children:A.jsx("p",{className:"text-sm text-red-600 dark:text-red-500",children:m})})]})}const $=[];for(let o=0;o<256;++o)$.push((o+256).toString(16).slice(1));function Vr(o,c=0){return($[o[c+0]]+$[o[c+1]]+$[o[c+2]]+$[o[c+3]]+"-"+$[o[c+4]]+$[o[c+5]]+"-"+$[o[c+6]]+$[o[c+7]]+"-"+$[o[c+8]]+$[o[c+9]]+"-"+$[o[c+10]]+$[o[c+11]]+$[o[c+12]]+$[o[c+13]]+$[o[c+14]]+$[o[c+15]]).toLowerCase()}let yr;const Ur=new Uint8Array(16);function Hr(){if(!yr){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");yr=crypto.getRandomValues.bind(crypto)}return yr(Ur)}const Wr=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),Or={randomUUID:Wr};function Yr(o,c,v){var _;o=o||{};const b=o.random??((_=o.rng)==null?void 0:_.call(o))??Hr();if(b.length<16)throw new Error("Random bytes length must be >= 16");return b[6]=b[6]&15|64,b[8]=b[8]&63|128,Vr(b)}function kr(o,c,v){return Or.randomUUID&&!o?Or.randomUUID():Yr(o)}const zr=new Map([["bold",a.createElement(a.Fragment,null,a.createElement("path",{d:"M237.24,213.21C216.12,203,204,180.64,204,152V134.73a19.94,19.94,0,0,0-12.62-18.59l-24.86-9.81a4,4,0,0,1-2.26-5.14l21.33-53A32,32,0,0,0,167.17,6,32.13,32.13,0,0,0,126.25,24.2l-.07.18-21,53.09a3.94,3.94,0,0,1-2.14,2.2,3.89,3.89,0,0,1-3,.06L74.6,69.43A19.89,19.89,0,0,0,52.87,74C31.06,96.43,20,122.68,20,152a115.46,115.46,0,0,0,32.29,80.3A12,12,0,0,0,61,236H232a12,12,0,0,0,5.24-22.79ZM68.19,92.73,91.06,102A28,28,0,0,0,127.5,86.31l20.95-53a8.32,8.32,0,0,1,10.33-4.81,8,8,0,0,1,4.61,10.57,1.17,1.17,0,0,0,0,.11L142,92.29a28.05,28.05,0,0,0,15.68,36.33L180,137.45V152c0,1,0,2.07.05,3.1l-122.44-49A101.91,101.91,0,0,1,68.19,92.73ZM116.74,212a83.73,83.73,0,0,1-22.09-39,12,12,0,0,0-23.25,6,110.27,110.27,0,0,0,14.49,33H66.25A91.53,91.53,0,0,1,44,152a84,84,0,0,1,3.41-24.11l136.67,54.66A86.58,86.58,0,0,0,198.66,212Z"}))],["duotone",a.createElement(a.Fragment,null,a.createElement("path",{d:"M192.8,165.12,43.93,105.57A110.88,110.88,0,0,1,61.47,82.38a8,8,0,0,1,8.67-1.81L95.52,90.85a16,16,0,0,0,20.82-9l21-53.1c4.15-10,15.47-15.33,25.63-11.53a20,20,0,0,1,11.51,26.39L153.13,96.71a16,16,0,0,0,8.93,20.75L187,127.3a8,8,0,0,1,5,7.43V152A104.58,104.58,0,0,0,192.8,165.12Z",opacity:"0.2"}),a.createElement("path",{d:"M235.5,216.81c-22.56-11-35.5-34.58-35.5-64.8V134.73a15.94,15.94,0,0,0-10.09-14.87L165,110a8,8,0,0,1-4.48-10.34l21.32-53a28,28,0,0,0-16.1-37,28.14,28.14,0,0,0-35.82,16,.61.61,0,0,0,0,.12L108.9,79a8,8,0,0,1-10.37,4.49L73.11,73.14A15.89,15.89,0,0,0,55.74,76.8C34.68,98.45,24,123.75,24,152a111.45,111.45,0,0,0,31.18,77.53A8,8,0,0,0,61,232H232a8,8,0,0,0,3.5-15.19ZM67.14,88l25.41,10.3a24,24,0,0,0,31.23-13.45l21-53c2.56-6.11,9.47-9.27,15.43-7a12,12,0,0,1,6.88,15.92L145.69,93.76a24,24,0,0,0,13.43,31.14L184,134.73V152c0,.33,0,.66,0,1L55.77,101.71A108.84,108.84,0,0,1,67.14,88Zm48,128a87.53,87.53,0,0,1-24.34-42,8,8,0,0,0-15.49,4,105.16,105.16,0,0,0,18.36,38H64.44A95.54,95.54,0,0,1,40,152a85.9,85.9,0,0,1,7.73-36.29l137.8,55.12c3,18,10.56,33.48,21.89,45.16Z"}))],["fill",a.createElement(a.Fragment,null,a.createElement("path",{d:"M235.29,216.7C212.86,205.69,200,182.12,200,152V134.69a15.94,15.94,0,0,0-10.09-14.87l-28.65-11.46A8,8,0,0,1,156.79,98l22.32-56.67C184,28.79,178,14.21,165.34,9.51a24,24,0,0,0-30.7,13.71L112.25,80.08a8,8,0,0,1-10.41,4.5L73.11,73.08a15.91,15.91,0,0,0-17.38,3.66C34.68,98.4,24,123.71,24,152a111.53,111.53,0,0,0,31.15,77.53A8.06,8.06,0,0,0,61,232H232a8,8,0,0,0,8-7.51A8.21,8.21,0,0,0,235.29,216.7ZM115.11,216a87.52,87.52,0,0,1-24.26-41.71,8.21,8.21,0,0,0-9.25-6.18A8,8,0,0,0,75.28,178a105.33,105.33,0,0,0,18.36,38H64.44A95.62,95.62,0,0,1,40,152a85.92,85.92,0,0,1,7.73-36.3l137.8,55.13c3,18.06,10.55,33.5,21.89,45.19Z"}))],["light",a.createElement(a.Fragment,null,a.createElement("path",{d:"M234.62,218.6C211.35,207.29,198,183,198,152V134.7a14,14,0,0,0-8.82-13l-24.89-9.83a10,10,0,0,1-5.59-13L180,45.9a26,26,0,0,0-15-34.33c-12.95-4.83-27.88,1.84-33.31,15l-21,53.11a10,10,0,0,1-13,5.61L72.37,75a13.9,13.9,0,0,0-15.2,3.19C36.49,99.42,26,124.26,26,152a109.53,109.53,0,0,0,30.62,76.16A6,6,0,0,0,61,230H232a6,6,0,0,0,2.62-11.4ZM65.77,86.52a2,2,0,0,1,2.12-.43l25.4,10.29a22,22,0,0,0,28.63-12.32l21-53c3-7.13,11-10.81,18-8.21a14,14,0,0,1,8,18.54l-21.36,53.1A22.05,22.05,0,0,0,159.86,123l24.88,9.83A2,2,0,0,1,186,134.7V152c0,1.34,0,2.65.08,4L52.74,102.61A110.07,110.07,0,0,1,65.77,86.52ZM114.33,218a89.6,89.6,0,0,1-25.5-43.5,6,6,0,1,0-11.62,3A102.87,102.87,0,0,0,97.81,218H63.56A97.56,97.56,0,0,1,38,152a87.42,87.42,0,0,1,8.71-38.86L187.35,169.4c3.15,19.92,11.77,36.66,25,48.6Z"}))],["regular",a.createElement(a.Fragment,null,a.createElement("path",{d:"M235.5,216.81c-22.56-11-35.5-34.58-35.5-64.8V134.73a15.94,15.94,0,0,0-10.09-14.87L165,110a8,8,0,0,1-4.48-10.34l21.32-53a28,28,0,0,0-16.1-37,28.14,28.14,0,0,0-35.82,16,.61.61,0,0,0,0,.12L108.9,79a8,8,0,0,1-10.37,4.49L73.11,73.14A15.89,15.89,0,0,0,55.74,76.8C34.68,98.45,24,123.75,24,152a111.45,111.45,0,0,0,31.18,77.53A8,8,0,0,0,61,232H232a8,8,0,0,0,3.5-15.19ZM67.14,88l25.41,10.3a24,24,0,0,0,31.23-13.45l21-53c2.56-6.11,9.47-9.27,15.43-7a12,12,0,0,1,6.88,15.92L145.69,93.76a24,24,0,0,0,13.43,31.14L184,134.73V152c0,.33,0,.66,0,1L55.77,101.71A108.84,108.84,0,0,1,67.14,88Zm48,128a87.53,87.53,0,0,1-24.34-42,8,8,0,0,0-15.49,4,105.16,105.16,0,0,0,18.36,38H64.44A95.54,95.54,0,0,1,40,152a85.9,85.9,0,0,1,7.73-36.29l137.8,55.12c3,18,10.56,33.48,21.89,45.16Z"}))],["thin",a.createElement(a.Fragment,null,a.createElement("path",{d:"M233.75,220.4C209.76,208.75,196,183.82,196,152V134.72a12,12,0,0,0-7.56-11.15l-24.89-9.83a12,12,0,0,1-6.71-15.55l21.33-53a23.88,23.88,0,0,0-31.93-31A24.72,24.72,0,0,0,133.62,27.3l-21,53.1A12,12,0,0,1,97,87.13L71.63,76.84a12,12,0,0,0-13,2.73C38.3,100.45,28,124.82,28,152a107.5,107.5,0,0,0,30.07,74.77A4,4,0,0,0,61,228H232a4,4,0,0,0,1.75-7.6ZM64.34,85.15a3.94,3.94,0,0,1,4.3-.89L94,94.55a20,20,0,0,0,26-11.2l21-53C144.39,22.19,153.61,18,161.58,21a16,16,0,0,1,9.19,21.16L149.41,95.22a20,20,0,0,0,11.18,26l24.9,9.83a4,4,0,0,1,2.51,3.72V152c0,2.36.08,4.69.22,7l-138.5-55.4A110.84,110.84,0,0,1,64.34,85.15ZM113.56,220A91.35,91.35,0,0,1,86.9,175a4,4,0,0,0-7.75,2,100.21,100.21,0,0,0,23.09,43H62.68A99.5,99.5,0,0,1,36,152a89.37,89.37,0,0,1,9.73-41.4L189.13,168c3.22,22,13.23,40.09,28.8,52Z"}))]]),Br=new Map([["bold",a.createElement(a.Fragment,null,a.createElement("path",{d:"M232.49,215.51,185,168a92.12,92.12,0,1,0-17,17l47.53,47.54a12,12,0,0,0,17-17ZM44,112a68,68,0,1,1,68,68A68.07,68.07,0,0,1,44,112Z"}))],["duotone",a.createElement(a.Fragment,null,a.createElement("path",{d:"M192,112a80,80,0,1,1-80-80A80,80,0,0,1,192,112Z",opacity:"0.2"}),a.createElement("path",{d:"M229.66,218.34,179.6,168.28a88.21,88.21,0,1,0-11.32,11.31l50.06,50.07a8,8,0,0,0,11.32-11.32ZM40,112a72,72,0,1,1,72,72A72.08,72.08,0,0,1,40,112Z"}))],["fill",a.createElement(a.Fragment,null,a.createElement("path",{d:"M168,112a56,56,0,1,1-56-56A56,56,0,0,1,168,112Zm61.66,117.66a8,8,0,0,1-11.32,0l-50.06-50.07a88,88,0,1,1,11.32-11.31l50.06,50.06A8,8,0,0,1,229.66,229.66ZM112,184a72,72,0,1,0-72-72A72.08,72.08,0,0,0,112,184Z"}))],["light",a.createElement(a.Fragment,null,a.createElement("path",{d:"M228.24,219.76l-51.38-51.38a86.15,86.15,0,1,0-8.48,8.48l51.38,51.38a6,6,0,0,0,8.48-8.48ZM38,112a74,74,0,1,1,74,74A74.09,74.09,0,0,1,38,112Z"}))],["regular",a.createElement(a.Fragment,null,a.createElement("path",{d:"M229.66,218.34l-50.07-50.06a88.11,88.11,0,1,0-11.31,11.31l50.06,50.07a8,8,0,0,0,11.32-11.32ZM40,112a72,72,0,1,1,72,72A72.08,72.08,0,0,1,40,112Z"}))],["thin",a.createElement(a.Fragment,null,a.createElement("path",{d:"M226.83,221.17l-52.7-52.7a84.1,84.1,0,1,0-5.66,5.66l52.7,52.7a4,4,0,0,0,5.66-5.66ZM36,112a76,76,0,1,1,76,76A76.08,76.08,0,0,1,36,112Z"}))]]),qr=I.createContext({color:"currentColor",size:"1em",weight:"regular",mirrored:!1}),Er=a.forwardRef((o,c)=>{const{alt:v,color:b,size:_,weight:S,mirrored:O,children:w,weights:d,...m}=o,{color:f="currentColor",size:h,weight:j="regular",mirrored:M=!1,...V}=a.useContext(qr);return a.createElement("svg",{ref:c,xmlns:"http://www.w3.org/2000/svg",width:_??h,height:_??h,fill:b??f,viewBox:"0 0 256 256",transform:O||M?"scale(-1, 1)":void 0,...V,...m},!!v&&a.createElement("title",null,v),w,d.get(S??j))});Er.displayName="IconBase";const Pr=a.forwardRef((o,c)=>a.createElement(Er,{ref:c,...o,weights:zr}));Pr.displayName="BroomIcon";const Mr=a.forwardRef((o,c)=>a.createElement(Er,{ref:c,...o,weights:Br}));Mr.displayName="MagnifyingGlassIcon";const Jr={}.hasOwnProperty;function ne(...o){let c="";for(let v=0;v<o.length;v++){const b=o[v];b&&(c=Fr(c,Kr(b)))}return c}function Kr(o){if(typeof o=="string")return o;if(typeof o!="object"||o===null)return"";if(Array.isArray(o))return ne(...o);if(o.toString!==Object.prototype.toString&&!o.toString.toString().includes("[native code]"))return o.toString();let c="";for(const v in o)Jr.call(o,v)&&o[v]&&(c=Fr(c,v));return c}function Fr(o,c){return c?o?`${o} ${c}`:c:o}var wr={exports:{}},fr={};/**
31
+ * @license React
32
+ * react-jsx-runtime.production.min.js
33
+ *
34
+ * Copyright (c) Facebook, Inc. and its affiliates.
35
+ *
36
+ * This source code is licensed under the MIT license found in the
37
+ * LICENSE file in the root directory of this source tree.
38
+ */var Ar;function Xr(){if(Ar)return fr;Ar=1;var o=I,c=Symbol.for("react.element"),v=Symbol.for("react.fragment"),b=Object.prototype.hasOwnProperty,_=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,S={key:!0,ref:!0,__self:!0,__source:!0};function O(w,d,m){var f,h={},j=null,M=null;m!==void 0&&(j=""+m),d.key!==void 0&&(j=""+d.key),d.ref!==void 0&&(M=d.ref);for(f in d)b.call(d,f)&&!S.hasOwnProperty(f)&&(h[f]=d[f]);if(w&&w.defaultProps)for(f in d=w.defaultProps,d)h[f]===void 0&&(h[f]=d[f]);return{$$typeof:c,type:w,key:j,ref:M,props:h,_owner:_.current}}return fr.Fragment=v,fr.jsx=O,fr.jsxs=O,fr}var pr={};/**
39
+ * @license React
40
+ * react-jsx-runtime.development.js
41
+ *
42
+ * Copyright (c) Facebook, Inc. and its affiliates.
43
+ *
44
+ * This source code is licensed under the MIT license found in the
45
+ * LICENSE file in the root directory of this source tree.
46
+ */var Cr;function Gr(){return Cr||(Cr=1,process.env.NODE_ENV!=="production"&&function(){var o=I,c=Symbol.for("react.element"),v=Symbol.for("react.portal"),b=Symbol.for("react.fragment"),_=Symbol.for("react.strict_mode"),S=Symbol.for("react.profiler"),O=Symbol.for("react.provider"),w=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),j=Symbol.for("react.lazy"),M=Symbol.for("react.offscreen"),V=Symbol.iterator,ae="@@iterator";function oe(e){if(e===null||typeof e!="object")return null;var r=V&&e[V]||e[ae];return typeof r=="function"?r:null}var C=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function y(e){{for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];ee("error",e,t)}}function ee(e,r,t){{var n=C.ReactDebugCurrentFrame,s=n.getStackAddendum();s!==""&&(r+="%s",t=t.concat([s]));var u=t.map(function(i){return String(i)});u.unshift("Warning: "+r),Function.prototype.apply.call(console[e],console,u)}}var le=!1,Pe=!1,ie=!1,T=!1,re=!1,se;se=Symbol.for("react.module.reference");function Me(e){return!!(typeof e=="string"||typeof e=="function"||e===b||e===S||re||e===_||e===m||e===f||T||e===M||le||Pe||ie||typeof e=="object"&&e!==null&&(e.$$typeof===j||e.$$typeof===h||e.$$typeof===O||e.$$typeof===w||e.$$typeof===d||e.$$typeof===se||e.getModuleId!==void 0))}function Fe(e,r,t){var n=e.displayName;if(n)return n;var s=r.displayName||r.name||"";return s!==""?t+"("+s+")":t}function ce(e){return e.displayName||"Context"}function k(e){if(e==null)return null;if(typeof e.tag=="number"&&y("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 b:return"Fragment";case v:return"Portal";case S:return"Profiler";case _:return"StrictMode";case m:return"Suspense";case f:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case w:var r=e;return ce(r)+".Consumer";case O:var t=e;return ce(t._context)+".Provider";case d:return Fe(e,e.render,"ForwardRef");case h:var n=e.displayName||null;return n!==null?n:k(e.type)||"Memo";case j:{var s=e,u=s._payload,i=s._init;try{return k(i(u))}catch{return null}}}return null}var L=Object.assign,D=0,ue,fe,de,pe,ge,be,ve;function ye(){}ye.__reactDisabledLog=!0;function Ne(){{if(D===0){ue=console.log,fe=console.info,de=console.warn,pe=console.error,ge=console.group,be=console.groupCollapsed,ve=console.groupEnd;var e={configurable:!0,enumerable:!0,value:ye,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}D++}}function De(){{if(D--,D===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:L({},e,{value:ue}),info:L({},e,{value:fe}),warn:L({},e,{value:de}),error:L({},e,{value:pe}),group:L({},e,{value:ge}),groupCollapsed:L({},e,{value:be}),groupEnd:L({},e,{value:ve})})}D<0&&y("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var z=C.ReactCurrentDispatcher,B;function U(e,r,t){{if(B===void 0)try{throw Error()}catch(s){var n=s.stack.trim().match(/\n( *(at )?)/);B=n&&n[1]||""}return`
47
+ `+B+e}}var q=!1,H;{var Ze=typeof WeakMap=="function"?WeakMap:Map;H=new Ze}function he(e,r){if(!e||q)return"";{var t=H.get(e);if(t!==void 0)return t}var n;q=!0;var s=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var u;u=z.current,z.current=null,Ne();try{if(r){var i=function(){throw Error()};if(Object.defineProperty(i.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(i,[])}catch(E){n=E}Reflect.construct(e,[],i)}else{try{i.call()}catch(E){n=E}e.call(i.prototype)}}else{try{throw Error()}catch(E){n=E}e()}}catch(E){if(E&&n&&typeof E.stack=="string"){for(var l=E.stack.split(`
48
+ `),x=n.stack.split(`
49
+ `),p=l.length-1,g=x.length-1;p>=1&&g>=0&&l[p]!==x[g];)g--;for(;p>=1&&g>=0;p--,g--)if(l[p]!==x[g]){if(p!==1||g!==1)do if(p--,g--,g<0||l[p]!==x[g]){var R=`
50
+ `+l[p].replace(" at new "," at ");return e.displayName&&R.includes("<anonymous>")&&(R=R.replace("<anonymous>",e.displayName)),typeof e=="function"&&H.set(e,R),R}while(p>=1&&g>=0);break}}}finally{q=!1,z.current=u,De(),Error.prepareStackTrace=s}var N=e?e.displayName||e.name:"",P=N?U(N):"";return typeof e=="function"&&H.set(e,P),P}function $e(e,r,t){return he(e,!1)}function Ie(e){var r=e.prototype;return!!(r&&r.isReactComponent)}function W(e,r,t){if(e==null)return"";if(typeof e=="function")return he(e,Ie(e));if(typeof e=="string")return U(e);switch(e){case m:return U("Suspense");case f:return U("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case d:return $e(e.render);case h:return W(e.type,r,t);case j:{var n=e,s=n._payload,u=n._init;try{return W(u(s),r,t)}catch{}}}return""}var Z=Object.prototype.hasOwnProperty,me={},xe=C.ReactDebugCurrentFrame;function Y(e){if(e){var r=e._owner,t=W(e.type,e._source,r?r.type:null);xe.setExtraStackFrame(t)}else xe.setExtraStackFrame(null)}function Ve(e,r,t,n,s){{var u=Function.call.bind(Z);for(var i in e)if(u(e,i)){var l=void 0;try{if(typeof e[i]!="function"){var x=Error((n||"React class")+": "+t+" type `"+i+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[i]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw x.name="Invariant Violation",x}l=e[i](r,i,n,t,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(p){l=p}l&&!(l instanceof Error)&&(Y(s),y("%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).",n||"React class",t,i,typeof l),Y(null)),l instanceof Error&&!(l.message in me)&&(me[l.message]=!0,Y(s),y("Failed %s type: %s",t,l.message),Y(null))}}}var Ue=Array.isArray;function J(e){return Ue(e)}function He(e){{var r=typeof Symbol=="function"&&Symbol.toStringTag,t=r&&e[Symbol.toStringTag]||e.constructor.name||"Object";return t}}function We(e){try{return we(e),!1}catch{return!0}}function we(e){return""+e}function Ee(e){if(We(e))return y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",He(e)),we(e)}var _e=C.ReactCurrentOwner,Ye={key:!0,ref:!0,__self:!0,__source:!0},Re,je;function ze(e){if(Z.call(e,"ref")){var r=Object.getOwnPropertyDescriptor(e,"ref").get;if(r&&r.isReactWarning)return!1}return e.ref!==void 0}function Be(e){if(Z.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return e.key!==void 0}function qe(e,r){typeof e.ref=="string"&&_e.current}function Je(e,r){{var t=function(){Re||(Re=!0,y("%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)",r))};t.isReactWarning=!0,Object.defineProperty(e,"key",{get:t,configurable:!0})}}function Ke(e,r){{var t=function(){je||(je=!0,y("%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)",r))};t.isReactWarning=!0,Object.defineProperty(e,"ref",{get:t,configurable:!0})}}var Xe=function(e,r,t,n,s,u,i){var l={$$typeof:c,type:e,key:r,ref:t,props:i,_owner:u};return l._store={},Object.defineProperty(l._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(l,"_self",{configurable:!1,enumerable:!1,writable:!1,value:n}),Object.defineProperty(l,"_source",{configurable:!1,enumerable:!1,writable:!1,value:s}),Object.freeze&&(Object.freeze(l.props),Object.freeze(l)),l};function Ge(e,r,t,n,s){{var u,i={},l=null,x=null;t!==void 0&&(Ee(t),l=""+t),Be(r)&&(Ee(r.key),l=""+r.key),ze(r)&&(x=r.ref,qe(r));for(u in r)Z.call(r,u)&&!Ye.hasOwnProperty(u)&&(i[u]=r[u]);if(e&&e.defaultProps){var p=e.defaultProps;for(u in p)i[u]===void 0&&(i[u]=p[u])}if(l||x){var g=typeof e=="function"?e.displayName||e.name||"Unknown":e;l&&Je(i,g),x&&Ke(i,g)}return Xe(e,l,x,s,n,_e.current,i)}}var K=C.ReactCurrentOwner,Se=C.ReactDebugCurrentFrame;function F(e){if(e){var r=e._owner,t=W(e.type,e._source,r?r.type:null);Se.setExtraStackFrame(t)}else Se.setExtraStackFrame(null)}var X;X=!1;function G(e){return typeof e=="object"&&e!==null&&e.$$typeof===c}function Oe(){{if(K.current){var e=k(K.current.type);if(e)return`
51
+
52
+ Check the render method of \``+e+"`."}return""}}function Qe(e){return""}var ke={};function er(e){{var r=Oe();if(!r){var t=typeof e=="string"?e:e.displayName||e.name;t&&(r=`
53
+
54
+ Check the top-level render call using <`+t+">.")}return r}}function Ae(e,r){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var t=er(r);if(ke[t])return;ke[t]=!0;var n="";e&&e._owner&&e._owner!==K.current&&(n=" It was passed a child from "+k(e._owner.type)+"."),F(e),y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',t,n),F(null)}}function Ce(e,r){{if(typeof e!="object")return;if(J(e))for(var t=0;t<e.length;t++){var n=e[t];G(n)&&Ae(n,r)}else if(G(e))e._store&&(e._store.validated=!0);else if(e){var s=oe(e);if(typeof s=="function"&&s!==e.entries)for(var u=s.call(e),i;!(i=u.next()).done;)G(i.value)&&Ae(i.value,r)}}}function rr(e){{var r=e.type;if(r==null||typeof r=="string")return;var t;if(typeof r=="function")t=r.propTypes;else if(typeof r=="object"&&(r.$$typeof===d||r.$$typeof===h))t=r.propTypes;else return;if(t){var n=k(r);Ve(t,e.props,"prop",n,e)}else if(r.PropTypes!==void 0&&!X){X=!0;var s=k(r);y("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",s||"Unknown")}typeof r.getDefaultProps=="function"&&!r.getDefaultProps.isReactClassApproved&&y("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function tr(e){{for(var r=Object.keys(e.props),t=0;t<r.length;t++){var n=r[t];if(n!=="children"&&n!=="key"){F(e),y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",n),F(null);break}}e.ref!==null&&(F(e),y("Invalid attribute `ref` supplied to `React.Fragment`."),F(null))}}var Te={};function Le(e,r,t,n,s,u){{var i=Me(e);if(!i){var l="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(l+=" 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 x=Qe();x?l+=x:l+=Oe();var p;e===null?p="null":J(e)?p="array":e!==void 0&&e.$$typeof===c?(p="<"+(k(e.type)||"Unknown")+" />",l=" Did you accidentally export a JSX literal instead of a component?"):p=typeof e,y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",p,l)}var g=Ge(e,r,t,s,u);if(g==null)return g;if(i){var R=r.children;if(R!==void 0)if(n)if(J(R)){for(var N=0;N<R.length;N++)Ce(R[N],e);Object.freeze&&Object.freeze(R)}else y("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 Ce(R,e)}if(Z.call(r,"key")){var P=k(e),E=Object.keys(r).filter(function(sr){return sr!=="key"}),Q=E.length>0?"{key: someKey, "+E.join(": ..., ")+": ...}":"{key: someKey}";if(!Te[P+Q]){var ir=E.length>0?"{"+E.join(": ..., ")+": ...}":"{}";y(`A props object containing a "key" prop is being spread into JSX:
55
+ let props = %s;
56
+ <%s {...props} />
57
+ React keys must be passed directly to JSX without using spread:
58
+ let props = %s;
59
+ <%s key={someKey} {...props} />`,Q,P,ir,P),Te[P+Q]=!0}}return e===b?tr(g):rr(g),g}}function nr(e,r,t){return Le(e,r,t,!0)}function ar(e,r,t){return Le(e,r,t,!1)}var or=ar,lr=nr;pr.Fragment=b,pr.jsx=or,pr.jsxs=lr}()),pr}process.env.NODE_ENV==="production"?wr.exports=Xr():wr.exports=Gr();var te=wr.exports;const hr={green:{solid:{bg:"bg-green-500",hover:"hover:bg-green-600",text:"text-white",border:"border-green-500"},outline:{bg:"bg-transparent",hover:"hover:bg-green-500 hover:text-white",text:"text-green-600",border:"border-green-500"},ghost:{bg:"bg-transparent",hover:"hover:bg-green-100",text:"text-green-600",border:"border-transparent"}},blue:{solid:{bg:"bg-blue-500",hover:"hover:bg-blue-600",text:"text-white",border:"border-blue-500"},outline:{bg:"bg-transparent",hover:"hover:bg-blue-500 hover:text-white",text:"text-blue-600",border:"border-blue-500"},ghost:{bg:"bg-transparent",hover:"hover:bg-blue-100",text:"text-blue-600",border:"border-transparent"}},red:{solid:{bg:"bg-red-500",hover:"hover:bg-red-600",text:"text-white",border:"border-red-500"},outline:{bg:"bg-transparent",hover:"hover:bg-red-500 hover:text-white",text:"text-red-600",border:"border-red-500"},ghost:{bg:"bg-transparent",hover:"hover:bg-red-100",text:"text-red-600",border:"border-transparent"}},yellow:{solid:{bg:"bg-yellow-500",hover:"hover:bg-yellow-600",text:"text-black",border:"border-yellow-500"},outline:{bg:"bg-transparent",hover:"hover:bg-yellow-500 hover:text-black",text:"text-yellow-600",border:"border-yellow-500"},ghost:{bg:"bg-transparent",hover:"hover:bg-yellow-100",text:"text-yellow-600",border:"border-transparent"}},primary:{solid:{bg:"bg-primary",hover:"hover:bg-primary/90",text:"text-primary-foreground",border:"border-primary"},outline:{bg:"bg-transparent",hover:"hover:bg-primary hover:text-primary-foreground",text:"text-primary",border:"border-primary"},ghost:{bg:"bg-transparent",hover:"hover:bg-primary/10",text:"text-primary",border:"border-transparent"}},secondary:{solid:{bg:"bg-secondary",hover:"hover:bg-secondary/80",text:"text-secondary-foreground",border:"border-secondary"},outline:{bg:"bg-transparent",hover:"hover:bg-secondary hover:text-secondary-foreground",text:"text-secondary",border:"border-secondary"},ghost:{bg:"bg-transparent",hover:"hover:bg-secondary/10",text:"text-secondary",border:"border-transparent"}},destructive:{solid:{bg:"bg-destructive",hover:"hover:bg-destructive/90",text:"text-destructive-foreground",border:"border-destructive"},outline:{bg:"bg-transparent",hover:"hover:bg-destructive hover:text-destructive-foreground",text:"text-destructive",border:"border-destructive"},ghost:{bg:"bg-transparent",hover:"hover:bg-destructive/10",text:"text-destructive",border:"border-transparent"}},card:{solid:{bg:"bg-card",hover:"hover:bg-accent",text:"text-card-foreground",border:"border-border"},outline:{bg:"bg-transparent",hover:"hover:bg-accent",text:"text-card-foreground",border:"border-border"},ghost:{bg:"bg-transparent",hover:"hover:bg-accent/50",text:"text-card-foreground",border:"border-transparent"}}};function Qr({title:o,icon:c,positionIcon:v,color:b="green",variant:_="solid",disable:S=!1,className:O,type:w="button",onClick:d=()=>{}}){const m=b in hr?hr[b]:hr.green,f=m[_]||m.solid,h=ne("cursor-pointer flex items-center justify-center gap-2 px-4 py-2 rounded-lg transition-colors shadow-sm font-medium text-sm border",f.bg,f.hover,f.text,f.border,{"opacity-50 cursor-not-allowed":S},O);return te.jsxs("button",{type:w,onClick:j=>!S&&(d==null?void 0:d(j)),disabled:S,className:h,children:[v==="left"&&c,o&&te.jsx("span",{className:"first-letter:uppercase",children:o}),v==="right"&&c]})}function et({field:o,title:c,id:v,type:b,placeholder:_,className:S,value:O,iconPosition:w,icon:d,error:m,...f}){return te.jsxs("div",{className:"flex flex-col gap-2",children:[c&&te.jsxs("label",{htmlFor:v,className:ne("block text-md font-medium text-foreground",{"text-red-700":m}),children:[f.required&&te.jsx("span",{className:"text-red-500",children:"* "}),c,":"]}),te.jsxs("div",{className:ne("flex items-center justify-between border border-border text-foreground text-sm rounded-lg w-full",{"text-red-500 placeholder-red-500 border-red-500 focus:ring-red-500 focus:border-red-500":m,"p-2.5":d,"bg-input cursor-pointer":!f.disabled,"bg-gray-400/40 cursor-not-allowed":f.disabled}),children:[w==="left"&&d,te.jsx("input",{type:b,id:v,name:String(o),value:O,placeholder:_,className:ne("bg-transparent border-none text-foreground text-sm focus:outline-none w-full",{"ml-3":w==="left","p-2.5":!d,"cursor-pointer":!f.disabled,"cursor-not-allowed":f.disabled,className:S}),onChange:f.onChange,...f}),w==="right"&&d]}),m&&te.jsx("div",{className:"mt-2",children:te.jsx("p",{className:"text-sm text-red-600 dark:text-red-500",children:m})})]})}const rt=[];for(let o=0;o<256;++o)rt.push((o+256).toString(16).slice(1));typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto);const tt=new Map([["bold",a.createElement(a.Fragment,null,a.createElement("path",{d:"M237.24,213.21C216.12,203,204,180.64,204,152V134.73a19.94,19.94,0,0,0-12.62-18.59l-24.86-9.81a4,4,0,0,1-2.26-5.14l21.33-53A32,32,0,0,0,167.17,6,32.13,32.13,0,0,0,126.25,24.2l-.07.18-21,53.09a3.94,3.94,0,0,1-2.14,2.2,3.89,3.89,0,0,1-3,.06L74.6,69.43A19.89,19.89,0,0,0,52.87,74C31.06,96.43,20,122.68,20,152a115.46,115.46,0,0,0,32.29,80.3A12,12,0,0,0,61,236H232a12,12,0,0,0,5.24-22.79ZM68.19,92.73,91.06,102A28,28,0,0,0,127.5,86.31l20.95-53a8.32,8.32,0,0,1,10.33-4.81,8,8,0,0,1,4.61,10.57,1.17,1.17,0,0,0,0,.11L142,92.29a28.05,28.05,0,0,0,15.68,36.33L180,137.45V152c0,1,0,2.07.05,3.1l-122.44-49A101.91,101.91,0,0,1,68.19,92.73ZM116.74,212a83.73,83.73,0,0,1-22.09-39,12,12,0,0,0-23.25,6,110.27,110.27,0,0,0,14.49,33H66.25A91.53,91.53,0,0,1,44,152a84,84,0,0,1,3.41-24.11l136.67,54.66A86.58,86.58,0,0,0,198.66,212Z"}))],["duotone",a.createElement(a.Fragment,null,a.createElement("path",{d:"M192.8,165.12,43.93,105.57A110.88,110.88,0,0,1,61.47,82.38a8,8,0,0,1,8.67-1.81L95.52,90.85a16,16,0,0,0,20.82-9l21-53.1c4.15-10,15.47-15.33,25.63-11.53a20,20,0,0,1,11.51,26.39L153.13,96.71a16,16,0,0,0,8.93,20.75L187,127.3a8,8,0,0,1,5,7.43V152A104.58,104.58,0,0,0,192.8,165.12Z",opacity:"0.2"}),a.createElement("path",{d:"M235.5,216.81c-22.56-11-35.5-34.58-35.5-64.8V134.73a15.94,15.94,0,0,0-10.09-14.87L165,110a8,8,0,0,1-4.48-10.34l21.32-53a28,28,0,0,0-16.1-37,28.14,28.14,0,0,0-35.82,16,.61.61,0,0,0,0,.12L108.9,79a8,8,0,0,1-10.37,4.49L73.11,73.14A15.89,15.89,0,0,0,55.74,76.8C34.68,98.45,24,123.75,24,152a111.45,111.45,0,0,0,31.18,77.53A8,8,0,0,0,61,232H232a8,8,0,0,0,3.5-15.19ZM67.14,88l25.41,10.3a24,24,0,0,0,31.23-13.45l21-53c2.56-6.11,9.47-9.27,15.43-7a12,12,0,0,1,6.88,15.92L145.69,93.76a24,24,0,0,0,13.43,31.14L184,134.73V152c0,.33,0,.66,0,1L55.77,101.71A108.84,108.84,0,0,1,67.14,88Zm48,128a87.53,87.53,0,0,1-24.34-42,8,8,0,0,0-15.49,4,105.16,105.16,0,0,0,18.36,38H64.44A95.54,95.54,0,0,1,40,152a85.9,85.9,0,0,1,7.73-36.29l137.8,55.12c3,18,10.56,33.48,21.89,45.16Z"}))],["fill",a.createElement(a.Fragment,null,a.createElement("path",{d:"M235.29,216.7C212.86,205.69,200,182.12,200,152V134.69a15.94,15.94,0,0,0-10.09-14.87l-28.65-11.46A8,8,0,0,1,156.79,98l22.32-56.67C184,28.79,178,14.21,165.34,9.51a24,24,0,0,0-30.7,13.71L112.25,80.08a8,8,0,0,1-10.41,4.5L73.11,73.08a15.91,15.91,0,0,0-17.38,3.66C34.68,98.4,24,123.71,24,152a111.53,111.53,0,0,0,31.15,77.53A8.06,8.06,0,0,0,61,232H232a8,8,0,0,0,8-7.51A8.21,8.21,0,0,0,235.29,216.7ZM115.11,216a87.52,87.52,0,0,1-24.26-41.71,8.21,8.21,0,0,0-9.25-6.18A8,8,0,0,0,75.28,178a105.33,105.33,0,0,0,18.36,38H64.44A95.62,95.62,0,0,1,40,152a85.92,85.92,0,0,1,7.73-36.3l137.8,55.13c3,18.06,10.55,33.5,21.89,45.19Z"}))],["light",a.createElement(a.Fragment,null,a.createElement("path",{d:"M234.62,218.6C211.35,207.29,198,183,198,152V134.7a14,14,0,0,0-8.82-13l-24.89-9.83a10,10,0,0,1-5.59-13L180,45.9a26,26,0,0,0-15-34.33c-12.95-4.83-27.88,1.84-33.31,15l-21,53.11a10,10,0,0,1-13,5.61L72.37,75a13.9,13.9,0,0,0-15.2,3.19C36.49,99.42,26,124.26,26,152a109.53,109.53,0,0,0,30.62,76.16A6,6,0,0,0,61,230H232a6,6,0,0,0,2.62-11.4ZM65.77,86.52a2,2,0,0,1,2.12-.43l25.4,10.29a22,22,0,0,0,28.63-12.32l21-53c3-7.13,11-10.81,18-8.21a14,14,0,0,1,8,18.54l-21.36,53.1A22.05,22.05,0,0,0,159.86,123l24.88,9.83A2,2,0,0,1,186,134.7V152c0,1.34,0,2.65.08,4L52.74,102.61A110.07,110.07,0,0,1,65.77,86.52ZM114.33,218a89.6,89.6,0,0,1-25.5-43.5,6,6,0,1,0-11.62,3A102.87,102.87,0,0,0,97.81,218H63.56A97.56,97.56,0,0,1,38,152a87.42,87.42,0,0,1,8.71-38.86L187.35,169.4c3.15,19.92,11.77,36.66,25,48.6Z"}))],["regular",a.createElement(a.Fragment,null,a.createElement("path",{d:"M235.5,216.81c-22.56-11-35.5-34.58-35.5-64.8V134.73a15.94,15.94,0,0,0-10.09-14.87L165,110a8,8,0,0,1-4.48-10.34l21.32-53a28,28,0,0,0-16.1-37,28.14,28.14,0,0,0-35.82,16,.61.61,0,0,0,0,.12L108.9,79a8,8,0,0,1-10.37,4.49L73.11,73.14A15.89,15.89,0,0,0,55.74,76.8C34.68,98.45,24,123.75,24,152a111.45,111.45,0,0,0,31.18,77.53A8,8,0,0,0,61,232H232a8,8,0,0,0,3.5-15.19ZM67.14,88l25.41,10.3a24,24,0,0,0,31.23-13.45l21-53c2.56-6.11,9.47-9.27,15.43-7a12,12,0,0,1,6.88,15.92L145.69,93.76a24,24,0,0,0,13.43,31.14L184,134.73V152c0,.33,0,.66,0,1L55.77,101.71A108.84,108.84,0,0,1,67.14,88Zm48,128a87.53,87.53,0,0,1-24.34-42,8,8,0,0,0-15.49,4,105.16,105.16,0,0,0,18.36,38H64.44A95.54,95.54,0,0,1,40,152a85.9,85.9,0,0,1,7.73-36.29l137.8,55.12c3,18,10.56,33.48,21.89,45.16Z"}))],["thin",a.createElement(a.Fragment,null,a.createElement("path",{d:"M233.75,220.4C209.76,208.75,196,183.82,196,152V134.72a12,12,0,0,0-7.56-11.15l-24.89-9.83a12,12,0,0,1-6.71-15.55l21.33-53a23.88,23.88,0,0,0-31.93-31A24.72,24.72,0,0,0,133.62,27.3l-21,53.1A12,12,0,0,1,97,87.13L71.63,76.84a12,12,0,0,0-13,2.73C38.3,100.45,28,124.82,28,152a107.5,107.5,0,0,0,30.07,74.77A4,4,0,0,0,61,228H232a4,4,0,0,0,1.75-7.6ZM64.34,85.15a3.94,3.94,0,0,1,4.3-.89L94,94.55a20,20,0,0,0,26-11.2l21-53C144.39,22.19,153.61,18,161.58,21a16,16,0,0,1,9.19,21.16L149.41,95.22a20,20,0,0,0,11.18,26l24.9,9.83a4,4,0,0,1,2.51,3.72V152c0,2.36.08,4.69.22,7l-138.5-55.4A110.84,110.84,0,0,1,64.34,85.15ZM113.56,220A91.35,91.35,0,0,1,86.9,175a4,4,0,0,0-7.75,2,100.21,100.21,0,0,0,23.09,43H62.68A99.5,99.5,0,0,1,36,152a89.37,89.37,0,0,1,9.73-41.4L189.13,168c3.22,22,13.23,40.09,28.8,52Z"}))]]),nt=new Map([["bold",a.createElement(a.Fragment,null,a.createElement("path",{d:"M232.49,215.51,185,168a92.12,92.12,0,1,0-17,17l47.53,47.54a12,12,0,0,0,17-17ZM44,112a68,68,0,1,1,68,68A68.07,68.07,0,0,1,44,112Z"}))],["duotone",a.createElement(a.Fragment,null,a.createElement("path",{d:"M192,112a80,80,0,1,1-80-80A80,80,0,0,1,192,112Z",opacity:"0.2"}),a.createElement("path",{d:"M229.66,218.34,179.6,168.28a88.21,88.21,0,1,0-11.32,11.31l50.06,50.07a8,8,0,0,0,11.32-11.32ZM40,112a72,72,0,1,1,72,72A72.08,72.08,0,0,1,40,112Z"}))],["fill",a.createElement(a.Fragment,null,a.createElement("path",{d:"M168,112a56,56,0,1,1-56-56A56,56,0,0,1,168,112Zm61.66,117.66a8,8,0,0,1-11.32,0l-50.06-50.07a88,88,0,1,1,11.32-11.31l50.06,50.06A8,8,0,0,1,229.66,229.66ZM112,184a72,72,0,1,0-72-72A72.08,72.08,0,0,0,112,184Z"}))],["light",a.createElement(a.Fragment,null,a.createElement("path",{d:"M228.24,219.76l-51.38-51.38a86.15,86.15,0,1,0-8.48,8.48l51.38,51.38a6,6,0,0,0,8.48-8.48ZM38,112a74,74,0,1,1,74,74A74.09,74.09,0,0,1,38,112Z"}))],["regular",a.createElement(a.Fragment,null,a.createElement("path",{d:"M229.66,218.34l-50.07-50.06a88.11,88.11,0,1,0-11.31,11.31l50.06,50.07a8,8,0,0,0,11.32-11.32ZM40,112a72,72,0,1,1,72,72A72.08,72.08,0,0,1,40,112Z"}))],["thin",a.createElement(a.Fragment,null,a.createElement("path",{d:"M226.83,221.17l-52.7-52.7a84.1,84.1,0,1,0-5.66,5.66l52.7,52.7a4,4,0,0,0,5.66-5.66ZM36,112a76,76,0,1,1,76,76A76.08,76.08,0,0,1,36,112Z"}))]]),at=I.createContext({color:"currentColor",size:"1em",weight:"regular",mirrored:!1}),_r=a.forwardRef((o,c)=>{const{alt:v,color:b,size:_,weight:S,mirrored:O,children:w,weights:d,...m}=o,{color:f="currentColor",size:h,weight:j="regular",mirrored:M=!1,...V}=a.useContext(at);return a.createElement("svg",{ref:c,xmlns:"http://www.w3.org/2000/svg",width:_??h,height:_??h,fill:b??f,viewBox:"0 0 256 256",transform:O||M?"scale(-1, 1)":void 0,...V,...m},!!v&&a.createElement("title",null,v),w,d.get(S??j))});_r.displayName="IconBase";const ot=a.forwardRef((o,c)=>a.createElement(_r,{ref:c,...o,weights:tt}));ot.displayName="BroomIcon";const lt=a.forwardRef((o,c)=>a.createElement(_r,{ref:c,...o,weights:nt}));lt.displayName="MagnifyingGlassIcon";var dr={};/**
60
+ * @license React
61
+ * react-jsx-runtime.production.min.js
62
+ *
63
+ * Copyright (c) Facebook, Inc. and its affiliates.
64
+ *
65
+ * This source code is licensed under the MIT license found in the
66
+ * LICENSE file in the root directory of this source tree.
67
+ */var Tr;function it(){if(Tr)return dr;Tr=1;var o=I,c=Symbol.for("react.element"),v=Symbol.for("react.fragment"),b=Object.prototype.hasOwnProperty,_=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,S={key:!0,ref:!0,__self:!0,__source:!0};function O(w,d,m){var f,h={},j=null,M=null;m!==void 0&&(j=""+m),d.key!==void 0&&(j=""+d.key),d.ref!==void 0&&(M=d.ref);for(f in d)b.call(d,f)&&!S.hasOwnProperty(f)&&(h[f]=d[f]);if(w&&w.defaultProps)for(f in d=w.defaultProps,d)h[f]===void 0&&(h[f]=d[f]);return{$$typeof:c,type:w,key:j,ref:M,props:h,_owner:_.current}}return dr.Fragment=v,dr.jsx=O,dr.jsxs=O,dr}var gr={};/**
68
+ * @license React
69
+ * react-jsx-runtime.development.js
70
+ *
71
+ * Copyright (c) Facebook, Inc. and its affiliates.
72
+ *
73
+ * This source code is licensed under the MIT license found in the
74
+ * LICENSE file in the root directory of this source tree.
75
+ */var Lr;function st(){return Lr||(Lr=1,process.env.NODE_ENV!=="production"&&function(){var o=I,c=Symbol.for("react.element"),v=Symbol.for("react.portal"),b=Symbol.for("react.fragment"),_=Symbol.for("react.strict_mode"),S=Symbol.for("react.profiler"),O=Symbol.for("react.provider"),w=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),j=Symbol.for("react.lazy"),M=Symbol.for("react.offscreen"),V=Symbol.iterator,ae="@@iterator";function oe(e){if(e===null||typeof e!="object")return null;var r=V&&e[V]||e[ae];return typeof r=="function"?r:null}var C=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function y(e){{for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];ee("error",e,t)}}function ee(e,r,t){{var n=C.ReactDebugCurrentFrame,s=n.getStackAddendum();s!==""&&(r+="%s",t=t.concat([s]));var u=t.map(function(i){return String(i)});u.unshift("Warning: "+r),Function.prototype.apply.call(console[e],console,u)}}var le=!1,Pe=!1,ie=!1,T=!1,re=!1,se;se=Symbol.for("react.module.reference");function Me(e){return!!(typeof e=="string"||typeof e=="function"||e===b||e===S||re||e===_||e===m||e===f||T||e===M||le||Pe||ie||typeof e=="object"&&e!==null&&(e.$$typeof===j||e.$$typeof===h||e.$$typeof===O||e.$$typeof===w||e.$$typeof===d||e.$$typeof===se||e.getModuleId!==void 0))}function Fe(e,r,t){var n=e.displayName;if(n)return n;var s=r.displayName||r.name||"";return s!==""?t+"("+s+")":t}function ce(e){return e.displayName||"Context"}function k(e){if(e==null)return null;if(typeof e.tag=="number"&&y("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 b:return"Fragment";case v:return"Portal";case S:return"Profiler";case _:return"StrictMode";case m:return"Suspense";case f:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case w:var r=e;return ce(r)+".Consumer";case O:var t=e;return ce(t._context)+".Provider";case d:return Fe(e,e.render,"ForwardRef");case h:var n=e.displayName||null;return n!==null?n:k(e.type)||"Memo";case j:{var s=e,u=s._payload,i=s._init;try{return k(i(u))}catch{return null}}}return null}var L=Object.assign,D=0,ue,fe,de,pe,ge,be,ve;function ye(){}ye.__reactDisabledLog=!0;function Ne(){{if(D===0){ue=console.log,fe=console.info,de=console.warn,pe=console.error,ge=console.group,be=console.groupCollapsed,ve=console.groupEnd;var e={configurable:!0,enumerable:!0,value:ye,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}D++}}function De(){{if(D--,D===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:L({},e,{value:ue}),info:L({},e,{value:fe}),warn:L({},e,{value:de}),error:L({},e,{value:pe}),group:L({},e,{value:ge}),groupCollapsed:L({},e,{value:be}),groupEnd:L({},e,{value:ve})})}D<0&&y("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var z=C.ReactCurrentDispatcher,B;function U(e,r,t){{if(B===void 0)try{throw Error()}catch(s){var n=s.stack.trim().match(/\n( *(at )?)/);B=n&&n[1]||""}return`
76
+ `+B+e}}var q=!1,H;{var Ze=typeof WeakMap=="function"?WeakMap:Map;H=new Ze}function he(e,r){if(!e||q)return"";{var t=H.get(e);if(t!==void 0)return t}var n;q=!0;var s=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var u;u=z.current,z.current=null,Ne();try{if(r){var i=function(){throw Error()};if(Object.defineProperty(i.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(i,[])}catch(E){n=E}Reflect.construct(e,[],i)}else{try{i.call()}catch(E){n=E}e.call(i.prototype)}}else{try{throw Error()}catch(E){n=E}e()}}catch(E){if(E&&n&&typeof E.stack=="string"){for(var l=E.stack.split(`
77
+ `),x=n.stack.split(`
78
+ `),p=l.length-1,g=x.length-1;p>=1&&g>=0&&l[p]!==x[g];)g--;for(;p>=1&&g>=0;p--,g--)if(l[p]!==x[g]){if(p!==1||g!==1)do if(p--,g--,g<0||l[p]!==x[g]){var R=`
79
+ `+l[p].replace(" at new "," at ");return e.displayName&&R.includes("<anonymous>")&&(R=R.replace("<anonymous>",e.displayName)),typeof e=="function"&&H.set(e,R),R}while(p>=1&&g>=0);break}}}finally{q=!1,z.current=u,De(),Error.prepareStackTrace=s}var N=e?e.displayName||e.name:"",P=N?U(N):"";return typeof e=="function"&&H.set(e,P),P}function $e(e,r,t){return he(e,!1)}function Ie(e){var r=e.prototype;return!!(r&&r.isReactComponent)}function W(e,r,t){if(e==null)return"";if(typeof e=="function")return he(e,Ie(e));if(typeof e=="string")return U(e);switch(e){case m:return U("Suspense");case f:return U("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case d:return $e(e.render);case h:return W(e.type,r,t);case j:{var n=e,s=n._payload,u=n._init;try{return W(u(s),r,t)}catch{}}}return""}var Z=Object.prototype.hasOwnProperty,me={},xe=C.ReactDebugCurrentFrame;function Y(e){if(e){var r=e._owner,t=W(e.type,e._source,r?r.type:null);xe.setExtraStackFrame(t)}else xe.setExtraStackFrame(null)}function Ve(e,r,t,n,s){{var u=Function.call.bind(Z);for(var i in e)if(u(e,i)){var l=void 0;try{if(typeof e[i]!="function"){var x=Error((n||"React class")+": "+t+" type `"+i+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[i]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw x.name="Invariant Violation",x}l=e[i](r,i,n,t,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(p){l=p}l&&!(l instanceof Error)&&(Y(s),y("%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).",n||"React class",t,i,typeof l),Y(null)),l instanceof Error&&!(l.message in me)&&(me[l.message]=!0,Y(s),y("Failed %s type: %s",t,l.message),Y(null))}}}var Ue=Array.isArray;function J(e){return Ue(e)}function He(e){{var r=typeof Symbol=="function"&&Symbol.toStringTag,t=r&&e[Symbol.toStringTag]||e.constructor.name||"Object";return t}}function We(e){try{return we(e),!1}catch{return!0}}function we(e){return""+e}function Ee(e){if(We(e))return y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",He(e)),we(e)}var _e=C.ReactCurrentOwner,Ye={key:!0,ref:!0,__self:!0,__source:!0},Re,je;function ze(e){if(Z.call(e,"ref")){var r=Object.getOwnPropertyDescriptor(e,"ref").get;if(r&&r.isReactWarning)return!1}return e.ref!==void 0}function Be(e){if(Z.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return e.key!==void 0}function qe(e,r){typeof e.ref=="string"&&_e.current}function Je(e,r){{var t=function(){Re||(Re=!0,y("%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)",r))};t.isReactWarning=!0,Object.defineProperty(e,"key",{get:t,configurable:!0})}}function Ke(e,r){{var t=function(){je||(je=!0,y("%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)",r))};t.isReactWarning=!0,Object.defineProperty(e,"ref",{get:t,configurable:!0})}}var Xe=function(e,r,t,n,s,u,i){var l={$$typeof:c,type:e,key:r,ref:t,props:i,_owner:u};return l._store={},Object.defineProperty(l._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(l,"_self",{configurable:!1,enumerable:!1,writable:!1,value:n}),Object.defineProperty(l,"_source",{configurable:!1,enumerable:!1,writable:!1,value:s}),Object.freeze&&(Object.freeze(l.props),Object.freeze(l)),l};function Ge(e,r,t,n,s){{var u,i={},l=null,x=null;t!==void 0&&(Ee(t),l=""+t),Be(r)&&(Ee(r.key),l=""+r.key),ze(r)&&(x=r.ref,qe(r));for(u in r)Z.call(r,u)&&!Ye.hasOwnProperty(u)&&(i[u]=r[u]);if(e&&e.defaultProps){var p=e.defaultProps;for(u in p)i[u]===void 0&&(i[u]=p[u])}if(l||x){var g=typeof e=="function"?e.displayName||e.name||"Unknown":e;l&&Je(i,g),x&&Ke(i,g)}return Xe(e,l,x,s,n,_e.current,i)}}var K=C.ReactCurrentOwner,Se=C.ReactDebugCurrentFrame;function F(e){if(e){var r=e._owner,t=W(e.type,e._source,r?r.type:null);Se.setExtraStackFrame(t)}else Se.setExtraStackFrame(null)}var X;X=!1;function G(e){return typeof e=="object"&&e!==null&&e.$$typeof===c}function Oe(){{if(K.current){var e=k(K.current.type);if(e)return`
80
+
81
+ Check the render method of \``+e+"`."}return""}}function Qe(e){return""}var ke={};function er(e){{var r=Oe();if(!r){var t=typeof e=="string"?e:e.displayName||e.name;t&&(r=`
82
+
83
+ Check the top-level render call using <`+t+">.")}return r}}function Ae(e,r){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var t=er(r);if(ke[t])return;ke[t]=!0;var n="";e&&e._owner&&e._owner!==K.current&&(n=" It was passed a child from "+k(e._owner.type)+"."),F(e),y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',t,n),F(null)}}function Ce(e,r){{if(typeof e!="object")return;if(J(e))for(var t=0;t<e.length;t++){var n=e[t];G(n)&&Ae(n,r)}else if(G(e))e._store&&(e._store.validated=!0);else if(e){var s=oe(e);if(typeof s=="function"&&s!==e.entries)for(var u=s.call(e),i;!(i=u.next()).done;)G(i.value)&&Ae(i.value,r)}}}function rr(e){{var r=e.type;if(r==null||typeof r=="string")return;var t;if(typeof r=="function")t=r.propTypes;else if(typeof r=="object"&&(r.$$typeof===d||r.$$typeof===h))t=r.propTypes;else return;if(t){var n=k(r);Ve(t,e.props,"prop",n,e)}else if(r.PropTypes!==void 0&&!X){X=!0;var s=k(r);y("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",s||"Unknown")}typeof r.getDefaultProps=="function"&&!r.getDefaultProps.isReactClassApproved&&y("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function tr(e){{for(var r=Object.keys(e.props),t=0;t<r.length;t++){var n=r[t];if(n!=="children"&&n!=="key"){F(e),y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",n),F(null);break}}e.ref!==null&&(F(e),y("Invalid attribute `ref` supplied to `React.Fragment`."),F(null))}}var Te={};function Le(e,r,t,n,s,u){{var i=Me(e);if(!i){var l="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(l+=" 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 x=Qe();x?l+=x:l+=Oe();var p;e===null?p="null":J(e)?p="array":e!==void 0&&e.$$typeof===c?(p="<"+(k(e.type)||"Unknown")+" />",l=" Did you accidentally export a JSX literal instead of a component?"):p=typeof e,y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",p,l)}var g=Ge(e,r,t,s,u);if(g==null)return g;if(i){var R=r.children;if(R!==void 0)if(n)if(J(R)){for(var N=0;N<R.length;N++)Ce(R[N],e);Object.freeze&&Object.freeze(R)}else y("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 Ce(R,e)}if(Z.call(r,"key")){var P=k(e),E=Object.keys(r).filter(function(sr){return sr!=="key"}),Q=E.length>0?"{key: someKey, "+E.join(": ..., ")+": ...}":"{key: someKey}";if(!Te[P+Q]){var ir=E.length>0?"{"+E.join(": ..., ")+": ...}":"{}";y(`A props object containing a "key" prop is being spread into JSX:
84
+ let props = %s;
85
+ <%s {...props} />
86
+ React keys must be passed directly to JSX without using spread:
87
+ let props = %s;
88
+ <%s key={someKey} {...props} />`,Q,P,ir,P),Te[P+Q]=!0}}return e===b?tr(g):rr(g),g}}function nr(e,r,t){return Le(e,r,t,!0)}function ar(e,r,t){return Le(e,r,t,!1)}var or=ar,lr=nr;gr.Fragment=b,gr.jsx=or,gr.jsxs=lr}()),gr}process.env.NODE_ENV==="production"?it():st();const ct={green:{solid:{bg:"bg-green-500",hover:"hover:bg-green-600 hover:text-white",text:"text-white",border:"border-green-500"},outline:{bg:"bg-transparent",hover:"hover:bg-green-600 hover:text-white",text:"text-green-600",border:"border-green-500"},ghost:{bg:"bg-transparent",hover:"hover:bg-green-600 hover:text-white",text:"text-green-600",border:"border-transparent"}},blue:{solid:{bg:"bg-blue-500",hover:"hover:bg-blue-600 hover:text-white",text:"text-white",border:"border-blue-500"},outline:{bg:"bg-transparent",hover:"hover:bg-blue-500 hover:text-white",text:"text-blue-600",border:"border-blue-500"},ghost:{bg:"bg-transparent",hover:"hover:bg-blue-500 hover:text-white",text:"text-blue-600",border:"border-transparent"}},red:{solid:{bg:"bg-red-500",hover:"hover:bg-red-600 hover:text-white",text:"text-white",border:"border-red-500"},outline:{bg:"bg-transparent",hover:"hover:bg-red-500 hover:text-white",text:"text-red-600",border:"border-red-500"},ghost:{bg:"bg-transparent",hover:"hover:bg-red-500 hover:text-white",text:"text-red-600",border:"border-transparent"}},yellow:{solid:{bg:"bg-yellow-500",hover:"hover:bg-yellow-600 hover:text-black",text:"text-black",border:"border-yellow-500"},outline:{bg:"bg-transparent",hover:"hover:bg-yellow-500 hover:text-white",text:"text-yellow-600",border:"border-yellow-500"},ghost:{bg:"bg-transparent",hover:"hover:bg-yellow-500 hover:text-white",text:"text-yellow-600",border:"border-transparent"}},primary:{solid:{bg:"bg-primary",hover:"hover:bg-primary-hover hover:text-foreground",text:"text-foreground",border:"border-primary"},outline:{bg:"bg-transparent",hover:"hover:bg-primary hover:text-foreground",text:"text-primary",border:"border-primary"},ghost:{bg:"bg-transparent",hover:"hover:bg-primary hover:text-foreground",text:"text-primary",border:"border-transparent"}},secondary:{solid:{bg:"bg-secondary",hover:"hover:bg-secondary/80 hover:text-secondary-foreground",text:"text-secondary-foreground",border:"border-secondary"},outline:{bg:"bg-transparent",hover:"hover:bg-secondary hover:text-secondary-foreground",text:"text-secondary",border:"border-secondary"},ghost:{bg:"bg-transparent",hover:"hover:bg-secondary hover:text-secondary-foreground",text:"text-secondary",border:"border-transparent"}},destructive:{solid:{bg:"bg-destructive",hover:"hover:bg-destructive/90 hover:text-destructive-foreground",text:"text-destructive-foreground",border:"border-destructive"},outline:{bg:"bg-transparent",hover:"hover:bg-destructive hover:text-destructive-foreground",text:"text-destructive",border:"border-destructive"},ghost:{bg:"bg-transparent",hover:"hover:bg-destructive hover:text-destructive-foreground",text:"text-destructive",border:"border-transparent"}},card:{solid:{bg:"bg-card",hover:"hover:bg-accent hover:text-card-foreground",text:"text-card-foreground",border:"border-border"},outline:{bg:"bg-transparent",hover:"hover:bg-accent hover:text-card-foreground",text:"text-card-foreground",border:"border-border"},ghost:{bg:"bg-transparent",hover:"hover:bg-accent hover:text-card-foreground",text:"text-card-foreground",border:"border-transparent"}}};I.createContext(ct);const ut=[];for(let o=0;o<256;++o)ut.push((o+256).toString(16).slice(1));typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto);const ft=new Map([["bold",a.createElement(a.Fragment,null,a.createElement("path",{d:"M237.24,213.21C216.12,203,204,180.64,204,152V134.73a19.94,19.94,0,0,0-12.62-18.59l-24.86-9.81a4,4,0,0,1-2.26-5.14l21.33-53A32,32,0,0,0,167.17,6,32.13,32.13,0,0,0,126.25,24.2l-.07.18-21,53.09a3.94,3.94,0,0,1-2.14,2.2,3.89,3.89,0,0,1-3,.06L74.6,69.43A19.89,19.89,0,0,0,52.87,74C31.06,96.43,20,122.68,20,152a115.46,115.46,0,0,0,32.29,80.3A12,12,0,0,0,61,236H232a12,12,0,0,0,5.24-22.79ZM68.19,92.73,91.06,102A28,28,0,0,0,127.5,86.31l20.95-53a8.32,8.32,0,0,1,10.33-4.81,8,8,0,0,1,4.61,10.57,1.17,1.17,0,0,0,0,.11L142,92.29a28.05,28.05,0,0,0,15.68,36.33L180,137.45V152c0,1,0,2.07.05,3.1l-122.44-49A101.91,101.91,0,0,1,68.19,92.73ZM116.74,212a83.73,83.73,0,0,1-22.09-39,12,12,0,0,0-23.25,6,110.27,110.27,0,0,0,14.49,33H66.25A91.53,91.53,0,0,1,44,152a84,84,0,0,1,3.41-24.11l136.67,54.66A86.58,86.58,0,0,0,198.66,212Z"}))],["duotone",a.createElement(a.Fragment,null,a.createElement("path",{d:"M192.8,165.12,43.93,105.57A110.88,110.88,0,0,1,61.47,82.38a8,8,0,0,1,8.67-1.81L95.52,90.85a16,16,0,0,0,20.82-9l21-53.1c4.15-10,15.47-15.33,25.63-11.53a20,20,0,0,1,11.51,26.39L153.13,96.71a16,16,0,0,0,8.93,20.75L187,127.3a8,8,0,0,1,5,7.43V152A104.58,104.58,0,0,0,192.8,165.12Z",opacity:"0.2"}),a.createElement("path",{d:"M235.5,216.81c-22.56-11-35.5-34.58-35.5-64.8V134.73a15.94,15.94,0,0,0-10.09-14.87L165,110a8,8,0,0,1-4.48-10.34l21.32-53a28,28,0,0,0-16.1-37,28.14,28.14,0,0,0-35.82,16,.61.61,0,0,0,0,.12L108.9,79a8,8,0,0,1-10.37,4.49L73.11,73.14A15.89,15.89,0,0,0,55.74,76.8C34.68,98.45,24,123.75,24,152a111.45,111.45,0,0,0,31.18,77.53A8,8,0,0,0,61,232H232a8,8,0,0,0,3.5-15.19ZM67.14,88l25.41,10.3a24,24,0,0,0,31.23-13.45l21-53c2.56-6.11,9.47-9.27,15.43-7a12,12,0,0,1,6.88,15.92L145.69,93.76a24,24,0,0,0,13.43,31.14L184,134.73V152c0,.33,0,.66,0,1L55.77,101.71A108.84,108.84,0,0,1,67.14,88Zm48,128a87.53,87.53,0,0,1-24.34-42,8,8,0,0,0-15.49,4,105.16,105.16,0,0,0,18.36,38H64.44A95.54,95.54,0,0,1,40,152a85.9,85.9,0,0,1,7.73-36.29l137.8,55.12c3,18,10.56,33.48,21.89,45.16Z"}))],["fill",a.createElement(a.Fragment,null,a.createElement("path",{d:"M235.29,216.7C212.86,205.69,200,182.12,200,152V134.69a15.94,15.94,0,0,0-10.09-14.87l-28.65-11.46A8,8,0,0,1,156.79,98l22.32-56.67C184,28.79,178,14.21,165.34,9.51a24,24,0,0,0-30.7,13.71L112.25,80.08a8,8,0,0,1-10.41,4.5L73.11,73.08a15.91,15.91,0,0,0-17.38,3.66C34.68,98.4,24,123.71,24,152a111.53,111.53,0,0,0,31.15,77.53A8.06,8.06,0,0,0,61,232H232a8,8,0,0,0,8-7.51A8.21,8.21,0,0,0,235.29,216.7ZM115.11,216a87.52,87.52,0,0,1-24.26-41.71,8.21,8.21,0,0,0-9.25-6.18A8,8,0,0,0,75.28,178a105.33,105.33,0,0,0,18.36,38H64.44A95.62,95.62,0,0,1,40,152a85.92,85.92,0,0,1,7.73-36.3l137.8,55.13c3,18.06,10.55,33.5,21.89,45.19Z"}))],["light",a.createElement(a.Fragment,null,a.createElement("path",{d:"M234.62,218.6C211.35,207.29,198,183,198,152V134.7a14,14,0,0,0-8.82-13l-24.89-9.83a10,10,0,0,1-5.59-13L180,45.9a26,26,0,0,0-15-34.33c-12.95-4.83-27.88,1.84-33.31,15l-21,53.11a10,10,0,0,1-13,5.61L72.37,75a13.9,13.9,0,0,0-15.2,3.19C36.49,99.42,26,124.26,26,152a109.53,109.53,0,0,0,30.62,76.16A6,6,0,0,0,61,230H232a6,6,0,0,0,2.62-11.4ZM65.77,86.52a2,2,0,0,1,2.12-.43l25.4,10.29a22,22,0,0,0,28.63-12.32l21-53c3-7.13,11-10.81,18-8.21a14,14,0,0,1,8,18.54l-21.36,53.1A22.05,22.05,0,0,0,159.86,123l24.88,9.83A2,2,0,0,1,186,134.7V152c0,1.34,0,2.65.08,4L52.74,102.61A110.07,110.07,0,0,1,65.77,86.52ZM114.33,218a89.6,89.6,0,0,1-25.5-43.5,6,6,0,1,0-11.62,3A102.87,102.87,0,0,0,97.81,218H63.56A97.56,97.56,0,0,1,38,152a87.42,87.42,0,0,1,8.71-38.86L187.35,169.4c3.15,19.92,11.77,36.66,25,48.6Z"}))],["regular",a.createElement(a.Fragment,null,a.createElement("path",{d:"M235.5,216.81c-22.56-11-35.5-34.58-35.5-64.8V134.73a15.94,15.94,0,0,0-10.09-14.87L165,110a8,8,0,0,1-4.48-10.34l21.32-53a28,28,0,0,0-16.1-37,28.14,28.14,0,0,0-35.82,16,.61.61,0,0,0,0,.12L108.9,79a8,8,0,0,1-10.37,4.49L73.11,73.14A15.89,15.89,0,0,0,55.74,76.8C34.68,98.45,24,123.75,24,152a111.45,111.45,0,0,0,31.18,77.53A8,8,0,0,0,61,232H232a8,8,0,0,0,3.5-15.19ZM67.14,88l25.41,10.3a24,24,0,0,0,31.23-13.45l21-53c2.56-6.11,9.47-9.27,15.43-7a12,12,0,0,1,6.88,15.92L145.69,93.76a24,24,0,0,0,13.43,31.14L184,134.73V152c0,.33,0,.66,0,1L55.77,101.71A108.84,108.84,0,0,1,67.14,88Zm48,128a87.53,87.53,0,0,1-24.34-42,8,8,0,0,0-15.49,4,105.16,105.16,0,0,0,18.36,38H64.44A95.54,95.54,0,0,1,40,152a85.9,85.9,0,0,1,7.73-36.29l137.8,55.12c3,18,10.56,33.48,21.89,45.16Z"}))],["thin",a.createElement(a.Fragment,null,a.createElement("path",{d:"M233.75,220.4C209.76,208.75,196,183.82,196,152V134.72a12,12,0,0,0-7.56-11.15l-24.89-9.83a12,12,0,0,1-6.71-15.55l21.33-53a23.88,23.88,0,0,0-31.93-31A24.72,24.72,0,0,0,133.62,27.3l-21,53.1A12,12,0,0,1,97,87.13L71.63,76.84a12,12,0,0,0-13,2.73C38.3,100.45,28,124.82,28,152a107.5,107.5,0,0,0,30.07,74.77A4,4,0,0,0,61,228H232a4,4,0,0,0,1.75-7.6ZM64.34,85.15a3.94,3.94,0,0,1,4.3-.89L94,94.55a20,20,0,0,0,26-11.2l21-53C144.39,22.19,153.61,18,161.58,21a16,16,0,0,1,9.19,21.16L149.41,95.22a20,20,0,0,0,11.18,26l24.9,9.83a4,4,0,0,1,2.51,3.72V152c0,2.36.08,4.69.22,7l-138.5-55.4A110.84,110.84,0,0,1,64.34,85.15ZM113.56,220A91.35,91.35,0,0,1,86.9,175a4,4,0,0,0-7.75,2,100.21,100.21,0,0,0,23.09,43H62.68A99.5,99.5,0,0,1,36,152a89.37,89.37,0,0,1,9.73-41.4L189.13,168c3.22,22,13.23,40.09,28.8,52Z"}))]]),dt=new Map([["bold",a.createElement(a.Fragment,null,a.createElement("path",{d:"M232.49,215.51,185,168a92.12,92.12,0,1,0-17,17l47.53,47.54a12,12,0,0,0,17-17ZM44,112a68,68,0,1,1,68,68A68.07,68.07,0,0,1,44,112Z"}))],["duotone",a.createElement(a.Fragment,null,a.createElement("path",{d:"M192,112a80,80,0,1,1-80-80A80,80,0,0,1,192,112Z",opacity:"0.2"}),a.createElement("path",{d:"M229.66,218.34,179.6,168.28a88.21,88.21,0,1,0-11.32,11.31l50.06,50.07a8,8,0,0,0,11.32-11.32ZM40,112a72,72,0,1,1,72,72A72.08,72.08,0,0,1,40,112Z"}))],["fill",a.createElement(a.Fragment,null,a.createElement("path",{d:"M168,112a56,56,0,1,1-56-56A56,56,0,0,1,168,112Zm61.66,117.66a8,8,0,0,1-11.32,0l-50.06-50.07a88,88,0,1,1,11.32-11.31l50.06,50.06A8,8,0,0,1,229.66,229.66ZM112,184a72,72,0,1,0-72-72A72.08,72.08,0,0,0,112,184Z"}))],["light",a.createElement(a.Fragment,null,a.createElement("path",{d:"M228.24,219.76l-51.38-51.38a86.15,86.15,0,1,0-8.48,8.48l51.38,51.38a6,6,0,0,0,8.48-8.48ZM38,112a74,74,0,1,1,74,74A74.09,74.09,0,0,1,38,112Z"}))],["regular",a.createElement(a.Fragment,null,a.createElement("path",{d:"M229.66,218.34l-50.07-50.06a88.11,88.11,0,1,0-11.31,11.31l50.06,50.07a8,8,0,0,0,11.32-11.32ZM40,112a72,72,0,1,1,72,72A72.08,72.08,0,0,1,40,112Z"}))],["thin",a.createElement(a.Fragment,null,a.createElement("path",{d:"M226.83,221.17l-52.7-52.7a84.1,84.1,0,1,0-5.66,5.66l52.7,52.7a4,4,0,0,0,5.66-5.66ZM36,112a76,76,0,1,1,76,76A76.08,76.08,0,0,1,36,112Z"}))]]),pt=I.createContext({color:"currentColor",size:"1em",weight:"regular",mirrored:!1}),Rr=a.forwardRef((o,c)=>{const{alt:v,color:b,size:_,weight:S,mirrored:O,children:w,weights:d,...m}=o,{color:f="currentColor",size:h,weight:j="regular",mirrored:M=!1,...V}=a.useContext(pt);return a.createElement("svg",{ref:c,xmlns:"http://www.w3.org/2000/svg",width:_??h,height:_??h,fill:b??f,viewBox:"0 0 256 256",transform:O||M?"scale(-1, 1)":void 0,...V,...m},!!v&&a.createElement("title",null,v),w,d.get(S??j))});Rr.displayName="IconBase";const gt=a.forwardRef((o,c)=>a.createElement(Rr,{ref:c,...o,weights:ft}));gt.displayName="BroomIcon";const bt=a.forwardRef((o,c)=>a.createElement(Rr,{ref:c,...o,weights:dt}));bt.displayName="MagnifyingGlassIcon";function mr(o,c){return c.split(".").reduce((v,b)=>v?v[b]:void 0,o)}function vt({field:o,title:c,id:v,placeholder:b,value:_,options:S,icon:O,iconPosition:w="right",optionPosition:d="left",error:m,required:f,onChange:h,selected:j,isClearable:M,searchable:V=!1}){const[ae,oe]=I.useState(""),[C,y]=I.useState(!1),ee=I.useRef(null),[le,Pe]=I.useState("");I.useEffect(()=>{function T(re){ee.current&&!ee.current.contains(re.target)&&y(!1)}return document.addEventListener("mousedown",T),()=>document.removeEventListener("mousedown",T)},[]);const ie=T=>{h==null||h(T),y(!1)};return I.useEffect(()=>{Pe(_)},[_]),A.jsxs("div",{className:"flex flex-col gap-2 w-full relative",ref:ee,children:[c&&A.jsxs("label",{htmlFor:v,className:ne("block text-md font-medium text-foreground",{"text-red-700":m}),children:[f&&A.jsx("span",{className:"text-red-500",children:"*"})," ",c?`${c}:`:""]}),A.jsxs("div",{className:ne("cursor-pointer flex items-center justify-between bg-input border border-border text-foreground text-sm rounded-lg w-full p-2.5 pr-8",{"border-red-500":m}),onClick:()=>y(!C),children:[w==="left"&&O,A.jsx("span",{className:`flex-1 ${w==="left"&&"ml-3"}`,children:le||b||"Selecione..."}),w==="right"&&O]}),C&&A.jsxs("ul",{className:ne("absolute top-full w-auto max-h-72 overflow-y-auto border border-border rounded-lg bg-card z-50 shadow-lg mt-1",{"left-0":d==="left","right-0":d==="right"}),children:[A.jsx("li",{className:"p-3 cursor-pointer text-foreground",onClick:()=>M&&ie({}),children:b||"Selecione..."},kr()),V&&A.jsxs("li",{className:"px-2 cursor-pointer text-foreground flex gap-2 items-center justify-start",children:[A.jsx("div",{className:"flex-1",children:A.jsx(et,{field:"",title:"",id:"search-select",name:"search-select",placeholder:"Buscar",icon:A.jsx(Mr,{}),iconPosition:"left",onChange:T=>oe(T.target.value),value:ae})}),A.jsx(Qr,{color:"blue",title:"",icon:A.jsx(Pr,{}),positionIcon:"left",onClick:T=>{T==null||T.stopPropagation(),h==null||h({}),oe("")},className:"m-0"})]}),S.filter(T=>{const re=mr(T,o);return String(re).toLowerCase().includes(ae.toLowerCase())}).map(T=>A.jsx("li",{className:ne("p-2 hover:bg-primary cursor-pointer text-foreground",{"bg-primary":mr(T,o)===_||(j==null?void 0:j[o])===T[o]}),onClick:()=>ie(T),children:mr(T,o)},kr()))]}),m&&A.jsx("p",{className:"text-sm text-red-600 mt-1",children:m})]})}exports.Button=$r;exports.Input=Ir;exports.Select=vt;