UNPKG

agentic-ui-libs

Version:

A modular, config-driven analytics library for React and Angular applications

118 lines (116 loc) 626 kB
(function(le,A){typeof exports=="object"&&typeof module<"u"?A(exports,require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react","react-dom"],A):(le=typeof globalThis<"u"?globalThis:le||self,A(le.AgenticUILibs={},le.React,le.ReactDOM))})(this,function(le,A,Jr){"use strict";var vz=Object.defineProperty;var yz=(le,A,Jr)=>A in le?vz(le,A,{enumerable:!0,configurable:!0,writable:!0,value:Jr}):le[A]=Jr;var Bt=(le,A,Jr)=>yz(le,typeof A!="symbol"?A+"":A,Jr);function qb(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const xt=qb(A);var Ei=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Ce(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Bs={exports:{}},sa={};/** * @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 hf;function Hb(){if(hf)return sa;hf=1;var e=A,t=Symbol.for("react.element"),r=Symbol.for("react.fragment"),n=Object.prototype.hasOwnProperty,a=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function o(s,l,u){var c,f={},d=null,p=null;u!==void 0&&(d=""+u),l.key!==void 0&&(d=""+l.key),l.ref!==void 0&&(p=l.ref);for(c in l)n.call(l,c)&&!i.hasOwnProperty(c)&&(f[c]=l[c]);if(s&&s.defaultProps)for(c in l=s.defaultProps,l)f[c]===void 0&&(f[c]=l[c]);return{$$typeof:t,type:s,key:d,ref:p,props:f,_owner:a.current}}return sa.Fragment=r,sa.jsx=o,sa.jsxs=o,sa}var la={};/** * @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 vf;function Yb(){return vf||(vf=1,process.env.NODE_ENV!=="production"&&function(){var e=A,t=Symbol.for("react.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),o=Symbol.for("react.provider"),s=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),c=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),p=Symbol.for("react.offscreen"),v=Symbol.iterator,y="@@iterator";function h(N){if(N===null||typeof N!="object")return null;var H=v&&N[v]||N[y];return typeof H=="function"?H:null}var b=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function S(N){{for(var H=arguments.length,re=new Array(H>1?H-1:0),ce=1;ce<H;ce++)re[ce-1]=arguments[ce];x("error",N,re)}}function x(N,H,re){{var ce=b.ReactDebugCurrentFrame,Pe=ce.getStackAddendum();Pe!==""&&(H+="%s",re=re.concat([Pe]));var $e=re.map(function(ge){return String(ge)});$e.unshift("Warning: "+H),Function.prototype.apply.call(console[N],console,$e)}}var T=!1,m=!1,w=!1,O=!1,P=!1,j;j=Symbol.for("react.module.reference");function M(N){return!!(typeof N=="string"||typeof N=="function"||N===n||N===i||P||N===a||N===u||N===c||O||N===p||T||m||w||typeof N=="object"&&N!==null&&(N.$$typeof===d||N.$$typeof===f||N.$$typeof===o||N.$$typeof===s||N.$$typeof===l||N.$$typeof===j||N.getModuleId!==void 0))}function _(N,H,re){var ce=N.displayName;if(ce)return ce;var Pe=H.displayName||H.name||"";return Pe!==""?re+"("+Pe+")":re}function $(N){return N.displayName||"Context"}function R(N){if(N==null)return null;if(typeof N.tag=="number"&&S("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof N=="function")return N.displayName||N.name||null;if(typeof N=="string")return N;switch(N){case n:return"Fragment";case r:return"Portal";case i:return"Profiler";case a:return"StrictMode";case u:return"Suspense";case c:return"SuspenseList"}if(typeof N=="object")switch(N.$$typeof){case s:var H=N;return $(H)+".Consumer";case o:var re=N;return $(re._context)+".Provider";case l:return _(N,N.render,"ForwardRef");case f:var ce=N.displayName||null;return ce!==null?ce:R(N.type)||"Memo";case d:{var Pe=N,$e=Pe._payload,ge=Pe._init;try{return R(ge($e))}catch{return null}}}return null}var k=Object.assign,D=0,C,B,U,G,E,L,F;function W(){}W.__reactDisabledLog=!0;function K(){{if(D===0){C=console.log,B=console.info,U=console.warn,G=console.error,E=console.group,L=console.groupCollapsed,F=console.groupEnd;var N={configurable:!0,enumerable:!0,value:W,writable:!0};Object.defineProperties(console,{info:N,log:N,warn:N,error:N,group:N,groupCollapsed:N,groupEnd:N})}D++}}function X(){{if(D--,D===0){var N={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:k({},N,{value:C}),info:k({},N,{value:B}),warn:k({},N,{value:U}),error:k({},N,{value:G}),group:k({},N,{value:E}),groupCollapsed:k({},N,{value:L}),groupEnd:k({},N,{value:F})})}D<0&&S("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Q=b.ReactCurrentDispatcher,ae;function te(N,H,re){{if(ae===void 0)try{throw Error()}catch(Pe){var ce=Pe.stack.trim().match(/\n( *(at )?)/);ae=ce&&ce[1]||""}return` `+ae+N}}var V=!1,Y;{var J=typeof WeakMap=="function"?WeakMap:Map;Y=new J}function I(N,H){if(!N||V)return"";{var re=Y.get(N);if(re!==void 0)return re}var ce;V=!0;var Pe=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var $e;$e=Q.current,Q.current=null,K();try{if(H){var ge=function(){throw Error()};if(Object.defineProperty(ge.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(ge,[])}catch(vt){ce=vt}Reflect.construct(N,[],ge)}else{try{ge.call()}catch(vt){ce=vt}N.call(ge.prototype)}}else{try{throw Error()}catch(vt){ce=vt}N()}}catch(vt){if(vt&&ce&&typeof vt.stack=="string"){for(var me=vt.stack.split(` `),ut=ce.stack.split(` `),Ke=me.length-1,He=ut.length-1;Ke>=1&&He>=0&&me[Ke]!==ut[He];)He--;for(;Ke>=1&&He>=0;Ke--,He--)if(me[Ke]!==ut[He]){if(Ke!==1||He!==1)do if(Ke--,He--,He<0||me[Ke]!==ut[He]){var $t=` `+me[Ke].replace(" at new "," at ");return N.displayName&&$t.includes("<anonymous>")&&($t=$t.replace("<anonymous>",N.displayName)),typeof N=="function"&&Y.set(N,$t),$t}while(Ke>=1&&He>=0);break}}}finally{V=!1,Q.current=$e,X(),Error.prepareStackTrace=Pe}var oa=N?N.displayName||N.name:"",Zr=oa?te(oa):"";return typeof N=="function"&&Y.set(N,Zr),Zr}function ie(N,H,re){return I(N,!1)}function q(N){var H=N.prototype;return!!(H&&H.isReactComponent)}function se(N,H,re){if(N==null)return"";if(typeof N=="function")return I(N,q(N));if(typeof N=="string")return te(N);switch(N){case u:return te("Suspense");case c:return te("SuspenseList")}if(typeof N=="object")switch(N.$$typeof){case l:return ie(N.render);case f:return se(N.type,H,re);case d:{var ce=N,Pe=ce._payload,$e=ce._init;try{return se($e(Pe),H,re)}catch{}}}return""}var ee=Object.prototype.hasOwnProperty,ve={},We=b.ReactDebugCurrentFrame;function Re(N){if(N){var H=N._owner,re=se(N.type,N._source,H?H.type:null);We.setExtraStackFrame(re)}else We.setExtraStackFrame(null)}function Be(N,H,re,ce,Pe){{var $e=Function.call.bind(ee);for(var ge in N)if($e(N,ge)){var me=void 0;try{if(typeof N[ge]!="function"){var ut=Error((ce||"React class")+": "+re+" type `"+ge+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof N[ge]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw ut.name="Invariant Violation",ut}me=N[ge](H,ge,ce,re,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Ke){me=Ke}me&&!(me instanceof Error)&&(Re(Pe),S("%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).",ce||"React class",re,ge,typeof me),Re(null)),me instanceof Error&&!(me.message in ve)&&(ve[me.message]=!0,Re(Pe),S("Failed %s type: %s",re,me.message),Re(null))}}}var Ge=Array.isArray;function lt(N){return Ge(N)}function Ai(N){{var H=typeof Symbol=="function"&&Symbol.toStringTag,re=H&&N[Symbol.toStringTag]||N.constructor.name||"Object";return re}}function Ti(N){try{return aa(N),!1}catch{return!0}}function aa(N){return""+N}function Pi(N){if(Ti(N))return S("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Ai(N)),aa(N)}var _i=b.ReactCurrentOwner,ZU={key:!0,ref:!0,__self:!0,__source:!0},Rb,Bb;function JU(N){if(ee.call(N,"ref")){var H=Object.getOwnPropertyDescriptor(N,"ref").get;if(H&&H.isReactWarning)return!1}return N.ref!==void 0}function QU(N){if(ee.call(N,"key")){var H=Object.getOwnPropertyDescriptor(N,"key").get;if(H&&H.isReactWarning)return!1}return N.key!==void 0}function ez(N,H){typeof N.ref=="string"&&_i.current}function tz(N,H){{var re=function(){Rb||(Rb=!0,S("%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)",H))};re.isReactWarning=!0,Object.defineProperty(N,"key",{get:re,configurable:!0})}}function rz(N,H){{var re=function(){Bb||(Bb=!0,S("%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)",H))};re.isReactWarning=!0,Object.defineProperty(N,"ref",{get:re,configurable:!0})}}var nz=function(N,H,re,ce,Pe,$e,ge){var me={$$typeof:t,type:N,key:H,ref:re,props:ge,_owner:$e};return me._store={},Object.defineProperty(me._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(me,"_self",{configurable:!1,enumerable:!1,writable:!1,value:ce}),Object.defineProperty(me,"_source",{configurable:!1,enumerable:!1,writable:!1,value:Pe}),Object.freeze&&(Object.freeze(me.props),Object.freeze(me)),me};function az(N,H,re,ce,Pe){{var $e,ge={},me=null,ut=null;re!==void 0&&(Pi(re),me=""+re),QU(H)&&(Pi(H.key),me=""+H.key),JU(H)&&(ut=H.ref,ez(H,Pe));for($e in H)ee.call(H,$e)&&!ZU.hasOwnProperty($e)&&(ge[$e]=H[$e]);if(N&&N.defaultProps){var Ke=N.defaultProps;for($e in Ke)ge[$e]===void 0&&(ge[$e]=Ke[$e])}if(me||ut){var He=typeof N=="function"?N.displayName||N.name||"Unknown":N;me&&tz(ge,He),ut&&rz(ge,He)}return nz(N,me,ut,Pe,ce,_i.current,ge)}}var cf=b.ReactCurrentOwner,Fb=b.ReactDebugCurrentFrame;function ia(N){if(N){var H=N._owner,re=se(N.type,N._source,H?H.type:null);Fb.setExtraStackFrame(re)}else Fb.setExtraStackFrame(null)}var ff;ff=!1;function df(N){return typeof N=="object"&&N!==null&&N.$$typeof===t}function Wb(){{if(cf.current){var N=R(cf.current.type);if(N)return` Check the render method of \``+N+"`."}return""}}function iz(N){return""}var Ub={};function oz(N){{var H=Wb();if(!H){var re=typeof N=="string"?N:N.displayName||N.name;re&&(H=` Check the top-level render call using <`+re+">.")}return H}}function zb(N,H){{if(!N._store||N._store.validated||N.key!=null)return;N._store.validated=!0;var re=oz(H);if(Ub[re])return;Ub[re]=!0;var ce="";N&&N._owner&&N._owner!==cf.current&&(ce=" It was passed a child from "+R(N._owner.type)+"."),ia(N),S('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',re,ce),ia(null)}}function Gb(N,H){{if(typeof N!="object")return;if(lt(N))for(var re=0;re<N.length;re++){var ce=N[re];df(ce)&&zb(ce,H)}else if(df(N))N._store&&(N._store.validated=!0);else if(N){var Pe=h(N);if(typeof Pe=="function"&&Pe!==N.entries)for(var $e=Pe.call(N),ge;!(ge=$e.next()).done;)df(ge.value)&&zb(ge.value,H)}}}function sz(N){{var H=N.type;if(H==null||typeof H=="string")return;var re;if(typeof H=="function")re=H.propTypes;else if(typeof H=="object"&&(H.$$typeof===l||H.$$typeof===f))re=H.propTypes;else return;if(re){var ce=R(H);Be(re,N.props,"prop",ce,N)}else if(H.PropTypes!==void 0&&!ff){ff=!0;var Pe=R(H);S("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",Pe||"Unknown")}typeof H.getDefaultProps=="function"&&!H.getDefaultProps.isReactClassApproved&&S("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function lz(N){{for(var H=Object.keys(N.props),re=0;re<H.length;re++){var ce=H[re];if(ce!=="children"&&ce!=="key"){ia(N),S("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",ce),ia(null);break}}N.ref!==null&&(ia(N),S("Invalid attribute `ref` supplied to `React.Fragment`."),ia(null))}}var Kb={};function Vb(N,H,re,ce,Pe,$e){{var ge=M(N);if(!ge){var me="";(N===void 0||typeof N=="object"&&N!==null&&Object.keys(N).length===0)&&(me+=" 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 ut=iz();ut?me+=ut:me+=Wb();var Ke;N===null?Ke="null":lt(N)?Ke="array":N!==void 0&&N.$$typeof===t?(Ke="<"+(R(N.type)||"Unknown")+" />",me=" Did you accidentally export a JSX literal instead of a component?"):Ke=typeof N,S("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",Ke,me)}var He=az(N,H,re,Pe,$e);if(He==null)return He;if(ge){var $t=H.children;if($t!==void 0)if(ce)if(lt($t)){for(var oa=0;oa<$t.length;oa++)Gb($t[oa],N);Object.freeze&&Object.freeze($t)}else S("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 Gb($t,N)}if(ee.call(H,"key")){var Zr=R(N),vt=Object.keys(H).filter(function(hz){return hz!=="key"}),pf=vt.length>0?"{key: someKey, "+vt.join(": ..., ")+": ...}":"{key: someKey}";if(!Kb[Zr+pf]){var pz=vt.length>0?"{"+vt.join(": ..., ")+": ...}":"{}";S(`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} />`,pf,Zr,pz,Zr),Kb[Zr+pf]=!0}}return N===n?lz(He):sz(He),He}}function uz(N,H,re){return Vb(N,H,re,!0)}function cz(N,H,re){return Vb(N,H,re,!1)}var fz=cz,dz=uz;la.Fragment=n,la.jsx=fz,la.jsxs=dz}()),la}process.env.NODE_ENV==="production"?Bs.exports=Hb():Bs.exports=Yb();var g=Bs.exports;/** * @license lucide-react v0.294.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */var Xb={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.294.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Zb=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase().trim(),ct=(e,t)=>{const r=A.forwardRef(({color:n="currentColor",size:a=24,strokeWidth:i=2,absoluteStrokeWidth:o,className:s="",children:l,...u},c)=>A.createElement("svg",{ref:c,...Xb,width:a,height:a,stroke:n,strokeWidth:o?Number(i)*24/Number(a):i,className:["lucide",`lucide-${Zb(e)}`,s].join(" "),...u},[...t.map(([f,d])=>A.createElement(f,d)),...Array.isArray(l)?l:[l]]));return r.displayName=`${e}`,r};/** * @license lucide-react v0.294.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Jb=ct("BarChart3",[["path",{d:"M3 3v18h18",key:"1s2lah"}],["path",{d:"M18 17V9",key:"2bz60n"}],["path",{d:"M13 17V5",key:"1frdt8"}],["path",{d:"M8 17v-3",key:"17ska0"}]]);/** * @license lucide-react v0.294.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const yf=ct("Calendar",[["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",ry:"2",key:"eu3xkr"}],["line",{x1:"16",x2:"16",y1:"2",y2:"6",key:"m3sa8f"}],["line",{x1:"8",x2:"8",y1:"2",y2:"6",key:"18kwsl"}],["line",{x1:"3",x2:"21",y1:"10",y2:"10",key:"xt86sb"}]]);/** * @license lucide-react v0.294.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const ua=ct("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/** * @license lucide-react v0.294.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Qb=ct("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);/** * @license lucide-react v0.294.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const e0=ct("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/** * @license lucide-react v0.294.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const mf=ct("ChevronUp",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]);/** * @license lucide-react v0.294.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const t0=ct("Download",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"7 10 12 15 17 10",key:"2ggqvy"}],["line",{x1:"12",x2:"12",y1:"15",y2:"3",key:"1vk2je"}]]);/** * @license lucide-react v0.294.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const r0=ct("Info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]);/** * @license lucide-react v0.294.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const n0=ct("RefreshCw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);/** * @license lucide-react v0.294.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const gf=ct("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);/** * @license lucide-react v0.294.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const a0=ct("Table",[["path",{d:"M12 3v18",key:"108xh3"}],["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"M3 15h18",key:"5xshup"}]]);/** * @license lucide-react v0.294.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const i0=ct("TrendingDown",[["polyline",{points:"22 17 13.5 8.5 8.5 13.5 2 7",key:"1r2t7k"}],["polyline",{points:"16 17 22 17 22 11",key:"11uiuu"}]]);/** * @license lucide-react v0.294.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const o0=ct("TrendingUp",[["polyline",{points:"22 7 13.5 15.5 8.5 10.5 2 17",key:"126l90"}],["polyline",{points:"16 7 22 7 22 13",key:"kwv8wd"}]]);/** * @license lucide-react v0.294.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const s0=ct("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);function bf(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var a=e.length;for(t=0;t<a;t++)e[t]&&(r=bf(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function ye(){for(var e,t,r=0,n="",a=arguments.length;r<a;r++)(e=arguments[r])&&(t=bf(e))&&(n&&(n+=" "),n+=t);return n}const Fs="-",l0=e=>{const t=c0(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:o=>{const s=o.split(Fs);return s[0]===""&&s.length!==1&&s.shift(),xf(s,t)||u0(o)},getConflictingClassGroupIds:(o,s)=>{const l=r[o]||[];return s&&n[o]?[...l,...n[o]]:l}}},xf=(e,t)=>{var o;if(e.length===0)return t.classGroupId;const r=e[0],n=t.nextPart.get(r),a=n?xf(e.slice(1),n):void 0;if(a)return a;if(t.validators.length===0)return;const i=e.join(Fs);return(o=t.validators.find(({validator:s})=>s(i)))==null?void 0:o.classGroupId},wf=/^\[(.+)\]$/,u0=e=>{if(wf.test(e)){const t=wf.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},c0=e=>{const{theme:t,prefix:r}=e,n={nextPart:new Map,validators:[]};return d0(Object.entries(e.classGroups),r).forEach(([i,o])=>{Ws(o,n,i,t)}),n},Ws=(e,t,r,n)=>{e.forEach(a=>{if(typeof a=="string"){const i=a===""?t:Of(t,a);i.classGroupId=r;return}if(typeof a=="function"){if(f0(a)){Ws(a(n),t,r,n);return}t.validators.push({validator:a,classGroupId:r});return}Object.entries(a).forEach(([i,o])=>{Ws(o,Of(t,i),r,n)})})},Of=(e,t)=>{let r=e;return t.split(Fs).forEach(n=>{r.nextPart.has(n)||r.nextPart.set(n,{nextPart:new Map,validators:[]}),r=r.nextPart.get(n)}),r},f0=e=>e.isThemeGetter,d0=(e,t)=>t?e.map(([r,n])=>{const a=n.map(i=>typeof i=="string"?t+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(([o,s])=>[t+o,s])):i);return[r,a]}):e,p0=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,n=new Map;const a=(i,o)=>{r.set(i,o),t++,t>e&&(t=0,n=r,r=new Map)};return{get(i){let o=r.get(i);if(o!==void 0)return o;if((o=n.get(i))!==void 0)return a(i,o),o},set(i,o){r.has(i)?r.set(i,o):a(i,o)}}},Sf="!",h0=e=>{const{separator:t,experimentalParseClassName:r}=e,n=t.length===1,a=t[0],i=t.length,o=s=>{const l=[];let u=0,c=0,f;for(let h=0;h<s.length;h++){let b=s[h];if(u===0){if(b===a&&(n||s.slice(h,h+i)===t)){l.push(s.slice(c,h)),c=h+i;continue}if(b==="/"){f=h;continue}}b==="["?u++:b==="]"&&u--}const d=l.length===0?s:s.substring(c),p=d.startsWith(Sf),v=p?d.substring(1):d,y=f&&f>c?f-c:void 0;return{modifiers:l,hasImportantModifier:p,baseClassName:v,maybePostfixModifierPosition:y}};return r?s=>r({className:s,parseClassName:o}):o},v0=e=>{if(e.length<=1)return e;const t=[];let r=[];return e.forEach(n=>{n[0]==="["?(t.push(...r.sort(),n),r=[]):r.push(n)}),t.push(...r.sort()),t},y0=e=>({cache:p0(e.cacheSize),parseClassName:h0(e),...l0(e)}),m0=/\s+/,g0=(e,t)=>{const{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:a}=t,i=[],o=e.trim().split(m0);let s="";for(let l=o.length-1;l>=0;l-=1){const u=o[l],{modifiers:c,hasImportantModifier:f,baseClassName:d,maybePostfixModifierPosition:p}=r(u);let v=!!p,y=n(v?d.substring(0,p):d);if(!y){if(!v){s=u+(s.length>0?" "+s:s);continue}if(y=n(d),!y){s=u+(s.length>0?" "+s:s);continue}v=!1}const h=v0(c).join(":"),b=f?h+Sf:h,S=b+y;if(i.includes(S))continue;i.push(S);const x=a(y,v);for(let T=0;T<x.length;++T){const m=x[T];i.push(b+m)}s=u+(s.length>0?" "+s:s)}return s};function b0(){let e=0,t,r,n="";for(;e<arguments.length;)(t=arguments[e++])&&(r=Af(t))&&(n&&(n+=" "),n+=r);return n}const Af=e=>{if(typeof e=="string")return e;let t,r="";for(let n=0;n<e.length;n++)e[n]&&(t=Af(e[n]))&&(r&&(r+=" "),r+=t);return r};function x0(e,...t){let r,n,a,i=o;function o(l){const u=t.reduce((c,f)=>f(c),e());return r=y0(u),n=r.cache.get,a=r.cache.set,i=s,s(l)}function s(l){const u=n(l);if(u)return u;const c=g0(l,r);return a(l,c),c}return function(){return i(b0.apply(null,arguments))}}const Ne=e=>{const t=r=>r[e]||[];return t.isThemeGetter=!0,t},Tf=/^\[(?:([a-z-]+):)?(.+)\]$/i,w0=/^\d+\/\d+$/,O0=new Set(["px","full","screen"]),S0=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,A0=/\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$/,T0=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,P0=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,_0=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Xt=e=>Qr(e)||O0.has(e)||w0.test(e),cr=e=>en(e,"length",D0),Qr=e=>!!e&&!Number.isNaN(Number(e)),Us=e=>en(e,"number",Qr),ca=e=>!!e&&Number.isInteger(Number(e)),E0=e=>e.endsWith("%")&&Qr(e.slice(0,-1)),he=e=>Tf.test(e),fr=e=>S0.test(e),j0=new Set(["length","size","percentage"]),$0=e=>en(e,j0,Pf),C0=e=>en(e,"position",Pf),k0=new Set(["image","url"]),M0=e=>en(e,k0,L0),N0=e=>en(e,"",I0),fa=()=>!0,en=(e,t,r)=>{const n=Tf.exec(e);return n?n[1]?typeof t=="string"?n[1]===t:t.has(n[1]):r(n[2]):!1},D0=e=>A0.test(e)&&!T0.test(e),Pf=()=>!1,I0=e=>P0.test(e),L0=e=>_0.test(e),R0=x0(()=>{const e=Ne("colors"),t=Ne("spacing"),r=Ne("blur"),n=Ne("brightness"),a=Ne("borderColor"),i=Ne("borderRadius"),o=Ne("borderSpacing"),s=Ne("borderWidth"),l=Ne("contrast"),u=Ne("grayscale"),c=Ne("hueRotate"),f=Ne("invert"),d=Ne("gap"),p=Ne("gradientColorStops"),v=Ne("gradientColorStopPositions"),y=Ne("inset"),h=Ne("margin"),b=Ne("opacity"),S=Ne("padding"),x=Ne("saturate"),T=Ne("scale"),m=Ne("sepia"),w=Ne("skew"),O=Ne("space"),P=Ne("translate"),j=()=>["auto","contain","none"],M=()=>["auto","hidden","clip","visible","scroll"],_=()=>["auto",he,t],$=()=>[he,t],R=()=>["",Xt,cr],k=()=>["auto",Qr,he],D=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],C=()=>["solid","dashed","dotted","double","none"],B=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],U=()=>["start","end","center","between","around","evenly","stretch"],G=()=>["","0",he],E=()=>["auto","avoid","all","avoid-page","page","left","right","column"],L=()=>[Qr,he];return{cacheSize:500,separator:":",theme:{colors:[fa],spacing:[Xt,cr],blur:["none","",fr,he],brightness:L(),borderColor:[e],borderRadius:["none","","full",fr,he],borderSpacing:$(),borderWidth:R(),contrast:L(),grayscale:G(),hueRotate:L(),invert:G(),gap:$(),gradientColorStops:[e],gradientColorStopPositions:[E0,cr],inset:_(),margin:_(),opacity:L(),padding:$(),saturate:L(),scale:L(),sepia:G(),skew:L(),space:$(),translate:$()},classGroups:{aspect:[{aspect:["auto","square","video",he]}],container:["container"],columns:[{columns:[fr]}],"break-after":[{"break-after":E()}],"break-before":[{"break-before":E()}],"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(),he]}],overflow:[{overflow:M()}],"overflow-x":[{"overflow-x":M()}],"overflow-y":[{"overflow-y":M()}],overscroll:[{overscroll:j()}],"overscroll-x":[{"overscroll-x":j()}],"overscroll-y":[{"overscroll-y":j()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[y]}],"inset-x":[{"inset-x":[y]}],"inset-y":[{"inset-y":[y]}],start:[{start:[y]}],end:[{end:[y]}],top:[{top:[y]}],right:[{right:[y]}],bottom:[{bottom:[y]}],left:[{left:[y]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",ca,he]}],basis:[{basis:_()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",he]}],grow:[{grow:G()}],shrink:[{shrink:G()}],order:[{order:["first","last","none",ca,he]}],"grid-cols":[{"grid-cols":[fa]}],"col-start-end":[{col:["auto",{span:["full",ca,he]},he]}],"col-start":[{"col-start":k()}],"col-end":[{"col-end":k()}],"grid-rows":[{"grid-rows":[fa]}],"row-start-end":[{row:["auto",{span:[ca,he]},he]}],"row-start":[{"row-start":k()}],"row-end":[{"row-end":k()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",he]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",he]}],gap:[{gap:[d]}],"gap-x":[{"gap-x":[d]}],"gap-y":[{"gap-y":[d]}],"justify-content":[{justify:["normal",...U()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...U(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...U(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[S]}],px:[{px:[S]}],py:[{py:[S]}],ps:[{ps:[S]}],pe:[{pe:[S]}],pt:[{pt:[S]}],pr:[{pr:[S]}],pb:[{pb:[S]}],pl:[{pl:[S]}],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":[O]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[O]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",he,t]}],"min-w":[{"min-w":[he,t,"min","max","fit"]}],"max-w":[{"max-w":[he,t,"none","full","min","max","fit","prose",{screen:[fr]},fr]}],h:[{h:[he,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[he,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[he,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[he,t,"auto","min","max","fit"]}],"font-size":[{text:["base",fr,cr]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Us]}],"font-family":[{font:[fa]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",he]}],"line-clamp":[{"line-clamp":["none",Qr,Us]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Xt,he]}],"list-image":[{"list-image":["none",he]}],"list-style-type":[{list:["none","disc","decimal",he]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[b]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[b]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...C(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Xt,cr]}],"underline-offset":[{"underline-offset":["auto",Xt,he]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:$()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",he]}],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",he]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[b]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...D(),C0]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",$0]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},M0]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[v]}],"gradient-via-pos":[{via:[v]}],"gradient-to-pos":[{to:[v]}],"gradient-from":[{from:[p]}],"gradient-via":[{via:[p]}],"gradient-to":[{to:[p]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-ee":[{"rounded-ee":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[b]}],"border-style":[{border:[...C(),"hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[b]}],"divide-style":[{divide:C()}],"border-color":[{border:[a]}],"border-color-x":[{"border-x":[a]}],"border-color-y":[{"border-y":[a]}],"border-color-s":[{"border-s":[a]}],"border-color-e":[{"border-e":[a]}],"border-color-t":[{"border-t":[a]}],"border-color-r":[{"border-r":[a]}],"border-color-b":[{"border-b":[a]}],"border-color-l":[{"border-l":[a]}],"divide-color":[{divide:[a]}],"outline-style":[{outline:["",...C()]}],"outline-offset":[{"outline-offset":[Xt,he]}],"outline-w":[{outline:[Xt,cr]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:R()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[b]}],"ring-offset-w":[{"ring-offset":[Xt,cr]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",fr,N0]}],"shadow-color":[{shadow:[fa]}],opacity:[{opacity:[b]}],"mix-blend":[{"mix-blend":[...B(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":B()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",fr,he]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[f]}],saturate:[{saturate:[x]}],sepia:[{sepia:[m]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[c]}],"backdrop-invert":[{"backdrop-invert":[f]}],"backdrop-opacity":[{"backdrop-opacity":[b]}],"backdrop-saturate":[{"backdrop-saturate":[x]}],"backdrop-sepia":[{"backdrop-sepia":[m]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[o]}],"border-spacing-x":[{"border-spacing-x":[o]}],"border-spacing-y":[{"border-spacing-y":[o]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",he]}],duration:[{duration:L()}],ease:[{ease:["linear","in","out","in-out",he]}],delay:[{delay:L()}],animate:[{animate:["none","spin","ping","pulse","bounce",he]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[T]}],"scale-x":[{"scale-x":[T]}],"scale-y":[{"scale-y":[T]}],rotate:[{rotate:[ca,he]}],"translate-x":[{"translate-x":[P]}],"translate-y":[{"translate-y":[P]}],"skew-x":[{"skew-x":[w]}],"skew-y":[{"skew-y":[w]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",he]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",he]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":$()}],"scroll-mx":[{"scroll-mx":$()}],"scroll-my":[{"scroll-my":$()}],"scroll-ms":[{"scroll-ms":$()}],"scroll-me":[{"scroll-me":$()}],"scroll-mt":[{"scroll-mt":$()}],"scroll-mr":[{"scroll-mr":$()}],"scroll-mb":[{"scroll-mb":$()}],"scroll-ml":[{"scroll-ml":$()}],"scroll-p":[{"scroll-p":$()}],"scroll-px":[{"scroll-px":$()}],"scroll-py":[{"scroll-py":$()}],"scroll-ps":[{"scroll-ps":$()}],"scroll-pe":[{"scroll-pe":$()}],"scroll-pt":[{"scroll-pt":$()}],"scroll-pr":[{"scroll-pr":$()}],"scroll-pb":[{"scroll-pb":$()}],"scroll-pl":[{"scroll-pl":$()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",he]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Xt,cr,Us]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}});function ue(...e){return R0(ye(e))}const _f=({data:e,className:t,onClick:r,isFirst:n=!1})=>{const{title:a,value:i,change:o,info:s,highlighted:l}=e,u=d=>typeof d=="number"?d.toLocaleString():d.toString(),c=d=>`${d}%`,f=()=>{r&&r(e)};return g.jsxs("div",{className:ue("rounded-lg border py-[16px] px-[24px] transition-all duration-200 bg-white",!l&&"border-gray-200",l&&["!border-blue-600 shadow-[0 1px 4px 0 rgba(16, 24, 40, 0.08), 0 1px 2px 0 rgba(16, 24, 40, 0.08), 0 0 0 4px rgba(41, 112, 255, 0.24)]"],r&&"cursor-pointer",t),onClick:f,children:[g.jsxs("div",{className:"flex items-center gap-2 mb-[6px]",children:[g.jsx("span",{className:"text-sm font-medium text-gray-700",children:a}),s&&g.jsxs("div",{className:"relative group",children:[g.jsx(r0,{className:"h-[16px] w-[16px] text-gray-400 cursor-help"}),g.jsxs("div",{className:ue("absolute bottom-full w-[280px] text-xs text-center text-white font-medium mb-[12px] px-[12px] py-[8px] text-xs text-white bg-gray-900 rounded-md opacity-0 group-hover:!opacity-100 transition-opacity duration-200 z-10 shadow-lg",n?"left-0":"left-1/2 transform -translate-x-1/2"),children:[s,g.jsx("div",{className:ue("absolute top-full w-0 h-0 border-l-[4px] border-r-[4px] border-t-[4px] border-transparent border-t-gray-900",n?"left-4":"left-1/2 transform -translate-x-1/2")})]})]})]}),g.jsxs("div",{className:"flex items-baseline gap-3",children:[g.jsx("span",{className:"text-2xl font-semibold text-gray-900",children:u(i)}),o&&g.jsxs("div",{className:ue("flex items-center gap-[8px] px-[8px] py-[4px] text-xs font-medium",(o.type==="increase","")),style:o.type==="increase"?{color:"rgb(21 128 61 / var(--tw-text-opacity, 1))",border:"1px solid #ABEFC6",borderRadius:"150px",background:"rgba(16, 185, 129, 0.10)"}:{color:"rgb(185 28 28 / var(--tw-text-opacity, 1))",border:"1px solid #FCA5A5",borderRadius:"150px",background:"rgba(239, 68, 68, 0.10)"},children:[o.type==="increase"?g.jsx(o0,{className:"h-3 w-3"}):g.jsx(i0,{className:"h-3 w-3"}),g.jsx("span",{children:c(o.value)})]})]})]})};var B0=Array.isArray,ft=B0,F0=typeof Ei=="object"&&Ei&&Ei.Object===Object&&Ei,Ef=F0,W0=Ef,U0=typeof self=="object"&&self&&self.Object===Object&&self,z0=W0||U0||Function("return this")(),Ft=z0,G0=Ft,K0=G0.Symbol,da=K0,jf=da,$f=Object.prototype,V0=$f.hasOwnProperty,q0=$f.toString,pa=jf?jf.toStringTag:void 0;function H0(e){var t=V0.call(e,pa),r=e[pa];try{e[pa]=void 0;var n=!0}catch{}var a=q0.call(e);return n&&(t?e[pa]=r:delete e[pa]),a}var Y0=H0,X0=Object.prototype,Z0=X0.toString;function J0(e){return Z0.call(e)}var Q0=J0,Cf=da,ex=Y0,tx=Q0,rx="[object Null]",nx="[object Undefined]",kf=Cf?Cf.toStringTag:void 0;function ax(e){return e==null?e===void 0?nx:rx:kf&&kf in Object(e)?ex(e):tx(e)}var Zt=ax;function ix(e){return e!=null&&typeof e=="object"}var Jt=ix,ox=Zt,sx=Jt,lx="[object Symbol]";function ux(e){return typeof e=="symbol"||sx(e)&&ox(e)==lx}var tn=ux,cx=ft,fx=tn,dx=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,px=/^\w*$/;function hx(e,t){if(cx(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||fx(e)?!0:px.test(e)||!dx.test(e)||t!=null&&e in Object(t)}var zs=hx;function vx(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var dr=vx;const rn=Ce(dr);var yx=Zt,mx=dr,gx="[object AsyncFunction]",bx="[object Function]",xx="[object GeneratorFunction]",wx="[object Proxy]";function Ox(e){if(!mx(e))return!1;var t=yx(e);return t==bx||t==xx||t==gx||t==wx}var Gs=Ox;const pe=Ce(Gs);var Sx=Ft,Ax=Sx["__core-js_shared__"],Tx=Ax,Ks=Tx,Mf=function(){var e=/[^.]+$/.exec(Ks&&Ks.keys&&Ks.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function Px(e){return!!Mf&&Mf in e}var _x=Px,Ex=Function.prototype,jx=Ex.toString;function $x(e){if(e!=null){try{return jx.call(e)}catch{}try{return e+""}catch{}}return""}var Nf=$x,Cx=Gs,kx=_x,Mx=dr,Nx=Nf,Dx=/[\\^$.*+?()[\]{}|]/g,Ix=/^\[object .+?Constructor\]$/,Lx=Function.prototype,Rx=Object.prototype,Bx=Lx.toString,Fx=Rx.hasOwnProperty,Wx=RegExp("^"+Bx.call(Fx).replace(Dx,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Ux(e){if(!Mx(e)||kx(e))return!1;var t=Cx(e)?Wx:Ix;return t.test(Nx(e))}var zx=Ux;function Gx(e,t){return e==null?void 0:e[t]}var Kx=Gx,Vx=zx,qx=Kx;function Hx(e,t){var r=qx(e,t);return Vx(r)?r:void 0}var _r=Hx,Yx=_r,Xx=Yx(Object,"create"),ji=Xx,Df=ji;function Zx(){this.__data__=Df?Df(null):{},this.size=0}var Jx=Zx;function Qx(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var ew=Qx,tw=ji,rw="__lodash_hash_undefined__",nw=Object.prototype,aw=nw.hasOwnProperty;function iw(e){var t=this.__data__;if(tw){var r=t[e];return r===rw?void 0:r}return aw.call(t,e)?t[e]:void 0}var ow=iw,sw=ji,lw=Object.prototype,uw=lw.hasOwnProperty;function cw(e){var t=this.__data__;return sw?t[e]!==void 0:uw.call(t,e)}var fw=cw,dw=ji,pw="__lodash_hash_undefined__";function hw(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=dw&&t===void 0?pw:t,this}var vw=hw,yw=Jx,mw=ew,gw=ow,bw=fw,xw=vw;function nn(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}nn.prototype.clear=yw,nn.prototype.delete=mw,nn.prototype.get=gw,nn.prototype.has=bw,nn.prototype.set=xw;var ww=nn;function Ow(){this.__data__=[],this.size=0}var Sw=Ow;function Aw(e,t){return e===t||e!==e&&t!==t}var Vs=Aw,Tw=Vs;function Pw(e,t){for(var r=e.length;r--;)if(Tw(e[r][0],t))return r;return-1}var $i=Pw,_w=$i,Ew=Array.prototype,jw=Ew.splice;function $w(e){var t=this.__data__,r=_w(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():jw.call(t,r,1),--this.size,!0}var Cw=$w,kw=$i;function Mw(e){var t=this.__data__,r=kw(t,e);return r<0?void 0:t[r][1]}var Nw=Mw,Dw=$i;function Iw(e){return Dw(this.__data__,e)>-1}var Lw=Iw,Rw=$i;function Bw(e,t){var r=this.__data__,n=Rw(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}var Fw=Bw,Ww=Sw,Uw=Cw,zw=Nw,Gw=Lw,Kw=Fw;function an(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}an.prototype.clear=Ww,an.prototype.delete=Uw,an.prototype.get=zw,an.prototype.has=Gw,an.prototype.set=Kw;var Ci=an,Vw=_r,qw=Ft,Hw=Vw(qw,"Map"),qs=Hw,If=ww,Yw=Ci,Xw=qs;function Zw(){this.size=0,this.__data__={hash:new If,map:new(Xw||Yw),string:new If}}var Jw=Zw;function Qw(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var e1=Qw,t1=e1;function r1(e,t){var r=e.__data__;return t1(t)?r[typeof t=="string"?"string":"hash"]:r.map}var ki=r1,n1=ki;function a1(e){var t=n1(this,e).delete(e);return this.size-=t?1:0,t}var i1=a1,o1=ki;function s1(e){return o1(this,e).get(e)}var l1=s1,u1=ki;function c1(e){return u1(this,e).has(e)}var f1=c1,d1=ki;function p1(e,t){var r=d1(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}var h1=p1,v1=Jw,y1=i1,m1=l1,g1=f1,b1=h1;function on(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}on.prototype.clear=v1,on.prototype.delete=y1,on.prototype.get=m1,on.prototype.has=g1,on.prototype.set=b1;var Hs=on,Lf=Hs,x1="Expected a function";function Ys(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(x1);var r=function(){var n=arguments,a=t?t.apply(this,n):n[0],i=r.cache;if(i.has(a))return i.get(a);var o=e.apply(this,n);return r.cache=i.set(a,o)||i,o};return r.cache=new(Ys.Cache||Lf),r}Ys.Cache=Lf;var Rf=Ys;const w1=Ce(Rf);var O1=Rf,S1=500;function A1(e){var t=O1(e,function(n){return r.size===S1&&r.clear(),n}),r=t.cache;return t}var T1=A1,P1=T1,_1=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,E1=/\\(\\)?/g,j1=P1(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(_1,function(r,n,a,i){t.push(a?i.replace(E1,"$1"):n||r)}),t}),$1=j1;function C1(e,t){for(var r=-1,n=e==null?0:e.length,a=Array(n);++r<n;)a[r]=t(e[r],r,e);return a}var Xs=C1,Bf=da,k1=Xs,M1=ft,N1=tn,Ff=Bf?Bf.prototype:void 0,Wf=Ff?Ff.toString:void 0;function Uf(e){if(typeof e=="string")return e;if(M1(e))return k1(e,Uf)+"";if(N1(e))return Wf?Wf.call(e):"";var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}var D1=Uf,I1=D1;function L1(e){return e==null?"":I1(e)}var zf=L1,R1=ft,B1=zs,F1=$1,W1=zf;function U1(e,t){return R1(e)?e:B1(e,t)?[e]:F1(W1(e))}var Gf=U1,z1=tn;function G1(e){if(typeof e=="string"||z1(e))return e;var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}var Mi=G1,K1=Gf,V1=Mi;function q1(e,t){t=K1(t,e);for(var r=0,n=t.length;e!=null&&r<n;)e=e[V1(t[r++])];return r&&r==n?e:void 0}var Zs=q1,H1=Zs;function Y1(e,t,r){var n=e==null?void 0:H1(e,t);return n===void 0?r:n}var Kf=Y1;const wt=Ce(Kf);function X1(e){return e==null}var Z1=X1;const fe=Ce(Z1);var J1=Zt,Q1=ft,eO=Jt,tO="[object String]";function rO(e){return typeof e=="string"||!Q1(e)&&eO(e)&&J1(e)==tO}var nO=rO;const Er=Ce(nO);var Js={exports:{}},we={};/** * @license React * react-is.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 Vf;function aO(){if(Vf)return we;Vf=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),o=Symbol.for("react.context"),s=Symbol.for("react.server_context"),l=Symbol.for("react.forwa