@devopness/ui-react
Version:
Devopness Design System React Components - Painless essential DevOps to everyone
1,710 lines (1,708 loc) • 529 kB
JavaScript
import * as C from "react";
import Ne, { useDebugValue as Rs, createElement as Qd, useRef as Ao, useContext as ef, isValidElement as io, cloneElement as ao, Children as tf, useEffect as jo, useState as No, useCallback as zn, forwardRef as rf } from "react";
import * as nf from "react-dom";
import Vn from "react-dom";
var Fn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
function Ya(e) {
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
}
var ci, Ps;
function Ka() {
if (Ps) return ci;
Ps = 1;
var e = Array.isArray;
return ci = e, ci;
}
var li, _s;
function of() {
if (_s) return li;
_s = 1;
var e = typeof Fn == "object" && Fn && Fn.Object === Object && Fn;
return li = e, li;
}
var ui, $s;
function Za() {
if ($s) return ui;
$s = 1;
var e = of(), t = typeof self == "object" && self && self.Object === Object && self, r = e || t || Function("return this")();
return ui = r, ui;
}
var di, Ms;
function Xa() {
if (Ms) return di;
Ms = 1;
var e = Za(), t = e.Symbol;
return di = t, di;
}
var fi, ks;
function af() {
if (ks) return fi;
ks = 1;
var e = Xa(), t = Object.prototype, r = t.hasOwnProperty, n = t.toString, o = e ? e.toStringTag : void 0;
function i(a) {
var c = r.call(a, o), l = a[o];
try {
a[o] = void 0;
var u = !0;
} catch {
}
var d = n.call(a);
return u && (c ? a[o] = l : delete a[o]), d;
}
return fi = i, fi;
}
var pi, As;
function sf() {
if (As) return pi;
As = 1;
var e = Object.prototype, t = e.toString;
function r(n) {
return t.call(n);
}
return pi = r, pi;
}
var hi, js;
function hu() {
if (js) return hi;
js = 1;
var e = Xa(), t = af(), r = sf(), n = "[object Null]", o = "[object Undefined]", i = e ? e.toStringTag : void 0;
function a(c) {
return c == null ? c === void 0 ? o : n : i && i in Object(c) ? t(c) : r(c);
}
return hi = a, hi;
}
var mi, Ns;
function cf() {
if (Ns) return mi;
Ns = 1;
function e(t) {
return t != null && typeof t == "object";
}
return mi = e, mi;
}
var gi, Is;
function Ja() {
if (Is) return gi;
Is = 1;
var e = hu(), t = cf(), r = "[object Symbol]";
function n(o) {
return typeof o == "symbol" || t(o) && e(o) == r;
}
return gi = n, gi;
}
var vi, Ls;
function lf() {
if (Ls) return vi;
Ls = 1;
var e = Ka(), t = Ja(), r = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, n = /^\w*$/;
function o(i, a) {
if (e(i))
return !1;
var c = typeof i;
return c == "number" || c == "symbol" || c == "boolean" || i == null || t(i) ? !0 : n.test(i) || !r.test(i) || a != null && i in Object(a);
}
return vi = o, vi;
}
var yi, Ds;
function mu() {
if (Ds) return yi;
Ds = 1;
function e(t) {
var r = typeof t;
return t != null && (r == "object" || r == "function");
}
return yi = e, yi;
}
var bi, Bs;
function uf() {
if (Bs) return bi;
Bs = 1;
var e = hu(), t = mu(), r = "[object AsyncFunction]", n = "[object Function]", o = "[object GeneratorFunction]", i = "[object Proxy]";
function a(c) {
if (!t(c))
return !1;
var l = e(c);
return l == n || l == o || l == r || l == i;
}
return bi = a, bi;
}
var xi, zs;
function df() {
if (zs) return xi;
zs = 1;
var e = Za(), t = e["__core-js_shared__"];
return xi = t, xi;
}
var wi, Vs;
function ff() {
if (Vs) return wi;
Vs = 1;
var e = df(), t = function() {
var n = /[^.]+$/.exec(e && e.keys && e.keys.IE_PROTO || "");
return n ? "Symbol(src)_1." + n : "";
}();
function r(n) {
return !!t && t in n;
}
return wi = r, wi;
}
var Si, Fs;
function pf() {
if (Fs) return Si;
Fs = 1;
var e = Function.prototype, t = e.toString;
function r(n) {
if (n != null) {
try {
return t.call(n);
} catch {
}
try {
return n + "";
} catch {
}
}
return "";
}
return Si = r, Si;
}
var Ei, Hs;
function hf() {
if (Hs) return Ei;
Hs = 1;
var e = uf(), t = ff(), r = mu(), n = pf(), o = /[\\^$.*+?()[\]{}|]/g, i = /^\[object .+?Constructor\]$/, a = Function.prototype, c = Object.prototype, l = a.toString, u = c.hasOwnProperty, d = RegExp(
"^" + l.call(u).replace(o, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
);
function h(m) {
if (!r(m) || t(m))
return !1;
var g = e(m) ? d : i;
return g.test(n(m));
}
return Ei = h, Ei;
}
var Ci, Ws;
function mf() {
if (Ws) return Ci;
Ws = 1;
function e(t, r) {
return t?.[r];
}
return Ci = e, Ci;
}
var Ti, qs;
function gu() {
if (qs) return Ti;
qs = 1;
var e = hf(), t = mf();
function r(n, o) {
var i = t(n, o);
return e(i) ? i : void 0;
}
return Ti = r, Ti;
}
var Oi, Us;
function Io() {
if (Us) return Oi;
Us = 1;
var e = gu(), t = e(Object, "create");
return Oi = t, Oi;
}
var Ri, Gs;
function gf() {
if (Gs) return Ri;
Gs = 1;
var e = Io();
function t() {
this.__data__ = e ? e(null) : {}, this.size = 0;
}
return Ri = t, Ri;
}
var Pi, Ys;
function vf() {
if (Ys) return Pi;
Ys = 1;
function e(t) {
var r = this.has(t) && delete this.__data__[t];
return this.size -= r ? 1 : 0, r;
}
return Pi = e, Pi;
}
var _i, Ks;
function yf() {
if (Ks) return _i;
Ks = 1;
var e = Io(), t = "__lodash_hash_undefined__", r = Object.prototype, n = r.hasOwnProperty;
function o(i) {
var a = this.__data__;
if (e) {
var c = a[i];
return c === t ? void 0 : c;
}
return n.call(a, i) ? a[i] : void 0;
}
return _i = o, _i;
}
var $i, Zs;
function bf() {
if (Zs) return $i;
Zs = 1;
var e = Io(), t = Object.prototype, r = t.hasOwnProperty;
function n(o) {
var i = this.__data__;
return e ? i[o] !== void 0 : r.call(i, o);
}
return $i = n, $i;
}
var Mi, Xs;
function xf() {
if (Xs) return Mi;
Xs = 1;
var e = Io(), t = "__lodash_hash_undefined__";
function r(n, o) {
var i = this.__data__;
return this.size += this.has(n) ? 0 : 1, i[n] = e && o === void 0 ? t : o, this;
}
return Mi = r, Mi;
}
var ki, Js;
function wf() {
if (Js) return ki;
Js = 1;
var e = gf(), t = vf(), r = yf(), n = bf(), o = xf();
function i(a) {
var c = -1, l = a == null ? 0 : a.length;
for (this.clear(); ++c < l; ) {
var u = a[c];
this.set(u[0], u[1]);
}
}
return i.prototype.clear = e, i.prototype.delete = t, i.prototype.get = r, i.prototype.has = n, i.prototype.set = o, ki = i, ki;
}
var Ai, Qs;
function Sf() {
if (Qs) return Ai;
Qs = 1;
function e() {
this.__data__ = [], this.size = 0;
}
return Ai = e, Ai;
}
var ji, ec;
function Ef() {
if (ec) return ji;
ec = 1;
function e(t, r) {
return t === r || t !== t && r !== r;
}
return ji = e, ji;
}
var Ni, tc;
function Lo() {
if (tc) return Ni;
tc = 1;
var e = Ef();
function t(r, n) {
for (var o = r.length; o--; )
if (e(r[o][0], n))
return o;
return -1;
}
return Ni = t, Ni;
}
var Ii, rc;
function Cf() {
if (rc) return Ii;
rc = 1;
var e = Lo(), t = Array.prototype, r = t.splice;
function n(o) {
var i = this.__data__, a = e(i, o);
if (a < 0)
return !1;
var c = i.length - 1;
return a == c ? i.pop() : r.call(i, a, 1), --this.size, !0;
}
return Ii = n, Ii;
}
var Li, nc;
function Tf() {
if (nc) return Li;
nc = 1;
var e = Lo();
function t(r) {
var n = this.__data__, o = e(n, r);
return o < 0 ? void 0 : n[o][1];
}
return Li = t, Li;
}
var Di, oc;
function Of() {
if (oc) return Di;
oc = 1;
var e = Lo();
function t(r) {
return e(this.__data__, r) > -1;
}
return Di = t, Di;
}
var Bi, ic;
function Rf() {
if (ic) return Bi;
ic = 1;
var e = Lo();
function t(r, n) {
var o = this.__data__, i = e(o, r);
return i < 0 ? (++this.size, o.push([r, n])) : o[i][1] = n, this;
}
return Bi = t, Bi;
}
var zi, ac;
function Pf() {
if (ac) return zi;
ac = 1;
var e = Sf(), t = Cf(), r = Tf(), n = Of(), o = Rf();
function i(a) {
var c = -1, l = a == null ? 0 : a.length;
for (this.clear(); ++c < l; ) {
var u = a[c];
this.set(u[0], u[1]);
}
}
return i.prototype.clear = e, i.prototype.delete = t, i.prototype.get = r, i.prototype.has = n, i.prototype.set = o, zi = i, zi;
}
var Vi, sc;
function _f() {
if (sc) return Vi;
sc = 1;
var e = gu(), t = Za(), r = e(t, "Map");
return Vi = r, Vi;
}
var Fi, cc;
function $f() {
if (cc) return Fi;
cc = 1;
var e = wf(), t = Pf(), r = _f();
function n() {
this.size = 0, this.__data__ = {
hash: new e(),
map: new (r || t)(),
string: new e()
};
}
return Fi = n, Fi;
}
var Hi, lc;
function Mf() {
if (lc) return Hi;
lc = 1;
function e(t) {
var r = typeof t;
return r == "string" || r == "number" || r == "symbol" || r == "boolean" ? t !== "__proto__" : t === null;
}
return Hi = e, Hi;
}
var Wi, uc;
function Do() {
if (uc) return Wi;
uc = 1;
var e = Mf();
function t(r, n) {
var o = r.__data__;
return e(n) ? o[typeof n == "string" ? "string" : "hash"] : o.map;
}
return Wi = t, Wi;
}
var qi, dc;
function kf() {
if (dc) return qi;
dc = 1;
var e = Do();
function t(r) {
var n = e(this, r).delete(r);
return this.size -= n ? 1 : 0, n;
}
return qi = t, qi;
}
var Ui, fc;
function Af() {
if (fc) return Ui;
fc = 1;
var e = Do();
function t(r) {
return e(this, r).get(r);
}
return Ui = t, Ui;
}
var Gi, pc;
function jf() {
if (pc) return Gi;
pc = 1;
var e = Do();
function t(r) {
return e(this, r).has(r);
}
return Gi = t, Gi;
}
var Yi, hc;
function Nf() {
if (hc) return Yi;
hc = 1;
var e = Do();
function t(r, n) {
var o = e(this, r), i = o.size;
return o.set(r, n), this.size += o.size == i ? 0 : 1, this;
}
return Yi = t, Yi;
}
var Ki, mc;
function If() {
if (mc) return Ki;
mc = 1;
var e = $f(), t = kf(), r = Af(), n = jf(), o = Nf();
function i(a) {
var c = -1, l = a == null ? 0 : a.length;
for (this.clear(); ++c < l; ) {
var u = a[c];
this.set(u[0], u[1]);
}
}
return i.prototype.clear = e, i.prototype.delete = t, i.prototype.get = r, i.prototype.has = n, i.prototype.set = o, Ki = i, Ki;
}
var Zi, gc;
function Lf() {
if (gc) return Zi;
gc = 1;
var e = If(), t = "Expected a function";
function r(n, o) {
if (typeof n != "function" || o != null && typeof o != "function")
throw new TypeError(t);
var i = function() {
var a = arguments, c = o ? o.apply(this, a) : a[0], l = i.cache;
if (l.has(c))
return l.get(c);
var u = n.apply(this, a);
return i.cache = l.set(c, u) || l, u;
};
return i.cache = new (r.Cache || e)(), i;
}
return r.Cache = e, Zi = r, Zi;
}
var Xi, vc;
function Df() {
if (vc) return Xi;
vc = 1;
var e = Lf(), t = 500;
function r(n) {
var o = e(n, function(a) {
return i.size === t && i.clear(), a;
}), i = o.cache;
return o;
}
return Xi = r, Xi;
}
var Ji, yc;
function Bf() {
if (yc) return Ji;
yc = 1;
var e = Df(), t = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, r = /\\(\\)?/g, n = e(function(o) {
var i = [];
return o.charCodeAt(0) === 46 && i.push(""), o.replace(t, function(a, c, l, u) {
i.push(l ? u.replace(r, "$1") : c || a);
}), i;
});
return Ji = n, Ji;
}
var Qi, bc;
function zf() {
if (bc) return Qi;
bc = 1;
function e(t, r) {
for (var n = -1, o = t == null ? 0 : t.length, i = Array(o); ++n < o; )
i[n] = r(t[n], n, t);
return i;
}
return Qi = e, Qi;
}
var ea, xc;
function Vf() {
if (xc) return ea;
xc = 1;
var e = Xa(), t = zf(), r = Ka(), n = Ja(), o = e ? e.prototype : void 0, i = o ? o.toString : void 0;
function a(c) {
if (typeof c == "string")
return c;
if (r(c))
return t(c, a) + "";
if (n(c))
return i ? i.call(c) : "";
var l = c + "";
return l == "0" && 1 / c == -1 / 0 ? "-0" : l;
}
return ea = a, ea;
}
var ta, wc;
function Ff() {
if (wc) return ta;
wc = 1;
var e = Vf();
function t(r) {
return r == null ? "" : e(r);
}
return ta = t, ta;
}
var ra, Sc;
function Hf() {
if (Sc) return ra;
Sc = 1;
var e = Ka(), t = lf(), r = Bf(), n = Ff();
function o(i, a) {
return e(i) ? i : t(i, a) ? [i] : r(n(i));
}
return ra = o, ra;
}
var na, Ec;
function Wf() {
if (Ec) return na;
Ec = 1;
var e = Ja();
function t(r) {
if (typeof r == "string" || e(r))
return r;
var n = r + "";
return n == "0" && 1 / r == -1 / 0 ? "-0" : n;
}
return na = t, na;
}
var oa, Cc;
function qf() {
if (Cc) return oa;
Cc = 1;
var e = Hf(), t = Wf();
function r(n, o) {
o = e(o, n);
for (var i = 0, a = o.length; n != null && i < a; )
n = n[t(o[i++])];
return i && i == a ? n : void 0;
}
return oa = r, oa;
}
var ia, Tc;
function Uf() {
if (Tc) return ia;
Tc = 1;
var e = qf();
function t(r, n, o) {
var i = r == null ? void 0 : e(r, n);
return i === void 0 ? o : i;
}
return ia = t, ia;
}
var Gf = Uf();
const vu = /* @__PURE__ */ Ya(Gf), Yf = {
amber: {
800: "#a39015",
500: "#fab01c",
400: "#fdb762",
300: "#fdd88e",
200: "#fee2c0",
150: "#feebc6",
100: "#fff1e0",
50: "#fff6ef",
10: "#fffcf5"
},
black: "#000000",
blue: {
950: "#2e374e",
800: "#2e364e",
750: "#37436b",
700: "#0064a5",
600: "#016ee9",
500: "#0496f5",
400: "#96c7fe",
300: "#b9daff",
100: "#dcecff",
50: "#e8f6ff",
25: "#eef2ff"
},
brown: {
400: "#b5a7a2",
50: "#faf8f1"
},
cyan: {
800: "#537e8c",
400: "#00d7d7",
300: "#02e0d1",
200: "#e0f7fa",
100: "#ebfafb",
50: "#f6fffe"
},
fuchsia: {
600: "#d000ff",
10: "#fdf5ff"
},
gray: {
900: "#42495a",
800: "#828795",
615: "#9198a5",
600: "#9196a4",
500: "#b0b3bc",
400: "#afb8c9",
300: "#bdc4d3",
200: "#f3f7fe"
},
green: {
800: "#57b261",
600: "#0cd356",
300: "#9eedbb",
200: "#b6f2cc",
150: "#cef6dd",
125: "#effff1",
100: "#edf9ee"
},
indigo: {
100: "#f5f6ff",
50: "#f6f8ff",
10: "#f8faff"
},
orange: {
700: "#f89532",
600: "#ff8700",
500: "#f8bf4d",
400: "#fdba62",
100: "#f6f4e7",
50: "#fff6f0",
10: "#fff9f0"
},
purple: {
800: "#786efd",
400: "#cac7fc",
300: "#dfe4fd",
275: "#dfe6ff",
250: "#e6ecff",
100: "#f2f1ff",
50: "#f2f2fa"
},
red: {
700: "#b00020",
600: "#d50000",
500: "#fd595c",
450: "#ff6666",
400: "#f67771",
300: "#febdbe",
200: "#fecdce",
150: "#ffdede",
100: "#ffe8e8",
50: "#fff3f3"
},
slate: {
600: "#4a526a",
450: "#72798f",
400: "#abb4c5",
300: "#e3e8f9"
},
stone: {
100: "#f6f6f6",
50: "#edf2f3"
},
transparent: "transparent",
white: "#ffffff",
yellow: {
300: "#fff793"
}
}, U = (e) => vu(Yf, e), Kf = (e, t) => e.startsWith("#") ? `${e}${(t * 255).toString(16).slice(0, 2)}` : e;
var Hn = { exports: {} }, sn = {};
/**
* @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 Oc;
function Zf() {
if (Oc) return sn;
Oc = 1;
var e = Ne, t = Symbol.for("react.element"), r = Symbol.for("react.fragment"), n = Object.prototype.hasOwnProperty, o = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
function a(c, l, u) {
var d, h = {}, m = null, g = null;
u !== void 0 && (m = "" + u), l.key !== void 0 && (m = "" + l.key), l.ref !== void 0 && (g = l.ref);
for (d in l) n.call(l, d) && !i.hasOwnProperty(d) && (h[d] = l[d]);
if (c && c.defaultProps) for (d in l = c.defaultProps, l) h[d] === void 0 && (h[d] = l[d]);
return { $$typeof: t, type: c, key: m, ref: g, props: h, _owner: o.current };
}
return sn.Fragment = r, sn.jsx = a, sn.jsxs = a, sn;
}
var cn = {};
/**
* @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 Rc;
function Xf() {
return Rc || (Rc = 1, process.env.NODE_ENV !== "production" && function() {
var e = Ne, t = Symbol.for("react.element"), r = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), a = Symbol.for("react.provider"), c = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), u = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), m = Symbol.for("react.lazy"), g = Symbol.for("react.offscreen"), v = Symbol.iterator, f = "@@iterator";
function S(b) {
if (b === null || typeof b != "object")
return null;
var D = v && b[v] || b[f];
return typeof D == "function" ? D : null;
}
var T = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
function E(b) {
{
for (var D = arguments.length, K = new Array(D > 1 ? D - 1 : 0), le = 1; le < D; le++)
K[le - 1] = arguments[le];
x("error", b, K);
}
}
function x(b, D, K) {
{
var le = T.ReactDebugCurrentFrame, ve = le.getStackAddendum();
ve !== "" && (D += "%s", K = K.concat([ve]));
var Re = K.map(function(he) {
return String(he);
});
Re.unshift("Warning: " + D), Function.prototype.apply.call(console[b], console, Re);
}
}
var y = !1, w = !1, R = !1, P = !1, B = !1, M;
M = Symbol.for("react.module.reference");
function p(b) {
return !!(typeof b == "string" || typeof b == "function" || b === n || b === i || B || b === o || b === u || b === d || P || b === g || y || w || R || typeof b == "object" && b !== null && (b.$$typeof === m || b.$$typeof === h || b.$$typeof === a || b.$$typeof === c || b.$$typeof === l || // This needs to include all possible module reference object
// types supported by any Flight configuration anywhere since
// we don't know which Flight build this will end up being used
// with.
b.$$typeof === M || b.getModuleId !== void 0));
}
function A(b, D, K) {
var le = b.displayName;
if (le)
return le;
var ve = D.displayName || D.name || "";
return ve !== "" ? K + "(" + ve + ")" : K;
}
function W(b) {
return b.displayName || "Context";
}
function j(b) {
if (b == null)
return null;
if (typeof b.tag == "number" && E("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof b == "function")
return b.displayName || b.name || null;
if (typeof b == "string")
return b;
switch (b) {
case n:
return "Fragment";
case r:
return "Portal";
case i:
return "Profiler";
case o:
return "StrictMode";
case u:
return "Suspense";
case d:
return "SuspenseList";
}
if (typeof b == "object")
switch (b.$$typeof) {
case c:
var D = b;
return W(D) + ".Consumer";
case a:
var K = b;
return W(K._context) + ".Provider";
case l:
return A(b, b.render, "ForwardRef");
case h:
var le = b.displayName || null;
return le !== null ? le : j(b.type) || "Memo";
case m: {
var ve = b, Re = ve._payload, he = ve._init;
try {
return j(he(Re));
} catch {
return null;
}
}
}
return null;
}
var z = Object.assign, L = 0, N, q, ce, J, _, I, F;
function te() {
}
te.__reactDisabledLog = !0;
function Y() {
{
if (L === 0) {
N = console.log, q = console.info, ce = console.warn, J = console.error, _ = console.group, I = console.groupCollapsed, F = console.groupEnd;
var b = {
configurable: !0,
enumerable: !0,
value: te,
writable: !0
};
Object.defineProperties(console, {
info: b,
log: b,
warn: b,
error: b,
group: b,
groupCollapsed: b,
groupEnd: b
});
}
L++;
}
}
function Q() {
{
if (L--, L === 0) {
var b = {
configurable: !0,
enumerable: !0,
writable: !0
};
Object.defineProperties(console, {
log: z({}, b, {
value: N
}),
info: z({}, b, {
value: q
}),
warn: z({}, b, {
value: ce
}),
error: z({}, b, {
value: J
}),
group: z({}, b, {
value: _
}),
groupCollapsed: z({}, b, {
value: I
}),
groupEnd: z({}, b, {
value: F
})
});
}
L < 0 && E("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
}
}
var G = T.ReactCurrentDispatcher, ee;
function Z(b, D, K) {
{
if (ee === void 0)
try {
throw Error();
} catch (ve) {
var le = ve.stack.trim().match(/\n( *(at )?)/);
ee = le && le[1] || "";
}
return `
` + ee + b;
}
}
var oe = !1, V;
{
var re = typeof WeakMap == "function" ? WeakMap : Map;
V = new re();
}
function k(b, D) {
if (!b || oe)
return "";
{
var K = V.get(b);
if (K !== void 0)
return K;
}
var le;
oe = !0;
var ve = Error.prepareStackTrace;
Error.prepareStackTrace = void 0;
var Re;
Re = G.current, G.current = null, Y();
try {
if (D) {
var he = function() {
throw Error();
};
if (Object.defineProperty(he.prototype, "props", {
set: function() {
throw Error();
}
}), typeof Reflect == "object" && Reflect.construct) {
try {
Reflect.construct(he, []);
} catch (Je) {
le = Je;
}
Reflect.construct(b, [], he);
} else {
try {
he.call();
} catch (Je) {
le = Je;
}
b.call(he.prototype);
}
} else {
try {
throw Error();
} catch (Je) {
le = Je;
}
b();
}
} catch (Je) {
if (Je && le && typeof Je.stack == "string") {
for (var de = Je.stack.split(`
`), Xe = le.stack.split(`
`), We = de.length - 1, Ue = Xe.length - 1; We >= 1 && Ue >= 0 && de[We] !== Xe[Ue]; )
Ue--;
for (; We >= 1 && Ue >= 0; We--, Ue--)
if (de[We] !== Xe[Ue]) {
if (We !== 1 || Ue !== 1)
do
if (We--, Ue--, Ue < 0 || de[We] !== Xe[Ue]) {
var ft = `
` + de[We].replace(" at new ", " at ");
return b.displayName && ft.includes("<anonymous>") && (ft = ft.replace("<anonymous>", b.displayName)), typeof b == "function" && V.set(b, ft), ft;
}
while (We >= 1 && Ue >= 0);
break;
}
}
} finally {
oe = !1, G.current = Re, Q(), Error.prepareStackTrace = ve;
}
var $r = b ? b.displayName || b.name : "", pr = $r ? Z($r) : "";
return typeof b == "function" && V.set(b, pr), pr;
}
function me(b, D, K) {
return k(b, !1);
}
function Se(b) {
var D = b.prototype;
return !!(D && D.isReactComponent);
}
function Me(b, D, K) {
if (b == null)
return "";
if (typeof b == "function")
return k(b, Se(b));
if (typeof b == "string")
return Z(b);
switch (b) {
case u:
return Z("Suspense");
case d:
return Z("SuspenseList");
}
if (typeof b == "object")
switch (b.$$typeof) {
case l:
return me(b.render);
case h:
return Me(b.type, D, K);
case m: {
var le = b, ve = le._payload, Re = le._init;
try {
return Me(Re(ve), D, K);
} catch {
}
}
}
return "";
}
var Fe = Object.prototype.hasOwnProperty, Ee = {}, $e = T.ReactDebugCurrentFrame;
function ke(b) {
if (b) {
var D = b._owner, K = Me(b.type, b._source, D ? D.type : null);
$e.setExtraStackFrame(K);
} else
$e.setExtraStackFrame(null);
}
function He(b, D, K, le, ve) {
{
var Re = Function.call.bind(Fe);
for (var he in b)
if (Re(b, he)) {
var de = void 0;
try {
if (typeof b[he] != "function") {
var Xe = Error((le || "React class") + ": " + K + " type `" + he + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof b[he] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
throw Xe.name = "Invariant Violation", Xe;
}
de = b[he](D, he, le, K, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
} catch (We) {
de = We;
}
de && !(de instanceof Error) && (ke(ve), E("%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).", le || "React class", K, he, typeof de), ke(null)), de instanceof Error && !(de.message in Ee) && (Ee[de.message] = !0, ke(ve), E("Failed %s type: %s", K, de.message), ke(null));
}
}
}
var we = Array.isArray;
function ae(b) {
return we(b);
}
function _t(b) {
{
var D = typeof Symbol == "function" && Symbol.toStringTag, K = D && b[Symbol.toStringTag] || b.constructor.name || "Object";
return K;
}
}
function $t(b) {
try {
return Ft(b), !1;
} catch {
return !0;
}
}
function Ft(b) {
return "" + b;
}
function Ht(b) {
if ($t(b))
return E("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", _t(b)), Ft(b);
}
var Ct = T.ReactCurrentOwner, Wt = {
key: !0,
ref: !0,
__self: !0,
__source: !0
}, Mt, Qt;
function Ke(b) {
if (Fe.call(b, "ref")) {
var D = Object.getOwnPropertyDescriptor(b, "ref").get;
if (D && D.isReactWarning)
return !1;
}
return b.ref !== void 0;
}
function kt(b) {
if (Fe.call(b, "key")) {
var D = Object.getOwnPropertyDescriptor(b, "key").get;
if (D && D.isReactWarning)
return !1;
}
return b.key !== void 0;
}
function Tt(b, D) {
typeof b.ref == "string" && Ct.current;
}
function At(b, D) {
{
var K = function() {
Mt || (Mt = !0, E("%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)", D));
};
K.isReactWarning = !0, Object.defineProperty(b, "key", {
get: K,
configurable: !0
});
}
}
function er(b, D) {
{
var K = function() {
Qt || (Qt = !0, E("%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)", D));
};
K.isReactWarning = !0, Object.defineProperty(b, "ref", {
get: K,
configurable: !0
});
}
}
var ur = function(b, D, K, le, ve, Re, he) {
var de = {
// This tag allows us to uniquely identify this as a React Element
$$typeof: t,
// Built-in properties that belong on the element
type: b,
key: D,
ref: K,
props: he,
// Record the component responsible for creating this element.
_owner: Re
};
return de._store = {}, Object.defineProperty(de._store, "validated", {
configurable: !1,
enumerable: !1,
writable: !0,
value: !1
}), Object.defineProperty(de, "_self", {
configurable: !1,
enumerable: !1,
writable: !1,
value: le
}), Object.defineProperty(de, "_source", {
configurable: !1,
enumerable: !1,
writable: !1,
value: ve
}), Object.freeze && (Object.freeze(de.props), Object.freeze(de)), de;
};
function nn(b, D, K, le, ve) {
{
var Re, he = {}, de = null, Xe = null;
K !== void 0 && (Ht(K), de = "" + K), kt(D) && (Ht(D.key), de = "" + D.key), Ke(D) && (Xe = D.ref, Tt(D, ve));
for (Re in D)
Fe.call(D, Re) && !Wt.hasOwnProperty(Re) && (he[Re] = D[Re]);
if (b && b.defaultProps) {
var We = b.defaultProps;
for (Re in We)
he[Re] === void 0 && (he[Re] = We[Re]);
}
if (de || Xe) {
var Ue = typeof b == "function" ? b.displayName || b.name || "Unknown" : b;
de && At(he, Ue), Xe && er(he, Ue);
}
return ur(b, de, Xe, ve, le, Ct.current, he);
}
}
var Ot = T.ReactCurrentOwner, qt = T.ReactDebugCurrentFrame;
function jt(b) {
if (b) {
var D = b._owner, K = Me(b.type, b._source, D ? D.type : null);
qt.setExtraStackFrame(K);
} else
qt.setExtraStackFrame(null);
}
var dr;
dr = !1;
function Ut(b) {
return typeof b == "object" && b !== null && b.$$typeof === t;
}
function Pr() {
{
if (Ot.current) {
var b = j(Ot.current.type);
if (b)
return `
Check the render method of \`` + b + "`.";
}
return "";
}
}
function on(b) {
return "";
}
var _r = {};
function an(b) {
{
var D = Pr();
if (!D) {
var K = typeof b == "string" ? b : b.displayName || b.name;
K && (D = `
Check the top-level render call using <` + K + ">.");
}
return D;
}
}
function se(b, D) {
{
if (!b._store || b._store.validated || b.key != null)
return;
b._store.validated = !0;
var K = an(D);
if (_r[K])
return;
_r[K] = !0;
var le = "";
b && b._owner && b._owner !== Ot.current && (le = " It was passed a child from " + j(b._owner.type) + "."), jt(b), E('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', K, le), jt(null);
}
}
function it(b, D) {
{
if (typeof b != "object")
return;
if (ae(b))
for (var K = 0; K < b.length; K++) {
var le = b[K];
Ut(le) && se(le, D);
}
else if (Ut(b))
b._store && (b._store.validated = !0);
else if (b) {
var ve = S(b);
if (typeof ve == "function" && ve !== b.entries)
for (var Re = ve.call(b), he; !(he = Re.next()).done; )
Ut(he.value) && se(he.value, D);
}
}
}
function X(b) {
{
var D = b.type;
if (D == null || typeof D == "string")
return;
var K;
if (typeof D == "function")
K = D.propTypes;
else if (typeof D == "object" && (D.$$typeof === l || // Note: Memo only checks outer props here.
// Inner props are checked in the reconciler.
D.$$typeof === h))
K = D.propTypes;
else
return;
if (K) {
var le = j(D);
He(K, b.props, "prop", le, b);
} else if (D.PropTypes !== void 0 && !dr) {
dr = !0;
var ve = j(D);
E("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", ve || "Unknown");
}
typeof D.getDefaultProps == "function" && !D.getDefaultProps.isReactClassApproved && E("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
}
}
function ie(b) {
{
for (var D = Object.keys(b.props), K = 0; K < D.length; K++) {
var le = D[K];
if (le !== "children" && le !== "key") {
jt(b), E("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", le), jt(null);
break;
}
}
b.ref !== null && (jt(b), E("Invalid attribute `ref` supplied to `React.Fragment`."), jt(null));
}
}
var fe = {};
function pe(b, D, K, le, ve, Re) {
{
var he = p(b);
if (!he) {
var de = "";
(b === void 0 || typeof b == "object" && b !== null && Object.keys(b).length === 0) && (de += " 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 Xe = on();
Xe ? de += Xe : de += Pr();
var We;
b === null ? We = "null" : ae(b) ? We = "array" : b !== void 0 && b.$$typeof === t ? (We = "<" + (j(b.type) || "Unknown") + " />", de = " Did you accidentally export a JSX literal instead of a component?") : We = typeof b, E("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", We, de);
}
var Ue = nn(b, D, K, ve, Re);
if (Ue == null)
return Ue;
if (he) {
var ft = D.children;
if (ft !== void 0)
if (le)
if (ae(ft)) {
for (var $r = 0; $r < ft.length; $r++)
it(ft[$r], b);
Object.freeze && Object.freeze(ft);
} else
E("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
it(ft, b);
}
if (Fe.call(D, "key")) {
var pr = j(b), Je = Object.keys(D).filter(function(Jd) {
return Jd !== "key";
}), si = Je.length > 0 ? "{key: someKey, " + Je.join(": ..., ") + ": ...}" : "{key: someKey}";
if (!fe[pr + si]) {
var Xd = Je.length > 0 ? "{" + Je.join(": ..., ") + ": ...}" : "{}";
E(`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} />`, si, pr, Xd, pr), fe[pr + si] = !0;
}
}
return b === n ? ie(Ue) : X(Ue), Ue;
}
}
function Ie(b, D, K) {
return pe(b, D, K, !0);
}
function dt(b, D, K) {
return pe(b, D, K, !1);
}
var Gt = dt, fr = Ie;
cn.Fragment = n, cn.jsx = Gt, cn.jsxs = fr;
}()), cn;
}
var Pc;
function Jf() {
return Pc || (Pc = 1, process.env.NODE_ENV === "production" ? Hn.exports = Zf() : Hn.exports = Xf()), Hn.exports;
}
var O = Jf(), et = function() {
return et = Object.assign || function(t) {
for (var r, n = 1, o = arguments.length; n < o; n++) {
r = arguments[n];
for (var i in r) Object.prototype.hasOwnProperty.call(r, i) && (t[i] = r[i]);
}
return t;
}, et.apply(this, arguments);
};
function Tr(e, t, r) {
if (r || arguments.length === 2) for (var n = 0, o = t.length, i; n < o; n++)
(i || !(n in t)) && (i || (i = Array.prototype.slice.call(t, 0, n)), i[n] = t[n]);
return e.concat(i || Array.prototype.slice.call(t));
}
function Qf(e) {
var t = /* @__PURE__ */ Object.create(null);
return function(r) {
return t[r] === void 0 && (t[r] = e(r)), t[r];
};
}
var ep = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/, tp = /* @__PURE__ */ Qf(
function(e) {
return ep.test(e) || e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && e.charCodeAt(2) < 91;
}
/* Z+1 */
), Ae = "-ms-", yn = "-moz-", xe = "-webkit-", yu = "comm", Bo = "rule", Qa = "decl", rp = "@import", bu = "@keyframes", np = "@layer", xu = Math.abs, es = String.fromCharCode, Ea = Object.assign;
function op(e, t) {
return Ye(e, 0) ^ 45 ? (((t << 2 ^ Ye(e, 0)) << 2 ^ Ye(e, 1)) << 2 ^ Ye(e, 2)) << 2 ^ Ye(e, 3) : 0;
}
function wu(e) {
return e.trim();
}
function Zt(e, t) {
return (e = t.exec(e)) ? e[0] : e;
}
function ue(e, t, r) {
return e.replace(t, r);
}
function so(e, t, r) {
return e.indexOf(t, r);
}
function Ye(e, t) {
return e.charCodeAt(t) | 0;
}
function Fr(e, t, r) {
return e.slice(t, r);
}
function It(e) {
return e.length;
}
function Su(e) {
return e.length;
}
function pn(e, t) {
return t.push(e), e;
}
function ip(e, t) {
return e.map(t).join("");
}
function _c(e, t) {
return e.filter(function(r) {
return !Zt(r, t);
});
}
var zo = 1, Hr = 1, Eu = 0, gt = 0, Ge = 0, Qr = "";
function Vo(e, t, r, n, o, i, a, c) {
return { value: e, root: t, parent: r, type: n, props: o, children: i, line: zo, column: Hr, length: a, return: "", siblings: c };
}
function tr(e, t) {
return Ea(Vo("", null, null, "", null, null, 0, e.siblings), e, { length: -e.length }, t);
}
function Mr(e) {
for (; e.root; )
e = tr(e.root, { children: [e] });
pn(e, e.siblings);
}
function ap() {
return Ge;
}
function sp() {
return Ge = gt > 0 ? Ye(Qr, --gt) : 0, Hr--, Ge === 10 && (Hr = 1, zo--), Ge;
}
function Rt() {
return Ge = gt < Eu ? Ye(Qr, gt++) : 0, Hr++, Ge === 10 && (Hr = 1, zo++), Ge;
}
function wr() {
return Ye(Qr, gt);
}
function co() {
return gt;
}
function Fo(e, t) {
return Fr(Qr, e, t);
}
function Ca(e) {
switch (e) {
// \0 \t \n \r \s whitespace token
case 0:
case 9:
case 10:
case 13:
case 32:
return 5;
// ! + , / > @ ~ isolate token
case 33:
case 43:
case 44:
case 47:
case 62:
case 64:
case 126:
// ; { } breakpoint token
case 59:
case 123:
case 125:
return 4;
// : accompanied token
case 58:
return 3;
// " ' ( [ opening delimit token
case 34:
case 39:
case 40:
case 91:
return 2;
// ) ] closing delimit token
case 41:
case 93:
return 1;
}
return 0;
}
function cp(e) {
return zo = Hr = 1, Eu = It(Qr = e), gt = 0, [];
}
function lp(e) {
return Qr = "", e;
}
function aa(e) {
return wu(Fo(gt - 1, Ta(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
}
function up(e) {
for (; (Ge = wr()) && Ge < 33; )
Rt();
return Ca(e) > 2 || Ca(Ge) > 3 ? "" : " ";
}
function dp(e, t) {
for (; --t && Rt() && !(Ge < 48 || Ge > 102 || Ge > 57 && Ge < 65 || Ge > 70 && Ge < 97); )
;
return Fo(e, co() + (t < 6 && wr() == 32 && Rt() == 32));
}
function Ta(e) {
for (; Rt(); )
switch (Ge) {
// ] ) " '
case e:
return gt;
// " '
case 34:
case 39:
e !== 34 && e !== 39 && Ta(Ge);
break;
// (
case 40:
e === 41 && Ta(e);
break;
// \
case 92:
Rt();
break;
}
return gt;
}
function fp(e, t) {
for (; Rt() && e + Ge !== 57; )
if (e + Ge === 84 && wr() === 47)
break;
return "/*" + Fo(t, gt - 1) + "*" + es(e === 47 ? e : Rt());
}
function pp(e) {
for (; !Ca(wr()); )
Rt();
return Fo(e, gt);
}
function hp(e) {
return lp(lo("", null, null, null, [""], e = cp(e), 0, [0], e));
}
function lo(e, t, r, n, o, i, a, c, l) {
for (var u = 0, d = 0, h = a, m = 0, g = 0, v = 0, f = 1, S = 1, T = 1, E = 0, x = "", y = o, w = i, R = n, P = x; S; )
switch (v = E, E = Rt()) {
// (
case 40:
if (v != 108 && Ye(P, h - 1) == 58) {
so(P += ue(aa(E), "&", "&\f"), "&\f", xu(u ? c[u - 1] : 0)) != -1 && (T = -1);
break;
}
// " ' [
case 34:
case 39:
case 91:
P += aa(E);
break;
// \t \n \r \s
case 9:
case 10:
case 13:
case 32:
P += up(v);
break;
// \
case 92:
P += dp(co() - 1, 7);
continue;
// /
case 47:
switch (wr()) {
case 42:
case 47:
pn(mp(fp(Rt(), co()), t, r, l), l);
break;
default:
P += "/";
}
break;
// {
case 123 * f:
c[u++] = It(P) * T;
// } ; \0
case 125 * f:
case 59:
case 0:
switch (E) {
// \0 }
case 0:
case 125:
S = 0;
// ;
case 59 + d:
T == -1 && (P = ue(P, /\f/g, "")), g > 0 && It(P) - h && pn(g > 32 ? Mc(P + ";", n, r, h - 1, l) : Mc(ue(P, " ", "") + ";", n, r, h - 2, l), l);
break;
// @ ;
case 59:
P += ";";
// { rule/at-rule
default:
if (pn(R = $c(P, t, r, u, d, o, c, x, y = [], w = [], h, i), i), E === 123)
if (d === 0)
lo(P, t, R, R, y, i, h, c, w);
else
switch (m === 99 && Ye(P, 3) === 110 ? 100 : m) {
// d l m s
case 100:
case 108:
case 109:
case 115:
lo(e, R, R, n && pn($c(e, R, R, 0, 0, o, c, x, o, y = [], h, w), w), o, w, h, c, n ? y : w);
break;
default:
lo(P, R, R, R, [""], w, 0, c, w);
}
}
u = d = g = 0, f = T = 1, x = P = "", h = a;
break;
// :
case 58:
h = 1 + It(P), g = v;
default:
if (f < 1) {
if (E == 123)
--f;
else if (E == 125 && f++ == 0 && sp() == 125)
continue;
}
switch (P += es(E), E * f) {
// &
case 38:
T = d > 0 ? 1 : (P += "\f", -1);
break;
// ,
case 44:
c[u++] = (It(P) - 1) * T, T = 1;
break;
// @
case 64:
wr() === 45 && (P += aa(Rt())), m = wr(), d = h = It(x = P += pp(co())), E++;
break;
// -
case 45:
v === 45 && It(P) == 2 && (f = 0);
}
}
return i;
}
function $c(e, t, r, n, o, i, a, c, l, u, d, h) {
for (var m = o - 1, g = o === 0 ? i : [""], v = Su(g), f = 0, S = 0, T = 0; f < n; ++f)
for (var E = 0, x = Fr(e, m + 1, m = xu(S = a[f])), y = e; E < v; ++E)
(y = wu(S > 0 ? g[E] + " " + x : ue(x, /&\f/g, g[E]))) && (l[T++] = y);
return Vo(e, t, r, o === 0 ? Bo : c, l, u, d, h);
}
function mp(e, t, r, n) {
return Vo(e, t, r, yu, es(ap()), Fr(e, 2, -2), 0, n);
}
function Mc(e, t, r, n, o) {
return Vo(e, t, r, Qa, Fr(e, 0, n), Fr(e, n + 1, -1), n, o);
}
function Cu(e, t, r) {
switch (op(e, t)) {
// color-adjust
case 5103:
return xe + "print-" + e + e;
// animation, animation-(delay|direction|duration|fill-mode|iteration-count|name|play-state|timing-function)
case 5737:
case 4201:
case 3177:
case 3433:
case 1641:
case 4457:
case 2921:
// text-decoration, filter, clip-path, backface-visibility, column, box-decoration-break
case 5572:
case 6356:
case 5844:
case 3191:
case 6645:
case 3005:
// mask, mask-image, mask-(mode|clip|size), mask-(repeat|origin), mask-position, mask-composite,
case 6391:
case 5879:
case 5623:
case 6135:
case 4599:
case 4855:
// background-clip, columns, column-(count|fill|gap|rule|rule-color|rule-style|rule-width|span|width)
case 4215:
case 6389:
case 5109:
case 5365:
case 5621:
case 3829:
return xe + e + e;
// tab-size
case 4789:
return yn + e + e;
// appearance, user-select, transform, hyphens, text-size-adjust
case 5349:
case 4246:
case 4810:
case 6968:
case 2756:
return xe + e + yn + e + Ae + e + e;
// writing-mode
case 5936:
switch (Ye(e, t + 11)) {
// vertical-l(r)
case 114:
return xe + e + Ae + ue(e, /[svh]\w+-[tblr]{2}/, "tb") + e;
// vertical-r(l)
case 108:
return xe + e + Ae + ue(e, /[svh]\w+-[tblr]{2}/, "tb-rl") + e;
// horizontal(-)tb
case 45:
return xe + e + Ae + ue(e, /[svh]\w+-[tblr]{2}/, "lr") + e;
}
// flex, flex-direction, scroll-snap-type, writing-mode
case 6828:
case 4268:
case 2903:
return xe + e + Ae + e + e;
// order
c