kylin-ui-component
Version:
A React UI library for some developers to develop quickly
1,370 lines (1,350 loc) • 71.3 kB
JavaScript
import oe, { useRef as Qr, useDebugValue as Yt, createElement as en, useContext as tn } from "react";
var gt = { exports: {} }, De = {};
/**
* @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 Bt;
function rn() {
if (Bt)
return De;
Bt = 1;
var e = oe, t = Symbol.for("react.element"), r = Symbol.for("react.fragment"), o = 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 c(f, l, g) {
var h, m = {}, v = null, S = null;
g !== void 0 && (v = "" + g), l.key !== void 0 && (v = "" + l.key), l.ref !== void 0 && (S = l.ref);
for (h in l)
o.call(l, h) && !i.hasOwnProperty(h) && (m[h] = l[h]);
if (f && f.defaultProps)
for (h in l = f.defaultProps, l)
m[h] === void 0 && (m[h] = l[h]);
return { $$typeof: t, type: f, key: v, ref: S, props: m, _owner: a.current };
}
return De.Fragment = r, De.jsx = c, De.jsxs = c, De;
}
var je = {};
/**
* @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 Ut;
function nn() {
return Ut || (Ut = 1, process.env.NODE_ENV !== "production" && function() {
var e = oe, t = Symbol.for("react.element"), r = Symbol.for("react.portal"), o = Symbol.for("react.fragment"), a = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), c = Symbol.for("react.provider"), f = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), g = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), m = Symbol.for("react.memo"), v = Symbol.for("react.lazy"), S = Symbol.for("react.offscreen"), C = Symbol.iterator, I = "@@iterator";
function F(n) {
if (n === null || typeof n != "object")
return null;
var s = C && n[C] || n[I];
return typeof s == "function" ? s : null;
}
var k = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
function b(n) {
{
for (var s = arguments.length, u = new Array(s > 1 ? s - 1 : 0), p = 1; p < s; p++)
u[p - 1] = arguments[p];
M("error", n, u);
}
}
function M(n, s, u) {
{
var p = k.ReactDebugCurrentFrame, R = p.getStackAddendum();
R !== "" && (s += "%s", u = u.concat([R]));
var P = u.map(function(E) {
return String(E);
});
P.unshift("Warning: " + s), Function.prototype.apply.call(console[n], console, P);
}
}
var A = !1, x = !1, T = !1, d = !1, L = !1, X;
X = Symbol.for("react.module.reference");
function ae(n) {
return !!(typeof n == "string" || typeof n == "function" || n === o || n === i || L || n === a || n === g || n === h || d || n === S || A || x || T || typeof n == "object" && n !== null && (n.$$typeof === v || n.$$typeof === m || n.$$typeof === c || n.$$typeof === f || n.$$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.
n.$$typeof === X || n.getModuleId !== void 0));
}
function ot(n, s, u) {
var p = n.displayName;
if (p)
return p;
var R = s.displayName || s.name || "";
return R !== "" ? u + "(" + R + ")" : u;
}
function Me(n) {
return n.displayName || "Context";
}
function G(n) {
if (n == null)
return null;
if (typeof n.tag == "number" && b("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 o:
return "Fragment";
case r:
return "Portal";
case i:
return "Profiler";
case a:
return "StrictMode";
case g:
return "Suspense";
case h:
return "SuspenseList";
}
if (typeof n == "object")
switch (n.$$typeof) {
case f:
var s = n;
return Me(s) + ".Consumer";
case c:
var u = n;
return Me(u._context) + ".Provider";
case l:
return ot(n, n.render, "ForwardRef");
case m:
var p = n.displayName || null;
return p !== null ? p : G(n.type) || "Memo";
case v: {
var R = n, P = R._payload, E = R._init;
try {
return G(E(P));
} catch {
return null;
}
}
}
return null;
}
var Q = Object.assign, ie = 0, Le, ze, Ve, ye, q, le, se;
function z() {
}
z.__reactDisabledLog = !0;
function Oe() {
{
if (ie === 0) {
Le = console.log, ze = console.info, Ve = console.warn, ye = console.error, q = console.group, le = console.groupCollapsed, se = console.groupEnd;
var n = {
configurable: !0,
enumerable: !0,
value: z,
writable: !0
};
Object.defineProperties(console, {
info: n,
log: n,
warn: n,
error: n,
group: n,
groupCollapsed: n,
groupEnd: n
});
}
ie++;
}
}
function Ae() {
{
if (ie--, ie === 0) {
var n = {
configurable: !0,
enumerable: !0,
writable: !0
};
Object.defineProperties(console, {
log: Q({}, n, {
value: Le
}),
info: Q({}, n, {
value: ze
}),
warn: Q({}, n, {
value: Ve
}),
error: Q({}, n, {
value: ye
}),
group: Q({}, n, {
value: q
}),
groupCollapsed: Q({}, n, {
value: le
}),
groupEnd: Q({}, n, {
value: se
})
});
}
ie < 0 && b("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
}
}
var ce = k.ReactCurrentDispatcher, ee;
function te(n, s, u) {
{
if (ee === void 0)
try {
throw Error();
} catch (R) {
var p = R.stack.trim().match(/\n( *(at )?)/);
ee = p && p[1] || "";
}
return `
` + ee + n;
}
}
var K = !1, Y;
{
var Ie = typeof WeakMap == "function" ? WeakMap : Map;
Y = new Ie();
}
function fe(n, s) {
if (!n || K)
return "";
{
var u = Y.get(n);
if (u !== void 0)
return u;
}
var p;
K = !0;
var R = Error.prepareStackTrace;
Error.prepareStackTrace = void 0;
var P;
P = ce.current, ce.current = null, Oe();
try {
if (s) {
var E = function() {
throw Error();
};
if (Object.defineProperty(E.prototype, "props", {
set: function() {
throw Error();
}
}), typeof Reflect == "object" && Reflect.construct) {
try {
Reflect.construct(E, []);
} catch (re) {
p = re;
}
Reflect.construct(n, [], E);
} else {
try {
E.call();
} catch (re) {
p = re;
}
n.call(E.prototype);
}
} else {
try {
throw Error();
} catch (re) {
p = re;
}
n();
}
} catch (re) {
if (re && p && typeof re.stack == "string") {
for (var w = re.stack.split(`
`), V = p.stack.split(`
`), N = w.length - 1, D = V.length - 1; N >= 1 && D >= 0 && w[N] !== V[D]; )
D--;
for (; N >= 1 && D >= 0; N--, D--)
if (w[N] !== V[D]) {
if (N !== 1 || D !== 1)
do
if (N--, D--, D < 0 || w[N] !== V[D]) {
var B = `
` + w[N].replace(" at new ", " at ");
return n.displayName && B.includes("<anonymous>") && (B = B.replace("<anonymous>", n.displayName)), typeof n == "function" && Y.set(n, B), B;
}
while (N >= 1 && D >= 0);
break;
}
}
} finally {
K = !1, ce.current = P, Ae(), Error.prepareStackTrace = R;
}
var be = n ? n.displayName || n.name : "", Wt = be ? te(be) : "";
return typeof n == "function" && Y.set(n, Wt), Wt;
}
function J(n, s, u) {
return fe(n, !1);
}
function Ir(n) {
var s = n.prototype;
return !!(s && s.isReactComponent);
}
function We(n, s, u) {
if (n == null)
return "";
if (typeof n == "function")
return fe(n, Ir(n));
if (typeof n == "string")
return te(n);
switch (n) {
case g:
return te("Suspense");
case h:
return te("SuspenseList");
}
if (typeof n == "object")
switch (n.$$typeof) {
case l:
return J(n.render);
case m:
return We(n.type, s, u);
case v: {
var p = n, R = p._payload, P = p._init;
try {
return We(P(R), s, u);
} catch {
}
}
}
return "";
}
var Ye = Object.prototype.hasOwnProperty, Ot = {}, At = k.ReactDebugCurrentFrame;
function Be(n) {
if (n) {
var s = n._owner, u = We(n.type, n._source, s ? s.type : null);
At.setExtraStackFrame(u);
} else
At.setExtraStackFrame(null);
}
function Nr(n, s, u, p, R) {
{
var P = Function.call.bind(Ye);
for (var E in n)
if (P(n, E)) {
var w = void 0;
try {
if (typeof n[E] != "function") {
var V = Error((p || "React class") + ": " + u + " type `" + E + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof n[E] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
throw V.name = "Invariant Violation", V;
}
w = n[E](s, E, p, u, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
} catch (N) {
w = N;
}
w && !(w instanceof Error) && (Be(R), b("%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).", p || "React class", u, E, typeof w), Be(null)), w instanceof Error && !(w.message in Ot) && (Ot[w.message] = !0, Be(R), b("Failed %s type: %s", u, w.message), Be(null));
}
}
}
var Dr = Array.isArray;
function at(n) {
return Dr(n);
}
function jr(n) {
{
var s = typeof Symbol == "function" && Symbol.toStringTag, u = s && n[Symbol.toStringTag] || n.constructor.name || "Object";
return u;
}
}
function $r(n) {
try {
return It(n), !1;
} catch {
return !0;
}
}
function It(n) {
return "" + n;
}
function Nt(n) {
if ($r(n))
return b("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", jr(n)), It(n);
}
var Ne = k.ReactCurrentOwner, Fr = {
key: !0,
ref: !0,
__self: !0,
__source: !0
}, Dt, jt, it;
it = {};
function Mr(n) {
if (Ye.call(n, "ref")) {
var s = Object.getOwnPropertyDescriptor(n, "ref").get;
if (s && s.isReactWarning)
return !1;
}
return n.ref !== void 0;
}
function Lr(n) {
if (Ye.call(n, "key")) {
var s = Object.getOwnPropertyDescriptor(n, "key").get;
if (s && s.isReactWarning)
return !1;
}
return n.key !== void 0;
}
function zr(n, s) {
if (typeof n.ref == "string" && Ne.current && s && Ne.current.stateNode !== s) {
var u = G(Ne.current.type);
it[u] || (b('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', G(Ne.current.type), n.ref), it[u] = !0);
}
}
function Vr(n, s) {
{
var u = function() {
Dt || (Dt = !0, b("%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)", s));
};
u.isReactWarning = !0, Object.defineProperty(n, "key", {
get: u,
configurable: !0
});
}
}
function Wr(n, s) {
{
var u = function() {
jt || (jt = !0, b("%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)", s));
};
u.isReactWarning = !0, Object.defineProperty(n, "ref", {
get: u,
configurable: !0
});
}
}
var Yr = function(n, s, u, p, R, P, E) {
var w = {
// This tag allows us to uniquely identify this as a React Element
$$typeof: t,
// Built-in properties that belong on the element
type: n,
key: s,
ref: u,
props: E,
// Record the component responsible for creating this element.
_owner: P
};
return w._store = {}, Object.defineProperty(w._store, "validated", {
configurable: !1,
enumerable: !1,
writable: !0,
value: !1
}), Object.defineProperty(w, "_self", {
configurable: !1,
enumerable: !1,
writable: !1,
value: p
}), Object.defineProperty(w, "_source", {
configurable: !1,
enumerable: !1,
writable: !1,
value: R
}), Object.freeze && (Object.freeze(w.props), Object.freeze(w)), w;
};
function Br(n, s, u, p, R) {
{
var P, E = {}, w = null, V = null;
u !== void 0 && (Nt(u), w = "" + u), Lr(s) && (Nt(s.key), w = "" + s.key), Mr(s) && (V = s.ref, zr(s, R));
for (P in s)
Ye.call(s, P) && !Fr.hasOwnProperty(P) && (E[P] = s[P]);
if (n && n.defaultProps) {
var N = n.defaultProps;
for (P in N)
E[P] === void 0 && (E[P] = N[P]);
}
if (w || V) {
var D = typeof n == "function" ? n.displayName || n.name || "Unknown" : n;
w && Vr(E, D), V && Wr(E, D);
}
return Yr(n, w, V, R, p, Ne.current, E);
}
}
var st = k.ReactCurrentOwner, $t = k.ReactDebugCurrentFrame;
function ve(n) {
if (n) {
var s = n._owner, u = We(n.type, n._source, s ? s.type : null);
$t.setExtraStackFrame(u);
} else
$t.setExtraStackFrame(null);
}
var ct;
ct = !1;
function ut(n) {
return typeof n == "object" && n !== null && n.$$typeof === t;
}
function Ft() {
{
if (st.current) {
var n = G(st.current.type);
if (n)
return `
Check the render method of \`` + n + "`.";
}
return "";
}
}
function Ur(n) {
{
if (n !== void 0) {
var s = n.fileName.replace(/^.*[\\\/]/, ""), u = n.lineNumber;
return `
Check your code at ` + s + ":" + u + ".";
}
return "";
}
}
var Mt = {};
function Gr(n) {
{
var s = Ft();
if (!s) {
var u = typeof n == "string" ? n : n.displayName || n.name;
u && (s = `
Check the top-level render call using <` + u + ">.");
}
return s;
}
}
function Lt(n, s) {
{
if (!n._store || n._store.validated || n.key != null)
return;
n._store.validated = !0;
var u = Gr(s);
if (Mt[u])
return;
Mt[u] = !0;
var p = "";
n && n._owner && n._owner !== st.current && (p = " It was passed a child from " + G(n._owner.type) + "."), ve(n), b('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', u, p), ve(null);
}
}
function zt(n, s) {
{
if (typeof n != "object")
return;
if (at(n))
for (var u = 0; u < n.length; u++) {
var p = n[u];
ut(p) && Lt(p, s);
}
else if (ut(n))
n._store && (n._store.validated = !0);
else if (n) {
var R = F(n);
if (typeof R == "function" && R !== n.entries)
for (var P = R.call(n), E; !(E = P.next()).done; )
ut(E.value) && Lt(E.value, s);
}
}
}
function qr(n) {
{
var s = n.type;
if (s == null || typeof s == "string")
return;
var u;
if (typeof s == "function")
u = s.propTypes;
else if (typeof s == "object" && (s.$$typeof === l || // Note: Memo only checks outer props here.
// Inner props are checked in the reconciler.
s.$$typeof === m))
u = s.propTypes;
else
return;
if (u) {
var p = G(s);
Nr(u, n.props, "prop", p, n);
} else if (s.PropTypes !== void 0 && !ct) {
ct = !0;
var R = G(s);
b("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", R || "Unknown");
}
typeof s.getDefaultProps == "function" && !s.getDefaultProps.isReactClassApproved && b("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
}
}
function Hr(n) {
{
for (var s = Object.keys(n.props), u = 0; u < s.length; u++) {
var p = s[u];
if (p !== "children" && p !== "key") {
ve(n), b("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", p), ve(null);
break;
}
}
n.ref !== null && (ve(n), b("Invalid attribute `ref` supplied to `React.Fragment`."), ve(null));
}
}
function Vt(n, s, u, p, R, P) {
{
var E = ae(n);
if (!E) {
var w = "";
(n === void 0 || typeof n == "object" && n !== null && Object.keys(n).length === 0) && (w += " 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 V = Ur(R);
V ? w += V : w += Ft();
var N;
n === null ? N = "null" : at(n) ? N = "array" : n !== void 0 && n.$$typeof === t ? (N = "<" + (G(n.type) || "Unknown") + " />", w = " Did you accidentally export a JSX literal instead of a component?") : N = typeof n, b("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", N, w);
}
var D = Br(n, s, u, R, P);
if (D == null)
return D;
if (E) {
var B = s.children;
if (B !== void 0)
if (p)
if (at(B)) {
for (var be = 0; be < B.length; be++)
zt(B[be], n);
Object.freeze && Object.freeze(B);
} else
b("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
zt(B, n);
}
return n === o ? Hr(D) : qr(D), D;
}
}
function Xr(n, s, u) {
return Vt(n, s, u, !0);
}
function Kr(n, s, u) {
return Vt(n, s, u, !1);
}
var Jr = Kr, Zr = Xr;
je.Fragment = o, je.jsx = Jr, je.jsxs = Zr;
}()), je;
}
process.env.NODE_ENV === "production" ? gt.exports = rn() : gt.exports = nn();
var on = gt.exports;
const Gt = on.jsx, Se = {
type: {
default: "#951bcd",
primary: "#1677ff",
secondary: "#006597",
success: "#36d399",
info: "#3abff8",
disabled: "#bdc3c7",
warning: "#e67e22",
danger: "#e74c3c",
error: "#e74c3c",
description: "#00000073"
},
color: {
default: "#fff",
primary: "#fff",
secondary: "#fff",
success: "#000000",
info: "#000000",
disabled: "#00000040",
warning: "#fff",
danger: "#fff",
error: "#fff"
},
gradient: {
aquamarine: "linear-gradient(45deg, #00d2ff 0%, #3a7bd5 100%)",
blue: "linear-gradient(45deg, #00d2ff 0%, #3a7bd5 100%)",
orange: "linear-gradient(45deg, #f2994a 0%, #f2c94c 100%)",
red: "linear-gradient(45deg, #2193b0 0%, #6dd5ed 100%)"
},
fontSize: {
small: "1rem",
middle: "1.2rem",
large: "1.4rem"
},
padding: {
small: "0.2rem 0.4rem",
middle: "0.6rem 0.8rem",
large: "0.8rem 1.2rem"
},
width: {
small: "2.4rem",
middle: "3.2rem",
large: "4rem"
},
shape: {
square: 0,
rounded: "0.25rem",
circle: "50%"
}
};
var W = function() {
return W = Object.assign || function(t) {
for (var r, o = 1, a = arguments.length; o < a; o++) {
r = arguments[o];
for (var i in r)
Object.prototype.hasOwnProperty.call(r, i) && (t[i] = r[i]);
}
return t;
}, W.apply(this, arguments);
};
function Ee(e, t, r) {
if (r || arguments.length === 2)
for (var o = 0, a = t.length, i; o < a; o++)
(i || !(o in t)) && (i || (i = Array.prototype.slice.call(t, 0, o)), i[o] = t[o]);
return e.concat(i || Array.prototype.slice.call(t));
}
function an(e) {
var t = /* @__PURE__ */ Object.create(null);
return function(r) {
return t[r] === void 0 && (t[r] = e(r)), t[r];
};
}
var sn = /^((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|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)-.*))$/, cn = /* @__PURE__ */ an(
function(e) {
return sn.test(e) || e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && e.charCodeAt(2) < 91;
}
/* Z+1 */
), O = "-ms-", Fe = "-moz-", _ = "-webkit-", lr = "comm", et = "rule", _t = "decl", un = "@import", fr = "@keyframes", ln = "@layer", fn = Math.abs, kt = String.fromCharCode, yt = Object.assign;
function dn(e, t) {
return $(e, 0) ^ 45 ? (((t << 2 ^ $(e, 0)) << 2 ^ $(e, 1)) << 2 ^ $(e, 2)) << 2 ^ $(e, 3) : 0;
}
function dr(e) {
return e.trim();
}
function ne(e, t) {
return (e = t.exec(e)) ? e[0] : e;
}
function y(e, t, r) {
return e.replace(t, r);
}
function He(e, t) {
return e.indexOf(t);
}
function $(e, t) {
return e.charCodeAt(t) | 0;
}
function Re(e, t, r) {
return e.slice(t, r);
}
function Z(e) {
return e.length;
}
function pr(e) {
return e.length;
}
function $e(e, t) {
return t.push(e), e;
}
function pn(e, t) {
return e.map(t).join("");
}
function qt(e, t) {
return e.filter(function(r) {
return !ne(r, t);
});
}
var tt = 1, _e = 1, hr = 0, U = 0, j = 0, Pe = "";
function rt(e, t, r, o, a, i, c, f) {
return { value: e, root: t, parent: r, type: o, props: a, children: i, line: tt, column: _e, length: c, return: "", siblings: f };
}
function ue(e, t) {
return yt(rt("", null, null, "", null, null, 0, e.siblings), e, { length: -e.length }, t);
}
function we(e) {
for (; e.root; )
e = ue(e.root, { children: [e] });
$e(e, e.siblings);
}
function hn() {
return j;
}
function mn() {
return j = U > 0 ? $(Pe, --U) : 0, _e--, j === 10 && (_e = 1, tt--), j;
}
function H() {
return j = U < hr ? $(Pe, U++) : 0, _e++, j === 10 && (_e = 1, tt++), j;
}
function he() {
return $(Pe, U);
}
function Xe() {
return U;
}
function nt(e, t) {
return Re(Pe, e, t);
}
function vt(e) {
switch (e) {
case 0:
case 9:
case 10:
case 13:
case 32:
return 5;
case 33:
case 43:
case 44:
case 47:
case 62:
case 64:
case 126:
case 59:
case 123:
case 125:
return 4;
case 58:
return 3;
case 34:
case 39:
case 40:
case 91:
return 2;
case 41:
case 93:
return 1;
}
return 0;
}
function gn(e) {
return tt = _e = 1, hr = Z(Pe = e), U = 0, [];
}
function yn(e) {
return Pe = "", e;
}
function lt(e) {
return dr(nt(U - 1, bt(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
}
function vn(e) {
for (; (j = he()) && j < 33; )
H();
return vt(e) > 2 || vt(j) > 3 ? "" : " ";
}
function bn(e, t) {
for (; --t && H() && !(j < 48 || j > 102 || j > 57 && j < 65 || j > 70 && j < 97); )
;
return nt(e, Xe() + (t < 6 && he() == 32 && H() == 32));
}
function bt(e) {
for (; H(); )
switch (j) {
case e:
return U;
case 34:
case 39:
e !== 34 && e !== 39 && bt(j);
break;
case 40:
e === 41 && bt(e);
break;
case 92:
H();
break;
}
return U;
}
function wn(e, t) {
for (; H() && e + j !== 47 + 10; )
if (e + j === 42 + 42 && he() === 47)
break;
return "/*" + nt(t, U - 1) + "*" + kt(e === 47 ? e : H());
}
function Sn(e) {
for (; !vt(he()); )
H();
return nt(e, U);
}
function En(e) {
return yn(Ke("", null, null, null, [""], e = gn(e), 0, [0], e));
}
function Ke(e, t, r, o, a, i, c, f, l) {
for (var g = 0, h = 0, m = c, v = 0, S = 0, C = 0, I = 1, F = 1, k = 1, b = 0, M = "", A = a, x = i, T = o, d = M; F; )
switch (C = b, b = H()) {
case 40:
if (C != 108 && $(d, m - 1) == 58) {
He(d += y(lt(b), "&", "&\f"), "&\f") != -1 && (k = -1);
break;
}
case 34:
case 39:
case 91:
d += lt(b);
break;
case 9:
case 10:
case 13:
case 32:
d += vn(C);
break;
case 92:
d += bn(Xe() - 1, 7);
continue;
case 47:
switch (he()) {
case 42:
case 47:
$e(Rn(wn(H(), Xe()), t, r, l), l);
break;
default:
d += "/";
}
break;
case 123 * I:
f[g++] = Z(d) * k;
case 125 * I:
case 59:
case 0:
switch (b) {
case 0:
case 125:
F = 0;
case 59 + h:
k == -1 && (d = y(d, /\f/g, "")), S > 0 && Z(d) - m && $e(S > 32 ? Xt(d + ";", o, r, m - 1, l) : Xt(y(d, " ", "") + ";", o, r, m - 2, l), l);
break;
case 59:
d += ";";
default:
if ($e(T = Ht(d, t, r, g, h, a, f, M, A = [], x = [], m, i), i), b === 123)
if (h === 0)
Ke(d, t, T, T, A, i, m, f, x);
else
switch (v === 99 && $(d, 3) === 110 ? 100 : v) {
case 100:
case 108:
case 109:
case 115:
Ke(e, T, T, o && $e(Ht(e, T, T, 0, 0, a, f, M, a, A = [], m, x), x), a, x, m, f, o ? A : x);
break;
default:
Ke(d, T, T, T, [""], x, 0, f, x);
}
}
g = h = S = 0, I = k = 1, M = d = "", m = c;
break;
case 58:
m = 1 + Z(d), S = C;
default:
if (I < 1) {
if (b == 123)
--I;
else if (b == 125 && I++ == 0 && mn() == 125)
continue;
}
switch (d += kt(b), b * I) {
case 38:
k = h > 0 ? 1 : (d += "\f", -1);
break;
case 44:
f[g++] = (Z(d) - 1) * k, k = 1;
break;
case 64:
he() === 45 && (d += lt(H())), v = he(), h = m = Z(M = d += Sn(Xe())), b++;
break;
case 45:
C === 45 && Z(d) == 2 && (I = 0);
}
}
return i;
}
function Ht(e, t, r, o, a, i, c, f, l, g, h, m) {
for (var v = a - 1, S = a === 0 ? i : [""], C = pr(S), I = 0, F = 0, k = 0; I < o; ++I)
for (var b = 0, M = Re(e, v + 1, v = fn(F = c[I])), A = e; b < C; ++b)
(A = dr(F > 0 ? S[b] + " " + M : y(M, /&\f/g, S[b]))) && (l[k++] = A);
return rt(e, t, r, a === 0 ? et : f, l, g, h, m);
}
function Rn(e, t, r, o) {
return rt(e, t, r, lr, kt(hn()), Re(e, 2, -2), 0, o);
}
function Xt(e, t, r, o, a) {
return rt(e, t, r, _t, Re(e, 0, o), Re(e, o + 1, -1), o, a);
}
function mr(e, t, r) {
switch (dn(e, t)) {
case 5103:
return _ + "print-" + e + e;
case 5737:
case 4201:
case 3177:
case 3433:
case 1641:
case 4457:
case 2921:
case 5572:
case 6356:
case 5844:
case 3191:
case 6645:
case 3005:
case 6391:
case 5879:
case 5623:
case 6135:
case 4599:
case 4855:
case 4215:
case 6389:
case 5109:
case 5365:
case 5621:
case 3829:
return _ + e + e;
case 4789:
return Fe + e + e;
case 5349:
case 4246:
case 4810:
case 6968:
case 2756:
return _ + e + Fe + e + O + e + e;
case 5936:
switch ($(e, t + 11)) {
case 114:
return _ + e + O + y(e, /[svh]\w+-[tblr]{2}/, "tb") + e;
case 108:
return _ + e + O + y(e, /[svh]\w+-[tblr]{2}/, "tb-rl") + e;
case 45:
return _ + e + O + y(e, /[svh]\w+-[tblr]{2}/, "lr") + e;
}
case 6828:
case 4268:
case 2903:
return _ + e + O + e + e;
case 6165:
return _ + e + O + "flex-" + e + e;
case 5187:
return _ + e + y(e, /(\w+).+(:[^]+)/, _ + "box-$1$2" + O + "flex-$1$2") + e;
case 5443:
return _ + e + O + "flex-item-" + y(e, /flex-|-self/g, "") + (ne(e, /flex-|baseline/) ? "" : O + "grid-row-" + y(e, /flex-|-self/g, "")) + e;
case 4675:
return _ + e + O + "flex-line-pack" + y(e, /align-content|flex-|-self/g, "") + e;
case 5548:
return _ + e + O + y(e, "shrink", "negative") + e;
case 5292:
return _ + e + O + y(e, "basis", "preferred-size") + e;
case 6060:
return _ + "box-" + y(e, "-grow", "") + _ + e + O + y(e, "grow", "positive") + e;
case 4554:
return _ + y(e, /([^-])(transform)/g, "$1" + _ + "$2") + e;
case 6187:
return y(y(y(e, /(zoom-|grab)/, _ + "$1"), /(image-set)/, _ + "$1"), e, "") + e;
case 5495:
case 3959:
return y(e, /(image-set\([^]*)/, _ + "$1$`$1");
case 4968:
return y(y(e, /(.+:)(flex-)?(.*)/, _ + "box-pack:$3" + O + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + _ + e + e;
case 4200:
if (!ne(e, /flex-|baseline/))
return O + "grid-column-align" + Re(e, t) + e;
break;
case 2592:
case 3360:
return O + y(e, "template-", "") + e;
case 4384:
case 3616:
return r && r.some(function(o, a) {
return t = a, ne(o.props, /grid-\w+-end/);
}) ? ~He(e + (r = r[t].value), "span") ? e : O + y(e, "-start", "") + e + O + "grid-row-span:" + (~He(r, "span") ? ne(r, /\d+/) : +ne(r, /\d+/) - +ne(e, /\d+/)) + ";" : O + y(e, "-start", "") + e;
case 4896:
case 4128:
return r && r.some(function(o) {
return ne(o.props, /grid-\w+-start/);
}) ? e : O + y(y(e, "-end", "-span"), "span ", "") + e;
case 4095:
case 3583:
case 4068:
case 2532:
return y(e, /(.+)-inline(.+)/, _ + "$1$2") + e;
case 8116:
case 7059:
case 5753:
case 5535:
case 5445:
case 5701:
case 4933:
case 4677:
case 5533:
case 5789:
case 5021:
case 4765:
if (Z(e) - 1 - t > 6)
switch ($(e, t + 1)) {
case 109:
if ($(e, t + 4) !== 45)
break;
case 102:
return y(e, /(.+:)(.+)-([^]+)/, "$1" + _ + "$2-$3$1" + Fe + ($(e, t + 3) == 108 ? "$3" : "$2-$3")) + e;
case 115:
return ~He(e, "stretch") ? mr(y(e, "stretch", "fill-available"), t, r) + e : e;
}
break;
case 5152:
case 5920:
return y(e, /(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/, function(o, a, i, c, f, l, g) {
return O + a + ":" + i + g + (c ? O + a + "-span:" + (f ? l : +l - +i) + g : "") + e;
});
case 4949:
if ($(e, t + 6) === 121)
return y(e, ":", ":" + _) + e;
break;
case 6444:
switch ($(e, $(e, 14) === 45 ? 18 : 11)) {
case 120:
return y(e, /(.+:)([^;\s!]+)(;|(\s+)?!.+)?/, "$1" + _ + ($(e, 14) === 45 ? "inline-" : "") + "box$3$1" + _ + "$2$3$1" + O + "$2box$3") + e;
case 100:
return y(e, ":", ":" + O) + e;
}
break;
case 5719:
case 2647:
case 2135:
case 3927:
case 2391:
return y(e, "scroll-", "scroll-snap-") + e;
}
return e;
}
function Ze(e, t) {
for (var r = "", o = 0; o < e.length; o++)
r += t(e[o], o, e, t) || "";
return r;
}
function _n(e, t, r, o) {
switch (e.type) {
case ln:
if (e.children.length)
break;
case un:
case _t:
return e.return = e.return || e.value;
case lr:
return "";
case fr:
return e.return = e.value + "{" + Ze(e.children, o) + "}";
case et:
if (!Z(e.value = e.props.join(",")))
return "";
}
return Z(r = Ze(e.children, o)) ? e.return = e.value + "{" + r + "}" : "";
}
function kn(e) {
var t = pr(e);
return function(r, o, a, i) {
for (var c = "", f = 0; f < t; f++)
c += e[f](r, o, a, i) || "";
return c;
};
}
function Cn(e) {
return function(t) {
t.root || (t = t.return) && e(t);
};
}
function xn(e, t, r, o) {
if (e.length > -1 && !e.return)
switch (e.type) {
case _t:
e.return = mr(e.value, e.length, r);
return;
case fr:
return Ze([ue(e, { value: y(e.value, "@", "@" + _) })], o);
case et:
if (e.length)
return pn(r = e.props, function(a) {
switch (ne(a, o = /(::plac\w+|:read-\w+)/)) {
case ":read-only":
case ":read-write":
we(ue(e, { props: [y(a, /:(read-\w+)/, ":" + Fe + "$1")] })), we(ue(e, { props: [a] })), yt(e, { props: qt(r, o) });
break;
case "::placeholder":
we(ue(e, { props: [y(a, /:(plac\w+)/, ":" + _ + "input-$1")] })), we(ue(e, { props: [y(a, /:(plac\w+)/, ":" + Fe + "$1")] })), we(ue(e, { props: [y(a, /:(plac\w+)/, O + "input-$1")] })), we(ue(e, { props: [a] })), yt(e, { props: qt(r, o) });
break;
}
return "";
});
}
}
var Pn = {
animationIterationCount: 1,
aspectRatio: 1,
borderImageOutset: 1,
borderImageSlice: 1,
borderImageWidth: 1,
boxFlex: 1,
boxFlexGroup: 1,
boxOrdinalGroup: 1,
columnCount: 1,
columns: 1,
flex: 1,
flexGrow: 1,
flexPositive: 1,
flexShrink: 1,
flexNegative: 1,
flexOrder: 1,
gridRow: 1,
gridRowEnd: 1,
gridRowSpan: 1,
gridRowStart: 1,
gridColumn: 1,
gridColumnEnd: 1,
gridColumnSpan: 1,
gridColumnStart: 1,
msGridRow: 1,
msGridRowSpan: 1,
msGridColumn: 1,
msGridColumnSpan: 1,
fontWeight: 1,
lineHeight: 1,
opacity: 1,
order: 1,
orphans: 1,
tabSize: 1,
widows: 1,
zIndex: 1,
zoom: 1,
WebkitLineClamp: 1,
// SVG-related properties
fillOpacity: 1,
floodOpacity: 1,
stopOpacity: 1,
strokeDasharray: 1,
strokeDashoffset: 1,
strokeMiterlimit: 1,
strokeOpacity: 1,
strokeWidth: 1
}, ge = typeof process < "u" && process.env !== void 0 && (process.env.REACT_APP_SC_ATTR || process.env.SC_ATTR) || "data-styled", Ct = typeof window < "u" && "HTMLElement" in window, Tn = !!(typeof SC_DISABLE_SPEEDY == "boolean" ? SC_DISABLE_SPEEDY : typeof process < "u" && process.env !== void 0 && process.env.REACT_APP_SC_DISABLE_SPEEDY !== void 0 && process.env.REACT_APP_SC_DISABLE_SPEEDY !== "" ? process.env.REACT_APP_SC_DISABLE_SPEEDY !== "false" && process.env.REACT_APP_SC_DISABLE_SPEEDY : typeof process < "u" && process.env !== void 0 && process.env.SC_DISABLE_SPEEDY !== void 0 && process.env.SC_DISABLE_SPEEDY !== "" ? process.env.SC_DISABLE_SPEEDY !== "false" && process.env.SC_DISABLE_SPEEDY : process.env.NODE_ENV !== "production"), Kt = /invalid hook call/i, Ue = /* @__PURE__ */ new Set(), On = function(e, t) {
if (process.env.NODE_ENV !== "production") {
var r = t ? ' with the id of "'.concat(t, '"') : "", o = "The component ".concat(e).concat(r, ` has been created dynamically.
`) + `You may see this warning because you've called styled inside another component.
To resolve this only create new StyledComponents outside of any render method and function component.`, a = console.error;
try {
var i = !0;
console.error = function(c) {
for (var f = [], l = 1; l < arguments.length; l++)
f[l - 1] = arguments[l];
Kt.test(c) ? (i = !1, Ue.delete(o)) : a.apply(void 0, Ee([c], f, !1));
}, Qr(), i && !Ue.has(o) && (console.warn(o), Ue.add(o));
} catch (c) {
Kt.test(c.message) && Ue.delete(o);
} finally {
console.error = a;
}
}
}, xt = Object.freeze([]), ke = Object.freeze({});
function An(e, t, r) {
return r === void 0 && (r = ke), e.theme !== r.theme && e.theme || t || r.theme;
}
var gr = /* @__PURE__ */ new Set(["a", "abbr", "address", "area", "article", "aside", "audio", "b", "base", "bdi", "bdo", "big", "blockquote", "body", "br", "button", "canvas", "caption", "cite", "code", "col", "colgroup", "data", "datalist", "dd", "del", "details", "dfn", "dialog", "div", "dl", "dt", "em", "embed", "fieldset", "figcaption", "figure", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "iframe", "img", "input", "ins", "kbd", "keygen", "label", "legend", "li", "link", "main", "map", "mark", "menu", "menuitem", "meta", "meter", "nav", "noscript", "object", "ol", "optgroup", "option", "output", "p", "param", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "script", "section", "select", "small", "source", "span", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "textarea", "tfoot", "th", "thead", "time", "title", "tr", "track", "u", "ul", "use", "var", "video", "wbr", "circle", "clipPath", "defs", "ellipse", "foreignObject", "g", "image", "line", "linearGradient", "marker", "mask", "path", "pattern", "polygon", "polyline", "radialGradient", "rect", "stop", "svg", "text", "tspan"]), In = /[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g, Nn = /(^-|-$)/g;
function Jt(e) {
return e.replace(In, "-").replace(Nn, "");
}
var Dn = /(a)(d)/gi, Zt = function(e) {
return String.fromCharCode(e + (e > 25 ? 39 : 97));
};
function wt(e) {
var t, r = "";
for (t = Math.abs(e); t > 52; t = t / 52 | 0)
r = Zt(t % 52) + r;
return (Zt(t % 52) + r).replace(Dn, "$1-$2");
}
var ft, de = function(e, t) {
for (var r = t.length; r; )
e = 33 * e ^ t.charCodeAt(--r);
return e;
}, yr = function(e) {
return de(5381, e);
};
function jn(e) {
return wt(yr(e) >>> 0);
}
function vr(e) {
return process.env.NODE_ENV !== "production" && typeof e == "string" && e || e.displayName || e.name || "Component";
}
function dt(e) {
return typeof e == "string" && (process.env.NODE_ENV === "production" || e.charAt(0) === e.charAt(0).toLowerCase());
}
var br = typeof Symbol == "function" && Symbol.for, wr = br ? Symbol.for("react.memo") : 60115, $n = br ? Symbol.for("react.forward_ref") : 60112, Fn = { childContextTypes: !0, contextType: !0, contextTypes: !0, defaultProps: !0, displayName: !0, getDefaultProps: !0, getDerivedStateFromError: !0, getDerivedStateFromProps: !0, mixins: !0, propTypes: !0, type: !0 }, Mn = { name: !0, length: !0, prototype: !0, caller: !0, callee: !0, arguments: !0, arity: !0 }, Sr = { $$typeof: !0, compare: !0, defaultProps: !0, displayName: !0, propTypes: !0, type: !0 }, Ln = ((ft = {})[$n] = { $$typeof: !0, render: !0, defaultProps: !0, displayName: !0, propTypes: !0 }, ft[wr] = Sr, ft);
function Qt(e) {
return ("type" in (t = e) && t.type.$$typeof) === wr ? Sr : "$$typeof" in e ? Ln[e.$$typeof] : Fn;
var t;
}
var zn = Object.defineProperty, Vn = Object.getOwnPropertyNames, er = Object.getOwnPropertySymbols, Wn = Object.getOwnPropertyDescriptor, Yn = Object.getPrototypeOf, tr = Object.prototype;
function Er(e, t, r) {
if (typeof t != "string") {
if (tr) {
var o = Yn(t);
o && o !== tr && Er(e, o, r);
}
var a = Vn(t);
er && (a = a.concat(er(t)));
for (var i = Qt(e), c = Qt(t), f = 0; f < a.length; ++f) {
var l = a[f];
if (!(l in Mn || r && r[l] || c && l in c || i && l in i)) {
var g = Wn(t, l);
try {
zn(e, l, g);
} catch {
}
}
}
}
return e;
}
function Ce(e) {
return typeof e == "function";
}
function Pt(e) {
return typeof e == "object" && "styledComponentId" in e;
}
function pe(e, t) {
return e && t ? "".concat(e, " ").concat(t) : e || t || "";
}
function rr(e, t) {
if (e.length === 0)
return "";
for (var r = e[0], o = 1; o < e.length; o++)
r += t ? t + e[o] : e[o];
return r;
}
function xe(e) {
return e !== null && typeof e == "object" && e.constructor.name === Object.name && !("props" in e && e.$$typeof);
}
function St(e, t, r) {
if (r === void 0 && (r = !1), !r && !xe(e) && !Array.isArray(e))
return t;
if (Array.isArray(t))
for (var o = 0; o < t.length; o++)
e[o] = St(e[o], t[o]);
else if (xe(t))
for (var o in t)
e[o] = St(e[o], t[o]);
return e;
}
function Tt(e, t) {
Object.defineProperty(e, "toString", { value: t });
}
var Bn = process.env.NODE_ENV !== "production" ? { 1: `Cannot create styled-component for component: %s.
`, 2: `Can't collect styles once you've consumed a \`ServerStyleSheet\`'s styles! \`ServerStyleSheet\` is a one off instance for each server-side render cycle.
- Are you trying to reuse it across renders?
- Are you accidentally calling collectStyles twice?
`, 3: `Streaming SSR is only supported in a Node.js environment; Please do not try to call this method in the browser.
`, 4: `The \`StyleSheetManager\` expects a valid target or sheet prop!
- Does this error occur on the client and is your target falsy?
- Does this error occur on the server and is the sheet falsy?
`, 5: `The clone method cannot be used on the client!
- Are you running in a client-like environment on the server?
- Are you trying to run SSR on the client?
`, 6: `Trying to insert a new style tag, but the given Node is unmounted!
- Are you using a custom target that isn't mounted?
- Does your document not have a valid head element?
- Have you accidentally removed a style tag manually?
`, 7: 'ThemeProvider: Please return an object from your "theme" prop function, e.g.\n\n```js\ntheme={() => ({})}\n```\n\n', 8: `ThemeProvider: Please make your "theme" prop an object.
`, 9: "Missing document `<head>`\n\n", 10: `Cannot find a StyleSheet instance. Usually this happens if there are multiple copies of styled-components loaded at once. Check out this issue for how to troubleshoot and fix the common cases where this situation can happen: https://github.com/styled-components/styled-components/issues/1941#issuecomment-417862021
`, 11: `_This error was replaced with a dev-time warning, it will be deleted for v4 final._ [createGlobalStyle] received children which will not be rendered. Please use the component without passing children elements.
`, 12: "It seems you are interpolating a keyframe declaration (%s) into an untagged string. This was supported in styled-components v3, but is not longer supported in v4 as keyframes are now injected on-demand. Please wrap your string in the css\\`\\` helper which ensures the styles are injected correctly. See https://www.styled-components.com/docs/api#css\n\n", 13: `%s is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.
`, 14: `ThemeProvider: "theme" prop is required.
`, 15: "A stylis plugin has been supplied that is not named. We need a name for each plugin to be able to prevent styling collisions between different stylis configurations within the same app. Before you pass your plugin to `<StyleSheetManager stylisPlugins={[]}>`, please make sure each plugin is uniquely-named, e.g.\n\n```js\nObject.defineProperty(importedPlugin, 'name', { value: 'some-unique-name' });\n```\n\n", 16: `Reached the limit of how many styled components may be created at group %s.
You may only create up to 1,073,741,824 components. If you're creating components dynamically,
as for instance in your render method then you may be running into this limitation.
`, 17: `CSSStyleSheet could not be found on HTMLStyleElement.
Has styled-components' style tag been unmounted or altered by another script?
`, 18: "ThemeProvider: Please make sure your useTheme hook is within a `<ThemeProvider>`" } : {};
function Un() {
for (var e = [], t = 0; t < arguments.length; t++)
e[t] = arguments[t];
for (var r = e[0], o = [], a = 1, i = e.length; a < i; a += 1)