UNPKG

@tributelabs/dao-focus

Version:
1,732 lines (1,729 loc) 861 kB
import * as Q0 from "react"; import bl, { useState as kt, useRef as X0, useCallback as Bn, useEffect as Kn, useMemo as gl } from "react"; var Wt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}; function ml(n) { var e = n.default; if (typeof e == "function") { var t = function() { return e.apply(this, arguments); }; t.prototype = e.prototype; } else t = {}; return Object.defineProperty(t, "__esModule", { value: !0 }), Object.keys(n).forEach(function(r) { var i = Object.getOwnPropertyDescriptor(n, r); Object.defineProperty(t, r, i.get ? i : { enumerable: !0, get: function() { return n[r]; } }); }), t; } var gs = { exports: {} }, kn = {}; /* object-assign (c) Sindre Sorhus @license MIT */ var Qs, Fa; function yl() { if (Fa) return Qs; Fa = 1; var n = Object.getOwnPropertySymbols, e = Object.prototype.hasOwnProperty, t = Object.prototype.propertyIsEnumerable; function r(s) { if (s == null) throw new TypeError("Object.assign cannot be called with null or undefined"); return Object(s); } function i() { try { if (!Object.assign) return !1; var s = new String("abc"); if (s[5] = "de", Object.getOwnPropertyNames(s)[0] === "5") return !1; for (var o = {}, a = 0; a < 10; a++) o["_" + String.fromCharCode(a)] = a; var l = Object.getOwnPropertyNames(o).map(function(h) { return o[h]; }); if (l.join("") !== "0123456789") return !1; var d = {}; return "abcdefghijklmnopqrst".split("").forEach(function(h) { d[h] = h; }), Object.keys(Object.assign({}, d)).join("") === "abcdefghijklmnopqrst"; } catch { return !1; } } return Qs = i() ? Object.assign : function(s, o) { for (var a, l = r(s), d, h = 1; h < arguments.length; h++) { a = Object(arguments[h]); for (var u in a) e.call(a, u) && (l[u] = a[u]); if (n) { d = n(a); for (var p = 0; p < d.length; p++) t.call(a, d[p]) && (l[d[p]] = a[d[p]]); } } return l; }, Qs; } /** @license React v17.0.2 * 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 Da; function Z0() { if (Da) return kn; Da = 1, yl(); var n = bl, e = 60103; if (kn.Fragment = 60107, typeof Symbol == "function" && Symbol.for) { var t = Symbol.for; e = t("react.element"), kn.Fragment = t("react.fragment"); } var r = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = Object.prototype.hasOwnProperty, s = { key: !0, ref: !0, __self: !0, __source: !0 }; function o(a, l, d) { var h, u = {}, p = null, x = null; d !== void 0 && (p = "" + d), l.key !== void 0 && (p = "" + l.key), l.ref !== void 0 && (x = l.ref); for (h in l) i.call(l, h) && !s.hasOwnProperty(h) && (u[h] = l[h]); if (a && a.defaultProps) for (h in l = a.defaultProps, l) u[h] === void 0 && (u[h] = l[h]); return { $$typeof: e, type: a, key: p, ref: x, props: u, _owner: r.current }; } return kn.jsx = o, kn.jsxs = o, kn; } var Xs = {}; /** @license React v17.0.2 * 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 Ua; function eu() { return Ua || (Ua = 1, function(n) { process.env.NODE_ENV !== "production" && function() { var e = bl, t = yl(), r = 60103, i = 60106; n.Fragment = 60107; var s = 60108, o = 60114, a = 60109, l = 60110, d = 60112, h = 60113, u = 60120, p = 60115, x = 60116, A = 60121, v = 60122, k = 60117, w = 60129, T = 60131; if (typeof Symbol == "function" && Symbol.for) { var O = Symbol.for; r = O("react.element"), i = O("react.portal"), n.Fragment = O("react.fragment"), s = O("react.strict_mode"), o = O("react.profiler"), a = O("react.provider"), l = O("react.context"), d = O("react.forward_ref"), h = O("react.suspense"), u = O("react.suspense_list"), p = O("react.memo"), x = O("react.lazy"), A = O("react.block"), v = O("react.server.block"), k = O("react.fundamental"), O("react.scope"), O("react.opaque.id"), w = O("react.debug_trace_mode"), O("react.offscreen"), T = O("react.legacy_hidden"); } var L = typeof Symbol == "function" && Symbol.iterator, F = "@@iterator"; function M($) { if ($ === null || typeof $ != "object") return null; var he = L && $[L] || $[F]; return typeof he == "function" ? he : null; } var V = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; function W($) { { for (var he = arguments.length, xe = new Array(he > 1 ? he - 1 : 0), we = 1; we < he; we++) xe[we - 1] = arguments[we]; te("error", $, xe); } } function te($, he, xe) { { var we = V.ReactDebugCurrentFrame, He = we.getStackAddendum(); He !== "" && (he += "%s", xe = xe.concat([He])); var _e = xe.map(function(ke) { return "" + ke; }); _e.unshift("Warning: " + he), Function.prototype.apply.call(console[$], console, _e); } } var G = !1; function Y($) { return !!(typeof $ == "string" || typeof $ == "function" || $ === n.Fragment || $ === o || $ === w || $ === s || $ === h || $ === u || $ === T || G || typeof $ == "object" && $ !== null && ($.$$typeof === x || $.$$typeof === p || $.$$typeof === a || $.$$typeof === l || $.$$typeof === d || $.$$typeof === k || $.$$typeof === A || $[0] === v)); } function J($, he, xe) { var we = he.displayName || he.name || ""; return $.displayName || (we !== "" ? xe + "(" + we + ")" : xe); } function E($) { return $.displayName || "Context"; } function c($) { if ($ == null) return null; if (typeof $.tag == "number" && W("Received an unexpected object in getComponentName(). This is likely a bug in React. Please file an issue."), typeof $ == "function") return $.displayName || $.name || null; if (typeof $ == "string") return $; switch ($) { case n.Fragment: return "Fragment"; case i: return "Portal"; case o: return "Profiler"; case s: return "StrictMode"; case h: return "Suspense"; case u: return "SuspenseList"; } if (typeof $ == "object") switch ($.$$typeof) { case l: var he = $; return E(he) + ".Consumer"; case a: var xe = $; return E(xe._context) + ".Provider"; case d: return J($, $.render, "ForwardRef"); case p: return c($.type); case A: return c($._render); case x: { var we = $, He = we._payload, _e = we._init; try { return c(_e(He)); } catch { return null; } } } return null; } var m = 0, S, _, P, D, B, g, f; function y() { } y.__reactDisabledLog = !0; function K() { { if (m === 0) { S = console.log, _ = console.info, P = console.warn, D = console.error, B = console.group, g = console.groupCollapsed, f = console.groupEnd; var $ = { configurable: !0, enumerable: !0, value: y, writable: !0 }; Object.defineProperties(console, { info: $, log: $, warn: $, error: $, group: $, groupCollapsed: $, groupEnd: $ }); } m++; } } function b() { { if (m--, m === 0) { var $ = { configurable: !0, enumerable: !0, writable: !0 }; Object.defineProperties(console, { log: t({}, $, { value: S }), info: t({}, $, { value: _ }), warn: t({}, $, { value: P }), error: t({}, $, { value: D }), group: t({}, $, { value: B }), groupCollapsed: t({}, $, { value: g }), groupEnd: t({}, $, { value: f }) }); } m < 0 && W("disabledDepth fell below zero. This is a bug in React. Please file an issue."); } } var j = V.ReactCurrentDispatcher, re; function R($, he, xe) { { if (re === void 0) try { throw Error(); } catch (He) { var we = He.stack.trim().match(/\n( *(at )?)/); re = we && we[1] || ""; } return ` ` + re + $; } } var N = !1, z; { var Q = typeof WeakMap == "function" ? WeakMap : Map; z = new Q(); } function se($, he) { if (!$ || N) return ""; { var xe = z.get($); if (xe !== void 0) return xe; } var we; N = !0; var He = Error.prepareStackTrace; Error.prepareStackTrace = void 0; var _e; _e = j.current, j.current = null, K(); try { if (he) { var ke = function() { throw Error(); }; if (Object.defineProperty(ke.prototype, "props", { set: function() { throw Error(); } }), typeof Reflect == "object" && Reflect.construct) { try { Reflect.construct(ke, []); } catch (St) { we = St; } Reflect.construct($, [], ke); } else { try { ke.call(); } catch (St) { we = St; } $.call(ke.prototype); } } else { try { throw Error(); } catch (St) { we = St; } $(); } } catch (St) { if (St && we && typeof St.stack == "string") { for (var Re = St.stack.split(` `), Be = we.stack.split(` `), Me = Re.length - 1, Qe = Be.length - 1; Me >= 1 && Qe >= 0 && Re[Me] !== Be[Qe]; ) Qe--; for (; Me >= 1 && Qe >= 0; Me--, Qe--) if (Re[Me] !== Be[Qe]) { if (Me !== 1 || Qe !== 1) do if (Me--, Qe--, Qe < 0 || Re[Me] !== Be[Qe]) { var Ge = ` ` + Re[Me].replace(" at new ", " at "); return typeof $ == "function" && z.set($, Ge), Ge; } while (Me >= 1 && Qe >= 0); break; } } } finally { N = !1, j.current = _e, b(), Error.prepareStackTrace = He; } var Ve = $ ? $.displayName || $.name : "", tr = Ve ? R(Ve) : ""; return typeof $ == "function" && z.set($, tr), tr; } function me($, he, xe) { return se($, !1); } function le($) { var he = $.prototype; return !!(he && he.isReactComponent); } function ee($, he, xe) { if ($ == null) return ""; if (typeof $ == "function") return se($, le($)); if (typeof $ == "string") return R($); switch ($) { case h: return R("Suspense"); case u: return R("SuspenseList"); } if (typeof $ == "object") switch ($.$$typeof) { case d: return me($.render); case p: return ee($.type, he, xe); case A: return me($._render); case x: { var we = $, He = we._payload, _e = we._init; try { return ee(_e(He), he, xe); } catch { } } } return ""; } var ue = {}, X = V.ReactDebugCurrentFrame; function ae($) { if ($) { var he = $._owner, xe = ee($.type, $._source, he ? he.type : null); X.setExtraStackFrame(xe); } else X.setExtraStackFrame(null); } function I($, he, xe, we, He) { { var _e = Function.call.bind(Object.prototype.hasOwnProperty); for (var ke in $) if (_e($, ke)) { var Re = void 0; try { if (typeof $[ke] != "function") { var Be = Error((we || "React class") + ": " + xe + " type `" + ke + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof $[ke] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."); throw Be.name = "Invariant Violation", Be; } Re = $[ke](he, ke, we, xe, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"); } catch (Me) { Re = Me; } Re && !(Re instanceof Error) && (ae(He), W("%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).", we || "React class", xe, ke, typeof Re), ae(null)), Re instanceof Error && !(Re.message in ue) && (ue[Re.message] = !0, ae(He), W("Failed %s type: %s", xe, Re.message), ae(null)); } } } var ne = V.ReactCurrentOwner, ge = Object.prototype.hasOwnProperty, Se = { key: !0, ref: !0, __self: !0, __source: !0 }, Te, $e, Rt; Rt = {}; function Z($) { if (ge.call($, "ref")) { var he = Object.getOwnPropertyDescriptor($, "ref").get; if (he && he.isReactWarning) return !1; } return $.ref !== void 0; } function q($) { if (ge.call($, "key")) { var he = Object.getOwnPropertyDescriptor($, "key").get; if (he && he.isReactWarning) return !1; } return $.key !== void 0; } function C($, he) { if (typeof $.ref == "string" && ne.current && he && ne.current.stateNode !== he) { var xe = c(ne.current.type); Rt[xe] || (W('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', c(ne.current.type), $.ref), Rt[xe] = !0); } } function U($, he) { { var xe = function() { Te || (Te = !0, W("%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)", he)); }; xe.isReactWarning = !0, Object.defineProperty($, "key", { get: xe, configurable: !0 }); } } function ie($, he) { { var xe = function() { $e || ($e = !0, W("%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)", he)); }; xe.isReactWarning = !0, Object.defineProperty($, "ref", { get: xe, configurable: !0 }); } } var ce = function($, he, xe, we, He, _e, ke) { var Re = { $$typeof: r, type: $, key: he, ref: xe, props: ke, _owner: _e }; return Re._store = {}, Object.defineProperty(Re._store, "validated", { configurable: !1, enumerable: !1, writable: !0, value: !1 }), Object.defineProperty(Re, "_self", { configurable: !1, enumerable: !1, writable: !1, value: we }), Object.defineProperty(Re, "_source", { configurable: !1, enumerable: !1, writable: !1, value: He }), Object.freeze && (Object.freeze(Re.props), Object.freeze(Re)), Re; }; function fe($, he, xe, we, He) { { var _e, ke = {}, Re = null, Be = null; xe !== void 0 && (Re = "" + xe), q(he) && (Re = "" + he.key), Z(he) && (Be = he.ref, C(he, He)); for (_e in he) ge.call(he, _e) && !Se.hasOwnProperty(_e) && (ke[_e] = he[_e]); if ($ && $.defaultProps) { var Me = $.defaultProps; for (_e in Me) ke[_e] === void 0 && (ke[_e] = Me[_e]); } if (Re || Be) { var Qe = typeof $ == "function" ? $.displayName || $.name || "Unknown" : $; Re && U(ke, Qe), Be && ie(ke, Qe); } return ce($, Re, Be, He, we, ne.current, ke); } } var ye = V.ReactCurrentOwner, je = V.ReactDebugCurrentFrame; function Ce($) { if ($) { var he = $._owner, xe = ee($.type, $._source, he ? he.type : null); je.setExtraStackFrame(xe); } else je.setExtraStackFrame(null); } var Ae; Ae = !1; function qe($) { return typeof $ == "object" && $ !== null && $.$$typeof === r; } function Fe() { { if (ye.current) { var $ = c(ye.current.type); if ($) return ` Check the render method of \`` + $ + "`."; } return ""; } } function We($) { { if ($ !== void 0) { var he = $.fileName.replace(/^.*[\\\/]/, ""), xe = $.lineNumber; return ` Check your code at ` + he + ":" + xe + "."; } return ""; } } var fr = {}; function et($) { { var he = Fe(); if (!he) { var xe = typeof $ == "string" ? $ : $.displayName || $.name; xe && (he = ` Check the top-level render call using <` + xe + ">."); } return he; } } function Je($, he) { { if (!$._store || $._store.validated || $.key != null) return; $._store.validated = !0; var xe = et(he); if (fr[xe]) return; fr[xe] = !0; var we = ""; $ && $._owner && $._owner !== ye.current && (we = " It was passed a child from " + c($._owner.type) + "."), Ce($), W('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', xe, we), Ce(null); } } function ur($, he) { { if (typeof $ != "object") return; if (Array.isArray($)) for (var xe = 0; xe < $.length; xe++) { var we = $[xe]; qe(we) && Je(we, he); } else if (qe($)) $._store && ($._store.validated = !0); else if ($) { var He = M($); if (typeof He == "function" && He !== $.entries) for (var _e = He.call($), ke; !(ke = _e.next()).done; ) qe(ke.value) && Je(ke.value, he); } } } function tt($) { { var he = $.type; if (he == null || typeof he == "string") return; var xe; if (typeof he == "function") xe = he.propTypes; else if (typeof he == "object" && (he.$$typeof === d || he.$$typeof === p)) xe = he.propTypes; else return; if (xe) { var we = c(he); I(xe, $.props, "prop", we, $); } else if (he.PropTypes !== void 0 && !Ae) { Ae = !0; var He = c(he); W("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", He || "Unknown"); } typeof he.getDefaultProps == "function" && !he.getDefaultProps.isReactClassApproved && W("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead."); } } function rt($) { { for (var he = Object.keys($.props), xe = 0; xe < he.length; xe++) { var we = he[xe]; if (we !== "children" && we !== "key") { Ce($), W("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", we), Ce(null); break; } } $.ref !== null && (Ce($), W("Invalid attribute `ref` supplied to `React.Fragment`."), Ce(null)); } } function hr($, he, xe, we, He, _e) { { var ke = Y($); if (!ke) { var Re = ""; ($ === void 0 || typeof $ == "object" && $ !== null && Object.keys($).length === 0) && (Re += " 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 Be = We(He); Be ? Re += Be : Re += Fe(); var Me; $ === null ? Me = "null" : Array.isArray($) ? Me = "array" : $ !== void 0 && $.$$typeof === r ? (Me = "<" + (c($.type) || "Unknown") + " />", Re = " Did you accidentally export a JSX literal instead of a component?") : Me = typeof $, W("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", Me, Re); } var Qe = fe($, he, xe, He, _e); if (Qe == null) return Qe; if (ke) { var Ge = he.children; if (Ge !== void 0) if (we) if (Array.isArray(Ge)) { for (var Ve = 0; Ve < Ge.length; Ve++) ur(Ge[Ve], $); Object.freeze && Object.freeze(Ge); } else W("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 ur(Ge, $); } return $ === n.Fragment ? rt(Qe) : tt(Qe), Qe; } } function nt($, he, xe) { return hr($, he, xe, !0); } function it($, he, xe) { return hr($, he, xe, !1); } var Rr = it, st = nt; n.jsx = Rr, n.jsxs = st; }(); }(Xs)), Xs; } (function(n) { process.env.NODE_ENV === "production" ? n.exports = Z0() : n.exports = eu(); })(gs); const wl = gs.exports.Fragment, ve = gs.exports.jsx, vt = gs.exports.jsxs; function tu() { for (var n = 0, e, t, r = ""; n < arguments.length; ) (e = arguments[n++]) && (t = vl(e)) && (r && (r += " "), r += t); return r; } function vl(n) { if (typeof n == "string") return n; for (var e, t = "", r = 0; r < n.length; r++) n[r] && (e = vl(n[r])) && (t && (t += " "), t += e); return t; } function Po() { return Po = Object.assign ? Object.assign.bind() : function(n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) Object.prototype.hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, Po.apply(this, arguments); } var ra = "-"; function ru(n) { var e = iu(n); function t(i) { var s = i.split(ra); return s[0] === "" && s.length !== 1 && s.shift(), Al(s, e) || nu(i); } function r(i) { return n.conflictingClassGroups[i] || []; } return { getClassGroupId: t, getConflictingClassGroupIds: r }; } function Al(n, e) { var t; if (n.length === 0) return e.classGroupId; var r = n[0], i = e.nextPart.get(r), s = i ? Al(n.slice(1), i) : void 0; if (s) return s; if (e.validators.length !== 0) { var o = n.join(ra); return (t = e.validators.find(function(a) { var l = a.validator; return l(o); })) == null ? void 0 : t.classGroupId; } } var $a = /^\[(.+)\]$/; function nu(n) { if ($a.test(n)) { var e = $a.exec(n)[1], t = e == null ? void 0 : e.substring(0, e.indexOf(":")); if (t) return "arbitrary.." + t; } } function iu(n) { var e = n.theme, t = n.prefix, r = { nextPart: /* @__PURE__ */ new Map(), validators: [] }, i = ou(Object.entries(n.classGroups), t); return i.forEach(function(s) { var o = s[0], a = s[1]; Oo(a, r, o, e); }), r; } function Oo(n, e, t, r) { n.forEach(function(i) { if (typeof i == "string") { var s = i === "" ? e : Ha(e, i); s.classGroupId = t; return; } if (typeof i == "function") { if (su(i)) { Oo(i(r), e, t, r); return; } e.validators.push({ validator: i, classGroupId: t }); return; } Object.entries(i).forEach(function(o) { var a = o[0], l = o[1]; Oo(l, Ha(e, a), t, r); }); }); } function Ha(n, e) { var t = n; return e.split(ra).forEach(function(r) { t.nextPart.has(r) || t.nextPart.set(r, { nextPart: /* @__PURE__ */ new Map(), validators: [] }), t = t.nextPart.get(r); }), t; } function su(n) { return n.isThemeGetter; } function ou(n, e) { return e ? n.map(function(t) { var r = t[0], i = t[1], s = i.map(function(o) { return typeof o == "string" ? e + o : typeof o == "object" ? Object.fromEntries(Object.entries(o).map(function(a) { var l = a[0], d = a[1]; return [e + l, d]; })) : o; }); return [r, s]; }) : n; } function au(n) { if (n < 1) return { get: function() { }, set: function() { } }; var e = 0, t = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Map(); function i(s, o) { t.set(s, o), e++, e > n && (e = 0, r = t, t = /* @__PURE__ */ new Map()); } return { get: function(o) { var a = t.get(o); if (a !== void 0) return a; if ((a = r.get(o)) !== void 0) return i(o, a), a; }, set: function(o, a) { t.has(o) ? t.set(o, a) : i(o, a); } }; } var El = "!"; function cu(n) { var e = n.separator || ":"; return function(r) { for (var i = 0, s = [], o = 0, a = 0; a < r.length; a++) { var l = r[a]; i === 0 && l === e[0] && (e.length === 1 || r.slice(a, a + e.length) === e) && (s.push(r.slice(o, a)), o = a + e.length), l === "[" ? i++ : l === "]" && i--; } var d = s.length === 0 ? r : r.substring(o), h = d.startsWith(El), u = h ? d.substring(1) : d; return { modifiers: s, hasImportantModifier: h, baseClassName: u }; }; } function lu(n) { if (n.length <= 1) return n; var e = [], t = []; return n.forEach(function(r) { var i = r[0] === "["; i ? (e.push.apply(e, t.sort().concat([r])), t = []) : t.push(r); }), e.push.apply(e, t.sort()), e; } function fu(n) { return Po({ cache: au(n.cacheSize), splitModifiers: cu(n) }, ru(n)); } var uu = /\s+/; function hu(n, e) { var t = e.splitModifiers, r = e.getClassGroupId, i = e.getConflictingClassGroupIds, s = /* @__PURE__ */ new Set(); return n.trim().split(uu).map(function(o) { var a = t(o), l = a.modifiers, d = a.hasImportantModifier, h = a.baseClassName, u = r(h); if (!u) return { isTailwindClass: !1, originalClassName: o }; var p = lu(l).join(":"), x = d ? p + El : p; return { isTailwindClass: !0, modifierId: x, classGroupId: u, originalClassName: o }; }).reverse().filter(function(o) { if (!o.isTailwindClass) return !0; var a = o.modifierId, l = o.classGroupId, d = a + l; return s.has(d) ? !1 : (s.add(d), i(l).forEach(function(h) { return s.add(a + h); }), !0); }).reverse().map(function(o) { return o.originalClassName; }).join(" "); } function du() { for (var n = arguments.length, e = new Array(n), t = 0; t < n; t++) e[t] = arguments[t]; var r, i, s, o = a; function a(d) { var h = e[0], u = e.slice(1), p = u.reduce(function(x, A) { return A(x); }, h()); return r = fu(p), i = r.cache.get, s = r.cache.set, o = l, l(d); } function l(d) { var h = i(d); if (h) return h; var u = hu(d, r); return s(d, u), u; } return function() { return o(tu.apply(null, arguments)); }; } function lt(n) { var e = function(r) { return r[n] || []; }; return e.isThemeGetter = !0, e; } var kl = /^\[(?:([a-z-]+):)?(.+)\]$/i, pu = /^\d+\/\d+$/, xu = /* @__PURE__ */ new Set(["px", "full", "screen"]), bu = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, gu = /\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))/, mu = /^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/; function rr(n) { return li(n) || xu.has(n) || pu.test(n) || an(n); } function an(n) { return bn(n, "length", Eu); } function yu(n) { return bn(n, "size", Sl); } function wu(n) { return bn(n, "position", Sl); } function vu(n) { return bn(n, "url", ku); } function Zs(n) { return bn(n, "number", li); } function li(n) { return !Number.isNaN(Number(n)); } function Qn(n) { return Ga(n) || bn(n, "number", Ga); } function yt(n) { return kl.test(n); } function Xn() { return !0; } function qr(n) { return bu.test(n); } function Au(n) { return bn(n, "", Su); } function bn(n, e, t) { var r = kl.exec(n); return r ? r[1] ? r[1] === e : t(r[2]) : !1; } function Eu(n) { return gu.test(n); } function Sl() { return !1; } function ku(n) { return n.startsWith("url("); } function Ga(n) { return Number.isInteger(Number(n)); } function Su(n) { return mu.test(n); } function Tu() { var n = lt("colors"), e = lt("spacing"), t = lt("blur"), r = lt("brightness"), i = lt("borderColor"), s = lt("borderRadius"), o = lt("borderSpacing"), a = lt("borderWidth"), l = lt("contrast"), d = lt("grayscale"), h = lt("hueRotate"), u = lt("invert"), p = lt("gap"), x = lt("gradientColorStops"), A = lt("inset"), v = lt("margin"), k = lt("opacity"), w = lt("padding"), T = lt("saturate"), O = lt("scale"), L = lt("sepia"), F = lt("skew"), M = lt("space"), V = lt("translate"), W = function() { return ["auto", "contain", "none"]; }, te = function() { return ["auto", "hidden", "clip", "visible", "scroll"]; }, G = function() { return ["auto", e]; }, Y = function() { return ["", rr]; }, J = function() { return ["auto", li, yt]; }, E = function() { return ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"]; }, c = function() { return ["solid", "dashed", "dotted", "double", "none"]; }, m = function() { return ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity", "plus-lighter"]; }, S = function() { return ["start", "end", "center", "between", "around", "evenly"]; }, _ = function() { return ["", "0", yt]; }, P = function() { return ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"]; }, D = function() { return [li, Zs]; }, B = function() { return [li, yt]; }; return { cacheSize: 500, theme: { colors: [Xn], spacing: [rr], blur: ["none", "", qr, an], brightness: D(), borderColor: [n], borderRadius: ["none", "", "full", qr, an], borderSpacing: [e], borderWidth: Y(), contrast: D(), grayscale: _(), hueRotate: B(), invert: _(), gap: [e], gradientColorStops: [n], inset: G(), margin: G(), opacity: D(), padding: [e], saturate: D(), scale: D(), sepia: _(), skew: B(), space: [e], translate: [e] }, classGroups: { aspect: [{ aspect: ["auto", "square", "video", yt] }], container: ["container"], columns: [{ columns: [qr] }], "break-after": [{ "break-after": P() }], "break-before": [{ "break-before": P() }], "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"] }], clear: [{ clear: ["left", "right", "both", "none"] }], isolation: ["isolate", "isolation-auto"], "object-fit": [{ object: ["contain", "cover", "fill", "none", "scale-down"] }], "object-position": [{ object: [].concat(E(), [yt]) }], overflow: [{ overflow: te() }], "overflow-x": [{ "overflow-x": te() }], "overflow-y": [{ "overflow-y": te() }], overscroll: [{ overscroll: W() }], "overscroll-x": [{ "overscroll-x": W() }], "overscroll-y": [{ "overscroll-y": W() }], position: ["static", "fixed", "absolute", "relative", "sticky"], inset: [{ inset: [A] }], "inset-x": [{ "inset-x": [A] }], "inset-y": [{ "inset-y": [A] }], top: [{ top: [A] }], right: [{ right: [A] }], bottom: [{ bottom: [A] }], left: [{ left: [A] }], visibility: ["visible", "invisible", "collapse"], z: [{ z: ["auto", Qn] }], basis: [{ basis: [e] }], "flex-direction": [{ flex: ["row", "row-reverse", "col", "col-reverse"] }], "flex-wrap": [{ flex: ["wrap", "wrap-reverse", "nowrap"] }], flex: [{ flex: ["1", "auto", "initial", "none", yt] }], grow: [{ grow: _() }], shrink: [{ shrink: _() }], order: [{ order: ["first", "last", "none", Qn] }], "grid-cols": [{ "grid-cols": [Xn] }], "col-start-end": [{ col: ["auto", { span: [Qn] }, yt] }], "col-start": [{ "col-start": J() }], "col-end": [{ "col-end": J() }], "grid-rows": [{ "grid-rows": [Xn] }], "row-start-end": [{ row: ["auto", { span: [Qn] }, yt] }], "row-start": [{ "row-start": J() }], "row-end": [{ "row-end": J() }], "grid-flow": [{ "grid-flow": ["row", "col", "dense", "row-dense", "col-dense"] }], "auto-cols": [{ "auto-cols": ["auto", "min", "max", "fr", yt] }], "auto-rows": [{ "auto-rows": ["auto", "min", "max", "fr", yt] }], gap: [{ gap: [p] }], "gap-x": [{ "gap-x": [p] }], "gap-y": [{ "gap-y": [p] }], "justify-content": [{ justify: S() }], "justify-items": [{ "justify-items": ["start", "end", "center", "stretch"] }], "justify-self": [{ "justify-self": ["auto", "start", "end", "center", "stretch"] }], "align-content": [{ content: [].concat(S(), ["baseline"]) }], "align-items": [{ items: ["start", "end", "center", "baseline", "stretch"] }], "align-self": [{ self: ["auto", "start", "end", "center", "stretch", "baseline"] }], "place-content": [{ "place-content": [].concat(S(), ["baseline", "stretch"]) }], "place-items": [{ "place-items": ["start", "end", "center", "baseline", "stretch"] }], "place-self": [{ "place-self": ["auto", "start", "end", "center", "stretch"] }], p: [{ p: [w] }], px: [{ px: [w] }], py: [{ py: [w] }], pt: [{ pt: [w] }], pr: [{ pr: [w] }], pb: [{ pb: [w] }], pl: [{ pl: [w] }], m: [{ m: [v] }], mx: [{ mx: [v] }], my: [{ my: [v] }], mt: [{ mt: [v] }], mr: [{ mr: [v] }], mb: [{ mb: [v] }], ml: [{ ml: [v] }], "space-x": [{ "space-x": [M] }], "space-x-reverse": ["space-x-reverse"], "space-y": [{ "space-y": [M] }], "space-y-reverse": ["space-y-reverse"], w: [{ w: ["auto", "min", "max", "fit", e] }], "min-w": [{ "min-w": ["min", "max", "fit", rr] }], "max-w": [{ "max-w": ["0", "none", "full", "min", "max", "fit", "prose", { screen: [qr] }, qr, an] }], h: [{ h: [e, "auto", "min", "max", "fit"] }], "min-h": [{ "min-h": ["min", "max", "fit", rr] }], "max-h": [{ "max-h": [e, "min", "max", "fit"] }], "font-size": [{ text: ["base", qr, an] }], "font-smoothing": ["antialiased", "subpixel-antialiased"], "font-style": ["italic", "not-italic"], "font-weight": [{ font: ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black", Zs] }], "font-family": [{ font: [Xn] }], "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", an] }], leading: [{ leading: ["none", "tight", "snug", "normal", "relaxed", "loose", rr] }], "list-style-type": [{ list: ["none", "disc", "decimal", yt] }], "list-style-position": [{ list: ["inside", "outside"] }], "placeholder-color": [{ placeholder: [n] }], "placeholder-opacity": [{ "placeholder-opacity": [k] }], "text-alignment": [{ text: ["left", "center", "right", "justify", "start", "end"] }], "text-color": [{ text: [n] }], "text-opacity": [{ "text-opacity": [k] }], "text-decoration": ["underline", "overline", "line-through", "no-underline"], "text-decoration-style": [{ decoration: [].concat(c(), ["wavy"]) }], "text-decoration-thickness": [{ decoration: ["auto", "from-font", rr] }], "underline-offset": [{ "underline-offset": ["auto", rr] }], "text-decoration-color": [{ decoration: [n] }], "text-transform": ["uppercase", "lowercase", "capitalize", "normal-case"], "text-overflow": ["truncate", "text-ellipsis", "text-clip"], indent: [{ indent: [e] }], "vertical-align": [{ align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", an] }], whitespace: [{ whitespace: ["normal", "nowrap", "pre", "pre-line", "pre-wrap"] }], break: [{ break: ["normal", "words", "all", "keep"] }], content: [{ content: ["none", yt] }], "bg-attachment": [{ bg: ["fixed", "local", "scroll"] }], "bg-clip": [{ "bg-clip": ["border", "padding", "content", "text"] }], "bg-opacity": [{ "bg-opacity": [k] }], "bg-origin": [{ "bg-origin": ["border", "padding", "content"] }], "bg-position": [{ bg: [].concat(E(), [wu]) }], "bg-repeat": [{ bg: ["no-repeat", { repeat: ["", "x", "y", "round", "space"] }] }], "bg-size": [{ bg: ["auto", "cover", "contain", yu] }], "bg-image": [{ bg: ["none", { "gradient-to": ["t", "tr", "r", "br", "b", "bl", "l", "tl"] }, vu] }], "bg-color": [{ bg: [n] }], "gradient-from": [{ from: [x] }], "gradient-via": [{ via: [x] }], "gradient-to": [{ to: [x] }], rounded: [{ rounded: [s] }], "rounded-t": [{ "rounded-t": [s] }], "rounded-r": [{ "rounded-r": [s] }], "rounded-b": [{ "rounded-b": [s] }], "rounded-l": [{ "rounded-l": [s] }], "rounded-tl": [{ "rounded-tl": [s] }], "rounded-tr": [{ "rounded-tr": [s] }], "rounded-br": [{ "rounded-br": [s] }], "rounded-bl": [{ "rounded-bl": [s] }], "border-w": [{ border: [a] }], "border-w-x": [{ "border-x": [a] }], "border-w-y": [{ "border-y": [a] }], "border-w-t": [{ "border-t": [a] }], "border-w-r": [{ "border-r": [a] }], "border-w-b": [{ "border-b": [a] }], "border-w-l": [{ "border-l": [a] }], "border-opacity": [{ "border-opacity": [k] }], "border-style": [{ border: [].concat(c(), ["hidden"]) }], "divide-x": [{ "divide-x": [a] }], "divide-x-reverse": ["divide-x-reverse"], "divide-y": [{ "divide-y": [a] }], "divide-y-reverse": ["divide-y-reverse"], "divide-opacity": [{ "divide-opacity": [k] }], "divide-style": [{ divide: c() }], "border-color": [{ border: [i] }], "border-color-x": [{ "border-x": [i] }], "border-color-y": [{ "border-y": [i] }], "border-color-t": [{ "border-t": [i] }], "border-color-r": [{ "border-r": [i] }], "border-color-b": [{ "border-b": [i] }], "border-color-l": [{ "border-l": [i] }], "divide-color": [{ divide: [i] }], "outline-style": [{ outline: [""].concat(c()) }], "outline-offset": [{ "outline-offset": [rr] }], "outline-w": [{ outline: [rr] }], "outline-color": [{ outline: [n] }], "ring-w": [{ ring: Y() }], "ring-w-inset": ["ring-inset"], "ring-color": [{ ring: [n] }], "ring-opacity": [{ "ring-opacity": [k] }], "ring-offset-w": [{ "ring-offset": [rr] }], "ring-offset-color": [{ "ring-offset": [n] }], shadow: [{ shadow: ["", "inner", "none", qr, Au] }], "shadow-color": [{ shadow: [Xn] }], opacity: [{ opacity: [k] }], "mix-blend": [{ "mix-blend": m() }], "bg-blend": [{ "bg-blend": m() }], filter: [{ filter: ["", "none"] }], blur: [{ blur: [t] }], brightness: [{ brightness: [r] }], contrast: [{ contrast: [l] }], "drop-shadow": [{ "drop-shadow": ["", "none", qr, yt] }], grayscale: [{ grayscale: [d] }], "hue-rotate": [{ "hue-rotate": [h] }], invert: [{ invert: [u] }], saturate: [{ saturate: [T] }], sepia: [{ sepia: [L] }], "backdrop-filter": [{ "backdrop-filter": ["", "none"] }], "backdrop-blur": [{ "backdrop-blur": [t] }], "backdrop-brightness": [{ "backdrop-brightness": [r] }], "backdrop-contrast": [{ "backdrop-contrast": [l] }], "backdrop-grayscale": [{ "backdrop-grayscale": [d] }], "backdrop-hue-rotate": [{ "backdrop-hue-rotate": [h] }], "backdrop-invert": [{ "backdrop-invert": [u] }], "backdrop-opacity": [{ "backdrop-opacity": [k] }], "backdrop-saturate": [{ "backdrop-saturate": [T] }], "backdrop-sepia": [{ "backdrop-sepia": [L] }], "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"] }], transition: [{ transition: ["none", "all", "", "colors", "opacity", "shadow", "transform", yt] }], duration: [{ duration: B() }], ease: [{ ease: ["linear", "in", "out", "in-out", yt] }], delay: [{ delay: B() }], animate: [{ animate: ["none", "spin", "ping", "pulse", "bounce", yt] }], transform: [{ transform: ["", "gpu", "none"] }], scale: [{ scale: [O] }], "scale-x": [{ "scale-x": [O] }], "scale-y": [{ "scale-y": [O] }], rotate: [{ rotate: [Qn, yt] }], "translate-x": [{ "translate-x": [V] }], "translate-y": [{ "translate-y": [V] }], "skew-x": [{ "skew-x": [F] }], "skew-y": [{ "skew-y": [F] }], "transform-origin": [{ origin: ["center", "top", "top-right", "right", "bottom-right", "bottom", "bottom-left", "left", "top-left", yt] }], accent: [{ accent: ["auto", n] }], appearance: ["appearance-none"], 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", yt] }], "caret-color": [{ caret: [n] }], "pointer-events": [{ "pointer-events": ["none", "auto"] }], resize: [{ resize: ["none", "y", "x", ""] }], "scroll-behavior": [{ scroll: ["auto", "smooth"] }], "scroll-m": [{ "scroll-m": [e] }], "scroll-mx": [{ "scroll-mx": [e] }], "scroll-my": [{ "scroll-my": [e] }], "scroll-mt": [{ "scroll-mt": [e] }], "scroll-mr": [{ "scroll-mr": [e] }], "scroll-mb": [{ "scroll-mb": [e] }], "scroll-ml": [{ "scroll-ml": [e] }], "scroll-p": [{ "scroll-p": [e] }], "scroll-px": [{ "scroll-px": [e] }], "scroll-py": [{ "scroll-py": [e] }], "scroll-pt": [{ "scroll-pt": [e] }], "scroll-pr": [{ "scroll-pr": [e] }], "scroll-pb": [{ "scroll-pb": [e] }], "scroll-pl": [{ "scroll-pl": [e] }], "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", "pinch-zoom", "manipulation", { pan: ["x", "left", "right", "y", "up", "down"] }] }], select: [{ select: ["none", "text", "all", "auto"] }], "will-change": [{ "will-change": ["auto", "scroll", "contents", "transform", yt] }], fill: [{ fill: [n, "none"] }], "stroke-w": [{ stroke: [rr, Zs] }], stroke: [{ stroke: [n, "none"] }], sr: ["sr-only", "not-sr-only"] }, conflictingClassGroups: { overflow: ["overflow-x", "ove