UNPKG

solask-voice-sdk

Version:

You can query the blockchain using voice.

61 lines (59 loc) 57.7 kB
"use strict";const j=require("react");require("react-dom");var Ae={exports:{}},ce={};/** * @license React * react-jsx-runtime.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var Xe;function Lt(){if(Xe)return ce;Xe=1;var t=j,r=Symbol.for("react.element"),o=Symbol.for("react.fragment"),n=Object.prototype.hasOwnProperty,c=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function d(i,p,k){var y,S={},_=null,A=null;k!==void 0&&(_=""+k),p.key!==void 0&&(_=""+p.key),p.ref!==void 0&&(A=p.ref);for(y in p)n.call(p,y)&&!s.hasOwnProperty(y)&&(S[y]=p[y]);if(i&&i.defaultProps)for(y in p=i.defaultProps,p)S[y]===void 0&&(S[y]=p[y]);return{$$typeof:r,type:i,key:_,ref:A,props:S,_owner:c.current}}return ce.Fragment=o,ce.jsx=d,ce.jsxs=d,ce}var de={};/** * @license React * react-jsx-runtime.development.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var Ze;function Nt(){return Ze||(Ze=1,process.env.NODE_ENV!=="production"&&function(){var t=j,r=Symbol.for("react.element"),o=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),c=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),d=Symbol.for("react.provider"),i=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),k=Symbol.for("react.suspense"),y=Symbol.for("react.suspense_list"),S=Symbol.for("react.memo"),_=Symbol.for("react.lazy"),A=Symbol.for("react.offscreen"),O=Symbol.iterator,w="@@iterator";function h(e){if(e===null||typeof e!="object")return null;var a=O&&e[O]||e[w];return typeof a=="function"?a:null}var m=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function f(e){{for(var a=arguments.length,l=new Array(a>1?a-1:0),u=1;u<a;u++)l[u-1]=arguments[u];$("error",e,l)}}function $(e,a,l){{var u=m.ReactDebugCurrentFrame,x=u.getStackAddendum();x!==""&&(a+="%s",l=l.concat([x]));var E=l.map(function(v){return String(v)});E.unshift("Warning: "+a),Function.prototype.apply.call(console[e],console,E)}}var F=!1,W=!1,K=!1,ge=!1,he=!1,X;X=Symbol.for("react.module.reference");function oe(e){return!!(typeof e=="string"||typeof e=="function"||e===n||e===s||he||e===c||e===k||e===y||ge||e===A||F||W||K||typeof e=="object"&&e!==null&&(e.$$typeof===_||e.$$typeof===S||e.$$typeof===d||e.$$typeof===i||e.$$typeof===p||e.$$typeof===X||e.getModuleId!==void 0))}function ae(e,a,l){var u=e.displayName;if(u)return u;var x=a.displayName||a.name||"";return x!==""?l+"("+x+")":l}function R(e){return e.displayName||"Context"}function I(e){if(e==null)return null;if(typeof e.tag=="number"&&f("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 n:return"Fragment";case o:return"Portal";case s:return"Profiler";case c:return"StrictMode";case k:return"Suspense";case y:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case i:var a=e;return R(a)+".Consumer";case d:var l=e;return R(l._context)+".Provider";case p:return ae(e,e.render,"ForwardRef");case S:var u=e.displayName||null;return u!==null?u:I(e.type)||"Memo";case _:{var x=e,E=x._payload,v=x._init;try{return I(v(E))}catch{return null}}}return null}var L=Object.assign,D=0,J,ne,Z,B,se,N,Ie;function Fe(){}Fe.__reactDisabledLog=!0;function dt(){{if(D===0){J=console.log,ne=console.info,Z=console.warn,B=console.error,se=console.group,N=console.groupCollapsed,Ie=console.groupEnd;var e={configurable:!0,enumerable:!0,value:Fe,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}D++}}function ut(){{if(D--,D===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:L({},e,{value:J}),info:L({},e,{value:ne}),warn:L({},e,{value:Z}),error:L({},e,{value:B}),group:L({},e,{value:se}),groupCollapsed:L({},e,{value:N}),groupEnd:L({},e,{value:Ie})})}D<0&&f("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var xe=m.ReactCurrentDispatcher,ke;function be(e,a,l){{if(ke===void 0)try{throw Error()}catch(x){var u=x.stack.trim().match(/\n( *(at )?)/);ke=u&&u[1]||""}return` `+ke+e}}var Re=!1,me;{var ft=typeof WeakMap=="function"?WeakMap:Map;me=new ft}function Le(e,a){if(!e||Re)return"";{var l=me.get(e);if(l!==void 0)return l}var u;Re=!0;var x=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var E;E=xe.current,xe.current=null,dt();try{if(a){var v=function(){throw Error()};if(Object.defineProperty(v.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(v,[])}catch(M){u=M}Reflect.construct(e,[],v)}else{try{v.call()}catch(M){u=M}e.call(v.prototype)}}else{try{throw Error()}catch(M){u=M}e()}}catch(M){if(M&&u&&typeof M.stack=="string"){for(var b=M.stack.split(` `),z=u.stack.split(` `),T=b.length-1,P=z.length-1;T>=1&&P>=0&&b[T]!==z[P];)P--;for(;T>=1&&P>=0;T--,P--)if(b[T]!==z[P]){if(T!==1||P!==1)do if(T--,P--,P<0||b[T]!==z[P]){var Y=` `+b[T].replace(" at new "," at ");return e.displayName&&Y.includes("<anonymous>")&&(Y=Y.replace("<anonymous>",e.displayName)),typeof e=="function"&&me.set(e,Y),Y}while(T>=1&&P>=0);break}}}finally{Re=!1,xe.current=E,ut(),Error.prepareStackTrace=x}var ee=e?e.displayName||e.name:"",H=ee?be(ee):"";return typeof e=="function"&&me.set(e,H),H}function pt(e,a,l){return Le(e,!1)}function gt(e){var a=e.prototype;return!!(a&&a.isReactComponent)}function ve(e,a,l){if(e==null)return"";if(typeof e=="function")return Le(e,gt(e));if(typeof e=="string")return be(e);switch(e){case k:return be("Suspense");case y:return be("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case p:return pt(e.render);case S:return ve(e.type,a,l);case _:{var u=e,x=u._payload,E=u._init;try{return ve(E(x),a,l)}catch{}}}return""}var ie=Object.prototype.hasOwnProperty,Ne={},Ye=m.ReactDebugCurrentFrame;function ye(e){if(e){var a=e._owner,l=ve(e.type,e._source,a?a.type:null);Ye.setExtraStackFrame(l)}else Ye.setExtraStackFrame(null)}function ht(e,a,l,u,x){{var E=Function.call.bind(ie);for(var v in e)if(E(e,v)){var b=void 0;try{if(typeof e[v]!="function"){var z=Error((u||"React class")+": "+l+" 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 z.name="Invariant Violation",z}b=e[v](a,v,u,l,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(T){b=T}b&&!(b instanceof Error)&&(ye(x),f("%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).",u||"React class",l,v,typeof b),ye(null)),b instanceof Error&&!(b.message in Ne)&&(Ne[b.message]=!0,ye(x),f("Failed %s type: %s",l,b.message),ye(null))}}}var bt=Array.isArray;function Ee(e){return bt(e)}function mt(e){{var a=typeof Symbol=="function"&&Symbol.toStringTag,l=a&&e[Symbol.toStringTag]||e.constructor.name||"Object";return l}}function vt(e){try{return $e(e),!1}catch{return!0}}function $e(e){return""+e}function We(e){if(vt(e))return f("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",mt(e)),$e(e)}var le=m.ReactCurrentOwner,yt={key:!0,ref:!0,__self:!0,__source:!0},Ge,Ve,Ce;Ce={};function wt(e){if(ie.call(e,"ref")){var a=Object.getOwnPropertyDescriptor(e,"ref").get;if(a&&a.isReactWarning)return!1}return e.ref!==void 0}function xt(e){if(ie.call(e,"key")){var a=Object.getOwnPropertyDescriptor(e,"key").get;if(a&&a.isReactWarning)return!1}return e.key!==void 0}function kt(e,a){if(typeof e.ref=="string"&&le.current&&a&&le.current.stateNode!==a){var l=I(le.current.type);Ce[l]||(f('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',I(le.current.type),e.ref),Ce[l]=!0)}}function Rt(e,a){{var l=function(){Ge||(Ge=!0,f("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",a))};l.isReactWarning=!0,Object.defineProperty(e,"key",{get:l,configurable:!0})}}function Et(e,a){{var l=function(){Ve||(Ve=!0,f("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",a))};l.isReactWarning=!0,Object.defineProperty(e,"ref",{get:l,configurable:!0})}}var Ct=function(e,a,l,u,x,E,v){var b={$$typeof:r,type:e,key:a,ref:l,props:v,_owner:E};return b._store={},Object.defineProperty(b._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(b,"_self",{configurable:!1,enumerable:!1,writable:!1,value:u}),Object.defineProperty(b,"_source",{configurable:!1,enumerable:!1,writable:!1,value:x}),Object.freeze&&(Object.freeze(b.props),Object.freeze(b)),b};function St(e,a,l,u,x){{var E,v={},b=null,z=null;l!==void 0&&(We(l),b=""+l),xt(a)&&(We(a.key),b=""+a.key),wt(a)&&(z=a.ref,kt(a,x));for(E in a)ie.call(a,E)&&!yt.hasOwnProperty(E)&&(v[E]=a[E]);if(e&&e.defaultProps){var T=e.defaultProps;for(E in T)v[E]===void 0&&(v[E]=T[E])}if(b||z){var P=typeof e=="function"?e.displayName||e.name||"Unknown":e;b&&Rt(v,P),z&&Et(v,P)}return Ct(e,b,z,x,u,le.current,v)}}var Se=m.ReactCurrentOwner,De=m.ReactDebugCurrentFrame;function Q(e){if(e){var a=e._owner,l=ve(e.type,e._source,a?a.type:null);De.setExtraStackFrame(l)}else De.setExtraStackFrame(null)}var _e;_e=!1;function Te(e){return typeof e=="object"&&e!==null&&e.$$typeof===r}function Be(){{if(Se.current){var e=I(Se.current.type);if(e)return` Check the render method of \``+e+"`."}return""}}function _t(e){return""}var Ue={};function Tt(e){{var a=Be();if(!a){var l=typeof e=="string"?e:e.displayName||e.name;l&&(a=` Check the top-level render call using <`+l+">.")}return a}}function qe(e,a){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var l=Tt(a);if(Ue[l])return;Ue[l]=!0;var u="";e&&e._owner&&e._owner!==Se.current&&(u=" It was passed a child from "+I(e._owner.type)+"."),Q(e),f('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',l,u),Q(null)}}function Je(e,a){{if(typeof e!="object")return;if(Ee(e))for(var l=0;l<e.length;l++){var u=e[l];Te(u)&&qe(u,a)}else if(Te(e))e._store&&(e._store.validated=!0);else if(e){var x=h(e);if(typeof x=="function"&&x!==e.entries)for(var E=x.call(e),v;!(v=E.next()).done;)Te(v.value)&&qe(v.value,a)}}}function jt(e){{var a=e.type;if(a==null||typeof a=="string")return;var l;if(typeof a=="function")l=a.propTypes;else if(typeof a=="object"&&(a.$$typeof===p||a.$$typeof===S))l=a.propTypes;else return;if(l){var u=I(a);ht(l,e.props,"prop",u,e)}else if(a.PropTypes!==void 0&&!_e){_e=!0;var x=I(a);f("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",x||"Unknown")}typeof a.getDefaultProps=="function"&&!a.getDefaultProps.isReactClassApproved&&f("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Pt(e){{for(var a=Object.keys(e.props),l=0;l<a.length;l++){var u=a[l];if(u!=="children"&&u!=="key"){Q(e),f("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",u),Q(null);break}}e.ref!==null&&(Q(e),f("Invalid attribute `ref` supplied to `React.Fragment`."),Q(null))}}var He={};function Ke(e,a,l,u,x,E){{var v=oe(e);if(!v){var b="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(b+=" 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 z=_t();z?b+=z:b+=Be();var T;e===null?T="null":Ee(e)?T="array":e!==void 0&&e.$$typeof===r?(T="<"+(I(e.type)||"Unknown")+" />",b=" Did you accidentally export a JSX literal instead of a component?"):T=typeof e,f("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",T,b)}var P=St(e,a,l,x,E);if(P==null)return P;if(v){var Y=a.children;if(Y!==void 0)if(u)if(Ee(Y)){for(var ee=0;ee<Y.length;ee++)Je(Y[ee],e);Object.freeze&&Object.freeze(Y)}else f("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(Y,e)}if(ie.call(a,"key")){var H=I(e),M=Object.keys(a).filter(function(Ft){return Ft!=="key"}),je=M.length>0?"{key: someKey, "+M.join(": ..., ")+": ...}":"{key: someKey}";if(!He[H+je]){var It=M.length>0?"{"+M.join(": ..., ")+": ...}":"{}";f(`A props object containing a "key" prop is being spread into JSX: let props = %s; <%s {...props} /> React keys must be passed directly to JSX without using spread: let props = %s; <%s key={someKey} {...props} />`,je,H,It,H),He[H+je]=!0}}return e===n?Pt(P):jt(P),P}}function At(e,a,l){return Ke(e,a,l,!0)}function Ot(e,a,l){return Ke(e,a,l,!1)}var zt=Ot,Mt=At;de.Fragment=n,de.jsx=zt,de.jsxs=Mt}()),de}process.env.NODE_ENV==="production"?Ae.exports=Lt():Ae.exports=Nt();var ue=Ae.exports;/** * @license lucide-react v0.462.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Yt=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),rt=(...t)=>t.filter((r,o,n)=>!!r&&r.trim()!==""&&n.indexOf(r)===o).join(" ").trim();/** * @license lucide-react v0.462.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */var $t={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/** * @license lucide-react v0.462.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Wt=j.forwardRef(({color:t="currentColor",size:r=24,strokeWidth:o=2,absoluteStrokeWidth:n,className:c="",children:s,iconNode:d,...i},p)=>j.createElement("svg",{ref:p,...$t,width:r,height:r,stroke:t,strokeWidth:n?Number(o)*24/Number(r):o,className:rt("lucide",c),...i},[...d.map(([k,y])=>j.createElement(k,y)),...Array.isArray(s)?s:[s]]));/** * @license lucide-react v0.462.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const ot=(t,r)=>{const o=j.forwardRef(({className:n,...c},s)=>j.createElement(Wt,{ref:s,iconNode:r,className:rt(`lucide-${Yt(t)}`,n),...c}));return o.displayName=`${t}`,o};/** * @license lucide-react v0.462.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Gt=ot("MicOff",[["line",{x1:"2",x2:"22",y1:"2",y2:"22",key:"a6p6uj"}],["path",{d:"M18.89 13.23A7.12 7.12 0 0 0 19 12v-2",key:"80xlxr"}],["path",{d:"M5 10v2a7 7 0 0 0 12 5",key:"p2k8kg"}],["path",{d:"M15 9.34V5a3 3 0 0 0-5.68-1.33",key:"1gzdoj"}],["path",{d:"M9 9v3a3 3 0 0 0 5.12 2.12",key:"r2i35w"}],["line",{x1:"12",x2:"12",y1:"19",y2:"22",key:"x3vr5v"}]]);/** * @license lucide-react v0.462.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Vt=ot("Mic",[["path",{d:"M12 2a3 3 0 0 0-3 3v7a3 3 0 0 0 6 0V5a3 3 0 0 0-3-3Z",key:"131961"}],["path",{d:"M19 10v2a7 7 0 0 1-14 0v-2",key:"1vc78b"}],["line",{x1:"12",x2:"12",y1:"19",y2:"22",key:"x3vr5v"}]]);Array(12).fill(0);j.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},j.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"}));j.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},j.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"}));j.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},j.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"}));j.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},j.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"}));var Oe=1,Dt=class{constructor(){this.subscribe=t=>(this.subscribers.push(t),()=>{let r=this.subscribers.indexOf(t);this.subscribers.splice(r,1)}),this.publish=t=>{this.subscribers.forEach(r=>r(t))},this.addToast=t=>{this.publish(t),this.toasts=[...this.toasts,t]},this.create=t=>{var r;let{message:o,...n}=t,c=typeof(t==null?void 0:t.id)=="number"||((r=t.id)==null?void 0:r.length)>0?t.id:Oe++,s=this.toasts.find(i=>i.id===c),d=t.dismissible===void 0?!0:t.dismissible;return s?this.toasts=this.toasts.map(i=>i.id===c?(this.publish({...i,...t,id:c,title:o}),{...i,...t,id:c,dismissible:d,title:o}):i):this.addToast({title:o,...n,dismissible:d,id:c}),c},this.dismiss=t=>(t||this.toasts.forEach(r=>{this.subscribers.forEach(o=>o({id:r.id,dismiss:!0}))}),this.subscribers.forEach(r=>r({id:t,dismiss:!0})),t),this.message=(t,r)=>this.create({...r,message:t}),this.error=(t,r)=>this.create({...r,message:t,type:"error"}),this.success=(t,r)=>this.create({...r,type:"success",message:t}),this.info=(t,r)=>this.create({...r,type:"info",message:t}),this.warning=(t,r)=>this.create({...r,type:"warning",message:t}),this.loading=(t,r)=>this.create({...r,type:"loading",message:t}),this.promise=(t,r)=>{if(!r)return;let o;r.loading!==void 0&&(o=this.create({...r,promise:t,type:"loading",message:r.loading,description:typeof r.description!="function"?r.description:void 0}));let n=t instanceof Promise?t:t(),c=o!==void 0;return n.then(async s=>{if(Ut(s)&&!s.ok){c=!1;let d=typeof r.error=="function"?await r.error(`HTTP error! status: ${s.status}`):r.error,i=typeof r.description=="function"?await r.description(`HTTP error! status: ${s.status}`):r.description;this.create({id:o,type:"error",message:d,description:i})}else if(r.success!==void 0){c=!1;let d=typeof r.success=="function"?await r.success(s):r.success,i=typeof r.description=="function"?await r.description(s):r.description;this.create({id:o,type:"success",message:d,description:i})}}).catch(async s=>{if(r.error!==void 0){c=!1;let d=typeof r.error=="function"?await r.error(s):r.error,i=typeof r.description=="function"?await r.description(s):r.description;this.create({id:o,type:"error",message:d,description:i})}}).finally(()=>{var s;c&&(this.dismiss(o),o=void 0),(s=r.finally)==null||s.call(r)}),o},this.custom=(t,r)=>{let o=(r==null?void 0:r.id)||Oe++;return this.create({jsx:t(o),id:o,...r}),o},this.subscribers=[],this.toasts=[]}},G=new Dt,Bt=(t,r)=>{let o=(r==null?void 0:r.id)||Oe++;return G.addToast({title:t,...r,id:o}),o},Ut=t=>t&&typeof t=="object"&&"ok"in t&&typeof t.ok=="boolean"&&"status"in t&&typeof t.status=="number",qt=Bt,Jt=()=>G.toasts,we=Object.assign(qt,{success:G.success,info:G.info,warning:G.warning,error:G.error,custom:G.custom,message:G.message,promise:G.promise,dismiss:G.dismiss,loading:G.loading},{getHistory:Jt});function Ht(t,{insertAt:r}={}){if(typeof document>"u")return;let o=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css",r==="top"&&o.firstChild?o.insertBefore(n,o.firstChild):o.appendChild(n),n.styleSheet?n.styleSheet.cssText=t:n.appendChild(document.createTextNode(t))}Ht(`:where(html[dir="ltr"]),:where([data-sonner-toaster][dir="ltr"]){--toast-icon-margin-start: -3px;--toast-icon-margin-end: 4px;--toast-svg-margin-start: -1px;--toast-svg-margin-end: 0px;--toast-button-margin-start: auto;--toast-button-margin-end: 0;--toast-close-button-start: 0;--toast-close-button-end: unset;--toast-close-button-transform: translate(-35%, -35%)}:where(html[dir="rtl"]),:where([data-sonner-toaster][dir="rtl"]){--toast-icon-margin-start: 4px;--toast-icon-margin-end: -3px;--toast-svg-margin-start: 0px;--toast-svg-margin-end: -1px;--toast-button-margin-start: 0;--toast-button-margin-end: auto;--toast-close-button-start: unset;--toast-close-button-end: 0;--toast-close-button-transform: translate(35%, -35%)}:where([data-sonner-toaster]){position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1: hsl(0, 0%, 99%);--gray2: hsl(0, 0%, 97.3%);--gray3: hsl(0, 0%, 95.1%);--gray4: hsl(0, 0%, 93%);--gray5: hsl(0, 0%, 90.9%);--gray6: hsl(0, 0%, 88.7%);--gray7: hsl(0, 0%, 85.8%);--gray8: hsl(0, 0%, 78%);--gray9: hsl(0, 0%, 56.1%);--gray10: hsl(0, 0%, 52.3%);--gray11: hsl(0, 0%, 43.5%);--gray12: hsl(0, 0%, 9%);--border-radius: 8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:none;z-index:999999999}:where([data-sonner-toaster][data-x-position="right"]){right:max(var(--offset),env(safe-area-inset-right))}:where([data-sonner-toaster][data-x-position="left"]){left:max(var(--offset),env(safe-area-inset-left))}:where([data-sonner-toaster][data-x-position="center"]){left:50%;transform:translate(-50%)}:where([data-sonner-toaster][data-y-position="top"]){top:max(var(--offset),env(safe-area-inset-top))}:where([data-sonner-toaster][data-y-position="bottom"]){bottom:max(var(--offset),env(safe-area-inset-bottom))}:where([data-sonner-toast]){--y: translateY(100%);--lift-amount: calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);filter:blur(0);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:none;overflow-wrap:anywhere}:where([data-sonner-toast][data-styled="true"]){padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px #0000001a;width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}:where([data-sonner-toast]:focus-visible){box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast][data-y-position="top"]){top:0;--y: translateY(-100%);--lift: 1;--lift-amount: calc(1 * var(--gap))}:where([data-sonner-toast][data-y-position="bottom"]){bottom:0;--y: translateY(100%);--lift: -1;--lift-amount: calc(var(--lift) * var(--gap))}:where([data-sonner-toast]) :where([data-description]){font-weight:400;line-height:1.4;color:inherit}:where([data-sonner-toast]) :where([data-title]){font-weight:500;line-height:1.5;color:inherit}:where([data-sonner-toast]) :where([data-icon]){display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}:where([data-sonner-toast][data-promise="true"]) :where([data-icon])>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}:where([data-sonner-toast]) :where([data-icon])>*{flex-shrink:0}:where([data-sonner-toast]) :where([data-icon]) svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}:where([data-sonner-toast]) :where([data-content]){display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;cursor:pointer;outline:none;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}:where([data-sonner-toast]) :where([data-button]):focus-visible{box-shadow:0 0 0 2px #0006}:where([data-sonner-toast]) :where([data-button]):first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}:where([data-sonner-toast]) :where([data-cancel]){color:var(--normal-text);background:rgba(0,0,0,.08)}:where([data-sonner-toast][data-theme="dark"]) :where([data-cancel]){background:rgba(255,255,255,.3)}:where([data-sonner-toast]) :where([data-close-button]){position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;background:var(--gray1);color:var(--gray12);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}:where([data-sonner-toast]) :where([data-close-button]):focus-visible{box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast]) :where([data-disabled="true"]){cursor:not-allowed}:where([data-sonner-toast]):hover :where([data-close-button]):hover{background:var(--gray2);border-color:var(--gray5)}:where([data-sonner-toast][data-swiping="true"]):before{content:"";position:absolute;left:0;right:0;height:100%;z-index:-1}:where([data-sonner-toast][data-y-position="top"][data-swiping="true"]):before{bottom:50%;transform:scaleY(3) translateY(50%)}:where([data-sonner-toast][data-y-position="bottom"][data-swiping="true"]):before{top:50%;transform:scaleY(3) translateY(-50%)}:where([data-sonner-toast][data-swiping="false"][data-removed="true"]):before{content:"";position:absolute;inset:0;transform:scaleY(2)}:where([data-sonner-toast]):after{content:"";position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}:where([data-sonner-toast][data-mounted="true"]){--y: translateY(0);opacity:1}:where([data-sonner-toast][data-expanded="false"][data-front="false"]){--scale: var(--toasts-before) * .05 + 1;--y: translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}:where([data-sonner-toast])>*{transition:opacity .4s}:where([data-sonner-toast][data-expanded="false"][data-front="false"][data-styled="true"])>*{opacity:0}:where([data-sonner-toast][data-visible="false"]){opacity:0;pointer-events:none}:where([data-sonner-toast][data-mounted="true"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}:where([data-sonner-toast][data-removed="true"][data-front="true"][data-swipe-out="false"]){--y: translateY(calc(var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="false"]){--y: translateY(40%);opacity:0;transition:transform .5s,opacity .2s}:where([data-sonner-toast][data-removed="true"][data-front="false"]):before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount, 0px));transition:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation:swipe-out .2s ease-out forwards}@keyframes swipe-out{0%{transform:translateY(calc(var(--lift) * var(--offset) + var(--swipe-amount)));opacity:1}to{transform:translateY(calc(var(--lift) * var(--offset) + var(--swipe-amount) + var(--lift) * -100%));opacity:0}}@media (max-width: 600px){[data-sonner-toaster]{position:fixed;--mobile-offset: 16px;right:var(--mobile-offset);left:var(--mobile-offset);width:100%}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset)}[data-sonner-toaster][data-y-position=bottom]{bottom:20px}[data-sonner-toaster][data-y-position=top]{top:20px}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset);right:var(--mobile-offset);transform:none}}[data-sonner-toaster][data-theme=light]{--normal-bg: #fff;--normal-border: var(--gray4);--normal-text: var(--gray12);--success-bg: hsl(143, 85%, 96%);--success-border: hsl(145, 92%, 91%);--success-text: hsl(140, 100%, 27%);--info-bg: hsl(208, 100%, 97%);--info-border: hsl(221, 91%, 91%);--info-text: hsl(210, 92%, 45%);--warning-bg: hsl(49, 100%, 97%);--warning-border: hsl(49, 91%, 91%);--warning-text: hsl(31, 92%, 45%);--error-bg: hsl(359, 100%, 97%);--error-border: hsl(359, 100%, 94%);--error-text: hsl(360, 100%, 45%)}[data-sonner-toaster][data-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg: #000;--normal-border: hsl(0, 0%, 20%);--normal-text: var(--gray1)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg: #fff;--normal-border: var(--gray3);--normal-text: var(--gray12)}[data-sonner-toaster][data-theme=dark]{--normal-bg: #000;--normal-border: hsl(0, 0%, 20%);--normal-text: var(--gray1);--success-bg: hsl(150, 100%, 6%);--success-border: hsl(147, 100%, 12%);--success-text: hsl(150, 86%, 65%);--info-bg: hsl(215, 100%, 6%);--info-border: hsl(223, 100%, 12%);--info-text: hsl(216, 87%, 65%);--warning-bg: hsl(64, 100%, 6%);--warning-border: hsl(60, 100%, 12%);--warning-text: hsl(46, 87%, 65%);--error-bg: hsl(358, 76%, 10%);--error-border: hsl(357, 89%, 16%);--error-text: hsl(358, 100%, 81%)}[data-rich-colors=true][data-sonner-toast][data-type=success],[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info],[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning],[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error],[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size: 16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:nth-child(1){animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}to{opacity:.15}}@media (prefers-reduced-motion){[data-sonner-toast],[data-sonner-toast]>*,.sonner-loading-bar{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)} `);function at(t){var r,o,n="";if(typeof t=="string"||typeof t=="number")n+=t;else if(typeof t=="object")if(Array.isArray(t)){var c=t.length;for(r=0;r<c;r++)t[r]&&(o=at(t[r]))&&(n&&(n+=" "),n+=o)}else for(o in t)t[o]&&(n&&(n+=" "),n+=o);return n}function Kt(){for(var t,r,o=0,n="",c=arguments.length;o<c;o++)(t=arguments[o])&&(r=at(t))&&(n&&(n+=" "),n+=r);return n}const Me="-",Xt=t=>{const r=Qt(t),{conflictingClassGroups:o,conflictingClassGroupModifiers:n}=t;return{getClassGroupId:d=>{const i=d.split(Me);return i[0]===""&&i.length!==1&&i.shift(),nt(i,r)||Zt(d)},getConflictingClassGroupIds:(d,i)=>{const p=o[d]||[];return i&&n[d]?[...p,...n[d]]:p}}},nt=(t,r)=>{var d;if(t.length===0)return r.classGroupId;const o=t[0],n=r.nextPart.get(o),c=n?nt(t.slice(1),n):void 0;if(c)return c;if(r.validators.length===0)return;const s=t.join(Me);return(d=r.validators.find(({validator:i})=>i(s)))==null?void 0:d.classGroupId},Qe=/^\[(.+)\]$/,Zt=t=>{if(Qe.test(t)){const r=Qe.exec(t)[1],o=r==null?void 0:r.substring(0,r.indexOf(":"));if(o)return"arbitrary.."+o}},Qt=t=>{const{theme:r,prefix:o}=t,n={nextPart:new Map,validators:[]};return tr(Object.entries(t.classGroups),o).forEach(([s,d])=>{ze(d,n,s,r)}),n},ze=(t,r,o,n)=>{t.forEach(c=>{if(typeof c=="string"){const s=c===""?r:et(r,c);s.classGroupId=o;return}if(typeof c=="function"){if(er(c)){ze(c(n),r,o,n);return}r.validators.push({validator:c,classGroupId:o});return}Object.entries(c).forEach(([s,d])=>{ze(d,et(r,s),o,n)})})},et=(t,r)=>{let o=t;return r.split(Me).forEach(n=>{o.nextPart.has(n)||o.nextPart.set(n,{nextPart:new Map,validators:[]}),o=o.nextPart.get(n)}),o},er=t=>t.isThemeGetter,tr=(t,r)=>r?t.map(([o,n])=>{const c=n.map(s=>typeof s=="string"?r+s:typeof s=="object"?Object.fromEntries(Object.entries(s).map(([d,i])=>[r+d,i])):s);return[o,c]}):t,rr=t=>{if(t<1)return{get:()=>{},set:()=>{}};let r=0,o=new Map,n=new Map;const c=(s,d)=>{o.set(s,d),r++,r>t&&(r=0,n=o,o=new Map)};return{get(s){let d=o.get(s);if(d!==void 0)return d;if((d=n.get(s))!==void 0)return c(s,d),d},set(s,d){o.has(s)?o.set(s,d):c(s,d)}}},st="!",or=t=>{const{separator:r,experimentalParseClassName:o}=t,n=r.length===1,c=r[0],s=r.length,d=i=>{const p=[];let k=0,y=0,S;for(let h=0;h<i.length;h++){let m=i[h];if(k===0){if(m===c&&(n||i.slice(h,h+s)===r)){p.push(i.slice(y,h)),y=h+s;continue}if(m==="/"){S=h;continue}}m==="["?k++:m==="]"&&k--}const _=p.length===0?i:i.substring(y),A=_.startsWith(st),O=A?_.substring(1):_,w=S&&S>y?S-y:void 0;return{modifiers:p,hasImportantModifier:A,baseClassName:O,maybePostfixModifierPosition:w}};return o?i=>o({className:i,parseClassName:d}):d},ar=t=>{if(t.length<=1)return t;const r=[];let o=[];return t.forEach(n=>{n[0]==="["?(r.push(...o.sort(),n),o=[]):o.push(n)}),r.push(...o.sort()),r},nr=t=>({cache:rr(t.cacheSize),parseClassName:or(t),...Xt(t)}),sr=/\s+/,ir=(t,r)=>{const{parseClassName:o,getClassGroupId:n,getConflictingClassGroupIds:c}=r,s=[],d=t.trim().split(sr);let i="";for(let p=d.length-1;p>=0;p-=1){const k=d[p],{modifiers:y,hasImportantModifier:S,baseClassName:_,maybePostfixModifierPosition:A}=o(k);let O=!!A,w=n(O?_.substring(0,A):_);if(!w){if(!O){i=k+(i.length>0?" "+i:i);continue}if(w=n(_),!w){i=k+(i.length>0?" "+i:i);continue}O=!1}const h=ar(y).join(":"),m=S?h+st:h,f=m+w;if(s.includes(f))continue;s.push(f);const $=c(w,O);for(let F=0;F<$.length;++F){const W=$[F];s.push(m+W)}i=k+(i.length>0?" "+i:i)}return i};function lr(){let t=0,r,o,n="";for(;t<arguments.length;)(r=arguments[t++])&&(o=it(r))&&(n&&(n+=" "),n+=o);return n}const it=t=>{if(typeof t=="string")return t;let r,o="";for(let n=0;n<t.length;n++)t[n]&&(r=it(t[n]))&&(o&&(o+=" "),o+=r);return o};function cr(t,...r){let o,n,c,s=d;function d(p){const k=r.reduce((y,S)=>S(y),t());return o=nr(k),n=o.cache.get,c=o.cache.set,s=i,i(p)}function i(p){const k=n(p);if(k)return k;const y=ir(p,o);return c(p,y),y}return function(){return s(lr.apply(null,arguments))}}const C=t=>{const r=o=>o[t]||[];return r.isThemeGetter=!0,r},lt=/^\[(?:([a-z-]+):)?(.+)\]$/i,dr=/^\d+\/\d+$/,ur=new Set(["px","full","screen"]),fr=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,pr=/\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$/,gr=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,hr=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,br=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,V=t=>te(t)||ur.has(t)||dr.test(t),U=t=>re(t,"length",Er),te=t=>!!t&&!Number.isNaN(Number(t)),Pe=t=>re(t,"number",te),fe=t=>!!t&&Number.isInteger(Number(t)),mr=t=>t.endsWith("%")&&te(t.slice(0,-1)),g=t=>lt.test(t),q=t=>fr.test(t),vr=new Set(["length","size","percentage"]),yr=t=>re(t,vr,ct),wr=t=>re(t,"position",ct),xr=new Set(["image","url"]),kr=t=>re(t,xr,Sr),Rr=t=>re(t,"",Cr),pe=()=>!0,re=(t,r,o)=>{const n=lt.exec(t);return n?n[1]?typeof r=="string"?n[1]===r:r.has(n[1]):o(n[2]):!1},Er=t=>pr.test(t)&&!gr.test(t),ct=()=>!1,Cr=t=>hr.test(t),Sr=t=>br.test(t),_r=()=>{const t=C("colors"),r=C("spacing"),o=C("blur"),n=C("brightness"),c=C("borderColor"),s=C("borderRadius"),d=C("borderSpacing"),i=C("borderWidth"),p=C("contrast"),k=C("grayscale"),y=C("hueRotate"),S=C("invert"),_=C("gap"),A=C("gradientColorStops"),O=C("gradientColorStopPositions"),w=C("inset"),h=C("margin"),m=C("opacity"),f=C("padding"),$=C("saturate"),F=C("scale"),W=C("sepia"),K=C("skew"),ge=C("space"),he=C("translate"),X=()=>["auto","contain","none"],oe=()=>["auto","hidden","clip","visible","scroll"],ae=()=>["auto",g,r],R=()=>[g,r],I=()=>["",V,U],L=()=>["auto",te,g],D=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],J=()=>["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"],Z=()=>["start","end","center","between","around","evenly","stretch"],B=()=>["","0",g],se=()=>["auto","avoid","all","avoid-page","page","left","right","column"],N=()=>[te,g];return{cacheSize:500,separator:":",theme:{colors:[pe],spacing:[V,U],blur:["none","",q,g],brightness:N(),borderColor:[t],borderRadius:["none","","full",q,g],borderSpacing:R(),borderWidth:I(),contrast:N(),grayscale:B(),hueRotate:N(),invert:B(),gap:R(),gradientColorStops:[t],gradientColorStopPositions:[mr,U],inset:ae(),margin:ae(),opacity:N(),padding:R(),saturate:N(),scale:N(),sepia:B(),skew:N(),space:R(),translate:R()},classGroups:{aspect:[{aspect:["auto","square","video",g]}],container:["container"],columns:[{columns:[q]}],"break-after":[{"break-after":se()}],"break-before":[{"break-before":se()}],"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:[...D(),g]}],overflow:[{overflow:oe()}],"overflow-x":[{"overflow-x":oe()}],"overflow-y":[{"overflow-y":oe()}],overscroll:[{overscroll:X()}],"overscroll-x":[{"overscroll-x":X()}],"overscroll-y":[{"overscroll-y":X()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[w]}],"inset-x":[{"inset-x":[w]}],"inset-y":[{"inset-y":[w]}],start:[{start:[w]}],end:[{end:[w]}],top:[{top:[w]}],right:[{right:[w]}],bottom:[{bottom:[w]}],left:[{left:[w]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",fe,g]}],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",g]}],grow:[{grow:B()}],shrink:[{shrink:B()}],order:[{order:["first","last","none",fe,g]}],"grid-cols":[{"grid-cols":[pe]}],"col-start-end":[{col:["auto",{span:["full",fe,g]},g]}],"col-start":[{"col-start":L()}],"col-end":[{"col-end":L()}],"grid-rows":[{"grid-rows":[pe]}],"row-start-end":[{row:["auto",{span:[fe,g]},g]}],"row-start":[{"row-start":L()}],"row-end":[{"row-end":L()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",g]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",g]}],gap:[{gap:[_]}],"gap-x":[{"gap-x":[_]}],"gap-y":[{"gap-y":[_]}],"justify-content":[{justify:["normal",...Z()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...Z(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...Z(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[f]}],px:[{px:[f]}],py:[{py:[f]}],ps:[{ps:[f]}],pe:[{pe:[f]}],pt:[{pt:[f]}],pr:[{pr:[f]}],pb:[{pb:[f]}],pl:[{pl:[f]}],m:[{m:[h]}],mx:[{mx:[h]}],my:[{my:[h]}],ms:[{ms:[h]}],me:[{me:[h]}],mt:[{mt:[h]}],mr:[{mr:[h]}],mb:[{mb:[h]}],ml:[{ml:[h]}],"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",g,r]}],"min-w":[{"min-w":[g,r,"min","max","fit"]}],"max-w":[{"max-w":[g,r,"none","full","min","max","fit","prose",{screen:[q]},q]}],h:[{h:[g,r,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[g,r,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[g,r,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[g,r,"auto","min","max","fit"]}],"font-size":[{text:["base",q,U]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Pe]}],"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",g]}],"line-clamp":[{"line-clamp":["none",te,Pe]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",V,g]}],"list-image":[{"list-image":["none",g]}],"list-style-type":[{list:["none","disc","decimal",g]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[t]}],"placeholder-opacity":[{"placeholder-opacity":[m]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[t]}],"text-opacity":[{"text-opacity":[m]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...J(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",V,U]}],"underline-offset":[{"underline-offset":["auto",V,g]}],"text-decoration-color":[{decoration:[t]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:R()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",g]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",g]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[m]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...D(),wr]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",yr]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},kr]}],"bg-color":[{bg:[t]}],"gradient-from-pos":[{from:[O]}],"gradient-via-pos":[{via:[O]}],"gradient-to-pos":[{to:[O]}],"gradient-from":[{from:[A]}],"gradient-via":[{via:[A]}],"gradient-to":[{to:[A]}],rounded:[{rounded:[s]}],"rounded-s":[{"rounded-s":[s]}],"rounded-e":[{"rounded-e":[s]}],"rounded-t":[{"rounded-t":[s]}],"rounded-r":[{"rounded-r":[s]}],"rounded-b":[{"rounded-b":[s]}],"rounded-l":[{"rounded-l":[s]}],"rounded-ss":[{"rounded-ss":[s]}],"rounded-se":[{"rounded-se":[s]}],"rounded-ee":[{"rounded-ee":[s]}],"rounded-es":[{"rounded-es":[s]}],"rounded-tl":[{"rounded-tl":[s]}],"rounded-tr":[{"rounded-tr":[s]}],"rounded-br":[{"rounded-br":[s]}],"rounded-bl":[{"rounded-bl":[s]}],"border-w":[{border:[i]}],"border-w-x":[{"border-x":[i]}],"border-w-y":[{"border-y":[i]}],"border-w-s":[{"border-s":[i]}],"border-w-e":[{"border-e":[i]}],"border-w-t":[{"border-t":[i]}],"border-w-r":[{"border-r":[i]}],"border-w-b":[{"border-b":[i]}],"border-w-l":[{"border-l":[i]}],"border-opacity":[{"border-opacity":[m]}],"border-style":[{border:[...J(),"hidden"]}],"divide-x":[{"divide-x":[i]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[i]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[m]}],"divide-style":[{divide:J()}],"border-color":[{border:[c]}],"border-color-x":[{"border-x":[c]}],"border-color-y":[{"border-y":[c]}],"border-color-s":[{"border-s":[c]}],"border-color-e":[{"border-e":[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:["",...J()]}],"outline-offset":[{"outline-offset":[V,g]}],"outline-w":[{outline:[V,U]}],"outline-color":[{outline:[t]}],"ring-w":[{ring:I()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[t]}],"ring-opacity":[{"ring-opacity":[m]}],"ring-offset-w":[{"ring-offset":[V,U]}],"ring-offset-color":[{"ring-offset":[t]}],shadow:[{shadow:["","inner","none",q,Rr]}],"shadow-color":[{shadow:[pe]}],opacity:[{opacity:[m]}],"mix-blend":[{"mix-blend":[...ne(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":ne()}],filter:[{filter:["","none"]}],blur:[{blur:[o]}],brightness:[{brightness:[n]}],contrast:[{contrast:[p]}],"drop-shadow":[{"drop-shadow":["","none",q,g]}],grayscale:[{grayscale:[k]}],"hue-rotate":[{"hue-rotate":[y]}],invert:[{invert:[S]}],saturate:[{saturate:[$]}],sepia:[{sepia:[W]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[o]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[p]}],"backdrop-grayscale":[{"backdrop-grayscale":[k]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[y]}],"backdrop-invert":[{"backdrop-invert":[S]}],"backdrop-opacity":[{"backdrop-opacity":[m]}],"backdrop-saturate":[{"backdrop-saturate":[$]}],"backdrop-sepia":[{"backdrop-sepia":[W]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[d]}],"border-spacing-x":[{"border-spacing-x":[d]}],"border-spacing-y":[{"border-spacing-y":[d]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",g]}],duration:[{duration:N()}],ease:[{ease:["linear","in","out","in-out",g]}],delay:[{delay:N()}],animate:[{animate:["none","spin","ping","pulse","bounce",g]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[F]}]