From 911103768e9a64552feca0ee3d65992d5dab7cb3 Mon Sep 17 00:00:00 2001 From: rommguy Date: Sat, 2 Mar 2024 12:19:07 +0200 Subject: [PATCH] commit build targets --- .gitignore | 4 +- dist/index.es.js | 2113 ++++++++++++++++++ dist/index.es.js.map | 1 + dist/index.umd.js | 166 ++ dist/index.umd.js.map | 1 + dist/src/App.d.ts | 1 + dist/src/customScroll.d.ts | 80 + dist/src/example/demoComp.d.ts | 6 + dist/src/example/demoText.d.ts | 4 + dist/src/main.d.ts | 0 dist/src/utils.d.ts | 15 + dist/vite.svg | 1 + exampleDist/assets/giraffe-icon-4kF3UqUO.png | Bin 0 -> 6633 bytes exampleDist/assets/index-dq_QFCS8.css | 1 + exampleDist/assets/index-rqLGU3r-.js | 148 ++ exampleDist/index.html | 14 + exampleDist/vite.svg | 1 + 17 files changed, 2554 insertions(+), 2 deletions(-) create mode 100644 dist/index.es.js create mode 100644 dist/index.es.js.map create mode 100644 dist/index.umd.js create mode 100644 dist/index.umd.js.map create mode 100644 dist/src/App.d.ts create mode 100644 dist/src/customScroll.d.ts create mode 100644 dist/src/example/demoComp.d.ts create mode 100644 dist/src/example/demoText.d.ts create mode 100644 dist/src/main.d.ts create mode 100644 dist/src/utils.d.ts create mode 100644 dist/vite.svg create mode 100644 exampleDist/assets/giraffe-icon-4kF3UqUO.png create mode 100644 exampleDist/assets/index-dq_QFCS8.css create mode 100644 exampleDist/assets/index-rqLGU3r-.js create mode 100644 exampleDist/index.html create mode 100644 exampleDist/vite.svg diff --git a/.gitignore b/.gitignore index 2485406..3e8d2db 100644 --- a/.gitignore +++ b/.gitignore @@ -8,8 +8,8 @@ pnpm-debug.log* lerna-debug.log* node_modules -dist -exampleDist +#dist +#exampleDist dist-ssr *.local diff --git a/dist/index.es.js b/dist/index.es.js new file mode 100644 index 0000000..709b292 --- /dev/null +++ b/dist/index.es.js @@ -0,0 +1,2113 @@ +var un = Object.defineProperty; +var fn = (e, t, r) => t in e ? un(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r; +var b = (e, t, r) => (fn(e, typeof t != "symbol" ? t + "" : t, r), r); +import ge, { useRef as dn, useDebugValue as qt, createElement as hn, useContext as pn, Component as gn, createRef as He } from "react"; +var St = { exports: {} }, Ie = {}; +/** + * @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 Xt; +function mn() { + if (Xt) + return Ie; + Xt = 1; + var e = ge, t = Symbol.for("react.element"), r = Symbol.for("react.fragment"), o = Object.prototype.hasOwnProperty, i = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, s = { key: !0, ref: !0, __self: !0, __source: !0 }; + function c(f, l, h) { + var p, g = {}, S = null, R = null; + h !== void 0 && (S = "" + h), l.key !== void 0 && (S = "" + l.key), l.ref !== void 0 && (R = l.ref); + for (p in l) + o.call(l, p) && !s.hasOwnProperty(p) && (g[p] = l[p]); + if (f && f.defaultProps) + for (p in l = f.defaultProps, l) + g[p] === void 0 && (g[p] = l[p]); + return { $$typeof: t, type: f, key: S, ref: R, props: g, _owner: i.current }; + } + return Ie.Fragment = r, Ie.jsx = c, Ie.jsxs = c, Ie; +} +var Me = {}; +/** + * @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 Kt; +function vn() { + return Kt || (Kt = 1, process.env.NODE_ENV !== "production" && function() { + var e = ge, t = Symbol.for("react.element"), r = Symbol.for("react.portal"), o = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), s = Symbol.for("react.profiler"), c = Symbol.for("react.provider"), f = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), h = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), g = Symbol.for("react.memo"), S = Symbol.for("react.lazy"), R = Symbol.for("react.offscreen"), O = Symbol.iterator, j = "@@iterator"; + function F(n) { + if (n === null || typeof n != "object") + return null; + var a = O && n[O] || n[j]; + return typeof a == "function" ? a : null; + } + var x = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; + function y(n) { + { + for (var a = arguments.length, u = new Array(a > 1 ? a - 1 : 0), d = 1; d < a; d++) + u[d - 1] = arguments[d]; + _("error", n, u); + } + } + function _(n, a, u) { + { + var d = x.ReactDebugCurrentFrame, P = d.getStackAddendum(); + P !== "" && (a += "%s", u = u.concat([P])); + var k = u.map(function(C) { + return String(C); + }); + k.unshift("Warning: " + a), Function.prototype.apply.call(console[n], console, k); + } + } + var A = !1, N = !1, E = !1, m = !1, Z = !1, Q; + Q = Symbol.for("react.module.reference"); + function lt(n) { + return !!(typeof n == "string" || typeof n == "function" || n === o || n === s || Z || n === i || n === h || n === p || m || n === R || A || N || E || typeof n == "object" && n !== null && (n.$$typeof === S || n.$$typeof === g || 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 === Q || n.getModuleId !== void 0)); + } + function ut(n, a, u) { + var d = n.displayName; + if (d) + return d; + var P = a.displayName || a.name || ""; + return P !== "" ? u + "(" + P + ")" : u; + } + function Le(n) { + return n.displayName || "Context"; + } + function z(n) { + if (n == null) + return null; + if (typeof n.tag == "number" && y("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 s: + return "Profiler"; + case i: + return "StrictMode"; + case h: + return "Suspense"; + case p: + return "SuspenseList"; + } + if (typeof n == "object") + switch (n.$$typeof) { + case f: + var a = n; + return Le(a) + ".Consumer"; + case c: + var u = n; + return Le(u._context) + ".Provider"; + case l: + return ut(n, n.render, "ForwardRef"); + case g: + var d = n.displayName || null; + return d !== null ? d : z(n.type) || "Memo"; + case S: { + var P = n, k = P._payload, C = P._init; + try { + return z(C(k)); + } catch { + return null; + } + } + } + return null; + } + var ee = Object.assign, ue = 0, We, ve, De, V, oe, ie, L; + function ye() { + } + ye.__reactDisabledLog = !0; + function Ne() { + { + if (ue === 0) { + We = console.log, ve = console.info, De = console.warn, V = console.error, oe = console.group, ie = console.groupCollapsed, L = console.groupEnd; + var n = { + configurable: !0, + enumerable: !0, + value: ye, + writable: !0 + }; + Object.defineProperties(console, { + info: n, + log: n, + warn: n, + error: n, + group: n, + groupCollapsed: n, + groupEnd: n + }); + } + ue++; + } + } + function be() { + { + if (ue--, ue === 0) { + var n = { + configurable: !0, + enumerable: !0, + writable: !0 + }; + Object.defineProperties(console, { + log: ee({}, n, { + value: We + }), + info: ee({}, n, { + value: ve + }), + warn: ee({}, n, { + value: De + }), + error: ee({}, n, { + value: V + }), + group: ee({}, n, { + value: oe + }), + groupCollapsed: ee({}, n, { + value: ie + }), + groupEnd: ee({}, n, { + value: L + }) + }); + } + ue < 0 && y("disabledDepth fell below zero. This is a bug in React. Please file an issue."); + } + } + var te = x.ReactCurrentDispatcher, se; + function G(n, a, u) { + { + if (se === void 0) + try { + throw Error(); + } catch (P) { + var d = P.stack.trim().match(/\n( *(at )?)/); + se = d && d[1] || ""; + } + return ` +` + se + n; + } + } + var q = !1, ae; + { + var Se = typeof WeakMap == "function" ? WeakMap : Map; + ae = new Se(); + } + function X(n, a) { + if (!n || q) + return ""; + { + var u = ae.get(n); + if (u !== void 0) + return u; + } + var d; + q = !0; + var P = Error.prepareStackTrace; + Error.prepareStackTrace = void 0; + var k; + k = te.current, te.current = null, Ne(); + try { + if (a) { + var C = function() { + throw Error(); + }; + if (Object.defineProperty(C.prototype, "props", { + set: function() { + throw Error(); + } + }), typeof Reflect == "object" && Reflect.construct) { + try { + Reflect.construct(C, []); + } catch (re) { + d = re; + } + Reflect.construct(n, [], C); + } else { + try { + C.call(); + } catch (re) { + d = re; + } + n.call(C.prototype); + } + } else { + try { + throw Error(); + } catch (re) { + d = re; + } + n(); + } + } catch (re) { + if (re && d && typeof re.stack == "string") { + for (var w = re.stack.split(` +`), W = d.stack.split(` +`), H = w.length - 1, I = W.length - 1; H >= 1 && I >= 0 && w[H] !== W[I]; ) + I--; + for (; H >= 1 && I >= 0; H--, I--) + if (w[H] !== W[I]) { + if (H !== 1 || I !== 1) + do + if (H--, I--, I < 0 || w[H] !== W[I]) { + var B = ` +` + w[H].replace(" at new ", " at "); + return n.displayName && B.includes("") && (B = B.replace("", n.displayName)), typeof n == "function" && ae.set(n, B), B; + } + while (H >= 1 && I >= 0); + break; + } + } + } finally { + q = !1, te.current = k, be(), Error.prepareStackTrace = P; + } + var Ee = n ? n.displayName || n.name : "", Gt = Ee ? G(Ee) : ""; + return typeof n == "function" && ae.set(n, Gt), Gt; + } + function Wr(n, a, u) { + return X(n, !1); + } + function Yr(n) { + var a = n.prototype; + return !!(a && a.isReactComponent); + } + function Ye(n, a, u) { + if (n == null) + return ""; + if (typeof n == "function") + return X(n, Yr(n)); + if (typeof n == "string") + return G(n); + switch (n) { + case h: + return G("Suspense"); + case p: + return G("SuspenseList"); + } + if (typeof n == "object") + switch (n.$$typeof) { + case l: + return Wr(n.render); + case g: + return Ye(n.type, a, u); + case S: { + var d = n, P = d._payload, k = d._init; + try { + return Ye(k(P), a, u); + } catch { + } + } + } + return ""; + } + var ze = Object.prototype.hasOwnProperty, Ht = {}, It = x.ReactDebugCurrentFrame; + function Ve(n) { + if (n) { + var a = n._owner, u = Ye(n.type, n._source, a ? a.type : null); + It.setExtraStackFrame(u); + } else + It.setExtraStackFrame(null); + } + function zr(n, a, u, d, P) { + { + var k = Function.call.bind(ze); + for (var C in n) + if (k(n, C)) { + var w = void 0; + try { + if (typeof n[C] != "function") { + var W = Error((d || "React class") + ": " + u + " type `" + C + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof n[C] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."); + throw W.name = "Invariant Violation", W; + } + w = n[C](a, C, d, u, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"); + } catch (H) { + w = H; + } + w && !(w instanceof Error) && (Ve(P), y("%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).", d || "React class", u, C, typeof w), Ve(null)), w instanceof Error && !(w.message in Ht) && (Ht[w.message] = !0, Ve(P), y("Failed %s type: %s", u, w.message), Ve(null)); + } + } + } + var Vr = Array.isArray; + function ft(n) { + return Vr(n); + } + function Br(n) { + { + var a = typeof Symbol == "function" && Symbol.toStringTag, u = a && n[Symbol.toStringTag] || n.constructor.name || "Object"; + return u; + } + } + function Ur(n) { + try { + return Mt(n), !1; + } catch { + return !0; + } + } + function Mt(n) { + return "" + n; + } + function $t(n) { + if (Ur(n)) + return y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Br(n)), Mt(n); + } + var je = x.ReactCurrentOwner, Gr = { + key: !0, + ref: !0, + __self: !0, + __source: !0 + }, Ft, Lt, dt; + dt = {}; + function qr(n) { + if (ze.call(n, "ref")) { + var a = Object.getOwnPropertyDescriptor(n, "ref").get; + if (a && a.isReactWarning) + return !1; + } + return n.ref !== void 0; + } + function Xr(n) { + if (ze.call(n, "key")) { + var a = Object.getOwnPropertyDescriptor(n, "key").get; + if (a && a.isReactWarning) + return !1; + } + return n.key !== void 0; + } + function Kr(n, a) { + if (typeof n.ref == "string" && je.current && a && je.current.stateNode !== a) { + var u = z(je.current.type); + dt[u] || (y('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', z(je.current.type), n.ref), dt[u] = !0); + } + } + function Jr(n, a) { + { + var u = function() { + Ft || (Ft = !0, y("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", a)); + }; + u.isReactWarning = !0, Object.defineProperty(n, "key", { + get: u, + configurable: !0 + }); + } + } + function Zr(n, a) { + { + var u = function() { + Lt || (Lt = !0, y("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", a)); + }; + u.isReactWarning = !0, Object.defineProperty(n, "ref", { + get: u, + configurable: !0 + }); + } + } + var Qr = function(n, a, u, d, P, k, C) { + 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: a, + ref: u, + props: C, + // Record the component responsible for creating this element. + _owner: k + }; + 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: d + }), Object.defineProperty(w, "_source", { + configurable: !1, + enumerable: !1, + writable: !1, + value: P + }), Object.freeze && (Object.freeze(w.props), Object.freeze(w)), w; + }; + function en(n, a, u, d, P) { + { + var k, C = {}, w = null, W = null; + u !== void 0 && ($t(u), w = "" + u), Xr(a) && ($t(a.key), w = "" + a.key), qr(a) && (W = a.ref, Kr(a, P)); + for (k in a) + ze.call(a, k) && !Gr.hasOwnProperty(k) && (C[k] = a[k]); + if (n && n.defaultProps) { + var H = n.defaultProps; + for (k in H) + C[k] === void 0 && (C[k] = H[k]); + } + if (w || W) { + var I = typeof n == "function" ? n.displayName || n.name || "Unknown" : n; + w && Jr(C, I), W && Zr(C, I); + } + return Qr(n, w, W, P, d, je.current, C); + } + } + var ht = x.ReactCurrentOwner, Wt = x.ReactDebugCurrentFrame; + function we(n) { + if (n) { + var a = n._owner, u = Ye(n.type, n._source, a ? a.type : null); + Wt.setExtraStackFrame(u); + } else + Wt.setExtraStackFrame(null); + } + var pt; + pt = !1; + function gt(n) { + return typeof n == "object" && n !== null && n.$$typeof === t; + } + function Yt() { + { + if (ht.current) { + var n = z(ht.current.type); + if (n) + return ` + +Check the render method of \`` + n + "`."; + } + return ""; + } + } + function tn(n) { + { + if (n !== void 0) { + var a = n.fileName.replace(/^.*[\\\/]/, ""), u = n.lineNumber; + return ` + +Check your code at ` + a + ":" + u + "."; + } + return ""; + } + } + var zt = {}; + function rn(n) { + { + var a = Yt(); + if (!a) { + var u = typeof n == "string" ? n : n.displayName || n.name; + u && (a = ` + +Check the top-level render call using <` + u + ">."); + } + return a; + } + } + function Vt(n, a) { + { + if (!n._store || n._store.validated || n.key != null) + return; + n._store.validated = !0; + var u = rn(a); + if (zt[u]) + return; + zt[u] = !0; + var d = ""; + n && n._owner && n._owner !== ht.current && (d = " It was passed a child from " + z(n._owner.type) + "."), we(n), y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', u, d), we(null); + } + } + function Bt(n, a) { + { + if (typeof n != "object") + return; + if (ft(n)) + for (var u = 0; u < n.length; u++) { + var d = n[u]; + gt(d) && Vt(d, a); + } + else if (gt(n)) + n._store && (n._store.validated = !0); + else if (n) { + var P = F(n); + if (typeof P == "function" && P !== n.entries) + for (var k = P.call(n), C; !(C = k.next()).done; ) + gt(C.value) && Vt(C.value, a); + } + } + } + function nn(n) { + { + var a = n.type; + if (a == null || typeof a == "string") + return; + var u; + if (typeof a == "function") + u = a.propTypes; + else if (typeof a == "object" && (a.$$typeof === l || // Note: Memo only checks outer props here. + // Inner props are checked in the reconciler. + a.$$typeof === g)) + u = a.propTypes; + else + return; + if (u) { + var d = z(a); + zr(u, n.props, "prop", d, n); + } else if (a.PropTypes !== void 0 && !pt) { + pt = !0; + var P = z(a); + y("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", P || "Unknown"); + } + typeof a.getDefaultProps == "function" && !a.getDefaultProps.isReactClassApproved && y("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead."); + } + } + function on(n) { + { + for (var a = Object.keys(n.props), u = 0; u < a.length; u++) { + var d = a[u]; + if (d !== "children" && d !== "key") { + we(n), y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", d), we(null); + break; + } + } + n.ref !== null && (we(n), y("Invalid attribute `ref` supplied to `React.Fragment`."), we(null)); + } + } + function Ut(n, a, u, d, P, k) { + { + var C = lt(n); + if (!C) { + 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 W = tn(P); + W ? w += W : w += Yt(); + var H; + n === null ? H = "null" : ft(n) ? H = "array" : n !== void 0 && n.$$typeof === t ? (H = "<" + (z(n.type) || "Unknown") + " />", w = " Did you accidentally export a JSX literal instead of a component?") : H = typeof n, y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", H, w); + } + var I = en(n, a, u, P, k); + if (I == null) + return I; + if (C) { + var B = a.children; + if (B !== void 0) + if (d) + if (ft(B)) { + for (var Ee = 0; Ee < B.length; Ee++) + Bt(B[Ee], n); + Object.freeze && Object.freeze(B); + } else + y("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 + Bt(B, n); + } + return n === o ? on(I) : nn(I), I; + } + } + function sn(n, a, u) { + return Ut(n, a, u, !0); + } + function an(n, a, u) { + return Ut(n, a, u, !1); + } + var cn = an, ln = sn; + Me.Fragment = o, Me.jsx = cn, Me.jsxs = ln; + }()), Me; +} +process.env.NODE_ENV === "production" ? St.exports = mn() : St.exports = vn(); +var ce = St.exports, Y = function() { + return Y = Object.assign || function(t) { + for (var r, o = 1, i = arguments.length; o < i; o++) { + r = arguments[o]; + for (var s in r) + Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]); + } + return t; + }, Y.apply(this, arguments); +}; +function Ce(e, t, r) { + if (r || arguments.length === 2) + for (var o = 0, i = t.length, s; o < i; o++) + (s || !(o in t)) && (s || (s = Array.prototype.slice.call(t, 0, o)), s[o] = t[o]); + return e.concat(s || Array.prototype.slice.call(t)); +} +function yn(e) { + var t = /* @__PURE__ */ Object.create(null); + return function(r) { + return t[r] === void 0 && (t[r] = e(r)), t[r]; + }; +} +var bn = /^((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)-.*))$/, Sn = /* @__PURE__ */ yn( + function(e) { + return bn.test(e) || e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && e.charCodeAt(2) < 91; + } + /* Z+1 */ +), D = "-ms-", Fe = "-moz-", T = "-webkit-", gr = "comm", rt = "rule", kt = "decl", wn = "@import", mr = "@keyframes", En = "@layer", vr = Math.abs, Ot = String.fromCharCode, wt = Object.assign; +function Rn(e, t) { + return $(e, 0) ^ 45 ? (((t << 2 ^ $(e, 0)) << 2 ^ $(e, 1)) << 2 ^ $(e, 2)) << 2 ^ $(e, 3) : 0; +} +function yr(e) { + return e.trim(); +} +function ne(e, t) { + return (e = t.exec(e)) ? e[0] : e; +} +function v(e, t, r) { + return e.replace(t, r); +} +function Xe(e, t, r) { + return e.indexOf(t, r); +} +function $(e, t) { + return e.charCodeAt(t) | 0; +} +function Pe(e, t, r) { + return e.slice(t, r); +} +function J(e) { + return e.length; +} +function br(e) { + return e.length; +} +function $e(e, t) { + return t.push(e), e; +} +function Cn(e, t) { + return e.map(t).join(""); +} +function Jt(e, t) { + return e.filter(function(r) { + return !ne(r, t); + }); +} +var nt = 1, Te = 1, Sr = 0, U = 0, M = 0, Oe = ""; +function ot(e, t, r, o, i, s, c, f) { + return { value: e, root: t, parent: r, type: o, props: i, children: s, line: nt, column: Te, length: c, return: "", siblings: f }; +} +function le(e, t) { + return wt(ot("", null, null, "", null, null, 0, e.siblings), e, { length: -e.length }, t); +} +function Re(e) { + for (; e.root; ) + e = le(e.root, { children: [e] }); + $e(e, e.siblings); +} +function Pn() { + return M; +} +function Tn() { + return M = U > 0 ? $(Oe, --U) : 0, Te--, M === 10 && (Te = 1, nt--), M; +} +function K() { + return M = U < Sr ? $(Oe, U++) : 0, Te++, M === 10 && (Te = 1, nt++), M; +} +function he() { + return $(Oe, U); +} +function Ke() { + return U; +} +function it(e, t) { + return Pe(Oe, e, t); +} +function Et(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 xn(e) { + return nt = Te = 1, Sr = J(Oe = e), U = 0, []; +} +function _n(e) { + return Oe = "", e; +} +function mt(e) { + return yr(it(U - 1, Rt(e === 91 ? e + 2 : e === 40 ? e + 1 : e))); +} +function kn(e) { + for (; (M = he()) && M < 33; ) + K(); + return Et(e) > 2 || Et(M) > 3 ? "" : " "; +} +function On(e, t) { + for (; --t && K() && !(M < 48 || M > 102 || M > 57 && M < 65 || M > 70 && M < 97); ) + ; + return it(e, Ke() + (t < 6 && he() == 32 && K() == 32)); +} +function Rt(e) { + for (; K(); ) + switch (M) { + case e: + return U; + case 34: + case 39: + e !== 34 && e !== 39 && Rt(M); + break; + case 40: + e === 41 && Rt(e); + break; + case 92: + K(); + break; + } + return U; +} +function An(e, t) { + for (; K() && e + M !== 57; ) + if (e + M === 84 && he() === 47) + break; + return "/*" + it(t, U - 1) + "*" + Ot(e === 47 ? e : K()); +} +function Dn(e) { + for (; !Et(he()); ) + K(); + return it(e, U); +} +function Nn(e) { + return _n(Je("", null, null, null, [""], e = xn(e), 0, [0], e)); +} +function Je(e, t, r, o, i, s, c, f, l) { + for (var h = 0, p = 0, g = c, S = 0, R = 0, O = 0, j = 1, F = 1, x = 1, y = 0, _ = "", A = i, N = s, E = o, m = _; F; ) + switch (O = y, y = K()) { + case 40: + if (O != 108 && $(m, g - 1) == 58) { + Xe(m += v(mt(y), "&", "&\f"), "&\f", vr(h ? f[h - 1] : 0)) != -1 && (x = -1); + break; + } + case 34: + case 39: + case 91: + m += mt(y); + break; + case 9: + case 10: + case 13: + case 32: + m += kn(O); + break; + case 92: + m += On(Ke() - 1, 7); + continue; + case 47: + switch (he()) { + case 42: + case 47: + $e(jn(An(K(), Ke()), t, r, l), l); + break; + default: + m += "/"; + } + break; + case 123 * j: + f[h++] = J(m) * x; + case 125 * j: + case 59: + case 0: + switch (y) { + case 0: + case 125: + F = 0; + case 59 + p: + x == -1 && (m = v(m, /\f/g, "")), R > 0 && J(m) - g && $e(R > 32 ? Qt(m + ";", o, r, g - 1, l) : Qt(v(m, " ", "") + ";", o, r, g - 2, l), l); + break; + case 59: + m += ";"; + default: + if ($e(E = Zt(m, t, r, h, p, i, f, _, A = [], N = [], g, s), s), y === 123) + if (p === 0) + Je(m, t, E, E, A, s, g, f, N); + else + switch (S === 99 && $(m, 3) === 110 ? 100 : S) { + case 100: + case 108: + case 109: + case 115: + Je(e, E, E, o && $e(Zt(e, E, E, 0, 0, i, f, _, i, A = [], g, N), N), i, N, g, f, o ? A : N); + break; + default: + Je(m, E, E, E, [""], N, 0, f, N); + } + } + h = p = R = 0, j = x = 1, _ = m = "", g = c; + break; + case 58: + g = 1 + J(m), R = O; + default: + if (j < 1) { + if (y == 123) + --j; + else if (y == 125 && j++ == 0 && Tn() == 125) + continue; + } + switch (m += Ot(y), y * j) { + case 38: + x = p > 0 ? 1 : (m += "\f", -1); + break; + case 44: + f[h++] = (J(m) - 1) * x, x = 1; + break; + case 64: + he() === 45 && (m += mt(K())), S = he(), p = g = J(_ = m += Dn(Ke())), y++; + break; + case 45: + O === 45 && J(m) == 2 && (j = 0); + } + } + return s; +} +function Zt(e, t, r, o, i, s, c, f, l, h, p, g) { + for (var S = i - 1, R = i === 0 ? s : [""], O = br(R), j = 0, F = 0, x = 0; j < o; ++j) + for (var y = 0, _ = Pe(e, S + 1, S = vr(F = c[j])), A = e; y < O; ++y) + (A = yr(F > 0 ? R[y] + " " + _ : v(_, /&\f/g, R[y]))) && (l[x++] = A); + return ot(e, t, r, i === 0 ? rt : f, l, h, p, g); +} +function jn(e, t, r, o) { + return ot(e, t, r, gr, Ot(Pn()), Pe(e, 2, -2), 0, o); +} +function Qt(e, t, r, o, i) { + return ot(e, t, r, kt, Pe(e, 0, o), Pe(e, o + 1, -1), o, i); +} +function wr(e, t, r) { + switch (Rn(e, t)) { + case 5103: + return T + "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 T + e + e; + case 4789: + return Fe + e + e; + case 5349: + case 4246: + case 4810: + case 6968: + case 2756: + return T + e + Fe + e + D + e + e; + case 5936: + switch ($(e, t + 11)) { + case 114: + return T + e + D + v(e, /[svh]\w+-[tblr]{2}/, "tb") + e; + case 108: + return T + e + D + v(e, /[svh]\w+-[tblr]{2}/, "tb-rl") + e; + case 45: + return T + e + D + v(e, /[svh]\w+-[tblr]{2}/, "lr") + e; + } + case 6828: + case 4268: + case 2903: + return T + e + D + e + e; + case 6165: + return T + e + D + "flex-" + e + e; + case 5187: + return T + e + v(e, /(\w+).+(:[^]+)/, T + "box-$1$2" + D + "flex-$1$2") + e; + case 5443: + return T + e + D + "flex-item-" + v(e, /flex-|-self/g, "") + (ne(e, /flex-|baseline/) ? "" : D + "grid-row-" + v(e, /flex-|-self/g, "")) + e; + case 4675: + return T + e + D + "flex-line-pack" + v(e, /align-content|flex-|-self/g, "") + e; + case 5548: + return T + e + D + v(e, "shrink", "negative") + e; + case 5292: + return T + e + D + v(e, "basis", "preferred-size") + e; + case 6060: + return T + "box-" + v(e, "-grow", "") + T + e + D + v(e, "grow", "positive") + e; + case 4554: + return T + v(e, /([^-])(transform)/g, "$1" + T + "$2") + e; + case 6187: + return v(v(v(e, /(zoom-|grab)/, T + "$1"), /(image-set)/, T + "$1"), e, "") + e; + case 5495: + case 3959: + return v(e, /(image-set\([^]*)/, T + "$1$`$1"); + case 4968: + return v(v(e, /(.+:)(flex-)?(.*)/, T + "box-pack:$3" + D + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + T + e + e; + case 4200: + if (!ne(e, /flex-|baseline/)) + return D + "grid-column-align" + Pe(e, t) + e; + break; + case 2592: + case 3360: + return D + v(e, "template-", "") + e; + case 4384: + case 3616: + return r && r.some(function(o, i) { + return t = i, ne(o.props, /grid-\w+-end/); + }) ? ~Xe(e + (r = r[t].value), "span", 0) ? e : D + v(e, "-start", "") + e + D + "grid-row-span:" + (~Xe(r, "span", 0) ? ne(r, /\d+/) : +ne(r, /\d+/) - +ne(e, /\d+/)) + ";" : D + v(e, "-start", "") + e; + case 4896: + case 4128: + return r && r.some(function(o) { + return ne(o.props, /grid-\w+-start/); + }) ? e : D + v(v(e, "-end", "-span"), "span ", "") + e; + case 4095: + case 3583: + case 4068: + case 2532: + return v(e, /(.+)-inline(.+)/, T + "$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 (J(e) - 1 - t > 6) + switch ($(e, t + 1)) { + case 109: + if ($(e, t + 4) !== 45) + break; + case 102: + return v(e, /(.+:)(.+)-([^]+)/, "$1" + T + "$2-$3$1" + Fe + ($(e, t + 3) == 108 ? "$3" : "$2-$3")) + e; + case 115: + return ~Xe(e, "stretch", 0) ? wr(v(e, "stretch", "fill-available"), t, r) + e : e; + } + break; + case 5152: + case 5920: + return v(e, /(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/, function(o, i, s, c, f, l, h) { + return D + i + ":" + s + h + (c ? D + i + "-span:" + (f ? l : +l - +s) + h : "") + e; + }); + case 4949: + if ($(e, t + 6) === 121) + return v(e, ":", ":" + T) + e; + break; + case 6444: + switch ($(e, $(e, 14) === 45 ? 18 : 11)) { + case 120: + return v(e, /(.+:)([^;\s!]+)(;|(\s+)?!.+)?/, "$1" + T + ($(e, 14) === 45 ? "inline-" : "") + "box$3$1" + T + "$2$3$1" + D + "$2box$3") + e; + case 100: + return v(e, ":", ":" + D) + e; + } + break; + case 5719: + case 2647: + case 2135: + case 3927: + case 2391: + return v(e, "scroll-", "scroll-snap-") + e; + } + return e; +} +function et(e, t) { + for (var r = "", o = 0; o < e.length; o++) + r += t(e[o], o, e, t) || ""; + return r; +} +function Hn(e, t, r, o) { + switch (e.type) { + case En: + if (e.children.length) + break; + case wn: + case kt: + return e.return = e.return || e.value; + case gr: + return ""; + case mr: + return e.return = e.value + "{" + et(e.children, o) + "}"; + case rt: + if (!J(e.value = e.props.join(","))) + return ""; + } + return J(r = et(e.children, o)) ? e.return = e.value + "{" + r + "}" : ""; +} +function In(e) { + var t = br(e); + return function(r, o, i, s) { + for (var c = "", f = 0; f < t; f++) + c += e[f](r, o, i, s) || ""; + return c; + }; +} +function Mn(e) { + return function(t) { + t.root || (t = t.return) && e(t); + }; +} +function $n(e, t, r, o) { + if (e.length > -1 && !e.return) + switch (e.type) { + case kt: + e.return = wr(e.value, e.length, r); + return; + case mr: + return et([le(e, { value: v(e.value, "@", "@" + T) })], o); + case rt: + if (e.length) + return Cn(r = e.props, function(i) { + switch (ne(i, o = /(::plac\w+|:read-\w+)/)) { + case ":read-only": + case ":read-write": + Re(le(e, { props: [v(i, /:(read-\w+)/, ":" + Fe + "$1")] })), Re(le(e, { props: [i] })), wt(e, { props: Jt(r, o) }); + break; + case "::placeholder": + Re(le(e, { props: [v(i, /:(plac\w+)/, ":" + T + "input-$1")] })), Re(le(e, { props: [v(i, /:(plac\w+)/, ":" + Fe + "$1")] })), Re(le(e, { props: [v(i, /:(plac\w+)/, D + "input-$1")] })), Re(le(e, { props: [i] })), wt(e, { props: Jt(r, o) }); + break; + } + return ""; + }); + } +} +var Fn = { + animationIterationCount: 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 +}, me = typeof process < "u" && process.env !== void 0 && (process.env.REACT_APP_SC_ATTR || process.env.SC_ATTR) || "data-styled", Er = "active", Rr = "data-styled-version", st = "6.1.8", At = `/*!sc*/ +`, Dt = typeof window < "u" && "HTMLElement" in window, Ln = !!(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"), er = /invalid hook call/i, Be = /* @__PURE__ */ new Set(), Wn = 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.`, i = console.error; + try { + var s = !0; + console.error = function(c) { + for (var f = [], l = 1; l < arguments.length; l++) + f[l - 1] = arguments[l]; + er.test(c) ? (s = !1, Be.delete(o)) : i.apply(void 0, Ce([c], f, !1)); + }, dn(), s && !Be.has(o) && (console.warn(o), Be.add(o)); + } catch (c) { + er.test(c.message) && Be.delete(o); + } finally { + console.error = i; + } + } +}, at = Object.freeze([]), xe = Object.freeze({}); +function Yn(e, t, r) { + return r === void 0 && (r = xe), e.theme !== r.theme && e.theme || t || r.theme; +} +var Ct = /* @__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", "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", "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"]), zn = /[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g, Vn = /(^-|-$)/g; +function tr(e) { + return e.replace(zn, "-").replace(Vn, ""); +} +var Bn = /(a)(d)/gi, Ue = 52, rr = function(e) { + return String.fromCharCode(e + (e > 25 ? 39 : 97)); +}; +function Pt(e) { + var t, r = ""; + for (t = Math.abs(e); t > Ue; t = t / Ue | 0) + r = rr(t % Ue) + r; + return (rr(t % Ue) + r).replace(Bn, "$1-$2"); +} +var vt, Cr = 5381, fe = function(e, t) { + for (var r = t.length; r; ) + e = 33 * e ^ t.charCodeAt(--r); + return e; +}, Pr = function(e) { + return fe(Cr, e); +}; +function Un(e) { + return Pt(Pr(e) >>> 0); +} +function Tr(e) { + return process.env.NODE_ENV !== "production" && typeof e == "string" && e || e.displayName || e.name || "Component"; +} +function yt(e) { + return typeof e == "string" && (process.env.NODE_ENV === "production" || e.charAt(0) === e.charAt(0).toLowerCase()); +} +var xr = typeof Symbol == "function" && Symbol.for, _r = xr ? Symbol.for("react.memo") : 60115, Gn = xr ? Symbol.for("react.forward_ref") : 60112, qn = { childContextTypes: !0, contextType: !0, contextTypes: !0, defaultProps: !0, displayName: !0, getDefaultProps: !0, getDerivedStateFromError: !0, getDerivedStateFromProps: !0, mixins: !0, propTypes: !0, type: !0 }, Xn = { name: !0, length: !0, prototype: !0, caller: !0, callee: !0, arguments: !0, arity: !0 }, kr = { $$typeof: !0, compare: !0, defaultProps: !0, displayName: !0, propTypes: !0, type: !0 }, Kn = ((vt = {})[Gn] = { $$typeof: !0, render: !0, defaultProps: !0, displayName: !0, propTypes: !0 }, vt[_r] = kr, vt); +function nr(e) { + return ("type" in (t = e) && t.type.$$typeof) === _r ? kr : "$$typeof" in e ? Kn[e.$$typeof] : qn; + var t; +} +var Jn = Object.defineProperty, Zn = Object.getOwnPropertyNames, or = Object.getOwnPropertySymbols, Qn = Object.getOwnPropertyDescriptor, eo = Object.getPrototypeOf, ir = Object.prototype; +function Or(e, t, r) { + if (typeof t != "string") { + if (ir) { + var o = eo(t); + o && o !== ir && Or(e, o, r); + } + var i = Zn(t); + or && (i = i.concat(or(t))); + for (var s = nr(e), c = nr(t), f = 0; f < i.length; ++f) { + var l = i[f]; + if (!(l in Xn || r && r[l] || c && l in c || s && l in s)) { + var h = Qn(t, l); + try { + Jn(e, l, h); + } catch { + } + } + } + } + return e; +} +function _e(e) { + return typeof e == "function"; +} +function Nt(e) { + return typeof e == "object" && "styledComponentId" in e; +} +function de(e, t) { + return e && t ? "".concat(e, " ").concat(t) : e || t || ""; +} +function sr(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 ke(e) { + return e !== null && typeof e == "object" && e.constructor.name === Object.name && !("props" in e && e.$$typeof); +} +function Tt(e, t, r) { + if (r === void 0 && (r = !1), !r && !ke(e) && !Array.isArray(e)) + return t; + if (Array.isArray(t)) + for (var o = 0; o < t.length; o++) + e[o] = Tt(e[o], t[o]); + else if (ke(t)) + for (var o in t) + e[o] = Tt(e[o], t[o]); + return e; +} +function jt(e, t) { + Object.defineProperty(e, "toString", { value: t }); +} +var to = 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 ``\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 ``, 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 ``" } : {}; +function ro() { + for (var e = [], t = 0; t < arguments.length; t++) + e[t] = arguments[t]; + for (var r = e[0], o = [], i = 1, s = e.length; i < s; i += 1) + o.push(e[i]); + return o.forEach(function(c) { + r = r.replace(/%[a-z]/, c); + }), r; +} +function Ae(e) { + for (var t = [], r = 1; r < arguments.length; r++) + t[r - 1] = arguments[r]; + return process.env.NODE_ENV === "production" ? new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e, " for more information.").concat(t.length > 0 ? " Args: ".concat(t.join(", ")) : "")) : new Error(ro.apply(void 0, Ce([to[e]], t, !1)).trim()); +} +var no = function() { + function e(t) { + this.groupSizes = new Uint32Array(512), this.length = 512, this.tag = t; + } + return e.prototype.indexOfGroup = function(t) { + for (var r = 0, o = 0; o < t; o++) + r += this.groupSizes[o]; + return r; + }, e.prototype.insertRules = function(t, r) { + if (t >= this.groupSizes.length) { + for (var o = this.groupSizes, i = o.length, s = i; t >= s; ) + if ((s <<= 1) < 0) + throw Ae(16, "".concat(t)); + this.groupSizes = new Uint32Array(s), this.groupSizes.set(o), this.length = s; + for (var c = i; c < s; c++) + this.groupSizes[c] = 0; + } + for (var f = this.indexOfGroup(t + 1), l = (c = 0, r.length); c < l; c++) + this.tag.insertRule(f, r[c]) && (this.groupSizes[t]++, f++); + }, e.prototype.clearGroup = function(t) { + if (t < this.length) { + var r = this.groupSizes[t], o = this.indexOfGroup(t), i = o + r; + this.groupSizes[t] = 0; + for (var s = o; s < i; s++) + this.tag.deleteRule(o); + } + }, e.prototype.getGroup = function(t) { + var r = ""; + if (t >= this.length || this.groupSizes[t] === 0) + return r; + for (var o = this.groupSizes[t], i = this.indexOfGroup(t), s = i + o, c = i; c < s; c++) + r += "".concat(this.tag.getRule(c)).concat(At); + return r; + }, e; +}(), Ze = /* @__PURE__ */ new Map(), tt = /* @__PURE__ */ new Map(), Qe = 1, Ge = function(e) { + if (Ze.has(e)) + return Ze.get(e); + for (; tt.has(Qe); ) + Qe++; + var t = Qe++; + if (process.env.NODE_ENV !== "production" && ((0 | t) < 0 || t > 1073741824)) + throw Ae(16, "".concat(t)); + return Ze.set(e, t), tt.set(t, e), t; +}, oo = function(e, t) { + Qe = t + 1, Ze.set(e, t), tt.set(t, e); +}, io = "style[".concat(me, "][").concat(Rr, '="').concat(st, '"]'), so = new RegExp("^".concat(me, '\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')), ao = function(e, t, r) { + for (var o, i = r.split(","), s = 0, c = i.length; s < c; s++) + (o = i[s]) && e.registerName(t, o); +}, co = function(e, t) { + for (var r, o = ((r = t.textContent) !== null && r !== void 0 ? r : "").split(At), i = [], s = 0, c = o.length; s < c; s++) { + var f = o[s].trim(); + if (f) { + var l = f.match(so); + if (l) { + var h = 0 | parseInt(l[1], 10), p = l[2]; + h !== 0 && (oo(p, h), ao(e, p, l[3]), e.getTag().insertRules(h, i)), i.length = 0; + } else + i.push(f); + } + } +}; +function lo() { + return typeof __webpack_nonce__ < "u" ? __webpack_nonce__ : null; +} +var Ar = function(e) { + var t = document.head, r = e || t, o = document.createElement("style"), i = function(f) { + var l = Array.from(f.querySelectorAll("style[".concat(me, "]"))); + return l[l.length - 1]; + }(r), s = i !== void 0 ? i.nextSibling : null; + o.setAttribute(me, Er), o.setAttribute(Rr, st); + var c = lo(); + return c && o.setAttribute("nonce", c), r.insertBefore(o, s), o; +}, uo = function() { + function e(t) { + this.element = Ar(t), this.element.appendChild(document.createTextNode("")), this.sheet = function(r) { + if (r.sheet) + return r.sheet; + for (var o = document.styleSheets, i = 0, s = o.length; i < s; i++) { + var c = o[i]; + if (c.ownerNode === r) + return c; + } + throw Ae(17); + }(this.element), this.length = 0; + } + return e.prototype.insertRule = function(t, r) { + try { + return this.sheet.insertRule(r, t), this.length++, !0; + } catch { + return !1; + } + }, e.prototype.deleteRule = function(t) { + this.sheet.deleteRule(t), this.length--; + }, e.prototype.getRule = function(t) { + var r = this.sheet.cssRules[t]; + return r && r.cssText ? r.cssText : ""; + }, e; +}(), fo = function() { + function e(t) { + this.element = Ar(t), this.nodes = this.element.childNodes, this.length = 0; + } + return e.prototype.insertRule = function(t, r) { + if (t <= this.length && t >= 0) { + var o = document.createTextNode(r); + return this.element.insertBefore(o, this.nodes[t] || null), this.length++, !0; + } + return !1; + }, e.prototype.deleteRule = function(t) { + this.element.removeChild(this.nodes[t]), this.length--; + }, e.prototype.getRule = function(t) { + return t < this.length ? this.nodes[t].textContent : ""; + }, e; +}(), ho = function() { + function e(t) { + this.rules = [], this.length = 0; + } + return e.prototype.insertRule = function(t, r) { + return t <= this.length && (this.rules.splice(t, 0, r), this.length++, !0); + }, e.prototype.deleteRule = function(t) { + this.rules.splice(t, 1), this.length--; + }, e.prototype.getRule = function(t) { + return t < this.length ? this.rules[t] : ""; + }, e; +}(), ar = Dt, po = { isServer: !Dt, useCSSOMInjection: !Ln }, Dr = function() { + function e(t, r, o) { + t === void 0 && (t = xe), r === void 0 && (r = {}); + var i = this; + this.options = Y(Y({}, po), t), this.gs = r, this.names = new Map(o), this.server = !!t.isServer, !this.server && Dt && ar && (ar = !1, function(s) { + for (var c = document.querySelectorAll(io), f = 0, l = c.length; f < l; f++) { + var h = c[f]; + h && h.getAttribute(me) !== Er && (co(s, h), h.parentNode && h.parentNode.removeChild(h)); + } + }(this)), jt(this, function() { + return function(s) { + for (var c = s.getTag(), f = c.length, l = "", h = function(g) { + var S = function(x) { + return tt.get(x); + }(g); + if (S === void 0) + return "continue"; + var R = s.names.get(S), O = c.getGroup(g); + if (R === void 0 || O.length === 0) + return "continue"; + var j = "".concat(me, ".g").concat(g, '[id="').concat(S, '"]'), F = ""; + R !== void 0 && R.forEach(function(x) { + x.length > 0 && (F += "".concat(x, ",")); + }), l += "".concat(O).concat(j, '{content:"').concat(F, '"}').concat(At); + }, p = 0; p < f; p++) + h(p); + return l; + }(i); + }); + } + return e.registerId = function(t) { + return Ge(t); + }, e.prototype.reconstructWithOptions = function(t, r) { + return r === void 0 && (r = !0), new e(Y(Y({}, this.options), t), this.gs, r && this.names || void 0); + }, e.prototype.allocateGSInstance = function(t) { + return this.gs[t] = (this.gs[t] || 0) + 1; + }, e.prototype.getTag = function() { + return this.tag || (this.tag = (t = function(r) { + var o = r.useCSSOMInjection, i = r.target; + return r.isServer ? new ho(i) : o ? new uo(i) : new fo(i); + }(this.options), new no(t))); + var t; + }, e.prototype.hasNameForId = function(t, r) { + return this.names.has(t) && this.names.get(t).has(r); + }, e.prototype.registerName = function(t, r) { + if (Ge(t), this.names.has(t)) + this.names.get(t).add(r); + else { + var o = /* @__PURE__ */ new Set(); + o.add(r), this.names.set(t, o); + } + }, e.prototype.insertRules = function(t, r, o) { + this.registerName(t, r), this.getTag().insertRules(Ge(t), o); + }, e.prototype.clearNames = function(t) { + this.names.has(t) && this.names.get(t).clear(); + }, e.prototype.clearRules = function(t) { + this.getTag().clearGroup(Ge(t)), this.clearNames(t); + }, e.prototype.clearTag = function() { + this.tag = void 0; + }, e; +}(), go = /&/g, mo = /^\s*\/\/.*$/gm; +function Nr(e, t) { + return e.map(function(r) { + return r.type === "rule" && (r.value = "".concat(t, " ").concat(r.value), r.value = r.value.replaceAll(",", ",".concat(t, " ")), r.props = r.props.map(function(o) { + return "".concat(t, " ").concat(o); + })), Array.isArray(r.children) && r.type !== "@keyframes" && (r.children = Nr(r.children, t)), r; + }); +} +function vo(e) { + var t, r, o, i = e === void 0 ? xe : e, s = i.options, c = s === void 0 ? xe : s, f = i.plugins, l = f === void 0 ? at : f, h = function(S, R, O) { + return O.startsWith(r) && O.endsWith(r) && O.replaceAll(r, "").length > 0 ? ".".concat(t) : S; + }, p = l.slice(); + p.push(function(S) { + S.type === rt && S.value.includes("&") && (S.props[0] = S.props[0].replace(go, r).replace(o, h)); + }), c.prefix && p.push($n), p.push(Hn); + var g = function(S, R, O, j) { + R === void 0 && (R = ""), O === void 0 && (O = ""), j === void 0 && (j = "&"), t = j, r = R, o = new RegExp("\\".concat(r, "\\b"), "g"); + var F = S.replace(mo, ""), x = Nn(O || R ? "".concat(O, " ").concat(R, " { ").concat(F, " }") : F); + c.namespace && (x = Nr(x, c.namespace)); + var y = []; + return et(x, In(p.concat(Mn(function(_) { + return y.push(_); + })))), y; + }; + return g.hash = l.length ? l.reduce(function(S, R) { + return R.name || Ae(15), fe(S, R.name); + }, Cr).toString() : "", g; +} +var yo = new Dr(), xt = vo(), jr = ge.createContext({ shouldForwardProp: void 0, styleSheet: yo, stylis: xt }); +jr.Consumer; +ge.createContext(void 0); +function cr() { + return pn(jr); +} +var lr = function() { + function e(t, r) { + var o = this; + this.inject = function(i, s) { + s === void 0 && (s = xt); + var c = o.name + s.hash; + i.hasNameForId(o.id, c) || i.insertRules(o.id, c, s(o.rules, c, "@keyframes")); + }, this.name = t, this.id = "sc-keyframes-".concat(t), this.rules = r, jt(this, function() { + throw Ae(12, String(o.name)); + }); + } + return e.prototype.getName = function(t) { + return t === void 0 && (t = xt), this.name + t.hash; + }, e; +}(), bo = function(e) { + return e >= "A" && e <= "Z"; +}; +function ur(e) { + for (var t = "", r = 0; r < e.length; r++) { + var o = e[r]; + if (r === 1 && o === "-" && e[0] === "-") + return e; + bo(o) ? t += "-" + o.toLowerCase() : t += o; + } + return t.startsWith("ms-") ? "-" + t : t; +} +var Hr = function(e) { + return e == null || e === !1 || e === ""; +}, Ir = function(e) { + var t, r, o = []; + for (var i in e) { + var s = e[i]; + e.hasOwnProperty(i) && !Hr(s) && (Array.isArray(s) && s.isCss || _e(s) ? o.push("".concat(ur(i), ":"), s, ";") : ke(s) ? o.push.apply(o, Ce(Ce(["".concat(i, " {")], Ir(s), !1), ["}"], !1)) : o.push("".concat(ur(i), ": ").concat((t = i, (r = s) == null || typeof r == "boolean" || r === "" ? "" : typeof r != "number" || r === 0 || t in Fn || t.startsWith("--") ? String(r).trim() : "".concat(r, "px")), ";"))); + } + return o; +}; +function pe(e, t, r, o) { + if (Hr(e)) + return []; + if (Nt(e)) + return [".".concat(e.styledComponentId)]; + if (_e(e)) { + if (!_e(s = e) || s.prototype && s.prototype.isReactComponent || !t) + return [e]; + var i = e(t); + return process.env.NODE_ENV === "production" || typeof i != "object" || Array.isArray(i) || i instanceof lr || ke(i) || i === null || console.error("".concat(Tr(e), " 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.")), pe(i, t, r, o); + } + var s; + return e instanceof lr ? r ? (e.inject(r, o), [e.getName(o)]) : [e] : ke(e) ? Ir(e) : Array.isArray(e) ? Array.prototype.concat.apply(at, e.map(function(c) { + return pe(c, t, r, o); + })) : [e.toString()]; +} +function So(e) { + for (var t = 0; t < e.length; t += 1) { + var r = e[t]; + if (_e(r) && !Nt(r)) + return !1; + } + return !0; +} +var wo = Pr(st), Eo = function() { + function e(t, r, o) { + this.rules = t, this.staticRulesId = "", this.isStatic = process.env.NODE_ENV === "production" && (o === void 0 || o.isStatic) && So(t), this.componentId = r, this.baseHash = fe(wo, r), this.baseStyle = o, Dr.registerId(r); + } + return e.prototype.generateAndInjectStyles = function(t, r, o) { + var i = this.baseStyle ? this.baseStyle.generateAndInjectStyles(t, r, o) : ""; + if (this.isStatic && !o.hash) + if (this.staticRulesId && r.hasNameForId(this.componentId, this.staticRulesId)) + i = de(i, this.staticRulesId); + else { + var s = sr(pe(this.rules, t, r, o)), c = Pt(fe(this.baseHash, s) >>> 0); + if (!r.hasNameForId(this.componentId, c)) { + var f = o(s, ".".concat(c), void 0, this.componentId); + r.insertRules(this.componentId, c, f); + } + i = de(i, c), this.staticRulesId = c; + } + else { + for (var l = fe(this.baseHash, o.hash), h = "", p = 0; p < this.rules.length; p++) { + var g = this.rules[p]; + if (typeof g == "string") + h += g, process.env.NODE_ENV !== "production" && (l = fe(l, g)); + else if (g) { + var S = sr(pe(g, t, r, o)); + l = fe(l, S + p), h += S; + } + } + if (h) { + var R = Pt(l >>> 0); + r.hasNameForId(this.componentId, R) || r.insertRules(this.componentId, R, o(h, ".".concat(R), void 0, this.componentId)), i = de(i, R); + } + } + return i; + }, e; +}(), Mr = ge.createContext(void 0); +Mr.Consumer; +var bt = {}, fr = /* @__PURE__ */ new Set(); +function Ro(e, t, r) { + var o = Nt(e), i = e, s = !yt(e), c = t.attrs, f = c === void 0 ? at : c, l = t.componentId, h = l === void 0 ? function(A, N) { + var E = typeof A != "string" ? "sc" : tr(A); + bt[E] = (bt[E] || 0) + 1; + var m = "".concat(E, "-").concat(Un(st + E + bt[E])); + return N ? "".concat(N, "-").concat(m) : m; + }(t.displayName, t.parentComponentId) : l, p = t.displayName, g = p === void 0 ? function(A) { + return yt(A) ? "styled.".concat(A) : "Styled(".concat(Tr(A), ")"); + }(e) : p, S = t.displayName && t.componentId ? "".concat(tr(t.displayName), "-").concat(t.componentId) : t.componentId || h, R = o && i.attrs ? i.attrs.concat(f).filter(Boolean) : f, O = t.shouldForwardProp; + if (o && i.shouldForwardProp) { + var j = i.shouldForwardProp; + if (t.shouldForwardProp) { + var F = t.shouldForwardProp; + O = function(A, N) { + return j(A, N) && F(A, N); + }; + } else + O = j; + } + var x = new Eo(r, S, o ? i.componentStyle : void 0); + function y(A, N) { + return function(E, m, Z) { + var Q = E.attrs, lt = E.componentStyle, ut = E.defaultProps, Le = E.foldedComponentIds, z = E.styledComponentId, ee = E.target, ue = ge.useContext(Mr), We = cr(), ve = E.shouldForwardProp || We.shouldForwardProp; + process.env.NODE_ENV !== "production" && qt(z); + var De = Yn(m, ue, ut) || xe, V = function(be, te, se) { + for (var G, q = Y(Y({}, te), { className: void 0, theme: se }), ae = 0; ae < be.length; ae += 1) { + var Se = _e(G = be[ae]) ? G(q) : G; + for (var X in Se) + q[X] = X === "className" ? de(q[X], Se[X]) : X === "style" ? Y(Y({}, q[X]), Se[X]) : Se[X]; + } + return te.className && (q.className = de(q.className, te.className)), q; + }(Q, m, De), oe = V.as || ee, ie = {}; + for (var L in V) + V[L] === void 0 || L[0] === "$" || L === "as" || L === "theme" && V.theme === De || (L === "forwardedAs" ? ie.as = V.forwardedAs : ve && !ve(L, oe) || (ie[L] = V[L], ve || process.env.NODE_ENV !== "development" || Sn(L) || fr.has(L) || !Ct.has(oe) || (fr.add(L), console.warn('styled-components: it looks like an unknown prop "'.concat(L, '" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via `` (connect an API like `@emotion/is-prop-valid`) or consider using transient props (`$` prefix for automatic filtering.)'))))); + var ye = function(be, te) { + var se = cr(), G = be.generateAndInjectStyles(te, se.styleSheet, se.stylis); + return process.env.NODE_ENV !== "production" && qt(G), G; + }(lt, V); + process.env.NODE_ENV !== "production" && E.warnTooManyClasses && E.warnTooManyClasses(ye); + var Ne = de(Le, z); + return ye && (Ne += " " + ye), V.className && (Ne += " " + V.className), ie[yt(oe) && !Ct.has(oe) ? "class" : "className"] = Ne, ie.ref = Z, hn(oe, ie); + }(_, A, N); + } + y.displayName = g; + var _ = ge.forwardRef(y); + return _.attrs = R, _.componentStyle = x, _.displayName = g, _.shouldForwardProp = O, _.foldedComponentIds = o ? de(i.foldedComponentIds, i.styledComponentId) : "", _.styledComponentId = S, _.target = o ? i.target : e, Object.defineProperty(_, "defaultProps", { get: function() { + return this._foldedDefaultProps; + }, set: function(A) { + this._foldedDefaultProps = o ? function(N) { + for (var E = [], m = 1; m < arguments.length; m++) + E[m - 1] = arguments[m]; + for (var Z = 0, Q = E; Z < Q.length; Z++) + Tt(N, Q[Z], !0); + return N; + }({}, i.defaultProps, A) : A; + } }), process.env.NODE_ENV !== "production" && (Wn(g, S), _.warnTooManyClasses = /* @__PURE__ */ function(A, N) { + var E = {}, m = !1; + return function(Z) { + if (!m && (E[Z] = !0, Object.keys(E).length >= 200)) { + var Q = N ? ' with the id of "'.concat(N, '"') : ""; + console.warn("Over ".concat(200, " classes were generated for component ").concat(A).concat(Q, `. +`) + `Consider using the attrs method, together with a style object for frequently changed styles. +Example: + const Component = styled.div.attrs(props => ({ + style: { + background: props.background, + }, + }))\`width: 100%;\` + + `), m = !0, E = {}; + } + }; + }(g, S)), jt(_, function() { + return ".".concat(_.styledComponentId); + }), s && Or(_, e, { attrs: !0, componentStyle: !0, displayName: !0, foldedComponentIds: !0, shouldForwardProp: !0, styledComponentId: !0, target: !0 }), _; +} +function dr(e, t) { + for (var r = [e[0]], o = 0, i = t.length; o < i; o += 1) + r.push(t[o], e[o + 1]); + return r; +} +var hr = function(e) { + return Object.assign(e, { isCss: !0 }); +}; +function Co(e) { + for (var t = [], r = 1; r < arguments.length; r++) + t[r - 1] = arguments[r]; + if (_e(e) || ke(e)) + return hr(pe(dr(at, Ce([e], t, !0)))); + var o = e; + return t.length === 0 && o.length === 1 && typeof o[0] == "string" ? pe(o) : hr(pe(dr(o, t))); +} +function _t(e, t, r) { + if (r === void 0 && (r = xe), !t) + throw Ae(1, t); + var o = function(i) { + for (var s = [], c = 1; c < arguments.length; c++) + s[c - 1] = arguments[c]; + return e(t, r, Co.apply(void 0, Ce([i], s, !1))); + }; + return o.attrs = function(i) { + return _t(e, t, Y(Y({}, r), { attrs: Array.prototype.concat(r.attrs, i).filter(Boolean) })); + }, o.withConfig = function(i) { + return _t(e, t, Y(Y({}, r), i)); + }, o; +} +var $r = function(e) { + return _t(Ro, e); +}, ct = $r; +Ct.forEach(function(e) { + ct[e] = $r(e); +}); +process.env.NODE_ENV !== "production" && typeof navigator < "u" && navigator.product === "ReactNative" && console.warn(`It looks like you've imported 'styled-components' on React Native. +Perhaps you're looking to import 'styled-components/native'? +Read more about this at https://www.styled-components.com/docs/basics#react-native`); +var qe = "__sc-".concat(me, "__"); +process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && typeof window < "u" && (window[qe] || (window[qe] = 0), window[qe] === 1 && console.warn(`It looks like there are several instances of 'styled-components' initialized in this application. This may cause dynamic styles to not render properly, errors during the rehydration process, a missing theme prop, and makes your application bigger without good reason. + +See https://s-c.sh/2BAXzed for more info.`), window[qe] += 1); +const Po = (e, t) => { + let r; + function o() { + clearTimeout(r); + } + function i() { + o(), r = setTimeout(() => { + e(); + }, t); + } + return i.cancel = o, i; +}, pr = (e, t, r) => (t = !t && t !== 0 ? e : t, r = !r && r !== 0 ? e : r, t > r ? (console.error("min limit is greater than max limit"), e) : e < t ? t : e > r ? r : e), Fr = (e, t) => e.clientX > t.left && e.clientX < t.right && e.clientY > t.top && e.clientY < t.top + t.height, To = (e, t) => { + const r = t.getBoundingClientRect(); + return Fr(e, r); +}, Lr = ct.div` + position: absolute; + height: 100%; + width: 6px; + right: 3px; + opacity: 0; + z-index: 1; + transition: opacity 0.4s ease-out; + padding: 6px 0; + box-sizing: border-box; + will-change: opacity; + pointer-events: none; + + &.rcs-custom-scrollbar-rtl { + right: auto; + left: 3px; + } + + &.scroll-visible { + opacity: 1; + transition-duration: 0.2s; + } +`, xo = ct.div` + height: calc(100% - 12px); + margin-top: 6px; + background-color: rgba(78, 183, 245, 0.7); + border-radius: 3px; +`, _o = ct.div` + min-height: 0; + min-width: 0; + + & .rcs-outer-container { + overflow: hidden; + + & .rcs-positioning { + position: relative; + } + } + + & .rcs-inner-container { + overflow-x: hidden; + overflow-y: scroll; + -webkit-overflow-scrolling: touch; + + &:after { + content: ""; + position: absolute; + top: 0; + right: 0; + left: 0; + height: 0; + background-image: linear-gradient( + to bottom, + rgba(0, 0, 0, 0.2) 0%, + rgba(0, 0, 0, 0.05) 60%, + rgba(0, 0, 0, 0) 100% + ); + pointer-events: none; + transition: height 0.1s ease-in; + will-change: height; + } + + &.rcs-content-scrolled:after { + height: 5px; + transition: height 0.15s ease-out; + } + } + + &.rcs-scroll-handle-dragged .rcs-inner-container { + user-select: none; + } + + &.rcs-scroll-handle-dragged ${Lr} { + opacity: 1; + } + + & .rcs-custom-scroll-handle { + position: absolute; + width: 100%; + top: 0; + } +`; +class Ao extends gn { + constructor(r) { + super(r); + b(this, "scrollbarYWidth"); + b(this, "hideScrollThumb"); + b(this, "contentHeight", 0); + b(this, "visibleHeight", 0); + b(this, "scrollHandleHeight", 0); + b(this, "scrollRatio", 1); + b(this, "hasScroll", !1); + b(this, "startDragHandlePos", 0); + b(this, "startDragMousePos", 0); + b(this, "customScrollRef", He()); + b(this, "innerContainerRef", He()); + b(this, "customScrollbarRef", He()); + b(this, "scrollHandleRef", He()); + b(this, "contentWrapperRef", He()); + b(this, "adjustFreezePosition", (r) => { + if (!this.contentWrapperRef.current) + return; + const o = this.getScrolledElement(), i = this.contentWrapperRef.current; + this.props.freezePosition && (i.scrollTop = this.state.scrollPos), r.freezePosition && (o.scrollTop = this.state.scrollPos); + }); + b(this, "toggleScrollIfNeeded", () => { + const r = this.contentHeight - this.visibleHeight > 1; + this.hasScroll !== r && (this.hasScroll = r, this.forceUpdate()); + }); + b(this, "updateScrollPosition", (r) => { + const o = this.getScrolledElement(), i = pr( + r, + 0, + this.contentHeight - this.visibleHeight + ); + o.scrollTop = i, this.setState({ + scrollPos: i + }); + }); + b(this, "onClick", (r) => { + if (!this.hasScroll || !this.isMouseEventOnCustomScrollbar(r) || this.isMouseEventOnScrollHandle(r)) + return; + const o = this.calculateNewScrollHandleTop(r), i = this.getScrollValueFromHandlePosition(o); + this.updateScrollPosition(i); + }); + b(this, "isMouseEventOnCustomScrollbar", (r) => { + if (!this.customScrollbarRef.current) + return !1; + const i = this.customScrollRef.current.getBoundingClientRect(), s = this.customScrollbarRef.current.getBoundingClientRect(), c = this.props.rtl ? { + left: i.left, + right: s.right + } : { + left: s.left, + width: i.right + }, f = { + right: i.right, + top: i.top, + height: i.height, + ...c + }; + return Fr(r, f); + }); + b(this, "isMouseEventOnScrollHandle", (r) => { + if (!this.scrollHandleRef.current) + return !1; + const o = this.scrollHandleRef.current; + return To(r, o); + }); + b(this, "calculateNewScrollHandleTop", (r) => { + const s = this.customScrollRef.current.getBoundingClientRect().top + window.pageYOffset, c = r.pageY - s, f = this.getScrollHandleStyle().top; + let l; + return c > f + this.scrollHandleHeight ? l = f + Math.min( + this.scrollHandleHeight, + this.visibleHeight - this.scrollHandleHeight + ) : l = f - Math.max(this.scrollHandleHeight, 0), l; + }); + b(this, "getScrollValueFromHandlePosition", (r) => r / this.scrollRatio); + b(this, "getScrollHandleStyle", () => { + const r = this.state.scrollPos * this.scrollRatio; + return this.scrollHandleHeight = this.visibleHeight * this.scrollRatio, { + height: this.scrollHandleHeight, + top: r + }; + }); + b(this, "adjustCustomScrollPosToContentPos", (r) => { + this.setState({ + scrollPos: r + }); + }); + b(this, "onScroll", (r) => { + this.props.freezePosition || (this.hideScrollThumb(), this.adjustCustomScrollPosToContentPos(r.currentTarget.scrollTop), this.props.onScroll && this.props.onScroll(r)); + }); + b(this, "getScrolledElement", () => this.innerContainerRef.current); + b(this, "onMouseDown", (r) => { + !this.hasScroll || !this.isMouseEventOnScrollHandle(r) || (this.startDragHandlePos = this.getScrollHandleStyle().top, this.startDragMousePos = r.pageY, this.setState({ + onDrag: !0 + }), document.addEventListener("mousemove", this.onHandleDrag, { + passive: !1 + }), document.addEventListener("mouseup", this.onHandleDragEnd, { + passive: !1 + })); + }); + b(this, "onTouchStart", () => { + this.setState({ + onDrag: !0 + }); + }); + b(this, "onHandleDrag", (r) => { + r.preventDefault(); + const o = r.pageY - this.startDragMousePos, i = pr( + this.startDragHandlePos + o, + 0, + this.visibleHeight - this.scrollHandleHeight + ), s = this.getScrollValueFromHandlePosition(i); + this.updateScrollPosition(s); + }); + b(this, "onHandleDragEnd", (r) => { + this.setState({ + onDrag: !1 + }), r.preventDefault(), document.removeEventListener("mousemove", this.onHandleDrag), document.removeEventListener("mouseup", this.onHandleDragEnd); + }); + b(this, "getInnerContainerClasses", () => this.state.scrollPos && this.props.addScrolledClass ? "rcs-inner-container rcs-content-scrolled" : "rcs-inner-container"); + b(this, "getScrollStyles", () => { + const r = this.scrollbarYWidth || 20, o = this.props.rtl ? "marginLeft" : "marginRight", i = { + height: this.props.heightRelativeToParent || this.props.flex ? "100%" : "", + overscrollBehavior: this.props.allowOuterScroll ? "auto" : "none" + }; + i[o] = -1 * r; + const s = { + height: this.props.heightRelativeToParent || this.props.flex ? "100%" : "", + overflowY: this.props.freezePosition ? "hidden" : "visible" + }; + return s[o] = this.scrollbarYWidth ? 0 : r, { + innerContainer: i, + contentWrapper: s + }; + }); + b(this, "getOuterContainerStyle", () => ({ + height: this.props.heightRelativeToParent || this.props.flex ? "100%" : "" + })); + b(this, "getRootStyles", () => { + const r = {}; + return this.props.heightRelativeToParent ? r.height = this.props.heightRelativeToParent : this.props.flex && (r.flex = this.props.flex), r; + }); + b(this, "enforceMinHandleHeight", (r) => { + const o = this.props.minScrollHandleHeight || 38; + if (r.height >= o) + return r; + const i = o - r.height, s = this.state.scrollPos / (this.contentHeight - this.visibleHeight), c = i * s, f = r.top - c; + return { + height: o, + top: f + }; + }); + b(this, "onMouseEnter", () => { + this.setState({ visible: !0 }); + }); + b(this, "onMouseLeave", () => { + this.setState({ visible: !1 }); + }); + this.scrollbarYWidth = 0, this.state = { + scrollPos: 0, + onDrag: !1, + visible: !1 + }, this.hideScrollThumb = Po(() => { + this.setState({ + onDrag: !1 + }); + }, 500); + } + componentDidMount() { + typeof this.props.scrollTo < "u" ? this.updateScrollPosition(this.props.scrollTo) : this.forceUpdate(); + } + componentDidUpdate(r, o) { + const i = this.contentHeight, s = this.visibleHeight, c = this.getScrolledElement(), f = o.scrollPos >= i - s; + this.contentHeight = c.scrollHeight, this.scrollbarYWidth = c.offsetWidth - c.clientWidth, this.visibleHeight = c.clientHeight, this.scrollRatio = this.contentHeight ? this.visibleHeight / this.contentHeight : 1, this.toggleScrollIfNeeded(); + const l = this.state === o; + (this.props.freezePosition || r.freezePosition) && this.adjustFreezePosition(r), typeof this.props.scrollTo < "u" && this.props.scrollTo !== r.scrollTo ? this.updateScrollPosition(this.props.scrollTo) : this.props.keepAtBottom && l && f && this.updateScrollPosition(this.contentHeight - this.visibleHeight); + } + componentWillUnmount() { + this.hideScrollThumb.cancel(), document.removeEventListener("mousemove", this.onHandleDrag), document.removeEventListener("mouseup", this.onHandleDragEnd); + } + render() { + const r = this.getScrollStyles(), o = this.getRootStyles(), i = this.enforceMinHandleHeight( + this.getScrollHandleStyle() + ), s = [ + this.props.className || "", + "rcs-custom-scroll", + this.state.onDrag ? "rcs-scroll-handle-dragged" : "" + ].join(" "); + return /* @__PURE__ */ ce.jsx( + _o, + { + className: s, + style: o, + ref: this.customScrollRef, + children: /* @__PURE__ */ ce.jsxs( + "div", + { + "data-testid": "outer-container", + className: "rcs-outer-container", + style: this.getOuterContainerStyle(), + onMouseDown: this.onMouseDown, + onTouchStart: this.onTouchStart, + onClick: this.onClick, + onMouseEnter: this.onMouseEnter, + onMouseLeave: this.onMouseLeave, + children: [ + this.hasScroll ? /* @__PURE__ */ ce.jsx("div", { className: "rcs-positioning", children: /* @__PURE__ */ ce.jsx( + Lr, + { + "data-testid": "custom-scrollbar", + ref: this.customScrollbarRef, + className: `rcs-custom-scrollbar ${this.props.rtl ? "rcs-custom-scrollbar-rtl" : ""} ${this.state.visible ? "scroll-visible" : ""}`, + children: /* @__PURE__ */ ce.jsx( + "div", + { + "data-testid": "custom-scroll-handle", + ref: this.scrollHandleRef, + className: "rcs-custom-scroll-handle", + style: i, + children: /* @__PURE__ */ ce.jsx(xo, { className: this.props.handleClass || "" }) + } + ) + }, + "scrollbar" + ) }) : null, + /* @__PURE__ */ ce.jsx( + "div", + { + "data-testid": "inner-container", + ref: this.innerContainerRef, + className: this.getInnerContainerClasses(), + style: r.innerContainer, + onScroll: this.onScroll, + children: /* @__PURE__ */ ce.jsx( + "div", + { + ref: this.contentWrapperRef, + style: r.contentWrapper, + children: this.props.children + } + ) + } + ) + ] + } + ) + } + ); + } +} +export { + Ao as CustomScroll +}; +//# sourceMappingURL=index.es.js.map diff --git a/dist/index.es.js.map b/dist/index.es.js.map new file mode 100644 index 0000000..c3d9671 --- /dev/null +++ b/dist/index.es.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.es.js","sources":["../node_modules/react/cjs/react-jsx-runtime.production.min.js","../node_modules/react/cjs/react-jsx-runtime.development.js","../node_modules/react/jsx-runtime.js","../node_modules/tslib/tslib.es6.js","../node_modules/@emotion/memoize/dist/emotion-memoize.esm.js","../node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js","../node_modules/stylis/src/Enum.js","../node_modules/stylis/src/Utility.js","../node_modules/stylis/src/Tokenizer.js","../node_modules/stylis/src/Parser.js","../node_modules/stylis/src/Prefixer.js","../node_modules/stylis/src/Serializer.js","../node_modules/stylis/src/Middleware.js","../node_modules/@emotion/unitless/dist/emotion-unitless.esm.js","../node_modules/styled-components/dist/styled-components.browser.esm.js","../src/utils.ts","../src/customScroll.tsx"],"sourcesContent":["/**\n * @license React\n * react-jsx-runtime.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n'use strict';var f=require(\"react\"),k=Symbol.for(\"react.element\"),l=Symbol.for(\"react.fragment\"),m=Object.prototype.hasOwnProperty,n=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,p={key:!0,ref:!0,__self:!0,__source:!0};\nfunction q(c,a,g){var b,d={},e=null,h=null;void 0!==g&&(e=\"\"+g);void 0!==a.key&&(e=\"\"+a.key);void 0!==a.ref&&(h=a.ref);for(b in a)m.call(a,b)&&!p.hasOwnProperty(b)&&(d[b]=a[b]);if(c&&c.defaultProps)for(b in a=c.defaultProps,a)void 0===d[b]&&(d[b]=a[b]);return{$$typeof:k,type:c,key:e,ref:h,props:d,_owner:n.current}}exports.Fragment=l;exports.jsx=q;exports.jsxs=q;\n","/**\n * @license React\n * react-jsx-runtime.development.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nif (process.env.NODE_ENV !== \"production\") {\n (function() {\n'use strict';\n\nvar React = require('react');\n\n// ATTENTION\n// When adding new symbols to this file,\n// Please consider also adding to 'react-devtools-shared/src/backend/ReactSymbols'\n// The Symbol used to tag the ReactElement-like types.\nvar REACT_ELEMENT_TYPE = Symbol.for('react.element');\nvar REACT_PORTAL_TYPE = Symbol.for('react.portal');\nvar REACT_FRAGMENT_TYPE = Symbol.for('react.fragment');\nvar REACT_STRICT_MODE_TYPE = Symbol.for('react.strict_mode');\nvar REACT_PROFILER_TYPE = Symbol.for('react.profiler');\nvar REACT_PROVIDER_TYPE = Symbol.for('react.provider');\nvar REACT_CONTEXT_TYPE = Symbol.for('react.context');\nvar REACT_FORWARD_REF_TYPE = Symbol.for('react.forward_ref');\nvar REACT_SUSPENSE_TYPE = Symbol.for('react.suspense');\nvar REACT_SUSPENSE_LIST_TYPE = Symbol.for('react.suspense_list');\nvar REACT_MEMO_TYPE = Symbol.for('react.memo');\nvar REACT_LAZY_TYPE = Symbol.for('react.lazy');\nvar REACT_OFFSCREEN_TYPE = Symbol.for('react.offscreen');\nvar MAYBE_ITERATOR_SYMBOL = Symbol.iterator;\nvar FAUX_ITERATOR_SYMBOL = '@@iterator';\nfunction getIteratorFn(maybeIterable) {\n if (maybeIterable === null || typeof maybeIterable !== 'object') {\n return null;\n }\n\n var maybeIterator = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL];\n\n if (typeof maybeIterator === 'function') {\n return maybeIterator;\n }\n\n return null;\n}\n\nvar ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;\n\nfunction error(format) {\n {\n {\n for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {\n args[_key2 - 1] = arguments[_key2];\n }\n\n printWarning('error', format, args);\n }\n }\n}\n\nfunction printWarning(level, format, args) {\n // When changing this logic, you might want to also\n // update consoleWithStackDev.www.js as well.\n {\n var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;\n var stack = ReactDebugCurrentFrame.getStackAddendum();\n\n if (stack !== '') {\n format += '%s';\n args = args.concat([stack]);\n } // eslint-disable-next-line react-internal/safe-string-coercion\n\n\n var argsWithFormat = args.map(function (item) {\n return String(item);\n }); // Careful: RN currently depends on this prefix\n\n argsWithFormat.unshift('Warning: ' + format); // We intentionally don't use spread (or .apply) directly because it\n // breaks IE9: https://github.com/facebook/react/issues/13610\n // eslint-disable-next-line react-internal/no-production-logging\n\n Function.prototype.apply.call(console[level], console, argsWithFormat);\n }\n}\n\n// -----------------------------------------------------------------------------\n\nvar enableScopeAPI = false; // Experimental Create Event Handle API.\nvar enableCacheElement = false;\nvar enableTransitionTracing = false; // No known bugs, but needs performance testing\n\nvar enableLegacyHidden = false; // Enables unstable_avoidThisFallback feature in Fiber\n// stuff. Intended to enable React core members to more easily debug scheduling\n// issues in DEV builds.\n\nvar enableDebugTracing = false; // Track which Fiber(s) schedule render work.\n\nvar REACT_MODULE_REFERENCE;\n\n{\n REACT_MODULE_REFERENCE = Symbol.for('react.module.reference');\n}\n\nfunction isValidElementType(type) {\n if (typeof type === 'string' || typeof type === 'function') {\n return true;\n } // Note: typeof might be other than 'symbol' or 'number' (e.g. if it's a polyfill).\n\n\n if (type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || enableDebugTracing || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || enableLegacyHidden || type === REACT_OFFSCREEN_TYPE || enableScopeAPI || enableCacheElement || enableTransitionTracing ) {\n return true;\n }\n\n if (typeof type === 'object' && type !== null) {\n if (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || // This needs to include all possible module reference object\n // types supported by any Flight configuration anywhere since\n // we don't know which Flight build this will end up being used\n // with.\n type.$$typeof === REACT_MODULE_REFERENCE || type.getModuleId !== undefined) {\n return true;\n }\n }\n\n return false;\n}\n\nfunction getWrappedName(outerType, innerType, wrapperName) {\n var displayName = outerType.displayName;\n\n if (displayName) {\n return displayName;\n }\n\n var functionName = innerType.displayName || innerType.name || '';\n return functionName !== '' ? wrapperName + \"(\" + functionName + \")\" : wrapperName;\n} // Keep in sync with react-reconciler/getComponentNameFromFiber\n\n\nfunction getContextName(type) {\n return type.displayName || 'Context';\n} // Note that the reconciler package should generally prefer to use getComponentNameFromFiber() instead.\n\n\nfunction getComponentNameFromType(type) {\n if (type == null) {\n // Host root, text node or just invalid type.\n return null;\n }\n\n {\n if (typeof type.tag === 'number') {\n error('Received an unexpected object in getComponentNameFromType(). ' + 'This is likely a bug in React. Please file an issue.');\n }\n }\n\n if (typeof type === 'function') {\n return type.displayName || type.name || null;\n }\n\n if (typeof type === 'string') {\n return type;\n }\n\n switch (type) {\n case REACT_FRAGMENT_TYPE:\n return 'Fragment';\n\n case REACT_PORTAL_TYPE:\n return 'Portal';\n\n case REACT_PROFILER_TYPE:\n return 'Profiler';\n\n case REACT_STRICT_MODE_TYPE:\n return 'StrictMode';\n\n case REACT_SUSPENSE_TYPE:\n return 'Suspense';\n\n case REACT_SUSPENSE_LIST_TYPE:\n return 'SuspenseList';\n\n }\n\n if (typeof type === 'object') {\n switch (type.$$typeof) {\n case REACT_CONTEXT_TYPE:\n var context = type;\n return getContextName(context) + '.Consumer';\n\n case REACT_PROVIDER_TYPE:\n var provider = type;\n return getContextName(provider._context) + '.Provider';\n\n case REACT_FORWARD_REF_TYPE:\n return getWrappedName(type, type.render, 'ForwardRef');\n\n case REACT_MEMO_TYPE:\n var outerName = type.displayName || null;\n\n if (outerName !== null) {\n return outerName;\n }\n\n return getComponentNameFromType(type.type) || 'Memo';\n\n case REACT_LAZY_TYPE:\n {\n var lazyComponent = type;\n var payload = lazyComponent._payload;\n var init = lazyComponent._init;\n\n try {\n return getComponentNameFromType(init(payload));\n } catch (x) {\n return null;\n }\n }\n\n // eslint-disable-next-line no-fallthrough\n }\n }\n\n return null;\n}\n\nvar assign = Object.assign;\n\n// Helpers to patch console.logs to avoid logging during side-effect free\n// replaying on render function. This currently only patches the object\n// lazily which won't cover if the log function was extracted eagerly.\n// We could also eagerly patch the method.\nvar disabledDepth = 0;\nvar prevLog;\nvar prevInfo;\nvar prevWarn;\nvar prevError;\nvar prevGroup;\nvar prevGroupCollapsed;\nvar prevGroupEnd;\n\nfunction disabledLog() {}\n\ndisabledLog.__reactDisabledLog = true;\nfunction disableLogs() {\n {\n if (disabledDepth === 0) {\n /* eslint-disable react-internal/no-production-logging */\n prevLog = console.log;\n prevInfo = console.info;\n prevWarn = console.warn;\n prevError = console.error;\n prevGroup = console.group;\n prevGroupCollapsed = console.groupCollapsed;\n prevGroupEnd = console.groupEnd; // https://github.com/facebook/react/issues/19099\n\n var props = {\n configurable: true,\n enumerable: true,\n value: disabledLog,\n writable: true\n }; // $FlowFixMe Flow thinks console is immutable.\n\n Object.defineProperties(console, {\n info: props,\n log: props,\n warn: props,\n error: props,\n group: props,\n groupCollapsed: props,\n groupEnd: props\n });\n /* eslint-enable react-internal/no-production-logging */\n }\n\n disabledDepth++;\n }\n}\nfunction reenableLogs() {\n {\n disabledDepth--;\n\n if (disabledDepth === 0) {\n /* eslint-disable react-internal/no-production-logging */\n var props = {\n configurable: true,\n enumerable: true,\n writable: true\n }; // $FlowFixMe Flow thinks console is immutable.\n\n Object.defineProperties(console, {\n log: assign({}, props, {\n value: prevLog\n }),\n info: assign({}, props, {\n value: prevInfo\n }),\n warn: assign({}, props, {\n value: prevWarn\n }),\n error: assign({}, props, {\n value: prevError\n }),\n group: assign({}, props, {\n value: prevGroup\n }),\n groupCollapsed: assign({}, props, {\n value: prevGroupCollapsed\n }),\n groupEnd: assign({}, props, {\n value: prevGroupEnd\n })\n });\n /* eslint-enable react-internal/no-production-logging */\n }\n\n if (disabledDepth < 0) {\n error('disabledDepth fell below zero. ' + 'This is a bug in React. Please file an issue.');\n }\n }\n}\n\nvar ReactCurrentDispatcher = ReactSharedInternals.ReactCurrentDispatcher;\nvar prefix;\nfunction describeBuiltInComponentFrame(name, source, ownerFn) {\n {\n if (prefix === undefined) {\n // Extract the VM specific prefix used by each line.\n try {\n throw Error();\n } catch (x) {\n var match = x.stack.trim().match(/\\n( *(at )?)/);\n prefix = match && match[1] || '';\n }\n } // We use the prefix to ensure our stacks line up with native stack frames.\n\n\n return '\\n' + prefix + name;\n }\n}\nvar reentry = false;\nvar componentFrameCache;\n\n{\n var PossiblyWeakMap = typeof WeakMap === 'function' ? WeakMap : Map;\n componentFrameCache = new PossiblyWeakMap();\n}\n\nfunction describeNativeComponentFrame(fn, construct) {\n // If something asked for a stack inside a fake render, it should get ignored.\n if ( !fn || reentry) {\n return '';\n }\n\n {\n var frame = componentFrameCache.get(fn);\n\n if (frame !== undefined) {\n return frame;\n }\n }\n\n var control;\n reentry = true;\n var previousPrepareStackTrace = Error.prepareStackTrace; // $FlowFixMe It does accept undefined.\n\n Error.prepareStackTrace = undefined;\n var previousDispatcher;\n\n {\n previousDispatcher = ReactCurrentDispatcher.current; // Set the dispatcher in DEV because this might be call in the render function\n // for warnings.\n\n ReactCurrentDispatcher.current = null;\n disableLogs();\n }\n\n try {\n // This should throw.\n if (construct) {\n // Something should be setting the props in the constructor.\n var Fake = function () {\n throw Error();\n }; // $FlowFixMe\n\n\n Object.defineProperty(Fake.prototype, 'props', {\n set: function () {\n // We use a throwing setter instead of frozen or non-writable props\n // because that won't throw in a non-strict mode function.\n throw Error();\n }\n });\n\n if (typeof Reflect === 'object' && Reflect.construct) {\n // We construct a different control for this case to include any extra\n // frames added by the construct call.\n try {\n Reflect.construct(Fake, []);\n } catch (x) {\n control = x;\n }\n\n Reflect.construct(fn, [], Fake);\n } else {\n try {\n Fake.call();\n } catch (x) {\n control = x;\n }\n\n fn.call(Fake.prototype);\n }\n } else {\n try {\n throw Error();\n } catch (x) {\n control = x;\n }\n\n fn();\n }\n } catch (sample) {\n // This is inlined manually because closure doesn't do it for us.\n if (sample && control && typeof sample.stack === 'string') {\n // This extracts the first frame from the sample that isn't also in the control.\n // Skipping one frame that we assume is the frame that calls the two.\n var sampleLines = sample.stack.split('\\n');\n var controlLines = control.stack.split('\\n');\n var s = sampleLines.length - 1;\n var c = controlLines.length - 1;\n\n while (s >= 1 && c >= 0 && sampleLines[s] !== controlLines[c]) {\n // We expect at least one stack frame to be shared.\n // Typically this will be the root most one. However, stack frames may be\n // cut off due to maximum stack limits. In this case, one maybe cut off\n // earlier than the other. We assume that the sample is longer or the same\n // and there for cut off earlier. So we should find the root most frame in\n // the sample somewhere in the control.\n c--;\n }\n\n for (; s >= 1 && c >= 0; s--, c--) {\n // Next we find the first one that isn't the same which should be the\n // frame that called our sample function and the control.\n if (sampleLines[s] !== controlLines[c]) {\n // In V8, the first line is describing the message but other VMs don't.\n // If we're about to return the first line, and the control is also on the same\n // line, that's a pretty good indicator that our sample threw at same line as\n // the control. I.e. before we entered the sample frame. So we ignore this result.\n // This can happen if you passed a class to function component, or non-function.\n if (s !== 1 || c !== 1) {\n do {\n s--;\n c--; // We may still have similar intermediate frames from the construct call.\n // The next one that isn't the same should be our match though.\n\n if (c < 0 || sampleLines[s] !== controlLines[c]) {\n // V8 adds a \"new\" prefix for native classes. Let's remove it to make it prettier.\n var _frame = '\\n' + sampleLines[s].replace(' at new ', ' at '); // If our component frame is labeled \"\"\n // but we have a user-provided \"displayName\"\n // splice it in to make the stack more readable.\n\n\n if (fn.displayName && _frame.includes('')) {\n _frame = _frame.replace('', fn.displayName);\n }\n\n {\n if (typeof fn === 'function') {\n componentFrameCache.set(fn, _frame);\n }\n } // Return the line we found.\n\n\n return _frame;\n }\n } while (s >= 1 && c >= 0);\n }\n\n break;\n }\n }\n }\n } finally {\n reentry = false;\n\n {\n ReactCurrentDispatcher.current = previousDispatcher;\n reenableLogs();\n }\n\n Error.prepareStackTrace = previousPrepareStackTrace;\n } // Fallback to just using the name if we couldn't make it throw.\n\n\n var name = fn ? fn.displayName || fn.name : '';\n var syntheticFrame = name ? describeBuiltInComponentFrame(name) : '';\n\n {\n if (typeof fn === 'function') {\n componentFrameCache.set(fn, syntheticFrame);\n }\n }\n\n return syntheticFrame;\n}\nfunction describeFunctionComponentFrame(fn, source, ownerFn) {\n {\n return describeNativeComponentFrame(fn, false);\n }\n}\n\nfunction shouldConstruct(Component) {\n var prototype = Component.prototype;\n return !!(prototype && prototype.isReactComponent);\n}\n\nfunction describeUnknownElementTypeFrameInDEV(type, source, ownerFn) {\n\n if (type == null) {\n return '';\n }\n\n if (typeof type === 'function') {\n {\n return describeNativeComponentFrame(type, shouldConstruct(type));\n }\n }\n\n if (typeof type === 'string') {\n return describeBuiltInComponentFrame(type);\n }\n\n switch (type) {\n case REACT_SUSPENSE_TYPE:\n return describeBuiltInComponentFrame('Suspense');\n\n case REACT_SUSPENSE_LIST_TYPE:\n return describeBuiltInComponentFrame('SuspenseList');\n }\n\n if (typeof type === 'object') {\n switch (type.$$typeof) {\n case REACT_FORWARD_REF_TYPE:\n return describeFunctionComponentFrame(type.render);\n\n case REACT_MEMO_TYPE:\n // Memo may contain any component type so we recursively resolve it.\n return describeUnknownElementTypeFrameInDEV(type.type, source, ownerFn);\n\n case REACT_LAZY_TYPE:\n {\n var lazyComponent = type;\n var payload = lazyComponent._payload;\n var init = lazyComponent._init;\n\n try {\n // Lazy may contain any component type so we recursively resolve it.\n return describeUnknownElementTypeFrameInDEV(init(payload), source, ownerFn);\n } catch (x) {}\n }\n }\n }\n\n return '';\n}\n\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\n\nvar loggedTypeFailures = {};\nvar ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;\n\nfunction setCurrentlyValidatingElement(element) {\n {\n if (element) {\n var owner = element._owner;\n var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);\n ReactDebugCurrentFrame.setExtraStackFrame(stack);\n } else {\n ReactDebugCurrentFrame.setExtraStackFrame(null);\n }\n }\n}\n\nfunction checkPropTypes(typeSpecs, values, location, componentName, element) {\n {\n // $FlowFixMe This is okay but Flow doesn't know it.\n var has = Function.call.bind(hasOwnProperty);\n\n for (var typeSpecName in typeSpecs) {\n if (has(typeSpecs, typeSpecName)) {\n var error$1 = void 0; // Prop type validation may throw. In case they do, we don't want to\n // fail the render phase where it didn't fail before. So we log it.\n // After these have been cleaned up, we'll let them throw.\n\n try {\n // This is intentionally an invariant that gets caught. It's the same\n // behavior as without this statement except with a better message.\n if (typeof typeSpecs[typeSpecName] !== 'function') {\n // eslint-disable-next-line react-internal/prod-error-codes\n var err = Error((componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' + 'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.' + 'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.');\n err.name = 'Invariant Violation';\n throw err;\n }\n\n error$1 = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED');\n } catch (ex) {\n error$1 = ex;\n }\n\n if (error$1 && !(error$1 instanceof Error)) {\n setCurrentlyValidatingElement(element);\n\n error('%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).', componentName || 'React class', location, typeSpecName, typeof error$1);\n\n setCurrentlyValidatingElement(null);\n }\n\n if (error$1 instanceof Error && !(error$1.message in loggedTypeFailures)) {\n // Only monitor this failure once because there tends to be a lot of the\n // same error.\n loggedTypeFailures[error$1.message] = true;\n setCurrentlyValidatingElement(element);\n\n error('Failed %s type: %s', location, error$1.message);\n\n setCurrentlyValidatingElement(null);\n }\n }\n }\n }\n}\n\nvar isArrayImpl = Array.isArray; // eslint-disable-next-line no-redeclare\n\nfunction isArray(a) {\n return isArrayImpl(a);\n}\n\n/*\n * The `'' + value` pattern (used in in perf-sensitive code) throws for Symbol\n * and Temporal.* types. See https://github.com/facebook/react/pull/22064.\n *\n * The functions in this module will throw an easier-to-understand,\n * easier-to-debug exception with a clear errors message message explaining the\n * problem. (Instead of a confusing exception thrown inside the implementation\n * of the `value` object).\n */\n// $FlowFixMe only called in DEV, so void return is not possible.\nfunction typeName(value) {\n {\n // toStringTag is needed for namespaced types like Temporal.Instant\n var hasToStringTag = typeof Symbol === 'function' && Symbol.toStringTag;\n var type = hasToStringTag && value[Symbol.toStringTag] || value.constructor.name || 'Object';\n return type;\n }\n} // $FlowFixMe only called in DEV, so void return is not possible.\n\n\nfunction willCoercionThrow(value) {\n {\n try {\n testStringCoercion(value);\n return false;\n } catch (e) {\n return true;\n }\n }\n}\n\nfunction testStringCoercion(value) {\n // If you ended up here by following an exception call stack, here's what's\n // happened: you supplied an object or symbol value to React (as a prop, key,\n // DOM attribute, CSS property, string ref, etc.) and when React tried to\n // coerce it to a string using `'' + value`, an exception was thrown.\n //\n // The most common types that will cause this exception are `Symbol` instances\n // and Temporal objects like `Temporal.Instant`. But any object that has a\n // `valueOf` or `[Symbol.toPrimitive]` method that throws will also cause this\n // exception. (Library authors do this to prevent users from using built-in\n // numeric operators like `+` or comparison operators like `>=` because custom\n // methods are needed to perform accurate arithmetic or comparison.)\n //\n // To fix the problem, coerce this object or symbol value to a string before\n // passing it to React. The most reliable way is usually `String(value)`.\n //\n // To find which value is throwing, check the browser or debugger console.\n // Before this exception was thrown, there should be `console.error` output\n // that shows the type (Symbol, Temporal.PlainDate, etc.) that caused the\n // problem and how that type was used: key, atrribute, input value prop, etc.\n // In most cases, this console output also shows the component and its\n // ancestor components where the exception happened.\n //\n // eslint-disable-next-line react-internal/safe-string-coercion\n return '' + value;\n}\nfunction checkKeyStringCoercion(value) {\n {\n if (willCoercionThrow(value)) {\n error('The provided key is an unsupported type %s.' + ' This value must be coerced to a string before before using it here.', typeName(value));\n\n return testStringCoercion(value); // throw (to help callers find troubleshooting comments)\n }\n }\n}\n\nvar ReactCurrentOwner = ReactSharedInternals.ReactCurrentOwner;\nvar RESERVED_PROPS = {\n key: true,\n ref: true,\n __self: true,\n __source: true\n};\nvar specialPropKeyWarningShown;\nvar specialPropRefWarningShown;\nvar didWarnAboutStringRefs;\n\n{\n didWarnAboutStringRefs = {};\n}\n\nfunction hasValidRef(config) {\n {\n if (hasOwnProperty.call(config, 'ref')) {\n var getter = Object.getOwnPropertyDescriptor(config, 'ref').get;\n\n if (getter && getter.isReactWarning) {\n return false;\n }\n }\n }\n\n return config.ref !== undefined;\n}\n\nfunction hasValidKey(config) {\n {\n if (hasOwnProperty.call(config, 'key')) {\n var getter = Object.getOwnPropertyDescriptor(config, 'key').get;\n\n if (getter && getter.isReactWarning) {\n return false;\n }\n }\n }\n\n return config.key !== undefined;\n}\n\nfunction warnIfStringRefCannotBeAutoConverted(config, self) {\n {\n if (typeof config.ref === 'string' && ReactCurrentOwner.current && self && ReactCurrentOwner.current.stateNode !== self) {\n var componentName = getComponentNameFromType(ReactCurrentOwner.current.type);\n\n if (!didWarnAboutStringRefs[componentName]) {\n error('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', getComponentNameFromType(ReactCurrentOwner.current.type), config.ref);\n\n didWarnAboutStringRefs[componentName] = true;\n }\n }\n }\n}\n\nfunction defineKeyPropWarningGetter(props, displayName) {\n {\n var warnAboutAccessingKey = function () {\n if (!specialPropKeyWarningShown) {\n specialPropKeyWarningShown = true;\n\n error('%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)', displayName);\n }\n };\n\n warnAboutAccessingKey.isReactWarning = true;\n Object.defineProperty(props, 'key', {\n get: warnAboutAccessingKey,\n configurable: true\n });\n }\n}\n\nfunction defineRefPropWarningGetter(props, displayName) {\n {\n var warnAboutAccessingRef = function () {\n if (!specialPropRefWarningShown) {\n specialPropRefWarningShown = true;\n\n error('%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)', displayName);\n }\n };\n\n warnAboutAccessingRef.isReactWarning = true;\n Object.defineProperty(props, 'ref', {\n get: warnAboutAccessingRef,\n configurable: true\n });\n }\n}\n/**\n * Factory method to create a new React element. This no longer adheres to\n * the class pattern, so do not use new to call it. Also, instanceof check\n * will not work. Instead test $$typeof field against Symbol.for('react.element') to check\n * if something is a React Element.\n *\n * @param {*} type\n * @param {*} props\n * @param {*} key\n * @param {string|object} ref\n * @param {*} owner\n * @param {*} self A *temporary* helper to detect places where `this` is\n * different from the `owner` when React.createElement is called, so that we\n * can warn. We want to get rid of owner and replace string `ref`s with arrow\n * functions, and as long as `this` and owner are the same, there will be no\n * change in behavior.\n * @param {*} source An annotation object (added by a transpiler or otherwise)\n * indicating filename, line number, and/or other information.\n * @internal\n */\n\n\nvar ReactElement = function (type, key, ref, self, source, owner, props) {\n var element = {\n // This tag allows us to uniquely identify this as a React Element\n $$typeof: REACT_ELEMENT_TYPE,\n // Built-in properties that belong on the element\n type: type,\n key: key,\n ref: ref,\n props: props,\n // Record the component responsible for creating this element.\n _owner: owner\n };\n\n {\n // The validation flag is currently mutative. We put it on\n // an external backing store so that we can freeze the whole object.\n // This can be replaced with a WeakMap once they are implemented in\n // commonly used development environments.\n element._store = {}; // To make comparing ReactElements easier for testing purposes, we make\n // the validation flag non-enumerable (where possible, which should\n // include every environment we run tests in), so the test framework\n // ignores it.\n\n Object.defineProperty(element._store, 'validated', {\n configurable: false,\n enumerable: false,\n writable: true,\n value: false\n }); // self and source are DEV only properties.\n\n Object.defineProperty(element, '_self', {\n configurable: false,\n enumerable: false,\n writable: false,\n value: self\n }); // Two elements created in two different places should be considered\n // equal for testing purposes and therefore we hide it from enumeration.\n\n Object.defineProperty(element, '_source', {\n configurable: false,\n enumerable: false,\n writable: false,\n value: source\n });\n\n if (Object.freeze) {\n Object.freeze(element.props);\n Object.freeze(element);\n }\n }\n\n return element;\n};\n/**\n * https://github.com/reactjs/rfcs/pull/107\n * @param {*} type\n * @param {object} props\n * @param {string} key\n */\n\nfunction jsxDEV(type, config, maybeKey, source, self) {\n {\n var propName; // Reserved names are extracted\n\n var props = {};\n var key = null;\n var ref = null; // Currently, key can be spread in as a prop. This causes a potential\n // issue if key is also explicitly declared (ie.
\n // or
). We want to deprecate key spread,\n // but as an intermediary step, we will use jsxDEV for everything except\n //
, because we aren't currently able to tell if\n // key is explicitly declared to be undefined or not.\n\n if (maybeKey !== undefined) {\n {\n checkKeyStringCoercion(maybeKey);\n }\n\n key = '' + maybeKey;\n }\n\n if (hasValidKey(config)) {\n {\n checkKeyStringCoercion(config.key);\n }\n\n key = '' + config.key;\n }\n\n if (hasValidRef(config)) {\n ref = config.ref;\n warnIfStringRefCannotBeAutoConverted(config, self);\n } // Remaining properties are added to a new props object\n\n\n for (propName in config) {\n if (hasOwnProperty.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) {\n props[propName] = config[propName];\n }\n } // Resolve default props\n\n\n if (type && type.defaultProps) {\n var defaultProps = type.defaultProps;\n\n for (propName in defaultProps) {\n if (props[propName] === undefined) {\n props[propName] = defaultProps[propName];\n }\n }\n }\n\n if (key || ref) {\n var displayName = typeof type === 'function' ? type.displayName || type.name || 'Unknown' : type;\n\n if (key) {\n defineKeyPropWarningGetter(props, displayName);\n }\n\n if (ref) {\n defineRefPropWarningGetter(props, displayName);\n }\n }\n\n return ReactElement(type, key, ref, self, source, ReactCurrentOwner.current, props);\n }\n}\n\nvar ReactCurrentOwner$1 = ReactSharedInternals.ReactCurrentOwner;\nvar ReactDebugCurrentFrame$1 = ReactSharedInternals.ReactDebugCurrentFrame;\n\nfunction setCurrentlyValidatingElement$1(element) {\n {\n if (element) {\n var owner = element._owner;\n var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);\n ReactDebugCurrentFrame$1.setExtraStackFrame(stack);\n } else {\n ReactDebugCurrentFrame$1.setExtraStackFrame(null);\n }\n }\n}\n\nvar propTypesMisspellWarningShown;\n\n{\n propTypesMisspellWarningShown = false;\n}\n/**\n * Verifies the object is a ReactElement.\n * See https://reactjs.org/docs/react-api.html#isvalidelement\n * @param {?object} object\n * @return {boolean} True if `object` is a ReactElement.\n * @final\n */\n\n\nfunction isValidElement(object) {\n {\n return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;\n }\n}\n\nfunction getDeclarationErrorAddendum() {\n {\n if (ReactCurrentOwner$1.current) {\n var name = getComponentNameFromType(ReactCurrentOwner$1.current.type);\n\n if (name) {\n return '\\n\\nCheck the render method of `' + name + '`.';\n }\n }\n\n return '';\n }\n}\n\nfunction getSourceInfoErrorAddendum(source) {\n {\n if (source !== undefined) {\n var fileName = source.fileName.replace(/^.*[\\\\\\/]/, '');\n var lineNumber = source.lineNumber;\n return '\\n\\nCheck your code at ' + fileName + ':' + lineNumber + '.';\n }\n\n return '';\n }\n}\n/**\n * Warn if there's no key explicitly set on dynamic arrays of children or\n * object keys are not valid. This allows us to keep track of children between\n * updates.\n */\n\n\nvar ownerHasKeyUseWarning = {};\n\nfunction getCurrentComponentErrorInfo(parentType) {\n {\n var info = getDeclarationErrorAddendum();\n\n if (!info) {\n var parentName = typeof parentType === 'string' ? parentType : parentType.displayName || parentType.name;\n\n if (parentName) {\n info = \"\\n\\nCheck the top-level render call using <\" + parentName + \">.\";\n }\n }\n\n return info;\n }\n}\n/**\n * Warn if the element doesn't have an explicit key assigned to it.\n * This element is in an array. The array could grow and shrink or be\n * reordered. All children that haven't already been validated are required to\n * have a \"key\" property assigned to it. Error statuses are cached so a warning\n * will only be shown once.\n *\n * @internal\n * @param {ReactElement} element Element that requires a key.\n * @param {*} parentType element's parent's type.\n */\n\n\nfunction validateExplicitKey(element, parentType) {\n {\n if (!element._store || element._store.validated || element.key != null) {\n return;\n }\n\n element._store.validated = true;\n var currentComponentErrorInfo = getCurrentComponentErrorInfo(parentType);\n\n if (ownerHasKeyUseWarning[currentComponentErrorInfo]) {\n return;\n }\n\n ownerHasKeyUseWarning[currentComponentErrorInfo] = true; // Usually the current owner is the offender, but if it accepts children as a\n // property, it may be the creator of the child that's responsible for\n // assigning it a key.\n\n var childOwner = '';\n\n if (element && element._owner && element._owner !== ReactCurrentOwner$1.current) {\n // Give the component that originally created this child.\n childOwner = \" It was passed a child from \" + getComponentNameFromType(element._owner.type) + \".\";\n }\n\n setCurrentlyValidatingElement$1(element);\n\n error('Each child in a list should have a unique \"key\" prop.' + '%s%s See https://reactjs.org/link/warning-keys for more information.', currentComponentErrorInfo, childOwner);\n\n setCurrentlyValidatingElement$1(null);\n }\n}\n/**\n * Ensure that every element either is passed in a static location, in an\n * array with an explicit keys property defined, or in an object literal\n * with valid key property.\n *\n * @internal\n * @param {ReactNode} node Statically passed child of any type.\n * @param {*} parentType node's parent's type.\n */\n\n\nfunction validateChildKeys(node, parentType) {\n {\n if (typeof node !== 'object') {\n return;\n }\n\n if (isArray(node)) {\n for (var i = 0; i < node.length; i++) {\n var child = node[i];\n\n if (isValidElement(child)) {\n validateExplicitKey(child, parentType);\n }\n }\n } else if (isValidElement(node)) {\n // This element was passed in a valid location.\n if (node._store) {\n node._store.validated = true;\n }\n } else if (node) {\n var iteratorFn = getIteratorFn(node);\n\n if (typeof iteratorFn === 'function') {\n // Entry iterators used to provide implicit keys,\n // but now we print a separate warning for them later.\n if (iteratorFn !== node.entries) {\n var iterator = iteratorFn.call(node);\n var step;\n\n while (!(step = iterator.next()).done) {\n if (isValidElement(step.value)) {\n validateExplicitKey(step.value, parentType);\n }\n }\n }\n }\n }\n }\n}\n/**\n * Given an element, validate that its props follow the propTypes definition,\n * provided by the type.\n *\n * @param {ReactElement} element\n */\n\n\nfunction validatePropTypes(element) {\n {\n var type = element.type;\n\n if (type === null || type === undefined || typeof type === 'string') {\n return;\n }\n\n var propTypes;\n\n if (typeof type === 'function') {\n propTypes = type.propTypes;\n } else if (typeof type === 'object' && (type.$$typeof === REACT_FORWARD_REF_TYPE || // Note: Memo only checks outer props here.\n // Inner props are checked in the reconciler.\n type.$$typeof === REACT_MEMO_TYPE)) {\n propTypes = type.propTypes;\n } else {\n return;\n }\n\n if (propTypes) {\n // Intentionally inside to avoid triggering lazy initializers:\n var name = getComponentNameFromType(type);\n checkPropTypes(propTypes, element.props, 'prop', name, element);\n } else if (type.PropTypes !== undefined && !propTypesMisspellWarningShown) {\n propTypesMisspellWarningShown = true; // Intentionally inside to avoid triggering lazy initializers:\n\n var _name = getComponentNameFromType(type);\n\n error('Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?', _name || 'Unknown');\n }\n\n if (typeof type.getDefaultProps === 'function' && !type.getDefaultProps.isReactClassApproved) {\n error('getDefaultProps is only used on classic React.createClass ' + 'definitions. Use a static property named `defaultProps` instead.');\n }\n }\n}\n/**\n * Given a fragment, validate that it can only be provided with fragment props\n * @param {ReactElement} fragment\n */\n\n\nfunction validateFragmentProps(fragment) {\n {\n var keys = Object.keys(fragment.props);\n\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n\n if (key !== 'children' && key !== 'key') {\n setCurrentlyValidatingElement$1(fragment);\n\n error('Invalid prop `%s` supplied to `React.Fragment`. ' + 'React.Fragment can only have `key` and `children` props.', key);\n\n setCurrentlyValidatingElement$1(null);\n break;\n }\n }\n\n if (fragment.ref !== null) {\n setCurrentlyValidatingElement$1(fragment);\n\n error('Invalid attribute `ref` supplied to `React.Fragment`.');\n\n setCurrentlyValidatingElement$1(null);\n }\n }\n}\n\nfunction jsxWithValidation(type, props, key, isStaticChildren, source, self) {\n {\n var validType = isValidElementType(type); // We warn in this case but don't throw. We expect the element creation to\n // succeed and there will likely be errors in render.\n\n if (!validType) {\n var info = '';\n\n if (type === undefined || typeof type === 'object' && type !== null && Object.keys(type).length === 0) {\n info += ' You likely forgot to export your component from the file ' + \"it's defined in, or you might have mixed up default and named imports.\";\n }\n\n var sourceInfo = getSourceInfoErrorAddendum(source);\n\n if (sourceInfo) {\n info += sourceInfo;\n } else {\n info += getDeclarationErrorAddendum();\n }\n\n var typeString;\n\n if (type === null) {\n typeString = 'null';\n } else if (isArray(type)) {\n typeString = 'array';\n } else if (type !== undefined && type.$$typeof === REACT_ELEMENT_TYPE) {\n typeString = \"<\" + (getComponentNameFromType(type.type) || 'Unknown') + \" />\";\n info = ' Did you accidentally export a JSX literal instead of a component?';\n } else {\n typeString = typeof type;\n }\n\n error('React.jsx: type is invalid -- expected a string (for ' + 'built-in components) or a class/function (for composite ' + 'components) but got: %s.%s', typeString, info);\n }\n\n var element = jsxDEV(type, props, key, source, self); // The result can be nullish if a mock or a custom function is used.\n // TODO: Drop this when these are no longer allowed as the type argument.\n\n if (element == null) {\n return element;\n } // Skip key warning if the type isn't valid since our key validation logic\n // doesn't expect a non-string/function type and can throw confusing errors.\n // We don't want exception behavior to differ between dev and prod.\n // (Rendering will throw with a helpful message and as soon as the type is\n // fixed, the key warnings will appear.)\n\n\n if (validType) {\n var children = props.children;\n\n if (children !== undefined) {\n if (isStaticChildren) {\n if (isArray(children)) {\n for (var i = 0; i < children.length; i++) {\n validateChildKeys(children[i], type);\n }\n\n if (Object.freeze) {\n Object.freeze(children);\n }\n } else {\n error('React.jsx: Static children should always be an array. ' + 'You are likely explicitly calling React.jsxs or React.jsxDEV. ' + 'Use the Babel transform instead.');\n }\n } else {\n validateChildKeys(children, type);\n }\n }\n }\n\n if (type === REACT_FRAGMENT_TYPE) {\n validateFragmentProps(element);\n } else {\n validatePropTypes(element);\n }\n\n return element;\n }\n} // These two functions exist to still get child warnings in dev\n// even with the prod transform. This means that jsxDEV is purely\n// opt-in behavior for better messages but that we won't stop\n// giving you warnings if you use production apis.\n\nfunction jsxWithValidationStatic(type, props, key) {\n {\n return jsxWithValidation(type, props, key, true);\n }\n}\nfunction jsxWithValidationDynamic(type, props, key) {\n {\n return jsxWithValidation(type, props, key, false);\n }\n}\n\nvar jsx = jsxWithValidationDynamic ; // we may want to special case jsxs internally to take advantage of static children.\n// for now we can ship identical prod functions\n\nvar jsxs = jsxWithValidationStatic ;\n\nexports.Fragment = REACT_FRAGMENT_TYPE;\nexports.jsx = jsx;\nexports.jsxs = jsxs;\n })();\n}\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-jsx-runtime.production.min.js');\n} else {\n module.exports = require('./cjs/react-jsx-runtime.development.js');\n}\n","/******************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {\r\n function accept(f) { if (f !== void 0 && typeof f !== \"function\") throw new TypeError(\"Function expected\"); return f; }\r\n var kind = contextIn.kind, key = kind === \"getter\" ? \"get\" : kind === \"setter\" ? \"set\" : \"value\";\r\n var target = !descriptorIn && ctor ? contextIn[\"static\"] ? ctor : ctor.prototype : null;\r\n var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});\r\n var _, done = false;\r\n for (var i = decorators.length - 1; i >= 0; i--) {\r\n var context = {};\r\n for (var p in contextIn) context[p] = p === \"access\" ? {} : contextIn[p];\r\n for (var p in contextIn.access) context.access[p] = contextIn.access[p];\r\n context.addInitializer = function (f) { if (done) throw new TypeError(\"Cannot add initializers after decoration has completed\"); extraInitializers.push(accept(f || null)); };\r\n var result = (0, decorators[i])(kind === \"accessor\" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);\r\n if (kind === \"accessor\") {\r\n if (result === void 0) continue;\r\n if (result === null || typeof result !== \"object\") throw new TypeError(\"Object expected\");\r\n if (_ = accept(result.get)) descriptor.get = _;\r\n if (_ = accept(result.set)) descriptor.set = _;\r\n if (_ = accept(result.init)) initializers.push(_);\r\n }\r\n else if (_ = accept(result)) {\r\n if (kind === \"field\") initializers.push(_);\r\n else descriptor[key] = _;\r\n }\r\n }\r\n if (target) Object.defineProperty(target, contextIn.name, descriptor);\r\n done = true;\r\n};\r\n\r\nexport function __runInitializers(thisArg, initializers, value) {\r\n var useValue = arguments.length > 2;\r\n for (var i = 0; i < initializers.length; i++) {\r\n value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);\r\n }\r\n return useValue ? value : void 0;\r\n};\r\n\r\nexport function __propKey(x) {\r\n return typeof x === \"symbol\" ? x : \"\".concat(x);\r\n};\r\n\r\nexport function __setFunctionName(f, name, prefix) {\r\n if (typeof name === \"symbol\") name = name.description ? \"[\".concat(name.description, \"]\") : \"\";\r\n return Object.defineProperty(f, \"name\", { configurable: true, value: prefix ? \"\".concat(prefix, \" \", name) : name });\r\n};\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n var desc = Object.getOwnPropertyDescriptor(m, k);\r\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\r\n desc = { enumerable: true, get: function() { return m[k]; } };\r\n }\r\n Object.defineProperty(o, k2, desc);\r\n}) : (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n});\r\n\r\nexport function __exportStar(m, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n}\r\n\r\nexport function __spreadArray(to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n}\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nvar __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n o[\"default\"] = v;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\r\n __setModuleDefault(result, mod);\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n}\r\n\r\nexport function __classPrivateFieldIn(state, receiver) {\r\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\r\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\r\n}\r\n","function memoize(fn) {\n var cache = Object.create(null);\n return function (arg) {\n if (cache[arg] === undefined) cache[arg] = fn(arg);\n return cache[arg];\n };\n}\n\nexport { memoize as default };\n","import memoize from '@emotion/memoize';\n\nvar reactPropsRegex = /^((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)-.*))$/; // https://esbench.com/bench/5bfee68a4cd7e6009ef61d23\n\nvar isPropValid = /* #__PURE__ */memoize(function (prop) {\n return reactPropsRegex.test(prop) || prop.charCodeAt(0) === 111\n /* o */\n && prop.charCodeAt(1) === 110\n /* n */\n && prop.charCodeAt(2) < 91;\n}\n/* Z+1 */\n);\n\nexport { isPropValid as default };\n","export var MS = '-ms-'\nexport var MOZ = '-moz-'\nexport var WEBKIT = '-webkit-'\n\nexport var COMMENT = 'comm'\nexport var RULESET = 'rule'\nexport var DECLARATION = 'decl'\n\nexport var PAGE = '@page'\nexport var MEDIA = '@media'\nexport var IMPORT = '@import'\nexport var CHARSET = '@charset'\nexport var VIEWPORT = '@viewport'\nexport var SUPPORTS = '@supports'\nexport var DOCUMENT = '@document'\nexport var NAMESPACE = '@namespace'\nexport var KEYFRAMES = '@keyframes'\nexport var FONT_FACE = '@font-face'\nexport var COUNTER_STYLE = '@counter-style'\nexport var FONT_FEATURE_VALUES = '@font-feature-values'\nexport var LAYER = '@layer'\n","/**\n * @param {number}\n * @return {number}\n */\nexport var abs = Math.abs\n\n/**\n * @param {number}\n * @return {string}\n */\nexport var from = String.fromCharCode\n\n/**\n * @param {object}\n * @return {object}\n */\nexport var assign = Object.assign\n\n/**\n * @param {string} value\n * @param {number} length\n * @return {number}\n */\nexport function hash (value, length) {\n\treturn charat(value, 0) ^ 45 ? (((((((length << 2) ^ charat(value, 0)) << 2) ^ charat(value, 1)) << 2) ^ charat(value, 2)) << 2) ^ charat(value, 3) : 0\n}\n\n/**\n * @param {string} value\n * @return {string}\n */\nexport function trim (value) {\n\treturn value.trim()\n}\n\n/**\n * @param {string} value\n * @param {RegExp} pattern\n * @return {string?}\n */\nexport function match (value, pattern) {\n\treturn (value = pattern.exec(value)) ? value[0] : value\n}\n\n/**\n * @param {string} value\n * @param {(string|RegExp)} pattern\n * @param {string} replacement\n * @return {string}\n */\nexport function replace (value, pattern, replacement) {\n\treturn value.replace(pattern, replacement)\n}\n\n/**\n * @param {string} value\n * @param {string} search\n * @param {number} position\n * @return {number}\n */\nexport function indexof (value, search, position) {\n\treturn value.indexOf(search, position)\n}\n\n/**\n * @param {string} value\n * @param {number} index\n * @return {number}\n */\nexport function charat (value, index) {\n\treturn value.charCodeAt(index) | 0\n}\n\n/**\n * @param {string} value\n * @param {number} begin\n * @param {number} end\n * @return {string}\n */\nexport function substr (value, begin, end) {\n\treturn value.slice(begin, end)\n}\n\n/**\n * @param {string} value\n * @return {number}\n */\nexport function strlen (value) {\n\treturn value.length\n}\n\n/**\n * @param {any[]} value\n * @return {number}\n */\nexport function sizeof (value) {\n\treturn value.length\n}\n\n/**\n * @param {any} value\n * @param {any[]} array\n * @return {any}\n */\nexport function append (value, array) {\n\treturn array.push(value), value\n}\n\n/**\n * @param {string[]} array\n * @param {function} callback\n * @return {string}\n */\nexport function combine (array, callback) {\n\treturn array.map(callback).join('')\n}\n\n/**\n * @param {string[]} array\n * @param {RegExp} pattern\n * @return {string[]}\n */\nexport function filter (array, pattern) {\n\treturn array.filter(function (value) { return !match(value, pattern) })\n}\n","import {from, trim, charat, strlen, substr, append, assign} from './Utility.js'\n\nexport var line = 1\nexport var column = 1\nexport var length = 0\nexport var position = 0\nexport var character = 0\nexport var characters = ''\n\n/**\n * @param {string} value\n * @param {object | null} root\n * @param {object | null} parent\n * @param {string} type\n * @param {string[] | string} props\n * @param {object[] | string} children\n * @param {object[]} siblings\n * @param {number} length\n */\nexport function node (value, root, parent, type, props, children, length, siblings) {\n\treturn {value: value, root: root, parent: parent, type: type, props: props, children: children, line: line, column: column, length: length, return: '', siblings: siblings}\n}\n\n/**\n * @param {object} root\n * @param {object} props\n * @return {object}\n */\nexport function copy (root, props) {\n\treturn assign(node('', null, null, '', null, null, 0, root.siblings), root, {length: -root.length}, props)\n}\n\n/**\n * @param {object} root\n */\nexport function lift (root) {\n\twhile (root.root)\n\t\troot = copy(root.root, {children: [root]})\n\n\tappend(root, root.siblings)\n}\n\n/**\n * @return {number}\n */\nexport function char () {\n\treturn character\n}\n\n/**\n * @return {number}\n */\nexport function prev () {\n\tcharacter = position > 0 ? charat(characters, --position) : 0\n\n\tif (column--, character === 10)\n\t\tcolumn = 1, line--\n\n\treturn character\n}\n\n/**\n * @return {number}\n */\nexport function next () {\n\tcharacter = position < length ? charat(characters, position++) : 0\n\n\tif (column++, character === 10)\n\t\tcolumn = 1, line++\n\n\treturn character\n}\n\n/**\n * @return {number}\n */\nexport function peek () {\n\treturn charat(characters, position)\n}\n\n/**\n * @return {number}\n */\nexport function caret () {\n\treturn position\n}\n\n/**\n * @param {number} begin\n * @param {number} end\n * @return {string}\n */\nexport function slice (begin, end) {\n\treturn substr(characters, begin, end)\n}\n\n/**\n * @param {number} type\n * @return {number}\n */\nexport function token (type) {\n\tswitch (type) {\n\t\t// \\0 \\t \\n \\r \\s whitespace token\n\t\tcase 0: case 9: case 10: case 13: case 32:\n\t\t\treturn 5\n\t\t// ! + , / > @ ~ isolate token\n\t\tcase 33: case 43: case 44: case 47: case 62: case 64: case 126:\n\t\t// ; { } breakpoint token\n\t\tcase 59: case 123: case 125:\n\t\t\treturn 4\n\t\t// : accompanied token\n\t\tcase 58:\n\t\t\treturn 3\n\t\t// \" ' ( [ opening delimit token\n\t\tcase 34: case 39: case 40: case 91:\n\t\t\treturn 2\n\t\t// ) ] closing delimit token\n\t\tcase 41: case 93:\n\t\t\treturn 1\n\t}\n\n\treturn 0\n}\n\n/**\n * @param {string} value\n * @return {any[]}\n */\nexport function alloc (value) {\n\treturn line = column = 1, length = strlen(characters = value), position = 0, []\n}\n\n/**\n * @param {any} value\n * @return {any}\n */\nexport function dealloc (value) {\n\treturn characters = '', value\n}\n\n/**\n * @param {number} type\n * @return {string}\n */\nexport function delimit (type) {\n\treturn trim(slice(position - 1, delimiter(type === 91 ? type + 2 : type === 40 ? type + 1 : type)))\n}\n\n/**\n * @param {string} value\n * @return {string[]}\n */\nexport function tokenize (value) {\n\treturn dealloc(tokenizer(alloc(value)))\n}\n\n/**\n * @param {number} type\n * @return {string}\n */\nexport function whitespace (type) {\n\twhile (character = peek())\n\t\tif (character < 33)\n\t\t\tnext()\n\t\telse\n\t\t\tbreak\n\n\treturn token(type) > 2 || token(character) > 3 ? '' : ' '\n}\n\n/**\n * @param {string[]} children\n * @return {string[]}\n */\nexport function tokenizer (children) {\n\twhile (next())\n\t\tswitch (token(character)) {\n\t\t\tcase 0: append(identifier(position - 1), children)\n\t\t\t\tbreak\n\t\t\tcase 2: append(delimit(character), children)\n\t\t\t\tbreak\n\t\t\tdefault: append(from(character), children)\n\t\t}\n\n\treturn children\n}\n\n/**\n * @param {number} index\n * @param {number} count\n * @return {string}\n */\nexport function escaping (index, count) {\n\twhile (--count && next())\n\t\t// not 0-9 A-F a-f\n\t\tif (character < 48 || character > 102 || (character > 57 && character < 65) || (character > 70 && character < 97))\n\t\t\tbreak\n\n\treturn slice(index, caret() + (count < 6 && peek() == 32 && next() == 32))\n}\n\n/**\n * @param {number} type\n * @return {number}\n */\nexport function delimiter (type) {\n\twhile (next())\n\t\tswitch (character) {\n\t\t\t// ] ) \" '\n\t\t\tcase type:\n\t\t\t\treturn position\n\t\t\t// \" '\n\t\t\tcase 34: case 39:\n\t\t\t\tif (type !== 34 && type !== 39)\n\t\t\t\t\tdelimiter(character)\n\t\t\t\tbreak\n\t\t\t// (\n\t\t\tcase 40:\n\t\t\t\tif (type === 41)\n\t\t\t\t\tdelimiter(type)\n\t\t\t\tbreak\n\t\t\t// \\\n\t\t\tcase 92:\n\t\t\t\tnext()\n\t\t\t\tbreak\n\t\t}\n\n\treturn position\n}\n\n/**\n * @param {number} type\n * @param {number} index\n * @return {number}\n */\nexport function commenter (type, index) {\n\twhile (next())\n\t\t// //\n\t\tif (type + character === 47 + 10)\n\t\t\tbreak\n\t\t// /*\n\t\telse if (type + character === 42 + 42 && peek() === 47)\n\t\t\tbreak\n\n\treturn '/*' + slice(index, position - 1) + '*' + from(type === 47 ? type : next())\n}\n\n/**\n * @param {number} index\n * @return {string}\n */\nexport function identifier (index) {\n\twhile (!token(peek()))\n\t\tnext()\n\n\treturn slice(index, position)\n}\n","import {COMMENT, RULESET, DECLARATION} from './Enum.js'\nimport {abs, charat, trim, from, sizeof, strlen, substr, append, replace, indexof} from './Utility.js'\nimport {node, char, prev, next, peek, caret, alloc, dealloc, delimit, whitespace, escaping, identifier, commenter} from './Tokenizer.js'\n\n/**\n * @param {string} value\n * @return {object[]}\n */\nexport function compile (value) {\n\treturn dealloc(parse('', null, null, null, [''], value = alloc(value), 0, [0], value))\n}\n\n/**\n * @param {string} value\n * @param {object} root\n * @param {object?} parent\n * @param {string[]} rule\n * @param {string[]} rules\n * @param {string[]} rulesets\n * @param {number[]} pseudo\n * @param {number[]} points\n * @param {string[]} declarations\n * @return {object}\n */\nexport function parse (value, root, parent, rule, rules, rulesets, pseudo, points, declarations) {\n\tvar index = 0\n\tvar offset = 0\n\tvar length = pseudo\n\tvar atrule = 0\n\tvar property = 0\n\tvar previous = 0\n\tvar variable = 1\n\tvar scanning = 1\n\tvar ampersand = 1\n\tvar character = 0\n\tvar type = ''\n\tvar props = rules\n\tvar children = rulesets\n\tvar reference = rule\n\tvar characters = type\n\n\twhile (scanning)\n\t\tswitch (previous = character, character = next()) {\n\t\t\t// (\n\t\t\tcase 40:\n\t\t\t\tif (previous != 108 && charat(characters, length - 1) == 58) {\n\t\t\t\t\tif (indexof(characters += replace(delimit(character), '&', '&\\f'), '&\\f', abs(index ? points[index - 1] : 0)) != -1)\n\t\t\t\t\t\tampersand = -1\n\t\t\t\t\tbreak\n\t\t\t\t}\n\t\t\t// \" ' [\n\t\t\tcase 34: case 39: case 91:\n\t\t\t\tcharacters += delimit(character)\n\t\t\t\tbreak\n\t\t\t// \\t \\n \\r \\s\n\t\t\tcase 9: case 10: case 13: case 32:\n\t\t\t\tcharacters += whitespace(previous)\n\t\t\t\tbreak\n\t\t\t// \\\n\t\t\tcase 92:\n\t\t\t\tcharacters += escaping(caret() - 1, 7)\n\t\t\t\tcontinue\n\t\t\t// /\n\t\t\tcase 47:\n\t\t\t\tswitch (peek()) {\n\t\t\t\t\tcase 42: case 47:\n\t\t\t\t\t\tappend(comment(commenter(next(), caret()), root, parent, declarations), declarations)\n\t\t\t\t\t\tbreak\n\t\t\t\t\tdefault:\n\t\t\t\t\t\tcharacters += '/'\n\t\t\t\t}\n\t\t\t\tbreak\n\t\t\t// {\n\t\t\tcase 123 * variable:\n\t\t\t\tpoints[index++] = strlen(characters) * ampersand\n\t\t\t// } ; \\0\n\t\t\tcase 125 * variable: case 59: case 0:\n\t\t\t\tswitch (character) {\n\t\t\t\t\t// \\0 }\n\t\t\t\t\tcase 0: case 125: scanning = 0\n\t\t\t\t\t// ;\n\t\t\t\t\tcase 59 + offset: if (ampersand == -1) characters = replace(characters, /\\f/g, '')\n\t\t\t\t\t\tif (property > 0 && (strlen(characters) - length))\n\t\t\t\t\t\t\tappend(property > 32 ? declaration(characters + ';', rule, parent, length - 1, declarations) : declaration(replace(characters, ' ', '') + ';', rule, parent, length - 2, declarations), declarations)\n\t\t\t\t\t\tbreak\n\t\t\t\t\t// @ ;\n\t\t\t\t\tcase 59: characters += ';'\n\t\t\t\t\t// { rule/at-rule\n\t\t\t\t\tdefault:\n\t\t\t\t\t\tappend(reference = ruleset(characters, root, parent, index, offset, rules, points, type, props = [], children = [], length, rulesets), rulesets)\n\n\t\t\t\t\t\tif (character === 123)\n\t\t\t\t\t\t\tif (offset === 0)\n\t\t\t\t\t\t\t\tparse(characters, root, reference, reference, props, rulesets, length, points, children)\n\t\t\t\t\t\t\telse\n\t\t\t\t\t\t\t\tswitch (atrule === 99 && charat(characters, 3) === 110 ? 100 : atrule) {\n\t\t\t\t\t\t\t\t\t// d l m s\n\t\t\t\t\t\t\t\t\tcase 100: case 108: case 109: case 115:\n\t\t\t\t\t\t\t\t\t\tparse(value, reference, reference, rule && append(ruleset(value, reference, reference, 0, 0, rules, points, type, rules, props = [], length, children), children), rules, children, length, points, rule ? props : children)\n\t\t\t\t\t\t\t\t\t\tbreak\n\t\t\t\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\t\t\t\tparse(characters, reference, reference, reference, [''], children, 0, points, children)\n\t\t\t\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tindex = offset = property = 0, variable = ampersand = 1, type = characters = '', length = pseudo\n\t\t\t\tbreak\n\t\t\t// :\n\t\t\tcase 58:\n\t\t\t\tlength = 1 + strlen(characters), property = previous\n\t\t\tdefault:\n\t\t\t\tif (variable < 1)\n\t\t\t\t\tif (character == 123)\n\t\t\t\t\t\t--variable\n\t\t\t\t\telse if (character == 125 && variable++ == 0 && prev() == 125)\n\t\t\t\t\t\tcontinue\n\n\t\t\t\tswitch (characters += from(character), character * variable) {\n\t\t\t\t\t// &\n\t\t\t\t\tcase 38:\n\t\t\t\t\t\tampersand = offset > 0 ? 1 : (characters += '\\f', -1)\n\t\t\t\t\t\tbreak\n\t\t\t\t\t// ,\n\t\t\t\t\tcase 44:\n\t\t\t\t\t\tpoints[index++] = (strlen(characters) - 1) * ampersand, ampersand = 1\n\t\t\t\t\t\tbreak\n\t\t\t\t\t// @\n\t\t\t\t\tcase 64:\n\t\t\t\t\t\t// -\n\t\t\t\t\t\tif (peek() === 45)\n\t\t\t\t\t\t\tcharacters += delimit(next())\n\n\t\t\t\t\t\tatrule = peek(), offset = length = strlen(type = characters += identifier(caret())), character++\n\t\t\t\t\t\tbreak\n\t\t\t\t\t// -\n\t\t\t\t\tcase 45:\n\t\t\t\t\t\tif (previous === 45 && strlen(characters) == 2)\n\t\t\t\t\t\t\tvariable = 0\n\t\t\t\t}\n\t\t}\n\n\treturn rulesets\n}\n\n/**\n * @param {string} value\n * @param {object} root\n * @param {object?} parent\n * @param {number} index\n * @param {number} offset\n * @param {string[]} rules\n * @param {number[]} points\n * @param {string} type\n * @param {string[]} props\n * @param {string[]} children\n * @param {number} length\n * @param {object[]} siblings\n * @return {object}\n */\nexport function ruleset (value, root, parent, index, offset, rules, points, type, props, children, length, siblings) {\n\tvar post = offset - 1\n\tvar rule = offset === 0 ? rules : ['']\n\tvar size = sizeof(rule)\n\n\tfor (var i = 0, j = 0, k = 0; i < index; ++i)\n\t\tfor (var x = 0, y = substr(value, post + 1, post = abs(j = points[i])), z = value; x < size; ++x)\n\t\t\tif (z = trim(j > 0 ? rule[x] + ' ' + y : replace(y, /&\\f/g, rule[x])))\n\t\t\t\tprops[k++] = z\n\n\treturn node(value, root, parent, offset === 0 ? RULESET : type, props, children, length, siblings)\n}\n\n/**\n * @param {number} value\n * @param {object} root\n * @param {object?} parent\n * @param {object[]} siblings\n * @return {object}\n */\nexport function comment (value, root, parent, siblings) {\n\treturn node(value, root, parent, COMMENT, from(char()), substr(value, 2, -2), 0, siblings)\n}\n\n/**\n * @param {string} value\n * @param {object} root\n * @param {object?} parent\n * @param {number} length\n * @param {object[]} siblings\n * @return {object}\n */\nexport function declaration (value, root, parent, length, siblings) {\n\treturn node(value, root, parent, DECLARATION, substr(value, 0, length), substr(value, length + 1, -1), length, siblings)\n}\n","import {MS, MOZ, WEBKIT} from './Enum.js'\nimport {hash, charat, strlen, indexof, replace, substr, match} from './Utility.js'\n\n/**\n * @param {string} value\n * @param {number} length\n * @param {object[]} children\n * @return {string}\n */\nexport function prefix (value, length, children) {\n\tswitch (hash(value, length)) {\n\t\t// color-adjust\n\t\tcase 5103:\n\t\t\treturn WEBKIT + 'print-' + value + value\n\t\t// animation, animation-(delay|direction|duration|fill-mode|iteration-count|name|play-state|timing-function)\n\t\tcase 5737: case 4201: case 3177: case 3433: case 1641: case 4457: case 2921:\n\t\t// text-decoration, filter, clip-path, backface-visibility, column, box-decoration-break\n\t\tcase 5572: case 6356: case 5844: case 3191: case 6645: case 3005:\n\t\t// mask, mask-image, mask-(mode|clip|size), mask-(repeat|origin), mask-position, mask-composite,\n\t\tcase 6391: case 5879: case 5623: case 6135: case 4599: case 4855:\n\t\t// background-clip, columns, column-(count|fill|gap|rule|rule-color|rule-style|rule-width|span|width)\n\t\tcase 4215: case 6389: case 5109: case 5365: case 5621: case 3829:\n\t\t\treturn WEBKIT + value + value\n\t\t// tab-size\n\t\tcase 4789:\n\t\t\treturn MOZ + value + value\n\t\t// appearance, user-select, transform, hyphens, text-size-adjust\n\t\tcase 5349: case 4246: case 4810: case 6968: case 2756:\n\t\t\treturn WEBKIT + value + MOZ + value + MS + value + value\n\t\t// writing-mode\n\t\tcase 5936:\n\t\t\tswitch (charat(value, length + 11)) {\n\t\t\t\t// vertical-l(r)\n\t\t\t\tcase 114:\n\t\t\t\t\treturn WEBKIT + value + MS + replace(value, /[svh]\\w+-[tblr]{2}/, 'tb') + value\n\t\t\t\t// vertical-r(l)\n\t\t\t\tcase 108:\n\t\t\t\t\treturn WEBKIT + value + MS + replace(value, /[svh]\\w+-[tblr]{2}/, 'tb-rl') + value\n\t\t\t\t// horizontal(-)tb\n\t\t\t\tcase 45:\n\t\t\t\t\treturn WEBKIT + value + MS + replace(value, /[svh]\\w+-[tblr]{2}/, 'lr') + value\n\t\t\t\t// default: fallthrough to below\n\t\t\t}\n\t\t// flex, flex-direction, scroll-snap-type, writing-mode\n\t\tcase 6828: case 4268: case 2903:\n\t\t\treturn WEBKIT + value + MS + value + value\n\t\t// order\n\t\tcase 6165:\n\t\t\treturn WEBKIT + value + MS + 'flex-' + value + value\n\t\t// align-items\n\t\tcase 5187:\n\t\t\treturn WEBKIT + value + replace(value, /(\\w+).+(:[^]+)/, WEBKIT + 'box-$1$2' + MS + 'flex-$1$2') + value\n\t\t// align-self\n\t\tcase 5443:\n\t\t\treturn WEBKIT + value + MS + 'flex-item-' + replace(value, /flex-|-self/g, '') + (!match(value, /flex-|baseline/) ? MS + 'grid-row-' + replace(value, /flex-|-self/g, '') : '') + value\n\t\t// align-content\n\t\tcase 4675:\n\t\t\treturn WEBKIT + value + MS + 'flex-line-pack' + replace(value, /align-content|flex-|-self/g, '') + value\n\t\t// flex-shrink\n\t\tcase 5548:\n\t\t\treturn WEBKIT + value + MS + replace(value, 'shrink', 'negative') + value\n\t\t// flex-basis\n\t\tcase 5292:\n\t\t\treturn WEBKIT + value + MS + replace(value, 'basis', 'preferred-size') + value\n\t\t// flex-grow\n\t\tcase 6060:\n\t\t\treturn WEBKIT + 'box-' + replace(value, '-grow', '') + WEBKIT + value + MS + replace(value, 'grow', 'positive') + value\n\t\t// transition\n\t\tcase 4554:\n\t\t\treturn WEBKIT + replace(value, /([^-])(transform)/g, '$1' + WEBKIT + '$2') + value\n\t\t// cursor\n\t\tcase 6187:\n\t\t\treturn replace(replace(replace(value, /(zoom-|grab)/, WEBKIT + '$1'), /(image-set)/, WEBKIT + '$1'), value, '') + value\n\t\t// background, background-image\n\t\tcase 5495: case 3959:\n\t\t\treturn replace(value, /(image-set\\([^]*)/, WEBKIT + '$1' + '$`$1')\n\t\t// justify-content\n\t\tcase 4968:\n\t\t\treturn replace(replace(value, /(.+:)(flex-)?(.*)/, WEBKIT + 'box-pack:$3' + MS + 'flex-pack:$3'), /s.+-b[^;]+/, 'justify') + WEBKIT + value + value\n\t\t// justify-self\n\t\tcase 4200:\n\t\t\tif (!match(value, /flex-|baseline/)) return MS + 'grid-column-align' + substr(value, length) + value\n\t\t\tbreak\n\t\t// grid-template-(columns|rows)\n\t\tcase 2592: case 3360:\n\t\t\treturn MS + replace(value, 'template-', '') + value\n\t\t// grid-(row|column)-start\n\t\tcase 4384: case 3616:\n\t\t\tif (children && children.some(function (element, index) { return length = index, match(element.props, /grid-\\w+-end/) })) {\n\t\t\t\treturn ~indexof(value + (children = children[length].value), 'span', 0) ? value : (MS + replace(value, '-start', '') + value + MS + 'grid-row-span:' + (~indexof(children, 'span', 0) ? match(children, /\\d+/) : +match(children, /\\d+/) - +match(value, /\\d+/)) + ';')\n\t\t\t}\n\t\t\treturn MS + replace(value, '-start', '') + value\n\t\t// grid-(row|column)-end\n\t\tcase 4896: case 4128:\n\t\t\treturn (children && children.some(function (element) { return match(element.props, /grid-\\w+-start/) })) ? value : MS + replace(replace(value, '-end', '-span'), 'span ', '') + value\n\t\t// (margin|padding)-inline-(start|end)\n\t\tcase 4095: case 3583: case 4068: case 2532:\n\t\t\treturn replace(value, /(.+)-inline(.+)/, WEBKIT + '$1$2') + value\n\t\t// (min|max)?(width|height|inline-size|block-size)\n\t\tcase 8116: case 7059: case 5753: case 5535:\n\t\tcase 5445: case 5701: case 4933: case 4677:\n\t\tcase 5533: case 5789: case 5021: case 4765:\n\t\t\t// stretch, max-content, min-content, fill-available\n\t\t\tif (strlen(value) - 1 - length > 6)\n\t\t\t\tswitch (charat(value, length + 1)) {\n\t\t\t\t\t// (m)ax-content, (m)in-content\n\t\t\t\t\tcase 109:\n\t\t\t\t\t\t// -\n\t\t\t\t\t\tif (charat(value, length + 4) !== 45)\n\t\t\t\t\t\t\tbreak\n\t\t\t\t\t// (f)ill-available, (f)it-content\n\t\t\t\t\tcase 102:\n\t\t\t\t\t\treturn replace(value, /(.+:)(.+)-([^]+)/, '$1' + WEBKIT + '$2-$3' + '$1' + MOZ + (charat(value, length + 3) == 108 ? '$3' : '$2-$3')) + value\n\t\t\t\t\t// (s)tretch\n\t\t\t\t\tcase 115:\n\t\t\t\t\t\treturn ~indexof(value, 'stretch', 0) ? prefix(replace(value, 'stretch', 'fill-available'), length, children) + value : value\n\t\t\t\t}\n\t\t\tbreak\n\t\t// grid-(column|row)\n\t\tcase 5152: case 5920:\n\t\t\treturn replace(value, /(.+?):(\\d+)(\\s*\\/\\s*(span)?\\s*(\\d+))?(.*)/, function (_, a, b, c, d, e, f) { return (MS + a + ':' + b + f) + (c ? (MS + a + '-span:' + (d ? e : +e - +b)) + f : '') + value })\n\t\t// position: sticky\n\t\tcase 4949:\n\t\t\t// stick(y)?\n\t\t\tif (charat(value, length + 6) === 121)\n\t\t\t\treturn replace(value, ':', ':' + WEBKIT) + value\n\t\t\tbreak\n\t\t// display: (flex|inline-flex|grid|inline-grid)\n\t\tcase 6444:\n\t\t\tswitch (charat(value, charat(value, 14) === 45 ? 18 : 11)) {\n\t\t\t\t// (inline-)?fle(x)\n\t\t\t\tcase 120:\n\t\t\t\t\treturn replace(value, /(.+:)([^;\\s!]+)(;|(\\s+)?!.+)?/, '$1' + WEBKIT + (charat(value, 14) === 45 ? 'inline-' : '') + 'box$3' + '$1' + WEBKIT + '$2$3' + '$1' + MS + '$2box$3') + value\n\t\t\t\t// (inline-)?gri(d)\n\t\t\t\tcase 100:\n\t\t\t\t\treturn replace(value, ':', ':' + MS) + value\n\t\t\t}\n\t\t\tbreak\n\t\t// scroll-margin, scroll-margin-(top|right|bottom|left)\n\t\tcase 5719: case 2647: case 2135: case 3927: case 2391:\n\t\t\treturn replace(value, 'scroll-', 'scroll-snap-') + value\n\t}\n\n\treturn value\n}\n","import {IMPORT, LAYER, COMMENT, RULESET, DECLARATION, KEYFRAMES} from './Enum.js'\nimport {strlen} from './Utility.js'\n\n/**\n * @param {object[]} children\n * @param {function} callback\n * @return {string}\n */\nexport function serialize (children, callback) {\n\tvar output = ''\n\n\tfor (var i = 0; i < children.length; i++)\n\t\toutput += callback(children[i], i, children, callback) || ''\n\n\treturn output\n}\n\n/**\n * @param {object} element\n * @param {number} index\n * @param {object[]} children\n * @param {function} callback\n * @return {string}\n */\nexport function stringify (element, index, children, callback) {\n\tswitch (element.type) {\n\t\tcase LAYER: if (element.children.length) break\n\t\tcase IMPORT: case DECLARATION: return element.return = element.return || element.value\n\t\tcase COMMENT: return ''\n\t\tcase KEYFRAMES: return element.return = element.value + '{' + serialize(element.children, callback) + '}'\n\t\tcase RULESET: if (!strlen(element.value = element.props.join(','))) return ''\n\t}\n\n\treturn strlen(children = serialize(element.children, callback)) ? element.return = element.value + '{' + children + '}' : ''\n}\n","import {MS, MOZ, WEBKIT, RULESET, KEYFRAMES, DECLARATION} from './Enum.js'\nimport {match, charat, substr, strlen, sizeof, replace, combine, filter, assign} from './Utility.js'\nimport {copy, lift, tokenize} from './Tokenizer.js'\nimport {serialize} from './Serializer.js'\nimport {prefix} from './Prefixer.js'\n\n/**\n * @param {function[]} collection\n * @return {function}\n */\nexport function middleware (collection) {\n\tvar length = sizeof(collection)\n\n\treturn function (element, index, children, callback) {\n\t\tvar output = ''\n\n\t\tfor (var i = 0; i < length; i++)\n\t\t\toutput += collection[i](element, index, children, callback) || ''\n\n\t\treturn output\n\t}\n}\n\n/**\n * @param {function} callback\n * @return {function}\n */\nexport function rulesheet (callback) {\n\treturn function (element) {\n\t\tif (!element.root)\n\t\t\tif (element = element.return)\n\t\t\t\tcallback(element)\n\t}\n}\n\n/**\n * @param {object} element\n * @param {number} index\n * @param {object[]} children\n * @param {function} callback\n */\nexport function prefixer (element, index, children, callback) {\n\tif (element.length > -1)\n\t\tif (!element.return)\n\t\t\tswitch (element.type) {\n\t\t\t\tcase DECLARATION: element.return = prefix(element.value, element.length, children)\n\t\t\t\t\treturn\n\t\t\t\tcase KEYFRAMES:\n\t\t\t\t\treturn serialize([copy(element, {value: replace(element.value, '@', '@' + WEBKIT)})], callback)\n\t\t\t\tcase RULESET:\n\t\t\t\t\tif (element.length)\n\t\t\t\t\t\treturn combine(children = element.props, function (value) {\n\t\t\t\t\t\t\tswitch (match(value, callback = /(::plac\\w+|:read-\\w+)/)) {\n\t\t\t\t\t\t\t\t// :read-(only|write)\n\t\t\t\t\t\t\t\tcase ':read-only': case ':read-write':\n\t\t\t\t\t\t\t\t\tlift(copy(element, {props: [replace(value, /:(read-\\w+)/, ':' + MOZ + '$1')]}))\n\t\t\t\t\t\t\t\t\tlift(copy(element, {props: [value]}))\n\t\t\t\t\t\t\t\t\tassign(element, {props: filter(children, callback)})\n\t\t\t\t\t\t\t\t\tbreak\n\t\t\t\t\t\t\t\t// :placeholder\n\t\t\t\t\t\t\t\tcase '::placeholder':\n\t\t\t\t\t\t\t\t\tlift(copy(element, {props: [replace(value, /:(plac\\w+)/, ':' + WEBKIT + 'input-$1')]}))\n\t\t\t\t\t\t\t\t\tlift(copy(element, {props: [replace(value, /:(plac\\w+)/, ':' + MOZ + '$1')]}))\n\t\t\t\t\t\t\t\t\tlift(copy(element, {props: [replace(value, /:(plac\\w+)/, MS + 'input-$1')]}))\n\t\t\t\t\t\t\t\t\tlift(copy(element, {props: [value]}))\n\t\t\t\t\t\t\t\t\tassign(element, {props: filter(children, callback)})\n\t\t\t\t\t\t\t\t\tbreak\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\treturn ''\n\t\t\t\t\t\t})\n\t\t\t}\n}\n\n/**\n * @param {object} element\n * @param {number} index\n * @param {object[]} children\n */\nexport function namespace (element) {\n\tswitch (element.type) {\n\t\tcase RULESET:\n\t\t\telement.props = element.props.map(function (value) {\n\t\t\t\treturn combine(tokenize(value), function (value, index, children) {\n\t\t\t\t\tswitch (charat(value, 0)) {\n\t\t\t\t\t\t// \\f\n\t\t\t\t\t\tcase 12:\n\t\t\t\t\t\t\treturn substr(value, 1, strlen(value))\n\t\t\t\t\t\t// \\0 ( + > ~\n\t\t\t\t\t\tcase 0: case 40: case 43: case 62: case 126:\n\t\t\t\t\t\t\treturn value\n\t\t\t\t\t\t// :\n\t\t\t\t\t\tcase 58:\n\t\t\t\t\t\t\tif (children[++index] === 'global')\n\t\t\t\t\t\t\t\tchildren[index] = '', children[++index] = '\\f' + substr(children[index], index = 1, -1)\n\t\t\t\t\t\t// \\s\n\t\t\t\t\t\tcase 32:\n\t\t\t\t\t\t\treturn index === 1 ? '' : value\n\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\tswitch (index) {\n\t\t\t\t\t\t\t\tcase 0: element = value\n\t\t\t\t\t\t\t\t\treturn sizeof(children) > 1 ? '' : value\n\t\t\t\t\t\t\t\tcase index = sizeof(children) - 1: case 2:\n\t\t\t\t\t\t\t\t\treturn index === 2 ? value + element + element : value + element\n\t\t\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\t\t\treturn value\n\t\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t})\n\t}\n}\n","var unitlessKeys = {\n animationIterationCount: 1,\n borderImageOutset: 1,\n borderImageSlice: 1,\n borderImageWidth: 1,\n boxFlex: 1,\n boxFlexGroup: 1,\n boxOrdinalGroup: 1,\n columnCount: 1,\n columns: 1,\n flex: 1,\n flexGrow: 1,\n flexPositive: 1,\n flexShrink: 1,\n flexNegative: 1,\n flexOrder: 1,\n gridRow: 1,\n gridRowEnd: 1,\n gridRowSpan: 1,\n gridRowStart: 1,\n gridColumn: 1,\n gridColumnEnd: 1,\n gridColumnSpan: 1,\n gridColumnStart: 1,\n msGridRow: 1,\n msGridRowSpan: 1,\n msGridColumn: 1,\n msGridColumnSpan: 1,\n fontWeight: 1,\n lineHeight: 1,\n opacity: 1,\n order: 1,\n orphans: 1,\n tabSize: 1,\n widows: 1,\n zIndex: 1,\n zoom: 1,\n WebkitLineClamp: 1,\n // SVG-related properties\n fillOpacity: 1,\n floodOpacity: 1,\n stopOpacity: 1,\n strokeDasharray: 1,\n strokeDashoffset: 1,\n strokeMiterlimit: 1,\n strokeOpacity: 1,\n strokeWidth: 1\n};\n\nexport default unitlessKeys;\n","import{__spreadArray as e,__assign as t}from\"tslib\";import n from\"@emotion/is-prop-valid\";import o,{useRef as r,useState as s,useMemo as i,useEffect as a,useContext as c,useDebugValue as l,createElement as u}from\"react\";import p from\"shallowequal\";import*as d from\"stylis\";import h from\"@emotion/unitless\";var f=\"undefined\"!=typeof process&&void 0!==process.env&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||\"data-styled\",m=\"active\",y=\"data-styled-version\",v=\"6.1.8\",g=\"/*!sc*/\\n\",S=\"undefined\"!=typeof window&&\"HTMLElement\"in window,w=Boolean(\"boolean\"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:\"undefined\"!=typeof process&&void 0!==process.env&&void 0!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&\"\"!==process.env.REACT_APP_SC_DISABLE_SPEEDY?\"false\"!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&process.env.REACT_APP_SC_DISABLE_SPEEDY:\"undefined\"!=typeof process&&void 0!==process.env&&void 0!==process.env.SC_DISABLE_SPEEDY&&\"\"!==process.env.SC_DISABLE_SPEEDY?\"false\"!==process.env.SC_DISABLE_SPEEDY&&process.env.SC_DISABLE_SPEEDY:\"production\"!==process.env.NODE_ENV),b={},E=/invalid hook call/i,N=new Set,P=function(t,n){if(\"production\"!==process.env.NODE_ENV){var o=n?' with the id of \"'.concat(n,'\"'):\"\",s=\"The component \".concat(t).concat(o,\" has been created dynamically.\\n\")+\"You may see this warning because you've called styled inside another component.\\nTo resolve this only create new StyledComponents outside of any render method and function component.\",i=console.error;try{var a=!0;console.error=function(t){for(var n=[],o=1;o?@[\\\\\\]^`{|}~-]+/g,D=/(^-|-$)/g;function R(e){return e.replace(O,\"-\").replace(D,\"\")}var T=/(a)(d)/gi,k=52,j=function(e){return String.fromCharCode(e+(e>25?39:97))};function x(e){var t,n=\"\";for(t=Math.abs(e);t>k;t=t/k|0)n=j(t%k)+n;return(j(t%k)+n).replace(T,\"$1-$2\")}var V,F=5381,M=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},$=function(e){return M(F,e)};function z(e){return x($(e)>>>0)}function B(e){return\"production\"!==process.env.NODE_ENV&&\"string\"==typeof e&&e||e.displayName||e.name||\"Component\"}function L(e){return\"string\"==typeof e&&(\"production\"===process.env.NODE_ENV||e.charAt(0)===e.charAt(0).toLowerCase())}var G=\"function\"==typeof Symbol&&Symbol.for,Y=G?Symbol.for(\"react.memo\"):60115,W=G?Symbol.for(\"react.forward_ref\"):60112,q={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},H={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},U={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},J=((V={})[W]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},V[Y]=U,V);function X(e){return(\"type\"in(t=e)&&t.type.$$typeof)===Y?U:\"$$typeof\"in e?J[e.$$typeof]:q;var t}var Z=Object.defineProperty,K=Object.getOwnPropertyNames,Q=Object.getOwnPropertySymbols,ee=Object.getOwnPropertyDescriptor,te=Object.getPrototypeOf,ne=Object.prototype;function oe(e,t,n){if(\"string\"!=typeof t){if(ne){var o=te(t);o&&o!==ne&&oe(e,o,n)}var r=K(t);Q&&(r=r.concat(Q(t)));for(var s=X(e),i=X(t),a=0;a ({})}\\n```\\n\\n',8:'ThemeProvider: Please make your \"theme\" prop an object.\\n\\n',9:\"Missing document ``\\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\\n\\n\",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.\\n\\n\",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.\\n\\n\",14:'ThemeProvider: \"theme\" prop is required.\\n\\n',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 ``, 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.\\nYou may only create up to 1,073,741,824 components. If you're creating components dynamically,\\nas for instance in your render method then you may be running into this limitation.\\n\\n\",17:\"CSSStyleSheet could not be found on HTMLStyleElement.\\nHas styled-components' style tag been unmounted or altered by another script?\\n\",18:\"ThemeProvider: Please make sure your useTheme hook is within a ``\"}:{};function de(){for(var e=[],t=0;t0?\" Args: \".concat(n.join(\", \")):\"\")):new Error(de.apply(void 0,e([pe[t]],n,!1)).trim())}var fe=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return e.prototype.indexOfGroup=function(e){for(var t=0,n=0;n=this.groupSizes.length){for(var n=this.groupSizes,o=n.length,r=o;e>=r;)if((r<<=1)<0)throw he(16,\"\".concat(e));this.groupSizes=new Uint32Array(r),this.groupSizes.set(n),this.length=r;for(var s=o;s=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],o=this.indexOfGroup(e),r=o+n,s=o;s1073741824))throw he(16,\"\".concat(t));return me.set(e,t),ye.set(t,e),t},Se=function(e,t){ve=t+1,me.set(e,t),ye.set(t,e)},we=\"style[\".concat(f,\"][\").concat(y,'=\"').concat(v,'\"]'),be=new RegExp(\"^\".concat(f,'\\\\.g(\\\\d+)\\\\[id=\"([\\\\w\\\\d-]+)\"\\\\].*?\"([^\"]*)')),Ee=function(e,t,n){for(var o,r=n.split(\",\"),s=0,i=r.length;s=0){var n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e0&&(c+=\"\".concat(e,\",\"))}),o+=\"\".concat(i).concat(a,'{content:\"').concat(c,'\"}').concat(g)},s=0;s0?\".\".concat(t):e},u=c.slice();u.push(function(e){e.type===d.RULESET&&e.value.includes(\"&\")&&(e.props[0]=e.props[0].replace(Te,n).replace(o,l))}),i.prefix&&u.push(d.prefixer),u.push(d.stringify);var p=function(e,r,s,a){void 0===r&&(r=\"\"),void 0===s&&(s=\"\"),void 0===a&&(a=\"&\"),t=a,n=r,o=new RegExp(\"\\\\\".concat(n,\"\\\\b\"),\"g\");var c=e.replace(ke,\"\"),l=d.compile(s||r?\"\".concat(s,\" \").concat(r,\" { \").concat(c,\" }\"):c);i.namespace&&(l=je(l,i.namespace));var p=[];return d.serialize(l,d.middleware(u.concat(d.rulesheet(function(e){return p.push(e)})))),p};return p.hash=c.length?c.reduce(function(e,t){return t.name||he(15),M(e,t.name)},F).toString():\"\",p}var Ve=new Re,Fe=xe(),Me=o.createContext({shouldForwardProp:void 0,styleSheet:Ve,stylis:Fe}),$e=Me.Consumer,ze=o.createContext(void 0);function Be(){return c(Me)}function Le(e){var t=s(e.stylisPlugins),n=t[0],r=t[1],c=Be().styleSheet,l=i(function(){var t=c;return e.sheet?t=e.sheet:e.target&&(t=t.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t},[e.disableCSSOMInjection,e.sheet,e.target,c]),u=i(function(){return xe({options:{namespace:e.namespace,prefix:e.enableVendorPrefixes},plugins:n})},[e.enableVendorPrefixes,e.namespace,n]);a(function(){p(n,e.stylisPlugins)||r(e.stylisPlugins)},[e.stylisPlugins]);var d=i(function(){return{shouldForwardProp:e.shouldForwardProp,styleSheet:l,stylis:u}},[e.shouldForwardProp,l,u]);return o.createElement(Me.Provider,{value:d},o.createElement(ze.Provider,{value:u},e.children))}var Ge=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=Fe);var o=n.name+t.hash;e.hasNameForId(n.id,o)||e.insertRules(n.id,o,t(n.rules,o,\"@keyframes\"))},this.name=e,this.id=\"sc-keyframes-\".concat(e),this.rules=t,ue(this,function(){throw he(12,String(n.name))})}return e.prototype.getName=function(e){return void 0===e&&(e=Fe),this.name+e.hash},e}(),Ye=function(e){return e>=\"A\"&&e<=\"Z\"};function We(e){for(var t=\"\",n=0;n>>0);if(!t.hasNameForId(this.componentId,s)){var i=n(r,\".\".concat(s),void 0,this.componentId);t.insertRules(this.componentId,s,i)}o=ie(o,s),this.staticRulesId=s}else{for(var a=M(this.baseHash,n.hash),c=\"\",l=0;l>>0);t.hasNameForId(this.componentId,d)||t.insertRules(this.componentId,d,n(c,\".\".concat(d),void 0,this.componentId)),o=ie(o,d)}}return o},e}(),Ke=o.createContext(void 0),Qe=Ke.Consumer;function et(){var e=c(Ke);if(!e)throw he(18);return e}function tt(e){var n=o.useContext(Ke),r=i(function(){return function(e,n){if(!e)throw he(14);if(re(e)){var o=e(n);if(\"production\"!==process.env.NODE_ENV&&(null===o||Array.isArray(o)||\"object\"!=typeof o))throw he(7);return o}if(Array.isArray(e)||\"object\"!=typeof e)throw he(8);return n?t(t({},n),e):e}(e.theme,n)},[e.theme,n]);return e.children?o.createElement(Ke.Provider,{value:r},e.children):null}var nt={},ot=new Set;function rt(e,r,s){var i=se(e),a=e,c=!L(e),p=r.attrs,d=void 0===p?_:p,h=r.componentId,f=void 0===h?function(e,t){var n=\"string\"!=typeof e?\"sc\":R(e);nt[n]=(nt[n]||0)+1;var o=\"\".concat(n,\"-\").concat(z(v+n+nt[n]));return t?\"\".concat(t,\"-\").concat(o):o}(r.displayName,r.parentComponentId):h,m=r.displayName,y=void 0===m?function(e){return L(e)?\"styled.\".concat(e):\"Styled(\".concat(B(e),\")\")}(e):m,g=r.displayName&&r.componentId?\"\".concat(R(r.displayName),\"-\").concat(r.componentId):r.componentId||f,S=i&&a.attrs?a.attrs.concat(d).filter(Boolean):d,w=r.shouldForwardProp;if(i&&a.shouldForwardProp){var b=a.shouldForwardProp;if(r.shouldForwardProp){var E=r.shouldForwardProp;w=function(e,t){return b(e,t)&&E(e,t)}}else w=b}var N=new Ze(s,g,i?a.componentStyle:void 0);function O(e,r){return function(e,r,s){var i=e.attrs,a=e.componentStyle,c=e.defaultProps,p=e.foldedComponentIds,d=e.styledComponentId,h=e.target,f=o.useContext(Ke),m=Be(),y=e.shouldForwardProp||m.shouldForwardProp;\"production\"!==process.env.NODE_ENV&&l(d);var v=I(r,f,c)||C,g=function(e,n,o){for(var r,s=t(t({},n),{className:void 0,theme:o}),i=0;i` (connect an API like `@emotion/is-prop-valid`) or consider using transient props (`$` prefix for automatic filtering.)')))));var E=function(e,t){var n=Be(),o=e.generateAndInjectStyles(t,n.styleSheet,n.stylis);return\"production\"!==process.env.NODE_ENV&&l(o),o}(a,g);\"production\"!==process.env.NODE_ENV&&e.warnTooManyClasses&&e.warnTooManyClasses(E);var N=ie(p,d);return E&&(N+=\" \"+E),g.className&&(N+=\" \"+g.className),w[L(S)&&!A.has(S)?\"class\":\"className\"]=N,w.ref=s,u(S,w)}(D,e,r)}O.displayName=y;var D=o.forwardRef(O);return D.attrs=S,D.componentStyle=N,D.displayName=y,D.shouldForwardProp=w,D.foldedComponentIds=i?ie(a.foldedComponentIds,a.styledComponentId):\"\",D.styledComponentId=g,D.target=i?a.target:e,Object.defineProperty(D,\"defaultProps\",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=i?function(e){for(var t=[],n=1;n=200)){var s=t?' with the id of \"'.concat(t,'\"'):\"\";console.warn(\"Over \".concat(200,\" classes were generated for component \").concat(e).concat(s,\".\\n\")+\"Consider using the attrs method, together with a style object for frequently changed styles.\\nExample:\\n const Component = styled.div.attrs(props => ({\\n style: {\\n background: props.background,\\n },\\n }))`width: 100%;`\\n\\n \"),o=!0,n={}}}}(y,g)),ue(D,function(){return\".\".concat(D.styledComponentId)}),c&&oe(D,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),D}function st(e,t){for(var n=[e[0]],o=0,r=t.length;o2&&Re.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,o)},e}();function dt(n){for(var r=[],s=1;s meta tag to the stylesheet, or simply embedding it manually in your index.html section for a simpler app.\"),t.styleSheet.server&&u(r,e,t.styleSheet,n,t.stylis),o.useLayoutEffect(function(){if(!t.styleSheet.server)return u(r,e,t.styleSheet,n,t.stylis),function(){return c.removeStyles(r,t.styleSheet)}},[r,e,t.styleSheet,n,t.stylis]),null};function u(e,n,o,r,s){if(c.isStatic)c.renderStyles(e,b,o,s);else{var i=t(t({},n),{theme:I(n,r,l.defaultProps)});c.renderStyles(e,i,o,s)}}return o.memo(l)}function ht(t){for(var n=[],o=1;o\").concat(t,\"\")},this.getStyleTags=function(){if(e.sealed)throw he(2);return e._emitSheetCSS()},this.getStyleElement=function(){var n;if(e.sealed)throw he(2);var r=((n={})[f]=\"\",n[y]=v,n.dangerouslySetInnerHTML={__html:e.instance.toString()},n),s=Pe();return s&&(r.nonce=s),[o.createElement(\"style\",t({},r,{key:\"sc-0-0\"}))]},this.seal=function(){e.sealed=!0},this.instance=new Re({isServer:!0}),this.sealed=!1}return e.prototype.collectStyles=function(e){if(this.sealed)throw he(2);return o.createElement(Le,{sheet:this.instance},e)},e.prototype.interleaveWithNodeStream=function(e){throw he(3)},e}(),yt={StyleSheet:Re,mainSheet:Ve};\"production\"!==process.env.NODE_ENV&&\"undefined\"!=typeof navigator&&\"ReactNative\"===navigator.product&&console.warn(\"It looks like you've imported 'styled-components' on React Native.\\nPerhaps you're looking to import 'styled-components/native'?\\nRead more about this at https://www.styled-components.com/docs/basics#react-native\");var vt=\"__sc-\".concat(f,\"__\");\"production\"!==process.env.NODE_ENV&&\"test\"!==process.env.NODE_ENV&&\"undefined\"!=typeof window&&(window[vt]||(window[vt]=0),1===window[vt]&&console.warn(\"It looks like there are several instances of 'styled-components' initialized in this application. This may cause dynamic styles to not render properly, errors during the rehydration process, a missing theme prop, and makes your application bigger without good reason.\\n\\nSee https://s-c.sh/2BAXzed for more info.\"),window[vt]+=1);export{mt as ServerStyleSheet,$e as StyleSheetConsumer,Me as StyleSheetContext,Le as StyleSheetManager,Qe as ThemeConsumer,Ke as ThemeContext,tt as ThemeProvider,yt as __PRIVATE__,dt as createGlobalStyle,at as css,ut as default,se as isStyledComponent,ht as keyframes,ut as styled,et as useTheme,v as version,ft as withTheme};\n//# sourceMappingURL=styled-components.browser.esm.js.map\n","import { MouseEvent } from \"react\";\n\nexport const simpleDebounce = (func: () => void, delay: number) => {\n let timer: ReturnType;\n\n function cancel() {\n clearTimeout(timer);\n }\n\n function debounced() {\n cancel();\n timer = setTimeout(() => {\n func();\n }, delay);\n }\n\n debounced.cancel = cancel;\n return debounced;\n};\n\nexport const ensureWithinLimits = (value: number, min: number, max: number) => {\n min = !min && min !== 0 ? value : min;\n max = !max && max !== 0 ? value : max;\n if (min > max) {\n console.error(\"min limit is greater than max limit\");\n return value;\n }\n if (value < min) {\n return min;\n }\n if (value > max) {\n return max;\n }\n return value;\n};\n\nexport interface ElementLayout {\n top: number;\n right: number;\n height: number;\n left: number;\n width?: number;\n}\n\nexport const isEventPosOnLayout = (event: MouseEvent, layout: ElementLayout) =>\n event.clientX > layout.left &&\n event.clientX < layout.right &&\n event.clientY > layout.top &&\n event.clientY < layout.top + layout.height;\n\nexport const isEventPosOnDomNode = (\n event: MouseEvent,\n domNode: HTMLElement,\n) => {\n const nodeClientRect = domNode.getBoundingClientRect();\n return isEventPosOnLayout(event, nodeClientRect);\n};\n","import {\n Component,\n CSSProperties,\n createRef,\n UIEvent,\n MouseEvent,\n PropsWithChildren,\n} from \"react\";\nimport styled from \"styled-components\";\nimport {\n ElementLayout,\n ensureWithinLimits,\n isEventPosOnDomNode,\n isEventPosOnLayout,\n simpleDebounce,\n} from \"./utils.ts\";\n\nconst CustomScrollbar = styled.div`\n position: absolute;\n height: 100%;\n width: 6px;\n right: 3px;\n opacity: 0;\n z-index: 1;\n transition: opacity 0.4s ease-out;\n padding: 6px 0;\n box-sizing: border-box;\n will-change: opacity;\n pointer-events: none;\n\n &.rcs-custom-scrollbar-rtl {\n right: auto;\n left: 3px;\n }\n\n &.scroll-visible {\n opacity: 1;\n transition-duration: 0.2s;\n }\n`;\n\nconst ScrollHandle = styled.div`\n height: calc(100% - 12px);\n margin-top: 6px;\n background-color: rgba(78, 183, 245, 0.7);\n border-radius: 3px;\n`;\n\nconst CustomScrollRoot = styled.div`\n min-height: 0;\n min-width: 0;\n\n & .rcs-outer-container {\n overflow: hidden;\n\n & .rcs-positioning {\n position: relative;\n }\n }\n\n & .rcs-inner-container {\n overflow-x: hidden;\n overflow-y: scroll;\n -webkit-overflow-scrolling: touch;\n\n &:after {\n content: \"\";\n position: absolute;\n top: 0;\n right: 0;\n left: 0;\n height: 0;\n background-image: linear-gradient(\n to bottom,\n rgba(0, 0, 0, 0.2) 0%,\n rgba(0, 0, 0, 0.05) 60%,\n rgba(0, 0, 0, 0) 100%\n );\n pointer-events: none;\n transition: height 0.1s ease-in;\n will-change: height;\n }\n\n &.rcs-content-scrolled:after {\n height: 5px;\n transition: height 0.15s ease-out;\n }\n }\n\n &.rcs-scroll-handle-dragged .rcs-inner-container {\n user-select: none;\n }\n\n &.rcs-scroll-handle-dragged ${CustomScrollbar} {\n opacity: 1;\n }\n\n & .rcs-custom-scroll-handle {\n position: absolute;\n width: 100%;\n top: 0;\n }\n`;\n\ninterface CustomScrollProps extends PropsWithChildren {\n allowOuterScroll?: boolean;\n heightRelativeToParent?: string;\n onScroll?: (event: UIEvent) => void;\n addScrolledClass?: boolean;\n freezePosition?: boolean;\n handleClass?: string;\n minScrollHandleHeight?: number;\n flex?: string;\n rtl?: boolean;\n scrollTo?: number;\n keepAtBottom?: boolean;\n className?: string;\n}\n\ninterface CustomScrollState {\n scrollPos: number;\n onDrag: boolean;\n visible: boolean;\n}\n\nexport class CustomScroll extends Component<\n CustomScrollProps,\n CustomScrollState\n> {\n scrollbarYWidth: number;\n hideScrollThumb: ReturnType;\n contentHeight: number = 0;\n visibleHeight: number = 0;\n scrollHandleHeight: number = 0;\n scrollRatio: number = 1;\n hasScroll: boolean = false;\n startDragHandlePos: number = 0;\n startDragMousePos: number = 0;\n\n constructor(props: CustomScrollProps) {\n super(props);\n\n this.scrollbarYWidth = 0;\n this.state = {\n scrollPos: 0,\n onDrag: false,\n visible: false,\n };\n\n this.hideScrollThumb = simpleDebounce(() => {\n this.setState({\n onDrag: false,\n });\n }, 500);\n }\n\n componentDidMount() {\n if (typeof this.props.scrollTo !== \"undefined\") {\n this.updateScrollPosition(this.props.scrollTo);\n } else {\n this.forceUpdate();\n }\n }\n\n componentDidUpdate(\n prevProps: CustomScrollProps,\n prevState: CustomScrollState,\n ) {\n const prevContentHeight = this.contentHeight;\n const prevVisibleHeight = this.visibleHeight;\n const innerContainer = this.getScrolledElement();\n const reachedBottomOnPrevRender =\n prevState.scrollPos >= prevContentHeight - prevVisibleHeight;\n\n this.contentHeight = innerContainer.scrollHeight;\n this.scrollbarYWidth =\n innerContainer.offsetWidth - innerContainer.clientWidth;\n this.visibleHeight = innerContainer.clientHeight;\n this.scrollRatio = this.contentHeight\n ? this.visibleHeight / this.contentHeight\n : 1;\n\n this.toggleScrollIfNeeded();\n const isExternalRender = this.state === prevState;\n if (this.props.freezePosition || prevProps.freezePosition) {\n this.adjustFreezePosition(prevProps);\n }\n if (\n typeof this.props.scrollTo !== \"undefined\" &&\n this.props.scrollTo !== prevProps.scrollTo\n ) {\n this.updateScrollPosition(this.props.scrollTo);\n } else if (\n this.props.keepAtBottom &&\n isExternalRender &&\n reachedBottomOnPrevRender\n ) {\n this.updateScrollPosition(this.contentHeight - this.visibleHeight);\n }\n }\n\n componentWillUnmount() {\n this.hideScrollThumb.cancel();\n // @ts-expect-error problem typing event handlers\n document.removeEventListener(\"mousemove\", this.onHandleDrag);\n // @ts-expect-error problem typing event handlers\n document.removeEventListener(\"mouseup\", this.onHandleDragEnd);\n }\n\n customScrollRef = createRef();\n innerContainerRef = createRef();\n customScrollbarRef = createRef();\n scrollHandleRef = createRef();\n contentWrapperRef = createRef();\n\n adjustFreezePosition = (prevProps: CustomScrollProps) => {\n if (!this.contentWrapperRef.current) {\n return;\n }\n const innerContainer = this.getScrolledElement();\n const contentWrapper = this.contentWrapperRef.current;\n\n if (this.props.freezePosition) {\n contentWrapper.scrollTop = this.state.scrollPos;\n }\n\n if (prevProps.freezePosition) {\n innerContainer.scrollTop = this.state.scrollPos;\n }\n };\n\n toggleScrollIfNeeded = () => {\n const shouldHaveScroll = this.contentHeight - this.visibleHeight > 1;\n if (this.hasScroll !== shouldHaveScroll) {\n this.hasScroll = shouldHaveScroll;\n this.forceUpdate();\n }\n };\n\n updateScrollPosition = (scrollValue: number) => {\n const innerContainer = this.getScrolledElement();\n const updatedScrollTop = ensureWithinLimits(\n scrollValue,\n 0,\n this.contentHeight - this.visibleHeight,\n );\n innerContainer.scrollTop = updatedScrollTop;\n this.setState({\n scrollPos: updatedScrollTop,\n });\n };\n\n onClick = (event: MouseEvent) => {\n if (\n !this.hasScroll ||\n !this.isMouseEventOnCustomScrollbar(event) ||\n this.isMouseEventOnScrollHandle(event)\n ) {\n return;\n }\n const newScrollHandleTop = this.calculateNewScrollHandleTop(event);\n const newScrollValue =\n this.getScrollValueFromHandlePosition(newScrollHandleTop);\n\n this.updateScrollPosition(newScrollValue);\n };\n\n isMouseEventOnCustomScrollbar = (event: MouseEvent) => {\n if (!this.customScrollbarRef.current) {\n return false;\n }\n const customScrollElm = this.customScrollRef.current as HTMLElement;\n const boundingRect = customScrollElm.getBoundingClientRect();\n const customScrollbarBoundingRect =\n this.customScrollbarRef.current.getBoundingClientRect();\n const horizontalClickArea = this.props.rtl\n ? {\n left: boundingRect.left,\n right: customScrollbarBoundingRect.right,\n }\n : {\n left: customScrollbarBoundingRect.left,\n width: boundingRect.right,\n };\n const customScrollbarLayout: ElementLayout = {\n right: boundingRect.right,\n top: boundingRect.top,\n height: boundingRect.height,\n ...horizontalClickArea,\n };\n\n return isEventPosOnLayout(event, customScrollbarLayout);\n };\n\n isMouseEventOnScrollHandle = (event: MouseEvent) => {\n if (!this.scrollHandleRef.current) {\n return false;\n }\n const scrollHandle = this.scrollHandleRef.current;\n return isEventPosOnDomNode(event, scrollHandle);\n };\n\n calculateNewScrollHandleTop = (clickEvent: MouseEvent) => {\n const domNode = this.customScrollRef.current as HTMLElement;\n const boundingRect = domNode.getBoundingClientRect();\n const currentTop = boundingRect.top + window.pageYOffset;\n const clickYRelativeToScrollbar = clickEvent.pageY - currentTop;\n const scrollHandleTop = this.getScrollHandleStyle().top;\n let newScrollHandleTop;\n const isBelowHandle =\n clickYRelativeToScrollbar > scrollHandleTop + this.scrollHandleHeight;\n if (isBelowHandle) {\n newScrollHandleTop =\n scrollHandleTop +\n Math.min(\n this.scrollHandleHeight,\n this.visibleHeight - this.scrollHandleHeight,\n );\n } else {\n newScrollHandleTop =\n scrollHandleTop - Math.max(this.scrollHandleHeight, 0);\n }\n return newScrollHandleTop;\n };\n\n getScrollValueFromHandlePosition = (handlePosition: number) =>\n handlePosition / this.scrollRatio;\n\n getScrollHandleStyle = (): { height: number; top: number } => {\n const handlePosition = this.state.scrollPos * this.scrollRatio;\n this.scrollHandleHeight = this.visibleHeight * this.scrollRatio;\n return {\n height: this.scrollHandleHeight,\n top: handlePosition,\n };\n };\n\n adjustCustomScrollPosToContentPos = (scrollPosition: number) => {\n this.setState({\n scrollPos: scrollPosition,\n });\n };\n\n onScroll = (event: UIEvent) => {\n if (this.props.freezePosition) {\n return;\n }\n this.hideScrollThumb();\n this.adjustCustomScrollPosToContentPos(event.currentTarget.scrollTop);\n if (this.props.onScroll) {\n this.props.onScroll(event);\n }\n };\n\n getScrolledElement = () => this.innerContainerRef.current as HTMLElement;\n\n onMouseDown = (event: MouseEvent) => {\n if (!this.hasScroll || !this.isMouseEventOnScrollHandle(event)) {\n return;\n }\n\n this.startDragHandlePos = this.getScrollHandleStyle().top;\n this.startDragMousePos = event.pageY;\n this.setState({\n onDrag: true,\n });\n\n // @ts-expect-error problem typing event handlers\n document.addEventListener(\"mousemove\", this.onHandleDrag, {\n passive: false,\n });\n // @ts-expect-error problem typing event handlers\n document.addEventListener(\"mouseup\", this.onHandleDragEnd, {\n passive: false,\n });\n };\n\n onTouchStart = () => {\n this.setState({\n onDrag: true,\n });\n };\n\n onHandleDrag = (event: MouseEvent) => {\n event.preventDefault();\n const mouseDeltaY = event.pageY - this.startDragMousePos;\n const handleTopPosition = ensureWithinLimits(\n this.startDragHandlePos + mouseDeltaY,\n 0,\n this.visibleHeight - this.scrollHandleHeight,\n );\n const newScrollValue =\n this.getScrollValueFromHandlePosition(handleTopPosition);\n this.updateScrollPosition(newScrollValue);\n };\n\n onHandleDragEnd = (e: MouseEvent) => {\n this.setState({\n onDrag: false,\n });\n e.preventDefault();\n // @ts-expect-error problem typing event handlers\n document.removeEventListener(\"mousemove\", this.onHandleDrag);\n // @ts-expect-error problem typing event handlers\n document.removeEventListener(\"mouseup\", this.onHandleDragEnd);\n };\n\n getInnerContainerClasses = () => {\n if (this.state.scrollPos && this.props.addScrolledClass) {\n return \"rcs-inner-container rcs-content-scrolled\";\n }\n return \"rcs-inner-container\";\n };\n\n getScrollStyles = () => {\n const scrollSize = this.scrollbarYWidth || 20;\n const marginKey = this.props.rtl ? \"marginLeft\" : \"marginRight\";\n const innerContainerStyle: CSSProperties = {\n height:\n this.props.heightRelativeToParent || this.props.flex ? \"100%\" : \"\",\n overscrollBehavior: this.props.allowOuterScroll ? \"auto\" : \"none\",\n };\n innerContainerStyle[marginKey] = -1 * scrollSize;\n const contentWrapperStyle: CSSProperties = {\n height:\n this.props.heightRelativeToParent || this.props.flex ? \"100%\" : \"\",\n overflowY: this.props.freezePosition ? \"hidden\" : \"visible\",\n };\n contentWrapperStyle[marginKey] = this.scrollbarYWidth ? 0 : scrollSize;\n\n return {\n innerContainer: innerContainerStyle,\n contentWrapper: contentWrapperStyle,\n };\n };\n\n getOuterContainerStyle = () => ({\n height: this.props.heightRelativeToParent || this.props.flex ? \"100%\" : \"\",\n });\n\n getRootStyles = () => {\n const result: CSSProperties = {};\n\n if (this.props.heightRelativeToParent) {\n result.height = this.props.heightRelativeToParent;\n } else if (this.props.flex) {\n result.flex = this.props.flex;\n }\n\n return result;\n };\n\n enforceMinHandleHeight = (calculatedStyle: {\n height: number;\n top: number;\n }) => {\n const minHeight = this.props.minScrollHandleHeight || 38;\n if (calculatedStyle.height >= minHeight) {\n return calculatedStyle;\n }\n\n const diffHeightBetweenMinAndCalculated =\n minHeight - calculatedStyle.height;\n const scrollPositionToAvailableScrollRatio =\n this.state.scrollPos / (this.contentHeight - this.visibleHeight);\n const scrollHandlePosAdjustmentForMinHeight =\n diffHeightBetweenMinAndCalculated * scrollPositionToAvailableScrollRatio;\n const handlePosition =\n calculatedStyle.top - scrollHandlePosAdjustmentForMinHeight;\n\n return {\n height: minHeight,\n top: handlePosition,\n };\n };\n\n onMouseEnter = () => {\n this.setState({ visible: true });\n };\n\n onMouseLeave = () => {\n this.setState({ visible: false });\n };\n\n render() {\n const scrollStyles = this.getScrollStyles();\n const rootStyle = this.getRootStyles();\n const scrollHandleStyle = this.enforceMinHandleHeight(\n this.getScrollHandleStyle(),\n );\n const className = [\n this.props.className || \"\",\n \"rcs-custom-scroll\",\n this.state.onDrag ? \"rcs-scroll-handle-dragged\" : \"\",\n ].join(\" \");\n\n return (\n \n \n {this.hasScroll ? (\n
\n \n \n \n
\n \n
\n ) : null}\n \n \n {this.props.children}\n
\n
\n \n \n );\n }\n}\n"],"names":["f","require$$0","k","l","m","n","p","q","c","a","g","b","d","e","h","reactJsxRuntime_production_min","React","REACT_ELEMENT_TYPE","REACT_PORTAL_TYPE","REACT_FRAGMENT_TYPE","REACT_STRICT_MODE_TYPE","REACT_PROFILER_TYPE","REACT_PROVIDER_TYPE","REACT_CONTEXT_TYPE","REACT_FORWARD_REF_TYPE","REACT_SUSPENSE_TYPE","REACT_SUSPENSE_LIST_TYPE","REACT_MEMO_TYPE","REACT_LAZY_TYPE","REACT_OFFSCREEN_TYPE","MAYBE_ITERATOR_SYMBOL","FAUX_ITERATOR_SYMBOL","getIteratorFn","maybeIterable","maybeIterator","ReactSharedInternals","error","format","_len2","args","_key2","printWarning","level","ReactDebugCurrentFrame","stack","argsWithFormat","item","enableScopeAPI","enableCacheElement","enableTransitionTracing","enableLegacyHidden","enableDebugTracing","REACT_MODULE_REFERENCE","isValidElementType","type","getWrappedName","outerType","innerType","wrapperName","displayName","functionName","getContextName","getComponentNameFromType","context","provider","outerName","lazyComponent","payload","init","assign","disabledDepth","prevLog","prevInfo","prevWarn","prevError","prevGroup","prevGroupCollapsed","prevGroupEnd","disabledLog","disableLogs","props","reenableLogs","ReactCurrentDispatcher","prefix","describeBuiltInComponentFrame","name","source","ownerFn","x","match","reentry","componentFrameCache","PossiblyWeakMap","describeNativeComponentFrame","fn","construct","frame","control","previousPrepareStackTrace","previousDispatcher","Fake","sample","sampleLines","controlLines","s","_frame","syntheticFrame","describeFunctionComponentFrame","shouldConstruct","Component","prototype","describeUnknownElementTypeFrameInDEV","hasOwnProperty","loggedTypeFailures","setCurrentlyValidatingElement","element","owner","checkPropTypes","typeSpecs","values","location","componentName","has","typeSpecName","error$1","err","ex","isArrayImpl","isArray","typeName","value","hasToStringTag","willCoercionThrow","testStringCoercion","checkKeyStringCoercion","ReactCurrentOwner","RESERVED_PROPS","specialPropKeyWarningShown","specialPropRefWarningShown","didWarnAboutStringRefs","hasValidRef","config","getter","hasValidKey","warnIfStringRefCannotBeAutoConverted","self","defineKeyPropWarningGetter","warnAboutAccessingKey","defineRefPropWarningGetter","warnAboutAccessingRef","ReactElement","key","ref","jsxDEV","maybeKey","propName","defaultProps","ReactCurrentOwner$1","ReactDebugCurrentFrame$1","setCurrentlyValidatingElement$1","propTypesMisspellWarningShown","isValidElement","object","getDeclarationErrorAddendum","getSourceInfoErrorAddendum","fileName","lineNumber","ownerHasKeyUseWarning","getCurrentComponentErrorInfo","parentType","info","parentName","validateExplicitKey","currentComponentErrorInfo","childOwner","validateChildKeys","node","i","child","iteratorFn","iterator","step","validatePropTypes","propTypes","_name","validateFragmentProps","fragment","keys","jsxWithValidation","isStaticChildren","validType","sourceInfo","typeString","children","jsxWithValidationStatic","jsxWithValidationDynamic","jsx","jsxs","reactJsxRuntime_development","jsxRuntimeModule","require$$1","__assign","__spreadArray","to","from","pack","ar","memoize","cache","arg","reactPropsRegex","isPropValid","prop","MS","MOZ","WEBKIT","COMMENT","RULESET","DECLARATION","IMPORT","KEYFRAMES","LAYER","abs","hash","length","charat","trim","pattern","replace","replacement","indexof","search","position","index","substr","begin","end","strlen","sizeof","append","array","combine","callback","filter","line","column","character","characters","root","parent","siblings","copy","lift","char","prev","next","peek","caret","slice","token","alloc","dealloc","delimit","delimiter","whitespace","escaping","count","commenter","identifier","compile","parse","rule","rules","rulesets","pseudo","points","declarations","offset","atrule","property","previous","variable","scanning","ampersand","reference","comment","declaration","ruleset","post","size","j","y","z","_","serialize","output","stringify","middleware","collection","rulesheet","prefixer","unitlessKeys","v","S","w","E","N","P","t","o","r","C","I","A","O","D","R","T","V","F","M","$","B","L","G","Y","W","H","U","J","X","Z","K","Q","ee","te","ne","oe","re","se","ie","ae","ce","le","ue","pe","de","he","fe","me","ye","ve","ge","Se","we","be","Ee","Ne","u","Pe","_e","Ce","Ie","Ae","Oe","De","Re","Te","ke","je","xe","d.RULESET","d.prefixer","d.stringify","d.compile","d.serialize","d.middleware","d.rulesheet","Ve","Fe","Me","Be","Ge","Ye","We","qe","He","Ue","Je","Xe","Ze","Ke","nt","ot","rt","st","it","at","ct","lt","ut","vt","simpleDebounce","func","delay","timer","cancel","debounced","ensureWithinLimits","min","max","isEventPosOnLayout","event","layout","isEventPosOnDomNode","domNode","nodeClientRect","CustomScrollbar","styled","ScrollHandle","CustomScrollRoot","CustomScroll","__publicField","createRef","prevProps","innerContainer","contentWrapper","shouldHaveScroll","scrollValue","updatedScrollTop","newScrollHandleTop","newScrollValue","boundingRect","customScrollbarBoundingRect","horizontalClickArea","customScrollbarLayout","scrollHandle","clickEvent","currentTop","clickYRelativeToScrollbar","scrollHandleTop","handlePosition","scrollPosition","mouseDeltaY","handleTopPosition","scrollSize","marginKey","innerContainerStyle","contentWrapperStyle","result","calculatedStyle","minHeight","diffHeightBetweenMinAndCalculated","scrollPositionToAvailableScrollRatio","scrollHandlePosAdjustmentForMinHeight","prevState","prevContentHeight","prevVisibleHeight","reachedBottomOnPrevRender","isExternalRender","scrollStyles","rootStyle","scrollHandleStyle","className"],"mappings":";;;;;;;;;;;;;;;;;;;AASa,MAAIA,IAAEC,IAAiBC,IAAE,OAAO,IAAI,eAAe,GAAEC,IAAE,OAAO,IAAI,gBAAgB,GAAEC,IAAE,OAAO,UAAU,gBAAeC,IAAEL,EAAE,mDAAmD,mBAAkBM,IAAE,EAAC,KAAI,IAAG,KAAI,IAAG,QAAO,IAAG,UAAS,GAAE;AAClP,WAASC,EAAEC,GAAEC,GAAE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OAAI,EAAA,WAAU,mBACb,UAAAA,gBAAAA,GAAA;AAAA,gBAAC6N;AAAA,gBAAA;AAAA,kBACC,eAAY;AAAA,kBACZ,KAAK,KAAK;AAAA,kBACV,WAAW,wBAAwB,KAAK,MAAM,MAAM,6BAA6B,EAAE,IAAI,KAAK,MAAM,UAAU,mBAAmB,EAAE;AAAA,kBAGjI,UAAA7N,gBAAAA,GAAA;AAAA,oBAAC;AAAA,oBAAA;AAAA,sBACC,eAAY;AAAA,sBACZ,KAAK,KAAK;AAAA,sBACV,WAAU;AAAA,sBACV,OAAO0Q;AAAA,sBAEP,iCAAC3C,IAAa,EAAA,WAAW,KAAK,MAAM,eAAe,IAAI;AAAA,oBAAA;AAAA,kBACzD;AAAA,gBAAA;AAAA,gBATI;AAAA,iBAWR,IACE;AAAA,cACJ/N,gBAAAA,GAAA;AAAA,gBAAC;AAAA,gBAAA;AAAA,kBACC,eAAY;AAAA,kBACZ,KAAK,KAAK;AAAA,kBACV,WAAW,KAAK,yBAAyB;AAAA,kBACzC,OAAOwQ,EAAa;AAAA,kBACpB,UAAU,KAAK;AAAA,kBAEf,UAAAxQ,gBAAAA,GAAA;AAAA,oBAAC;AAAA,oBAAA;AAAA,sBACC,KAAK,KAAK;AAAA,sBACV,OAAOwQ,EAAa;AAAA,sBAEnB,eAAK,MAAM;AAAA,oBAAA;AAAA,kBACd;AAAA,gBAAA;AAAA,cACF;AAAA,YAAA;AAAA,UAAA;AAAA,QACF;AAAA,MAAA;AAAA,IAAA;AAAA,EAGN;AACF;","x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14]} \ No newline at end of file diff --git a/dist/index.umd.js b/dist/index.umd.js new file mode 100644 index 0000000..f37b48f --- /dev/null +++ b/dist/index.umd.js @@ -0,0 +1,166 @@ +(function(V,T){typeof exports=="object"&&typeof module<"u"?T(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],T):(V=typeof globalThis<"u"?globalThis:V||self,T(V["react-custom-scroll"]={},V.React))})(this,function(V,T){"use strict";var Ro=Object.defineProperty;var Co=(V,T,ee)=>T in V?Ro(V,T,{enumerable:!0,configurable:!0,writable:!0,value:ee}):V[T]=ee;var b=(V,T,ee)=>(Co(V,typeof T!="symbol"?T+"":T,ee),ee);var ee={exports:{}},je={};/** + * @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 Ht;function Lr(){if(Ht)return je;Ht=1;var e=T,t=Symbol.for("react.element"),r=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,i=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function c(f,l,p){var h,g={},S=null,R=null;p!==void 0&&(S=""+p),l.key!==void 0&&(S=""+l.key),l.ref!==void 0&&(R=l.ref);for(h in l)o.call(l,h)&&!s.hasOwnProperty(h)&&(g[h]=l[h]);if(f&&f.defaultProps)for(h in l=f.defaultProps,l)g[h]===void 0&&(g[h]=l[h]);return{$$typeof:t,type:f,key:S,ref:R,props:g,_owner:i.current}}return je.Fragment=r,je.jsx=c,je.jsxs=c,je}var He={};/** + * @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 It;function Wr(){return It||(It=1,process.env.NODE_ENV!=="production"&&function(){var e=T,t=Symbol.for("react.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),f=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),g=Symbol.for("react.memo"),S=Symbol.for("react.lazy"),R=Symbol.for("react.offscreen"),A=Symbol.iterator,H="@@iterator";function L(n){if(n===null||typeof n!="object")return null;var a=A&&n[A]||n[H];return typeof a=="function"?a:null}var _=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function y(n){{for(var a=arguments.length,u=new Array(a>1?a-1:0),d=1;d=1&&$>=0&&w[I]!==Y[$];)$--;for(;I>=1&&$>=0;I--,$--)if(w[I]!==Y[$]){if(I!==1||$!==1)do if(I--,$--,$<0||w[I]!==Y[$]){var q=` +`+w[I].replace(" at new "," at ");return n.displayName&&q.includes("")&&(q=q.replace("",n.displayName)),typeof n=="function"&&de.set(n,q),q}while(I>=1&&$>=0);break}}}finally{J=!1,ie.current=O,Oe(),Error.prepareStackTrace=P}var Ne=n?n.displayName||n.name:"",Fr=Ne?K(Ne):"";return typeof n=="function"&&de.set(n,Fr),Fr}function eo(n,a,u){return Z(n,!1)}function to(n){var a=n.prototype;return!!(a&&a.isReactComponent)}function at(n,a,u){if(n==null)return"";if(typeof n=="function")return Z(n,to(n));if(typeof n=="string")return K(n);switch(n){case p:return K("Suspense");case h:return K("SuspenseList")}if(typeof n=="object")switch(n.$$typeof){case l:return eo(n.render);case g:return at(n.type,a,u);case S:{var d=n,P=d._payload,O=d._init;try{return at(O(P),a,u)}catch{}}}return""}var ct=Object.prototype.hasOwnProperty,xr={},_r=_.ReactDebugCurrentFrame;function lt(n){if(n){var a=n._owner,u=at(n.type,n._source,a?a.type:null);_r.setExtraStackFrame(u)}else _r.setExtraStackFrame(null)}function ro(n,a,u,d,P){{var O=Function.call.bind(ct);for(var C in n)if(O(n,C)){var w=void 0;try{if(typeof n[C]!="function"){var Y=Error((d||"React class")+": "+u+" type `"+C+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof n[C]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Y.name="Invariant Violation",Y}w=n[C](a,C,d,u,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(I){w=I}w&&!(w instanceof Error)&&(lt(P),y("%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).",d||"React class",u,C,typeof w),lt(null)),w instanceof Error&&!(w.message in xr)&&(xr[w.message]=!0,lt(P),y("Failed %s type: %s",u,w.message),lt(null))}}}var no=Array.isArray;function Ot(n){return no(n)}function oo(n){{var a=typeof Symbol=="function"&&Symbol.toStringTag,u=a&&n[Symbol.toStringTag]||n.constructor.name||"Object";return u}}function io(n){try{return kr(n),!1}catch{return!0}}function kr(n){return""+n}function Or(n){if(io(n))return y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",oo(n)),kr(n)}var Le=_.ReactCurrentOwner,so={key:!0,ref:!0,__self:!0,__source:!0},Ar,Dr,At;At={};function ao(n){if(ct.call(n,"ref")){var a=Object.getOwnPropertyDescriptor(n,"ref").get;if(a&&a.isReactWarning)return!1}return n.ref!==void 0}function co(n){if(ct.call(n,"key")){var a=Object.getOwnPropertyDescriptor(n,"key").get;if(a&&a.isReactWarning)return!1}return n.key!==void 0}function lo(n,a){if(typeof n.ref=="string"&&Le.current&&a&&Le.current.stateNode!==a){var u=U(Le.current.type);At[u]||(y('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',U(Le.current.type),n.ref),At[u]=!0)}}function uo(n,a){{var u=function(){Ar||(Ar=!0,y("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",a))};u.isReactWarning=!0,Object.defineProperty(n,"key",{get:u,configurable:!0})}}function fo(n,a){{var u=function(){Dr||(Dr=!0,y("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",a))};u.isReactWarning=!0,Object.defineProperty(n,"ref",{get:u,configurable:!0})}}var po=function(n,a,u,d,P,O,C){var w={$$typeof:t,type:n,key:a,ref:u,props:C,_owner:O};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:d}),Object.defineProperty(w,"_source",{configurable:!1,enumerable:!1,writable:!1,value:P}),Object.freeze&&(Object.freeze(w.props),Object.freeze(w)),w};function ho(n,a,u,d,P){{var O,C={},w=null,Y=null;u!==void 0&&(Or(u),w=""+u),co(a)&&(Or(a.key),w=""+a.key),ao(a)&&(Y=a.ref,lo(a,P));for(O in a)ct.call(a,O)&&!so.hasOwnProperty(O)&&(C[O]=a[O]);if(n&&n.defaultProps){var I=n.defaultProps;for(O in I)C[O]===void 0&&(C[O]=I[O])}if(w||Y){var $=typeof n=="function"?n.displayName||n.name||"Unknown":n;w&&uo(C,$),Y&&fo(C,$)}return po(n,w,Y,P,d,Le.current,C)}}var Dt=_.ReactCurrentOwner,Nr=_.ReactDebugCurrentFrame;function De(n){if(n){var a=n._owner,u=at(n.type,n._source,a?a.type:null);Nr.setExtraStackFrame(u)}else Nr.setExtraStackFrame(null)}var Nt;Nt=!1;function jt(n){return typeof n=="object"&&n!==null&&n.$$typeof===t}function jr(){{if(Dt.current){var n=U(Dt.current.type);if(n)return` + +Check the render method of \``+n+"`."}return""}}function go(n){{if(n!==void 0){var a=n.fileName.replace(/^.*[\\\/]/,""),u=n.lineNumber;return` + +Check your code at `+a+":"+u+"."}return""}}var Hr={};function mo(n){{var a=jr();if(!a){var u=typeof n=="string"?n:n.displayName||n.name;u&&(a=` + +Check the top-level render call using <`+u+">.")}return a}}function Ir(n,a){{if(!n._store||n._store.validated||n.key!=null)return;n._store.validated=!0;var u=mo(a);if(Hr[u])return;Hr[u]=!0;var d="";n&&n._owner&&n._owner!==Dt.current&&(d=" It was passed a child from "+U(n._owner.type)+"."),De(n),y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',u,d),De(null)}}function Mr(n,a){{if(typeof n!="object")return;if(Ot(n))for(var u=0;u",w=" Did you accidentally export a JSX literal instead of a component?"):I=typeof n,y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",I,w)}var $=ho(n,a,u,P,O);if($==null)return $;if(C){var q=a.children;if(q!==void 0)if(d)if(Ot(q)){for(var Ne=0;Ne0?F(Ee,--B):0,we--,M===10&&(we=1,ze--),M}function X(){return M=B2||pt(M)>3?"":" "}function en(e,t){for(;--t&&X()&&!(M<48||M>102||M>57&&M<65||M>70&&M<97););return Ue(e,Be()+(t<6&&pe()==32&&X()==32))}function gt(e){for(;X();)switch(M){case e:return B;case 34:case 39:e!==34&&e!==39&>(M);break;case 40:e===41&>(e);break;case 92:X();break}return B}function tn(e,t){for(;X()&&e+M!==57;)if(e+M===84&&pe()===47)break;return"/*"+Ue(t,B-1)+"*"+ft(e===47?e:X())}function rn(e){for(;!pt(pe());)X();return Ue(e,B)}function nn(e){return Zr(Ge("",null,null,null,[""],e=Jr(e),0,[0],e))}function Ge(e,t,r,o,i,s,c,f,l){for(var p=0,h=0,g=c,S=0,R=0,A=0,H=1,L=1,_=1,y=0,k="",D=i,j=s,E=o,m=k;L;)switch(A=y,y=X()){case 40:if(A!=108&&F(m,g-1)==58){Ye(m+=v(ht(y),"&","&\f"),"&\f",Ft(p?f[p-1]:0))!=-1&&(_=-1);break}case 34:case 39:case 91:m+=ht(y);break;case 9:case 10:case 13:case 32:m+=Qr(A);break;case 92:m+=en(Be()-1,7);continue;case 47:switch(pe()){case 42:case 47:Me(on(tn(X(),Be()),t,r,l),l);break;default:m+="/"}break;case 123*H:f[p++]=Q(m)*_;case 125*H:case 59:case 0:switch(y){case 0:case 125:L=0;case 59+h:_==-1&&(m=v(m,/\f/g,"")),R>0&&Q(m)-g&&Me(R>32?Bt(m+";",o,r,g-1,l):Bt(v(m," ","")+";",o,r,g-2,l),l);break;case 59:m+=";";default:if(Me(E=Vt(m,t,r,p,h,i,f,k,D=[],j=[],g,s),s),y===123)if(h===0)Ge(m,t,E,E,D,s,g,f,j);else switch(S===99&&F(m,3)===110?100:S){case 100:case 108:case 109:case 115:Ge(e,E,E,o&&Me(Vt(e,E,E,0,0,i,f,k,i,D=[],g,j),j),i,j,g,f,o?D:j);break;default:Ge(m,E,E,E,[""],j,0,f,j)}}p=h=R=0,H=_=1,k=m="",g=c;break;case 58:g=1+Q(m),R=A;default:if(H<1){if(y==123)--H;else if(y==125&&H++==0&&Kr()==125)continue}switch(m+=ft(y),y*H){case 38:_=h>0?1:(m+="\f",-1);break;case 44:f[p++]=(Q(m)-1)*_,_=1;break;case 64:pe()===45&&(m+=ht(X())),S=pe(),h=g=Q(k=m+=rn(Be())),y++;break;case 45:A===45&&Q(m)==2&&(H=0)}}return s}function Vt(e,t,r,o,i,s,c,f,l,p,h,g){for(var S=i-1,R=i===0?s:[""],A=Wt(R),H=0,L=0,_=0;H0?R[y]+" "+k:v(k,/&\f/g,R[y])))&&(l[_++]=D);return Ve(e,t,r,i===0?We:f,l,p,h,g)}function on(e,t,r,o){return Ve(e,t,r,Mt,ft(Xr()),Se(e,2,-2),0,o)}function Bt(e,t,r,o,i){return Ve(e,t,r,ut,Se(e,0,o),Se(e,o+1,-1),o,i)}function Ut(e,t,r){switch(Gr(e,t)){case 5103:return x+"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 x+e+e;case 4789:return Ie+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return x+e+Ie+e+N+e+e;case 5936:switch(F(e,t+11)){case 114:return x+e+N+v(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return x+e+N+v(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return x+e+N+v(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return x+e+N+e+e;case 6165:return x+e+N+"flex-"+e+e;case 5187:return x+e+v(e,/(\w+).+(:[^]+)/,x+"box-$1$2"+N+"flex-$1$2")+e;case 5443:return x+e+N+"flex-item-"+v(e,/flex-|-self/g,"")+(te(e,/flex-|baseline/)?"":N+"grid-row-"+v(e,/flex-|-self/g,""))+e;case 4675:return x+e+N+"flex-line-pack"+v(e,/align-content|flex-|-self/g,"")+e;case 5548:return x+e+N+v(e,"shrink","negative")+e;case 5292:return x+e+N+v(e,"basis","preferred-size")+e;case 6060:return x+"box-"+v(e,"-grow","")+x+e+N+v(e,"grow","positive")+e;case 4554:return x+v(e,/([^-])(transform)/g,"$1"+x+"$2")+e;case 6187:return v(v(v(e,/(zoom-|grab)/,x+"$1"),/(image-set)/,x+"$1"),e,"")+e;case 5495:case 3959:return v(e,/(image-set\([^]*)/,x+"$1$`$1");case 4968:return v(v(e,/(.+:)(flex-)?(.*)/,x+"box-pack:$3"+N+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+x+e+e;case 4200:if(!te(e,/flex-|baseline/))return N+"grid-column-align"+Se(e,t)+e;break;case 2592:case 3360:return N+v(e,"template-","")+e;case 4384:case 3616:return r&&r.some(function(o,i){return t=i,te(o.props,/grid-\w+-end/)})?~Ye(e+(r=r[t].value),"span",0)?e:N+v(e,"-start","")+e+N+"grid-row-span:"+(~Ye(r,"span",0)?te(r,/\d+/):+te(r,/\d+/)-+te(e,/\d+/))+";":N+v(e,"-start","")+e;case 4896:case 4128:return r&&r.some(function(o){return te(o.props,/grid-\w+-start/)})?e:N+v(v(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return v(e,/(.+)-inline(.+)/,x+"$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(Q(e)-1-t>6)switch(F(e,t+1)){case 109:if(F(e,t+4)!==45)break;case 102:return v(e,/(.+:)(.+)-([^]+)/,"$1"+x+"$2-$3$1"+Ie+(F(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Ye(e,"stretch",0)?Ut(v(e,"stretch","fill-available"),t,r)+e:e}break;case 5152:case 5920:return v(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(o,i,s,c,f,l,p){return N+i+":"+s+p+(c?N+i+"-span:"+(f?l:+l-+s)+p:"")+e});case 4949:if(F(e,t+6)===121)return v(e,":",":"+x)+e;break;case 6444:switch(F(e,F(e,14)===45?18:11)){case 120:return v(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+x+(F(e,14)===45?"inline-":"")+"box$3$1"+x+"$2$3$1"+N+"$2box$3")+e;case 100:return v(e,":",":"+N)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return v(e,"scroll-","scroll-snap-")+e}return e}function qe(e,t){for(var r="",o=0;o-1&&!e.return)switch(e.type){case ut:e.return=Ut(e.value,e.length,r);return;case $t:return qe([ce(e,{value:v(e.value,"@","@"+x)})],o);case We:if(e.length)return qr(r=e.props,function(i){switch(te(i,o=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":Re(ce(e,{props:[v(i,/:(read-\w+)/,":"+Ie+"$1")]})),Re(ce(e,{props:[i]})),dt(e,{props:Yt(r,o)});break;case"::placeholder":Re(ce(e,{props:[v(i,/:(plac\w+)/,":"+x+"input-$1")]})),Re(ce(e,{props:[v(i,/:(plac\w+)/,":"+Ie+"$1")]})),Re(ce(e,{props:[v(i,/:(plac\w+)/,N+"input-$1")]})),Re(ce(e,{props:[i]})),dt(e,{props:Yt(r,o)});break}return""})}}var un={animationIterationCount: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,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},he=typeof process<"u"&&process.env!==void 0&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",Gt="active",qt="data-styled-version",Xe="6.1.8",mt=`/*!sc*/ +`,vt=typeof window<"u"&&"HTMLElement"in window,fn=!!(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"),Xt=/invalid hook call/i,Ke=new Set,dn=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.`,i=console.error;try{var s=!0;console.error=function(c){for(var f=[],l=1;l?@[\\\]^`{|}~-]+/g,gn=/(^-|-$)/g;function Kt(e){return e.replace(hn,"-").replace(gn,"")}var mn=/(a)(d)/gi,Ze=52,Jt=function(e){return String.fromCharCode(e+(e>25?39:97))};function bt(e){var t,r="";for(t=Math.abs(e);t>Ze;t=t/Ze|0)r=Jt(t%Ze)+r;return(Jt(t%Ze)+r).replace(mn,"$1-$2")}var St,Zt=5381,ge=function(e,t){for(var r=t.length;r;)e=33*e^t.charCodeAt(--r);return e},Qt=function(e){return ge(Zt,e)};function vn(e){return bt(Qt(e)>>>0)}function er(e){return process.env.NODE_ENV!=="production"&&typeof e=="string"&&e||e.displayName||e.name||"Component"}function wt(e){return typeof e=="string"&&(process.env.NODE_ENV==="production"||e.charAt(0)===e.charAt(0).toLowerCase())}var tr=typeof Symbol=="function"&&Symbol.for,rr=tr?Symbol.for("react.memo"):60115,yn=tr?Symbol.for("react.forward_ref"):60112,bn={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Sn={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},nr={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},wn=((St={})[yn]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},St[rr]=nr,St);function or(e){return("type"in(t=e)&&t.type.$$typeof)===rr?nr:"$$typeof"in e?wn[e.$$typeof]:bn;var t}var En=Object.defineProperty,Rn=Object.getOwnPropertyNames,ir=Object.getOwnPropertySymbols,Cn=Object.getOwnPropertyDescriptor,Pn=Object.getPrototypeOf,sr=Object.prototype;function ar(e,t,r){if(typeof t!="string"){if(sr){var o=Pn(t);o&&o!==sr&&ar(e,o,r)}var i=Rn(t);ir&&(i=i.concat(ir(t)));for(var s=or(e),c=or(t),f=0;f ({})}\n```\n\n',8:`ThemeProvider: Please make your "theme" prop an object. + +`,9:"Missing document ``\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 ``, 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 ``"}:{};function xn(){for(var e=[],t=0;t0?" Args: ".concat(t.join(", ")):"")):new Error(xn.apply(void 0,be([Tn[e]],t,!1)).trim())}var _n=function(){function e(t){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=t}return e.prototype.indexOfGroup=function(t){for(var r=0,o=0;o=this.groupSizes.length){for(var o=this.groupSizes,i=o.length,s=i;t>=s;)if((s<<=1)<0)throw xe(16,"".concat(t));this.groupSizes=new Uint32Array(s),this.groupSizes.set(o),this.length=s;for(var c=i;c=this.length||this.groupSizes[t]===0)return r;for(var o=this.groupSizes[t],i=this.indexOfGroup(t),s=i+o,c=i;c1073741824))throw xe(16,"".concat(t));return Qe.set(e,t),et.set(t,e),t},kn=function(e,t){tt=t+1,Qe.set(e,t),et.set(t,e)},On="style[".concat(he,"][").concat(qt,'="').concat(Xe,'"]'),An=new RegExp("^".concat(he,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),Dn=function(e,t,r){for(var o,i=r.split(","),s=0,c=i.length;s=0){var o=document.createTextNode(r);return this.element.insertBefore(o,this.nodes[t]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(t){this.element.removeChild(this.nodes[t]),this.length--},e.prototype.getRule=function(t){return t0&&(L+="".concat(_,","))}),l+="".concat(A).concat(H,'{content:"').concat(L,'"}').concat(mt)},h=0;h0?".".concat(t):S},h=l.slice();h.push(function(S){S.type===We&&S.value.includes("&")&&(S.props[0]=S.props[0].replace(Fn,r).replace(o,p))}),c.prefix&&h.push(ln),h.push(sn);var g=function(S,R,A,H){R===void 0&&(R=""),A===void 0&&(A=""),H===void 0&&(H="&"),t=H,r=R,o=new RegExp("\\".concat(r,"\\b"),"g");var L=S.replace(Ln,""),_=nn(A||R?"".concat(A," ").concat(R," { ").concat(L," }"):L);c.namespace&&(_=dr(_,c.namespace));var y=[];return qe(_,an(h.concat(cn(function(k){return y.push(k)})))),y};return g.hash=l.length?l.reduce(function(S,R){return R.name||xe(15),ge(S,R.name)},Zt).toString():"",g}var Yn=new fr,Pt=Wn(),pr=T.createContext({shouldForwardProp:void 0,styleSheet:Yn,stylis:Pt});pr.Consumer,T.createContext(void 0);function hr(){return T.useContext(pr)}var gr=function(){function e(t,r){var o=this;this.inject=function(i,s){s===void 0&&(s=Pt);var c=o.name+s.hash;i.hasNameForId(o.id,c)||i.insertRules(o.id,c,s(o.rules,c,"@keyframes"))},this.name=t,this.id="sc-keyframes-".concat(t),this.rules=r,Ct(this,function(){throw xe(12,String(o.name))})}return e.prototype.getName=function(t){return t===void 0&&(t=Pt),this.name+t.hash},e}(),zn=function(e){return e>="A"&&e<="Z"};function mr(e){for(var t="",r=0;r>>0);if(!r.hasNameForId(this.componentId,c)){var f=o(s,".".concat(c),void 0,this.componentId);r.insertRules(this.componentId,c,f)}i=me(i,c),this.staticRulesId=c}else{for(var l=ge(this.baseHash,o.hash),p="",h=0;h>>0);r.hasNameForId(this.componentId,R)||r.insertRules(this.componentId,R,o(p,".".concat(R),void 0,this.componentId)),i=me(i,R)}}return i},e}(),br=T.createContext(void 0);br.Consumer;var Tt={},Sr=new Set;function Gn(e,t,r){var o=Et(e),i=e,s=!wt(e),c=t.attrs,f=c===void 0?Je:c,l=t.componentId,p=l===void 0?function(D,j){var E=typeof D!="string"?"sc":Kt(D);Tt[E]=(Tt[E]||0)+1;var m="".concat(E,"-").concat(vn(Xe+E+Tt[E]));return j?"".concat(j,"-").concat(m):m}(t.displayName,t.parentComponentId):l,h=t.displayName,g=h===void 0?function(D){return wt(D)?"styled.".concat(D):"Styled(".concat(er(D),")")}(e):h,S=t.displayName&&t.componentId?"".concat(Kt(t.displayName),"-").concat(t.componentId):t.componentId||p,R=o&&i.attrs?i.attrs.concat(f).filter(Boolean):f,A=t.shouldForwardProp;if(o&&i.shouldForwardProp){var H=i.shouldForwardProp;if(t.shouldForwardProp){var L=t.shouldForwardProp;A=function(D,j){return H(D,j)&&L(D,j)}}else A=H}var _=new Un(r,S,o?i.componentStyle:void 0);function y(D,j){return function(E,m,re){var ne=E.attrs,_t=E.componentStyle,kt=E.defaultProps,it=E.foldedComponentIds,U=E.styledComponentId,oe=E.target,ye=T.useContext(br),st=hr(),_e=E.shouldForwardProp||st.shouldForwardProp;process.env.NODE_ENV!=="production"&&T.useDebugValue(U);var $e=pn(m,ye,kt)||Ce,G=function(Oe,ie,fe){for(var K,J=z(z({},ie),{className:void 0,theme:fe}),de=0;de` (connect an API like `@emotion/is-prop-valid`) or consider using transient props (`$` prefix for automatic filtering.)')))));var ke=function(Oe,ie){var fe=hr(),K=Oe.generateAndInjectStyles(ie,fe.styleSheet,fe.stylis);return process.env.NODE_ENV!=="production"&&T.useDebugValue(K),K}(_t,G);process.env.NODE_ENV!=="production"&&E.warnTooManyClasses&&E.warnTooManyClasses(ke);var Fe=me(it,U);return ke&&(Fe+=" "+ke),G.className&&(Fe+=" "+G.className),ue[wt(le)&&!yt.has(le)?"class":"className"]=Fe,ue.ref=re,T.createElement(le,ue)}(k,D,j)}y.displayName=g;var k=T.forwardRef(y);return k.attrs=R,k.componentStyle=_,k.displayName=g,k.shouldForwardProp=A,k.foldedComponentIds=o?me(i.foldedComponentIds,i.styledComponentId):"",k.styledComponentId=S,k.target=o?i.target:e,Object.defineProperty(k,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(D){this._foldedDefaultProps=o?function(j){for(var E=[],m=1;m=200)){var ne=j?' with the id of "'.concat(j,'"'):"";console.warn("Over ".concat(200," classes were generated for component ").concat(D).concat(ne,`. +`)+`Consider using the attrs method, together with a style object for frequently changed styles. +Example: + const Component = styled.div.attrs(props => ({ + style: { + background: props.background, + }, + }))\`width: 100%;\` + + `),m=!0,E={}}}}(g,S)),Ct(k,function(){return".".concat(k.styledComponentId)}),s&&ar(k,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),k}function wr(e,t){for(var r=[e[0]],o=0,i=t.length;o{let r;function o(){clearTimeout(r)}function i(){o(),r=setTimeout(()=>{e()},t)}return i.cancel=o,i},Cr=(e,t,r)=>(t=!t&&t!==0?e:t,r=!r&&r!==0?e:r,t>r?(console.error("min limit is greater than max limit"),e):er?r:e),Pr=(e,t)=>e.clientX>t.left&&e.clientXt.top&&e.clientY{const r=t.getBoundingClientRect();return Pr(e,r)},Tr=nt.div` + position: absolute; + height: 100%; + width: 6px; + right: 3px; + opacity: 0; + z-index: 1; + transition: opacity 0.4s ease-out; + padding: 6px 0; + box-sizing: border-box; + will-change: opacity; + pointer-events: none; + + &.rcs-custom-scrollbar-rtl { + right: auto; + left: 3px; + } + + &.scroll-visible { + opacity: 1; + transition-duration: 0.2s; + } +`,Jn=nt.div` + height: calc(100% - 12px); + margin-top: 6px; + background-color: rgba(78, 183, 245, 0.7); + border-radius: 3px; +`,Zn=nt.div` + min-height: 0; + min-width: 0; + + & .rcs-outer-container { + overflow: hidden; + + & .rcs-positioning { + position: relative; + } + } + + & .rcs-inner-container { + overflow-x: hidden; + overflow-y: scroll; + -webkit-overflow-scrolling: touch; + + &:after { + content: ""; + position: absolute; + top: 0; + right: 0; + left: 0; + height: 0; + background-image: linear-gradient( + to bottom, + rgba(0, 0, 0, 0.2) 0%, + rgba(0, 0, 0, 0.05) 60%, + rgba(0, 0, 0, 0) 100% + ); + pointer-events: none; + transition: height 0.1s ease-in; + will-change: height; + } + + &.rcs-content-scrolled:after { + height: 5px; + transition: height 0.15s ease-out; + } + } + + &.rcs-scroll-handle-dragged .rcs-inner-container { + user-select: none; + } + + &.rcs-scroll-handle-dragged ${Tr} { + opacity: 1; + } + + & .rcs-custom-scroll-handle { + position: absolute; + width: 100%; + top: 0; + } +`;class Qn extends T.Component{constructor(r){super(r);b(this,"scrollbarYWidth");b(this,"hideScrollThumb");b(this,"contentHeight",0);b(this,"visibleHeight",0);b(this,"scrollHandleHeight",0);b(this,"scrollRatio",1);b(this,"hasScroll",!1);b(this,"startDragHandlePos",0);b(this,"startDragMousePos",0);b(this,"customScrollRef",T.createRef());b(this,"innerContainerRef",T.createRef());b(this,"customScrollbarRef",T.createRef());b(this,"scrollHandleRef",T.createRef());b(this,"contentWrapperRef",T.createRef());b(this,"adjustFreezePosition",r=>{if(!this.contentWrapperRef.current)return;const o=this.getScrolledElement(),i=this.contentWrapperRef.current;this.props.freezePosition&&(i.scrollTop=this.state.scrollPos),r.freezePosition&&(o.scrollTop=this.state.scrollPos)});b(this,"toggleScrollIfNeeded",()=>{const r=this.contentHeight-this.visibleHeight>1;this.hasScroll!==r&&(this.hasScroll=r,this.forceUpdate())});b(this,"updateScrollPosition",r=>{const o=this.getScrolledElement(),i=Cr(r,0,this.contentHeight-this.visibleHeight);o.scrollTop=i,this.setState({scrollPos:i})});b(this,"onClick",r=>{if(!this.hasScroll||!this.isMouseEventOnCustomScrollbar(r)||this.isMouseEventOnScrollHandle(r))return;const o=this.calculateNewScrollHandleTop(r),i=this.getScrollValueFromHandlePosition(o);this.updateScrollPosition(i)});b(this,"isMouseEventOnCustomScrollbar",r=>{if(!this.customScrollbarRef.current)return!1;const i=this.customScrollRef.current.getBoundingClientRect(),s=this.customScrollbarRef.current.getBoundingClientRect(),c=this.props.rtl?{left:i.left,right:s.right}:{left:s.left,width:i.right},f={right:i.right,top:i.top,height:i.height,...c};return Pr(r,f)});b(this,"isMouseEventOnScrollHandle",r=>{if(!this.scrollHandleRef.current)return!1;const o=this.scrollHandleRef.current;return Kn(r,o)});b(this,"calculateNewScrollHandleTop",r=>{const s=this.customScrollRef.current.getBoundingClientRect().top+window.pageYOffset,c=r.pageY-s,f=this.getScrollHandleStyle().top;let l;return c>f+this.scrollHandleHeight?l=f+Math.min(this.scrollHandleHeight,this.visibleHeight-this.scrollHandleHeight):l=f-Math.max(this.scrollHandleHeight,0),l});b(this,"getScrollValueFromHandlePosition",r=>r/this.scrollRatio);b(this,"getScrollHandleStyle",()=>{const r=this.state.scrollPos*this.scrollRatio;return this.scrollHandleHeight=this.visibleHeight*this.scrollRatio,{height:this.scrollHandleHeight,top:r}});b(this,"adjustCustomScrollPosToContentPos",r=>{this.setState({scrollPos:r})});b(this,"onScroll",r=>{this.props.freezePosition||(this.hideScrollThumb(),this.adjustCustomScrollPosToContentPos(r.currentTarget.scrollTop),this.props.onScroll&&this.props.onScroll(r))});b(this,"getScrolledElement",()=>this.innerContainerRef.current);b(this,"onMouseDown",r=>{!this.hasScroll||!this.isMouseEventOnScrollHandle(r)||(this.startDragHandlePos=this.getScrollHandleStyle().top,this.startDragMousePos=r.pageY,this.setState({onDrag:!0}),document.addEventListener("mousemove",this.onHandleDrag,{passive:!1}),document.addEventListener("mouseup",this.onHandleDragEnd,{passive:!1}))});b(this,"onTouchStart",()=>{this.setState({onDrag:!0})});b(this,"onHandleDrag",r=>{r.preventDefault();const o=r.pageY-this.startDragMousePos,i=Cr(this.startDragHandlePos+o,0,this.visibleHeight-this.scrollHandleHeight),s=this.getScrollValueFromHandlePosition(i);this.updateScrollPosition(s)});b(this,"onHandleDragEnd",r=>{this.setState({onDrag:!1}),r.preventDefault(),document.removeEventListener("mousemove",this.onHandleDrag),document.removeEventListener("mouseup",this.onHandleDragEnd)});b(this,"getInnerContainerClasses",()=>this.state.scrollPos&&this.props.addScrolledClass?"rcs-inner-container rcs-content-scrolled":"rcs-inner-container");b(this,"getScrollStyles",()=>{const r=this.scrollbarYWidth||20,o=this.props.rtl?"marginLeft":"marginRight",i={height:this.props.heightRelativeToParent||this.props.flex?"100%":"",overscrollBehavior:this.props.allowOuterScroll?"auto":"none"};i[o]=-1*r;const s={height:this.props.heightRelativeToParent||this.props.flex?"100%":"",overflowY:this.props.freezePosition?"hidden":"visible"};return s[o]=this.scrollbarYWidth?0:r,{innerContainer:i,contentWrapper:s}});b(this,"getOuterContainerStyle",()=>({height:this.props.heightRelativeToParent||this.props.flex?"100%":""}));b(this,"getRootStyles",()=>{const r={};return this.props.heightRelativeToParent?r.height=this.props.heightRelativeToParent:this.props.flex&&(r.flex=this.props.flex),r});b(this,"enforceMinHandleHeight",r=>{const o=this.props.minScrollHandleHeight||38;if(r.height>=o)return r;const i=o-r.height,s=this.state.scrollPos/(this.contentHeight-this.visibleHeight),c=i*s,f=r.top-c;return{height:o,top:f}});b(this,"onMouseEnter",()=>{this.setState({visible:!0})});b(this,"onMouseLeave",()=>{this.setState({visible:!1})});this.scrollbarYWidth=0,this.state={scrollPos:0,onDrag:!1,visible:!1},this.hideScrollThumb=Xn(()=>{this.setState({onDrag:!1})},500)}componentDidMount(){typeof this.props.scrollTo<"u"?this.updateScrollPosition(this.props.scrollTo):this.forceUpdate()}componentDidUpdate(r,o){const i=this.contentHeight,s=this.visibleHeight,c=this.getScrolledElement(),f=o.scrollPos>=i-s;this.contentHeight=c.scrollHeight,this.scrollbarYWidth=c.offsetWidth-c.clientWidth,this.visibleHeight=c.clientHeight,this.scrollRatio=this.contentHeight?this.visibleHeight/this.contentHeight:1,this.toggleScrollIfNeeded();const l=this.state===o;(this.props.freezePosition||r.freezePosition)&&this.adjustFreezePosition(r),typeof this.props.scrollTo<"u"&&this.props.scrollTo!==r.scrollTo?this.updateScrollPosition(this.props.scrollTo):this.props.keepAtBottom&&l&&f&&this.updateScrollPosition(this.contentHeight-this.visibleHeight)}componentWillUnmount(){this.hideScrollThumb.cancel(),document.removeEventListener("mousemove",this.onHandleDrag),document.removeEventListener("mouseup",this.onHandleDragEnd)}render(){const r=this.getScrollStyles(),o=this.getRootStyles(),i=this.enforceMinHandleHeight(this.getScrollHandleStyle()),s=[this.props.className||"","rcs-custom-scroll",this.state.onDrag?"rcs-scroll-handle-dragged":""].join(" ");return ae.jsx(Zn,{className:s,style:o,ref:this.customScrollRef,children:ae.jsxs("div",{"data-testid":"outer-container",className:"rcs-outer-container",style:this.getOuterContainerStyle(),onMouseDown:this.onMouseDown,onTouchStart:this.onTouchStart,onClick:this.onClick,onMouseEnter:this.onMouseEnter,onMouseLeave:this.onMouseLeave,children:[this.hasScroll?ae.jsx("div",{className:"rcs-positioning",children:ae.jsx(Tr,{"data-testid":"custom-scrollbar",ref:this.customScrollbarRef,className:`rcs-custom-scrollbar ${this.props.rtl?"rcs-custom-scrollbar-rtl":""} ${this.state.visible?"scroll-visible":""}`,children:ae.jsx("div",{"data-testid":"custom-scroll-handle",ref:this.scrollHandleRef,className:"rcs-custom-scroll-handle",style:i,children:ae.jsx(Jn,{className:this.props.handleClass||""})})},"scrollbar")}):null,ae.jsx("div",{"data-testid":"inner-container",ref:this.innerContainerRef,className:this.getInnerContainerClasses(),style:r.innerContainer,onScroll:this.onScroll,children:ae.jsx("div",{ref:this.contentWrapperRef,style:r.contentWrapper,children:this.props.children})})]})})}}V.CustomScroll=Qn,Object.defineProperty(V,Symbol.toStringTag,{value:"Module"})}); +//# sourceMappingURL=index.umd.js.map diff --git a/dist/index.umd.js.map b/dist/index.umd.js.map new file mode 100644 index 0000000..bec7a31 --- /dev/null +++ b/dist/index.umd.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.umd.js","sources":["../node_modules/react/cjs/react-jsx-runtime.production.min.js","../node_modules/react/cjs/react-jsx-runtime.development.js","../node_modules/react/jsx-runtime.js","../node_modules/tslib/tslib.es6.js","../node_modules/@emotion/memoize/dist/emotion-memoize.esm.js","../node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js","../node_modules/stylis/src/Enum.js","../node_modules/stylis/src/Utility.js","../node_modules/stylis/src/Tokenizer.js","../node_modules/stylis/src/Parser.js","../node_modules/stylis/src/Prefixer.js","../node_modules/stylis/src/Serializer.js","../node_modules/stylis/src/Middleware.js","../node_modules/@emotion/unitless/dist/emotion-unitless.esm.js","../node_modules/styled-components/dist/styled-components.browser.esm.js","../src/utils.ts","../src/customScroll.tsx"],"sourcesContent":["/**\n * @license React\n * react-jsx-runtime.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n'use strict';var f=require(\"react\"),k=Symbol.for(\"react.element\"),l=Symbol.for(\"react.fragment\"),m=Object.prototype.hasOwnProperty,n=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,p={key:!0,ref:!0,__self:!0,__source:!0};\nfunction q(c,a,g){var b,d={},e=null,h=null;void 0!==g&&(e=\"\"+g);void 0!==a.key&&(e=\"\"+a.key);void 0!==a.ref&&(h=a.ref);for(b in a)m.call(a,b)&&!p.hasOwnProperty(b)&&(d[b]=a[b]);if(c&&c.defaultProps)for(b in a=c.defaultProps,a)void 0===d[b]&&(d[b]=a[b]);return{$$typeof:k,type:c,key:e,ref:h,props:d,_owner:n.current}}exports.Fragment=l;exports.jsx=q;exports.jsxs=q;\n","/**\n * @license React\n * react-jsx-runtime.development.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nif (process.env.NODE_ENV !== \"production\") {\n (function() {\n'use strict';\n\nvar React = require('react');\n\n// ATTENTION\n// When adding new symbols to this file,\n// Please consider also adding to 'react-devtools-shared/src/backend/ReactSymbols'\n// The Symbol used to tag the ReactElement-like types.\nvar REACT_ELEMENT_TYPE = Symbol.for('react.element');\nvar REACT_PORTAL_TYPE = Symbol.for('react.portal');\nvar REACT_FRAGMENT_TYPE = Symbol.for('react.fragment');\nvar REACT_STRICT_MODE_TYPE = Symbol.for('react.strict_mode');\nvar REACT_PROFILER_TYPE = Symbol.for('react.profiler');\nvar REACT_PROVIDER_TYPE = Symbol.for('react.provider');\nvar REACT_CONTEXT_TYPE = Symbol.for('react.context');\nvar REACT_FORWARD_REF_TYPE = Symbol.for('react.forward_ref');\nvar REACT_SUSPENSE_TYPE = Symbol.for('react.suspense');\nvar REACT_SUSPENSE_LIST_TYPE = Symbol.for('react.suspense_list');\nvar REACT_MEMO_TYPE = Symbol.for('react.memo');\nvar REACT_LAZY_TYPE = Symbol.for('react.lazy');\nvar REACT_OFFSCREEN_TYPE = Symbol.for('react.offscreen');\nvar MAYBE_ITERATOR_SYMBOL = Symbol.iterator;\nvar FAUX_ITERATOR_SYMBOL = '@@iterator';\nfunction getIteratorFn(maybeIterable) {\n if (maybeIterable === null || typeof maybeIterable !== 'object') {\n return null;\n }\n\n var maybeIterator = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL];\n\n if (typeof maybeIterator === 'function') {\n return maybeIterator;\n }\n\n return null;\n}\n\nvar ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;\n\nfunction error(format) {\n {\n {\n for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {\n args[_key2 - 1] = arguments[_key2];\n }\n\n printWarning('error', format, args);\n }\n }\n}\n\nfunction printWarning(level, format, args) {\n // When changing this logic, you might want to also\n // update consoleWithStackDev.www.js as well.\n {\n var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;\n var stack = ReactDebugCurrentFrame.getStackAddendum();\n\n if (stack !== '') {\n format += '%s';\n args = args.concat([stack]);\n } // eslint-disable-next-line react-internal/safe-string-coercion\n\n\n var argsWithFormat = args.map(function (item) {\n return String(item);\n }); // Careful: RN currently depends on this prefix\n\n argsWithFormat.unshift('Warning: ' + format); // We intentionally don't use spread (or .apply) directly because it\n // breaks IE9: https://github.com/facebook/react/issues/13610\n // eslint-disable-next-line react-internal/no-production-logging\n\n Function.prototype.apply.call(console[level], console, argsWithFormat);\n }\n}\n\n// -----------------------------------------------------------------------------\n\nvar enableScopeAPI = false; // Experimental Create Event Handle API.\nvar enableCacheElement = false;\nvar enableTransitionTracing = false; // No known bugs, but needs performance testing\n\nvar enableLegacyHidden = false; // Enables unstable_avoidThisFallback feature in Fiber\n// stuff. Intended to enable React core members to more easily debug scheduling\n// issues in DEV builds.\n\nvar enableDebugTracing = false; // Track which Fiber(s) schedule render work.\n\nvar REACT_MODULE_REFERENCE;\n\n{\n REACT_MODULE_REFERENCE = Symbol.for('react.module.reference');\n}\n\nfunction isValidElementType(type) {\n if (typeof type === 'string' || typeof type === 'function') {\n return true;\n } // Note: typeof might be other than 'symbol' or 'number' (e.g. if it's a polyfill).\n\n\n if (type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || enableDebugTracing || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || enableLegacyHidden || type === REACT_OFFSCREEN_TYPE || enableScopeAPI || enableCacheElement || enableTransitionTracing ) {\n return true;\n }\n\n if (typeof type === 'object' && type !== null) {\n if (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || // This needs to include all possible module reference object\n // types supported by any Flight configuration anywhere since\n // we don't know which Flight build this will end up being used\n // with.\n type.$$typeof === REACT_MODULE_REFERENCE || type.getModuleId !== undefined) {\n return true;\n }\n }\n\n return false;\n}\n\nfunction getWrappedName(outerType, innerType, wrapperName) {\n var displayName = outerType.displayName;\n\n if (displayName) {\n return displayName;\n }\n\n var functionName = innerType.displayName || innerType.name || '';\n return functionName !== '' ? wrapperName + \"(\" + functionName + \")\" : wrapperName;\n} // Keep in sync with react-reconciler/getComponentNameFromFiber\n\n\nfunction getContextName(type) {\n return type.displayName || 'Context';\n} // Note that the reconciler package should generally prefer to use getComponentNameFromFiber() instead.\n\n\nfunction getComponentNameFromType(type) {\n if (type == null) {\n // Host root, text node or just invalid type.\n return null;\n }\n\n {\n if (typeof type.tag === 'number') {\n error('Received an unexpected object in getComponentNameFromType(). ' + 'This is likely a bug in React. Please file an issue.');\n }\n }\n\n if (typeof type === 'function') {\n return type.displayName || type.name || null;\n }\n\n if (typeof type === 'string') {\n return type;\n }\n\n switch (type) {\n case REACT_FRAGMENT_TYPE:\n return 'Fragment';\n\n case REACT_PORTAL_TYPE:\n return 'Portal';\n\n case REACT_PROFILER_TYPE:\n return 'Profiler';\n\n case REACT_STRICT_MODE_TYPE:\n return 'StrictMode';\n\n case REACT_SUSPENSE_TYPE:\n return 'Suspense';\n\n case REACT_SUSPENSE_LIST_TYPE:\n return 'SuspenseList';\n\n }\n\n if (typeof type === 'object') {\n switch (type.$$typeof) {\n case REACT_CONTEXT_TYPE:\n var context = type;\n return getContextName(context) + '.Consumer';\n\n case REACT_PROVIDER_TYPE:\n var provider = type;\n return getContextName(provider._context) + '.Provider';\n\n case REACT_FORWARD_REF_TYPE:\n return getWrappedName(type, type.render, 'ForwardRef');\n\n case REACT_MEMO_TYPE:\n var outerName = type.displayName || null;\n\n if (outerName !== null) {\n return outerName;\n }\n\n return getComponentNameFromType(type.type) || 'Memo';\n\n case REACT_LAZY_TYPE:\n {\n var lazyComponent = type;\n var payload = lazyComponent._payload;\n var init = lazyComponent._init;\n\n try {\n return getComponentNameFromType(init(payload));\n } catch (x) {\n return null;\n }\n }\n\n // eslint-disable-next-line no-fallthrough\n }\n }\n\n return null;\n}\n\nvar assign = Object.assign;\n\n// Helpers to patch console.logs to avoid logging during side-effect free\n// replaying on render function. This currently only patches the object\n// lazily which won't cover if the log function was extracted eagerly.\n// We could also eagerly patch the method.\nvar disabledDepth = 0;\nvar prevLog;\nvar prevInfo;\nvar prevWarn;\nvar prevError;\nvar prevGroup;\nvar prevGroupCollapsed;\nvar prevGroupEnd;\n\nfunction disabledLog() {}\n\ndisabledLog.__reactDisabledLog = true;\nfunction disableLogs() {\n {\n if (disabledDepth === 0) {\n /* eslint-disable react-internal/no-production-logging */\n prevLog = console.log;\n prevInfo = console.info;\n prevWarn = console.warn;\n prevError = console.error;\n prevGroup = console.group;\n prevGroupCollapsed = console.groupCollapsed;\n prevGroupEnd = console.groupEnd; // https://github.com/facebook/react/issues/19099\n\n var props = {\n configurable: true,\n enumerable: true,\n value: disabledLog,\n writable: true\n }; // $FlowFixMe Flow thinks console is immutable.\n\n Object.defineProperties(console, {\n info: props,\n log: props,\n warn: props,\n error: props,\n group: props,\n groupCollapsed: props,\n groupEnd: props\n });\n /* eslint-enable react-internal/no-production-logging */\n }\n\n disabledDepth++;\n }\n}\nfunction reenableLogs() {\n {\n disabledDepth--;\n\n if (disabledDepth === 0) {\n /* eslint-disable react-internal/no-production-logging */\n var props = {\n configurable: true,\n enumerable: true,\n writable: true\n }; // $FlowFixMe Flow thinks console is immutable.\n\n Object.defineProperties(console, {\n log: assign({}, props, {\n value: prevLog\n }),\n info: assign({}, props, {\n value: prevInfo\n }),\n warn: assign({}, props, {\n value: prevWarn\n }),\n error: assign({}, props, {\n value: prevError\n }),\n group: assign({}, props, {\n value: prevGroup\n }),\n groupCollapsed: assign({}, props, {\n value: prevGroupCollapsed\n }),\n groupEnd: assign({}, props, {\n value: prevGroupEnd\n })\n });\n /* eslint-enable react-internal/no-production-logging */\n }\n\n if (disabledDepth < 0) {\n error('disabledDepth fell below zero. ' + 'This is a bug in React. Please file an issue.');\n }\n }\n}\n\nvar ReactCurrentDispatcher = ReactSharedInternals.ReactCurrentDispatcher;\nvar prefix;\nfunction describeBuiltInComponentFrame(name, source, ownerFn) {\n {\n if (prefix === undefined) {\n // Extract the VM specific prefix used by each line.\n try {\n throw Error();\n } catch (x) {\n var match = x.stack.trim().match(/\\n( *(at )?)/);\n prefix = match && match[1] || '';\n }\n } // We use the prefix to ensure our stacks line up with native stack frames.\n\n\n return '\\n' + prefix + name;\n }\n}\nvar reentry = false;\nvar componentFrameCache;\n\n{\n var PossiblyWeakMap = typeof WeakMap === 'function' ? WeakMap : Map;\n componentFrameCache = new PossiblyWeakMap();\n}\n\nfunction describeNativeComponentFrame(fn, construct) {\n // If something asked for a stack inside a fake render, it should get ignored.\n if ( !fn || reentry) {\n return '';\n }\n\n {\n var frame = componentFrameCache.get(fn);\n\n if (frame !== undefined) {\n return frame;\n }\n }\n\n var control;\n reentry = true;\n var previousPrepareStackTrace = Error.prepareStackTrace; // $FlowFixMe It does accept undefined.\n\n Error.prepareStackTrace = undefined;\n var previousDispatcher;\n\n {\n previousDispatcher = ReactCurrentDispatcher.current; // Set the dispatcher in DEV because this might be call in the render function\n // for warnings.\n\n ReactCurrentDispatcher.current = null;\n disableLogs();\n }\n\n try {\n // This should throw.\n if (construct) {\n // Something should be setting the props in the constructor.\n var Fake = function () {\n throw Error();\n }; // $FlowFixMe\n\n\n Object.defineProperty(Fake.prototype, 'props', {\n set: function () {\n // We use a throwing setter instead of frozen or non-writable props\n // because that won't throw in a non-strict mode function.\n throw Error();\n }\n });\n\n if (typeof Reflect === 'object' && Reflect.construct) {\n // We construct a different control for this case to include any extra\n // frames added by the construct call.\n try {\n Reflect.construct(Fake, []);\n } catch (x) {\n control = x;\n }\n\n Reflect.construct(fn, [], Fake);\n } else {\n try {\n Fake.call();\n } catch (x) {\n control = x;\n }\n\n fn.call(Fake.prototype);\n }\n } else {\n try {\n throw Error();\n } catch (x) {\n control = x;\n }\n\n fn();\n }\n } catch (sample) {\n // This is inlined manually because closure doesn't do it for us.\n if (sample && control && typeof sample.stack === 'string') {\n // This extracts the first frame from the sample that isn't also in the control.\n // Skipping one frame that we assume is the frame that calls the two.\n var sampleLines = sample.stack.split('\\n');\n var controlLines = control.stack.split('\\n');\n var s = sampleLines.length - 1;\n var c = controlLines.length - 1;\n\n while (s >= 1 && c >= 0 && sampleLines[s] !== controlLines[c]) {\n // We expect at least one stack frame to be shared.\n // Typically this will be the root most one. However, stack frames may be\n // cut off due to maximum stack limits. In this case, one maybe cut off\n // earlier than the other. We assume that the sample is longer or the same\n // and there for cut off earlier. So we should find the root most frame in\n // the sample somewhere in the control.\n c--;\n }\n\n for (; s >= 1 && c >= 0; s--, c--) {\n // Next we find the first one that isn't the same which should be the\n // frame that called our sample function and the control.\n if (sampleLines[s] !== controlLines[c]) {\n // In V8, the first line is describing the message but other VMs don't.\n // If we're about to return the first line, and the control is also on the same\n // line, that's a pretty good indicator that our sample threw at same line as\n // the control. I.e. before we entered the sample frame. So we ignore this result.\n // This can happen if you passed a class to function component, or non-function.\n if (s !== 1 || c !== 1) {\n do {\n s--;\n c--; // We may still have similar intermediate frames from the construct call.\n // The next one that isn't the same should be our match though.\n\n if (c < 0 || sampleLines[s] !== controlLines[c]) {\n // V8 adds a \"new\" prefix for native classes. Let's remove it to make it prettier.\n var _frame = '\\n' + sampleLines[s].replace(' at new ', ' at '); // If our component frame is labeled \"\"\n // but we have a user-provided \"displayName\"\n // splice it in to make the stack more readable.\n\n\n if (fn.displayName && _frame.includes('')) {\n _frame = _frame.replace('', fn.displayName);\n }\n\n {\n if (typeof fn === 'function') {\n componentFrameCache.set(fn, _frame);\n }\n } // Return the line we found.\n\n\n return _frame;\n }\n } while (s >= 1 && c >= 0);\n }\n\n break;\n }\n }\n }\n } finally {\n reentry = false;\n\n {\n ReactCurrentDispatcher.current = previousDispatcher;\n reenableLogs();\n }\n\n Error.prepareStackTrace = previousPrepareStackTrace;\n } // Fallback to just using the name if we couldn't make it throw.\n\n\n var name = fn ? fn.displayName || fn.name : '';\n var syntheticFrame = name ? describeBuiltInComponentFrame(name) : '';\n\n {\n if (typeof fn === 'function') {\n componentFrameCache.set(fn, syntheticFrame);\n }\n }\n\n return syntheticFrame;\n}\nfunction describeFunctionComponentFrame(fn, source, ownerFn) {\n {\n return describeNativeComponentFrame(fn, false);\n }\n}\n\nfunction shouldConstruct(Component) {\n var prototype = Component.prototype;\n return !!(prototype && prototype.isReactComponent);\n}\n\nfunction describeUnknownElementTypeFrameInDEV(type, source, ownerFn) {\n\n if (type == null) {\n return '';\n }\n\n if (typeof type === 'function') {\n {\n return describeNativeComponentFrame(type, shouldConstruct(type));\n }\n }\n\n if (typeof type === 'string') {\n return describeBuiltInComponentFrame(type);\n }\n\n switch (type) {\n case REACT_SUSPENSE_TYPE:\n return describeBuiltInComponentFrame('Suspense');\n\n case REACT_SUSPENSE_LIST_TYPE:\n return describeBuiltInComponentFrame('SuspenseList');\n }\n\n if (typeof type === 'object') {\n switch (type.$$typeof) {\n case REACT_FORWARD_REF_TYPE:\n return describeFunctionComponentFrame(type.render);\n\n case REACT_MEMO_TYPE:\n // Memo may contain any component type so we recursively resolve it.\n return describeUnknownElementTypeFrameInDEV(type.type, source, ownerFn);\n\n case REACT_LAZY_TYPE:\n {\n var lazyComponent = type;\n var payload = lazyComponent._payload;\n var init = lazyComponent._init;\n\n try {\n // Lazy may contain any component type so we recursively resolve it.\n return describeUnknownElementTypeFrameInDEV(init(payload), source, ownerFn);\n } catch (x) {}\n }\n }\n }\n\n return '';\n}\n\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\n\nvar loggedTypeFailures = {};\nvar ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;\n\nfunction setCurrentlyValidatingElement(element) {\n {\n if (element) {\n var owner = element._owner;\n var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);\n ReactDebugCurrentFrame.setExtraStackFrame(stack);\n } else {\n ReactDebugCurrentFrame.setExtraStackFrame(null);\n }\n }\n}\n\nfunction checkPropTypes(typeSpecs, values, location, componentName, element) {\n {\n // $FlowFixMe This is okay but Flow doesn't know it.\n var has = Function.call.bind(hasOwnProperty);\n\n for (var typeSpecName in typeSpecs) {\n if (has(typeSpecs, typeSpecName)) {\n var error$1 = void 0; // Prop type validation may throw. In case they do, we don't want to\n // fail the render phase where it didn't fail before. So we log it.\n // After these have been cleaned up, we'll let them throw.\n\n try {\n // This is intentionally an invariant that gets caught. It's the same\n // behavior as without this statement except with a better message.\n if (typeof typeSpecs[typeSpecName] !== 'function') {\n // eslint-disable-next-line react-internal/prod-error-codes\n var err = Error((componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' + 'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.' + 'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.');\n err.name = 'Invariant Violation';\n throw err;\n }\n\n error$1 = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED');\n } catch (ex) {\n error$1 = ex;\n }\n\n if (error$1 && !(error$1 instanceof Error)) {\n setCurrentlyValidatingElement(element);\n\n error('%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).', componentName || 'React class', location, typeSpecName, typeof error$1);\n\n setCurrentlyValidatingElement(null);\n }\n\n if (error$1 instanceof Error && !(error$1.message in loggedTypeFailures)) {\n // Only monitor this failure once because there tends to be a lot of the\n // same error.\n loggedTypeFailures[error$1.message] = true;\n setCurrentlyValidatingElement(element);\n\n error('Failed %s type: %s', location, error$1.message);\n\n setCurrentlyValidatingElement(null);\n }\n }\n }\n }\n}\n\nvar isArrayImpl = Array.isArray; // eslint-disable-next-line no-redeclare\n\nfunction isArray(a) {\n return isArrayImpl(a);\n}\n\n/*\n * The `'' + value` pattern (used in in perf-sensitive code) throws for Symbol\n * and Temporal.* types. See https://github.com/facebook/react/pull/22064.\n *\n * The functions in this module will throw an easier-to-understand,\n * easier-to-debug exception with a clear errors message message explaining the\n * problem. (Instead of a confusing exception thrown inside the implementation\n * of the `value` object).\n */\n// $FlowFixMe only called in DEV, so void return is not possible.\nfunction typeName(value) {\n {\n // toStringTag is needed for namespaced types like Temporal.Instant\n var hasToStringTag = typeof Symbol === 'function' && Symbol.toStringTag;\n var type = hasToStringTag && value[Symbol.toStringTag] || value.constructor.name || 'Object';\n return type;\n }\n} // $FlowFixMe only called in DEV, so void return is not possible.\n\n\nfunction willCoercionThrow(value) {\n {\n try {\n testStringCoercion(value);\n return false;\n } catch (e) {\n return true;\n }\n }\n}\n\nfunction testStringCoercion(value) {\n // If you ended up here by following an exception call stack, here's what's\n // happened: you supplied an object or symbol value to React (as a prop, key,\n // DOM attribute, CSS property, string ref, etc.) and when React tried to\n // coerce it to a string using `'' + value`, an exception was thrown.\n //\n // The most common types that will cause this exception are `Symbol` instances\n // and Temporal objects like `Temporal.Instant`. But any object that has a\n // `valueOf` or `[Symbol.toPrimitive]` method that throws will also cause this\n // exception. (Library authors do this to prevent users from using built-in\n // numeric operators like `+` or comparison operators like `>=` because custom\n // methods are needed to perform accurate arithmetic or comparison.)\n //\n // To fix the problem, coerce this object or symbol value to a string before\n // passing it to React. The most reliable way is usually `String(value)`.\n //\n // To find which value is throwing, check the browser or debugger console.\n // Before this exception was thrown, there should be `console.error` output\n // that shows the type (Symbol, Temporal.PlainDate, etc.) that caused the\n // problem and how that type was used: key, atrribute, input value prop, etc.\n // In most cases, this console output also shows the component and its\n // ancestor components where the exception happened.\n //\n // eslint-disable-next-line react-internal/safe-string-coercion\n return '' + value;\n}\nfunction checkKeyStringCoercion(value) {\n {\n if (willCoercionThrow(value)) {\n error('The provided key is an unsupported type %s.' + ' This value must be coerced to a string before before using it here.', typeName(value));\n\n return testStringCoercion(value); // throw (to help callers find troubleshooting comments)\n }\n }\n}\n\nvar ReactCurrentOwner = ReactSharedInternals.ReactCurrentOwner;\nvar RESERVED_PROPS = {\n key: true,\n ref: true,\n __self: true,\n __source: true\n};\nvar specialPropKeyWarningShown;\nvar specialPropRefWarningShown;\nvar didWarnAboutStringRefs;\n\n{\n didWarnAboutStringRefs = {};\n}\n\nfunction hasValidRef(config) {\n {\n if (hasOwnProperty.call(config, 'ref')) {\n var getter = Object.getOwnPropertyDescriptor(config, 'ref').get;\n\n if (getter && getter.isReactWarning) {\n return false;\n }\n }\n }\n\n return config.ref !== undefined;\n}\n\nfunction hasValidKey(config) {\n {\n if (hasOwnProperty.call(config, 'key')) {\n var getter = Object.getOwnPropertyDescriptor(config, 'key').get;\n\n if (getter && getter.isReactWarning) {\n return false;\n }\n }\n }\n\n return config.key !== undefined;\n}\n\nfunction warnIfStringRefCannotBeAutoConverted(config, self) {\n {\n if (typeof config.ref === 'string' && ReactCurrentOwner.current && self && ReactCurrentOwner.current.stateNode !== self) {\n var componentName = getComponentNameFromType(ReactCurrentOwner.current.type);\n\n if (!didWarnAboutStringRefs[componentName]) {\n error('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', getComponentNameFromType(ReactCurrentOwner.current.type), config.ref);\n\n didWarnAboutStringRefs[componentName] = true;\n }\n }\n }\n}\n\nfunction defineKeyPropWarningGetter(props, displayName) {\n {\n var warnAboutAccessingKey = function () {\n if (!specialPropKeyWarningShown) {\n specialPropKeyWarningShown = true;\n\n error('%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)', displayName);\n }\n };\n\n warnAboutAccessingKey.isReactWarning = true;\n Object.defineProperty(props, 'key', {\n get: warnAboutAccessingKey,\n configurable: true\n });\n }\n}\n\nfunction defineRefPropWarningGetter(props, displayName) {\n {\n var warnAboutAccessingRef = function () {\n if (!specialPropRefWarningShown) {\n specialPropRefWarningShown = true;\n\n error('%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)', displayName);\n }\n };\n\n warnAboutAccessingRef.isReactWarning = true;\n Object.defineProperty(props, 'ref', {\n get: warnAboutAccessingRef,\n configurable: true\n });\n }\n}\n/**\n * Factory method to create a new React element. This no longer adheres to\n * the class pattern, so do not use new to call it. Also, instanceof check\n * will not work. Instead test $$typeof field against Symbol.for('react.element') to check\n * if something is a React Element.\n *\n * @param {*} type\n * @param {*} props\n * @param {*} key\n * @param {string|object} ref\n * @param {*} owner\n * @param {*} self A *temporary* helper to detect places where `this` is\n * different from the `owner` when React.createElement is called, so that we\n * can warn. We want to get rid of owner and replace string `ref`s with arrow\n * functions, and as long as `this` and owner are the same, there will be no\n * change in behavior.\n * @param {*} source An annotation object (added by a transpiler or otherwise)\n * indicating filename, line number, and/or other information.\n * @internal\n */\n\n\nvar ReactElement = function (type, key, ref, self, source, owner, props) {\n var element = {\n // This tag allows us to uniquely identify this as a React Element\n $$typeof: REACT_ELEMENT_TYPE,\n // Built-in properties that belong on the element\n type: type,\n key: key,\n ref: ref,\n props: props,\n // Record the component responsible for creating this element.\n _owner: owner\n };\n\n {\n // The validation flag is currently mutative. We put it on\n // an external backing store so that we can freeze the whole object.\n // This can be replaced with a WeakMap once they are implemented in\n // commonly used development environments.\n element._store = {}; // To make comparing ReactElements easier for testing purposes, we make\n // the validation flag non-enumerable (where possible, which should\n // include every environment we run tests in), so the test framework\n // ignores it.\n\n Object.defineProperty(element._store, 'validated', {\n configurable: false,\n enumerable: false,\n writable: true,\n value: false\n }); // self and source are DEV only properties.\n\n Object.defineProperty(element, '_self', {\n configurable: false,\n enumerable: false,\n writable: false,\n value: self\n }); // Two elements created in two different places should be considered\n // equal for testing purposes and therefore we hide it from enumeration.\n\n Object.defineProperty(element, '_source', {\n configurable: false,\n enumerable: false,\n writable: false,\n value: source\n });\n\n if (Object.freeze) {\n Object.freeze(element.props);\n Object.freeze(element);\n }\n }\n\n return element;\n};\n/**\n * https://github.com/reactjs/rfcs/pull/107\n * @param {*} type\n * @param {object} props\n * @param {string} key\n */\n\nfunction jsxDEV(type, config, maybeKey, source, self) {\n {\n var propName; // Reserved names are extracted\n\n var props = {};\n var key = null;\n var ref = null; // Currently, key can be spread in as a prop. This causes a potential\n // issue if key is also explicitly declared (ie.
\n // or
). We want to deprecate key spread,\n // but as an intermediary step, we will use jsxDEV for everything except\n //
, because we aren't currently able to tell if\n // key is explicitly declared to be undefined or not.\n\n if (maybeKey !== undefined) {\n {\n checkKeyStringCoercion(maybeKey);\n }\n\n key = '' + maybeKey;\n }\n\n if (hasValidKey(config)) {\n {\n checkKeyStringCoercion(config.key);\n }\n\n key = '' + config.key;\n }\n\n if (hasValidRef(config)) {\n ref = config.ref;\n warnIfStringRefCannotBeAutoConverted(config, self);\n } // Remaining properties are added to a new props object\n\n\n for (propName in config) {\n if (hasOwnProperty.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) {\n props[propName] = config[propName];\n }\n } // Resolve default props\n\n\n if (type && type.defaultProps) {\n var defaultProps = type.defaultProps;\n\n for (propName in defaultProps) {\n if (props[propName] === undefined) {\n props[propName] = defaultProps[propName];\n }\n }\n }\n\n if (key || ref) {\n var displayName = typeof type === 'function' ? type.displayName || type.name || 'Unknown' : type;\n\n if (key) {\n defineKeyPropWarningGetter(props, displayName);\n }\n\n if (ref) {\n defineRefPropWarningGetter(props, displayName);\n }\n }\n\n return ReactElement(type, key, ref, self, source, ReactCurrentOwner.current, props);\n }\n}\n\nvar ReactCurrentOwner$1 = ReactSharedInternals.ReactCurrentOwner;\nvar ReactDebugCurrentFrame$1 = ReactSharedInternals.ReactDebugCurrentFrame;\n\nfunction setCurrentlyValidatingElement$1(element) {\n {\n if (element) {\n var owner = element._owner;\n var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);\n ReactDebugCurrentFrame$1.setExtraStackFrame(stack);\n } else {\n ReactDebugCurrentFrame$1.setExtraStackFrame(null);\n }\n }\n}\n\nvar propTypesMisspellWarningShown;\n\n{\n propTypesMisspellWarningShown = false;\n}\n/**\n * Verifies the object is a ReactElement.\n * See https://reactjs.org/docs/react-api.html#isvalidelement\n * @param {?object} object\n * @return {boolean} True if `object` is a ReactElement.\n * @final\n */\n\n\nfunction isValidElement(object) {\n {\n return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;\n }\n}\n\nfunction getDeclarationErrorAddendum() {\n {\n if (ReactCurrentOwner$1.current) {\n var name = getComponentNameFromType(ReactCurrentOwner$1.current.type);\n\n if (name) {\n return '\\n\\nCheck the render method of `' + name + '`.';\n }\n }\n\n return '';\n }\n}\n\nfunction getSourceInfoErrorAddendum(source) {\n {\n if (source !== undefined) {\n var fileName = source.fileName.replace(/^.*[\\\\\\/]/, '');\n var lineNumber = source.lineNumber;\n return '\\n\\nCheck your code at ' + fileName + ':' + lineNumber + '.';\n }\n\n return '';\n }\n}\n/**\n * Warn if there's no key explicitly set on dynamic arrays of children or\n * object keys are not valid. This allows us to keep track of children between\n * updates.\n */\n\n\nvar ownerHasKeyUseWarning = {};\n\nfunction getCurrentComponentErrorInfo(parentType) {\n {\n var info = getDeclarationErrorAddendum();\n\n if (!info) {\n var parentName = typeof parentType === 'string' ? parentType : parentType.displayName || parentType.name;\n\n if (parentName) {\n info = \"\\n\\nCheck the top-level render call using <\" + parentName + \">.\";\n }\n }\n\n return info;\n }\n}\n/**\n * Warn if the element doesn't have an explicit key assigned to it.\n * This element is in an array. The array could grow and shrink or be\n * reordered. All children that haven't already been validated are required to\n * have a \"key\" property assigned to it. Error statuses are cached so a warning\n * will only be shown once.\n *\n * @internal\n * @param {ReactElement} element Element that requires a key.\n * @param {*} parentType element's parent's type.\n */\n\n\nfunction validateExplicitKey(element, parentType) {\n {\n if (!element._store || element._store.validated || element.key != null) {\n return;\n }\n\n element._store.validated = true;\n var currentComponentErrorInfo = getCurrentComponentErrorInfo(parentType);\n\n if (ownerHasKeyUseWarning[currentComponentErrorInfo]) {\n return;\n }\n\n ownerHasKeyUseWarning[currentComponentErrorInfo] = true; // Usually the current owner is the offender, but if it accepts children as a\n // property, it may be the creator of the child that's responsible for\n // assigning it a key.\n\n var childOwner = '';\n\n if (element && element._owner && element._owner !== ReactCurrentOwner$1.current) {\n // Give the component that originally created this child.\n childOwner = \" It was passed a child from \" + getComponentNameFromType(element._owner.type) + \".\";\n }\n\n setCurrentlyValidatingElement$1(element);\n\n error('Each child in a list should have a unique \"key\" prop.' + '%s%s See https://reactjs.org/link/warning-keys for more information.', currentComponentErrorInfo, childOwner);\n\n setCurrentlyValidatingElement$1(null);\n }\n}\n/**\n * Ensure that every element either is passed in a static location, in an\n * array with an explicit keys property defined, or in an object literal\n * with valid key property.\n *\n * @internal\n * @param {ReactNode} node Statically passed child of any type.\n * @param {*} parentType node's parent's type.\n */\n\n\nfunction validateChildKeys(node, parentType) {\n {\n if (typeof node !== 'object') {\n return;\n }\n\n if (isArray(node)) {\n for (var i = 0; i < node.length; i++) {\n var child = node[i];\n\n if (isValidElement(child)) {\n validateExplicitKey(child, parentType);\n }\n }\n } else if (isValidElement(node)) {\n // This element was passed in a valid location.\n if (node._store) {\n node._store.validated = true;\n }\n } else if (node) {\n var iteratorFn = getIteratorFn(node);\n\n if (typeof iteratorFn === 'function') {\n // Entry iterators used to provide implicit keys,\n // but now we print a separate warning for them later.\n if (iteratorFn !== node.entries) {\n var iterator = iteratorFn.call(node);\n var step;\n\n while (!(step = iterator.next()).done) {\n if (isValidElement(step.value)) {\n validateExplicitKey(step.value, parentType);\n }\n }\n }\n }\n }\n }\n}\n/**\n * Given an element, validate that its props follow the propTypes definition,\n * provided by the type.\n *\n * @param {ReactElement} element\n */\n\n\nfunction validatePropTypes(element) {\n {\n var type = element.type;\n\n if (type === null || type === undefined || typeof type === 'string') {\n return;\n }\n\n var propTypes;\n\n if (typeof type === 'function') {\n propTypes = type.propTypes;\n } else if (typeof type === 'object' && (type.$$typeof === REACT_FORWARD_REF_TYPE || // Note: Memo only checks outer props here.\n // Inner props are checked in the reconciler.\n type.$$typeof === REACT_MEMO_TYPE)) {\n propTypes = type.propTypes;\n } else {\n return;\n }\n\n if (propTypes) {\n // Intentionally inside to avoid triggering lazy initializers:\n var name = getComponentNameFromType(type);\n checkPropTypes(propTypes, element.props, 'prop', name, element);\n } else if (type.PropTypes !== undefined && !propTypesMisspellWarningShown) {\n propTypesMisspellWarningShown = true; // Intentionally inside to avoid triggering lazy initializers:\n\n var _name = getComponentNameFromType(type);\n\n error('Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?', _name || 'Unknown');\n }\n\n if (typeof type.getDefaultProps === 'function' && !type.getDefaultProps.isReactClassApproved) {\n error('getDefaultProps is only used on classic React.createClass ' + 'definitions. Use a static property named `defaultProps` instead.');\n }\n }\n}\n/**\n * Given a fragment, validate that it can only be provided with fragment props\n * @param {ReactElement} fragment\n */\n\n\nfunction validateFragmentProps(fragment) {\n {\n var keys = Object.keys(fragment.props);\n\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n\n if (key !== 'children' && key !== 'key') {\n setCurrentlyValidatingElement$1(fragment);\n\n error('Invalid prop `%s` supplied to `React.Fragment`. ' + 'React.Fragment can only have `key` and `children` props.', key);\n\n setCurrentlyValidatingElement$1(null);\n break;\n }\n }\n\n if (fragment.ref !== null) {\n setCurrentlyValidatingElement$1(fragment);\n\n error('Invalid attribute `ref` supplied to `React.Fragment`.');\n\n setCurrentlyValidatingElement$1(null);\n }\n }\n}\n\nfunction jsxWithValidation(type, props, key, isStaticChildren, source, self) {\n {\n var validType = isValidElementType(type); // We warn in this case but don't throw. We expect the element creation to\n // succeed and there will likely be errors in render.\n\n if (!validType) {\n var info = '';\n\n if (type === undefined || typeof type === 'object' && type !== null && Object.keys(type).length === 0) {\n info += ' You likely forgot to export your component from the file ' + \"it's defined in, or you might have mixed up default and named imports.\";\n }\n\n var sourceInfo = getSourceInfoErrorAddendum(source);\n\n if (sourceInfo) {\n info += sourceInfo;\n } else {\n info += getDeclarationErrorAddendum();\n }\n\n var typeString;\n\n if (type === null) {\n typeString = 'null';\n } else if (isArray(type)) {\n typeString = 'array';\n } else if (type !== undefined && type.$$typeof === REACT_ELEMENT_TYPE) {\n typeString = \"<\" + (getComponentNameFromType(type.type) || 'Unknown') + \" />\";\n info = ' Did you accidentally export a JSX literal instead of a component?';\n } else {\n typeString = typeof type;\n }\n\n error('React.jsx: type is invalid -- expected a string (for ' + 'built-in components) or a class/function (for composite ' + 'components) but got: %s.%s', typeString, info);\n }\n\n var element = jsxDEV(type, props, key, source, self); // The result can be nullish if a mock or a custom function is used.\n // TODO: Drop this when these are no longer allowed as the type argument.\n\n if (element == null) {\n return element;\n } // Skip key warning if the type isn't valid since our key validation logic\n // doesn't expect a non-string/function type and can throw confusing errors.\n // We don't want exception behavior to differ between dev and prod.\n // (Rendering will throw with a helpful message and as soon as the type is\n // fixed, the key warnings will appear.)\n\n\n if (validType) {\n var children = props.children;\n\n if (children !== undefined) {\n if (isStaticChildren) {\n if (isArray(children)) {\n for (var i = 0; i < children.length; i++) {\n validateChildKeys(children[i], type);\n }\n\n if (Object.freeze) {\n Object.freeze(children);\n }\n } else {\n error('React.jsx: Static children should always be an array. ' + 'You are likely explicitly calling React.jsxs or React.jsxDEV. ' + 'Use the Babel transform instead.');\n }\n } else {\n validateChildKeys(children, type);\n }\n }\n }\n\n if (type === REACT_FRAGMENT_TYPE) {\n validateFragmentProps(element);\n } else {\n validatePropTypes(element);\n }\n\n return element;\n }\n} // These two functions exist to still get child warnings in dev\n// even with the prod transform. This means that jsxDEV is purely\n// opt-in behavior for better messages but that we won't stop\n// giving you warnings if you use production apis.\n\nfunction jsxWithValidationStatic(type, props, key) {\n {\n return jsxWithValidation(type, props, key, true);\n }\n}\nfunction jsxWithValidationDynamic(type, props, key) {\n {\n return jsxWithValidation(type, props, key, false);\n }\n}\n\nvar jsx = jsxWithValidationDynamic ; // we may want to special case jsxs internally to take advantage of static children.\n// for now we can ship identical prod functions\n\nvar jsxs = jsxWithValidationStatic ;\n\nexports.Fragment = REACT_FRAGMENT_TYPE;\nexports.jsx = jsx;\nexports.jsxs = jsxs;\n })();\n}\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-jsx-runtime.production.min.js');\n} else {\n module.exports = require('./cjs/react-jsx-runtime.development.js');\n}\n","/******************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {\r\n function accept(f) { if (f !== void 0 && typeof f !== \"function\") throw new TypeError(\"Function expected\"); return f; }\r\n var kind = contextIn.kind, key = kind === \"getter\" ? \"get\" : kind === \"setter\" ? \"set\" : \"value\";\r\n var target = !descriptorIn && ctor ? contextIn[\"static\"] ? ctor : ctor.prototype : null;\r\n var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});\r\n var _, done = false;\r\n for (var i = decorators.length - 1; i >= 0; i--) {\r\n var context = {};\r\n for (var p in contextIn) context[p] = p === \"access\" ? {} : contextIn[p];\r\n for (var p in contextIn.access) context.access[p] = contextIn.access[p];\r\n context.addInitializer = function (f) { if (done) throw new TypeError(\"Cannot add initializers after decoration has completed\"); extraInitializers.push(accept(f || null)); };\r\n var result = (0, decorators[i])(kind === \"accessor\" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);\r\n if (kind === \"accessor\") {\r\n if (result === void 0) continue;\r\n if (result === null || typeof result !== \"object\") throw new TypeError(\"Object expected\");\r\n if (_ = accept(result.get)) descriptor.get = _;\r\n if (_ = accept(result.set)) descriptor.set = _;\r\n if (_ = accept(result.init)) initializers.push(_);\r\n }\r\n else if (_ = accept(result)) {\r\n if (kind === \"field\") initializers.push(_);\r\n else descriptor[key] = _;\r\n }\r\n }\r\n if (target) Object.defineProperty(target, contextIn.name, descriptor);\r\n done = true;\r\n};\r\n\r\nexport function __runInitializers(thisArg, initializers, value) {\r\n var useValue = arguments.length > 2;\r\n for (var i = 0; i < initializers.length; i++) {\r\n value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);\r\n }\r\n return useValue ? value : void 0;\r\n};\r\n\r\nexport function __propKey(x) {\r\n return typeof x === \"symbol\" ? x : \"\".concat(x);\r\n};\r\n\r\nexport function __setFunctionName(f, name, prefix) {\r\n if (typeof name === \"symbol\") name = name.description ? \"[\".concat(name.description, \"]\") : \"\";\r\n return Object.defineProperty(f, \"name\", { configurable: true, value: prefix ? \"\".concat(prefix, \" \", name) : name });\r\n};\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n var desc = Object.getOwnPropertyDescriptor(m, k);\r\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\r\n desc = { enumerable: true, get: function() { return m[k]; } };\r\n }\r\n Object.defineProperty(o, k2, desc);\r\n}) : (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n});\r\n\r\nexport function __exportStar(m, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n}\r\n\r\nexport function __spreadArray(to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n}\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nvar __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n o[\"default\"] = v;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\r\n __setModuleDefault(result, mod);\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n}\r\n\r\nexport function __classPrivateFieldIn(state, receiver) {\r\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\r\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\r\n}\r\n","function memoize(fn) {\n var cache = Object.create(null);\n return function (arg) {\n if (cache[arg] === undefined) cache[arg] = fn(arg);\n return cache[arg];\n };\n}\n\nexport { memoize as default };\n","import memoize from '@emotion/memoize';\n\nvar reactPropsRegex = /^((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)-.*))$/; // https://esbench.com/bench/5bfee68a4cd7e6009ef61d23\n\nvar isPropValid = /* #__PURE__ */memoize(function (prop) {\n return reactPropsRegex.test(prop) || prop.charCodeAt(0) === 111\n /* o */\n && prop.charCodeAt(1) === 110\n /* n */\n && prop.charCodeAt(2) < 91;\n}\n/* Z+1 */\n);\n\nexport { isPropValid as default };\n","export var MS = '-ms-'\nexport var MOZ = '-moz-'\nexport var WEBKIT = '-webkit-'\n\nexport var COMMENT = 'comm'\nexport var RULESET = 'rule'\nexport var DECLARATION = 'decl'\n\nexport var PAGE = '@page'\nexport var MEDIA = '@media'\nexport var IMPORT = '@import'\nexport var CHARSET = '@charset'\nexport var VIEWPORT = '@viewport'\nexport var SUPPORTS = '@supports'\nexport var DOCUMENT = '@document'\nexport var NAMESPACE = '@namespace'\nexport var KEYFRAMES = '@keyframes'\nexport var FONT_FACE = '@font-face'\nexport var COUNTER_STYLE = '@counter-style'\nexport var FONT_FEATURE_VALUES = '@font-feature-values'\nexport var LAYER = '@layer'\n","/**\n * @param {number}\n * @return {number}\n */\nexport var abs = Math.abs\n\n/**\n * @param {number}\n * @return {string}\n */\nexport var from = String.fromCharCode\n\n/**\n * @param {object}\n * @return {object}\n */\nexport var assign = Object.assign\n\n/**\n * @param {string} value\n * @param {number} length\n * @return {number}\n */\nexport function hash (value, length) {\n\treturn charat(value, 0) ^ 45 ? (((((((length << 2) ^ charat(value, 0)) << 2) ^ charat(value, 1)) << 2) ^ charat(value, 2)) << 2) ^ charat(value, 3) : 0\n}\n\n/**\n * @param {string} value\n * @return {string}\n */\nexport function trim (value) {\n\treturn value.trim()\n}\n\n/**\n * @param {string} value\n * @param {RegExp} pattern\n * @return {string?}\n */\nexport function match (value, pattern) {\n\treturn (value = pattern.exec(value)) ? value[0] : value\n}\n\n/**\n * @param {string} value\n * @param {(string|RegExp)} pattern\n * @param {string} replacement\n * @return {string}\n */\nexport function replace (value, pattern, replacement) {\n\treturn value.replace(pattern, replacement)\n}\n\n/**\n * @param {string} value\n * @param {string} search\n * @param {number} position\n * @return {number}\n */\nexport function indexof (value, search, position) {\n\treturn value.indexOf(search, position)\n}\n\n/**\n * @param {string} value\n * @param {number} index\n * @return {number}\n */\nexport function charat (value, index) {\n\treturn value.charCodeAt(index) | 0\n}\n\n/**\n * @param {string} value\n * @param {number} begin\n * @param {number} end\n * @return {string}\n */\nexport function substr (value, begin, end) {\n\treturn value.slice(begin, end)\n}\n\n/**\n * @param {string} value\n * @return {number}\n */\nexport function strlen (value) {\n\treturn value.length\n}\n\n/**\n * @param {any[]} value\n * @return {number}\n */\nexport function sizeof (value) {\n\treturn value.length\n}\n\n/**\n * @param {any} value\n * @param {any[]} array\n * @return {any}\n */\nexport function append (value, array) {\n\treturn array.push(value), value\n}\n\n/**\n * @param {string[]} array\n * @param {function} callback\n * @return {string}\n */\nexport function combine (array, callback) {\n\treturn array.map(callback).join('')\n}\n\n/**\n * @param {string[]} array\n * @param {RegExp} pattern\n * @return {string[]}\n */\nexport function filter (array, pattern) {\n\treturn array.filter(function (value) { return !match(value, pattern) })\n}\n","import {from, trim, charat, strlen, substr, append, assign} from './Utility.js'\n\nexport var line = 1\nexport var column = 1\nexport var length = 0\nexport var position = 0\nexport var character = 0\nexport var characters = ''\n\n/**\n * @param {string} value\n * @param {object | null} root\n * @param {object | null} parent\n * @param {string} type\n * @param {string[] | string} props\n * @param {object[] | string} children\n * @param {object[]} siblings\n * @param {number} length\n */\nexport function node (value, root, parent, type, props, children, length, siblings) {\n\treturn {value: value, root: root, parent: parent, type: type, props: props, children: children, line: line, column: column, length: length, return: '', siblings: siblings}\n}\n\n/**\n * @param {object} root\n * @param {object} props\n * @return {object}\n */\nexport function copy (root, props) {\n\treturn assign(node('', null, null, '', null, null, 0, root.siblings), root, {length: -root.length}, props)\n}\n\n/**\n * @param {object} root\n */\nexport function lift (root) {\n\twhile (root.root)\n\t\troot = copy(root.root, {children: [root]})\n\n\tappend(root, root.siblings)\n}\n\n/**\n * @return {number}\n */\nexport function char () {\n\treturn character\n}\n\n/**\n * @return {number}\n */\nexport function prev () {\n\tcharacter = position > 0 ? charat(characters, --position) : 0\n\n\tif (column--, character === 10)\n\t\tcolumn = 1, line--\n\n\treturn character\n}\n\n/**\n * @return {number}\n */\nexport function next () {\n\tcharacter = position < length ? charat(characters, position++) : 0\n\n\tif (column++, character === 10)\n\t\tcolumn = 1, line++\n\n\treturn character\n}\n\n/**\n * @return {number}\n */\nexport function peek () {\n\treturn charat(characters, position)\n}\n\n/**\n * @return {number}\n */\nexport function caret () {\n\treturn position\n}\n\n/**\n * @param {number} begin\n * @param {number} end\n * @return {string}\n */\nexport function slice (begin, end) {\n\treturn substr(characters, begin, end)\n}\n\n/**\n * @param {number} type\n * @return {number}\n */\nexport function token (type) {\n\tswitch (type) {\n\t\t// \\0 \\t \\n \\r \\s whitespace token\n\t\tcase 0: case 9: case 10: case 13: case 32:\n\t\t\treturn 5\n\t\t// ! + , / > @ ~ isolate token\n\t\tcase 33: case 43: case 44: case 47: case 62: case 64: case 126:\n\t\t// ; { } breakpoint token\n\t\tcase 59: case 123: case 125:\n\t\t\treturn 4\n\t\t// : accompanied token\n\t\tcase 58:\n\t\t\treturn 3\n\t\t// \" ' ( [ opening delimit token\n\t\tcase 34: case 39: case 40: case 91:\n\t\t\treturn 2\n\t\t// ) ] closing delimit token\n\t\tcase 41: case 93:\n\t\t\treturn 1\n\t}\n\n\treturn 0\n}\n\n/**\n * @param {string} value\n * @return {any[]}\n */\nexport function alloc (value) {\n\treturn line = column = 1, length = strlen(characters = value), position = 0, []\n}\n\n/**\n * @param {any} value\n * @return {any}\n */\nexport function dealloc (value) {\n\treturn characters = '', value\n}\n\n/**\n * @param {number} type\n * @return {string}\n */\nexport function delimit (type) {\n\treturn trim(slice(position - 1, delimiter(type === 91 ? type + 2 : type === 40 ? type + 1 : type)))\n}\n\n/**\n * @param {string} value\n * @return {string[]}\n */\nexport function tokenize (value) {\n\treturn dealloc(tokenizer(alloc(value)))\n}\n\n/**\n * @param {number} type\n * @return {string}\n */\nexport function whitespace (type) {\n\twhile (character = peek())\n\t\tif (character < 33)\n\t\t\tnext()\n\t\telse\n\t\t\tbreak\n\n\treturn token(type) > 2 || token(character) > 3 ? '' : ' '\n}\n\n/**\n * @param {string[]} children\n * @return {string[]}\n */\nexport function tokenizer (children) {\n\twhile (next())\n\t\tswitch (token(character)) {\n\t\t\tcase 0: append(identifier(position - 1), children)\n\t\t\t\tbreak\n\t\t\tcase 2: append(delimit(character), children)\n\t\t\t\tbreak\n\t\t\tdefault: append(from(character), children)\n\t\t}\n\n\treturn children\n}\n\n/**\n * @param {number} index\n * @param {number} count\n * @return {string}\n */\nexport function escaping (index, count) {\n\twhile (--count && next())\n\t\t// not 0-9 A-F a-f\n\t\tif (character < 48 || character > 102 || (character > 57 && character < 65) || (character > 70 && character < 97))\n\t\t\tbreak\n\n\treturn slice(index, caret() + (count < 6 && peek() == 32 && next() == 32))\n}\n\n/**\n * @param {number} type\n * @return {number}\n */\nexport function delimiter (type) {\n\twhile (next())\n\t\tswitch (character) {\n\t\t\t// ] ) \" '\n\t\t\tcase type:\n\t\t\t\treturn position\n\t\t\t// \" '\n\t\t\tcase 34: case 39:\n\t\t\t\tif (type !== 34 && type !== 39)\n\t\t\t\t\tdelimiter(character)\n\t\t\t\tbreak\n\t\t\t// (\n\t\t\tcase 40:\n\t\t\t\tif (type === 41)\n\t\t\t\t\tdelimiter(type)\n\t\t\t\tbreak\n\t\t\t// \\\n\t\t\tcase 92:\n\t\t\t\tnext()\n\t\t\t\tbreak\n\t\t}\n\n\treturn position\n}\n\n/**\n * @param {number} type\n * @param {number} index\n * @return {number}\n */\nexport function commenter (type, index) {\n\twhile (next())\n\t\t// //\n\t\tif (type + character === 47 + 10)\n\t\t\tbreak\n\t\t// /*\n\t\telse if (type + character === 42 + 42 && peek() === 47)\n\t\t\tbreak\n\n\treturn '/*' + slice(index, position - 1) + '*' + from(type === 47 ? type : next())\n}\n\n/**\n * @param {number} index\n * @return {string}\n */\nexport function identifier (index) {\n\twhile (!token(peek()))\n\t\tnext()\n\n\treturn slice(index, position)\n}\n","import {COMMENT, RULESET, DECLARATION} from './Enum.js'\nimport {abs, charat, trim, from, sizeof, strlen, substr, append, replace, indexof} from './Utility.js'\nimport {node, char, prev, next, peek, caret, alloc, dealloc, delimit, whitespace, escaping, identifier, commenter} from './Tokenizer.js'\n\n/**\n * @param {string} value\n * @return {object[]}\n */\nexport function compile (value) {\n\treturn dealloc(parse('', null, null, null, [''], value = alloc(value), 0, [0], value))\n}\n\n/**\n * @param {string} value\n * @param {object} root\n * @param {object?} parent\n * @param {string[]} rule\n * @param {string[]} rules\n * @param {string[]} rulesets\n * @param {number[]} pseudo\n * @param {number[]} points\n * @param {string[]} declarations\n * @return {object}\n */\nexport function parse (value, root, parent, rule, rules, rulesets, pseudo, points, declarations) {\n\tvar index = 0\n\tvar offset = 0\n\tvar length = pseudo\n\tvar atrule = 0\n\tvar property = 0\n\tvar previous = 0\n\tvar variable = 1\n\tvar scanning = 1\n\tvar ampersand = 1\n\tvar character = 0\n\tvar type = ''\n\tvar props = rules\n\tvar children = rulesets\n\tvar reference = rule\n\tvar characters = type\n\n\twhile (scanning)\n\t\tswitch (previous = character, character = next()) {\n\t\t\t// (\n\t\t\tcase 40:\n\t\t\t\tif (previous != 108 && charat(characters, length - 1) == 58) {\n\t\t\t\t\tif (indexof(characters += replace(delimit(character), '&', '&\\f'), '&\\f', abs(index ? points[index - 1] : 0)) != -1)\n\t\t\t\t\t\tampersand = -1\n\t\t\t\t\tbreak\n\t\t\t\t}\n\t\t\t// \" ' [\n\t\t\tcase 34: case 39: case 91:\n\t\t\t\tcharacters += delimit(character)\n\t\t\t\tbreak\n\t\t\t// \\t \\n \\r \\s\n\t\t\tcase 9: case 10: case 13: case 32:\n\t\t\t\tcharacters += whitespace(previous)\n\t\t\t\tbreak\n\t\t\t// \\\n\t\t\tcase 92:\n\t\t\t\tcharacters += escaping(caret() - 1, 7)\n\t\t\t\tcontinue\n\t\t\t// /\n\t\t\tcase 47:\n\t\t\t\tswitch (peek()) {\n\t\t\t\t\tcase 42: case 47:\n\t\t\t\t\t\tappend(comment(commenter(next(), caret()), root, parent, declarations), declarations)\n\t\t\t\t\t\tbreak\n\t\t\t\t\tdefault:\n\t\t\t\t\t\tcharacters += '/'\n\t\t\t\t}\n\t\t\t\tbreak\n\t\t\t// {\n\t\t\tcase 123 * variable:\n\t\t\t\tpoints[index++] = strlen(characters) * ampersand\n\t\t\t// } ; \\0\n\t\t\tcase 125 * variable: case 59: case 0:\n\t\t\t\tswitch (character) {\n\t\t\t\t\t// \\0 }\n\t\t\t\t\tcase 0: case 125: scanning = 0\n\t\t\t\t\t// ;\n\t\t\t\t\tcase 59 + offset: if (ampersand == -1) characters = replace(characters, /\\f/g, '')\n\t\t\t\t\t\tif (property > 0 && (strlen(characters) - length))\n\t\t\t\t\t\t\tappend(property > 32 ? declaration(characters + ';', rule, parent, length - 1, declarations) : declaration(replace(characters, ' ', '') + ';', rule, parent, length - 2, declarations), declarations)\n\t\t\t\t\t\tbreak\n\t\t\t\t\t// @ ;\n\t\t\t\t\tcase 59: characters += ';'\n\t\t\t\t\t// { rule/at-rule\n\t\t\t\t\tdefault:\n\t\t\t\t\t\tappend(reference = ruleset(characters, root, parent, index, offset, rules, points, type, props = [], children = [], length, rulesets), rulesets)\n\n\t\t\t\t\t\tif (character === 123)\n\t\t\t\t\t\t\tif (offset === 0)\n\t\t\t\t\t\t\t\tparse(characters, root, reference, reference, props, rulesets, length, points, children)\n\t\t\t\t\t\t\telse\n\t\t\t\t\t\t\t\tswitch (atrule === 99 && charat(characters, 3) === 110 ? 100 : atrule) {\n\t\t\t\t\t\t\t\t\t// d l m s\n\t\t\t\t\t\t\t\t\tcase 100: case 108: case 109: case 115:\n\t\t\t\t\t\t\t\t\t\tparse(value, reference, reference, rule && append(ruleset(value, reference, reference, 0, 0, rules, points, type, rules, props = [], length, children), children), rules, children, length, points, rule ? props : children)\n\t\t\t\t\t\t\t\t\t\tbreak\n\t\t\t\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\t\t\t\tparse(characters, reference, reference, reference, [''], children, 0, points, children)\n\t\t\t\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tindex = offset = property = 0, variable = ampersand = 1, type = characters = '', length = pseudo\n\t\t\t\tbreak\n\t\t\t// :\n\t\t\tcase 58:\n\t\t\t\tlength = 1 + strlen(characters), property = previous\n\t\t\tdefault:\n\t\t\t\tif (variable < 1)\n\t\t\t\t\tif (character == 123)\n\t\t\t\t\t\t--variable\n\t\t\t\t\telse if (character == 125 && variable++ == 0 && prev() == 125)\n\t\t\t\t\t\tcontinue\n\n\t\t\t\tswitch (characters += from(character), character * variable) {\n\t\t\t\t\t// &\n\t\t\t\t\tcase 38:\n\t\t\t\t\t\tampersand = offset > 0 ? 1 : (characters += '\\f', -1)\n\t\t\t\t\t\tbreak\n\t\t\t\t\t// ,\n\t\t\t\t\tcase 44:\n\t\t\t\t\t\tpoints[index++] = (strlen(characters) - 1) * ampersand, ampersand = 1\n\t\t\t\t\t\tbreak\n\t\t\t\t\t// @\n\t\t\t\t\tcase 64:\n\t\t\t\t\t\t// -\n\t\t\t\t\t\tif (peek() === 45)\n\t\t\t\t\t\t\tcharacters += delimit(next())\n\n\t\t\t\t\t\tatrule = peek(), offset = length = strlen(type = characters += identifier(caret())), character++\n\t\t\t\t\t\tbreak\n\t\t\t\t\t// -\n\t\t\t\t\tcase 45:\n\t\t\t\t\t\tif (previous === 45 && strlen(characters) == 2)\n\t\t\t\t\t\t\tvariable = 0\n\t\t\t\t}\n\t\t}\n\n\treturn rulesets\n}\n\n/**\n * @param {string} value\n * @param {object} root\n * @param {object?} parent\n * @param {number} index\n * @param {number} offset\n * @param {string[]} rules\n * @param {number[]} points\n * @param {string} type\n * @param {string[]} props\n * @param {string[]} children\n * @param {number} length\n * @param {object[]} siblings\n * @return {object}\n */\nexport function ruleset (value, root, parent, index, offset, rules, points, type, props, children, length, siblings) {\n\tvar post = offset - 1\n\tvar rule = offset === 0 ? rules : ['']\n\tvar size = sizeof(rule)\n\n\tfor (var i = 0, j = 0, k = 0; i < index; ++i)\n\t\tfor (var x = 0, y = substr(value, post + 1, post = abs(j = points[i])), z = value; x < size; ++x)\n\t\t\tif (z = trim(j > 0 ? rule[x] + ' ' + y : replace(y, /&\\f/g, rule[x])))\n\t\t\t\tprops[k++] = z\n\n\treturn node(value, root, parent, offset === 0 ? RULESET : type, props, children, length, siblings)\n}\n\n/**\n * @param {number} value\n * @param {object} root\n * @param {object?} parent\n * @param {object[]} siblings\n * @return {object}\n */\nexport function comment (value, root, parent, siblings) {\n\treturn node(value, root, parent, COMMENT, from(char()), substr(value, 2, -2), 0, siblings)\n}\n\n/**\n * @param {string} value\n * @param {object} root\n * @param {object?} parent\n * @param {number} length\n * @param {object[]} siblings\n * @return {object}\n */\nexport function declaration (value, root, parent, length, siblings) {\n\treturn node(value, root, parent, DECLARATION, substr(value, 0, length), substr(value, length + 1, -1), length, siblings)\n}\n","import {MS, MOZ, WEBKIT} from './Enum.js'\nimport {hash, charat, strlen, indexof, replace, substr, match} from './Utility.js'\n\n/**\n * @param {string} value\n * @param {number} length\n * @param {object[]} children\n * @return {string}\n */\nexport function prefix (value, length, children) {\n\tswitch (hash(value, length)) {\n\t\t// color-adjust\n\t\tcase 5103:\n\t\t\treturn WEBKIT + 'print-' + value + value\n\t\t// animation, animation-(delay|direction|duration|fill-mode|iteration-count|name|play-state|timing-function)\n\t\tcase 5737: case 4201: case 3177: case 3433: case 1641: case 4457: case 2921:\n\t\t// text-decoration, filter, clip-path, backface-visibility, column, box-decoration-break\n\t\tcase 5572: case 6356: case 5844: case 3191: case 6645: case 3005:\n\t\t// mask, mask-image, mask-(mode|clip|size), mask-(repeat|origin), mask-position, mask-composite,\n\t\tcase 6391: case 5879: case 5623: case 6135: case 4599: case 4855:\n\t\t// background-clip, columns, column-(count|fill|gap|rule|rule-color|rule-style|rule-width|span|width)\n\t\tcase 4215: case 6389: case 5109: case 5365: case 5621: case 3829:\n\t\t\treturn WEBKIT + value + value\n\t\t// tab-size\n\t\tcase 4789:\n\t\t\treturn MOZ + value + value\n\t\t// appearance, user-select, transform, hyphens, text-size-adjust\n\t\tcase 5349: case 4246: case 4810: case 6968: case 2756:\n\t\t\treturn WEBKIT + value + MOZ + value + MS + value + value\n\t\t// writing-mode\n\t\tcase 5936:\n\t\t\tswitch (charat(value, length + 11)) {\n\t\t\t\t// vertical-l(r)\n\t\t\t\tcase 114:\n\t\t\t\t\treturn WEBKIT + value + MS + replace(value, /[svh]\\w+-[tblr]{2}/, 'tb') + value\n\t\t\t\t// vertical-r(l)\n\t\t\t\tcase 108:\n\t\t\t\t\treturn WEBKIT + value + MS + replace(value, /[svh]\\w+-[tblr]{2}/, 'tb-rl') + value\n\t\t\t\t// horizontal(-)tb\n\t\t\t\tcase 45:\n\t\t\t\t\treturn WEBKIT + value + MS + replace(value, /[svh]\\w+-[tblr]{2}/, 'lr') + value\n\t\t\t\t// default: fallthrough to below\n\t\t\t}\n\t\t// flex, flex-direction, scroll-snap-type, writing-mode\n\t\tcase 6828: case 4268: case 2903:\n\t\t\treturn WEBKIT + value + MS + value + value\n\t\t// order\n\t\tcase 6165:\n\t\t\treturn WEBKIT + value + MS + 'flex-' + value + value\n\t\t// align-items\n\t\tcase 5187:\n\t\t\treturn WEBKIT + value + replace(value, /(\\w+).+(:[^]+)/, WEBKIT + 'box-$1$2' + MS + 'flex-$1$2') + value\n\t\t// align-self\n\t\tcase 5443:\n\t\t\treturn WEBKIT + value + MS + 'flex-item-' + replace(value, /flex-|-self/g, '') + (!match(value, /flex-|baseline/) ? MS + 'grid-row-' + replace(value, /flex-|-self/g, '') : '') + value\n\t\t// align-content\n\t\tcase 4675:\n\t\t\treturn WEBKIT + value + MS + 'flex-line-pack' + replace(value, /align-content|flex-|-self/g, '') + value\n\t\t// flex-shrink\n\t\tcase 5548:\n\t\t\treturn WEBKIT + value + MS + replace(value, 'shrink', 'negative') + value\n\t\t// flex-basis\n\t\tcase 5292:\n\t\t\treturn WEBKIT + value + MS + replace(value, 'basis', 'preferred-size') + value\n\t\t// flex-grow\n\t\tcase 6060:\n\t\t\treturn WEBKIT + 'box-' + replace(value, '-grow', '') + WEBKIT + value + MS + replace(value, 'grow', 'positive') + value\n\t\t// transition\n\t\tcase 4554:\n\t\t\treturn WEBKIT + replace(value, /([^-])(transform)/g, '$1' + WEBKIT + '$2') + value\n\t\t// cursor\n\t\tcase 6187:\n\t\t\treturn replace(replace(replace(value, /(zoom-|grab)/, WEBKIT + '$1'), /(image-set)/, WEBKIT + '$1'), value, '') + value\n\t\t// background, background-image\n\t\tcase 5495: case 3959:\n\t\t\treturn replace(value, /(image-set\\([^]*)/, WEBKIT + '$1' + '$`$1')\n\t\t// justify-content\n\t\tcase 4968:\n\t\t\treturn replace(replace(value, /(.+:)(flex-)?(.*)/, WEBKIT + 'box-pack:$3' + MS + 'flex-pack:$3'), /s.+-b[^;]+/, 'justify') + WEBKIT + value + value\n\t\t// justify-self\n\t\tcase 4200:\n\t\t\tif (!match(value, /flex-|baseline/)) return MS + 'grid-column-align' + substr(value, length) + value\n\t\t\tbreak\n\t\t// grid-template-(columns|rows)\n\t\tcase 2592: case 3360:\n\t\t\treturn MS + replace(value, 'template-', '') + value\n\t\t// grid-(row|column)-start\n\t\tcase 4384: case 3616:\n\t\t\tif (children && children.some(function (element, index) { return length = index, match(element.props, /grid-\\w+-end/) })) {\n\t\t\t\treturn ~indexof(value + (children = children[length].value), 'span', 0) ? value : (MS + replace(value, '-start', '') + value + MS + 'grid-row-span:' + (~indexof(children, 'span', 0) ? match(children, /\\d+/) : +match(children, /\\d+/) - +match(value, /\\d+/)) + ';')\n\t\t\t}\n\t\t\treturn MS + replace(value, '-start', '') + value\n\t\t// grid-(row|column)-end\n\t\tcase 4896: case 4128:\n\t\t\treturn (children && children.some(function (element) { return match(element.props, /grid-\\w+-start/) })) ? value : MS + replace(replace(value, '-end', '-span'), 'span ', '') + value\n\t\t// (margin|padding)-inline-(start|end)\n\t\tcase 4095: case 3583: case 4068: case 2532:\n\t\t\treturn replace(value, /(.+)-inline(.+)/, WEBKIT + '$1$2') + value\n\t\t// (min|max)?(width|height|inline-size|block-size)\n\t\tcase 8116: case 7059: case 5753: case 5535:\n\t\tcase 5445: case 5701: case 4933: case 4677:\n\t\tcase 5533: case 5789: case 5021: case 4765:\n\t\t\t// stretch, max-content, min-content, fill-available\n\t\t\tif (strlen(value) - 1 - length > 6)\n\t\t\t\tswitch (charat(value, length + 1)) {\n\t\t\t\t\t// (m)ax-content, (m)in-content\n\t\t\t\t\tcase 109:\n\t\t\t\t\t\t// -\n\t\t\t\t\t\tif (charat(value, length + 4) !== 45)\n\t\t\t\t\t\t\tbreak\n\t\t\t\t\t// (f)ill-available, (f)it-content\n\t\t\t\t\tcase 102:\n\t\t\t\t\t\treturn replace(value, /(.+:)(.+)-([^]+)/, '$1' + WEBKIT + '$2-$3' + '$1' + MOZ + (charat(value, length + 3) == 108 ? '$3' : '$2-$3')) + value\n\t\t\t\t\t// (s)tretch\n\t\t\t\t\tcase 115:\n\t\t\t\t\t\treturn ~indexof(value, 'stretch', 0) ? prefix(replace(value, 'stretch', 'fill-available'), length, children) + value : value\n\t\t\t\t}\n\t\t\tbreak\n\t\t// grid-(column|row)\n\t\tcase 5152: case 5920:\n\t\t\treturn replace(value, /(.+?):(\\d+)(\\s*\\/\\s*(span)?\\s*(\\d+))?(.*)/, function (_, a, b, c, d, e, f) { return (MS + a + ':' + b + f) + (c ? (MS + a + '-span:' + (d ? e : +e - +b)) + f : '') + value })\n\t\t// position: sticky\n\t\tcase 4949:\n\t\t\t// stick(y)?\n\t\t\tif (charat(value, length + 6) === 121)\n\t\t\t\treturn replace(value, ':', ':' + WEBKIT) + value\n\t\t\tbreak\n\t\t// display: (flex|inline-flex|grid|inline-grid)\n\t\tcase 6444:\n\t\t\tswitch (charat(value, charat(value, 14) === 45 ? 18 : 11)) {\n\t\t\t\t// (inline-)?fle(x)\n\t\t\t\tcase 120:\n\t\t\t\t\treturn replace(value, /(.+:)([^;\\s!]+)(;|(\\s+)?!.+)?/, '$1' + WEBKIT + (charat(value, 14) === 45 ? 'inline-' : '') + 'box$3' + '$1' + WEBKIT + '$2$3' + '$1' + MS + '$2box$3') + value\n\t\t\t\t// (inline-)?gri(d)\n\t\t\t\tcase 100:\n\t\t\t\t\treturn replace(value, ':', ':' + MS) + value\n\t\t\t}\n\t\t\tbreak\n\t\t// scroll-margin, scroll-margin-(top|right|bottom|left)\n\t\tcase 5719: case 2647: case 2135: case 3927: case 2391:\n\t\t\treturn replace(value, 'scroll-', 'scroll-snap-') + value\n\t}\n\n\treturn value\n}\n","import {IMPORT, LAYER, COMMENT, RULESET, DECLARATION, KEYFRAMES} from './Enum.js'\nimport {strlen} from './Utility.js'\n\n/**\n * @param {object[]} children\n * @param {function} callback\n * @return {string}\n */\nexport function serialize (children, callback) {\n\tvar output = ''\n\n\tfor (var i = 0; i < children.length; i++)\n\t\toutput += callback(children[i], i, children, callback) || ''\n\n\treturn output\n}\n\n/**\n * @param {object} element\n * @param {number} index\n * @param {object[]} children\n * @param {function} callback\n * @return {string}\n */\nexport function stringify (element, index, children, callback) {\n\tswitch (element.type) {\n\t\tcase LAYER: if (element.children.length) break\n\t\tcase IMPORT: case DECLARATION: return element.return = element.return || element.value\n\t\tcase COMMENT: return ''\n\t\tcase KEYFRAMES: return element.return = element.value + '{' + serialize(element.children, callback) + '}'\n\t\tcase RULESET: if (!strlen(element.value = element.props.join(','))) return ''\n\t}\n\n\treturn strlen(children = serialize(element.children, callback)) ? element.return = element.value + '{' + children + '}' : ''\n}\n","import {MS, MOZ, WEBKIT, RULESET, KEYFRAMES, DECLARATION} from './Enum.js'\nimport {match, charat, substr, strlen, sizeof, replace, combine, filter, assign} from './Utility.js'\nimport {copy, lift, tokenize} from './Tokenizer.js'\nimport {serialize} from './Serializer.js'\nimport {prefix} from './Prefixer.js'\n\n/**\n * @param {function[]} collection\n * @return {function}\n */\nexport function middleware (collection) {\n\tvar length = sizeof(collection)\n\n\treturn function (element, index, children, callback) {\n\t\tvar output = ''\n\n\t\tfor (var i = 0; i < length; i++)\n\t\t\toutput += collection[i](element, index, children, callback) || ''\n\n\t\treturn output\n\t}\n}\n\n/**\n * @param {function} callback\n * @return {function}\n */\nexport function rulesheet (callback) {\n\treturn function (element) {\n\t\tif (!element.root)\n\t\t\tif (element = element.return)\n\t\t\t\tcallback(element)\n\t}\n}\n\n/**\n * @param {object} element\n * @param {number} index\n * @param {object[]} children\n * @param {function} callback\n */\nexport function prefixer (element, index, children, callback) {\n\tif (element.length > -1)\n\t\tif (!element.return)\n\t\t\tswitch (element.type) {\n\t\t\t\tcase DECLARATION: element.return = prefix(element.value, element.length, children)\n\t\t\t\t\treturn\n\t\t\t\tcase KEYFRAMES:\n\t\t\t\t\treturn serialize([copy(element, {value: replace(element.value, '@', '@' + WEBKIT)})], callback)\n\t\t\t\tcase RULESET:\n\t\t\t\t\tif (element.length)\n\t\t\t\t\t\treturn combine(children = element.props, function (value) {\n\t\t\t\t\t\t\tswitch (match(value, callback = /(::plac\\w+|:read-\\w+)/)) {\n\t\t\t\t\t\t\t\t// :read-(only|write)\n\t\t\t\t\t\t\t\tcase ':read-only': case ':read-write':\n\t\t\t\t\t\t\t\t\tlift(copy(element, {props: [replace(value, /:(read-\\w+)/, ':' + MOZ + '$1')]}))\n\t\t\t\t\t\t\t\t\tlift(copy(element, {props: [value]}))\n\t\t\t\t\t\t\t\t\tassign(element, {props: filter(children, callback)})\n\t\t\t\t\t\t\t\t\tbreak\n\t\t\t\t\t\t\t\t// :placeholder\n\t\t\t\t\t\t\t\tcase '::placeholder':\n\t\t\t\t\t\t\t\t\tlift(copy(element, {props: [replace(value, /:(plac\\w+)/, ':' + WEBKIT + 'input-$1')]}))\n\t\t\t\t\t\t\t\t\tlift(copy(element, {props: [replace(value, /:(plac\\w+)/, ':' + MOZ + '$1')]}))\n\t\t\t\t\t\t\t\t\tlift(copy(element, {props: [replace(value, /:(plac\\w+)/, MS + 'input-$1')]}))\n\t\t\t\t\t\t\t\t\tlift(copy(element, {props: [value]}))\n\t\t\t\t\t\t\t\t\tassign(element, {props: filter(children, callback)})\n\t\t\t\t\t\t\t\t\tbreak\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\treturn ''\n\t\t\t\t\t\t})\n\t\t\t}\n}\n\n/**\n * @param {object} element\n * @param {number} index\n * @param {object[]} children\n */\nexport function namespace (element) {\n\tswitch (element.type) {\n\t\tcase RULESET:\n\t\t\telement.props = element.props.map(function (value) {\n\t\t\t\treturn combine(tokenize(value), function (value, index, children) {\n\t\t\t\t\tswitch (charat(value, 0)) {\n\t\t\t\t\t\t// \\f\n\t\t\t\t\t\tcase 12:\n\t\t\t\t\t\t\treturn substr(value, 1, strlen(value))\n\t\t\t\t\t\t// \\0 ( + > ~\n\t\t\t\t\t\tcase 0: case 40: case 43: case 62: case 126:\n\t\t\t\t\t\t\treturn value\n\t\t\t\t\t\t// :\n\t\t\t\t\t\tcase 58:\n\t\t\t\t\t\t\tif (children[++index] === 'global')\n\t\t\t\t\t\t\t\tchildren[index] = '', children[++index] = '\\f' + substr(children[index], index = 1, -1)\n\t\t\t\t\t\t// \\s\n\t\t\t\t\t\tcase 32:\n\t\t\t\t\t\t\treturn index === 1 ? '' : value\n\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\tswitch (index) {\n\t\t\t\t\t\t\t\tcase 0: element = value\n\t\t\t\t\t\t\t\t\treturn sizeof(children) > 1 ? '' : value\n\t\t\t\t\t\t\t\tcase index = sizeof(children) - 1: case 2:\n\t\t\t\t\t\t\t\t\treturn index === 2 ? value + element + element : value + element\n\t\t\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\t\t\treturn value\n\t\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t})\n\t}\n}\n","var unitlessKeys = {\n animationIterationCount: 1,\n borderImageOutset: 1,\n borderImageSlice: 1,\n borderImageWidth: 1,\n boxFlex: 1,\n boxFlexGroup: 1,\n boxOrdinalGroup: 1,\n columnCount: 1,\n columns: 1,\n flex: 1,\n flexGrow: 1,\n flexPositive: 1,\n flexShrink: 1,\n flexNegative: 1,\n flexOrder: 1,\n gridRow: 1,\n gridRowEnd: 1,\n gridRowSpan: 1,\n gridRowStart: 1,\n gridColumn: 1,\n gridColumnEnd: 1,\n gridColumnSpan: 1,\n gridColumnStart: 1,\n msGridRow: 1,\n msGridRowSpan: 1,\n msGridColumn: 1,\n msGridColumnSpan: 1,\n fontWeight: 1,\n lineHeight: 1,\n opacity: 1,\n order: 1,\n orphans: 1,\n tabSize: 1,\n widows: 1,\n zIndex: 1,\n zoom: 1,\n WebkitLineClamp: 1,\n // SVG-related properties\n fillOpacity: 1,\n floodOpacity: 1,\n stopOpacity: 1,\n strokeDasharray: 1,\n strokeDashoffset: 1,\n strokeMiterlimit: 1,\n strokeOpacity: 1,\n strokeWidth: 1\n};\n\nexport default unitlessKeys;\n","import{__spreadArray as e,__assign as t}from\"tslib\";import n from\"@emotion/is-prop-valid\";import o,{useRef as r,useState as s,useMemo as i,useEffect as a,useContext as c,useDebugValue as l,createElement as u}from\"react\";import p from\"shallowequal\";import*as d from\"stylis\";import h from\"@emotion/unitless\";var f=\"undefined\"!=typeof process&&void 0!==process.env&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||\"data-styled\",m=\"active\",y=\"data-styled-version\",v=\"6.1.8\",g=\"/*!sc*/\\n\",S=\"undefined\"!=typeof window&&\"HTMLElement\"in window,w=Boolean(\"boolean\"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:\"undefined\"!=typeof process&&void 0!==process.env&&void 0!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&\"\"!==process.env.REACT_APP_SC_DISABLE_SPEEDY?\"false\"!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&process.env.REACT_APP_SC_DISABLE_SPEEDY:\"undefined\"!=typeof process&&void 0!==process.env&&void 0!==process.env.SC_DISABLE_SPEEDY&&\"\"!==process.env.SC_DISABLE_SPEEDY?\"false\"!==process.env.SC_DISABLE_SPEEDY&&process.env.SC_DISABLE_SPEEDY:\"production\"!==process.env.NODE_ENV),b={},E=/invalid hook call/i,N=new Set,P=function(t,n){if(\"production\"!==process.env.NODE_ENV){var o=n?' with the id of \"'.concat(n,'\"'):\"\",s=\"The component \".concat(t).concat(o,\" has been created dynamically.\\n\")+\"You may see this warning because you've called styled inside another component.\\nTo resolve this only create new StyledComponents outside of any render method and function component.\",i=console.error;try{var a=!0;console.error=function(t){for(var n=[],o=1;o?@[\\\\\\]^`{|}~-]+/g,D=/(^-|-$)/g;function R(e){return e.replace(O,\"-\").replace(D,\"\")}var T=/(a)(d)/gi,k=52,j=function(e){return String.fromCharCode(e+(e>25?39:97))};function x(e){var t,n=\"\";for(t=Math.abs(e);t>k;t=t/k|0)n=j(t%k)+n;return(j(t%k)+n).replace(T,\"$1-$2\")}var V,F=5381,M=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},$=function(e){return M(F,e)};function z(e){return x($(e)>>>0)}function B(e){return\"production\"!==process.env.NODE_ENV&&\"string\"==typeof e&&e||e.displayName||e.name||\"Component\"}function L(e){return\"string\"==typeof e&&(\"production\"===process.env.NODE_ENV||e.charAt(0)===e.charAt(0).toLowerCase())}var G=\"function\"==typeof Symbol&&Symbol.for,Y=G?Symbol.for(\"react.memo\"):60115,W=G?Symbol.for(\"react.forward_ref\"):60112,q={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},H={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},U={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},J=((V={})[W]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},V[Y]=U,V);function X(e){return(\"type\"in(t=e)&&t.type.$$typeof)===Y?U:\"$$typeof\"in e?J[e.$$typeof]:q;var t}var Z=Object.defineProperty,K=Object.getOwnPropertyNames,Q=Object.getOwnPropertySymbols,ee=Object.getOwnPropertyDescriptor,te=Object.getPrototypeOf,ne=Object.prototype;function oe(e,t,n){if(\"string\"!=typeof t){if(ne){var o=te(t);o&&o!==ne&&oe(e,o,n)}var r=K(t);Q&&(r=r.concat(Q(t)));for(var s=X(e),i=X(t),a=0;a ({})}\\n```\\n\\n',8:'ThemeProvider: Please make your \"theme\" prop an object.\\n\\n',9:\"Missing document ``\\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\\n\\n\",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.\\n\\n\",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.\\n\\n\",14:'ThemeProvider: \"theme\" prop is required.\\n\\n',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 ``, 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.\\nYou may only create up to 1,073,741,824 components. If you're creating components dynamically,\\nas for instance in your render method then you may be running into this limitation.\\n\\n\",17:\"CSSStyleSheet could not be found on HTMLStyleElement.\\nHas styled-components' style tag been unmounted or altered by another script?\\n\",18:\"ThemeProvider: Please make sure your useTheme hook is within a ``\"}:{};function de(){for(var e=[],t=0;t0?\" Args: \".concat(n.join(\", \")):\"\")):new Error(de.apply(void 0,e([pe[t]],n,!1)).trim())}var fe=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return e.prototype.indexOfGroup=function(e){for(var t=0,n=0;n=this.groupSizes.length){for(var n=this.groupSizes,o=n.length,r=o;e>=r;)if((r<<=1)<0)throw he(16,\"\".concat(e));this.groupSizes=new Uint32Array(r),this.groupSizes.set(n),this.length=r;for(var s=o;s=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],o=this.indexOfGroup(e),r=o+n,s=o;s1073741824))throw he(16,\"\".concat(t));return me.set(e,t),ye.set(t,e),t},Se=function(e,t){ve=t+1,me.set(e,t),ye.set(t,e)},we=\"style[\".concat(f,\"][\").concat(y,'=\"').concat(v,'\"]'),be=new RegExp(\"^\".concat(f,'\\\\.g(\\\\d+)\\\\[id=\"([\\\\w\\\\d-]+)\"\\\\].*?\"([^\"]*)')),Ee=function(e,t,n){for(var o,r=n.split(\",\"),s=0,i=r.length;s=0){var n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e0&&(c+=\"\".concat(e,\",\"))}),o+=\"\".concat(i).concat(a,'{content:\"').concat(c,'\"}').concat(g)},s=0;s0?\".\".concat(t):e},u=c.slice();u.push(function(e){e.type===d.RULESET&&e.value.includes(\"&\")&&(e.props[0]=e.props[0].replace(Te,n).replace(o,l))}),i.prefix&&u.push(d.prefixer),u.push(d.stringify);var p=function(e,r,s,a){void 0===r&&(r=\"\"),void 0===s&&(s=\"\"),void 0===a&&(a=\"&\"),t=a,n=r,o=new RegExp(\"\\\\\".concat(n,\"\\\\b\"),\"g\");var c=e.replace(ke,\"\"),l=d.compile(s||r?\"\".concat(s,\" \").concat(r,\" { \").concat(c,\" }\"):c);i.namespace&&(l=je(l,i.namespace));var p=[];return d.serialize(l,d.middleware(u.concat(d.rulesheet(function(e){return p.push(e)})))),p};return p.hash=c.length?c.reduce(function(e,t){return t.name||he(15),M(e,t.name)},F).toString():\"\",p}var Ve=new Re,Fe=xe(),Me=o.createContext({shouldForwardProp:void 0,styleSheet:Ve,stylis:Fe}),$e=Me.Consumer,ze=o.createContext(void 0);function Be(){return c(Me)}function Le(e){var t=s(e.stylisPlugins),n=t[0],r=t[1],c=Be().styleSheet,l=i(function(){var t=c;return e.sheet?t=e.sheet:e.target&&(t=t.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t},[e.disableCSSOMInjection,e.sheet,e.target,c]),u=i(function(){return xe({options:{namespace:e.namespace,prefix:e.enableVendorPrefixes},plugins:n})},[e.enableVendorPrefixes,e.namespace,n]);a(function(){p(n,e.stylisPlugins)||r(e.stylisPlugins)},[e.stylisPlugins]);var d=i(function(){return{shouldForwardProp:e.shouldForwardProp,styleSheet:l,stylis:u}},[e.shouldForwardProp,l,u]);return o.createElement(Me.Provider,{value:d},o.createElement(ze.Provider,{value:u},e.children))}var Ge=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=Fe);var o=n.name+t.hash;e.hasNameForId(n.id,o)||e.insertRules(n.id,o,t(n.rules,o,\"@keyframes\"))},this.name=e,this.id=\"sc-keyframes-\".concat(e),this.rules=t,ue(this,function(){throw he(12,String(n.name))})}return e.prototype.getName=function(e){return void 0===e&&(e=Fe),this.name+e.hash},e}(),Ye=function(e){return e>=\"A\"&&e<=\"Z\"};function We(e){for(var t=\"\",n=0;n>>0);if(!t.hasNameForId(this.componentId,s)){var i=n(r,\".\".concat(s),void 0,this.componentId);t.insertRules(this.componentId,s,i)}o=ie(o,s),this.staticRulesId=s}else{for(var a=M(this.baseHash,n.hash),c=\"\",l=0;l>>0);t.hasNameForId(this.componentId,d)||t.insertRules(this.componentId,d,n(c,\".\".concat(d),void 0,this.componentId)),o=ie(o,d)}}return o},e}(),Ke=o.createContext(void 0),Qe=Ke.Consumer;function et(){var e=c(Ke);if(!e)throw he(18);return e}function tt(e){var n=o.useContext(Ke),r=i(function(){return function(e,n){if(!e)throw he(14);if(re(e)){var o=e(n);if(\"production\"!==process.env.NODE_ENV&&(null===o||Array.isArray(o)||\"object\"!=typeof o))throw he(7);return o}if(Array.isArray(e)||\"object\"!=typeof e)throw he(8);return n?t(t({},n),e):e}(e.theme,n)},[e.theme,n]);return e.children?o.createElement(Ke.Provider,{value:r},e.children):null}var nt={},ot=new Set;function rt(e,r,s){var i=se(e),a=e,c=!L(e),p=r.attrs,d=void 0===p?_:p,h=r.componentId,f=void 0===h?function(e,t){var n=\"string\"!=typeof e?\"sc\":R(e);nt[n]=(nt[n]||0)+1;var o=\"\".concat(n,\"-\").concat(z(v+n+nt[n]));return t?\"\".concat(t,\"-\").concat(o):o}(r.displayName,r.parentComponentId):h,m=r.displayName,y=void 0===m?function(e){return L(e)?\"styled.\".concat(e):\"Styled(\".concat(B(e),\")\")}(e):m,g=r.displayName&&r.componentId?\"\".concat(R(r.displayName),\"-\").concat(r.componentId):r.componentId||f,S=i&&a.attrs?a.attrs.concat(d).filter(Boolean):d,w=r.shouldForwardProp;if(i&&a.shouldForwardProp){var b=a.shouldForwardProp;if(r.shouldForwardProp){var E=r.shouldForwardProp;w=function(e,t){return b(e,t)&&E(e,t)}}else w=b}var N=new Ze(s,g,i?a.componentStyle:void 0);function O(e,r){return function(e,r,s){var i=e.attrs,a=e.componentStyle,c=e.defaultProps,p=e.foldedComponentIds,d=e.styledComponentId,h=e.target,f=o.useContext(Ke),m=Be(),y=e.shouldForwardProp||m.shouldForwardProp;\"production\"!==process.env.NODE_ENV&&l(d);var v=I(r,f,c)||C,g=function(e,n,o){for(var r,s=t(t({},n),{className:void 0,theme:o}),i=0;i` (connect an API like `@emotion/is-prop-valid`) or consider using transient props (`$` prefix for automatic filtering.)')))));var E=function(e,t){var n=Be(),o=e.generateAndInjectStyles(t,n.styleSheet,n.stylis);return\"production\"!==process.env.NODE_ENV&&l(o),o}(a,g);\"production\"!==process.env.NODE_ENV&&e.warnTooManyClasses&&e.warnTooManyClasses(E);var N=ie(p,d);return E&&(N+=\" \"+E),g.className&&(N+=\" \"+g.className),w[L(S)&&!A.has(S)?\"class\":\"className\"]=N,w.ref=s,u(S,w)}(D,e,r)}O.displayName=y;var D=o.forwardRef(O);return D.attrs=S,D.componentStyle=N,D.displayName=y,D.shouldForwardProp=w,D.foldedComponentIds=i?ie(a.foldedComponentIds,a.styledComponentId):\"\",D.styledComponentId=g,D.target=i?a.target:e,Object.defineProperty(D,\"defaultProps\",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=i?function(e){for(var t=[],n=1;n=200)){var s=t?' with the id of \"'.concat(t,'\"'):\"\";console.warn(\"Over \".concat(200,\" classes were generated for component \").concat(e).concat(s,\".\\n\")+\"Consider using the attrs method, together with a style object for frequently changed styles.\\nExample:\\n const Component = styled.div.attrs(props => ({\\n style: {\\n background: props.background,\\n },\\n }))`width: 100%;`\\n\\n \"),o=!0,n={}}}}(y,g)),ue(D,function(){return\".\".concat(D.styledComponentId)}),c&&oe(D,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),D}function st(e,t){for(var n=[e[0]],o=0,r=t.length;o2&&Re.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,o)},e}();function dt(n){for(var r=[],s=1;s meta tag to the stylesheet, or simply embedding it manually in your index.html section for a simpler app.\"),t.styleSheet.server&&u(r,e,t.styleSheet,n,t.stylis),o.useLayoutEffect(function(){if(!t.styleSheet.server)return u(r,e,t.styleSheet,n,t.stylis),function(){return c.removeStyles(r,t.styleSheet)}},[r,e,t.styleSheet,n,t.stylis]),null};function u(e,n,o,r,s){if(c.isStatic)c.renderStyles(e,b,o,s);else{var i=t(t({},n),{theme:I(n,r,l.defaultProps)});c.renderStyles(e,i,o,s)}}return o.memo(l)}function ht(t){for(var n=[],o=1;o\").concat(t,\"\")},this.getStyleTags=function(){if(e.sealed)throw he(2);return e._emitSheetCSS()},this.getStyleElement=function(){var n;if(e.sealed)throw he(2);var r=((n={})[f]=\"\",n[y]=v,n.dangerouslySetInnerHTML={__html:e.instance.toString()},n),s=Pe();return s&&(r.nonce=s),[o.createElement(\"style\",t({},r,{key:\"sc-0-0\"}))]},this.seal=function(){e.sealed=!0},this.instance=new Re({isServer:!0}),this.sealed=!1}return e.prototype.collectStyles=function(e){if(this.sealed)throw he(2);return o.createElement(Le,{sheet:this.instance},e)},e.prototype.interleaveWithNodeStream=function(e){throw he(3)},e}(),yt={StyleSheet:Re,mainSheet:Ve};\"production\"!==process.env.NODE_ENV&&\"undefined\"!=typeof navigator&&\"ReactNative\"===navigator.product&&console.warn(\"It looks like you've imported 'styled-components' on React Native.\\nPerhaps you're looking to import 'styled-components/native'?\\nRead more about this at https://www.styled-components.com/docs/basics#react-native\");var vt=\"__sc-\".concat(f,\"__\");\"production\"!==process.env.NODE_ENV&&\"test\"!==process.env.NODE_ENV&&\"undefined\"!=typeof window&&(window[vt]||(window[vt]=0),1===window[vt]&&console.warn(\"It looks like there are several instances of 'styled-components' initialized in this application. This may cause dynamic styles to not render properly, errors during the rehydration process, a missing theme prop, and makes your application bigger without good reason.\\n\\nSee https://s-c.sh/2BAXzed for more info.\"),window[vt]+=1);export{mt as ServerStyleSheet,$e as StyleSheetConsumer,Me as StyleSheetContext,Le as StyleSheetManager,Qe as ThemeConsumer,Ke as ThemeContext,tt as ThemeProvider,yt as __PRIVATE__,dt as createGlobalStyle,at as css,ut as default,se as isStyledComponent,ht as keyframes,ut as styled,et as useTheme,v as version,ft as withTheme};\n//# sourceMappingURL=styled-components.browser.esm.js.map\n","import { MouseEvent } from \"react\";\n\nexport const simpleDebounce = (func: () => void, delay: number) => {\n let timer: ReturnType;\n\n function cancel() {\n clearTimeout(timer);\n }\n\n function debounced() {\n cancel();\n timer = setTimeout(() => {\n func();\n }, delay);\n }\n\n debounced.cancel = cancel;\n return debounced;\n};\n\nexport const ensureWithinLimits = (value: number, min: number, max: number) => {\n min = !min && min !== 0 ? value : min;\n max = !max && max !== 0 ? value : max;\n if (min > max) {\n console.error(\"min limit is greater than max limit\");\n return value;\n }\n if (value < min) {\n return min;\n }\n if (value > max) {\n return max;\n }\n return value;\n};\n\nexport interface ElementLayout {\n top: number;\n right: number;\n height: number;\n left: number;\n width?: number;\n}\n\nexport const isEventPosOnLayout = (event: MouseEvent, layout: ElementLayout) =>\n event.clientX > layout.left &&\n event.clientX < layout.right &&\n event.clientY > layout.top &&\n event.clientY < layout.top + layout.height;\n\nexport const isEventPosOnDomNode = (\n event: MouseEvent,\n domNode: HTMLElement,\n) => {\n const nodeClientRect = domNode.getBoundingClientRect();\n return isEventPosOnLayout(event, nodeClientRect);\n};\n","import {\n Component,\n CSSProperties,\n createRef,\n UIEvent,\n MouseEvent,\n PropsWithChildren,\n} from \"react\";\nimport styled from \"styled-components\";\nimport {\n ElementLayout,\n ensureWithinLimits,\n isEventPosOnDomNode,\n isEventPosOnLayout,\n simpleDebounce,\n} from \"./utils.ts\";\n\nconst CustomScrollbar = styled.div`\n position: absolute;\n height: 100%;\n width: 6px;\n right: 3px;\n opacity: 0;\n z-index: 1;\n transition: opacity 0.4s ease-out;\n padding: 6px 0;\n box-sizing: border-box;\n will-change: opacity;\n pointer-events: none;\n\n &.rcs-custom-scrollbar-rtl {\n right: auto;\n left: 3px;\n }\n\n &.scroll-visible {\n opacity: 1;\n transition-duration: 0.2s;\n }\n`;\n\nconst ScrollHandle = styled.div`\n height: calc(100% - 12px);\n margin-top: 6px;\n background-color: rgba(78, 183, 245, 0.7);\n border-radius: 3px;\n`;\n\nconst CustomScrollRoot = styled.div`\n min-height: 0;\n min-width: 0;\n\n & .rcs-outer-container {\n overflow: hidden;\n\n & .rcs-positioning {\n position: relative;\n }\n }\n\n & .rcs-inner-container {\n overflow-x: hidden;\n overflow-y: scroll;\n -webkit-overflow-scrolling: touch;\n\n &:after {\n content: \"\";\n position: absolute;\n top: 0;\n right: 0;\n left: 0;\n height: 0;\n background-image: linear-gradient(\n to bottom,\n rgba(0, 0, 0, 0.2) 0%,\n rgba(0, 0, 0, 0.05) 60%,\n rgba(0, 0, 0, 0) 100%\n );\n pointer-events: none;\n transition: height 0.1s ease-in;\n will-change: height;\n }\n\n &.rcs-content-scrolled:after {\n height: 5px;\n transition: height 0.15s ease-out;\n }\n }\n\n &.rcs-scroll-handle-dragged .rcs-inner-container {\n user-select: none;\n }\n\n &.rcs-scroll-handle-dragged ${CustomScrollbar} {\n opacity: 1;\n }\n\n & .rcs-custom-scroll-handle {\n position: absolute;\n width: 100%;\n top: 0;\n }\n`;\n\ninterface CustomScrollProps extends PropsWithChildren {\n allowOuterScroll?: boolean;\n heightRelativeToParent?: string;\n onScroll?: (event: UIEvent) => void;\n addScrolledClass?: boolean;\n freezePosition?: boolean;\n handleClass?: string;\n minScrollHandleHeight?: number;\n flex?: string;\n rtl?: boolean;\n scrollTo?: number;\n keepAtBottom?: boolean;\n className?: string;\n}\n\ninterface CustomScrollState {\n scrollPos: number;\n onDrag: boolean;\n visible: boolean;\n}\n\nexport class CustomScroll extends Component<\n CustomScrollProps,\n CustomScrollState\n> {\n scrollbarYWidth: number;\n hideScrollThumb: ReturnType;\n contentHeight: number = 0;\n visibleHeight: number = 0;\n scrollHandleHeight: number = 0;\n scrollRatio: number = 1;\n hasScroll: boolean = false;\n startDragHandlePos: number = 0;\n startDragMousePos: number = 0;\n\n constructor(props: CustomScrollProps) {\n super(props);\n\n this.scrollbarYWidth = 0;\n this.state = {\n scrollPos: 0,\n onDrag: false,\n visible: false,\n };\n\n this.hideScrollThumb = simpleDebounce(() => {\n this.setState({\n onDrag: false,\n });\n }, 500);\n }\n\n componentDidMount() {\n if (typeof this.props.scrollTo !== \"undefined\") {\n this.updateScrollPosition(this.props.scrollTo);\n } else {\n this.forceUpdate();\n }\n }\n\n componentDidUpdate(\n prevProps: CustomScrollProps,\n prevState: CustomScrollState,\n ) {\n const prevContentHeight = this.contentHeight;\n const prevVisibleHeight = this.visibleHeight;\n const innerContainer = this.getScrolledElement();\n const reachedBottomOnPrevRender =\n prevState.scrollPos >= prevContentHeight - prevVisibleHeight;\n\n this.contentHeight = innerContainer.scrollHeight;\n this.scrollbarYWidth =\n innerContainer.offsetWidth - innerContainer.clientWidth;\n this.visibleHeight = innerContainer.clientHeight;\n this.scrollRatio = this.contentHeight\n ? this.visibleHeight / this.contentHeight\n : 1;\n\n this.toggleScrollIfNeeded();\n const isExternalRender = this.state === prevState;\n if (this.props.freezePosition || prevProps.freezePosition) {\n this.adjustFreezePosition(prevProps);\n }\n if (\n typeof this.props.scrollTo !== \"undefined\" &&\n this.props.scrollTo !== prevProps.scrollTo\n ) {\n this.updateScrollPosition(this.props.scrollTo);\n } else if (\n this.props.keepAtBottom &&\n isExternalRender &&\n reachedBottomOnPrevRender\n ) {\n this.updateScrollPosition(this.contentHeight - this.visibleHeight);\n }\n }\n\n componentWillUnmount() {\n this.hideScrollThumb.cancel();\n // @ts-expect-error problem typing event handlers\n document.removeEventListener(\"mousemove\", this.onHandleDrag);\n // @ts-expect-error problem typing event handlers\n document.removeEventListener(\"mouseup\", this.onHandleDragEnd);\n }\n\n customScrollRef = createRef();\n innerContainerRef = createRef();\n customScrollbarRef = createRef();\n scrollHandleRef = createRef();\n contentWrapperRef = createRef();\n\n adjustFreezePosition = (prevProps: CustomScrollProps) => {\n if (!this.contentWrapperRef.current) {\n return;\n }\n const innerContainer = this.getScrolledElement();\n const contentWrapper = this.contentWrapperRef.current;\n\n if (this.props.freezePosition) {\n contentWrapper.scrollTop = this.state.scrollPos;\n }\n\n if (prevProps.freezePosition) {\n innerContainer.scrollTop = this.state.scrollPos;\n }\n };\n\n toggleScrollIfNeeded = () => {\n const shouldHaveScroll = this.contentHeight - this.visibleHeight > 1;\n if (this.hasScroll !== shouldHaveScroll) {\n this.hasScroll = shouldHaveScroll;\n this.forceUpdate();\n }\n };\n\n updateScrollPosition = (scrollValue: number) => {\n const innerContainer = this.getScrolledElement();\n const updatedScrollTop = ensureWithinLimits(\n scrollValue,\n 0,\n this.contentHeight - this.visibleHeight,\n );\n innerContainer.scrollTop = updatedScrollTop;\n this.setState({\n scrollPos: updatedScrollTop,\n });\n };\n\n onClick = (event: MouseEvent) => {\n if (\n !this.hasScroll ||\n !this.isMouseEventOnCustomScrollbar(event) ||\n this.isMouseEventOnScrollHandle(event)\n ) {\n return;\n }\n const newScrollHandleTop = this.calculateNewScrollHandleTop(event);\n const newScrollValue =\n this.getScrollValueFromHandlePosition(newScrollHandleTop);\n\n this.updateScrollPosition(newScrollValue);\n };\n\n isMouseEventOnCustomScrollbar = (event: MouseEvent) => {\n if (!this.customScrollbarRef.current) {\n return false;\n }\n const customScrollElm = this.customScrollRef.current as HTMLElement;\n const boundingRect = customScrollElm.getBoundingClientRect();\n const customScrollbarBoundingRect =\n this.customScrollbarRef.current.getBoundingClientRect();\n const horizontalClickArea = this.props.rtl\n ? {\n left: boundingRect.left,\n right: customScrollbarBoundingRect.right,\n }\n : {\n left: customScrollbarBoundingRect.left,\n width: boundingRect.right,\n };\n const customScrollbarLayout: ElementLayout = {\n right: boundingRect.right,\n top: boundingRect.top,\n height: boundingRect.height,\n ...horizontalClickArea,\n };\n\n return isEventPosOnLayout(event, customScrollbarLayout);\n };\n\n isMouseEventOnScrollHandle = (event: MouseEvent) => {\n if (!this.scrollHandleRef.current) {\n return false;\n }\n const scrollHandle = this.scrollHandleRef.current;\n return isEventPosOnDomNode(event, scrollHandle);\n };\n\n calculateNewScrollHandleTop = (clickEvent: MouseEvent) => {\n const domNode = this.customScrollRef.current as HTMLElement;\n const boundingRect = domNode.getBoundingClientRect();\n const currentTop = boundingRect.top + window.pageYOffset;\n const clickYRelativeToScrollbar = clickEvent.pageY - currentTop;\n const scrollHandleTop = this.getScrollHandleStyle().top;\n let newScrollHandleTop;\n const isBelowHandle =\n clickYRelativeToScrollbar > scrollHandleTop + this.scrollHandleHeight;\n if (isBelowHandle) {\n newScrollHandleTop =\n scrollHandleTop +\n Math.min(\n this.scrollHandleHeight,\n this.visibleHeight - this.scrollHandleHeight,\n );\n } else {\n newScrollHandleTop =\n scrollHandleTop - Math.max(this.scrollHandleHeight, 0);\n }\n return newScrollHandleTop;\n };\n\n getScrollValueFromHandlePosition = (handlePosition: number) =>\n handlePosition / this.scrollRatio;\n\n getScrollHandleStyle = (): { height: number; top: number } => {\n const handlePosition = this.state.scrollPos * this.scrollRatio;\n this.scrollHandleHeight = this.visibleHeight * this.scrollRatio;\n return {\n height: this.scrollHandleHeight,\n top: handlePosition,\n };\n };\n\n adjustCustomScrollPosToContentPos = (scrollPosition: number) => {\n this.setState({\n scrollPos: scrollPosition,\n });\n };\n\n onScroll = (event: UIEvent) => {\n if (this.props.freezePosition) {\n return;\n }\n this.hideScrollThumb();\n this.adjustCustomScrollPosToContentPos(event.currentTarget.scrollTop);\n if (this.props.onScroll) {\n this.props.onScroll(event);\n }\n };\n\n getScrolledElement = () => this.innerContainerRef.current as HTMLElement;\n\n onMouseDown = (event: MouseEvent) => {\n if (!this.hasScroll || !this.isMouseEventOnScrollHandle(event)) {\n return;\n }\n\n this.startDragHandlePos = this.getScrollHandleStyle().top;\n this.startDragMousePos = event.pageY;\n this.setState({\n onDrag: true,\n });\n\n // @ts-expect-error problem typing event handlers\n document.addEventListener(\"mousemove\", this.onHandleDrag, {\n passive: false,\n });\n // @ts-expect-error problem typing event handlers\n document.addEventListener(\"mouseup\", this.onHandleDragEnd, {\n passive: false,\n });\n };\n\n onTouchStart = () => {\n this.setState({\n onDrag: true,\n });\n };\n\n onHandleDrag = (event: MouseEvent) => {\n event.preventDefault();\n const mouseDeltaY = event.pageY - this.startDragMousePos;\n const handleTopPosition = ensureWithinLimits(\n this.startDragHandlePos + mouseDeltaY,\n 0,\n this.visibleHeight - this.scrollHandleHeight,\n );\n const newScrollValue =\n this.getScrollValueFromHandlePosition(handleTopPosition);\n this.updateScrollPosition(newScrollValue);\n };\n\n onHandleDragEnd = (e: MouseEvent) => {\n this.setState({\n onDrag: false,\n });\n e.preventDefault();\n // @ts-expect-error problem typing event handlers\n document.removeEventListener(\"mousemove\", this.onHandleDrag);\n // @ts-expect-error problem typing event handlers\n document.removeEventListener(\"mouseup\", this.onHandleDragEnd);\n };\n\n getInnerContainerClasses = () => {\n if (this.state.scrollPos && this.props.addScrolledClass) {\n return \"rcs-inner-container rcs-content-scrolled\";\n }\n return \"rcs-inner-container\";\n };\n\n getScrollStyles = () => {\n const scrollSize = this.scrollbarYWidth || 20;\n const marginKey = this.props.rtl ? \"marginLeft\" : \"marginRight\";\n const innerContainerStyle: CSSProperties = {\n height:\n this.props.heightRelativeToParent || this.props.flex ? \"100%\" : \"\",\n overscrollBehavior: this.props.allowOuterScroll ? \"auto\" : \"none\",\n };\n innerContainerStyle[marginKey] = -1 * scrollSize;\n const contentWrapperStyle: CSSProperties = {\n height:\n this.props.heightRelativeToParent || this.props.flex ? \"100%\" : \"\",\n overflowY: this.props.freezePosition ? \"hidden\" : \"visible\",\n };\n contentWrapperStyle[marginKey] = this.scrollbarYWidth ? 0 : scrollSize;\n\n return {\n innerContainer: innerContainerStyle,\n contentWrapper: contentWrapperStyle,\n };\n };\n\n getOuterContainerStyle = () => ({\n height: this.props.heightRelativeToParent || this.props.flex ? \"100%\" : \"\",\n });\n\n getRootStyles = () => {\n const result: CSSProperties = {};\n\n if (this.props.heightRelativeToParent) {\n result.height = this.props.heightRelativeToParent;\n } else if (this.props.flex) {\n result.flex = this.props.flex;\n }\n\n return result;\n };\n\n enforceMinHandleHeight = (calculatedStyle: {\n height: number;\n top: number;\n }) => {\n const minHeight = this.props.minScrollHandleHeight || 38;\n if (calculatedStyle.height >= minHeight) {\n return calculatedStyle;\n }\n\n const diffHeightBetweenMinAndCalculated =\n minHeight - calculatedStyle.height;\n const scrollPositionToAvailableScrollRatio =\n this.state.scrollPos / (this.contentHeight - this.visibleHeight);\n const scrollHandlePosAdjustmentForMinHeight =\n diffHeightBetweenMinAndCalculated * scrollPositionToAvailableScrollRatio;\n const handlePosition =\n calculatedStyle.top - scrollHandlePosAdjustmentForMinHeight;\n\n return {\n height: minHeight,\n top: handlePosition,\n };\n };\n\n onMouseEnter = () => {\n this.setState({ visible: true });\n };\n\n onMouseLeave = () => {\n this.setState({ visible: false });\n };\n\n render() {\n const scrollStyles = this.getScrollStyles();\n const rootStyle = this.getRootStyles();\n const scrollHandleStyle = this.enforceMinHandleHeight(\n this.getScrollHandleStyle(),\n );\n const className = [\n this.props.className || \"\",\n \"rcs-custom-scroll\",\n this.state.onDrag ? \"rcs-scroll-handle-dragged\" : \"\",\n ].join(\" \");\n\n return (\n \n \n {this.hasScroll ? (\n
\n \n \n \n
\n \n
\n ) : null}\n \n \n {this.props.children}\n
\n
\n \n \n );\n }\n}\n"],"names":["f","require$$0","k","l","m","n","p","q","c","a","g","b","d","e","h","reactJsxRuntime_production_min","React","REACT_ELEMENT_TYPE","REACT_PORTAL_TYPE","REACT_FRAGMENT_TYPE","REACT_STRICT_MODE_TYPE","REACT_PROFILER_TYPE","REACT_PROVIDER_TYPE","REACT_CONTEXT_TYPE","REACT_FORWARD_REF_TYPE","REACT_SUSPENSE_TYPE","REACT_SUSPENSE_LIST_TYPE","REACT_MEMO_TYPE","REACT_LAZY_TYPE","REACT_OFFSCREEN_TYPE","MAYBE_ITERATOR_SYMBOL","FAUX_ITERATOR_SYMBOL","getIteratorFn","maybeIterable","maybeIterator","ReactSharedInternals","error","format","_len2","args","_key2","printWarning","level","ReactDebugCurrentFrame","stack","argsWithFormat","item","enableScopeAPI","enableCacheElement","enableTransitionTracing","enableLegacyHidden","enableDebugTracing","REACT_MODULE_REFERENCE","isValidElementType","type","getWrappedName","outerType","innerType","wrapperName","displayName","functionName","getContextName","getComponentNameFromType","context","provider","outerName","lazyComponent","payload","init","assign","disabledDepth","prevLog","prevInfo","prevWarn","prevError","prevGroup","prevGroupCollapsed","prevGroupEnd","disabledLog","disableLogs","props","reenableLogs","ReactCurrentDispatcher","prefix","describeBuiltInComponentFrame","name","source","ownerFn","x","match","reentry","componentFrameCache","PossiblyWeakMap","describeNativeComponentFrame","fn","construct","frame","control","previousPrepareStackTrace","previousDispatcher","Fake","sample","sampleLines","controlLines","s","_frame","syntheticFrame","describeFunctionComponentFrame","shouldConstruct","Component","prototype","describeUnknownElementTypeFrameInDEV","hasOwnProperty","loggedTypeFailures","setCurrentlyValidatingElement","element","owner","checkPropTypes","typeSpecs","values","location","componentName","has","typeSpecName","error$1","err","ex","isArrayImpl","isArray","typeName","value","hasToStringTag","willCoercionThrow","testStringCoercion","checkKeyStringCoercion","ReactCurrentOwner","RESERVED_PROPS","specialPropKeyWarningShown","specialPropRefWarningShown","didWarnAboutStringRefs","hasValidRef","config","getter","hasValidKey","warnIfStringRefCannotBeAutoConverted","self","defineKeyPropWarningGetter","warnAboutAccessingKey","defineRefPropWarningGetter","warnAboutAccessingRef","ReactElement","key","ref","jsxDEV","maybeKey","propName","defaultProps","ReactCurrentOwner$1","ReactDebugCurrentFrame$1","setCurrentlyValidatingElement$1","propTypesMisspellWarningShown","isValidElement","object","getDeclarationErrorAddendum","getSourceInfoErrorAddendum","fileName","lineNumber","ownerHasKeyUseWarning","getCurrentComponentErrorInfo","parentType","info","parentName","validateExplicitKey","currentComponentErrorInfo","childOwner","validateChildKeys","node","i","child","iteratorFn","iterator","step","validatePropTypes","propTypes","_name","validateFragmentProps","fragment","keys","jsxWithValidation","isStaticChildren","validType","sourceInfo","typeString","children","jsxWithValidationStatic","jsxWithValidationDynamic","jsx","jsxs","reactJsxRuntime_development","jsxRuntimeModule","require$$1","__assign","__spreadArray","to","from","pack","ar","memoize","cache","arg","reactPropsRegex","isPropValid","prop","MS","MOZ","WEBKIT","COMMENT","RULESET","DECLARATION","IMPORT","KEYFRAMES","LAYER","abs","hash","length","charat","trim","pattern","replace","replacement","indexof","search","position","index","substr","begin","end","strlen","sizeof","append","array","combine","callback","filter","line","column","character","characters","root","parent","siblings","copy","lift","char","prev","next","peek","caret","slice","token","alloc","dealloc","delimit","delimiter","whitespace","escaping","count","commenter","identifier","compile","parse","rule","rules","rulesets","pseudo","points","declarations","offset","atrule","property","previous","variable","scanning","ampersand","reference","comment","declaration","ruleset","post","size","j","y","z","_","serialize","output","stringify","middleware","collection","rulesheet","prefixer","unitlessKeys","v","S","w","E","N","P","t","o","r","C","I","A","O","D","R","T","V","F","M","$","B","L","G","Y","W","H","U","J","X","Z","K","Q","ee","te","ne","oe","re","se","ie","ae","ce","le","ue","pe","de","he","fe","me","ye","ve","ge","Se","we","be","Ee","Ne","u","Pe","_e","Ce","Ie","Ae","Oe","De","Re","Te","ke","je","xe","d.RULESET","d.prefixer","d.stringify","d.compile","d.serialize","d.middleware","d.rulesheet","Ve","Fe","Me","Be","Ge","Ye","We","qe","He","Ue","Je","Xe","Ze","Ke","nt","ot","rt","st","it","at","ct","lt","ut","vt","simpleDebounce","func","delay","timer","cancel","debounced","ensureWithinLimits","min","max","isEventPosOnLayout","event","layout","isEventPosOnDomNode","domNode","nodeClientRect","CustomScrollbar","styled","ScrollHandle","CustomScrollRoot","CustomScroll","__publicField","createRef","prevProps","innerContainer","contentWrapper","shouldHaveScroll","scrollValue","updatedScrollTop","newScrollHandleTop","newScrollValue","boundingRect","customScrollbarBoundingRect","horizontalClickArea","customScrollbarLayout","scrollHandle","clickEvent","currentTop","clickYRelativeToScrollbar","scrollHandleTop","handlePosition","scrollPosition","mouseDeltaY","handleTopPosition","scrollSize","marginKey","innerContainerStyle","contentWrapperStyle","result","calculatedStyle","minHeight","diffHeightBetweenMinAndCalculated","scrollPositionToAvailableScrollRatio","scrollHandlePosAdjustmentForMinHeight","prevState","prevContentHeight","prevVisibleHeight","reachedBottomOnPrevRender","isExternalRender","scrollStyles","rootStyle","scrollHandleStyle","className"],"mappings":";;;;;;;;6CASa,IAAIA,EAAEC,EAAiBC,EAAE,OAAO,IAAI,eAAe,EAAEC,EAAE,OAAO,IAAI,gBAAgB,EAAEC,EAAE,OAAO,UAAU,eAAeC,EAAEL,EAAE,mDAAmD,kBAAkBM,EAAE,CAAC,IAAI,GAAG,IAAI,GAAG,OAAO,GAAG,SAAS,EAAE,EAClP,SAASC,EAAEC,EAAEC,EAAEC,EAAE,CAAC,IAAIC,EAAEC,EAAE,GAAGC,EAAE,KAAKC,EAAE,KAAcJ,IAAT,SAAaG,EAAE,GAAGH,GAAYD,EAAE,MAAX,SAAiBI,EAAE,GAAGJ,EAAE,KAAcA,EAAE,MAAX,SAAiBK,EAAEL,EAAE,KAAK,IAAIE,KAAKF,EAAEL,EAAE,KAAKK,EAAEE,CAAC,GAAG,CAACL,EAAE,eAAeK,CAAC,IAAIC,EAAED,CAAC,EAAEF,EAAEE,CAAC,GAAG,GAAGH,GAAGA,EAAE,aAAa,IAAIG,KAAKF,EAAED,EAAE,aAAaC,EAAWG,EAAED,CAAC,IAAZ,SAAgBC,EAAED,CAAC,EAAEF,EAAEE,CAAC,GAAG,MAAM,CAAC,SAAST,EAAE,KAAKM,EAAE,IAAIK,EAAE,IAAIC,EAAE,MAAMF,EAAE,OAAOP,EAAE,OAAO,CAAC,CAAC,OAAAU,YAAiBZ,EAAE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AAA,KAAK,UACJD,OAAC,MAAI,CAAA,UAAU,kBACb,SAAAA,GAAA,IAAC6N,GAAA,CACC,cAAY,mBACZ,IAAK,KAAK,mBACV,UAAW,wBAAwB,KAAK,MAAM,IAAM,2BAA6B,EAAE,IAAI,KAAK,MAAM,QAAU,iBAAmB,EAAE,GAGjI,SAAA7N,GAAA,IAAC,MAAA,CACC,cAAY,uBACZ,IAAK,KAAK,gBACV,UAAU,2BACV,MAAO0Q,EAEP,gBAAC3C,GAAa,CAAA,UAAW,KAAK,MAAM,aAAe,GAAI,CAAA,CACzD,CAAA,EATI,aAWR,EACE,KACJ/N,GAAA,IAAC,MAAA,CACC,cAAY,kBACZ,IAAK,KAAK,kBACV,UAAW,KAAK,yBAAyB,EACzC,MAAOwQ,EAAa,eACpB,SAAU,KAAK,SAEf,SAAAxQ,GAAA,IAAC,MAAA,CACC,IAAK,KAAK,kBACV,MAAOwQ,EAAa,eAEnB,cAAK,MAAM,QAAA,CACd,CAAA,CACF,CAAA,CAAA,CACF,CAAA,CAAA,CAGN,CACF","x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14]} \ No newline at end of file diff --git a/dist/src/App.d.ts b/dist/src/App.d.ts new file mode 100644 index 0000000..eccda8f --- /dev/null +++ b/dist/src/App.d.ts @@ -0,0 +1 @@ +export declare const App: () => import("react/jsx-runtime").JSX.Element; diff --git a/dist/src/customScroll.d.ts b/dist/src/customScroll.d.ts new file mode 100644 index 0000000..ed897a1 --- /dev/null +++ b/dist/src/customScroll.d.ts @@ -0,0 +1,80 @@ +import { Component, CSSProperties, UIEvent, MouseEvent, PropsWithChildren } from "react"; +import { simpleDebounce } from "./utils.ts"; +interface CustomScrollProps extends PropsWithChildren { + allowOuterScroll?: boolean; + heightRelativeToParent?: string; + onScroll?: (event: UIEvent) => void; + addScrolledClass?: boolean; + freezePosition?: boolean; + handleClass?: string; + minScrollHandleHeight?: number; + flex?: string; + rtl?: boolean; + scrollTo?: number; + keepAtBottom?: boolean; + className?: string; +} +interface CustomScrollState { + scrollPos: number; + onDrag: boolean; + visible: boolean; +} +export declare class CustomScroll extends Component { + scrollbarYWidth: number; + hideScrollThumb: ReturnType; + contentHeight: number; + visibleHeight: number; + scrollHandleHeight: number; + scrollRatio: number; + hasScroll: boolean; + startDragHandlePos: number; + startDragMousePos: number; + constructor(props: CustomScrollProps); + componentDidMount(): void; + componentDidUpdate(prevProps: CustomScrollProps, prevState: CustomScrollState): void; + componentWillUnmount(): void; + customScrollRef: import("react").RefObject; + innerContainerRef: import("react").RefObject; + customScrollbarRef: import("react").RefObject; + scrollHandleRef: import("react").RefObject; + contentWrapperRef: import("react").RefObject; + adjustFreezePosition: (prevProps: CustomScrollProps) => void; + toggleScrollIfNeeded: () => void; + updateScrollPosition: (scrollValue: number) => void; + onClick: (event: MouseEvent) => void; + isMouseEventOnCustomScrollbar: (event: MouseEvent) => boolean; + isMouseEventOnScrollHandle: (event: MouseEvent) => boolean; + calculateNewScrollHandleTop: (clickEvent: MouseEvent) => number; + getScrollValueFromHandlePosition: (handlePosition: number) => number; + getScrollHandleStyle: () => { + height: number; + top: number; + }; + adjustCustomScrollPosToContentPos: (scrollPosition: number) => void; + onScroll: (event: UIEvent) => void; + getScrolledElement: () => HTMLElement; + onMouseDown: (event: MouseEvent) => void; + onTouchStart: () => void; + onHandleDrag: (event: MouseEvent) => void; + onHandleDragEnd: (e: MouseEvent) => void; + getInnerContainerClasses: () => "rcs-inner-container rcs-content-scrolled" | "rcs-inner-container"; + getScrollStyles: () => { + innerContainer: CSSProperties; + contentWrapper: CSSProperties; + }; + getOuterContainerStyle: () => { + height: string; + }; + getRootStyles: () => CSSProperties; + enforceMinHandleHeight: (calculatedStyle: { + height: number; + top: number; + }) => { + height: number; + top: number; + }; + onMouseEnter: () => void; + onMouseLeave: () => void; + render(): import("react/jsx-runtime").JSX.Element; +} +export {}; diff --git a/dist/src/example/demoComp.d.ts b/dist/src/example/demoComp.d.ts new file mode 100644 index 0000000..c0f49fd --- /dev/null +++ b/dist/src/example/demoComp.d.ts @@ -0,0 +1,6 @@ +interface DemoCompProps { + demoType: "compare-with-native" | "crazy-designer" | "flex" | "dynamic-content" | "allow-outer-scroll"; + descriptionSide: "left" | "right"; +} +export declare const DemoComp: ({ demoType, descriptionSide }: DemoCompProps) => import("react/jsx-runtime").JSX.Element; +export {}; diff --git a/dist/src/example/demoText.d.ts b/dist/src/example/demoText.d.ts new file mode 100644 index 0000000..9720122 --- /dev/null +++ b/dist/src/example/demoText.d.ts @@ -0,0 +1,4 @@ +export declare const demoText: { + shortText: string; + text: string; +}; diff --git a/dist/src/main.d.ts b/dist/src/main.d.ts new file mode 100644 index 0000000..e69de29 diff --git a/dist/src/utils.d.ts b/dist/src/utils.d.ts new file mode 100644 index 0000000..ab4cbe1 --- /dev/null +++ b/dist/src/utils.d.ts @@ -0,0 +1,15 @@ +import { MouseEvent } from "react"; +export declare const simpleDebounce: (func: () => void, delay: number) => { + (): void; + cancel: () => void; +}; +export declare const ensureWithinLimits: (value: number, min: number, max: number) => number; +export interface ElementLayout { + top: number; + right: number; + height: number; + left: number; + width?: number; +} +export declare const isEventPosOnLayout: (event: MouseEvent, layout: ElementLayout) => boolean; +export declare const isEventPosOnDomNode: (event: MouseEvent, domNode: HTMLElement) => boolean; diff --git a/dist/vite.svg b/dist/vite.svg new file mode 100644 index 0000000..e7b8dfb --- /dev/null +++ b/dist/vite.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/exampleDist/assets/giraffe-icon-4kF3UqUO.png b/exampleDist/assets/giraffe-icon-4kF3UqUO.png new file mode 100644 index 0000000000000000000000000000000000000000..a7216afc180b8d214dadc992911c732a79fc68d4 GIT binary patch literal 6633 zcmV|J?m9OrfaW_P)}ytLF|$&w|Ll3Yk}Et2ZWjTBoT729a-77^2?ty3om9j5{c z6tG;>e>6p6I{71QQPc{G2514JQf#Af>p$qGjwMvGm$q!Fl?am*(o$_CEu+J_Eb%_} zntpF)XSq8&$2aHB%)TEmJ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FMR z!o%u)npCd?r%Riu!9MlkephBMLfF3)wlsPL3FiP3D+^Pf-3+xDcuLxWFssNy-#GPv zy&oxU`4vFp4Rg?Q+T$fz1tJlY%aLE0AkCDAKayRgLj4$}I)GL86izGM-lFYWjd=D0 zsqCg~QX3yZ!r2V9nQ=NDQz?&stO=W5=P(k^W^CS;J1W18VUp5_$3K=m=O=1QRq{e4 zfA+&@2NKTMms+)m&#>iWx-JMOVo;52u-ELZ>)`|v&LCoO{x1B6VoBIHRks1zr5b(< zNICghunGfYv$E%f8AO6YxSe}4KaDr?&l*g^4tXtY;E)EcBHYI(Vy=@dP#SLa+QKhQ zWcx2`& zA1K?Zg((dl;gWpX#B)-0M7R`aw{vG|Tl5*U8s|}$p5sTtO?sh^B4~sQmRYqkbwgiE zZ?|kDoIB+4df;H2241_qu!MxGy@snBKQ5ag*OhK>i1Ilk9GX`D0}tj>tqJ}cFp2X{SqtU*P5Cqu&YEzHwE)7h*f0maU&5oG z$*v0`4RwMFwSuk@E{G;IU1Oo5Nv$iwnOVfQIsM?kXL9;tNFm{@!OU`y*R{wHYPevT zpn9r}L&DWuINoonNh9HcC!C=`T|`JY&lAqOTEyAvT!IHZtpNI18JF6X!OHgsZJK2=e%cZW}L5B%Dp! zAjp1PTdhw%xP&tw>SLsegmck9@qS77h@S}@bi$=wex4r*hd!JKgyUU5&RUT{N3Bmk z5^%x=)sNd}@_dnSNH|kk&Q1-SLc-Z8m|t in e?xC(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var he=(e,t,r)=>(kC(e,typeof t!="symbol"?t+"":t,r),r);(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))u(o);new MutationObserver(o=>{for(const s of o)if(s.type==="childList")for(const c of s.addedNodes)c.tagName==="LINK"&&c.rel==="modulepreload"&&u(c)}).observe(document,{childList:!0,subtree:!0});function r(o){const s={};return o.integrity&&(s.integrity=o.integrity),o.referrerPolicy&&(s.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?s.credentials="include":o.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function u(o){if(o.ep)return;o.ep=!0;const s=r(o);fetch(o.href,s)}})();var Du=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function EC(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var tv={exports:{}},Ds={},nv={exports:{}},me={};/** + * @license React + * react.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 Po=Symbol.for("react.element"),CC=Symbol.for("react.portal"),NC=Symbol.for("react.fragment"),PC=Symbol.for("react.strict_mode"),RC=Symbol.for("react.profiler"),jC=Symbol.for("react.provider"),IC=Symbol.for("react.context"),zC=Symbol.for("react.forward_ref"),TC=Symbol.for("react.suspense"),AC=Symbol.for("react.memo"),OC=Symbol.for("react.lazy"),Pm=Symbol.iterator;function LC(e){return e===null||typeof e!="object"?null:(e=Pm&&e[Pm]||e["@@iterator"],typeof e=="function"?e:null)}var rv={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},iv=Object.assign,uv={};function au(e,t,r){this.props=e,this.context=t,this.refs=uv,this.updater=r||rv}au.prototype.isReactComponent={};au.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};au.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function ov(){}ov.prototype=au.prototype;function nd(e,t,r){this.props=e,this.context=t,this.refs=uv,this.updater=r||rv}var rd=nd.prototype=new ov;rd.constructor=nd;iv(rd,au.prototype);rd.isPureReactComponent=!0;var Rm=Array.isArray,lv=Object.prototype.hasOwnProperty,id={current:null},sv={key:!0,ref:!0,__self:!0,__source:!0};function av(e,t,r){var u,o={},s=null,c=null;if(t!=null)for(u in t.ref!==void 0&&(c=t.ref),t.key!==void 0&&(s=""+t.key),t)lv.call(t,u)&&!sv.hasOwnProperty(u)&&(o[u]=t[u]);var p=arguments.length-2;if(p===1)o.children=r;else if(1>>1,ye=U[ge];if(0>>1;geo(G,re))Wo(H,G)?(U[ge]=H,U[W]=re,ge=W):(U[ge]=G,U[Ke]=re,ge=Ke);else if(Wo(H,re))U[ge]=H,U[W]=re,ge=W;else break e}}return J}function o(U,J){var re=U.sortIndex-J.sortIndex;return re!==0?re:U.id-J.id}if(typeof performance=="object"&&typeof performance.now=="function"){var s=performance;e.unstable_now=function(){return s.now()}}else{var c=Date,p=c.now();e.unstable_now=function(){return c.now()-p}}var m=[],_=[],N=1,P=null,E=3,T=!1,A=!1,D=!1,ue=typeof setTimeout=="function"?setTimeout:null,w=typeof clearTimeout=="function"?clearTimeout:null,y=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function x(U){for(var J=r(_);J!==null;){if(J.callback===null)u(_);else if(J.startTime<=U)u(_),J.sortIndex=J.expirationTime,t(m,J);else break;J=r(_)}}function j(U){if(D=!1,x(U),!A)if(r(m)!==null)A=!0,pn(F);else{var J=r(_);J!==null&&yt(j,J.startTime-U)}}function F(U,J){A=!1,D&&(D=!1,w(Y),Y=-1),T=!0;var re=E;try{for(x(J),P=r(m);P!==null&&(!(P.expirationTime>J)||U&&!Ye());){var ge=P.callback;if(typeof ge=="function"){P.callback=null,E=P.priorityLevel;var ye=ge(P.expirationTime<=J);J=e.unstable_now(),typeof ye=="function"?P.callback=ye:P===r(m)&&u(m),x(J)}else u(m);P=r(m)}if(P!==null)var Ee=!0;else{var Ke=r(_);Ke!==null&&yt(j,Ke.startTime-J),Ee=!1}return Ee}finally{P=null,E=re,T=!1}}var $=!1,O=null,Y=-1,_e=5,le=-1;function Ye(){return!(e.unstable_now()-le<_e)}function Mt(){if(O!==null){var U=e.unstable_now();le=U;var J=!0;try{J=O(!0,U)}finally{J?dn():($=!1,O=null)}}else $=!1}var dn;if(typeof y=="function")dn=function(){y(Mt)};else if(typeof MessageChannel<"u"){var Nn=new MessageChannel,Ve=Nn.port2;Nn.port1.onmessage=Mt,dn=function(){Ve.postMessage(null)}}else dn=function(){ue(Mt,0)};function pn(U){O=U,$||($=!0,dn())}function yt(U,J){Y=ue(function(){U(e.unstable_now())},J)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(U){U.callback=null},e.unstable_continueExecution=function(){A||T||(A=!0,pn(F))},e.unstable_forceFrameRate=function(U){0>U||125ge?(U.sortIndex=re,t(_,U),r(m)===null&&U===r(_)&&(D?(w(Y),Y=-1):D=!0,yt(j,re-ge))):(U.sortIndex=ye,t(m,U),A||T||(A=!0,pn(F))),U},e.unstable_shouldYield=Ye,e.unstable_wrapCallback=function(U){var J=E;return function(){var re=E;E=J;try{return U.apply(this,arguments)}finally{E=re}}}})(pv);dv.exports=pv;var qC=dv.exports;/** + * @license React + * react-dom.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 hv=rn,Qt=qC;function M(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),tf=Object.prototype.hasOwnProperty,YC=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,Im={},zm={};function KC(e){return tf.call(zm,e)?!0:tf.call(Im,e)?!1:YC.test(e)?zm[e]=!0:(Im[e]=!0,!1)}function GC(e,t,r,u){if(r!==null&&r.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return u?!1:r!==null?!r.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function XC(e,t,r,u){if(t===null||typeof t>"u"||GC(e,t,r,u))return!0;if(u)return!1;if(r!==null)switch(r.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Et(e,t,r,u,o,s,c){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=u,this.attributeNamespace=o,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=s,this.removeEmptyString=c}var ct={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ct[e]=new Et(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ct[t]=new Et(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ct[e]=new Et(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ct[e]=new Et(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){ct[e]=new Et(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ct[e]=new Et(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ct[e]=new Et(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ct[e]=new Et(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ct[e]=new Et(e,5,!1,e.toLowerCase(),null,!1,!1)});var od=/[\-:]([a-z])/g;function ld(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(od,ld);ct[t]=new Et(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(od,ld);ct[t]=new Et(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(od,ld);ct[t]=new Et(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ct[e]=new Et(e,1,!1,e.toLowerCase(),null,!1,!1)});ct.xlinkHref=new Et("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ct[e]=new Et(e,1,!1,e.toLowerCase(),null,!0,!0)});function sd(e,t,r,u){var o=ct.hasOwnProperty(t)?ct[t]:null;(o!==null?o.type!==0:u||!(2p||o[c]!==s[p]){var m=` +`+o[c].replace(" at new "," at ");return e.displayName&&m.includes("")&&(m=m.replace("",e.displayName)),m}while(1<=c&&0<=p);break}}}finally{Ec=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?Yu(e):""}function ZC(e){switch(e.tag){case 5:return Yu(e.type);case 16:return Yu("Lazy");case 13:return Yu("Suspense");case 19:return Yu("SuspenseList");case 0:case 2:case 15:return e=Cc(e.type,!1),e;case 11:return e=Cc(e.type.render,!1),e;case 1:return e=Cc(e.type,!0),e;default:return""}}function of(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Ti:return"Fragment";case zi:return"Portal";case nf:return"Profiler";case ad:return"StrictMode";case rf:return"Suspense";case uf:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case gv:return(e.displayName||"Context")+".Consumer";case vv:return(e._context.displayName||"Context")+".Provider";case cd:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case fd:return t=e.displayName||null,t!==null?t:of(e.type)||"Memo";case gr:t=e._payload,e=e._init;try{return of(e(t))}catch{}}return null}function JC(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return of(t);case 8:return t===ad?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function zr(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function _v(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function bC(e){var t=_v(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),u=""+e[t];if(!e.hasOwnProperty(t)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var o=r.get,s=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(c){u=""+c,s.call(this,c)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return u},setValue:function(c){u=""+c},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Rl(e){e._valueTracker||(e._valueTracker=bC(e))}function wv(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),u="";return e&&(u=_v(e)?e.checked?"true":"false":e.value),e=u,e!==r?(t.setValue(e),!0):!1}function ss(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function lf(e,t){var r=t.checked;return $e({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r??e._wrapperState.initialChecked})}function Am(e,t){var r=t.defaultValue==null?"":t.defaultValue,u=t.checked!=null?t.checked:t.defaultChecked;r=zr(t.value!=null?t.value:r),e._wrapperState={initialChecked:u,initialValue:r,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Sv(e,t){t=t.checked,t!=null&&sd(e,"checked",t,!1)}function sf(e,t){Sv(e,t);var r=zr(t.value),u=t.type;if(r!=null)u==="number"?(r===0&&e.value===""||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if(u==="submit"||u==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?af(e,t.type,r):t.hasOwnProperty("defaultValue")&&af(e,t.type,zr(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Om(e,t,r){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var u=t.type;if(!(u!=="submit"&&u!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,r||t===e.value||(e.value=t),e.defaultValue=t}r=e.name,r!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,r!==""&&(e.name=r)}function af(e,t,r){(t!=="number"||ss(e.ownerDocument)!==e)&&(r==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}var Ku=Array.isArray;function Vi(e,t,r,u){if(e=e.options,t){t={};for(var o=0;o"+t.valueOf().toString()+"",t=jl.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function ao(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&r.nodeType===3){r.nodeValue=t;return}}e.textContent=t}var Ju={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},e2=["Webkit","ms","Moz","O"];Object.keys(Ju).forEach(function(e){e2.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Ju[t]=Ju[e]})});function Cv(e,t,r){return t==null||typeof t=="boolean"||t===""?"":r||typeof t!="number"||t===0||Ju.hasOwnProperty(e)&&Ju[e]?(""+t).trim():t+"px"}function Nv(e,t){e=e.style;for(var r in t)if(t.hasOwnProperty(r)){var u=r.indexOf("--")===0,o=Cv(r,t[r],u);r==="float"&&(r="cssFloat"),u?e.setProperty(r,o):e[r]=o}}var t2=$e({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function df(e,t){if(t){if(t2[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(M(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(M(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(M(61))}if(t.style!=null&&typeof t.style!="object")throw Error(M(62))}}function pf(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var hf=null;function dd(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var mf=null,Qi=null,qi=null;function $m(e){if(e=Io(e)){if(typeof mf!="function")throw Error(M(280));var t=e.stateNode;t&&(t=Bs(t),mf(e.stateNode,e.type,t))}}function Pv(e){Qi?qi?qi.push(e):qi=[e]:Qi=e}function Rv(){if(Qi){var e=Qi,t=qi;if(qi=Qi=null,$m(e),t)for(e=0;e>>=0,e===0?32:31-(d2(e)/p2|0)|0}var Il=64,zl=4194304;function Gu(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function ds(e,t){var r=e.pendingLanes;if(r===0)return 0;var u=0,o=e.suspendedLanes,s=e.pingedLanes,c=r&268435455;if(c!==0){var p=c&~o;p!==0?u=Gu(p):(s&=c,s!==0&&(u=Gu(s)))}else c=r&~o,c!==0?u=Gu(c):s!==0&&(u=Gu(s));if(u===0)return 0;if(t!==0&&t!==u&&!(t&o)&&(o=u&-u,s=t&-t,o>=s||o===16&&(s&4194240)!==0))return t;if(u&4&&(u|=r&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=u;0r;r++)t.push(e);return t}function Ro(e,t,r){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-xn(t),e[t]=r}function g2(e,t){var r=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var u=e.eventTimes;for(e=e.expirationTimes;0=eo),qm=" ",Ym=!1;function Kv(e,t){switch(e){case"keyup":return Q2.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Gv(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Ai=!1;function Y2(e,t){switch(e){case"compositionend":return Gv(t);case"keypress":return t.which!==32?null:(Ym=!0,qm);case"textInput":return e=t.data,e===qm&&Ym?null:e;default:return null}}function K2(e,t){if(Ai)return e==="compositionend"||!wd&&Kv(e,t)?(e=qv(),Kl=gd=Sr=null,Ai=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:r,offset:t-e};e=u}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=Zm(r)}}function bv(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?bv(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function eg(){for(var e=window,t=ss();t instanceof e.HTMLIFrameElement;){try{var r=typeof t.contentWindow.location.href=="string"}catch{r=!1}if(r)e=t.contentWindow;else break;t=ss(e.document)}return t}function Sd(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function r3(e){var t=eg(),r=e.focusedElem,u=e.selectionRange;if(t!==r&&r&&r.ownerDocument&&bv(r.ownerDocument.documentElement,r)){if(u!==null&&Sd(r)){if(t=u.start,e=u.end,e===void 0&&(e=t),"selectionStart"in r)r.selectionStart=t,r.selectionEnd=Math.min(e,r.value.length);else if(e=(t=r.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=r.textContent.length,s=Math.min(u.start,o);u=u.end===void 0?s:Math.min(u.end,o),!e.extend&&s>u&&(o=u,u=s,s=o),o=Jm(r,s);var c=Jm(r,u);o&&c&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==c.node||e.focusOffset!==c.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),s>u?(e.addRange(t),e.extend(c.node,c.offset)):(t.setEnd(c.node,c.offset),e.addRange(t)))}}for(t=[],e=r;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof r.focus=="function"&&r.focus(),r=0;r=document.documentMode,Oi=null,Sf=null,no=null,xf=!1;function bm(e,t,r){var u=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;xf||Oi==null||Oi!==ss(u)||(u=Oi,"selectionStart"in u&&Sd(u)?u={start:u.selectionStart,end:u.selectionEnd}:(u=(u.ownerDocument&&u.ownerDocument.defaultView||window).getSelection(),u={anchorNode:u.anchorNode,anchorOffset:u.anchorOffset,focusNode:u.focusNode,focusOffset:u.focusOffset}),no&&vo(no,u)||(no=u,u=ms(Sf,"onSelect"),0$i||(e.current=Rf[$i],Rf[$i]=null,$i--)}function Ne(e,t){$i++,Rf[$i]=e.current,e.current=t}var Tr={},gt=Or(Tr),Lt=Or(!1),ri=Tr;function Ji(e,t){var r=e.type.contextTypes;if(!r)return Tr;var u=e.stateNode;if(u&&u.__reactInternalMemoizedUnmaskedChildContext===t)return u.__reactInternalMemoizedMaskedChildContext;var o={},s;for(s in r)o[s]=t[s];return u&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Dt(e){return e=e.childContextTypes,e!=null}function gs(){ze(Lt),ze(gt)}function o0(e,t,r){if(gt.current!==Tr)throw Error(M(168));Ne(gt,t),Ne(Lt,r)}function ag(e,t,r){var u=e.stateNode;if(t=t.childContextTypes,typeof u.getChildContext!="function")return r;u=u.getChildContext();for(var o in u)if(!(o in t))throw Error(M(108,JC(e)||"Unknown",o));return $e({},r,u)}function ys(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Tr,ri=gt.current,Ne(gt,e),Ne(Lt,Lt.current),!0}function l0(e,t,r){var u=e.stateNode;if(!u)throw Error(M(169));r?(e=ag(e,t,ri),u.__reactInternalMemoizedMergedChildContext=e,ze(Lt),ze(gt),Ne(gt,e)):ze(Lt),Ne(Lt,r)}var Zn=null,Hs=!1,Fc=!1;function cg(e){Zn===null?Zn=[e]:Zn.push(e)}function m3(e){Hs=!0,cg(e)}function Lr(){if(!Fc&&Zn!==null){Fc=!0;var e=0,t=ke;try{var r=Zn;for(ke=1;e>=c,o-=c,Jn=1<<32-xn(t)+o|r<Y?(_e=O,O=null):_e=O.sibling;var le=E(w,O,x[Y],j);if(le===null){O===null&&(O=_e);break}e&&O&&le.alternate===null&&t(w,O),y=s(le,y,Y),$===null?F=le:$.sibling=le,$=le,O=_e}if(Y===x.length)return r(w,O),Te&&Yr(w,Y),F;if(O===null){for(;YY?(_e=O,O=null):_e=O.sibling;var Ye=E(w,O,le.value,j);if(Ye===null){O===null&&(O=_e);break}e&&O&&Ye.alternate===null&&t(w,O),y=s(Ye,y,Y),$===null?F=Ye:$.sibling=Ye,$=Ye,O=_e}if(le.done)return r(w,O),Te&&Yr(w,Y),F;if(O===null){for(;!le.done;Y++,le=x.next())le=P(w,le.value,j),le!==null&&(y=s(le,y,Y),$===null?F=le:$.sibling=le,$=le);return Te&&Yr(w,Y),F}for(O=u(w,O);!le.done;Y++,le=x.next())le=T(O,w,Y,le.value,j),le!==null&&(e&&le.alternate!==null&&O.delete(le.key===null?Y:le.key),y=s(le,y,Y),$===null?F=le:$.sibling=le,$=le);return e&&O.forEach(function(Mt){return t(w,Mt)}),Te&&Yr(w,Y),F}function ue(w,y,x,j){if(typeof x=="object"&&x!==null&&x.type===Ti&&x.key===null&&(x=x.props.children),typeof x=="object"&&x!==null){switch(x.$$typeof){case Pl:e:{for(var F=x.key,$=y;$!==null;){if($.key===F){if(F=x.type,F===Ti){if($.tag===7){r(w,$.sibling),y=o($,x.props.children),y.return=w,w=y;break e}}else if($.elementType===F||typeof F=="object"&&F!==null&&F.$$typeof===gr&&h0(F)===$.type){r(w,$.sibling),y=o($,x.props),y.ref=Hu(w,$,x),y.return=w,w=y;break e}r(w,$);break}else t(w,$);$=$.sibling}x.type===Ti?(y=ei(x.props.children,w.mode,j,x.key),y.return=w,w=y):(j=ns(x.type,x.key,x.props,null,w.mode,j),j.ref=Hu(w,y,x),j.return=w,w=j)}return c(w);case zi:e:{for($=x.key;y!==null;){if(y.key===$)if(y.tag===4&&y.stateNode.containerInfo===x.containerInfo&&y.stateNode.implementation===x.implementation){r(w,y.sibling),y=o(y,x.children||[]),y.return=w,w=y;break e}else{r(w,y);break}else t(w,y);y=y.sibling}y=Yc(x,w.mode,j),y.return=w,w=y}return c(w);case gr:return $=x._init,ue(w,y,$(x._payload),j)}if(Ku(x))return A(w,y,x,j);if($u(x))return D(w,y,x,j);Ml(w,x)}return typeof x=="string"&&x!==""||typeof x=="number"?(x=""+x,y!==null&&y.tag===6?(r(w,y.sibling),y=o(y,x),y.return=w,w=y):(r(w,y),y=qc(x,w.mode,j),y.return=w,w=y),c(w)):r(w,y)}return ue}var eu=yg(!0),_g=yg(!1),zo={},Mn=Or(zo),wo=Or(zo),So=Or(zo);function Zr(e){if(e===zo)throw Error(M(174));return e}function Id(e,t){switch(Ne(So,t),Ne(wo,e),Ne(Mn,zo),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:ff(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=ff(t,e)}ze(Mn),Ne(Mn,t)}function tu(){ze(Mn),ze(wo),ze(So)}function wg(e){Zr(So.current);var t=Zr(Mn.current),r=ff(t,e.type);t!==r&&(Ne(wo,e),Ne(Mn,r))}function zd(e){wo.current===e&&(ze(Mn),ze(wo))}var Le=Or(0);function Es(e){for(var t=e;t!==null;){if(t.tag===13){var r=t.memoizedState;if(r!==null&&(r=r.dehydrated,r===null||r.data==="$?"||r.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Wc=[];function Td(){for(var e=0;er?r:4,e(!0);var u=Bc.transition;Bc.transition={};try{e(!1),t()}finally{ke=r,Bc.transition=u}}function Dg(){return cn().memoizedState}function _3(e,t,r){var u=jr(e);if(r={lane:u,action:r,hasEagerState:!1,eagerState:null,next:null},$g(e))Mg(t,r);else if(r=hg(e,t,r,u),r!==null){var o=xt();kn(r,e,u,o),Fg(r,t,u)}}function w3(e,t,r){var u=jr(e),o={lane:u,action:r,hasEagerState:!1,eagerState:null,next:null};if($g(e))Mg(t,o);else{var s=e.alternate;if(e.lanes===0&&(s===null||s.lanes===0)&&(s=t.lastRenderedReducer,s!==null))try{var c=t.lastRenderedState,p=s(c,r);if(o.hasEagerState=!0,o.eagerState=p,Cn(p,c)){var m=t.interleaved;m===null?(o.next=o,Rd(t)):(o.next=m.next,m.next=o),t.interleaved=o;return}}catch{}finally{}r=hg(e,t,o,u),r!==null&&(o=xt(),kn(r,e,u,o),Fg(r,t,u))}}function $g(e){var t=e.alternate;return e===De||t!==null&&t===De}function Mg(e,t){ro=Cs=!0;var r=e.pending;r===null?t.next=t:(t.next=r.next,r.next=t),e.pending=t}function Fg(e,t,r){if(r&4194240){var u=t.lanes;u&=e.pendingLanes,r|=u,t.lanes=r,hd(e,r)}}var Ns={readContext:an,useCallback:ht,useContext:ht,useEffect:ht,useImperativeHandle:ht,useInsertionEffect:ht,useLayoutEffect:ht,useMemo:ht,useReducer:ht,useRef:ht,useState:ht,useDebugValue:ht,useDeferredValue:ht,useTransition:ht,useMutableSource:ht,useSyncExternalStore:ht,useId:ht,unstable_isNewReconciler:!1},S3={readContext:an,useCallback:function(e,t){return On().memoizedState=[e,t===void 0?null:t],e},useContext:an,useEffect:v0,useImperativeHandle:function(e,t,r){return r=r!=null?r.concat([e]):null,Jl(4194308,4,zg.bind(null,t,e),r)},useLayoutEffect:function(e,t){return Jl(4194308,4,e,t)},useInsertionEffect:function(e,t){return Jl(4,2,e,t)},useMemo:function(e,t){var r=On();return t=t===void 0?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var u=On();return t=r!==void 0?r(t):t,u.memoizedState=u.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},u.queue=e,e=e.dispatch=_3.bind(null,De,e),[u.memoizedState,e]},useRef:function(e){var t=On();return e={current:e},t.memoizedState=e},useState:m0,useDebugValue:$d,useDeferredValue:function(e){return On().memoizedState=e},useTransition:function(){var e=m0(!1),t=e[0];return e=y3.bind(null,e[1]),On().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,r){var u=De,o=On();if(Te){if(r===void 0)throw Error(M(407));r=r()}else{if(r=t(),rt===null)throw Error(M(349));ui&30||kg(u,t,r)}o.memoizedState=r;var s={value:r,getSnapshot:t};return o.queue=s,v0(Cg.bind(null,u,s,e),[e]),u.flags|=2048,Eo(9,Eg.bind(null,u,s,r,t),void 0,null),r},useId:function(){var e=On(),t=rt.identifierPrefix;if(Te){var r=bn,u=Jn;r=(u&~(1<<32-xn(u)-1)).toString(32)+r,t=":"+t+"R"+r,r=xo++,0<\/script>",e=e.removeChild(e.firstChild)):typeof u.is=="string"?e=c.createElement(r,{is:u.is}):(e=c.createElement(r),r==="select"&&(c=e,u.multiple?c.multiple=!0:u.size&&(c.size=u.size))):e=c.createElementNS(e,r),e[Dn]=t,e[_o]=u,Kg(e,t,!1,!1),t.stateNode=e;e:{switch(c=pf(r,u),r){case"dialog":je("cancel",e),je("close",e),o=u;break;case"iframe":case"object":case"embed":je("load",e),o=u;break;case"video":case"audio":for(o=0;oru&&(t.flags|=128,u=!0,Uu(s,!1),t.lanes=4194304)}else{if(!u)if(e=Es(c),e!==null){if(t.flags|=128,u=!0,r=e.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),Uu(s,!0),s.tail===null&&s.tailMode==="hidden"&&!c.alternate&&!Te)return mt(t),null}else 2*Ue()-s.renderingStartTime>ru&&r!==1073741824&&(t.flags|=128,u=!0,Uu(s,!1),t.lanes=4194304);s.isBackwards?(c.sibling=t.child,t.child=c):(r=s.last,r!==null?r.sibling=c:t.child=c,s.last=c)}return s.tail!==null?(t=s.tail,s.rendering=t,s.tail=t.sibling,s.renderingStartTime=Ue(),t.sibling=null,r=Le.current,Ne(Le,u?r&1|2:r&1),t):(mt(t),null);case 22:case 23:return Ud(),u=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==u&&(t.flags|=8192),u&&t.mode&1?Ht&1073741824&&(mt(t),t.subtreeFlags&6&&(t.flags|=8192)):mt(t),null;case 24:return null;case 25:return null}throw Error(M(156,t.tag))}function j3(e,t){switch(kd(t),t.tag){case 1:return Dt(t.type)&&gs(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return tu(),ze(Lt),ze(gt),Td(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return zd(t),null;case 13:if(ze(Le),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(M(340));bi()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return ze(Le),null;case 4:return tu(),null;case 10:return Pd(t.type._context),null;case 22:case 23:return Ud(),null;case 24:return null;default:return null}}var Wl=!1,vt=!1,I3=typeof WeakSet=="function"?WeakSet:Set,q=null;function Bi(e,t){var r=e.ref;if(r!==null)if(typeof r=="function")try{r(null)}catch(u){We(e,t,u)}else r.current=null}function Wf(e,t,r){try{r()}catch(u){We(e,t,u)}}var C0=!1;function z3(e,t){if(kf=ps,e=eg(),Sd(e)){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{r=(r=e.ownerDocument)&&r.defaultView||window;var u=r.getSelection&&r.getSelection();if(u&&u.rangeCount!==0){r=u.anchorNode;var o=u.anchorOffset,s=u.focusNode;u=u.focusOffset;try{r.nodeType,s.nodeType}catch{r=null;break e}var c=0,p=-1,m=-1,_=0,N=0,P=e,E=null;t:for(;;){for(var T;P!==r||o!==0&&P.nodeType!==3||(p=c+o),P!==s||u!==0&&P.nodeType!==3||(m=c+u),P.nodeType===3&&(c+=P.nodeValue.length),(T=P.firstChild)!==null;)E=P,P=T;for(;;){if(P===e)break t;if(E===r&&++_===o&&(p=c),E===s&&++N===u&&(m=c),(T=P.nextSibling)!==null)break;P=E,E=P.parentNode}P=T}r=p===-1||m===-1?null:{start:p,end:m}}else r=null}r=r||{start:0,end:0}}else r=null;for(Ef={focusedElem:e,selectionRange:r},ps=!1,q=t;q!==null;)if(t=q,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,q=e;else for(;q!==null;){t=q;try{var A=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(A!==null){var D=A.memoizedProps,ue=A.memoizedState,w=t.stateNode,y=w.getSnapshotBeforeUpdate(t.elementType===t.type?D:_n(t.type,D),ue);w.__reactInternalSnapshotBeforeUpdate=y}break;case 3:var x=t.stateNode.containerInfo;x.nodeType===1?x.textContent="":x.nodeType===9&&x.documentElement&&x.removeChild(x.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(M(163))}}catch(j){We(t,t.return,j)}if(e=t.sibling,e!==null){e.return=t.return,q=e;break}q=t.return}return A=C0,C0=!1,A}function io(e,t,r){var u=t.updateQueue;if(u=u!==null?u.lastEffect:null,u!==null){var o=u=u.next;do{if((o.tag&e)===e){var s=o.destroy;o.destroy=void 0,s!==void 0&&Wf(t,r,s)}o=o.next}while(o!==u)}}function Qs(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var r=t=t.next;do{if((r.tag&e)===e){var u=r.create;r.destroy=u()}r=r.next}while(r!==t)}}function Bf(e){var t=e.ref;if(t!==null){var r=e.stateNode;switch(e.tag){case 5:e=r;break;default:e=r}typeof t=="function"?t(e):t.current=e}}function Zg(e){var t=e.alternate;t!==null&&(e.alternate=null,Zg(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Dn],delete t[_o],delete t[Pf],delete t[p3],delete t[h3])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Jg(e){return e.tag===5||e.tag===3||e.tag===4}function N0(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Jg(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Hf(e,t,r){var u=e.tag;if(u===5||u===6)e=e.stateNode,t?r.nodeType===8?r.parentNode.insertBefore(e,t):r.insertBefore(e,t):(r.nodeType===8?(t=r.parentNode,t.insertBefore(e,r)):(t=r,t.appendChild(e)),r=r._reactRootContainer,r!=null||t.onclick!==null||(t.onclick=vs));else if(u!==4&&(e=e.child,e!==null))for(Hf(e,t,r),e=e.sibling;e!==null;)Hf(e,t,r),e=e.sibling}function Uf(e,t,r){var u=e.tag;if(u===5||u===6)e=e.stateNode,t?r.insertBefore(e,t):r.appendChild(e);else if(u!==4&&(e=e.child,e!==null))for(Uf(e,t,r),e=e.sibling;e!==null;)Uf(e,t,r),e=e.sibling}var st=null,wn=!1;function mr(e,t,r){for(r=r.child;r!==null;)bg(e,t,r),r=r.sibling}function bg(e,t,r){if($n&&typeof $n.onCommitFiberUnmount=="function")try{$n.onCommitFiberUnmount($s,r)}catch{}switch(r.tag){case 5:vt||Bi(r,t);case 6:var u=st,o=wn;st=null,mr(e,t,r),st=u,wn=o,st!==null&&(wn?(e=st,r=r.stateNode,e.nodeType===8?e.parentNode.removeChild(r):e.removeChild(r)):st.removeChild(r.stateNode));break;case 18:st!==null&&(wn?(e=st,r=r.stateNode,e.nodeType===8?Mc(e.parentNode,r):e.nodeType===1&&Mc(e,r),ho(e)):Mc(st,r.stateNode));break;case 4:u=st,o=wn,st=r.stateNode.containerInfo,wn=!0,mr(e,t,r),st=u,wn=o;break;case 0:case 11:case 14:case 15:if(!vt&&(u=r.updateQueue,u!==null&&(u=u.lastEffect,u!==null))){o=u=u.next;do{var s=o,c=s.destroy;s=s.tag,c!==void 0&&(s&2||s&4)&&Wf(r,t,c),o=o.next}while(o!==u)}mr(e,t,r);break;case 1:if(!vt&&(Bi(r,t),u=r.stateNode,typeof u.componentWillUnmount=="function"))try{u.props=r.memoizedProps,u.state=r.memoizedState,u.componentWillUnmount()}catch(p){We(r,t,p)}mr(e,t,r);break;case 21:mr(e,t,r);break;case 22:r.mode&1?(vt=(u=vt)||r.memoizedState!==null,mr(e,t,r),vt=u):mr(e,t,r);break;default:mr(e,t,r)}}function P0(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var r=e.stateNode;r===null&&(r=e.stateNode=new I3),t.forEach(function(u){var o=W3.bind(null,e,u);r.has(u)||(r.add(u),u.then(o,o))})}}function yn(e,t){var r=t.deletions;if(r!==null)for(var u=0;uo&&(o=c),u&=~s}if(u=o,u=Ue()-u,u=(120>u?120:480>u?480:1080>u?1080:1920>u?1920:3e3>u?3e3:4320>u?4320:1960*A3(u/1960))-u,10e?16:e,xr===null)var u=!1;else{if(e=xr,xr=null,js=0,ve&6)throw Error(M(331));var o=ve;for(ve|=4,q=e.current;q!==null;){var s=q,c=s.child;if(q.flags&16){var p=s.deletions;if(p!==null){for(var m=0;mUe()-Bd?br(e,0):Wd|=r),$t(e,t)}function l1(e,t){t===0&&(e.mode&1?(t=zl,zl<<=1,!(zl&130023424)&&(zl=4194304)):t=1);var r=xt();e=rr(e,t),e!==null&&(Ro(e,t,r),$t(e,r))}function F3(e){var t=e.memoizedState,r=0;t!==null&&(r=t.retryLane),l1(e,r)}function W3(e,t){var r=0;switch(e.tag){case 13:var u=e.stateNode,o=e.memoizedState;o!==null&&(r=o.retryLane);break;case 19:u=e.stateNode;break;default:throw Error(M(314))}u!==null&&u.delete(t),l1(e,r)}var s1;s1=function(e,t,r){if(e!==null)if(e.memoizedProps!==t.pendingProps||Lt.current)At=!0;else{if(!(e.lanes&r)&&!(t.flags&128))return At=!1,P3(e,t,r);At=!!(e.flags&131072)}else At=!1,Te&&t.flags&1048576&&fg(t,ws,t.index);switch(t.lanes=0,t.tag){case 2:var u=t.type;bl(e,t),e=t.pendingProps;var o=Ji(t,gt.current);Ki(t,r),o=Od(null,t,u,e,o,r);var s=Ld();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Dt(u)?(s=!0,ys(t)):s=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,jd(t),o.updater=Us,t.stateNode=o,o._reactInternals=t,Af(t,u,e,r),t=Df(null,t,u,!0,s,r)):(t.tag=0,Te&&s&&xd(t),St(null,t,o,r),t=t.child),t;case 16:u=t.elementType;e:{switch(bl(e,t),e=t.pendingProps,o=u._init,u=o(u._payload),t.type=u,o=t.tag=H3(u),e=_n(u,e),o){case 0:t=Lf(null,t,u,e,r);break e;case 1:t=x0(null,t,u,e,r);break e;case 11:t=w0(null,t,u,e,r);break e;case 14:t=S0(null,t,u,_n(u.type,e),r);break e}throw Error(M(306,u,""))}return t;case 0:return u=t.type,o=t.pendingProps,o=t.elementType===u?o:_n(u,o),Lf(e,t,u,o,r);case 1:return u=t.type,o=t.pendingProps,o=t.elementType===u?o:_n(u,o),x0(e,t,u,o,r);case 3:e:{if(Qg(t),e===null)throw Error(M(387));u=t.pendingProps,s=t.memoizedState,o=s.element,mg(e,t),ks(t,u,null,r);var c=t.memoizedState;if(u=c.element,s.isDehydrated)if(s={element:u,isDehydrated:!1,cache:c.cache,pendingSuspenseBoundaries:c.pendingSuspenseBoundaries,transitions:c.transitions},t.updateQueue.baseState=s,t.memoizedState=s,t.flags&256){o=nu(Error(M(423)),t),t=k0(e,t,u,r,o);break e}else if(u!==o){o=nu(Error(M(424)),t),t=k0(e,t,u,r,o);break e}else for(Ut=Nr(t.stateNode.containerInfo.firstChild),Vt=t,Te=!0,Sn=null,r=_g(t,null,u,r),t.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling;else{if(bi(),u===o){t=ir(e,t,r);break e}St(e,t,u,r)}t=t.child}return t;case 5:return wg(t),e===null&&If(t),u=t.type,o=t.pendingProps,s=e!==null?e.memoizedProps:null,c=o.children,Cf(u,o)?c=null:s!==null&&Cf(u,s)&&(t.flags|=32),Vg(e,t),St(e,t,c,r),t.child;case 6:return e===null&&If(t),null;case 13:return qg(e,t,r);case 4:return Id(t,t.stateNode.containerInfo),u=t.pendingProps,e===null?t.child=eu(t,null,u,r):St(e,t,u,r),t.child;case 11:return u=t.type,o=t.pendingProps,o=t.elementType===u?o:_n(u,o),w0(e,t,u,o,r);case 7:return St(e,t,t.pendingProps,r),t.child;case 8:return St(e,t,t.pendingProps.children,r),t.child;case 12:return St(e,t,t.pendingProps.children,r),t.child;case 10:e:{if(u=t.type._context,o=t.pendingProps,s=t.memoizedProps,c=o.value,Ne(Ss,u._currentValue),u._currentValue=c,s!==null)if(Cn(s.value,c)){if(s.children===o.children&&!Lt.current){t=ir(e,t,r);break e}}else for(s=t.child,s!==null&&(s.return=t);s!==null;){var p=s.dependencies;if(p!==null){c=s.child;for(var m=p.firstContext;m!==null;){if(m.context===u){if(s.tag===1){m=er(-1,r&-r),m.tag=2;var _=s.updateQueue;if(_!==null){_=_.shared;var N=_.pending;N===null?m.next=m:(m.next=N.next,N.next=m),_.pending=m}}s.lanes|=r,m=s.alternate,m!==null&&(m.lanes|=r),zf(s.return,r,t),p.lanes|=r;break}m=m.next}}else if(s.tag===10)c=s.type===t.type?null:s.child;else if(s.tag===18){if(c=s.return,c===null)throw Error(M(341));c.lanes|=r,p=c.alternate,p!==null&&(p.lanes|=r),zf(c,r,t),c=s.sibling}else c=s.child;if(c!==null)c.return=s;else for(c=s;c!==null;){if(c===t){c=null;break}if(s=c.sibling,s!==null){s.return=c.return,c=s;break}c=c.return}s=c}St(e,t,o.children,r),t=t.child}return t;case 9:return o=t.type,u=t.pendingProps.children,Ki(t,r),o=an(o),u=u(o),t.flags|=1,St(e,t,u,r),t.child;case 14:return u=t.type,o=_n(u,t.pendingProps),o=_n(u.type,o),S0(e,t,u,o,r);case 15:return Hg(e,t,t.type,t.pendingProps,r);case 17:return u=t.type,o=t.pendingProps,o=t.elementType===u?o:_n(u,o),bl(e,t),t.tag=1,Dt(u)?(e=!0,ys(t)):e=!1,Ki(t,r),gg(t,u,o),Af(t,u,o,r),Df(null,t,u,!0,e,r);case 19:return Yg(e,t,r);case 22:return Ug(e,t,r)}throw Error(M(156,t.tag))};function a1(e,t){return Lv(e,t)}function B3(e,t,r,u){this.tag=e,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=u,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function ln(e,t,r,u){return new B3(e,t,r,u)}function Qd(e){return e=e.prototype,!(!e||!e.isReactComponent)}function H3(e){if(typeof e=="function")return Qd(e)?1:0;if(e!=null){if(e=e.$$typeof,e===cd)return 11;if(e===fd)return 14}return 2}function Ir(e,t){var r=e.alternate;return r===null?(r=ln(e.tag,t,e.key,e.mode),r.elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.type=e.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=e.flags&14680064,r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,t=e.dependencies,r.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function ns(e,t,r,u,o,s){var c=2;if(u=e,typeof e=="function")Qd(e)&&(c=1);else if(typeof e=="string")c=5;else e:switch(e){case Ti:return ei(r.children,o,s,t);case ad:c=8,o|=8;break;case nf:return e=ln(12,r,t,o|2),e.elementType=nf,e.lanes=s,e;case rf:return e=ln(13,r,t,o),e.elementType=rf,e.lanes=s,e;case uf:return e=ln(19,r,t,o),e.elementType=uf,e.lanes=s,e;case yv:return Ys(r,o,s,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case vv:c=10;break e;case gv:c=9;break e;case cd:c=11;break e;case fd:c=14;break e;case gr:c=16,u=null;break e}throw Error(M(130,e==null?e:typeof e,""))}return t=ln(c,r,t,o),t.elementType=e,t.type=u,t.lanes=s,t}function ei(e,t,r,u){return e=ln(7,e,u,t),e.lanes=r,e}function Ys(e,t,r,u){return e=ln(22,e,u,t),e.elementType=yv,e.lanes=r,e.stateNode={isHidden:!1},e}function qc(e,t,r){return e=ln(6,e,null,t),e.lanes=r,e}function Yc(e,t,r){return t=ln(4,e.children!==null?e.children:[],e.key,t),t.lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function U3(e,t,r,u,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Pc(0),this.expirationTimes=Pc(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Pc(0),this.identifierPrefix=u,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function qd(e,t,r,u,o,s,c,p,m){return e=new U3(e,t,r,p,m),t===1?(t=1,s===!0&&(t|=8)):t=0,s=ln(3,null,null,t),e.current=s,s.stateNode=e,s.memoizedState={element:u,isDehydrated:r,cache:null,transitions:null,pendingSuspenseBoundaries:null},jd(s),e}function V3(e,t,r){var u=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(p1)}catch(e){console.error(e)}}p1(),fv.exports=qt;var G3=fv.exports,L0=G3;ef.createRoot=L0.createRoot,ef.hydrateRoot=L0.hydrateRoot;var Ot=function(){return Ot=Object.assign||function(t){for(var r,u=1,o=arguments.length;u0?nt(du,--fn):0,uu--,Qe===10&&(uu=1,bs--),Qe}function En(){return Qe=fn<_1?nt(du,fn++):0,uu++,Qe===10&&(uu=1,bs++),Qe}function ti(){return nt(du,fn)}function is(){return fn}function ta(e,t){return iu(du,e,t)}function Gf(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 nN(e){return bs=uu=1,_1=Ln(du=e),fn=0,[]}function rN(e){return du="",e}function Kc(e){return g1(ta(fn-1,Xf(e===91?e+2:e===40?e+1:e)))}function iN(e){for(;(Qe=ti())&&Qe<33;)En();return Gf(e)>2||Gf(Qe)>3?"":" "}function uN(e,t){for(;--t&&En()&&!(Qe<48||Qe>102||Qe>57&&Qe<65||Qe>70&&Qe<97););return ta(e,is()+(t<6&&ti()==32&&En()==32))}function Xf(e){for(;En();)switch(Qe){case e:return fn;case 34:case 39:e!==34&&e!==39&&Xf(Qe);break;case 40:e===41&&Xf(e);break;case 92:En();break}return fn}function oN(e,t){for(;En()&&e+Qe!==57;)if(e+Qe===84&&ti()===47)break;return"/*"+ta(t,fn-1)+"*"+Zd(e===47?e:En())}function lN(e){for(;!Gf(ti());)En();return ta(e,fn)}function sN(e){return rN(us("",null,null,null,[""],e=nN(e),0,[0],e))}function us(e,t,r,u,o,s,c,p,m){for(var _=0,N=0,P=c,E=0,T=0,A=0,D=1,ue=1,w=1,y=0,x="",j=o,F=s,$=u,O=x;ue;)switch(A=y,y=En()){case 40:if(A!=108&&nt(O,P-1)==58){rs(O+=ce(Kc(y),"&","&\f"),"&\f",v1(_?p[_-1]:0))!=-1&&(w=-1);break}case 34:case 39:case 91:O+=Kc(y);break;case 9:case 10:case 13:case 32:O+=iN(A);break;case 92:O+=uN(is()-1,7);continue;case 47:switch(ti()){case 42:case 47:Zu(aN(oN(En(),is()),t,r,m),m);break;default:O+="/"}break;case 123*D:p[_++]=Ln(O)*w;case 125*D:case 59:case 0:switch(y){case 0:case 125:ue=0;case 59+N:w==-1&&(O=ce(O,/\f/g,"")),T>0&&Ln(O)-P&&Zu(T>32?M0(O+";",u,r,P-1,m):M0(ce(O," ","")+";",u,r,P-2,m),m);break;case 59:O+=";";default:if(Zu($=$0(O,t,r,_,N,o,p,x,j=[],F=[],P,s),s),y===123)if(N===0)us(O,t,$,$,j,s,P,p,F);else switch(E===99&&nt(O,3)===110?100:E){case 100:case 108:case 109:case 115:us(e,$,$,u&&Zu($0(e,$,$,0,0,o,p,x,o,j=[],P,F),F),o,F,P,p,u?j:F);break;default:us(O,$,$,$,[""],F,0,p,F)}}_=N=T=0,D=w=1,x=O="",P=c;break;case 58:P=1+Ln(O),T=A;default:if(D<1){if(y==123)--D;else if(y==125&&D++==0&&tN()==125)continue}switch(O+=Zd(y),y*D){case 38:w=N>0?1:(O+="\f",-1);break;case 44:p[_++]=(Ln(O)-1)*w,w=1;break;case 64:ti()===45&&(O+=Kc(En())),E=ti(),N=P=Ln(x=O+=lN(is())),y++;break;case 45:A===45&&Ln(O)==2&&(D=0)}}return s}function $0(e,t,r,u,o,s,c,p,m,_,N,P){for(var E=o-1,T=o===0?s:[""],A=y1(T),D=0,ue=0,w=0;D0?T[y]+" "+x:ce(x,/&\f/g,T[y])))&&(m[w++]=j);return ea(e,t,r,o===0?Js:p,m,_,N,P)}function aN(e,t,r,u){return ea(e,t,r,h1,Zd(eN()),iu(e,2,-2),0,u)}function M0(e,t,r,u,o){return ea(e,t,r,Xd,iu(e,0,u),iu(e,u+1,-1),u,o)}function w1(e,t,r){switch(J3(e,t)){case 5103:return Se+"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 Se+e+e;case 4789:return lo+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Se+e+lo+e+Ie+e+e;case 5936:switch(nt(e,t+11)){case 114:return Se+e+Ie+ce(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Se+e+Ie+ce(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Se+e+Ie+ce(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return Se+e+Ie+e+e;case 6165:return Se+e+Ie+"flex-"+e+e;case 5187:return Se+e+ce(e,/(\w+).+(:[^]+)/,Se+"box-$1$2"+Ie+"flex-$1$2")+e;case 5443:return Se+e+Ie+"flex-item-"+ce(e,/flex-|-self/g,"")+(Xn(e,/flex-|baseline/)?"":Ie+"grid-row-"+ce(e,/flex-|-self/g,""))+e;case 4675:return Se+e+Ie+"flex-line-pack"+ce(e,/align-content|flex-|-self/g,"")+e;case 5548:return Se+e+Ie+ce(e,"shrink","negative")+e;case 5292:return Se+e+Ie+ce(e,"basis","preferred-size")+e;case 6060:return Se+"box-"+ce(e,"-grow","")+Se+e+Ie+ce(e,"grow","positive")+e;case 4554:return Se+ce(e,/([^-])(transform)/g,"$1"+Se+"$2")+e;case 6187:return ce(ce(ce(e,/(zoom-|grab)/,Se+"$1"),/(image-set)/,Se+"$1"),e,"")+e;case 5495:case 3959:return ce(e,/(image-set\([^]*)/,Se+"$1$`$1");case 4968:return ce(ce(e,/(.+:)(flex-)?(.*)/,Se+"box-pack:$3"+Ie+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Se+e+e;case 4200:if(!Xn(e,/flex-|baseline/))return Ie+"grid-column-align"+iu(e,t)+e;break;case 2592:case 3360:return Ie+ce(e,"template-","")+e;case 4384:case 3616:return r&&r.some(function(u,o){return t=o,Xn(u.props,/grid-\w+-end/)})?~rs(e+(r=r[t].value),"span",0)?e:Ie+ce(e,"-start","")+e+Ie+"grid-row-span:"+(~rs(r,"span",0)?Xn(r,/\d+/):+Xn(r,/\d+/)-+Xn(e,/\d+/))+";":Ie+ce(e,"-start","")+e;case 4896:case 4128:return r&&r.some(function(u){return Xn(u.props,/grid-\w+-start/)})?e:Ie+ce(ce(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return ce(e,/(.+)-inline(.+)/,Se+"$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(Ln(e)-1-t>6)switch(nt(e,t+1)){case 109:if(nt(e,t+4)!==45)break;case 102:return ce(e,/(.+:)(.+)-([^]+)/,"$1"+Se+"$2-$3$1"+lo+(nt(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~rs(e,"stretch",0)?w1(ce(e,"stretch","fill-available"),t,r)+e:e}break;case 5152:case 5920:return ce(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(u,o,s,c,p,m,_){return Ie+o+":"+s+_+(c?Ie+o+"-span:"+(p?m:+m-+s)+_:"")+e});case 4949:if(nt(e,t+6)===121)return ce(e,":",":"+Se)+e;break;case 6444:switch(nt(e,nt(e,14)===45?18:11)){case 120:return ce(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+Se+(nt(e,14)===45?"inline-":"")+"box$3$1"+Se+"$2$3$1"+Ie+"$2box$3")+e;case 100:return ce(e,":",":"+Ie)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return ce(e,"scroll-","scroll-snap-")+e}return e}function As(e,t){for(var r="",u=0;u-1&&!e.return)switch(e.type){case Xd:e.return=w1(e.value,e.length,r);return;case m1:return As([vr(e,{value:ce(e.value,"@","@"+Se)})],u);case Js:if(e.length)return b3(r=e.props,function(o){switch(Xn(o,u=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":ji(vr(e,{props:[ce(o,/:(read-\w+)/,":"+lo+"$1")]})),ji(vr(e,{props:[o]})),Kf(e,{props:D0(r,u)});break;case"::placeholder":ji(vr(e,{props:[ce(o,/:(plac\w+)/,":"+Se+"input-$1")]})),ji(vr(e,{props:[ce(o,/:(plac\w+)/,":"+lo+"$1")]})),ji(vr(e,{props:[ce(o,/:(plac\w+)/,Ie+"input-$1")]})),ji(vr(e,{props:[o]})),Kf(e,{props:D0(r,u)});break}return""})}}var hN={animationIterationCount: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,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Bt={},ou=typeof process<"u"&&Bt!==void 0&&(Bt.REACT_APP_SC_ATTR||Bt.SC_ATTR)||"data-styled",S1="active",x1="data-styled-version",na="6.1.8",Jd=`/*!sc*/ +`,bd=typeof window<"u"&&"HTMLElement"in window,mN=!!(typeof SC_DISABLE_SPEEDY=="boolean"?SC_DISABLE_SPEEDY:typeof process<"u"&&Bt!==void 0&&Bt.REACT_APP_SC_DISABLE_SPEEDY!==void 0&&Bt.REACT_APP_SC_DISABLE_SPEEDY!==""?Bt.REACT_APP_SC_DISABLE_SPEEDY!=="false"&&Bt.REACT_APP_SC_DISABLE_SPEEDY:typeof process<"u"&&Bt!==void 0&&Bt.SC_DISABLE_SPEEDY!==void 0&&Bt.SC_DISABLE_SPEEDY!==""&&Bt.SC_DISABLE_SPEEDY!=="false"&&Bt.SC_DISABLE_SPEEDY),ra=Object.freeze([]),lu=Object.freeze({});function vN(e,t,r){return r===void 0&&(r=lu),e.theme!==r.theme&&e.theme||t||r.theme}var k1=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","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","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"]),gN=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,yN=/(^-|-$)/g;function F0(e){return e.replace(gN,"-").replace(yN,"")}var _N=/(a)(d)/gi,Ul=52,W0=function(e){return String.fromCharCode(e+(e>25?39:97))};function Zf(e){var t,r="";for(t=Math.abs(e);t>Ul;t=t/Ul|0)r=W0(t%Ul)+r;return(W0(t%Ul)+r).replace(_N,"$1-$2")}var Gc,E1=5381,Ui=function(e,t){for(var r=t.length;r;)e=33*e^t.charCodeAt(--r);return e},C1=function(e){return Ui(E1,e)};function wN(e){return Zf(C1(e)>>>0)}function SN(e){return e.displayName||e.name||"Component"}function Xc(e){return typeof e=="string"&&!0}var N1=typeof Symbol=="function"&&Symbol.for,P1=N1?Symbol.for("react.memo"):60115,xN=N1?Symbol.for("react.forward_ref"):60112,kN={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},EN={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},R1={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},CN=((Gc={})[xN]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Gc[P1]=R1,Gc);function B0(e){return("type"in(t=e)&&t.type.$$typeof)===P1?R1:"$$typeof"in e?CN[e.$$typeof]:kN;var t}var NN=Object.defineProperty,PN=Object.getOwnPropertyNames,H0=Object.getOwnPropertySymbols,RN=Object.getOwnPropertyDescriptor,jN=Object.getPrototypeOf,U0=Object.prototype;function j1(e,t,r){if(typeof t!="string"){if(U0){var u=jN(t);u&&u!==U0&&j1(e,u,r)}var o=PN(t);H0&&(o=o.concat(H0(t)));for(var s=B0(e),c=B0(t),p=0;p0?" Args: ".concat(t.join(", ")):""))}var IN=function(){function e(t){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=t}return e.prototype.indexOfGroup=function(t){for(var r=0,u=0;u=this.groupSizes.length){for(var u=this.groupSizes,o=u.length,s=o;t>=s;)if((s<<=1)<0)throw To(16,"".concat(t));this.groupSizes=new Uint32Array(s),this.groupSizes.set(u),this.length=s;for(var c=o;c=this.length||this.groupSizes[t]===0)return r;for(var u=this.groupSizes[t],o=this.indexOfGroup(t),s=o+u,c=o;c=0){var u=document.createTextNode(r);return this.element.insertBefore(u,this.nodes[t]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(t){this.element.removeChild(this.nodes[t]),this.length--},e.prototype.getRule=function(t){return t0&&(ue+="".concat(w,","))}),m+="".concat(A).concat(D,'{content:"').concat(ue,'"}').concat(Jd)},N=0;N0?".".concat(t):E},N=m.slice();N.push(function(E){E.type===Js&&E.value.includes("&")&&(E.props[0]=E.props[0].replace(BN,r).replace(u,_))}),c.prefix&&N.push(pN),N.push(cN);var P=function(E,T,A,D){T===void 0&&(T=""),A===void 0&&(A=""),D===void 0&&(D="&"),t=D,r=T,u=new RegExp("\\".concat(r,"\\b"),"g");var ue=E.replace(HN,""),w=sN(A||T?"".concat(A," ").concat(T," { ").concat(ue," }"):ue);c.namespace&&(w=T1(w,c.namespace));var y=[];return As(w,fN(N.concat(dN(function(x){return y.push(x)})))),y};return P.hash=m.length?m.reduce(function(E,T){return T.name||To(15),Ui(E,T.name)},E1).toString():"",P}var VN=new z1,bf=UN(),A1=Xi.createContext({shouldForwardProp:void 0,styleSheet:VN,stylis:bf});A1.Consumer;Xi.createContext(void 0);function q0(){return rn.useContext(A1)}var QN=function(){function e(t,r){var u=this;this.inject=function(o,s){s===void 0&&(s=bf);var c=u.name+s.hash;o.hasNameForId(u.id,c)||o.insertRules(u.id,c,s(u.rules,c,"@keyframes"))},this.name=t,this.id="sc-keyframes-".concat(t),this.rules=r,tp(this,function(){throw To(12,String(u.name))})}return e.prototype.getName=function(t){return t===void 0&&(t=bf),this.name+t.hash},e}(),qN=function(e){return e>="A"&&e<="Z"};function Y0(e){for(var t="",r=0;r>>0);if(!r.hasNameForId(this.componentId,c)){var p=u(s,".".concat(c),void 0,this.componentId);r.insertRules(this.componentId,c,p)}o=Jr(o,c),this.staticRulesId=c}else{for(var m=Ui(this.baseHash,u.hash),_="",N=0;N>>0);r.hasNameForId(this.componentId,T)||r.insertRules(this.componentId,T,u(_,".".concat(T),void 0,this.componentId)),o=Jr(o,T)}}return o},e}(),D1=Xi.createContext(void 0);D1.Consumer;var Zc={};function XN(e,t,r){var u=ep(e),o=e,s=!Xc(e),c=t.attrs,p=c===void 0?ra:c,m=t.componentId,_=m===void 0?function(j,F){var $=typeof j!="string"?"sc":F0(j);Zc[$]=(Zc[$]||0)+1;var O="".concat($,"-").concat(wN(na+$+Zc[$]));return F?"".concat(F,"-").concat(O):O}(t.displayName,t.parentComponentId):m,N=t.displayName,P=N===void 0?function(j){return Xc(j)?"styled.".concat(j):"Styled(".concat(SN(j),")")}(e):N,E=t.displayName&&t.componentId?"".concat(F0(t.displayName),"-").concat(t.componentId):t.componentId||_,T=u&&o.attrs?o.attrs.concat(p).filter(Boolean):p,A=t.shouldForwardProp;if(u&&o.shouldForwardProp){var D=o.shouldForwardProp;if(t.shouldForwardProp){var ue=t.shouldForwardProp;A=function(j,F){return D(j,F)&&ue(j,F)}}else A=D}var w=new GN(r,E,u?o.componentStyle:void 0);function y(j,F){return function($,O,Y){var _e=$.attrs,le=$.componentStyle,Ye=$.defaultProps,Mt=$.foldedComponentIds,dn=$.styledComponentId,Nn=$.target,Ve=Xi.useContext(D1),pn=q0(),yt=$.shouldForwardProp||pn.shouldForwardProp,U=vN(O,Ve,Ye)||lu,J=function(G,W,H){for(var Z,ie=Ot(Ot({},W),{className:void 0,theme:H}),Be=0;Be{let r;function u(){clearTimeout(r)}function o(){u(),r=setTimeout(()=>{e()},t)}return o.cancel=u,o},X0=(e,t,r)=>(t=!t&&t!==0?e:t,r=!r&&r!==0?e:r,t>r?(console.error("min limit is greater than max limit"),e):er?r:e),M1=(e,t)=>e.clientX>t.left&&e.clientXt.top&&e.clientY{const r=t.getBoundingClientRect();return M1(e,r)},F1=ia.div` + position: absolute; + height: 100%; + width: 6px; + right: 3px; + opacity: 0; + z-index: 1; + transition: opacity 0.4s ease-out; + padding: 6px 0; + box-sizing: border-box; + will-change: opacity; + pointer-events: none; + + &.rcs-custom-scrollbar-rtl { + right: auto; + left: 3px; + } + + &.scroll-visible { + opacity: 1; + transition-duration: 0.2s; + } +`,e4=ia.div` + height: calc(100% - 12px); + margin-top: 6px; + background-color: rgba(78, 183, 245, 0.7); + border-radius: 3px; +`,t4=ia.div` + min-height: 0; + min-width: 0; + + & .rcs-outer-container { + overflow: hidden; + + & .rcs-positioning { + position: relative; + } + } + + & .rcs-inner-container { + overflow-x: hidden; + overflow-y: scroll; + -webkit-overflow-scrolling: touch; + + &:after { + content: ""; + position: absolute; + top: 0; + right: 0; + left: 0; + height: 0; + background-image: linear-gradient( + to bottom, + rgba(0, 0, 0, 0.2) 0%, + rgba(0, 0, 0, 0.05) 60%, + rgba(0, 0, 0, 0) 100% + ); + pointer-events: none; + transition: height 0.1s ease-in; + will-change: height; + } + + &.rcs-content-scrolled:after { + height: 5px; + transition: height 0.15s ease-out; + } + } + + &.rcs-scroll-handle-dragged .rcs-inner-container { + user-select: none; + } + + &.rcs-scroll-handle-dragged ${F1} { + opacity: 1; + } + + & .rcs-custom-scroll-handle { + position: absolute; + width: 100%; + top: 0; + } +`;class Ii extends rn.Component{constructor(r){super(r);he(this,"scrollbarYWidth");he(this,"hideScrollThumb");he(this,"contentHeight",0);he(this,"visibleHeight",0);he(this,"scrollHandleHeight",0);he(this,"scrollRatio",1);he(this,"hasScroll",!1);he(this,"startDragHandlePos",0);he(this,"startDragMousePos",0);he(this,"customScrollRef",rn.createRef());he(this,"innerContainerRef",rn.createRef());he(this,"customScrollbarRef",rn.createRef());he(this,"scrollHandleRef",rn.createRef());he(this,"contentWrapperRef",rn.createRef());he(this,"adjustFreezePosition",r=>{if(!this.contentWrapperRef.current)return;const u=this.getScrolledElement(),o=this.contentWrapperRef.current;this.props.freezePosition&&(o.scrollTop=this.state.scrollPos),r.freezePosition&&(u.scrollTop=this.state.scrollPos)});he(this,"toggleScrollIfNeeded",()=>{const r=this.contentHeight-this.visibleHeight>1;this.hasScroll!==r&&(this.hasScroll=r,this.forceUpdate())});he(this,"updateScrollPosition",r=>{const u=this.getScrolledElement(),o=X0(r,0,this.contentHeight-this.visibleHeight);u.scrollTop=o,this.setState({scrollPos:o})});he(this,"onClick",r=>{if(!this.hasScroll||!this.isMouseEventOnCustomScrollbar(r)||this.isMouseEventOnScrollHandle(r))return;const u=this.calculateNewScrollHandleTop(r),o=this.getScrollValueFromHandlePosition(u);this.updateScrollPosition(o)});he(this,"isMouseEventOnCustomScrollbar",r=>{if(!this.customScrollbarRef.current)return!1;const o=this.customScrollRef.current.getBoundingClientRect(),s=this.customScrollbarRef.current.getBoundingClientRect(),c=this.props.rtl?{left:o.left,right:s.right}:{left:s.left,width:o.right},p={right:o.right,top:o.top,height:o.height,...c};return M1(r,p)});he(this,"isMouseEventOnScrollHandle",r=>{if(!this.scrollHandleRef.current)return!1;const u=this.scrollHandleRef.current;return bN(r,u)});he(this,"calculateNewScrollHandleTop",r=>{const s=this.customScrollRef.current.getBoundingClientRect().top+window.pageYOffset,c=r.pageY-s,p=this.getScrollHandleStyle().top;let m;return c>p+this.scrollHandleHeight?m=p+Math.min(this.scrollHandleHeight,this.visibleHeight-this.scrollHandleHeight):m=p-Math.max(this.scrollHandleHeight,0),m});he(this,"getScrollValueFromHandlePosition",r=>r/this.scrollRatio);he(this,"getScrollHandleStyle",()=>{const r=this.state.scrollPos*this.scrollRatio;return this.scrollHandleHeight=this.visibleHeight*this.scrollRatio,{height:this.scrollHandleHeight,top:r}});he(this,"adjustCustomScrollPosToContentPos",r=>{this.setState({scrollPos:r})});he(this,"onScroll",r=>{this.props.freezePosition||(this.hideScrollThumb(),this.adjustCustomScrollPosToContentPos(r.currentTarget.scrollTop),this.props.onScroll&&this.props.onScroll(r))});he(this,"getScrolledElement",()=>this.innerContainerRef.current);he(this,"onMouseDown",r=>{!this.hasScroll||!this.isMouseEventOnScrollHandle(r)||(this.startDragHandlePos=this.getScrollHandleStyle().top,this.startDragMousePos=r.pageY,this.setState({onDrag:!0}),document.addEventListener("mousemove",this.onHandleDrag,{passive:!1}),document.addEventListener("mouseup",this.onHandleDragEnd,{passive:!1}))});he(this,"onTouchStart",()=>{this.setState({onDrag:!0})});he(this,"onHandleDrag",r=>{r.preventDefault();const u=r.pageY-this.startDragMousePos,o=X0(this.startDragHandlePos+u,0,this.visibleHeight-this.scrollHandleHeight),s=this.getScrollValueFromHandlePosition(o);this.updateScrollPosition(s)});he(this,"onHandleDragEnd",r=>{this.setState({onDrag:!1}),r.preventDefault(),document.removeEventListener("mousemove",this.onHandleDrag),document.removeEventListener("mouseup",this.onHandleDragEnd)});he(this,"getInnerContainerClasses",()=>this.state.scrollPos&&this.props.addScrolledClass?"rcs-inner-container rcs-content-scrolled":"rcs-inner-container");he(this,"getScrollStyles",()=>{const r=this.scrollbarYWidth||20,u=this.props.rtl?"marginLeft":"marginRight",o={height:this.props.heightRelativeToParent||this.props.flex?"100%":"",overscrollBehavior:this.props.allowOuterScroll?"auto":"none"};o[u]=-1*r;const s={height:this.props.heightRelativeToParent||this.props.flex?"100%":"",overflowY:this.props.freezePosition?"hidden":"visible"};return s[u]=this.scrollbarYWidth?0:r,{innerContainer:o,contentWrapper:s}});he(this,"getOuterContainerStyle",()=>({height:this.props.heightRelativeToParent||this.props.flex?"100%":""}));he(this,"getRootStyles",()=>{const r={};return this.props.heightRelativeToParent?r.height=this.props.heightRelativeToParent:this.props.flex&&(r.flex=this.props.flex),r});he(this,"enforceMinHandleHeight",r=>{const u=this.props.minScrollHandleHeight||38;if(r.height>=u)return r;const o=u-r.height,s=this.state.scrollPos/(this.contentHeight-this.visibleHeight),c=o*s,p=r.top-c;return{height:u,top:p}});he(this,"onMouseEnter",()=>{this.setState({visible:!0})});he(this,"onMouseLeave",()=>{this.setState({visible:!1})});this.scrollbarYWidth=0,this.state={scrollPos:0,onDrag:!1,visible:!1},this.hideScrollThumb=JN(()=>{this.setState({onDrag:!1})},500)}componentDidMount(){typeof this.props.scrollTo<"u"?this.updateScrollPosition(this.props.scrollTo):this.forceUpdate()}componentDidUpdate(r,u){const o=this.contentHeight,s=this.visibleHeight,c=this.getScrolledElement(),p=u.scrollPos>=o-s;this.contentHeight=c.scrollHeight,this.scrollbarYWidth=c.offsetWidth-c.clientWidth,this.visibleHeight=c.clientHeight,this.scrollRatio=this.contentHeight?this.visibleHeight/this.contentHeight:1,this.toggleScrollIfNeeded();const m=this.state===u;(this.props.freezePosition||r.freezePosition)&&this.adjustFreezePosition(r),typeof this.props.scrollTo<"u"&&this.props.scrollTo!==r.scrollTo?this.updateScrollPosition(this.props.scrollTo):this.props.keepAtBottom&&m&&p&&this.updateScrollPosition(this.contentHeight-this.visibleHeight)}componentWillUnmount(){this.hideScrollThumb.cancel(),document.removeEventListener("mousemove",this.onHandleDrag),document.removeEventListener("mouseup",this.onHandleDragEnd)}render(){const r=this.getScrollStyles(),u=this.getRootStyles(),o=this.enforceMinHandleHeight(this.getScrollHandleStyle()),s=[this.props.className||"","rcs-custom-scroll",this.state.onDrag?"rcs-scroll-handle-dragged":""].join(" ");return B.jsx(t4,{className:s,style:u,ref:this.customScrollRef,children:B.jsxs("div",{"data-testid":"outer-container",className:"rcs-outer-container",style:this.getOuterContainerStyle(),onMouseDown:this.onMouseDown,onTouchStart:this.onTouchStart,onClick:this.onClick,onMouseEnter:this.onMouseEnter,onMouseLeave:this.onMouseLeave,children:[this.hasScroll?B.jsx("div",{className:"rcs-positioning",children:B.jsx(F1,{"data-testid":"custom-scrollbar",ref:this.customScrollbarRef,className:`rcs-custom-scrollbar ${this.props.rtl?"rcs-custom-scrollbar-rtl":""} ${this.state.visible?"scroll-visible":""}`,children:B.jsx("div",{"data-testid":"custom-scroll-handle",ref:this.scrollHandleRef,className:"rcs-custom-scroll-handle",style:o,children:B.jsx(e4,{className:this.props.handleClass||""})})},"scrollbar")}):null,B.jsx("div",{"data-testid":"inner-container",ref:this.innerContainerRef,className:this.getInnerContainerClasses(),style:r.innerContainer,onScroll:this.onScroll,children:B.jsx("div",{ref:this.contentWrapperRef,style:r.contentWrapper,children:this.props.children})})]})})}}const Qu={shortText:"Cras elementum lacus eu dictum vestibulum. Donec eros dui, cursus ut finibus vel, interdum et sem. Sed sed diam dui. Suspendisse at eros non felis faucibus consectetur. Nullam non eleifend sapien. In porttitor est in arcu auctor interdum. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Pellentesque eu sem euismod, dignissim orci sit amet, facilisis leo. Nulla at tempus sapien. Nunc pharetra eros at ex aliquam rutrum. Nunc quis iaculis nulla. Ut semper nisi in felis aliquam, vitae tincidunt erat tristique. Sed lobortis vulputate enim nec feugiat. Suspendisse maximus purus vitae elementum ullamcorper. Praesent fermentum, odio interdum gravida tempus, orci diam volutpat nisl, in sodales erat felis eget lorem. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Aenean nec egestas lorem. In hac habitasse platea dictumst. Donec laoreet felis id enim tempus, id finibus mauris faucibus. Maecenas sed risus sed quam finibus sollicitudin. Donec dictum id elit in faucibus. Sed pretium cursus tempus. Duis pulvinar, felis sit amet aliquam placerat, dolor risus finibus erat, et convallis velit lacus eget lorem. Etiam bibendum ex ac finibus tincidunt. Fusce elementum semper nunc sodales egestas. Maecenas eu facilisis metus. Suspendisse at eleifend lorem, feugiat tempor ligula. Vivamus dictum metus tortor, et dictum nibh sodales eu. Nulla ut iaculis tellus, eu convallis nulla. Proin mollis dui nec quam accumsan, sed pharetra velit elementum. Suspendisse vitae purus sollicitudin, posuere justo in, mattis nisl. Cras elementum lacus eu dictum vestibulum. Donec eros dui, cursus ut finibus vel, interdum et sem. Sed sed diam dui. Suspendisse at eros non felis faucibus consectetur. Nullam non eleifend sapien. In porttitor est in arcu auctor interdum. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Pellentesque eu sem euismod, dignissim orci sit amet, facilisis leo. Nulla at tempus sapien. Nunc pharetra eros at ex aliquam rutrum. Nunc quis iaculis nulla. Ut semper nisi in felis aliquam, vitae tincidunt erat tristique. Sed lobortis vulputate enim nec feugiat. Suspendisse maximus purus vitae elementum ullamcorper. Praesent fermentum, odio interdum gravida tempus, orci diam volutpat nisl, in sodales erat felis eget lorem. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Aenean nec egestas lorem. In hac habitasse platea dictumst. Donec laoreet felis id enim tempus, id finibus mauris faucibus. Maecenas sed risus sed quam finibus sollicitudin. Donec dictum id elit in faucibus. Sed pretium cursus tempus. Duis pulvinar, felis sit amet aliquam placerat, dolor risus finibus erat, et convallis velit lacus eget lorem. Etiam bibendum ex ac finibus tincidunt. Fusce elementum semper nunc sodales egestas. Maecenas eu facilisis metus. Suspendisse at eleifend lorem, feugiat tempor ligula. Vivamus dictum metus tortor, et dictum nibh sodales eu. Nulla ut iaculis tellus, eu convallis nulla. Proin mollis dui nec quam accumsan, sed pharetra velit elementum. Suspendisse vitae purus sollicitudin, posuere justo in, mattis nisl. Cras elementum lacus eu dictum vestibulum. ",text:"Cras elementum lacus eu dictum vestibulum. Donec eros dui, cursus ut finibus vel, interdum et sem. Sed sed diam dui. Suspendisse at eros non felis faucibus consectetur. Nullam non eleifend sapien. In porttitor est in arcu auctor interdum. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Pellentesque eu sem euismod, dignissim orci sit amet, facilisis leo. Nulla at tempus sapien. Nunc pharetra eros at ex aliquam rutrum. Nunc quis iaculis nulla. Ut semper nisi in felis aliquam, vitae tincidunt erat tristique. Sed lobortis vulputate enim nec feugiat. Suspendisse maximus purus vitae elementum ullamcorper. Praesent fermentum, odio interdum gravida tempus, orci diam volutpat nisl, in sodales erat felis eget lorem. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Aenean nec egestas lorem. In hac habitasse platea dictumst. Donec laoreet felis id enim tempus, id finibus mauris faucibus. Maecenas sed risus sed quam finibus sollicitudin. Donec dictum id elit in faucibus. Sed pretium cursus tempus. Duis pulvinar, felis sit amet aliquam placerat, dolor risus finibus erat, et convallis velit lacus eget lorem. Etiam bibendum ex ac finibus tincidunt. Fusce elementum semper nunc sodales egestas. Maecenas eu facilisis metus. Suspendisse at eleifend lorem, feugiat tempor ligula. Vivamus dictum metus tortor, et dictum nibh sodales eu. Nulla ut iaculis tellus, eu convallis nulla. Proin mollis dui nec quam accumsan, sed pharetra velit elementum. Suspendisse vitae purus sollicitudin, posuere justo in, mattis nisl. Cras elementum lacus eu dictum vestibulum. Donec eros dui, cursus ut finibus vel, interdum et sem. Sed sed diam dui. Suspendisse at eros non felis faucibus consectetur. Nullam non eleifend sapien. In porttitor est in arcu auctor interdum. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Pellentesque eu sem euismod, dignissim orci sit amet, facilisis leo. Nulla at tempus sapien. Nunc pharetra eros at ex aliquam rutrum. Nunc quis iaculis nulla. Ut semper nisi in felis aliquam, vitae tincidunt erat tristique. Sed lobortis vulputate enim nec feugiat. Suspendisse maximus purus vitae elementum ullamcorper. Praesent fermentum, odio interdum gravida tempus, orci diam volutpat nisl, in sodales erat felis eget lorem. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Aenean nec egestas lorem. In hac habitasse platea dictumst. Donec laoreet felis id enim tempus, id finibus mauris faucibus. Maecenas sed risus sed quam finibus sollicitudin. Donec dictum id elit in faucibus. Sed pretium cursus tempus. Duis pulvinar, felis sit amet aliquam placerat, dolor risus finibus erat, et convallis velit lacus eget lorem. Etiam bibendum ex ac finibus tincidunt. Fusce elementum semper nunc sodales egestas. Maecenas eu facilisis metus. Suspendisse at eleifend lorem, feugiat tempor ligula. Vivamus dictum metus tortor, et dictum nibh sodales eu. Nulla ut iaculis tellus, eu convallis nulla. Proin mollis dui nec quam accumsan, sed pharetra velit elementum. Suspendisse vitae purus sollicitudin, posuere justo in, mattis nisl. Cras elementum lacus eu dictum vestibulum. Donec eros dui, cursus ut finibus vel, interdum et sem. Sed sed diam dui. Suspendisse at eros non felis faucibus consectetur. Nullam non eleifend sapien. In porttitor est in arcu auctor interdum. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Pellentesque eu sem euismod, dignissim orci sit amet, facilisis leo. Nulla at tempus sapien. Nunc pharetra eros at ex aliquam rutrum. Nunc quis iaculis nulla. Ut semper nisi in felis aliquam, vitae tincidunt erat tristique. Sed lobortis vulputate enim nec feugiat. Suspendisse maximus purus vitae elementum ullamcorper. Praesent fermentum, odio interdum gravida tempus, orci diam volutpat nisl, in sodales erat felis eget lorem. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Aenean nec egestas lorem. In hac habitasse platea dictumst. Donec laoreet felis id eni."};var Ls={exports:{}};/** + * @license + * Lodash + * Copyright OpenJS Foundation and other contributors + * Released under MIT license + * Based on Underscore.js 1.8.3 + * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors + */Ls.exports;(function(e,t){(function(){function r(k,R,f){switch(f.length){case 0:return k.call(R);case 1:return k.call(R,f[0]);case 2:return k.call(R,f[0],f[1]);case 3:return k.call(R,f[0],f[1],f[2])}return k.apply(R,f)}function u(k,R,f,Q){for(var te=-1,K=k==null?0:k.length;++te-1}function _(k,R,f){for(var Q=-1,te=k==null?0:k.length;++Q-1;);return f}function J(k,R){for(var f=k.length;f--&&x(R,k[f],0)>-1;);return f}function re(k,R){for(var f=k.length,Q=0;f--;)k[f]===R&&++Q;return Q}function ge(k){return"\\"+s_[k]}function ye(k,R){return k==null?v:k[R]}function Ee(k){return t_.test(k)}function Ke(k){return n_.test(k)}function G(k){for(var R,f=[];!(R=k.next()).done;)f.push(R.value);return f}function W(k){var R=-1,f=Array(k.size);return k.forEach(function(Q,te){f[++R]=[te,Q]}),f}function H(k,R){return function(f){return k(R(f))}}function Z(k,R){for(var f=-1,Q=k.length,te=0,K=[];++f>>1,ry=[["ary",Fn],["bind",Gt],["bindKey",Dr],["curry",Pn],["curryRight",di],["flip",la],["partial",Rn],["partialRight",pi],["rearg",pu]],hi="[object Arguments]",$o="[object Array]",iy="[object AsyncFunction]",hu="[object Boolean]",mu="[object Date]",uy="[object DOMException]",Mo="[object Error]",Fo="[object Function]",up="[object GeneratorFunction]",hn="[object Map]",vu="[object Number]",oy="[object Null]",Wn="[object Object]",op="[object Promise]",ly="[object Proxy]",gu="[object RegExp]",mn="[object Set]",yu="[object String]",Wo="[object Symbol]",sy="[object Undefined]",_u="[object WeakMap]",ay="[object WeakSet]",wu="[object ArrayBuffer]",mi="[object DataView]",sa="[object Float32Array]",aa="[object Float64Array]",ca="[object Int8Array]",fa="[object Int16Array]",da="[object Int32Array]",pa="[object Uint8Array]",ha="[object Uint8ClampedArray]",ma="[object Uint16Array]",va="[object Uint32Array]",cy=/\b__p \+= '';/g,fy=/\b(__p \+=) '' \+/g,dy=/(__e\(.*?\)|\b__t\)) \+\n'';/g,lp=/&(?:amp|lt|gt|quot|#39);/g,sp=/[&<>"']/g,py=RegExp(lp.source),hy=RegExp(sp.source),my=/<%-([\s\S]+?)%>/g,vy=/<%([\s\S]+?)%>/g,ap=/<%=([\s\S]+?)%>/g,gy=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,yy=/^\w*$/,_y=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ga=/[\\^$.*+?()[\]{}|]/g,wy=RegExp(ga.source),ya=/^\s+/,Sy=/\s/,xy=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ky=/\{\n\/\* \[wrapped with (.+)\] \*/,Ey=/,? & /,Cy=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Ny=/[()=,{}\[\]\/\s]/,Py=/\\(\\)?/g,Ry=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,cp=/\w*$/,jy=/^[-+]0x[0-9a-f]+$/i,Iy=/^0b[01]+$/i,zy=/^\[object .+?Constructor\]$/,Ty=/^0o[0-7]+$/i,Ay=/^(?:0|[1-9]\d*)$/,Oy=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Bo=/($^)/,Ly=/['\n\r\u2028\u2029\\]/g,Ho="\\ud800-\\udfff",Dy="\\u0300-\\u036f",$y="\\ufe20-\\ufe2f",My="\\u20d0-\\u20ff",fp=Dy+$y+My,dp="\\u2700-\\u27bf",pp="a-z\\xdf-\\xf6\\xf8-\\xff",Fy="\\xac\\xb1\\xd7\\xf7",Wy="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",By="\\u2000-\\u206f",Hy=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",hp="A-Z\\xc0-\\xd6\\xd8-\\xde",mp="\\ufe0e\\ufe0f",vp=Fy+Wy+By+Hy,_a="['’]",Uy="["+Ho+"]",gp="["+vp+"]",Uo="["+fp+"]",yp="\\d+",Vy="["+dp+"]",_p="["+pp+"]",wp="[^"+Ho+vp+yp+dp+pp+hp+"]",wa="\\ud83c[\\udffb-\\udfff]",Qy="(?:"+Uo+"|"+wa+")",Sp="[^"+Ho+"]",Sa="(?:\\ud83c[\\udde6-\\uddff]){2}",xa="[\\ud800-\\udbff][\\udc00-\\udfff]",vi="["+hp+"]",xp="\\u200d",kp="(?:"+_p+"|"+wp+")",qy="(?:"+vi+"|"+wp+")",Ep="(?:"+_a+"(?:d|ll|m|re|s|t|ve))?",Cp="(?:"+_a+"(?:D|LL|M|RE|S|T|VE))?",Np=Qy+"?",Pp="["+mp+"]?",Yy="(?:"+xp+"(?:"+[Sp,Sa,xa].join("|")+")"+Pp+Np+")*",Ky="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Gy="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Rp=Pp+Np+Yy,Xy="(?:"+[Vy,Sa,xa].join("|")+")"+Rp,Zy="(?:"+[Sp+Uo+"?",Uo,Sa,xa,Uy].join("|")+")",Jy=RegExp(_a,"g"),by=RegExp(Uo,"g"),ka=RegExp(wa+"(?="+wa+")|"+Zy+Rp,"g"),e_=RegExp([vi+"?"+_p+"+"+Ep+"(?="+[gp,vi,"$"].join("|")+")",qy+"+"+Cp+"(?="+[gp,vi+kp,"$"].join("|")+")",vi+"?"+kp+"+"+Ep,vi+"+"+Cp,Gy,Ky,yp,Xy].join("|"),"g"),t_=RegExp("["+xp+Ho+fp+mp+"]"),n_=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,r_=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],i_=-1,Pe={};Pe[sa]=Pe[aa]=Pe[ca]=Pe[fa]=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:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},o_={"&":"&","<":"<",">":">",'"':""","'":"'"},l_={"&":"&","<":"<",">":">",""":'"',"'":"'"},s_={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},a_=parseFloat,c_=parseInt,jp=typeof Du=="object"&&Du&&Du.Object===Object&&Du,f_=typeof self=="object"&&self&&self.Object===Object&&self,ot=jp||f_||Function("return this")(),Ea=t&&!t.nodeType&&t,Mr=Ea&&!0&&e&&!e.nodeType&&e,Ip=Mr&&Mr.exports===Ea,Ca=Ip&&jp.process,Xt=function(){try{var k=Mr&&Mr.require&&Mr.require("util").types;return k||Ca&&Ca.binding&&Ca.binding("util")}catch{}}(),zp=Xt&&Xt.isArrayBuffer,Tp=Xt&&Xt.isDate,Ap=Xt&&Xt.isMap,Op=Xt&&Xt.isRegExp,Lp=Xt&&Xt.isSet,Dp=Xt&&Xt.isTypedArray,d_=O("length"),p_=Y(u_),h_=Y(o_),m_=Y(l_),v_=function k(R){function f(n){if(Me(n)&&!oe(n)&&!(n instanceof K)){if(n instanceof te)return n;if(xe.call(n,"__wrapped__"))return Ih(n)}return new te(n)}function Q(){}function te(n,i){this.__wrapped__=n,this.__actions__=[],this.__chain__=!!i,this.__index__=0,this.__values__=v}function K(n){this.__wrapped__=n,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=jn,this.__views__=[]}function Nt(){var n=new K(this.__wrapped__);return n.__actions__=Pt(this.__actions__),n.__dir__=this.__dir__,n.__filtered__=this.__filtered__,n.__iteratees__=Pt(this.__iteratees__),n.__takeCount__=this.__takeCount__,n.__views__=Pt(this.__views__),n}function Na(){if(this.__filtered__){var n=new K(this);n.__dir__=-1,n.__filtered__=!0}else n=this.clone(),n.__dir__*=-1;return n}function g_(){var n=this.__wrapped__.value(),i=this.__dir__,l=oe(n),a=i<0,d=l?n.length:0,h=Nw(0,d,this.__views__),g=h.start,S=h.end,C=S-g,z=a?S:g-1,I=this.__iteratees__,L=I.length,V=0,X=ft(C,this.__takeCount__);if(!l||!a&&d==C&&X==C)return rh(n,this.__actions__);var b=[];e:for(;C--&&V-1}function P_(n,i){var l=this.__data__,a=Vo(l,n);return a<0?(++this.size,l.push([n,i])):l[a][1]=i,this}function Hn(n){var i=-1,l=n==null?0:n.length;for(this.clear();++i=i?n:i)),n}function Zt(n,i,l,a,d,h){var g,S=i&or,C=i&np,z=i&ci;if(l&&(g=d?l(n,a,d,h):l(n)),g!==v)return g;if(!Oe(n))return n;var I=oe(n);if(I){if(g=Rw(n),!S)return Pt(n,g)}else{var L=dt(n),V=L==Fo||L==up;if(pr(n))return uh(n,S);if(L==Wn||L==hi||V&&!d){if(g=C||V?{}:kh(n),!S)return C?yw(n,U_(g,n)):gw(n,Fp(g,n))}else{if(!Ce[L])return d?n:{};g=jw(n,L,S)}}h||(h=new vn);var X=h.get(n);if(X)return X;h.set(n,g),wm(n)?n.forEach(function(ee){g.add(Zt(ee,i,l,ee,n,h))}):_m(n)&&n.forEach(function(ee,de){g.set(de,Zt(ee,i,l,de,n,h))});var b=z?C?Ya:qa:C?jt:et,se=I?v:b(n);return o(se||n,function(ee,de){se&&(de=ee,ee=n[de]),Su(g,de,Zt(ee,i,l,de,n,h))}),g}function V_(n){var i=et(n);return function(l){return Wp(l,n,i)}}function Wp(n,i,l){var a=l.length;if(n==null)return!a;for(n=Re(n);a--;){var d=l[a],h=i[d],g=n[d];if(g===v&&!(d in n)||!h(g))return!1}return!0}function Bp(n,i,l){if(typeof n!="function")throw new tn(Kt);return Ou(function(){n.apply(v,l)},i)}function xu(n,i,l,a){var d=-1,h=m,g=!0,S=n.length,C=[],z=i.length;if(!S)return C;l&&(i=N(i,Ve(l))),a?(h=_,g=!1):i.length>=ua&&(h=yt,g=!1,i=new Wr(i));e:for(;++dd?0:d+l),a=a===v||a>d?d:ae(a),a<0&&(a+=d),a=l>a?0:Kh(a);l0&&l(S)?i>1?lt(S,i-1,l,a,d):P(d,S):a||(d[d.length]=S)}return d}function In(n,i){return n&&hc(n,i,et)}function ja(n,i){return n&&fm(n,i,et)}function qo(n,i){return p(i,function(l){return Yn(n[l])})}function Hr(n,i){i=ar(i,n);for(var l=0,a=i.length;n!=null&&li}function Y_(n,i){return n!=null&&xe.call(n,i)}function K_(n,i){return n!=null&&i in Re(n)}function G_(n,i,l){return n>=ft(i,l)&&n=120&&I.length>=120)?new Wr(g&&I):v}I=n[0];var L=-1,V=S[0];e:for(;++L-1;)S!==n&&yl.call(S,C,1),yl.call(n,C,1);return n}function bp(n,i){for(var l=n?i.length:0,a=l-1;l--;){var d=i[l];if(l==a||d!==h){var h=d;qn(d)?yl.call(n,d,1):Fa(n,d)}}return n}function Da(n,i){return n+Sl(sm()*(i-n+1))}function sw(n,i,l,a){for(var d=-1,h=Xe(wl((i-n)/(l||1)),0),g=Ge(h);h--;)g[a?h:++d]=n,n+=l;return g}function $a(n,i){var l="";if(!n||i<1||i>lr)return l;do i%2&&(l+=n),i=Sl(i/2),i&&(n+=n);while(i);return l}function fe(n,i){return gc(Nh(n,i,It),n+"")}function aw(n){return Mp(Si(n))}function cw(n,i){var l=Si(n);return rl(l,Br(i,0,l.length))}function Cu(n,i,l,a){if(!Oe(n))return n;i=ar(i,n);for(var d=-1,h=i.length,g=h-1,S=n;S!=null&&++dd?0:d+i),l=l>d?d:l,l<0&&(l+=d),d=i>l?0:l-i>>>0,i>>>=0;for(var h=Ge(d);++a>>1,g=n[h];g!==null&&!Wt(g)&&(l?g<=i:g=ua){var z=i?null:rE(n);if(z)return ie(z);g=!1,d=yt,C=new Wr}else C=i?[]:S;e:for(;++a=a?n:Jt(n,i,l)}function uh(n,i){if(i)return n.slice();var l=n.length,a=rm?rm(l):new n.constructor(l);return n.copy(a),a}function Ua(n){var i=new n.constructor(n.byteLength);return new vl(i).set(new vl(n)),i}function pw(n,i){return new n.constructor(i?Ua(n.buffer):n.buffer,n.byteOffset,n.byteLength)}function hw(n){var i=new n.constructor(n.source,cp.exec(n));return i.lastIndex=n.lastIndex,i}function mw(n){return Au?Re(Au.call(n)):{}}function oh(n,i){return new n.constructor(i?Ua(n.buffer):n.buffer,n.byteOffset,n.length)}function lh(n,i){if(n!==i){var l=n!==v,a=n===null,d=n===n,h=Wt(n),g=i!==v,S=i===null,C=i===i,z=Wt(i);if(!S&&!z&&!h&&n>i||h&&g&&C&&!S&&!z||a&&g&&C||!l&&C||!d)return 1;if(!a&&!h&&!z&&n=S?C:C*(l[a]=="desc"?-1:1)}return n.index-i.index}function sh(n,i,l,a){for(var d=-1,h=n.length,g=l.length,S=-1,C=i.length,z=Xe(h-g,0),I=Ge(C+z),L=!a;++S1?l[d-1]:v,g=d>2?l[2]:v;for(h=n.length>3&&typeof h=="function"?(d--,h):v,g&&wt(l[0],l[1],g)&&(h=d<3?v:h,d=1),i=Re(i);++a-1?d[h?i[g]:g]:v}}function hh(n){return Qn(function(i){var l=i.length,a=l,d=te.prototype.thru;for(n&&i.reverse();a--;){var h=i[a];if(typeof h!="function")throw new tn(Kt);if(d&&!g&&tl(h)=="wrapper")var g=new te([],!0)}for(a=g?a:l;++a1&&pe.reverse(),L&&CS))return!1;var z=h.get(n),I=h.get(i);if(z&&I)return z==i&&I==n;var L=-1,V=!0,X=l&Lo?new Wr:v;for(h.set(n,i),h.set(i,n);++L1?"& ":"")+i[a],i=i.join(l>2?", ":" "),n.replace(xy,`{ +/* [wrapped with `+i+`] */ +`)}function zw(n){return oe(n)||qr(n)||!!(om&&n&&n[om])}function qn(n,i){var l=typeof n;return i=i??lr,!!i&&(l=="number"||l!="symbol"&&Ay.test(n))&&n>-1&&n%1==0&&n0){if(++i>=X1)return arguments[0]}else i=0;return n.apply(v,arguments)}}function rl(n,i){var l=-1,a=n.length,d=a-1;for(i=i===v?a:i;++l=this.__values__.length;return{done:n,value:n?v:this.__values__[this.__index__++]}}function RS(){return this}function jS(n){for(var i,l=this;l instanceof Q;){var a=Ih(l);a.__index__=0,a.__values__=v,i?d.__wrapped__=a:i=a;var d=a;l=l.__wrapped__}return d.__wrapped__=n,i}function IS(){var n=this.__wrapped__;if(n instanceof K){var i=n;return this.__actions__.length&&(i=new K(this)),i=i.reverse(),i.__actions__.push({func:il,args:[Ja],thisArg:v}),new te(i,this.__chain__)}return this.thru(Ja)}function zS(){return rh(this.__wrapped__,this.__actions__)}function TS(n,i,l){var a=oe(n)?c:Q_;return l&&wt(n,i,l)&&(i=v),a(n,ne(i,3))}function AS(n,i){return(oe(n)?p:Hp)(n,ne(i,3))}function OS(n,i){return lt(ul(n,i),1)}function LS(n,i){return lt(ul(n,i),$r)}function DS(n,i,l){return l=l===v?1:ae(l),lt(ul(n,i),l)}function Mh(n,i){return(oe(n)?o:dr)(n,ne(i,3))}function Fh(n,i){return(oe(n)?s:cm)(n,ne(i,3))}function $S(n,i,l,a){n=Rt(n)?n:Si(n),l=l&&!a?ae(l):0;var d=n.length;return l<0&&(l=Xe(d+l,0)),al(n)?l<=d&&n.indexOf(i,l)>-1:!!d&&x(n,i,l)>-1}function ul(n,i){return(oe(n)?N:Yp)(n,ne(i,3))}function MS(n,i,l,a){return n==null?[]:(oe(i)||(i=i==null?[]:[i]),l=a?v:l,oe(l)||(l=l==null?[]:[l]),Zp(n,i,l))}function FS(n,i,l){var a=oe(n)?E:_e,d=arguments.length<3;return a(n,ne(i,4),l,d,dr)}function WS(n,i,l){var a=oe(n)?T:_e,d=arguments.length<3;return a(n,ne(i,4),l,d,cm)}function BS(n,i){return(oe(n)?p:Hp)(n,ll(ne(i,3)))}function HS(n){return(oe(n)?Mp:aw)(n)}function US(n,i,l){return i=(l?wt(n,i,l):i===v)?1:ae(i),(oe(n)?W_:cw)(n,i)}function VS(n){return(oe(n)?B_:fw)(n)}function QS(n){if(n==null)return 0;if(Rt(n))return al(n)?ut(n):n.length;var i=dt(n);return i==hn||i==mn?n.size:Aa(n).length}function qS(n,i,l){var a=oe(n)?A:dw;return l&&wt(n,i,l)&&(i=v),a(n,ne(i,3))}function YS(n,i){if(typeof i!="function")throw new tn(Kt);return n=ae(n),function(){if(--n<1)return i.apply(this,arguments)}}function Wh(n,i,l){return i=l?v:i,i=n&&i==null?n.length:i,Vn(n,Fn,v,v,v,v,i)}function Bh(n,i){var l;if(typeof i!="function")throw new tn(Kt);return n=ae(n),function(){return--n>0&&(l=i.apply(this,arguments)),n<=1&&(i=v),l}}function Hh(n,i,l){i=l?v:i;var a=Vn(n,Pn,v,v,v,v,v,i);return a.placeholder=Hh.placeholder,a}function Uh(n,i,l){i=l?v:i;var a=Vn(n,di,v,v,v,v,v,i);return a.placeholder=Uh.placeholder,a}function Vh(n,i,l){function a(Fe){var nn=V,Lu=X;return V=X=v,pe=Fe,se=n.apply(Lu,nn)}function d(Fe){return pe=Fe,ee=Ou(S,i),pt?a(Fe):se}function h(Fe){var nn=Fe-de,Lu=Fe-pe,Nm=i-nn;return zt?ft(Nm,b-Lu):Nm}function g(Fe){var nn=Fe-de,Lu=Fe-pe;return de===v||nn>=i||nn<0||zt&&Lu>=b}function S(){var Fe=El();return g(Fe)?C(Fe):(ee=Ou(S,h(Fe)),v)}function C(Fe){return ee=v,hr&&V?a(Fe):(V=X=v,se)}function z(){ee!==v&&pm(ee),pe=0,V=de=X=ee=v}function I(){return ee===v?se:C(El())}function L(){var Fe=El(),nn=g(Fe);if(V=arguments,X=this,de=Fe,nn){if(ee===v)return d(de);if(zt)return pm(ee),ee=Ou(S,i),a(de)}return ee===v&&(ee=Ou(S,i)),se}var V,X,b,se,ee,de,pe=0,pt=!1,zt=!1,hr=!0;if(typeof n!="function")throw new tn(Kt);return i=en(i)||0,Oe(l)&&(pt=!!l.leading,zt="maxWait"in l,b=zt?Xe(en(l.maxWait)||0,i):b,hr="trailing"in l?!!l.trailing:hr),L.cancel=z,L.flush=I,L}function KS(n){return Vn(n,la)}function ol(n,i){if(typeof n!="function"||i!=null&&typeof i!="function")throw new tn(Kt);var l=function(){var a=arguments,d=i?i.apply(this,a):a[0],h=l.cache;if(h.has(d))return h.get(d);var g=n.apply(this,a);return l.cache=h.set(d,g)||h,g};return l.cache=new(ol.Cache||Hn),l}function ll(n){if(typeof n!="function")throw new tn(Kt);return function(){var i=arguments;switch(i.length){case 0:return!n.call(this);case 1:return!n.call(this,i[0]);case 2:return!n.call(this,i[0],i[1]);case 3:return!n.call(this,i[0],i[1],i[2])}return!n.apply(this,i)}}function GS(n){return Bh(2,n)}function XS(n,i){if(typeof n!="function")throw new tn(Kt);return i=i===v?i:ae(i),fe(n,i)}function ZS(n,i){if(typeof n!="function")throw new tn(Kt);return i=i==null?0:Xe(ae(i),0),fe(function(l){var a=l[i],d=cr(l,0,i);return a&&P(d,a),r(n,this,d)})}function JS(n,i,l){var a=!0,d=!0;if(typeof n!="function")throw new tn(Kt);return Oe(l)&&(a="leading"in l?!!l.leading:a,d="trailing"in l?!!l.trailing:d),Vh(n,i,{leading:a,maxWait:i,trailing:d})}function bS(n){return Wh(n,1)}function ex(n,i){return _c(Ha(i),n)}function tx(){if(!arguments.length)return[];var n=arguments[0];return oe(n)?n:[n]}function nx(n){return Zt(n,ci)}function rx(n,i){return i=typeof i=="function"?i:v,Zt(n,ci,i)}function ix(n){return Zt(n,or|ci)}function ux(n,i){return i=typeof i=="function"?i:v,Zt(n,or|ci,i)}function ox(n,i){return i==null||Wp(n,i,et(i))}function gn(n,i){return n===i||n!==n&&i!==i}function Rt(n){return n!=null&&sl(n.length)&&!Yn(n)}function He(n){return Me(n)&&Rt(n)}function lx(n){return n===!0||n===!1||Me(n)&&_t(n)==hu}function sx(n){return Me(n)&&n.nodeType===1&&!Ru(n)}function ax(n){if(n==null)return!0;if(Rt(n)&&(oe(n)||typeof n=="string"||typeof n.splice=="function"||pr(n)||Pi(n)||qr(n)))return!n.length;var i=dt(n);if(i==hn||i==mn)return!n.size;if(Pu(n))return!Aa(n).length;for(var l in n)if(xe.call(n,l))return!1;return!0}function cx(n,i){return Eu(n,i)}function fx(n,i,l){l=typeof l=="function"?l:v;var a=l?l(n,i):v;return a===v?Eu(n,i,v,l):!!a}function ec(n){if(!Me(n))return!1;var i=_t(n);return i==Mo||i==uy||typeof n.message=="string"&&typeof n.name=="string"&&!Ru(n)}function dx(n){return typeof n=="number"&&lm(n)}function Yn(n){if(!Oe(n))return!1;var i=_t(n);return i==Fo||i==up||i==iy||i==ly}function Qh(n){return typeof n=="number"&&n==ae(n)}function sl(n){return typeof n=="number"&&n>-1&&n%1==0&&n<=lr}function Oe(n){var i=typeof n;return n!=null&&(i=="object"||i=="function")}function Me(n){return n!=null&&typeof n=="object"}function px(n,i){return n===i||Ta(n,i,Ka(i))}function hx(n,i,l){return l=typeof l=="function"?l:v,Ta(n,i,Ka(i),l)}function mx(n){return qh(n)&&n!=+n}function vx(n){if(iE(n))throw new ac(Q1);return Qp(n)}function gx(n){return n===null}function yx(n){return n==null}function qh(n){return typeof n=="number"||Me(n)&&_t(n)==vu}function Ru(n){if(!Me(n)||_t(n)!=Wn)return!1;var i=gl(n);if(i===null)return!0;var l=xe.call(i,"constructor")&&i.constructor;return typeof l=="function"&&l instanceof l&&pl.call(l)==Mk}function _x(n){return Qh(n)&&n>=-lr&&n<=lr}function al(n){return typeof n=="string"||!oe(n)&&Me(n)&&_t(n)==yu}function Wt(n){return typeof n=="symbol"||Me(n)&&_t(n)==Wo}function wx(n){return n===v}function Sx(n){return Me(n)&&dt(n)==_u}function xx(n){return Me(n)&&_t(n)==ay}function Yh(n){if(!n)return[];if(Rt(n))return al(n)?Ct(n):Pt(n);if(ju&&n[ju])return G(n[ju]());var i=dt(n);return(i==hn?W:i==mn?ie:Si)(n)}function Kn(n){return n?(n=en(n),n===$r||n===-$r?(n<0?-1:1)*ey:n===n?n:0):n===0?n:0}function ae(n){var i=Kn(n),l=i%1;return i===i?l?i-l:i:0}function Kh(n){return n?Br(ae(n),0,jn):0}function en(n){if(typeof n=="number")return n;if(Wt(n))return Do;if(Oe(n)){var i=typeof n.valueOf=="function"?n.valueOf():n;n=Oe(i)?i+"":i}if(typeof n!="string")return n===0?n:+n;n=Nn(n);var l=Iy.test(n);return l||Ty.test(n)?c_(n.slice(2),l?2:8):jy.test(n)?Do:+n}function Gh(n){return zn(n,jt(n))}function kx(n){return n?Br(ae(n),-lr,lr):n===0?n:0}function we(n){return n==null?"":Ft(n)}function Ex(n,i){var l=Ni(n);return i==null?l:Fp(l,i)}function Cx(n,i){return w(n,ne(i,3),In)}function Nx(n,i){return w(n,ne(i,3),ja)}function Px(n,i){return n==null?n:hc(n,ne(i,3),jt)}function Rx(n,i){return n==null?n:fm(n,ne(i,3),jt)}function jx(n,i){return n&&In(n,ne(i,3))}function Ix(n,i){return n&&ja(n,ne(i,3))}function zx(n){return n==null?[]:qo(n,et(n))}function Tx(n){return n==null?[]:qo(n,jt(n))}function tc(n,i,l){var a=n==null?v:Hr(n,i);return a===v?l:a}function Ax(n,i){return n!=null&&xh(n,i,Y_)}function nc(n,i){return n!=null&&xh(n,i,K_)}function et(n){return Rt(n)?$p(n):Aa(n)}function jt(n){return Rt(n)?$p(n,!0):iw(n)}function Ox(n,i){var l={};return i=ne(i,3),In(n,function(a,d,h){Un(l,i(a,d,h),a)}),l}function Lx(n,i){var l={};return i=ne(i,3),In(n,function(a,d,h){Un(l,d,i(a,d,h))}),l}function Dx(n,i){return Xh(n,ll(ne(i)))}function Xh(n,i){if(n==null)return{};var l=N(Ya(n),function(a){return[a]});return i=ne(i),Jp(n,l,function(a,d){return i(a,d[0])})}function $x(n,i,l){i=ar(i,n);var a=-1,d=i.length;for(d||(d=1,n=v);++ai){var a=n;n=i,i=a}if(l||n%1||i%1){var d=sm();return ft(n+d*(i-n+a_("1e-"+((d+"").length-1))),i)}return Da(n,i)}function Zh(n){return Sc(we(n).toLowerCase())}function Jh(n){return n=we(n),n&&n.replace(Oy,p_).replace(by,"")}function Kx(n,i,l){n=we(n),i=Ft(i);var a=n.length;l=l===v?a:Br(ae(l),0,a);var d=l;return l-=i.length,l>=0&&n.slice(l,d)==i}function Gx(n){return n=we(n),n&&hy.test(n)?n.replace(sp,h_):n}function Xx(n){return n=we(n),n&&wy.test(n)?n.replace(ga,"\\$&"):n}function Zx(n,i,l){n=we(n),i=ae(i);var a=i?ut(n):0;if(!i||a>=i)return n;var d=(i-a)/2;return bo(Sl(d),l)+n+bo(wl(d),l)}function Jx(n,i,l){n=we(n),i=ae(i);var a=i?ut(n):0;return i&&a>>0)?(n=we(n),n&&(typeof i=="string"||i!=null&&!wc(i))&&(i=Ft(i),!i&&Ee(n))?cr(Ct(n),0,l):n.split(i,l)):[]}function ik(n,i,l){return n=we(n),l=l==null?0:Br(ae(l),0,n.length),i=Ft(i),n.slice(l,l+i.length)==i}function uk(n,i,l){var a=f.templateSettings;l&&wt(n,i,l)&&(i=v),n=we(n),i=Cl({},i,a,_h);var d,h,g=Cl({},i.imports,a.imports,_h),S=et(g),C=pn(g,S),z=0,I=i.interpolate||Bo,L="__p += '",V=cc((i.escape||Bo).source+"|"+I.source+"|"+(I===ap?Ry:Bo).source+"|"+(i.evaluate||Bo).source+"|$","g"),X="//# sourceURL="+(xe.call(i,"sourceURL")?(i.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++i_+"]")+` +`;n.replace(V,function(ee,de,pe,pt,zt,hr){return pe||(pe=pt),L+=n.slice(z,hr).replace(Ly,ge),de&&(d=!0,L+=`' + +__e(`+de+`) + +'`),zt&&(h=!0,L+=`'; +`+zt+`; +__p += '`),pe&&(L+=`' + +((__t = (`+pe+`)) == null ? '' : __t) + +'`),z=hr+ee.length,ee}),L+=`'; +`;var b=xe.call(i,"variable")&&i.variable;if(b){if(Ny.test(b))throw new ac(q1)}else L=`with (obj) { +`+L+` +} +`;L=(h?L.replace(cy,""):L).replace(fy,"$1").replace(dy,"$1;"),L="function("+(b||"obj")+`) { +`+(b?"":`obj || (obj = {}); +`)+"var __t, __p = ''"+(d?", __e = _.escape":"")+(h?`, __j = Array.prototype.join; +function print() { __p += __j.call(arguments, '') } +`:`; +`)+L+`return __p +}`;var se=Cm(function(){return tm(S,X+"return "+L).apply(v,C)});if(se.source=L,ec(se))throw se;return se}function ok(n){return we(n).toLowerCase()}function lk(n){return we(n).toUpperCase()}function sk(n,i,l){if(n=we(n),n&&(l||i===v))return Nn(n);if(!n||!(i=Ft(i)))return n;var a=Ct(n),d=Ct(i);return cr(a,U(a,d),J(a,d)+1).join("")}function ak(n,i,l){if(n=we(n),n&&(l||i===v))return n.slice(0,Ao(n)+1);if(!n||!(i=Ft(i)))return n;var a=Ct(n);return cr(a,0,J(a,Ct(i))+1).join("")}function ck(n,i,l){if(n=we(n),n&&(l||i===v))return n.replace(ya,"");if(!n||!(i=Ft(i)))return n;var a=Ct(n);return cr(a,U(a,Ct(i))).join("")}function fk(n,i){var l=K1,a=G1;if(Oe(i)){var d="separator"in i?i.separator:d;l="length"in i?ae(i.length):l,a="omission"in i?Ft(i.omission):a}n=we(n);var h=n.length;if(Ee(n)){var g=Ct(n);h=g.length}if(l>=h)return n;var S=l-ut(a);if(S<1)return a;var C=g?cr(g,0,S).join(""):n.slice(0,S);if(d===v)return C+a;if(g&&(S+=C.length-S),wc(d)){if(n.slice(S).search(d)){var z,I=C;for(d.global||(d=cc(d.source,we(cp.exec(d))+"g")),d.lastIndex=0;z=d.exec(I);)var L=z.index;C=C.slice(0,L===v?S:L)}}else if(n.indexOf(Ft(d),S)!=S){var V=C.lastIndexOf(d);V>-1&&(C=C.slice(0,V))}return C+a}function dk(n){return n=we(n),n&&py.test(n)?n.replace(lp,m_):n}function bh(n,i,l){return n=we(n),i=l?v:i,i===v?Ke(n)?U1(n):ue(n):n.match(i)||[]}function pk(n){var i=n==null?0:n.length,l=ne();return n=i?N(n,function(a){if(typeof a[1]!="function")throw new tn(Kt);return[l(a[0]),a[1]]}):[],fe(function(a){for(var d=-1;++dlr)return[];var l=jn,a=ft(n,jn);i=ne(i),n-=jn;for(var d=Mt(a,i);++l1?n[i-1]:v;return l=typeof l=="function"?(n.pop(),l):v,Dh(n,l)}),xE=Qn(function(n){var i=n.length,l=i?n[0]:0,a=this.__wrapped__,d=function(h){return Ra(h,n)};return!(i>1||this.__actions__.length)&&a instanceof K&&qn(l)?(a=a.slice(l,+l+(i?1:0)),a.__actions__.push({func:il,args:[d],thisArg:v}),new te(a,this.__chain__).thru(function(h){return i&&!h.length&&h.push(v),h})):this.thru(d)}),kE=Xo(function(n,i,l){xe.call(n,l)?++n[l]:Un(n,l,1)}),EE=ph(zh),CE=ph(Th),NE=Xo(function(n,i,l){xe.call(n,l)?n[l].push(i):Un(n,l,[i])}),PE=fe(function(n,i,l){var a=-1,d=typeof i=="function",h=Rt(n)?Ge(n.length):[];return dr(n,function(g){h[++a]=d?r(i,g,l):ku(g,i,l)}),h}),RE=Xo(function(n,i,l){Un(n,l,i)}),jE=Xo(function(n,i,l){n[l?0:1].push(i)},function(){return[[],[]]}),IE=fe(function(n,i){if(n==null)return[];var l=i.length;return l>1&&wt(n,i[0],i[1])?i=[]:l>2&&wt(i[0],i[1],i[2])&&(i=[i[0]]),Zp(n,lt(i,1),[])}),El=Hk||function(){return ot.Date.now()},yc=fe(function(n,i,l){var a=Gt;if(l.length){var d=Z(l,wi(yc));a|=Rn}return Vn(n,a,i,l,d)}),gm=fe(function(n,i,l){var a=Gt|Dr;if(l.length){var d=Z(l,wi(gm));a|=Rn}return Vn(i,a,n,l,d)}),zE=fe(function(n,i){return Bp(n,1,i)}),TE=fe(function(n,i,l){return Bp(n,en(i)||0,l)});ol.Cache=Hn;var AE=nE(function(n,i){i=i.length==1&&oe(i[0])?N(i[0],Ve(ne())):N(lt(i,1),Ve(ne()));var l=i.length;return fe(function(a){for(var d=-1,h=ft(a.length,l);++d=i}),qr=Vp(function(){return arguments}())?Vp:function(n){return Me(n)&&xe.call(n,"callee")&&!um.call(n,"callee")},oe=Ge.isArray,$E=zp?Ve(zp):Z_,pr=Vk||sc,ME=Tp?Ve(Tp):J_,_m=Ap?Ve(Ap):ew,wc=Op?Ve(Op):tw,wm=Lp?Ve(Lp):nw,Pi=Dp?Ve(Dp):rw,FE=el(Oa),WE=el(function(n,i){return n<=i}),BE=yi(function(n,i){if(Pu(i)||Rt(i))return zn(i,et(i),n),v;for(var l in i)xe.call(i,l)&&Su(n,l,i[l])}),Sm=yi(function(n,i){zn(i,jt(i),n)}),Cl=yi(function(n,i,l,a){zn(i,jt(i),n,a)}),HE=yi(function(n,i,l,a){zn(i,et(i),n,a)}),UE=Qn(Ra),VE=fe(function(n,i){n=Re(n);var l=-1,a=i.length,d=a>2?i[2]:v;for(d&&wt(i[0],i[1],d)&&(a=1);++l1),h}),zn(n,Ya(n),l),a&&(l=Zt(l,or|np|ci,xw));for(var d=i.length;d--;)Fa(l,i[d]);return l}),ZE=Qn(function(n,i){return n==null?{}:ow(n,i)}),km=yh(et),Em=yh(jt),JE=_i(function(n,i,l){return i=i.toLowerCase(),n+(l?Zh(i):i)}),bE=_i(function(n,i,l){return n+(l?"-":"")+i.toLowerCase()}),eC=_i(function(n,i,l){return n+(l?" ":"")+i.toLowerCase()}),tC=dh("toLowerCase"),nC=_i(function(n,i,l){return n+(l?"_":"")+i.toLowerCase()}),rC=_i(function(n,i,l){return n+(l?" ":"")+Sc(i)}),iC=_i(function(n,i,l){return n+(l?" ":"")+i.toUpperCase()}),Sc=dh("toUpperCase"),Cm=fe(function(n,i){try{return r(n,v,i)}catch(l){return ec(l)?l:new ac(l)}}),uC=Qn(function(n,i){return o(i,function(l){l=Tn(l),Un(n,l,yc(n[l],n))}),n}),oC=hh(),lC=hh(!0),sC=fe(function(n,i){return function(l){return ku(l,n,i)}}),aC=fe(function(n,i){return function(l){return ku(n,l,i)}}),cC=Va(N),fC=Va(c),dC=Va(A),pC=vh(),hC=vh(!0),mC=Jo(function(n,i){return n+i},0),vC=Qa("ceil"),gC=Jo(function(n,i){return n/i},1),yC=Qa("floor"),_C=Jo(function(n,i){return n*i},1),wC=Qa("round"),SC=Jo(function(n,i){return n-i},0);return f.after=YS,f.ary=Wh,f.assign=BE,f.assignIn=Sm,f.assignInWith=Cl,f.assignWith=HE,f.at=UE,f.before=Bh,f.bind=yc,f.bindAll=uC,f.bindKey=gm,f.castArray=tx,f.chain=$h,f.chunk=Ww,f.compact=Bw,f.concat=Hw,f.cond=pk,f.conforms=hk,f.constant=rc,f.countBy=kE,f.create=Ex,f.curry=Hh,f.curryRight=Uh,f.debounce=Vh,f.defaults=VE,f.defaultsDeep=QE,f.defer=zE,f.delay=TE,f.difference=uE,f.differenceBy=oE,f.differenceWith=lE,f.drop=Uw,f.dropRight=Vw,f.dropRightWhile=Qw,f.dropWhile=qw,f.fill=Yw,f.filter=AS,f.flatMap=OS,f.flatMapDeep=LS,f.flatMapDepth=DS,f.flatten=Ah,f.flattenDeep=Kw,f.flattenDepth=Gw,f.flip=KS,f.flow=oC,f.flowRight=lC,f.fromPairs=Xw,f.functions=zx,f.functionsIn=Tx,f.groupBy=NE,f.initial=Jw,f.intersection=sE,f.intersectionBy=aE,f.intersectionWith=cE,f.invert=qE,f.invertBy=YE,f.invokeMap=PE,f.iteratee=ic,f.keyBy=RE,f.keys=et,f.keysIn=jt,f.map=ul,f.mapKeys=Ox,f.mapValues=Lx,f.matches=vk,f.matchesProperty=gk,f.memoize=ol,f.merge=GE,f.mergeWith=xm,f.method=sC,f.methodOf=aC,f.mixin=uc,f.negate=ll,f.nthArg=_k,f.omit=XE,f.omitBy=Dx,f.once=GS,f.orderBy=MS,f.over=cC,f.overArgs=AE,f.overEvery=fC,f.overSome=dC,f.partial=_c,f.partialRight=ym,f.partition=jE,f.pick=ZE,f.pickBy=Xh,f.property=em,f.propertyOf=wk,f.pull=fE,f.pullAll=Lh,f.pullAllBy=nS,f.pullAllWith=rS,f.pullAt=dE,f.range=pC,f.rangeRight=hC,f.rearg=OE,f.reject=BS,f.remove=iS,f.rest=XS,f.reverse=Ja,f.sampleSize=US,f.set=Mx,f.setWith=Fx,f.shuffle=VS,f.slice=uS,f.sortBy=IE,f.sortedUniq=dS,f.sortedUniqBy=pS,f.split=rk,f.spread=ZS,f.tail=hS,f.take=mS,f.takeRight=vS,f.takeRightWhile=gS,f.takeWhile=yS,f.tap=ES,f.throttle=JS,f.thru=il,f.toArray=Yh,f.toPairs=km,f.toPairsIn=Em,f.toPath=Ck,f.toPlainObject=Gh,f.transform=Wx,f.unary=bS,f.union=pE,f.unionBy=hE,f.unionWith=mE,f.uniq=_S,f.uniqBy=wS,f.uniqWith=SS,f.unset=Bx,f.unzip=ba,f.unzipWith=Dh,f.update=Hx,f.updateWith=Ux,f.values=Si,f.valuesIn=Vx,f.without=vE,f.words=bh,f.wrap=ex,f.xor=gE,f.xorBy=yE,f.xorWith=_E,f.zip=wE,f.zipObject=xS,f.zipObjectDeep=kS,f.zipWith=SE,f.entries=km,f.entriesIn=Em,f.extend=Sm,f.extendWith=Cl,uc(f,f),f.add=mC,f.attempt=Cm,f.camelCase=JE,f.capitalize=Zh,f.ceil=vC,f.clamp=Qx,f.clone=nx,f.cloneDeep=ix,f.cloneDeepWith=ux,f.cloneWith=rx,f.conformsTo=ox,f.deburr=Jh,f.defaultTo=mk,f.divide=gC,f.endsWith=Kx,f.eq=gn,f.escape=Gx,f.escapeRegExp=Xx,f.every=TS,f.find=EE,f.findIndex=zh,f.findKey=Cx,f.findLast=CE,f.findLastIndex=Th,f.findLastKey=Nx,f.floor=yC,f.forEach=Mh,f.forEachRight=Fh,f.forIn=Px,f.forInRight=Rx,f.forOwn=jx,f.forOwnRight=Ix,f.get=tc,f.gt=LE,f.gte=DE,f.has=Ax,f.hasIn=nc,f.head=Oh,f.identity=It,f.includes=$S,f.indexOf=Zw,f.inRange=qx,f.invoke=KE,f.isArguments=qr,f.isArray=oe,f.isArrayBuffer=$E,f.isArrayLike=Rt,f.isArrayLikeObject=He,f.isBoolean=lx,f.isBuffer=pr,f.isDate=ME,f.isElement=sx,f.isEmpty=ax,f.isEqual=cx,f.isEqualWith=fx,f.isError=ec,f.isFinite=dx,f.isFunction=Yn,f.isInteger=Qh,f.isLength=sl,f.isMap=_m,f.isMatch=px,f.isMatchWith=hx,f.isNaN=mx,f.isNative=vx,f.isNil=yx,f.isNull=gx,f.isNumber=qh,f.isObject=Oe,f.isObjectLike=Me,f.isPlainObject=Ru,f.isRegExp=wc,f.isSafeInteger=_x,f.isSet=wm,f.isString=al,f.isSymbol=Wt,f.isTypedArray=Pi,f.isUndefined=wx,f.isWeakMap=Sx,f.isWeakSet=xx,f.join=bw,f.kebabCase=bE,f.last=bt,f.lastIndexOf=eS,f.lowerCase=eC,f.lowerFirst=tC,f.lt=FE,f.lte=WE,f.max=Pk,f.maxBy=Rk,f.mean=jk,f.meanBy=Ik,f.min=zk,f.minBy=Tk,f.stubArray=lc,f.stubFalse=sc,f.stubObject=Sk,f.stubString=xk,f.stubTrue=kk,f.multiply=_C,f.nth=tS,f.noConflict=yk,f.noop=oc,f.now=El,f.pad=Zx,f.padEnd=Jx,f.padStart=bx,f.parseInt=ek,f.random=Yx,f.reduce=FS,f.reduceRight=WS,f.repeat=tk,f.replace=nk,f.result=$x,f.round=wC,f.runInContext=k,f.sample=HS,f.size=QS,f.snakeCase=nC,f.some=qS,f.sortedIndex=oS,f.sortedIndexBy=lS,f.sortedIndexOf=sS,f.sortedLastIndex=aS,f.sortedLastIndexBy=cS,f.sortedLastIndexOf=fS,f.startCase=rC,f.startsWith=ik,f.subtract=SC,f.sum=Ak,f.sumBy=Ok,f.template=uk,f.times=Ek,f.toFinite=Kn,f.toInteger=ae,f.toLength=Kh,f.toLower=ok,f.toNumber=en,f.toSafeInteger=kx,f.toString=we,f.toUpper=lk,f.trim=sk,f.trimEnd=ak,f.trimStart=ck,f.truncate=fk,f.unescape=dk,f.uniqueId=Nk,f.upperCase=iC,f.upperFirst=Sc,f.each=Mh,f.eachRight=Fh,f.first=Oh,uc(f,function(){var n={};return In(f,function(i,l){xe.call(f.prototype,l)||(n[l]=i)}),n}(),{chain:!1}),f.VERSION=V1,o(["bind","bindKey","curry","curryRight","partial","partialRight"],function(n){f[n].placeholder=f}),o(["drop","take"],function(n,i){K.prototype[n]=function(l){l=l===v?1:Xe(ae(l),0);var a=this.__filtered__&&!i?new K(this):this.clone();return a.__filtered__?a.__takeCount__=ft(l,a.__takeCount__):a.__views__.push({size:ft(l,jn),type:n+(a.__dir__<0?"Right":"")}),a},K.prototype[n+"Right"]=function(l){return this.reverse()[n](l).reverse()}}),o(["filter","map","takeWhile"],function(n,i){var l=i+1,a=l==ip||l==b1;K.prototype[n]=function(d){var h=this.clone();return h.__iteratees__.push({iteratee:ne(d,3),type:l}),h.__filtered__=h.__filtered__||a,h}}),o(["head","last"],function(n,i){var l="take"+(i?"Right":"");K.prototype[n]=function(){return this[l](1).value()[0]}}),o(["initial","tail"],function(n,i){var l="drop"+(i?"":"Right");K.prototype[n]=function(){return this.__filtered__?new K(this):this[l](1)}}),K.prototype.compact=function(){return this.filter(It)},K.prototype.find=function(n){return this.filter(n).head()},K.prototype.findLast=function(n){return this.reverse().find(n)},K.prototype.invokeMap=fe(function(n,i){return typeof n=="function"?new K(this):this.map(function(l){return ku(l,n,i)})}),K.prototype.reject=function(n){return this.filter(ll(ne(n)))},K.prototype.slice=function(n,i){n=ae(n);var l=this;return l.__filtered__&&(n>0||i<0)?new K(l):(n<0?l=l.takeRight(-n):n&&(l=l.drop(n)),i!==v&&(i=ae(i),l=i<0?l.dropRight(-i):l.take(i-n)),l)},K.prototype.takeRightWhile=function(n){return this.reverse().takeWhile(n).reverse()},K.prototype.toArray=function(){return this.take(jn)},In(K.prototype,function(n,i){var l=/^(?:filter|find|map|reject)|While$/.test(i),a=/^(?:head|last)$/.test(i),d=f[a?"take"+(i=="last"?"Right":""):i],h=a||/^find/.test(i);d&&(f.prototype[i]=function(){var g=this.__wrapped__,S=a?[1]:arguments,C=g instanceof K,z=S[0],I=C||oe(g),L=function(de){var pe=d.apply(f,P([de],S));return a&&V?pe[0]:pe};I&&l&&typeof z=="function"&&z.length!=1&&(C=I=!1);var V=this.__chain__,X=!!this.__actions__.length,b=h&&!V,se=C&&!X;if(!h&&I){g=se?g:new K(this);var ee=n.apply(g,S);return ee.__actions__.push({func:il,args:[L],thisArg:v}),new te(ee,V)}return b&&se?n.apply(this,S):(ee=this.thru(L),b?a?ee.value()[0]:ee.value():ee)})}),o(["pop","push","shift","sort","splice","unshift"],function(n){var i=fl[n],l=/^(?:push|sort|unshift)$/.test(n)?"tap":"thru",a=/^(?:pop|shift)$/.test(n);f.prototype[n]=function(){var d=arguments;if(a&&!this.__chain__){var h=this.value();return i.apply(oe(h)?h:[],d)}return this[l](function(g){return i.apply(oe(g)?g:[],d)})}}),In(K.prototype,function(n,i){var l=f[i];if(l){var a=l.name+"";xe.call(Ci,a)||(Ci[a]=[]),Ci[a].push({name:i,func:l})}}),Ci[Zo(v,Dr).name]=[{name:"wrapper",func:v}],K.prototype.clone=Nt,K.prototype.reverse=Na,K.prototype.value=g_,f.prototype.at=xE,f.prototype.chain=CS,f.prototype.commit=NS,f.prototype.next=PS,f.prototype.plant=jS,f.prototype.reverse=IS,f.prototype.toJSON=f.prototype.valueOf=f.prototype.value=zS,f.prototype.first=f.prototype.head,ju&&(f.prototype[ju]=RS),f},gi=v_();Mr?((Mr.exports=gi)._=gi,Ea._=gi):ot._=gi}).call(Du)})(Ls,Ls.exports);var n4=Ls.exports,W1={};(function(e){e.aliasToReal={each:"forEach",eachRight:"forEachRight",entries:"toPairs",entriesIn:"toPairsIn",extend:"assignIn",extendAll:"assignInAll",extendAllWith:"assignInAllWith",extendWith:"assignInWith",first:"head",conforms:"conformsTo",matches:"isMatch",property:"get",__:"placeholder",F:"stubFalse",T:"stubTrue",all:"every",allPass:"overEvery",always:"constant",any:"some",anyPass:"overSome",apply:"spread",assoc:"set",assocPath:"set",complement:"negate",compose:"flowRight",contains:"includes",dissoc:"unset",dissocPath:"unset",dropLast:"dropRight",dropLastWhile:"dropRightWhile",equals:"isEqual",identical:"eq",indexBy:"keyBy",init:"initial",invertObj:"invert",juxt:"over",omitAll:"omit",nAry:"ary",path:"get",pathEq:"matchesProperty",pathOr:"getOr",paths:"at",pickAll:"pick",pipe:"flow",pluck:"map",prop:"get",propEq:"matchesProperty",propOr:"getOr",props:"at",symmetricDifference:"xor",symmetricDifferenceBy:"xorBy",symmetricDifferenceWith:"xorWith",takeLast:"takeRight",takeLastWhile:"takeRightWhile",unapply:"rest",unnest:"flatten",useWith:"overArgs",where:"conformsTo",whereEq:"isMatch",zipObj:"zipObject"},e.aryMethod={1:["assignAll","assignInAll","attempt","castArray","ceil","create","curry","curryRight","defaultsAll","defaultsDeepAll","floor","flow","flowRight","fromPairs","invert","iteratee","memoize","method","mergeAll","methodOf","mixin","nthArg","over","overEvery","overSome","rest","reverse","round","runInContext","spread","template","trim","trimEnd","trimStart","uniqueId","words","zipAll"],2:["add","after","ary","assign","assignAllWith","assignIn","assignInAllWith","at","before","bind","bindAll","bindKey","chunk","cloneDeepWith","cloneWith","concat","conformsTo","countBy","curryN","curryRightN","debounce","defaults","defaultsDeep","defaultTo","delay","difference","divide","drop","dropRight","dropRightWhile","dropWhile","endsWith","eq","every","filter","find","findIndex","findKey","findLast","findLastIndex","findLastKey","flatMap","flatMapDeep","flattenDepth","forEach","forEachRight","forIn","forInRight","forOwn","forOwnRight","get","groupBy","gt","gte","has","hasIn","includes","indexOf","intersection","invertBy","invoke","invokeMap","isEqual","isMatch","join","keyBy","lastIndexOf","lt","lte","map","mapKeys","mapValues","matchesProperty","maxBy","meanBy","merge","mergeAllWith","minBy","multiply","nth","omit","omitBy","overArgs","pad","padEnd","padStart","parseInt","partial","partialRight","partition","pick","pickBy","propertyOf","pull","pullAll","pullAt","random","range","rangeRight","rearg","reject","remove","repeat","restFrom","result","sampleSize","some","sortBy","sortedIndex","sortedIndexOf","sortedLastIndex","sortedLastIndexOf","sortedUniqBy","split","spreadFrom","startsWith","subtract","sumBy","take","takeRight","takeRightWhile","takeWhile","tap","throttle","thru","times","trimChars","trimCharsEnd","trimCharsStart","truncate","union","uniqBy","uniqWith","unset","unzipWith","without","wrap","xor","zip","zipObject","zipObjectDeep"],3:["assignInWith","assignWith","clamp","differenceBy","differenceWith","findFrom","findIndexFrom","findLastFrom","findLastIndexFrom","getOr","includesFrom","indexOfFrom","inRange","intersectionBy","intersectionWith","invokeArgs","invokeArgsMap","isEqualWith","isMatchWith","flatMapDepth","lastIndexOfFrom","mergeWith","orderBy","padChars","padCharsEnd","padCharsStart","pullAllBy","pullAllWith","rangeStep","rangeStepRight","reduce","reduceRight","replace","set","slice","sortedIndexBy","sortedLastIndexBy","transform","unionBy","unionWith","update","xorBy","xorWith","zipWith"],4:["fill","setWith","updateWith"]},e.aryRearg={2:[1,0],3:[2,0,1],4:[3,2,0,1]},e.iterateeAry={dropRightWhile:1,dropWhile:1,every:1,filter:1,find:1,findFrom:1,findIndex:1,findIndexFrom:1,findKey:1,findLast:1,findLastFrom:1,findLastIndex:1,findLastIndexFrom:1,findLastKey:1,flatMap:1,flatMapDeep:1,flatMapDepth:1,forEach:1,forEachRight:1,forIn:1,forInRight:1,forOwn:1,forOwnRight:1,map:1,mapKeys:1,mapValues:1,partition:1,reduce:2,reduceRight:2,reject:1,remove:1,some:1,takeRightWhile:1,takeWhile:1,times:1,transform:2},e.iterateeRearg={mapKeys:[1],reduceRight:[1,0]},e.methodRearg={assignInAllWith:[1,0],assignInWith:[1,2,0],assignAllWith:[1,0],assignWith:[1,2,0],differenceBy:[1,2,0],differenceWith:[1,2,0],getOr:[2,1,0],intersectionBy:[1,2,0],intersectionWith:[1,2,0],isEqualWith:[1,2,0],isMatchWith:[2,1,0],mergeAllWith:[1,0],mergeWith:[1,2,0],padChars:[2,1,0],padCharsEnd:[2,1,0],padCharsStart:[2,1,0],pullAllBy:[2,1,0],pullAllWith:[2,1,0],rangeStep:[1,2,0],rangeStepRight:[1,2,0],setWith:[3,1,2,0],sortedIndexBy:[2,1,0],sortedLastIndexBy:[2,1,0],unionBy:[1,2,0],unionWith:[1,2,0],updateWith:[3,1,2,0],xorBy:[1,2,0],xorWith:[1,2,0],zipWith:[1,2,0]},e.methodSpread={assignAll:{start:0},assignAllWith:{start:0},assignInAll:{start:0},assignInAllWith:{start:0},defaultsAll:{start:0},defaultsDeepAll:{start:0},invokeArgs:{start:2},invokeArgsMap:{start:2},mergeAll:{start:0},mergeAllWith:{start:0},partial:{start:1},partialRight:{start:1},without:{start:1},zipAll:{start:0}},e.mutate={array:{fill:!0,pull:!0,pullAll:!0,pullAllBy:!0,pullAllWith:!0,pullAt:!0,remove:!0,reverse:!0},object:{assign:!0,assignAll:!0,assignAllWith:!0,assignIn:!0,assignInAll:!0,assignInAllWith:!0,assignInWith:!0,assignWith:!0,defaults:!0,defaultsAll:!0,defaultsDeep:!0,defaultsDeepAll:!0,merge:!0,mergeAll:!0,mergeAllWith:!0,mergeWith:!0},set:{set:!0,setWith:!0,unset:!0,update:!0,updateWith:!0}},e.realToAlias=function(){var t=Object.prototype.hasOwnProperty,r=e.aliasToReal,u={};for(var o in r){var s=r[o];t.call(u,s)?u[s].push(o):u[s]=[o]}return u}(),e.remap={assignAll:"assign",assignAllWith:"assignWith",assignInAll:"assignIn",assignInAllWith:"assignInWith",curryN:"curry",curryRightN:"curryRight",defaultsAll:"defaults",defaultsDeepAll:"defaultsDeep",findFrom:"find",findIndexFrom:"findIndex",findLastFrom:"findLast",findLastIndexFrom:"findLastIndex",getOr:"get",includesFrom:"includes",indexOfFrom:"indexOf",invokeArgs:"invoke",invokeArgsMap:"invokeMap",lastIndexOfFrom:"lastIndexOf",mergeAll:"merge",mergeAllWith:"mergeWith",padChars:"pad",padCharsEnd:"padEnd",padCharsStart:"padStart",propertyOf:"get",rangeStep:"range",rangeStepRight:"rangeRight",restFrom:"rest",spreadFrom:"spread",trimChars:"trim",trimCharsEnd:"trimEnd",trimCharsStart:"trimStart",zipAll:"zip"},e.skipFixed={castArray:!0,flow:!0,flowRight:!0,iteratee:!0,mixin:!0,rearg:!0,runInContext:!0},e.skipRearg={add:!0,assign:!0,assignIn:!0,bind:!0,bindKey:!0,concat:!0,difference:!0,divide:!0,eq:!0,gt:!0,gte:!0,isEqual:!0,lt:!0,lte:!0,matchesProperty:!0,merge:!0,multiply:!0,overArgs:!0,partial:!0,partialRight:!0,propertyOf:!0,random:!0,range:!0,rangeRight:!0,subtract:!0,zip:!0,zipObject:!0,zipObjectDeep:!0}})(W1);var r4={},Ze=W1,i4=r4,Z0=Array.prototype.push;function u4(e,t){return t==2?function(r,u){return e.apply(void 0,arguments)}:function(r){return e.apply(void 0,arguments)}}function Jc(e,t){return t==2?function(r,u){return e(r,u)}:function(r){return e(r)}}function J0(e){for(var t=e?e.length:0,r=Array(t);t--;)r[t]=e[t];return r}function o4(e){return function(t){return e({},t)}}function l4(e,t){return function(){for(var r=arguments.length,u=r-1,o=Array(r);r--;)o[r]=arguments[r];var s=o[t],c=o.slice(0,t);return s&&Z0.apply(c,s),t!=u&&Z0.apply(c,o.slice(t+1)),e.apply(this,c)}}function bc(e,t){return function(){var r=arguments.length;if(r){for(var u=Array(r);r--;)u[r]=arguments[r];var o=u[0]=t.apply(void 0,u);return e.apply(void 0,u),o}}}function td(e,t,r,u){var o=typeof t=="function",s=t===Object(t);if(s&&(u=r,r=t,t=void 0),r==null)throw new TypeError;u||(u={});var c={cap:"cap"in u?u.cap:!0,curry:"curry"in u?u.curry:!0,fixed:"fixed"in u?u.fixed:!0,immutable:"immutable"in u?u.immutable:!0,rearg:"rearg"in u?u.rearg:!0},p=o?r:i4,m="curry"in u&&u.curry,_="fixed"in u&&u.fixed,N="rearg"in u&&u.rearg,P=o?r.runInContext():void 0,E=o?r:{ary:e.ary,assign:e.assign,clone:e.clone,curry:e.curry,forEach:e.forEach,isArray:e.isArray,isError:e.isError,isFunction:e.isFunction,isWeakMap:e.isWeakMap,iteratee:e.iteratee,keys:e.keys,rearg:e.rearg,toInteger:e.toInteger,toPath:e.toPath},T=E.ary,A=E.assign,D=E.clone,ue=E.curry,w=E.forEach,y=E.isArray,x=E.isError,j=E.isFunction,F=E.isWeakMap,$=E.keys,O=E.rearg,Y=E.toInteger,_e=E.toPath,le=$(Ze.aryMethod),Ye={castArray:function(G){return function(){var W=arguments[0];return y(W)?G(J0(W)):G.apply(void 0,arguments)}},iteratee:function(G){return function(){var W=arguments[0],H=arguments[1],Z=G(W,H),ie=Z.length;return c.cap&&typeof H=="number"?(H=H>2?H-2:1,ie&&ie<=H?Z:Jc(Z,H)):Z}},mixin:function(G){return function(W){var H=this;if(!j(H))return G(H,Object(W));var Z=[];return w($(W),function(ie){j(W[ie])&&Z.push([ie,H.prototype[ie]])}),G(H,Object(W)),w(Z,function(ie){var Be=ie[1];j(Be)?H.prototype[ie[0]]=Be:delete H.prototype[ie[0]]}),H}},nthArg:function(G){return function(W){var H=W<0?1:Y(W)+1;return ue(G(W),H)}},rearg:function(G){return function(W,H){var Z=H?H.length:0;return ue(G(W,H),Z)}},runInContext:function(G){return function(W){return td(e,G(W),u)}}};function Mt(G,W){if(c.cap){var H=Ze.iterateeRearg[G];if(H)return re(W,H);var Z=!o&&Ze.iterateeAry[G];if(Z)return J(W,Z)}return W}function dn(G,W,H){return m||c.curry&&H>1?ue(W,H):W}function Nn(G,W,H){if(c.fixed&&(_||!Ze.skipFixed[G])){var Z=Ze.methodSpread[G],ie=Z&&Z.start;return ie===void 0?T(W,H):l4(W,ie)}return W}function Ve(G,W,H){return c.rearg&&H>1&&(N||!Ze.skipRearg[G])?O(W,Ze.methodRearg[G]||Ze.aryRearg[H]):W}function pn(G,W){W=_e(W);for(var H=-1,Z=W.length,ie=Z-1,Be=D(Object(G)),it=Be;it!=null&&++H{const[r,u]=rn.useState(4),o=()=>{u(p=>p+1)},s=()=>{u(p=>Math.max(p-1,4))},c={flexDirection:t==="left"?"row":"row-reverse"};switch(e){case"compare-with-native":return B.jsxs("div",{className:"example-wrapper",style:c,children:[B.jsxs("div",{className:"container native-scroll",children:[B.jsx("label",{className:"side-title",children:"Native Scroll"}),B.jsxs("div",{className:"panel",children:[B.jsx("div",{className:"panel-header",children:B.jsx("label",{className:"panel-title",children:"This is boring"})}),B.jsx("div",{className:"panel-content-native panel-content",children:B.jsx("div",{className:"content-fill",children:Qu.text})})]})]},"native-example"),B.jsxs("div",{className:"container",children:[B.jsx("label",{className:"side-title",children:"Custom Scroll"}),B.jsxs("div",{className:"panel",children:[B.jsx("div",{className:"panel-header",children:B.jsx("label",{className:"panel-title",children:"Cool Scrollbar!"})}),B.jsx(Ii,{allowOuterScroll:!0,children:B.jsx("div",{className:"panel-content-custom panel-content",children:B.jsx("div",{className:"content-fill",children:Qu.text})})})]})]},"cool-example")]});case"crazy-designer":return B.jsxs("div",{className:"container example-wrapper",style:c,children:[B.jsxs("div",{className:"example-description",children:[B.jsx("img",{src:a4}),"There are no limits for your design."]}),B.jsxs("div",{className:"panel crazy-scroll",children:[B.jsx("div",{className:"panel-header",children:B.jsx("label",{className:"panel-title",children:"Who designed this???"})}),B.jsx(Ii,{allowOuterScroll:!0,handleClass:"scroll-handle-override",children:B.jsx("div",{className:"panel-content-custom panel-content",children:B.jsx("div",{className:"content-fill",children:Qu.text})})})]})]},"crazy-example");case"flex":return B.jsxs("div",{className:"container example-flex-wrapper example-wrapper",style:c,id:"flex-example",children:[B.jsxs("div",{className:"example-description",children:["Custom scroll supports flexible layouts. You can use it on elements styled with flex, by passing the ",B.jsx("b",{children:"flex"})," prop to CustomScroll"]}),B.jsxs("div",{className:"panel flex-scroll",children:[B.jsx("div",{className:"panel-header",children:B.jsx("label",{className:"panel-title",children:"Flexbox!!!"})}),B.jsx(Ii,{allowOuterScroll:!0,flex:"1",children:B.jsx("div",{className:"panel-content-custom panel-content",children:B.jsx("div",{className:"content-fill",children:Qu.text})})})]})]},"flex-example");case"dynamic-content":return B.jsxs("div",{className:"example-dynamic-wrapper example-wrapper",style:c,id:"dynamic-content-example",children:[B.jsxs("div",{className:"example-description",children:["When your content is dynamic, you can use the ",B.jsx("b",{children:"keepAtBottom"})," ","prop, to make sure new content doesn't change the scroll position, supporting the user experience."]}),B.jsxs("div",{children:[B.jsxs("div",{className:"panel dynamic-scroll",children:[B.jsx("div",{className:"panel-header",children:B.jsx("label",{className:"panel-title",children:"DYNAMIC CONTENT!!!"})}),B.jsx(Ii,{allowOuterScroll:!1,keepAtBottom:!0,children:B.jsx("div",{className:"panel-content-custom panel-content",children:B.jsx("div",{className:"content-fill",children:ev.map(p=>B.jsx("div",{className:"dynamic-content",children:p},p),ev.times(p=>`Content #${p}`,r))})})})]}),B.jsx("button",{className:"dynamic-content-button",onClick:o,children:"Add Content"},"addContent"),B.jsx("button",{className:"dynamic-content-button",onClick:s,children:"Remove Content"},"removeContent")]})]});case"allow-outer-scroll":return B.jsxs("div",{className:"example-wrapper",style:c,id:"allow-outer-scroll-example",children:[B.jsxs("div",{className:"example-description",children:["In this example, scrolling the wrapping element is enabled with",B.jsxs("b",{children:[" ","allowOuterScroll"]})]}),B.jsx("div",{className:"container",children:B.jsxs("div",{className:"panel",children:[B.jsx("div",{className:"panel-header",children:B.jsx("label",{className:"panel-title",children:"Allowing external scroll"})}),B.jsx(Ii,{allowOuterScroll:!0,children:B.jsx("div",{className:"panel-content-custom panel-content",style:{maxHeight:300},children:B.jsx("div",{className:"content-fill",children:Qu.shortText})})})]})},"cool-example")]})}},c4=()=>B.jsx(Ii,{children:B.jsxs("div",{"data-testid":"app-root",className:"app-root",children:[B.jsx("div",{className:"demo-title",children:"React-Custom-Scroll Demo page"}),B.jsx("div",{className:"demo-subtitle",children:"react-custom-scroll lets you design unique scrollbars without compromising on performance. It preserves the browser's native scrolling mechanism, ensuring a smooth, familiar user experience. Its hover design means no content is obscured, offering a consistent look across browsers and operating systems."}),B.jsx(qu,{demoType:"compare-with-native",descriptionSide:"left"}),B.jsx(qu,{demoType:"crazy-designer",descriptionSide:"right"}),B.jsx(qu,{demoType:"dynamic-content",descriptionSide:"left"}),B.jsx(qu,{demoType:"allow-outer-scroll",descriptionSide:"right"}),B.jsx(qu,{demoType:"flex",descriptionSide:"left"})]})});ef.createRoot(document.getElementById("root")).render(B.jsx(Xi.StrictMode,{children:B.jsx(c4,{})})); diff --git a/exampleDist/index.html b/exampleDist/index.html new file mode 100644 index 0000000..a456128 --- /dev/null +++ b/exampleDist/index.html @@ -0,0 +1,14 @@ + + + + + + + Vite + React + TS + + + + +
+ + diff --git a/exampleDist/vite.svg b/exampleDist/vite.svg new file mode 100644 index 0000000..e7b8dfb --- /dev/null +++ b/exampleDist/vite.svg @@ -0,0 +1 @@ + \ No newline at end of file