Created
October 25, 2025 20:04
-
-
Save cdvillard/a79cd2362e71039151a753966df65acc to your computer and use it in GitHub Desktop.
component-gist
This file has been truncated, but you can view the full file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* @greenlake-widgets/global-search (2.214.0) | built-on: 2025-10-24T23:42:20.406Z */ | |
| var sO = Object.defineProperty; | |
| var dx = (e) => { | |
| throw TypeError(e); | |
| }; | |
| var lO = (e, t, r) => t in e ? sO(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r; | |
| var lg = (e, t, r) => lO(e, typeof t != "symbol" ? t + "" : t, r), H0 = (e, t, r) => t.has(e) || dx("Cannot " + r); | |
| var _e = (e, t, r) => (H0(e, t, "read from private field"), r ? r.call(e) : t.get(e)), en = (e, t, r) => t.has(e) ? dx("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, r), _r = (e, t, r, o) => (H0(e, t, "write to private field"), o ? o.call(e, r) : t.set(e, r), r), Cn = (e, t, r) => (H0(e, t, "access private method"), r); | |
| var av = (e, t, r, o) => ({ | |
| set _(u) { | |
| _r(e, t, u, r); | |
| }, | |
| get _() { | |
| return _e(e, t, o); | |
| } | |
| }); | |
| function qb(e) { | |
| return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e; | |
| } | |
| function uO(e) { | |
| if (Object.prototype.hasOwnProperty.call(e, "__esModule")) return e; | |
| var t = e.default; | |
| if (typeof t == "function") { | |
| var r = function o() { | |
| return this instanceof o ? Reflect.construct(t, arguments, this.constructor) : t.apply(this, arguments); | |
| }; | |
| r.prototype = t.prototype; | |
| } else r = {}; | |
| return Object.defineProperty(r, "__esModule", { value: !0 }), Object.keys(e).forEach(function(o) { | |
| var u = Object.getOwnPropertyDescriptor(e, o); | |
| Object.defineProperty(r, o, u.get ? u : { | |
| enumerable: !0, | |
| get: function() { | |
| return e[o]; | |
| } | |
| }); | |
| }), r; | |
| } | |
| var W0 = { exports: {} }, ug = {}, U0 = { exports: {} }, Ln = {}; | |
| /** | |
| * @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 fx; | |
| function cO() { | |
| if (fx) return Ln; | |
| fx = 1; | |
| var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), u = Symbol.for("react.profiler"), h = Symbol.for("react.provider"), c = Symbol.for("react.context"), p = Symbol.for("react.forward_ref"), g = Symbol.for("react.suspense"), m = Symbol.for("react.memo"), E = Symbol.for("react.lazy"), S = Symbol.iterator; | |
| function I(Q) { | |
| return Q === null || typeof Q != "object" ? null : (Q = S && Q[S] || Q["@@iterator"], typeof Q == "function" ? Q : null); | |
| } | |
| var w = { isMounted: function() { | |
| return !1; | |
| }, enqueueForceUpdate: function() { | |
| }, enqueueReplaceState: function() { | |
| }, enqueueSetState: function() { | |
| } }, b = Object.assign, T = {}; | |
| function R(Q, fe, Ge) { | |
| this.props = Q, this.context = fe, this.refs = T, this.updater = Ge || w; | |
| } | |
| R.prototype.isReactComponent = {}, R.prototype.setState = function(Q, fe) { | |
| if (typeof Q != "object" && typeof Q != "function" && Q != 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, Q, fe, "setState"); | |
| }, R.prototype.forceUpdate = function(Q) { | |
| this.updater.enqueueForceUpdate(this, Q, "forceUpdate"); | |
| }; | |
| function D() { | |
| } | |
| D.prototype = R.prototype; | |
| function $(Q, fe, Ge) { | |
| this.props = Q, this.context = fe, this.refs = T, this.updater = Ge || w; | |
| } | |
| var Y = $.prototype = new D(); | |
| Y.constructor = $, b(Y, R.prototype), Y.isPureReactComponent = !0; | |
| var Z = Array.isArray, ne = Object.prototype.hasOwnProperty, te = { current: null }, ie = { key: !0, ref: !0, __self: !0, __source: !0 }; | |
| function ye(Q, fe, Ge) { | |
| var st, lt = {}, Ve = null, ft = null; | |
| if (fe != null) for (st in fe.ref !== void 0 && (ft = fe.ref), fe.key !== void 0 && (Ve = "" + fe.key), fe) ne.call(fe, st) && !ie.hasOwnProperty(st) && (lt[st] = fe[st]); | |
| var Ce = arguments.length - 2; | |
| if (Ce === 1) lt.children = Ge; | |
| else if (1 < Ce) { | |
| for (var Me = Array(Ce), Tt = 0; Tt < Ce; Tt++) Me[Tt] = arguments[Tt + 2]; | |
| lt.children = Me; | |
| } | |
| if (Q && Q.defaultProps) for (st in Ce = Q.defaultProps, Ce) lt[st] === void 0 && (lt[st] = Ce[st]); | |
| return { $$typeof: e, type: Q, key: Ve, ref: ft, props: lt, _owner: te.current }; | |
| } | |
| function J(Q, fe) { | |
| return { $$typeof: e, type: Q.type, key: fe, ref: Q.ref, props: Q.props, _owner: Q._owner }; | |
| } | |
| function de(Q) { | |
| return typeof Q == "object" && Q !== null && Q.$$typeof === e; | |
| } | |
| function ke(Q) { | |
| var fe = { "=": "=0", ":": "=2" }; | |
| return "$" + Q.replace(/[=:]/g, function(Ge) { | |
| return fe[Ge]; | |
| }); | |
| } | |
| var se = /\/+/g; | |
| function Re(Q, fe) { | |
| return typeof Q == "object" && Q !== null && Q.key != null ? ke("" + Q.key) : fe.toString(36); | |
| } | |
| function Ne(Q, fe, Ge, st, lt) { | |
| var Ve = typeof Q; | |
| (Ve === "undefined" || Ve === "boolean") && (Q = null); | |
| var ft = !1; | |
| if (Q === null) ft = !0; | |
| else switch (Ve) { | |
| case "string": | |
| case "number": | |
| ft = !0; | |
| break; | |
| case "object": | |
| switch (Q.$$typeof) { | |
| case e: | |
| case t: | |
| ft = !0; | |
| } | |
| } | |
| if (ft) return ft = Q, lt = lt(ft), Q = st === "" ? "." + Re(ft, 0) : st, Z(lt) ? (Ge = "", Q != null && (Ge = Q.replace(se, "$&/") + "/"), Ne(lt, fe, Ge, "", function(Tt) { | |
| return Tt; | |
| })) : lt != null && (de(lt) && (lt = J(lt, Ge + (!lt.key || ft && ft.key === lt.key ? "" : ("" + lt.key).replace(se, "$&/") + "/") + Q)), fe.push(lt)), 1; | |
| if (ft = 0, st = st === "" ? "." : st + ":", Z(Q)) for (var Ce = 0; Ce < Q.length; Ce++) { | |
| Ve = Q[Ce]; | |
| var Me = st + Re(Ve, Ce); | |
| ft += Ne(Ve, fe, Ge, Me, lt); | |
| } | |
| else if (Me = I(Q), typeof Me == "function") for (Q = Me.call(Q), Ce = 0; !(Ve = Q.next()).done; ) Ve = Ve.value, Me = st + Re(Ve, Ce++), ft += Ne(Ve, fe, Ge, Me, lt); | |
| else if (Ve === "object") throw fe = String(Q), Error("Objects are not valid as a React child (found: " + (fe === "[object Object]" ? "object with keys {" + Object.keys(Q).join(", ") + "}" : fe) + "). If you meant to render a collection of children, use an array instead."); | |
| return ft; | |
| } | |
| function Be(Q, fe, Ge) { | |
| if (Q == null) return Q; | |
| var st = [], lt = 0; | |
| return Ne(Q, st, "", "", function(Ve) { | |
| return fe.call(Ge, Ve, lt++); | |
| }), st; | |
| } | |
| function Ue(Q) { | |
| if (Q._status === -1) { | |
| var fe = Q._result; | |
| fe = fe(), fe.then(function(Ge) { | |
| (Q._status === 0 || Q._status === -1) && (Q._status = 1, Q._result = Ge); | |
| }, function(Ge) { | |
| (Q._status === 0 || Q._status === -1) && (Q._status = 2, Q._result = Ge); | |
| }), Q._status === -1 && (Q._status = 0, Q._result = fe); | |
| } | |
| if (Q._status === 1) return Q._result.default; | |
| throw Q._result; | |
| } | |
| var Xe = { current: null }, G = { transition: null }, me = { ReactCurrentDispatcher: Xe, ReactCurrentBatchConfig: G, ReactCurrentOwner: te }; | |
| function ve() { | |
| throw Error("act(...) is not supported in production builds of React."); | |
| } | |
| return Ln.Children = { map: Be, forEach: function(Q, fe, Ge) { | |
| Be(Q, function() { | |
| fe.apply(this, arguments); | |
| }, Ge); | |
| }, count: function(Q) { | |
| var fe = 0; | |
| return Be(Q, function() { | |
| fe++; | |
| }), fe; | |
| }, toArray: function(Q) { | |
| return Be(Q, function(fe) { | |
| return fe; | |
| }) || []; | |
| }, only: function(Q) { | |
| if (!de(Q)) throw Error("React.Children.only expected to receive a single React element child."); | |
| return Q; | |
| } }, Ln.Component = R, Ln.Fragment = r, Ln.Profiler = u, Ln.PureComponent = $, Ln.StrictMode = o, Ln.Suspense = g, Ln.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = me, Ln.act = ve, Ln.cloneElement = function(Q, fe, Ge) { | |
| if (Q == null) throw Error("React.cloneElement(...): The argument must be a React element, but you passed " + Q + "."); | |
| var st = b({}, Q.props), lt = Q.key, Ve = Q.ref, ft = Q._owner; | |
| if (fe != null) { | |
| if (fe.ref !== void 0 && (Ve = fe.ref, ft = te.current), fe.key !== void 0 && (lt = "" + fe.key), Q.type && Q.type.defaultProps) var Ce = Q.type.defaultProps; | |
| for (Me in fe) ne.call(fe, Me) && !ie.hasOwnProperty(Me) && (st[Me] = fe[Me] === void 0 && Ce !== void 0 ? Ce[Me] : fe[Me]); | |
| } | |
| var Me = arguments.length - 2; | |
| if (Me === 1) st.children = Ge; | |
| else if (1 < Me) { | |
| Ce = Array(Me); | |
| for (var Tt = 0; Tt < Me; Tt++) Ce[Tt] = arguments[Tt + 2]; | |
| st.children = Ce; | |
| } | |
| return { $$typeof: e, type: Q.type, key: lt, ref: Ve, props: st, _owner: ft }; | |
| }, Ln.createContext = function(Q) { | |
| return Q = { $$typeof: c, _currentValue: Q, _currentValue2: Q, _threadCount: 0, Provider: null, Consumer: null, _defaultValue: null, _globalName: null }, Q.Provider = { $$typeof: h, _context: Q }, Q.Consumer = Q; | |
| }, Ln.createElement = ye, Ln.createFactory = function(Q) { | |
| var fe = ye.bind(null, Q); | |
| return fe.type = Q, fe; | |
| }, Ln.createRef = function() { | |
| return { current: null }; | |
| }, Ln.forwardRef = function(Q) { | |
| return { $$typeof: p, render: Q }; | |
| }, Ln.isValidElement = de, Ln.lazy = function(Q) { | |
| return { $$typeof: E, _payload: { _status: -1, _result: Q }, _init: Ue }; | |
| }, Ln.memo = function(Q, fe) { | |
| return { $$typeof: m, type: Q, compare: fe === void 0 ? null : fe }; | |
| }, Ln.startTransition = function(Q) { | |
| var fe = G.transition; | |
| G.transition = {}; | |
| try { | |
| Q(); | |
| } finally { | |
| G.transition = fe; | |
| } | |
| }, Ln.unstable_act = ve, Ln.useCallback = function(Q, fe) { | |
| return Xe.current.useCallback(Q, fe); | |
| }, Ln.useContext = function(Q) { | |
| return Xe.current.useContext(Q); | |
| }, Ln.useDebugValue = function() { | |
| }, Ln.useDeferredValue = function(Q) { | |
| return Xe.current.useDeferredValue(Q); | |
| }, Ln.useEffect = function(Q, fe) { | |
| return Xe.current.useEffect(Q, fe); | |
| }, Ln.useId = function() { | |
| return Xe.current.useId(); | |
| }, Ln.useImperativeHandle = function(Q, fe, Ge) { | |
| return Xe.current.useImperativeHandle(Q, fe, Ge); | |
| }, Ln.useInsertionEffect = function(Q, fe) { | |
| return Xe.current.useInsertionEffect(Q, fe); | |
| }, Ln.useLayoutEffect = function(Q, fe) { | |
| return Xe.current.useLayoutEffect(Q, fe); | |
| }, Ln.useMemo = function(Q, fe) { | |
| return Xe.current.useMemo(Q, fe); | |
| }, Ln.useReducer = function(Q, fe, Ge) { | |
| return Xe.current.useReducer(Q, fe, Ge); | |
| }, Ln.useRef = function(Q) { | |
| return Xe.current.useRef(Q); | |
| }, Ln.useState = function(Q) { | |
| return Xe.current.useState(Q); | |
| }, Ln.useSyncExternalStore = function(Q, fe, Ge) { | |
| return Xe.current.useSyncExternalStore(Q, fe, Ge); | |
| }, Ln.useTransition = function() { | |
| return Xe.current.useTransition(); | |
| }, Ln.version = "18.3.1", Ln; | |
| } | |
| var hx; | |
| function oo() { | |
| return hx || (hx = 1, U0.exports = cO()), U0.exports; | |
| } | |
| /** | |
| * @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 px; | |
| function dO() { | |
| if (px) return ug; | |
| px = 1; | |
| var e = oo(), t = Symbol.for("react.element"), r = Symbol.for("react.fragment"), o = Object.prototype.hasOwnProperty, u = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, h = { key: !0, ref: !0, __self: !0, __source: !0 }; | |
| function c(p, g, m) { | |
| var E, S = {}, I = null, w = null; | |
| m !== void 0 && (I = "" + m), g.key !== void 0 && (I = "" + g.key), g.ref !== void 0 && (w = g.ref); | |
| for (E in g) o.call(g, E) && !h.hasOwnProperty(E) && (S[E] = g[E]); | |
| if (p && p.defaultProps) for (E in g = p.defaultProps, g) S[E] === void 0 && (S[E] = g[E]); | |
| return { $$typeof: t, type: p, key: I, ref: w, props: S, _owner: u.current }; | |
| } | |
| return ug.Fragment = r, ug.jsx = c, ug.jsxs = c, ug; | |
| } | |
| var gx; | |
| function fO() { | |
| return gx || (gx = 1, W0.exports = dO()), W0.exports; | |
| } | |
| var De = fO(), V = oo(); | |
| const le = /* @__PURE__ */ qb(V); | |
| var $0 = { exports: {} }, V0, mx; | |
| function hO() { | |
| if (mx) return V0; | |
| mx = 1; | |
| var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"; | |
| return V0 = e, V0; | |
| } | |
| var q0, vx; | |
| function pO() { | |
| if (vx) return q0; | |
| vx = 1; | |
| var e = /* @__PURE__ */ hO(); | |
| function t() { | |
| } | |
| function r() { | |
| } | |
| return r.resetWarningCache = t, q0 = function() { | |
| function o(c, p, g, m, E, S) { | |
| if (S !== e) { | |
| var I = new Error( | |
| "Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types" | |
| ); | |
| throw I.name = "Invariant Violation", I; | |
| } | |
| } | |
| o.isRequired = o; | |
| function u() { | |
| return o; | |
| } | |
| var h = { | |
| array: o, | |
| bigint: o, | |
| bool: o, | |
| func: o, | |
| number: o, | |
| object: o, | |
| string: o, | |
| symbol: o, | |
| any: o, | |
| arrayOf: u, | |
| element: o, | |
| elementType: o, | |
| instanceOf: u, | |
| node: o, | |
| objectOf: u, | |
| oneOf: u, | |
| oneOfType: u, | |
| shape: u, | |
| exact: u, | |
| checkPropTypes: r, | |
| resetWarningCache: t | |
| }; | |
| return h.PropTypes = h, h; | |
| }, q0; | |
| } | |
| var yx; | |
| function gO() { | |
| return yx || (yx = 1, $0.exports = /* @__PURE__ */ pO()()), $0.exports; | |
| } | |
| var mO = /* @__PURE__ */ gO(); | |
| const he = /* @__PURE__ */ qb(mO); | |
| var vO = he.string; | |
| he.oneOfType([he.oneOf(["baseline", "center", "end", "start", "stretch"]), he.string]); | |
| var Ly = he.oneOf(["fadeIn", "fadeOut", "jiggle", "pulse", "rotateLeft", "rotateRight", "slideUp", "slideDown", "slideLeft", "slideRight", "zoomIn", "zoomOut"]), bx = he.shape({ | |
| type: Ly, | |
| delay: he.number, | |
| duration: he.number, | |
| size: he.oneOf(["xsmall", "small", "medium", "large", "xlarge"]) | |
| }), yO = he.oneOfType([Ly, bx, he.arrayOf(he.oneOfType([Ly, bx]))]), bO = he.oneOfType([he.string, he.shape({ | |
| dark: he.string, | |
| light: he.string | |
| })]), xx = he.oneOfType([he.string, he.shape({ | |
| clip: he.oneOfType([he.oneOf(["text"]), he.string]), | |
| color: bO, | |
| dark: he.oneOfType([he.bool, he.string]), | |
| image: he.string, | |
| position: he.string, | |
| opacity: he.oneOfType([he.string, he.bool, he.number, he.oneOf(["weak", "medium", "strong"])]), | |
| repeat: he.oneOfType([he.oneOf(["no-repeat", "repeat"]), he.string]), | |
| rotate: he.oneOfType([he.number, he.string]), | |
| size: he.oneOfType([he.oneOf(["cover", "contain"]), he.string]), | |
| light: he.string | |
| })]), Ou = ["xxsmall", "xsmall", "small", "medium", "large", "xlarge"], xO = he.oneOfType([he.oneOf(["none"].concat(Ou)), he.shape({ | |
| bottom: he.oneOfType([he.oneOf(Ou), he.string]), | |
| end: he.oneOfType([he.oneOf(Ou), he.string]), | |
| horizontal: he.oneOfType([he.oneOf(Ou), he.string]), | |
| left: he.oneOfType([he.oneOf(Ou), he.string]), | |
| right: he.oneOfType([he.oneOf(Ou), he.string]), | |
| start: he.oneOfType([he.oneOf(Ou), he.string]), | |
| top: he.oneOfType([he.oneOf(Ou), he.string]), | |
| vertical: he.oneOfType([he.oneOf(Ou), he.string]) | |
| }), he.string]), Pu = ["xxsmall", "xsmall", "small", "medium", "large", "xlarge"]; | |
| he.oneOfType([he.oneOf(["none"].concat(Pu)), he.shape({ | |
| bottom: he.oneOfType([he.oneOf(Pu), he.string]), | |
| end: he.oneOfType([he.oneOf(Pu), he.string]), | |
| horizontal: he.oneOfType([he.oneOf(Pu), he.string]), | |
| left: he.oneOfType([he.oneOf(Pu), he.string]), | |
| right: he.oneOfType([he.oneOf(Pu), he.string]), | |
| start: he.oneOfType([he.oneOf(Pu), he.string]), | |
| top: he.oneOfType([he.oneOf(Pu), he.string]), | |
| vertical: he.oneOfType([he.oneOf(Pu), he.string]) | |
| }), he.string]); | |
| var wO = { | |
| a11yTitle: vO, | |
| alignSelf: he.oneOf(["start", "center", "end", "stretch", "baseline"]), | |
| gridArea: he.string, | |
| margin: xO | |
| }, SO = he.oneOfType([he.oneOf(["none", "xsmall", "small", "medium", "large", "xlarge"]), he.string]); | |
| he.oneOfType([he.bool, he.string, he.oneOf(["background"]), xx, he.shape({ | |
| background: xx, | |
| elevation: SO | |
| })]); | |
| he.oneOf(["circle", "diamond", "square", "star", "triangle", "triangleDown"]); | |
| he.oneOf(["squares", "circles", "stripesHorizontal", "stripesVertical", "stripesDiagonalDown", "stripesDiagonalUp"]); | |
| he.oneOfType([he.bool, he.oneOf(["xsmall", "small", "medium", "large", "xlarge", "full"]), he.string, he.shape({ | |
| corner: he.oneOf(["top", "left", "bottom", "right", "top-left", "top-right", "bottom-left", "bottom-right"]), | |
| size: he.oneOfType([he.oneOf(["xsmall", "small", "medium", "large", "xlarge"]), he.string]) | |
| })]); | |
| var kO = he.shape({ | |
| dark: he.arrayOf(he.string), | |
| light: he.arrayOf(he.string) | |
| }); | |
| he.oneOfType([he.bool, he.shape({ | |
| animation: yO, | |
| colors: kO, | |
| depth: he.number, | |
| message: he.oneOfType([he.string, he.shape({ | |
| start: he.string, | |
| end: he.string | |
| })]) | |
| })]); | |
| var qc = he.oneOf(["xxsmall", "xsmall", "small", "medium", "large", "xlarge", "xxlarge"]); | |
| he.oneOfType([qc, he.string, he.shape({ | |
| height: he.oneOfType([qc, he.string]), | |
| min: he.oneOfType([qc, he.string]), | |
| max: he.oneOfType([qc, he.string]) | |
| })]); | |
| he.oneOfType([qc, he.string, he.shape({ | |
| width: he.oneOfType([qc, he.string]), | |
| min: he.oneOfType([qc, he.string]), | |
| max: he.oneOfType([qc, he.string]) | |
| })]); | |
| var G0 = ["auto", "hidden", "scroll", "visible"], qi = function() { | |
| return qi = Object.assign || function(t) { | |
| for (var r, o = 1, u = arguments.length; o < u; o++) { | |
| r = arguments[o]; | |
| for (var h in r) Object.prototype.hasOwnProperty.call(r, h) && (t[h] = r[h]); | |
| } | |
| return t; | |
| }, qi.apply(this, arguments); | |
| }; | |
| function Gh(e, t, r) { | |
| if (r || arguments.length === 2) for (var o = 0, u = t.length, h; o < u; o++) | |
| (h || !(o in t)) && (h || (h = Array.prototype.slice.call(t, 0, o)), h[o] = t[o]); | |
| return e.concat(h || Array.prototype.slice.call(t)); | |
| } | |
| var Y0, wx; | |
| function CO() { | |
| return wx || (wx = 1, Y0 = function(t, r, o, u) { | |
| var h = o ? o.call(u, t, r) : void 0; | |
| if (h !== void 0) | |
| return !!h; | |
| if (t === r) | |
| return !0; | |
| if (typeof t != "object" || !t || typeof r != "object" || !r) | |
| return !1; | |
| var c = Object.keys(t), p = Object.keys(r); | |
| if (c.length !== p.length) | |
| return !1; | |
| for (var g = Object.prototype.hasOwnProperty.bind(r), m = 0; m < c.length; m++) { | |
| var E = c[m]; | |
| if (!g(E)) | |
| return !1; | |
| var S = t[E], I = r[E]; | |
| if (h = o ? o.call(u, S, I, E) : void 0, h === !1 || h === void 0 && S !== I) | |
| return !1; | |
| } | |
| return !0; | |
| }), Y0; | |
| } | |
| var EO = CO(); | |
| const OO = /* @__PURE__ */ qb(EO); | |
| var Ko = "-ms-", $g = "-moz-", fo = "-webkit-", xk = "comm", Jv = "rule", Gb = "decl", PO = "@import", wk = "@keyframes", IO = "@layer", Sk = Math.abs, Yb = String.fromCharCode, My = Object.assign; | |
| function TO(e, t) { | |
| return fa(e, 0) ^ 45 ? (((t << 2 ^ fa(e, 0)) << 2 ^ fa(e, 1)) << 2 ^ fa(e, 2)) << 2 ^ fa(e, 3) : 0; | |
| } | |
| function kk(e) { | |
| return e.trim(); | |
| } | |
| function Ru(e, t) { | |
| return (e = t.exec(e)) ? e[0] : e; | |
| } | |
| function En(e, t, r) { | |
| return e.replace(t, r); | |
| } | |
| function yv(e, t, r) { | |
| return e.indexOf(t, r); | |
| } | |
| function fa(e, t) { | |
| return e.charCodeAt(t) | 0; | |
| } | |
| function Yh(e, t, r) { | |
| return e.slice(t, r); | |
| } | |
| function Kl(e) { | |
| return e.length; | |
| } | |
| function Ck(e) { | |
| return e.length; | |
| } | |
| function Wg(e, t) { | |
| return t.push(e), e; | |
| } | |
| function RO(e, t) { | |
| return e.map(t).join(""); | |
| } | |
| function Sx(e, t) { | |
| return e.filter(function(r) { | |
| return !Ru(r, t); | |
| }); | |
| } | |
| var Zv = 1, Kh = 1, Ek = 0, Gs = 0, Vi = 0, rp = ""; | |
| function e0(e, t, r, o, u, h, c, p) { | |
| return { value: e, root: t, parent: r, type: o, props: u, children: h, line: Zv, column: Kh, length: c, return: "", siblings: p }; | |
| } | |
| function _c(e, t) { | |
| return My(e0("", null, null, "", null, null, 0, e.siblings), e, { length: -e.length }, t); | |
| } | |
| function wh(e) { | |
| for (; e.root; ) | |
| e = _c(e.root, { children: [e] }); | |
| Wg(e, e.siblings); | |
| } | |
| function _O() { | |
| return Vi; | |
| } | |
| function AO() { | |
| return Vi = Gs > 0 ? fa(rp, --Gs) : 0, Kh--, Vi === 10 && (Kh = 1, Zv--), Vi; | |
| } | |
| function yl() { | |
| return Vi = Gs < Ek ? fa(rp, Gs++) : 0, Kh++, Vi === 10 && (Kh = 1, Zv++), Vi; | |
| } | |
| function hf() { | |
| return fa(rp, Gs); | |
| } | |
| function bv() { | |
| return Gs; | |
| } | |
| function t0(e, t) { | |
| return Yh(rp, e, t); | |
| } | |
| function zy(e) { | |
| switch (e) { | |
| // \0 \t \n \r \s whitespace token | |
| case 0: | |
| case 9: | |
| case 10: | |
| case 13: | |
| case 32: | |
| return 5; | |
| // ! + , / > @ ~ isolate token | |
| case 33: | |
| case 43: | |
| case 44: | |
| case 47: | |
| case 62: | |
| case 64: | |
| case 126: | |
| // ; { } breakpoint token | |
| case 59: | |
| case 123: | |
| case 125: | |
| return 4; | |
| // : accompanied token | |
| case 58: | |
| return 3; | |
| // " ' ( [ opening delimit token | |
| case 34: | |
| case 39: | |
| case 40: | |
| case 91: | |
| return 2; | |
| // ) ] closing delimit token | |
| case 41: | |
| case 93: | |
| return 1; | |
| } | |
| return 0; | |
| } | |
| function LO(e) { | |
| return Zv = Kh = 1, Ek = Kl(rp = e), Gs = 0, []; | |
| } | |
| function MO(e) { | |
| return rp = "", e; | |
| } | |
| function K0(e) { | |
| return kk(t0(Gs - 1, Fy(e === 91 ? e + 2 : e === 40 ? e + 1 : e))); | |
| } | |
| function zO(e) { | |
| for (; (Vi = hf()) && Vi < 33; ) | |
| yl(); | |
| return zy(e) > 2 || zy(Vi) > 3 ? "" : " "; | |
| } | |
| function FO(e, t) { | |
| for (; --t && yl() && !(Vi < 48 || Vi > 102 || Vi > 57 && Vi < 65 || Vi > 70 && Vi < 97); ) | |
| ; | |
| return t0(e, bv() + (t < 6 && hf() == 32 && yl() == 32)); | |
| } | |
| function Fy(e) { | |
| for (; yl(); ) | |
| switch (Vi) { | |
| // ] ) " ' | |
| case e: | |
| return Gs; | |
| // " ' | |
| case 34: | |
| case 39: | |
| e !== 34 && e !== 39 && Fy(Vi); | |
| break; | |
| // ( | |
| case 40: | |
| e === 41 && Fy(e); | |
| break; | |
| // \ | |
| case 92: | |
| yl(); | |
| break; | |
| } | |
| return Gs; | |
| } | |
| function NO(e, t) { | |
| for (; yl() && e + Vi !== 57; ) | |
| if (e + Vi === 84 && hf() === 47) | |
| break; | |
| return "/*" + t0(t, Gs - 1) + "*" + Yb(e === 47 ? e : yl()); | |
| } | |
| function jO(e) { | |
| for (; !zy(hf()); ) | |
| yl(); | |
| return t0(e, Gs); | |
| } | |
| function DO(e) { | |
| return MO(xv("", null, null, null, [""], e = LO(e), 0, [0], e)); | |
| } | |
| function xv(e, t, r, o, u, h, c, p, g) { | |
| for (var m = 0, E = 0, S = c, I = 0, w = 0, b = 0, T = 1, R = 1, D = 1, $ = 0, Y = "", Z = u, ne = h, te = o, ie = Y; R; ) | |
| switch (b = $, $ = yl()) { | |
| // ( | |
| case 40: | |
| if (b != 108 && fa(ie, S - 1) == 58) { | |
| yv(ie += En(K0($), "&", "&\f"), "&\f", Sk(m ? p[m - 1] : 0)) != -1 && (D = -1); | |
| break; | |
| } | |
| // " ' [ | |
| case 34: | |
| case 39: | |
| case 91: | |
| ie += K0($); | |
| break; | |
| // \t \n \r \s | |
| case 9: | |
| case 10: | |
| case 13: | |
| case 32: | |
| ie += zO(b); | |
| break; | |
| // \ | |
| case 92: | |
| ie += FO(bv() - 1, 7); | |
| continue; | |
| // / | |
| case 47: | |
| switch (hf()) { | |
| case 42: | |
| case 47: | |
| Wg(BO(NO(yl(), bv()), t, r, g), g); | |
| break; | |
| default: | |
| ie += "/"; | |
| } | |
| break; | |
| // { | |
| case 123 * T: | |
| p[m++] = Kl(ie) * D; | |
| // } ; \0 | |
| case 125 * T: | |
| case 59: | |
| case 0: | |
| switch ($) { | |
| // \0 } | |
| case 0: | |
| case 125: | |
| R = 0; | |
| // ; | |
| case 59 + E: | |
| D == -1 && (ie = En(ie, /\f/g, "")), w > 0 && Kl(ie) - S && Wg(w > 32 ? Cx(ie + ";", o, r, S - 1, g) : Cx(En(ie, " ", "") + ";", o, r, S - 2, g), g); | |
| break; | |
| // @ ; | |
| case 59: | |
| ie += ";"; | |
| // { rule/at-rule | |
| default: | |
| if (Wg(te = kx(ie, t, r, m, E, u, p, Y, Z = [], ne = [], S, h), h), $ === 123) | |
| if (E === 0) | |
| xv(ie, t, te, te, Z, h, S, p, ne); | |
| else | |
| switch (I === 99 && fa(ie, 3) === 110 ? 100 : I) { | |
| // d l m s | |
| case 100: | |
| case 108: | |
| case 109: | |
| case 115: | |
| xv(e, te, te, o && Wg(kx(e, te, te, 0, 0, u, p, Y, u, Z = [], S, ne), ne), u, ne, S, p, o ? Z : ne); | |
| break; | |
| default: | |
| xv(ie, te, te, te, [""], ne, 0, p, ne); | |
| } | |
| } | |
| m = E = w = 0, T = D = 1, Y = ie = "", S = c; | |
| break; | |
| // : | |
| case 58: | |
| S = 1 + Kl(ie), w = b; | |
| default: | |
| if (T < 1) { | |
| if ($ == 123) | |
| --T; | |
| else if ($ == 125 && T++ == 0 && AO() == 125) | |
| continue; | |
| } | |
| switch (ie += Yb($), $ * T) { | |
| // & | |
| case 38: | |
| D = E > 0 ? 1 : (ie += "\f", -1); | |
| break; | |
| // , | |
| case 44: | |
| p[m++] = (Kl(ie) - 1) * D, D = 1; | |
| break; | |
| // @ | |
| case 64: | |
| hf() === 45 && (ie += K0(yl())), I = hf(), E = S = Kl(Y = ie += jO(bv())), $++; | |
| break; | |
| // - | |
| case 45: | |
| b === 45 && Kl(ie) == 2 && (T = 0); | |
| } | |
| } | |
| return h; | |
| } | |
| function kx(e, t, r, o, u, h, c, p, g, m, E, S) { | |
| for (var I = u - 1, w = u === 0 ? h : [""], b = Ck(w), T = 0, R = 0, D = 0; T < o; ++T) | |
| for (var $ = 0, Y = Yh(e, I + 1, I = Sk(R = c[T])), Z = e; $ < b; ++$) | |
| (Z = kk(R > 0 ? w[$] + " " + Y : En(Y, /&\f/g, w[$]))) && (g[D++] = Z); | |
| return e0(e, t, r, u === 0 ? Jv : p, g, m, E, S); | |
| } | |
| function BO(e, t, r, o) { | |
| return e0(e, t, r, xk, Yb(_O()), Yh(e, 2, -2), 0, o); | |
| } | |
| function Cx(e, t, r, o, u) { | |
| return e0(e, t, r, Gb, Yh(e, 0, o), Yh(e, o + 1, -1), o, u); | |
| } | |
| function Ok(e, t, r) { | |
| switch (TO(e, t)) { | |
| // color-adjust | |
| case 5103: | |
| return fo + "print-" + e + e; | |
| // animation, animation-(delay|direction|duration|fill-mode|iteration-count|name|play-state|timing-function) | |
| case 5737: | |
| case 4201: | |
| case 3177: | |
| case 3433: | |
| case 1641: | |
| case 4457: | |
| case 2921: | |
| // text-decoration, filter, clip-path, backface-visibility, column, box-decoration-break | |
| case 5572: | |
| case 6356: | |
| case 5844: | |
| case 3191: | |
| case 6645: | |
| case 3005: | |
| // mask, mask-image, mask-(mode|clip|size), mask-(repeat|origin), mask-position, mask-composite, | |
| case 6391: | |
| case 5879: | |
| case 5623: | |
| case 6135: | |
| case 4599: | |
| case 4855: | |
| // background-clip, columns, column-(count|fill|gap|rule|rule-color|rule-style|rule-width|span|width) | |
| case 4215: | |
| case 6389: | |
| case 5109: | |
| case 5365: | |
| case 5621: | |
| case 3829: | |
| return fo + e + e; | |
| // tab-size | |
| case 4789: | |
| return $g + e + e; | |
| // appearance, user-select, transform, hyphens, text-size-adjust | |
| case 5349: | |
| case 4246: | |
| case 4810: | |
| case 6968: | |
| case 2756: | |
| return fo + e + $g + e + Ko + e + e; | |
| // writing-mode | |
| case 5936: | |
| switch (fa(e, t + 11)) { | |
| // vertical-l(r) | |
| case 114: | |
| return fo + e + Ko + En(e, /[svh]\w+-[tblr]{2}/, "tb") + e; | |
| // vertical-r(l) | |
| case 108: | |
| return fo + e + Ko + En(e, /[svh]\w+-[tblr]{2}/, "tb-rl") + e; | |
| // horizontal(-)tb | |
| case 45: | |
| return fo + e + Ko + En(e, /[svh]\w+-[tblr]{2}/, "lr") + e; | |
| } | |
| // flex, flex-direction, scroll-snap-type, writing-mode | |
| case 6828: | |
| case 4268: | |
| case 2903: | |
| return fo + e + Ko + e + e; | |
| // order | |
| case 6165: | |
| return fo + e + Ko + "flex-" + e + e; | |
| // align-items | |
| case 5187: | |
| return fo + e + En(e, /(\w+).+(:[^]+)/, fo + "box-$1$2" + Ko + "flex-$1$2") + e; | |
| // align-self | |
| case 5443: | |
| return fo + e + Ko + "flex-item-" + En(e, /flex-|-self/g, "") + (Ru(e, /flex-|baseline/) ? "" : Ko + "grid-row-" + En(e, /flex-|-self/g, "")) + e; | |
| // align-content | |
| case 4675: | |
| return fo + e + Ko + "flex-line-pack" + En(e, /align-content|flex-|-self/g, "") + e; | |
| // flex-shrink | |
| case 5548: | |
| return fo + e + Ko + En(e, "shrink", "negative") + e; | |
| // flex-basis | |
| case 5292: | |
| return fo + e + Ko + En(e, "basis", "preferred-size") + e; | |
| // flex-grow | |
| case 6060: | |
| return fo + "box-" + En(e, "-grow", "") + fo + e + Ko + En(e, "grow", "positive") + e; | |
| // transition | |
| case 4554: | |
| return fo + En(e, /([^-])(transform)/g, "$1" + fo + "$2") + e; | |
| // cursor | |
| case 6187: | |
| return En(En(En(e, /(zoom-|grab)/, fo + "$1"), /(image-set)/, fo + "$1"), e, "") + e; | |
| // background, background-image | |
| case 5495: | |
| case 3959: | |
| return En(e, /(image-set\([^]*)/, fo + "$1$`$1"); | |
| // justify-content | |
| case 4968: | |
| return En(En(e, /(.+:)(flex-)?(.*)/, fo + "box-pack:$3" + Ko + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + fo + e + e; | |
| // justify-self | |
| case 4200: | |
| if (!Ru(e, /flex-|baseline/)) return Ko + "grid-column-align" + Yh(e, t) + e; | |
| break; | |
| // grid-template-(columns|rows) | |
| case 2592: | |
| case 3360: | |
| return Ko + En(e, "template-", "") + e; | |
| // grid-(row|column)-start | |
| case 4384: | |
| case 3616: | |
| return r && r.some(function(o, u) { | |
| return t = u, Ru(o.props, /grid-\w+-end/); | |
| }) ? ~yv(e + (r = r[t].value), "span", 0) ? e : Ko + En(e, "-start", "") + e + Ko + "grid-row-span:" + (~yv(r, "span", 0) ? Ru(r, /\d+/) : +Ru(r, /\d+/) - +Ru(e, /\d+/)) + ";" : Ko + En(e, "-start", "") + e; | |
| // grid-(row|column)-end | |
| case 4896: | |
| case 4128: | |
| return r && r.some(function(o) { | |
| return Ru(o.props, /grid-\w+-start/); | |
| }) ? e : Ko + En(En(e, "-end", "-span"), "span ", "") + e; | |
| // (margin|padding)-inline-(start|end) | |
| case 4095: | |
| case 3583: | |
| case 4068: | |
| case 2532: | |
| return En(e, /(.+)-inline(.+)/, fo + "$1$2") + e; | |
| // (min|max)?(width|height|inline-size|block-size) | |
| 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 (Kl(e) - 1 - t > 6) | |
| switch (fa(e, t + 1)) { | |
| // (m)ax-content, (m)in-content | |
| case 109: | |
| if (fa(e, t + 4) !== 45) | |
| break; | |
| // (f)ill-available, (f)it-content | |
| case 102: | |
| return En(e, /(.+:)(.+)-([^]+)/, "$1" + fo + "$2-$3$1" + $g + (fa(e, t + 3) == 108 ? "$3" : "$2-$3")) + e; | |
| // (s)tretch | |
| case 115: | |
| return ~yv(e, "stretch", 0) ? Ok(En(e, "stretch", "fill-available"), t, r) + e : e; | |
| } | |
| break; | |
| // grid-(column|row) | |
| case 5152: | |
| case 5920: | |
| return En(e, /(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/, function(o, u, h, c, p, g, m) { | |
| return Ko + u + ":" + h + m + (c ? Ko + u + "-span:" + (p ? g : +g - +h) + m : "") + e; | |
| }); | |
| // position: sticky | |
| case 4949: | |
| if (fa(e, t + 6) === 121) | |
| return En(e, ":", ":" + fo) + e; | |
| break; | |
| // display: (flex|inline-flex|grid|inline-grid) | |
| case 6444: | |
| switch (fa(e, fa(e, 14) === 45 ? 18 : 11)) { | |
| // (inline-)?fle(x) | |
| case 120: | |
| return En(e, /(.+:)([^;\s!]+)(;|(\s+)?!.+)?/, "$1" + fo + (fa(e, 14) === 45 ? "inline-" : "") + "box$3$1" + fo + "$2$3$1" + Ko + "$2box$3") + e; | |
| // (inline-)?gri(d) | |
| case 100: | |
| return En(e, ":", ":" + Ko) + e; | |
| } | |
| break; | |
| // scroll-margin, scroll-margin-(top|right|bottom|left) | |
| case 5719: | |
| case 2647: | |
| case 2135: | |
| case 3927: | |
| case 2391: | |
| return En(e, "scroll-", "scroll-snap-") + e; | |
| } | |
| return e; | |
| } | |
| function Tv(e, t) { | |
| for (var r = "", o = 0; o < e.length; o++) | |
| r += t(e[o], o, e, t) || ""; | |
| return r; | |
| } | |
| function HO(e, t, r, o) { | |
| switch (e.type) { | |
| case IO: | |
| if (e.children.length) break; | |
| case PO: | |
| case Gb: | |
| return e.return = e.return || e.value; | |
| case xk: | |
| return ""; | |
| case wk: | |
| return e.return = e.value + "{" + Tv(e.children, o) + "}"; | |
| case Jv: | |
| if (!Kl(e.value = e.props.join(","))) return ""; | |
| } | |
| return Kl(r = Tv(e.children, o)) ? e.return = e.value + "{" + r + "}" : ""; | |
| } | |
| function WO(e) { | |
| var t = Ck(e); | |
| return function(r, o, u, h) { | |
| for (var c = "", p = 0; p < t; p++) | |
| c += e[p](r, o, u, h) || ""; | |
| return c; | |
| }; | |
| } | |
| function UO(e) { | |
| return function(t) { | |
| t.root || (t = t.return) && e(t); | |
| }; | |
| } | |
| function $O(e, t, r, o) { | |
| if (e.length > -1 && !e.return) | |
| switch (e.type) { | |
| case Gb: | |
| e.return = Ok(e.value, e.length, r); | |
| return; | |
| case wk: | |
| return Tv([_c(e, { value: En(e.value, "@", "@" + fo) })], o); | |
| case Jv: | |
| if (e.length) | |
| return RO(r = e.props, function(u) { | |
| switch (Ru(u, o = /(::plac\w+|:read-\w+)/)) { | |
| // :read-(only|write) | |
| case ":read-only": | |
| case ":read-write": | |
| wh(_c(e, { props: [En(u, /:(read-\w+)/, ":" + $g + "$1")] })), wh(_c(e, { props: [u] })), My(e, { props: Sx(r, o) }); | |
| break; | |
| // :placeholder | |
| case "::placeholder": | |
| wh(_c(e, { props: [En(u, /:(plac\w+)/, ":" + fo + "input-$1")] })), wh(_c(e, { props: [En(u, /:(plac\w+)/, ":" + $g + "$1")] })), wh(_c(e, { props: [En(u, /:(plac\w+)/, Ko + "input-$1")] })), wh(_c(e, { props: [u] })), My(e, { props: Sx(r, o) }); | |
| break; | |
| } | |
| return ""; | |
| }); | |
| } | |
| } | |
| var VO = { | |
| animationIterationCount: 1, | |
| aspectRatio: 1, | |
| borderImageOutset: 1, | |
| borderImageSlice: 1, | |
| borderImageWidth: 1, | |
| boxFlex: 1, | |
| boxFlexGroup: 1, | |
| boxOrdinalGroup: 1, | |
| columnCount: 1, | |
| columns: 1, | |
| flex: 1, | |
| flexGrow: 1, | |
| flexPositive: 1, | |
| flexShrink: 1, | |
| flexNegative: 1, | |
| flexOrder: 1, | |
| gridRow: 1, | |
| gridRowEnd: 1, | |
| gridRowSpan: 1, | |
| gridRowStart: 1, | |
| gridColumn: 1, | |
| gridColumnEnd: 1, | |
| gridColumnSpan: 1, | |
| gridColumnStart: 1, | |
| msGridRow: 1, | |
| msGridRowSpan: 1, | |
| msGridColumn: 1, | |
| msGridColumnSpan: 1, | |
| fontWeight: 1, | |
| lineHeight: 1, | |
| opacity: 1, | |
| order: 1, | |
| orphans: 1, | |
| tabSize: 1, | |
| widows: 1, | |
| zIndex: 1, | |
| zoom: 1, | |
| WebkitLineClamp: 1, | |
| // SVG-related properties | |
| fillOpacity: 1, | |
| floodOpacity: 1, | |
| stopOpacity: 1, | |
| strokeDasharray: 1, | |
| strokeDashoffset: 1, | |
| strokeMiterlimit: 1, | |
| strokeOpacity: 1, | |
| strokeWidth: 1 | |
| }, za = { env: {} }, Xc = typeof za < "u" && za.env !== void 0 && (za.env.REACT_APP_SC_ATTR || za.env.SC_ATTR) || "data-styled", Pk = "active", Rv = "data-styled-version", mf = "6.1.19", Kb = `/*!sc*/ | |
| `, _v = typeof window < "u" && typeof document < "u", qO = !!(typeof SC_DISABLE_SPEEDY == "boolean" ? SC_DISABLE_SPEEDY : typeof za < "u" && za.env !== void 0 && za.env.REACT_APP_SC_DISABLE_SPEEDY !== void 0 && za.env.REACT_APP_SC_DISABLE_SPEEDY !== "" ? za.env.REACT_APP_SC_DISABLE_SPEEDY !== "false" && za.env.REACT_APP_SC_DISABLE_SPEEDY : typeof za < "u" && za.env !== void 0 && za.env.SC_DISABLE_SPEEDY !== void 0 && za.env.SC_DISABLE_SPEEDY !== "" && za.env.SC_DISABLE_SPEEDY !== "false" && za.env.SC_DISABLE_SPEEDY), GO = {}, r0 = Object.freeze([]), Xh = Object.freeze({}); | |
| function Xb(e, t, r) { | |
| return r === void 0 && (r = Xh), e.theme !== r.theme && e.theme || t || r.theme; | |
| } | |
| var Ik = /* @__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"]), YO = /[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g, KO = /(^-|-$)/g; | |
| function Ex(e) { | |
| return e.replace(YO, "-").replace(KO, ""); | |
| } | |
| var XO = /(a)(d)/gi, sv = 52, Ox = function(e) { | |
| return String.fromCharCode(e + (e > 25 ? 39 : 97)); | |
| }; | |
| function Ny(e) { | |
| var t, r = ""; | |
| for (t = Math.abs(e); t > sv; t = t / sv | 0) r = Ox(t % sv) + r; | |
| return (Ox(t % sv) + r).replace(XO, "$1-$2"); | |
| } | |
| var X0, Tk = 5381, Ih = function(e, t) { | |
| for (var r = t.length; r; ) e = 33 * e ^ t.charCodeAt(--r); | |
| return e; | |
| }, Rk = function(e) { | |
| return Ih(Tk, e); | |
| }; | |
| function Qb(e) { | |
| return Ny(Rk(e) >>> 0); | |
| } | |
| function _k(e) { | |
| return e.displayName || e.name || "Component"; | |
| } | |
| function Q0(e) { | |
| return typeof e == "string" && !0; | |
| } | |
| var Ak = typeof Symbol == "function" && Symbol.for, Lk = Ak ? Symbol.for("react.memo") : 60115, QO = Ak ? Symbol.for("react.forward_ref") : 60112, JO = { childContextTypes: !0, contextType: !0, contextTypes: !0, defaultProps: !0, displayName: !0, getDefaultProps: !0, getDerivedStateFromError: !0, getDerivedStateFromProps: !0, mixins: !0, propTypes: !0, type: !0 }, ZO = { name: !0, length: !0, prototype: !0, caller: !0, callee: !0, arguments: !0, arity: !0 }, Mk = { $$typeof: !0, compare: !0, defaultProps: !0, displayName: !0, propTypes: !0, type: !0 }, eP = ((X0 = {})[QO] = { $$typeof: !0, render: !0, defaultProps: !0, displayName: !0, propTypes: !0 }, X0[Lk] = Mk, X0); | |
| function Px(e) { | |
| return ("type" in (t = e) && t.type.$$typeof) === Lk ? Mk : "$$typeof" in e ? eP[e.$$typeof] : JO; | |
| var t; | |
| } | |
| var tP = Object.defineProperty, rP = Object.getOwnPropertyNames, Ix = Object.getOwnPropertySymbols, nP = Object.getOwnPropertyDescriptor, oP = Object.getPrototypeOf, Tx = Object.prototype; | |
| function Jb(e, t, r) { | |
| if (typeof t != "string") { | |
| if (Tx) { | |
| var o = oP(t); | |
| o && o !== Tx && Jb(e, o, r); | |
| } | |
| var u = rP(t); | |
| Ix && (u = u.concat(Ix(t))); | |
| for (var h = Px(e), c = Px(t), p = 0; p < u.length; ++p) { | |
| var g = u[p]; | |
| if (!(g in ZO || r && r[g] || c && g in c || h && g in h)) { | |
| var m = nP(t, g); | |
| try { | |
| tP(e, g, m); | |
| } catch { | |
| } | |
| } | |
| } | |
| } | |
| return e; | |
| } | |
| function vf(e) { | |
| return typeof e == "function"; | |
| } | |
| function n0(e) { | |
| return typeof e == "object" && "styledComponentId" in e; | |
| } | |
| function ef(e, t) { | |
| return e && t ? "".concat(e, " ").concat(t) : e || t || ""; | |
| } | |
| function tm(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 rm(e) { | |
| return e !== null && typeof e == "object" && e.constructor.name === Object.name && !("props" in e && e.$$typeof); | |
| } | |
| function jy(e, t, r) { | |
| if (r === void 0 && (r = !1), !r && !rm(e) && !Array.isArray(e)) return t; | |
| if (Array.isArray(t)) for (var o = 0; o < t.length; o++) e[o] = jy(e[o], t[o]); | |
| else if (rm(t)) for (var o in t) e[o] = jy(e[o], t[o]); | |
| return e; | |
| } | |
| function Zb(e, t) { | |
| Object.defineProperty(e, "toString", { value: t }); | |
| } | |
| function qs(e) { | |
| for (var t = [], r = 1; r < arguments.length; r++) t[r - 1] = arguments[r]; | |
| return 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(", ")) : "")); | |
| } | |
| var iP = 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, u = o.length, h = u; t >= h; ) if ((h <<= 1) < 0) throw qs(16, "".concat(t)); | |
| this.groupSizes = new Uint32Array(h), this.groupSizes.set(o), this.length = h; | |
| for (var c = u; c < h; c++) this.groupSizes[c] = 0; | |
| } | |
| for (var p = this.indexOfGroup(t + 1), g = (c = 0, r.length); c < g; c++) this.tag.insertRule(p, r[c]) && (this.groupSizes[t]++, p++); | |
| }, e.prototype.clearGroup = function(t) { | |
| if (t < this.length) { | |
| var r = this.groupSizes[t], o = this.indexOfGroup(t), u = o + r; | |
| this.groupSizes[t] = 0; | |
| for (var h = o; h < u; h++) 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], u = this.indexOfGroup(t), h = u + o, c = u; c < h; c++) r += "".concat(this.tag.getRule(c)).concat(Kb); | |
| return r; | |
| }, e; | |
| }(), wv = /* @__PURE__ */ new Map(), Av = /* @__PURE__ */ new Map(), Sv = 1, lv = function(e) { | |
| if (wv.has(e)) return wv.get(e); | |
| for (; Av.has(Sv); ) Sv++; | |
| var t = Sv++; | |
| return wv.set(e, t), Av.set(t, e), t; | |
| }, aP = function(e, t) { | |
| Sv = t + 1, wv.set(e, t), Av.set(t, e); | |
| }, sP = "style[".concat(Xc, "][").concat(Rv, '="').concat(mf, '"]'), lP = new RegExp("^".concat(Xc, '\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')), uP = function(e, t, r) { | |
| for (var o, u = r.split(","), h = 0, c = u.length; h < c; h++) (o = u[h]) && e.registerName(t, o); | |
| }, cP = function(e, t) { | |
| for (var r, o = ((r = t.textContent) !== null && r !== void 0 ? r : "").split(Kb), u = [], h = 0, c = o.length; h < c; h++) { | |
| var p = o[h].trim(); | |
| if (p) { | |
| var g = p.match(lP); | |
| if (g) { | |
| var m = 0 | parseInt(g[1], 10), E = g[2]; | |
| m !== 0 && (aP(E, m), uP(e, E, g[3]), e.getTag().insertRules(m, u)), u.length = 0; | |
| } else u.push(p); | |
| } | |
| } | |
| }, Rx = function(e) { | |
| for (var t = document.querySelectorAll(sP), r = 0, o = t.length; r < o; r++) { | |
| var u = t[r]; | |
| u && u.getAttribute(Xc) !== Pk && (cP(e, u), u.parentNode && u.parentNode.removeChild(u)); | |
| } | |
| }; | |
| function Dy() { | |
| return typeof __webpack_nonce__ < "u" ? __webpack_nonce__ : null; | |
| } | |
| var zk = function(e) { | |
| var t = document.head, r = e || t, o = document.createElement("style"), u = function(p) { | |
| var g = Array.from(p.querySelectorAll("style[".concat(Xc, "]"))); | |
| return g[g.length - 1]; | |
| }(r), h = u !== void 0 ? u.nextSibling : null; | |
| o.setAttribute(Xc, Pk), o.setAttribute(Rv, mf); | |
| var c = Dy(); | |
| return c && o.setAttribute("nonce", c), r.insertBefore(o, h), o; | |
| }, dP = function() { | |
| function e(t) { | |
| this.element = zk(t), this.element.appendChild(document.createTextNode("")), this.sheet = function(r) { | |
| if (r.sheet) return r.sheet; | |
| for (var o = document.styleSheets, u = 0, h = o.length; u < h; u++) { | |
| var c = o[u]; | |
| if (c.ownerNode === r) return c; | |
| } | |
| throw qs(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; | |
| }(), fP = function() { | |
| function e(t) { | |
| this.element = zk(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; | |
| }(), hP = 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; | |
| }(), _x = _v, pP = { isServer: !_v, useCSSOMInjection: !qO }, Qh = function() { | |
| function e(t, r, o) { | |
| t === void 0 && (t = Xh), r === void 0 && (r = {}); | |
| var u = this; | |
| this.options = qi(qi({}, pP), t), this.gs = r, this.names = new Map(o), this.server = !!t.isServer, !this.server && _v && _x && (_x = !1, Rx(this)), Zb(this, function() { | |
| return function(h) { | |
| for (var c = h.getTag(), p = c.length, g = "", m = function(S) { | |
| var I = function(D) { | |
| return Av.get(D); | |
| }(S); | |
| if (I === void 0) return "continue"; | |
| var w = h.names.get(I), b = c.getGroup(S); | |
| if (w === void 0 || !w.size || b.length === 0) return "continue"; | |
| var T = "".concat(Xc, ".g").concat(S, '[id="').concat(I, '"]'), R = ""; | |
| w !== void 0 && w.forEach(function(D) { | |
| D.length > 0 && (R += "".concat(D, ",")); | |
| }), g += "".concat(b).concat(T, '{content:"').concat(R, '"}').concat(Kb); | |
| }, E = 0; E < p; E++) m(E); | |
| return g; | |
| }(u); | |
| }); | |
| } | |
| return e.registerId = function(t) { | |
| return lv(t); | |
| }, e.prototype.rehydrate = function() { | |
| !this.server && _v && Rx(this); | |
| }, e.prototype.reconstructWithOptions = function(t, r) { | |
| return r === void 0 && (r = !0), new e(qi(qi({}, 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, u = r.target; | |
| return r.isServer ? new hP(u) : o ? new dP(u) : new fP(u); | |
| }(this.options), new iP(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 (lv(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(lv(t), o); | |
| }, e.prototype.clearNames = function(t) { | |
| this.names.has(t) && this.names.get(t).clear(); | |
| }, e.prototype.clearRules = function(t) { | |
| this.getTag().clearGroup(lv(t)), this.clearNames(t); | |
| }, e.prototype.clearTag = function() { | |
| this.tag = void 0; | |
| }, e; | |
| }(), gP = /&/g, mP = /^\s*\/\/.*$/gm; | |
| function Fk(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 = Fk(r.children, t)), r; | |
| }); | |
| } | |
| function Nk(e) { | |
| var t, r, o, u = e === void 0 ? Xh : e, h = u.options, c = h === void 0 ? Xh : h, p = u.plugins, g = p === void 0 ? r0 : p, m = function(I, w, b) { | |
| return b.startsWith(r) && b.endsWith(r) && b.replaceAll(r, "").length > 0 ? ".".concat(t) : I; | |
| }, E = g.slice(); | |
| E.push(function(I) { | |
| I.type === Jv && I.value.includes("&") && (I.props[0] = I.props[0].replace(gP, r).replace(o, m)); | |
| }), c.prefix && E.push($O), E.push(HO); | |
| var S = function(I, w, b, T) { | |
| w === void 0 && (w = ""), b === void 0 && (b = ""), T === void 0 && (T = "&"), t = T, r = w, o = new RegExp("\\".concat(r, "\\b"), "g"); | |
| var R = I.replace(mP, ""), D = DO(b || w ? "".concat(b, " ").concat(w, " { ").concat(R, " }") : R); | |
| c.namespace && (D = Fk(D, c.namespace)); | |
| var $ = []; | |
| return Tv(D, WO(E.concat(UO(function(Y) { | |
| return $.push(Y); | |
| })))), $; | |
| }; | |
| return S.hash = g.length ? g.reduce(function(I, w) { | |
| return w.name || qs(15), Ih(I, w.name); | |
| }, Tk).toString() : "", S; | |
| } | |
| var jk = new Qh(), By = Nk(), hm = le.createContext({ shouldForwardProp: void 0, styleSheet: jk, stylis: By }), vP = hm.Consumer, yP = le.createContext(void 0); | |
| function Lv() { | |
| return V.useContext(hm); | |
| } | |
| function e1(e) { | |
| var t = V.useState(e.stylisPlugins), r = t[0], o = t[1], u = Lv().styleSheet, h = V.useMemo(function() { | |
| var g = u; | |
| return e.sheet ? g = e.sheet : e.target && (g = g.reconstructWithOptions({ target: e.target }, !1)), e.disableCSSOMInjection && (g = g.reconstructWithOptions({ useCSSOMInjection: !1 })), g; | |
| }, [e.disableCSSOMInjection, e.sheet, e.target, u]), c = V.useMemo(function() { | |
| return Nk({ options: { namespace: e.namespace, prefix: e.enableVendorPrefixes }, plugins: r }); | |
| }, [e.enableVendorPrefixes, e.namespace, r]); | |
| V.useEffect(function() { | |
| OO(r, e.stylisPlugins) || o(e.stylisPlugins); | |
| }, [e.stylisPlugins]); | |
| var p = V.useMemo(function() { | |
| return { shouldForwardProp: e.shouldForwardProp, styleSheet: h, stylis: c }; | |
| }, [e.shouldForwardProp, h, c]); | |
| return le.createElement(hm.Provider, { value: p }, le.createElement(yP.Provider, { value: c }, e.children)); | |
| } | |
| var Dk = function() { | |
| function e(t, r) { | |
| var o = this; | |
| this.inject = function(u, h) { | |
| h === void 0 && (h = By); | |
| var c = o.name + h.hash; | |
| u.hasNameForId(o.id, c) || u.insertRules(o.id, c, h(o.rules, c, "@keyframes")); | |
| }, this.name = t, this.id = "sc-keyframes-".concat(t), this.rules = r, Zb(this, function() { | |
| throw qs(12, String(o.name)); | |
| }); | |
| } | |
| return e.prototype.getName = function(t) { | |
| return t === void 0 && (t = By), this.name + t.hash; | |
| }, e; | |
| }(), bP = function(e) { | |
| return e >= "A" && e <= "Z"; | |
| }; | |
| function Ax(e) { | |
| for (var t = "", r = 0; r < e.length; r++) { | |
| var o = e[r]; | |
| if (r === 1 && o === "-" && e[0] === "-") return e; | |
| bP(o) ? t += "-" + o.toLowerCase() : t += o; | |
| } | |
| return t.startsWith("ms-") ? "-" + t : t; | |
| } | |
| var Bk = function(e) { | |
| return e == null || e === !1 || e === ""; | |
| }, Hk = function(e) { | |
| var t, r, o = []; | |
| for (var u in e) { | |
| var h = e[u]; | |
| e.hasOwnProperty(u) && !Bk(h) && (Array.isArray(h) && h.isCss || vf(h) ? o.push("".concat(Ax(u), ":"), h, ";") : rm(h) ? o.push.apply(o, Gh(Gh(["".concat(u, " {")], Hk(h), !1), ["}"], !1)) : o.push("".concat(Ax(u), ": ").concat((t = u, (r = h) == null || typeof r == "boolean" || r === "" ? "" : typeof r != "number" || r === 0 || t in VO || t.startsWith("--") ? String(r).trim() : "".concat(r, "px")), ";"))); | |
| } | |
| return o; | |
| }; | |
| function Yc(e, t, r, o) { | |
| if (Bk(e)) return []; | |
| if (n0(e)) return [".".concat(e.styledComponentId)]; | |
| if (vf(e)) { | |
| if (!vf(h = e) || h.prototype && h.prototype.isReactComponent || !t) return [e]; | |
| var u = e(t); | |
| return Yc(u, t, r, o); | |
| } | |
| var h; | |
| return e instanceof Dk ? r ? (e.inject(r, o), [e.getName(o)]) : [e] : rm(e) ? Hk(e) : Array.isArray(e) ? Array.prototype.concat.apply(r0, e.map(function(c) { | |
| return Yc(c, t, r, o); | |
| })) : [e.toString()]; | |
| } | |
| function Wk(e) { | |
| for (var t = 0; t < e.length; t += 1) { | |
| var r = e[t]; | |
| if (vf(r) && !n0(r)) return !1; | |
| } | |
| return !0; | |
| } | |
| var xP = Rk(mf), wP = function() { | |
| function e(t, r, o) { | |
| this.rules = t, this.staticRulesId = "", this.isStatic = (o === void 0 || o.isStatic) && Wk(t), this.componentId = r, this.baseHash = Ih(xP, r), this.baseStyle = o, Qh.registerId(r); | |
| } | |
| return e.prototype.generateAndInjectStyles = function(t, r, o) { | |
| var u = this.baseStyle ? this.baseStyle.generateAndInjectStyles(t, r, o) : ""; | |
| if (this.isStatic && !o.hash) if (this.staticRulesId && r.hasNameForId(this.componentId, this.staticRulesId)) u = ef(u, this.staticRulesId); | |
| else { | |
| var h = tm(Yc(this.rules, t, r, o)), c = Ny(Ih(this.baseHash, h) >>> 0); | |
| if (!r.hasNameForId(this.componentId, c)) { | |
| var p = o(h, ".".concat(c), void 0, this.componentId); | |
| r.insertRules(this.componentId, c, p); | |
| } | |
| u = ef(u, c), this.staticRulesId = c; | |
| } | |
| else { | |
| for (var g = Ih(this.baseHash, o.hash), m = "", E = 0; E < this.rules.length; E++) { | |
| var S = this.rules[E]; | |
| if (typeof S == "string") m += S; | |
| else if (S) { | |
| var I = tm(Yc(S, t, r, o)); | |
| g = Ih(g, I + E), m += I; | |
| } | |
| } | |
| if (m) { | |
| var w = Ny(g >>> 0); | |
| r.hasNameForId(this.componentId, w) || r.insertRules(this.componentId, w, o(m, ".".concat(w), void 0, this.componentId)), u = ef(u, w); | |
| } | |
| } | |
| return u; | |
| }, e; | |
| }(), ps = le.createContext(void 0), SP = ps.Consumer; | |
| function kP() { | |
| var e = V.useContext(ps); | |
| if (!e) throw qs(18); | |
| return e; | |
| } | |
| function CP(e) { | |
| var t = le.useContext(ps), r = V.useMemo(function() { | |
| return function(o, u) { | |
| if (!o) throw qs(14); | |
| if (vf(o)) { | |
| var h = o(u); | |
| return h; | |
| } | |
| if (Array.isArray(o) || typeof o != "object") throw qs(8); | |
| return u ? qi(qi({}, u), o) : o; | |
| }(e.theme, t); | |
| }, [e.theme, t]); | |
| return e.children ? le.createElement(ps.Provider, { value: r }, e.children) : null; | |
| } | |
| var J0 = {}; | |
| function EP(e, t, r) { | |
| var o = n0(e), u = e, h = !Q0(e), c = t.attrs, p = c === void 0 ? r0 : c, g = t.componentId, m = g === void 0 ? function(Z, ne) { | |
| var te = typeof Z != "string" ? "sc" : Ex(Z); | |
| J0[te] = (J0[te] || 0) + 1; | |
| var ie = "".concat(te, "-").concat(Qb(mf + te + J0[te])); | |
| return ne ? "".concat(ne, "-").concat(ie) : ie; | |
| }(t.displayName, t.parentComponentId) : g, E = t.displayName, S = E === void 0 ? function(Z) { | |
| return Q0(Z) ? "styled.".concat(Z) : "Styled(".concat(_k(Z), ")"); | |
| }(e) : E, I = t.displayName && t.componentId ? "".concat(Ex(t.displayName), "-").concat(t.componentId) : t.componentId || m, w = o && u.attrs ? u.attrs.concat(p).filter(Boolean) : p, b = t.shouldForwardProp; | |
| if (o && u.shouldForwardProp) { | |
| var T = u.shouldForwardProp; | |
| if (t.shouldForwardProp) { | |
| var R = t.shouldForwardProp; | |
| b = function(Z, ne) { | |
| return T(Z, ne) && R(Z, ne); | |
| }; | |
| } else b = T; | |
| } | |
| var D = new wP(r, I, o ? u.componentStyle : void 0); | |
| function $(Z, ne) { | |
| return function(te, ie, ye) { | |
| var J = te.attrs, de = te.componentStyle, ke = te.defaultProps, se = te.foldedComponentIds, Re = te.styledComponentId, Ne = te.target, Be = le.useContext(ps), Ue = Lv(), Xe = te.shouldForwardProp || Ue.shouldForwardProp, G = Xb(ie, Be, ke) || Xh, me = function(lt, Ve, ft) { | |
| for (var Ce, Me = qi(qi({}, Ve), { className: void 0, theme: ft }), Tt = 0; Tt < lt.length; Tt += 1) { | |
| var B = vf(Ce = lt[Tt]) ? Ce(Me) : Ce; | |
| for (var Vt in B) Me[Vt] = Vt === "className" ? ef(Me[Vt], B[Vt]) : Vt === "style" ? qi(qi({}, Me[Vt]), B[Vt]) : B[Vt]; | |
| } | |
| return Ve.className && (Me.className = ef(Me.className, Ve.className)), Me; | |
| }(J, ie, G), ve = me.as || Ne, Q = {}; | |
| for (var fe in me) me[fe] === void 0 || fe[0] === "$" || fe === "as" || fe === "theme" && me.theme === G || (fe === "forwardedAs" ? Q.as = me.forwardedAs : Xe && !Xe(fe, ve) || (Q[fe] = me[fe])); | |
| var Ge = function(lt, Ve) { | |
| var ft = Lv(), Ce = lt.generateAndInjectStyles(Ve, ft.styleSheet, ft.stylis); | |
| return Ce; | |
| }(de, me), st = ef(se, Re); | |
| return Ge && (st += " " + Ge), me.className && (st += " " + me.className), Q[Q0(ve) && !Ik.has(ve) ? "class" : "className"] = st, ye && (Q.ref = ye), V.createElement(ve, Q); | |
| }(Y, Z, ne); | |
| } | |
| $.displayName = S; | |
| var Y = le.forwardRef($); | |
| return Y.attrs = w, Y.componentStyle = D, Y.displayName = S, Y.shouldForwardProp = b, Y.foldedComponentIds = o ? ef(u.foldedComponentIds, u.styledComponentId) : "", Y.styledComponentId = I, Y.target = o ? u.target : e, Object.defineProperty(Y, "defaultProps", { get: function() { | |
| return this._foldedDefaultProps; | |
| }, set: function(Z) { | |
| this._foldedDefaultProps = o ? function(ne) { | |
| for (var te = [], ie = 1; ie < arguments.length; ie++) te[ie - 1] = arguments[ie]; | |
| for (var ye = 0, J = te; ye < J.length; ye++) jy(ne, J[ye], !0); | |
| return ne; | |
| }({}, u.defaultProps, Z) : Z; | |
| } }), Zb(Y, function() { | |
| return ".".concat(Y.styledComponentId); | |
| }), h && Jb(Y, e, { attrs: !0, componentStyle: !0, displayName: !0, foldedComponentIds: !0, shouldForwardProp: !0, styledComponentId: !0, target: !0 }), Y; | |
| } | |
| function Lx(e, t) { | |
| for (var r = [e[0]], o = 0, u = t.length; o < u; o += 1) r.push(t[o], e[o + 1]); | |
| return r; | |
| } | |
| var Mx = function(e) { | |
| return Object.assign(e, { isCss: !0 }); | |
| }; | |
| function yt(e) { | |
| for (var t = [], r = 1; r < arguments.length; r++) t[r - 1] = arguments[r]; | |
| if (vf(e) || rm(e)) return Mx(Yc(Lx(r0, Gh([e], t, !0)))); | |
| var o = e; | |
| return t.length === 0 && o.length === 1 && typeof o[0] == "string" ? Yc(o) : Mx(Yc(Lx(o, t))); | |
| } | |
| function Hy(e, t, r) { | |
| if (r === void 0 && (r = Xh), !t) throw qs(1, t); | |
| var o = function(u) { | |
| for (var h = [], c = 1; c < arguments.length; c++) h[c - 1] = arguments[c]; | |
| return e(t, r, yt.apply(void 0, Gh([u], h, !1))); | |
| }; | |
| return o.attrs = function(u) { | |
| return Hy(e, t, qi(qi({}, r), { attrs: Array.prototype.concat(r.attrs, u).filter(Boolean) })); | |
| }, o.withConfig = function(u) { | |
| return Hy(e, t, qi(qi({}, r), u)); | |
| }, o; | |
| } | |
| var Uk = function(e) { | |
| return Hy(EP, e); | |
| }, xr = Uk; | |
| Ik.forEach(function(e) { | |
| xr[e] = Uk(e); | |
| }); | |
| var OP = function() { | |
| function e(t, r) { | |
| this.rules = t, this.componentId = r, this.isStatic = Wk(t), Qh.registerId(this.componentId + 1); | |
| } | |
| return e.prototype.createStyles = function(t, r, o, u) { | |
| var h = u(tm(Yc(this.rules, r, o, u)), ""), c = this.componentId + t; | |
| o.insertRules(c, c, h); | |
| }, e.prototype.removeStyles = function(t, r) { | |
| r.clearRules(this.componentId + t); | |
| }, e.prototype.renderStyles = function(t, r, o, u) { | |
| t > 2 && Qh.registerId(this.componentId + t), this.removeStyles(t, o), this.createStyles(t, r, o, u); | |
| }, e; | |
| }(); | |
| function $k(e) { | |
| for (var t = [], r = 1; r < arguments.length; r++) t[r - 1] = arguments[r]; | |
| var o = yt.apply(void 0, Gh([e], t, !1)), u = "sc-global-".concat(Qb(JSON.stringify(o))), h = new OP(o, u), c = function(g) { | |
| var m = Lv(), E = le.useContext(ps), S = le.useRef(m.styleSheet.allocateGSInstance(u)).current; | |
| return m.styleSheet.server && p(S, g, m.styleSheet, E, m.stylis), le.useLayoutEffect(function() { | |
| if (!m.styleSheet.server) return p(S, g, m.styleSheet, E, m.stylis), function() { | |
| return h.removeStyles(S, m.styleSheet); | |
| }; | |
| }, [S, g, m.styleSheet, E, m.stylis]), null; | |
| }; | |
| function p(g, m, E, S, I) { | |
| if (h.isStatic) h.renderStyles(g, GO, E, I); | |
| else { | |
| var w = qi(qi({}, m), { theme: Xb(m, S, c.defaultProps) }); | |
| h.renderStyles(g, w, E, I); | |
| } | |
| } | |
| return le.memo(c); | |
| } | |
| function pm(e) { | |
| for (var t = [], r = 1; r < arguments.length; r++) t[r - 1] = arguments[r]; | |
| var o = tm(yt.apply(void 0, Gh([e], t, !1))), u = Qb(o); | |
| return new Dk(u, o); | |
| } | |
| function PP(e) { | |
| var t = le.forwardRef(function(r, o) { | |
| var u = Xb(r, le.useContext(ps), e.defaultProps); | |
| return le.createElement(e, qi({}, r, { theme: u, ref: o })); | |
| }); | |
| return t.displayName = "WithTheme(".concat(_k(e), ")"), Jb(t, e); | |
| } | |
| var IP = function() { | |
| function e() { | |
| var t = this; | |
| this._emitSheetCSS = function() { | |
| var r = t.instance.toString(); | |
| if (!r) return ""; | |
| var o = Dy(), u = tm([o && 'nonce="'.concat(o, '"'), "".concat(Xc, '="true"'), "".concat(Rv, '="').concat(mf, '"')].filter(Boolean), " "); | |
| return "<style ".concat(u, ">").concat(r, "</style>"); | |
| }, this.getStyleTags = function() { | |
| if (t.sealed) throw qs(2); | |
| return t._emitSheetCSS(); | |
| }, this.getStyleElement = function() { | |
| var r; | |
| if (t.sealed) throw qs(2); | |
| var o = t.instance.toString(); | |
| if (!o) return []; | |
| var u = ((r = {})[Xc] = "", r[Rv] = mf, r.dangerouslySetInnerHTML = { __html: o }, r), h = Dy(); | |
| return h && (u.nonce = h), [le.createElement("style", qi({}, u, { key: "sc-0-0" }))]; | |
| }, this.seal = function() { | |
| t.sealed = !0; | |
| }, this.instance = new Qh({ isServer: !0 }), this.sealed = !1; | |
| } | |
| return e.prototype.collectStyles = function(t) { | |
| if (this.sealed) throw qs(2); | |
| return le.createElement(e1, { sheet: this.instance }, t); | |
| }, e.prototype.interleaveWithNodeStream = function(t) { | |
| throw qs(3); | |
| }, e; | |
| }(), TP = { StyleSheet: Qh, mainSheet: jk }; | |
| const RP = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ | |
| __proto__: null, | |
| ServerStyleSheet: IP, | |
| StyleSheetConsumer: vP, | |
| StyleSheetContext: hm, | |
| StyleSheetManager: e1, | |
| ThemeConsumer: SP, | |
| ThemeContext: ps, | |
| ThemeProvider: CP, | |
| __PRIVATE__: TP, | |
| createGlobalStyle: $k, | |
| css: yt, | |
| default: xr, | |
| isStyledComponent: n0, | |
| keyframes: pm, | |
| styled: xr, | |
| useTheme: kP, | |
| version: mf, | |
| withTheme: PP | |
| }, Symbol.toStringTag, { value: "Module" })); | |
| var _P = { | |
| xsmall: 1.001, | |
| small: 1.01, | |
| medium: 1.1, | |
| large: 1.5, | |
| xlarge: 2 | |
| }, uv = { | |
| xsmall: 1, | |
| small: 5, | |
| medium: 10, | |
| large: 50, | |
| xlarge: 200 | |
| }, AP = { | |
| xsmall: 0.1, | |
| small: 1, | |
| medium: 5, | |
| large: 400, | |
| xlarge: 1e3 | |
| }, zx = { | |
| xsmall: 1e-3, | |
| small: 0.01, | |
| medium: 0.05, | |
| large: 0.1, | |
| xlarge: 0.5 | |
| }, Vk = function(t, r) { | |
| if (r === void 0 && (r = "medium"), t === "draw") | |
| return ["", "stroke-dashoffset: 0"]; | |
| if (t === "fadeIn") | |
| return ["opacity: 0;", "opacity: 1;"]; | |
| if (t === "fadeOut") | |
| return ["opacity: 1;", "opacity: 0;"]; | |
| if (t === "jiggle") { | |
| var o = AP[r]; | |
| return ["transform: rotate(-" + o + "deg);", "transform: rotate(" + o + "deg);"]; | |
| } | |
| return t === "pulse" ? ["transform: scale(1);", "transform: scale(" + _P[r] + ")"] : t === "rotateRight" ? ["transform: rotate(0deg);", "transform: rotate(359deg);"] : t === "rotateLeft" ? ["transform: rotate(0deg);", "transform: rotate(-359deg);"] : t === "flipIn" ? ["transform: rotateY(90deg);", "transform: rotateY(0);"] : t === "flipOut" ? ["transform: rotateY(0);", "transform: rotateY(90deg);"] : t === "slideDown" ? ["transform: translateY(-" + uv[r] + "%);", "transform: none;"] : t === "slideLeft" ? ["transform: translateX(" + uv[r] + "%);", "transform: none;"] : t === "slideRight" ? ["transform: translateX(-" + uv[r] + "%);", "transform: none;"] : t === "slideUp" ? ["transform: translateY(" + uv[r] + "%);", "transform: none;"] : t === "zoomIn" ? ["transform: scale(" + (1 - zx[r]) + ");", "transform: none;"] : t === "zoomOut" ? ["transform: scale(" + (1 + zx[r]) + ");", "transform: none;"] : []; | |
| }, Z0 = function(t, r) { | |
| return typeof t == "number" ? t / 1e3 + "s" : t || r; | |
| }, LP = function(t) { | |
| return t === "draw" ? "linear forwards" : t === "jiggle" || t === "pulse" ? "alternate infinite" : t === "rotateRight" || t === "rotateLeft" ? "infinite linear" : "forwards"; | |
| }, Fx = function(t, r, o) { | |
| var u = Vk(t.type, t.size), h = r.global.animation; | |
| if (u) { | |
| var c = yt(["from{", ";}to{", ";}"], u[0], u[1]), p = function() { | |
| return Z0(h[t.type] ? h[t.type].duration : t.duration, h.duration); | |
| }; | |
| return yt(["", " ", " ", " ", ""], pm(["", ""], c), Z0(t.duration, p()), Z0(t.delay, "0s"), LP(t.type)); | |
| } | |
| return ""; | |
| }, ni = function(t) { | |
| return typeof t == "number" ? t : (t.match(/\s/), parseFloat(t.match(/\d+(\.\d+)?/), 10)); | |
| }, Dn = function(t, r, o) { | |
| var u = typeof (t == null ? void 0 : t.value) == "string" && t.value.endsWith("px") ? "" : "px", h = o === "container" ? yt(["@container ", "{", ";}"], t.value && "(max-width: " + t.value + u + ")", r) : yt(["@media only screen ", "{", ";}"], t.value && "and (max-width: " + t.value + u + ")", r); | |
| return h; | |
| }, jr = function(t, r, o) { | |
| var u = r.global && r.global.colors[t] !== void 0 ? r.global.colors[t] : t, h = u; | |
| return u && ((o === !0 || o === void 0 && r.dark) && u.dark !== void 0 ? h = u.dark : (o === !1 || !r.dark) && u.light !== void 0 && (h = u.light)), h && r.global && r.global.colors[h] !== void 0 && (h = jr(h, r, o)), h; | |
| }, MP = function(t) { | |
| return t.length < 7 ? t.match(/[A-Za-z0-9]{1}/g).map(function(r) { | |
| return parseInt("" + r + r, 16); | |
| }) : ( | |
| // https://stackoverflow.com/a/42429333 | |
| t.match(/[A-Za-z0-9]{2}/g).map(function(r) { | |
| return parseInt(r, 16); | |
| }) | |
| ); | |
| }, zP = function(t, r, o) { | |
| var u, h, c; | |
| if (r === 0 || r === "0") | |
| u = o, h = o, c = o; | |
| else { | |
| var p = function(S, I, w) { | |
| var b = w; | |
| return b < 0 && (b += 1), b > 1 && (b -= 1), b < 0.16666667 ? S + (I - S) * 6 * b : b < 0.5 ? I : b < 0.66666667 ? S + (I - S) * (0.66666667 - b) * 6 : S; | |
| }, g = o < 0.5 ? o * (1 + r) : o + r - o * r, m = 2 * o - g; | |
| u = p(m, g, t + 0.33333333), h = p(m, g, t), c = p(m, g, t - 0.33333333); | |
| } | |
| return [Math.round(u * 255), Math.round(h * 255), Math.round(c * 255)]; | |
| }, qk = /^#[A-Za-z0-9]{3,4}$|^#[A-Za-z0-9]{6,8}$/, Gk = /^rgba?\(\s?([0-9]*)\s?,\s?([0-9]*)\s?,\s?([0-9]*)\s?\)/, Yk = /^rgba?\(\s?([0-9]*)\s?,\s?([0-9]*)\s?,\s?([0-9]*)\s?,\s?([.0-9]*)\s?\)/, Kk = /^hsla?\(\s?([0-9]*)\s?,\s?([0-9]*)%?\s?,\s?([0-9]*)%?\s?.*?\)/, t1 = function(t) { | |
| return qk.test(t) || Gk.test(t) || Yk.test(t) || Kk.test(t); | |
| }, r1 = function(t) { | |
| if (qk.test(t)) { | |
| var r = MP(t), o = r[0], u = r[1], h = r[2], c = r[3]; | |
| return [o, u, h, c !== void 0 ? c / 255 : void 0]; | |
| } | |
| var p = t.match(Gk); | |
| if (p) | |
| return p.splice(1).map(function(I) { | |
| return parseInt(I, 10); | |
| }); | |
| if (p = t.match(Yk), p) | |
| return p.splice(1).map(function(I) { | |
| return parseFloat(I, 10); | |
| }); | |
| if (p = t.match(Kk), p) { | |
| var g = p.splice(1).map(function(I) { | |
| return parseInt(I, 10); | |
| }), m = g[0], E = g[1], S = g[2]; | |
| return zP(m / 360, E / 100, S / 100); | |
| } | |
| return t; | |
| }, Mv = function(t) { | |
| if (t && t1(t)) { | |
| var r = r1(t), o = r[0], u = r[1], h = r[2], c = r[3]; | |
| if (c < 0.5) return; | |
| var p = (299 * o + 587 * u + 114 * h) / 1e3; | |
| return p < 125; | |
| } | |
| }, FP = function(t, r) { | |
| if (t && t1(t)) { | |
| var o = r1(t), u = o[0], h = o[1], c = o[2], p = o[3], g; | |
| return r !== void 0 ? g = r : p !== void 0 ? g = p : g = 1, "rgba(" + u + ", " + h + ", " + c + ", " + g + ")"; | |
| } | |
| }, NP = function(t, r) { | |
| return t && Array.isArray(t) && typeof t[0] == "function" ? t[0]({ | |
| theme: r | |
| }) : t; | |
| }, Jh = function(t, r) { | |
| var o, u = ((o = r.global.backgrounds) == null ? void 0 : o[t]) || t, h = u; | |
| return u && (r.dark && u.dark && typeof u.dark != "boolean" ? h = u.dark : !r.dark && u.light && typeof u.light != "boolean" && (h = u.light), h = NP(h, r)), h; | |
| }, Nx = function(t, r) { | |
| var o, u = t.color || t, h = jr( | |
| // Background color may be defined by theme.global.backgrounds or | |
| // theme.global.colors. | |
| ((o = r.global.backgrounds) == null ? void 0 : o[u]) || u, | |
| r, | |
| t.dark | |
| ); | |
| return h; | |
| }, n1 = function(t, r) { | |
| var o; | |
| if (t.image) { | |
| var u, h; | |
| o = Jh(t.dark ? (u = r.global.backgrounds) == null || (u = u[t.image]) == null ? void 0 : u.dark : (h = r.global.backgrounds) == null ? void 0 : h[t.image], r) || t.image; | |
| } else { | |
| var c, p = Jh((c = r.global.backgrounds) == null ? void 0 : c[t], r); | |
| o = typeof p == "object" ? n1(p, r) : p; | |
| } | |
| return o; | |
| }, jP = function(t, r) { | |
| var o = n1(t, r), u = o; | |
| if (o.lastIndexOf("linear-gradient", 0) === 0) { | |
| var h = /\d{1,}deg\b,/gm; | |
| u = o.lastIndexOf("deg,") >= 0 ? o.replace(h, t.rotate + "deg,") : o.replace("linear-gradient(", "linear-gradient(" + t.rotate + "deg, "); | |
| } else | |
| console.warn( | |
| // eslint-disable-next-line max-len | |
| "'background.rotate' property only supports 'background.image' containing a linear-gradient string." | |
| ); | |
| return u; | |
| }, o0 = function(t, r) { | |
| var o = Jh(t, r), u; | |
| if (o) | |
| if (typeof o == "object") { | |
| var h = o.color, c = o.dark, p = o.opacity; | |
| if (typeof c == "boolean") | |
| u = c; | |
| else if (h && // weak opacity means we keep the existing darkness | |
| (!p || p !== "weak")) { | |
| var g = jr(o.color, r); | |
| g && (u = Mv(g)); | |
| } | |
| } else { | |
| var m = jr(o, r); | |
| m && (u = Mv(m)); | |
| } | |
| return u; | |
| }, jx = function(t) { | |
| var r = Mv(t); | |
| if (r !== void 0) | |
| return r ? "dark" : "light"; | |
| }, Xk = function(t, r, o) { | |
| if (!t) return [void 0, r]; | |
| var u = o.global, h = Jh(t, o), c = r || u.colors.text, p, g; | |
| if (typeof h == "object") { | |
| if (h.dark === !1 ? g = c.light || c : h.dark && (g = c.dark || c), h.color) { | |
| var m = Nx(h, o), E = h.opacity === !0 ? u.opacity.medium : u.opacity[h.opacity] || h.opacity; | |
| if (p = FP(m, E) || m, !g && (E === void 0 || E > 0.3)) { | |
| var S = jx(p); | |
| g = jr(S && c[S] || c, o); | |
| } | |
| } | |
| } else { | |
| p = Nx(h, o); | |
| var I = jx(p), w; | |
| if (p && t1(p)) { | |
| var b = r1(p); | |
| b[3] < 0.5 && (w = !0); | |
| } | |
| I ? g = jr(c[I] || c, o, I === "dark") : w && c ? g = jr(c, o) : (p !== "transparent" && (p = void 0), c && (g = jr(c, o))); | |
| } | |
| return r === !1 && (g = void 0), [p, g]; | |
| }, Ys = function(t, r, o) { | |
| if (t !== void 0) { | |
| var u = Jh(t, r), h = Xk(u, o, r), c = h[0], p = h[1], g = u.rotate ? jP(u, r) : n1(u, r), m = ""; | |
| if (u.clip && (m = u.clip === "text" ? `-webkit-text-fill-color: transparent; | |
| -webkit-background-clip: text; | |
| background-clip: text;` : "background-clip: " + u.clip + ";"), typeof u == "string" && u.lastIndexOf("url", 0) === 0) | |
| return yt(["background:", " no-repeat center center;background-size:cover;"], u); | |
| if (g) { | |
| var E = ` | |
| ` + (c ? "background-color: " + c + ";" : "") + ` | |
| background-image: ` + g + `; | |
| background-repeat: ` + (typeof u == "object" && u.repeat || "no-repeat") + `; | |
| background-position: ` + (u.position || "center center") + `; | |
| background-size: ` + (u.size || "cover") + `; | |
| ` + m + ` | |
| `; | |
| return yt(["", " ", ""], p ? "color: " + p + ";" : "", u.opacity ? `position: relative; | |
| z-index: 0; | |
| &:before { | |
| content: ''; | |
| position: absolute; | |
| top: 0; | |
| right: 0; | |
| left: 0; | |
| bottom: 0; | |
| z-index: -1; | |
| border-radius: inherit; | |
| ` + E + ` | |
| opacity: ` + (u.opacity === !0 ? r.global.opacity.medium : r.global.opacity[u.opacity] || u.opacity) + `; | |
| }` : E); | |
| } | |
| if (c) | |
| return yt(["background-color:", ";", ""], c, p ? "color: " + p + ";" : ""); | |
| if (typeof u == "string") | |
| return yt(["background:", ";"], jr(u, r)); | |
| } | |
| }, Qk = yt(["", ""], function(e) { | |
| return Ys(jr(e.theme.global.active.background, e.theme), e.theme, e.theme.global.active.color); | |
| }), DP = yt(["", ""], function(e) { | |
| return Ys(jr(e.theme.global.selected.background, e.theme), e.theme, e.theme.global.selected.color); | |
| }), Zh = function(t, r) { | |
| var o, u; | |
| return t === !0 || t === "background" ? o = r.global.hover.background : typeof t == "object" && (t.elevation || t.background) ? (u = t.elevation, o = t.background) : o = t, yt(["", " ", ""], Ys(o, r, r.global.hover.color), u && "box-shadow: " + r.global.elevation[r.dark ? "dark" : "light"][u] + ";"); | |
| }, Jk = function(t, r) { | |
| var o = jr(t.color || "border", r), u = t.size || "xsmall", h = t.style || "solid", c = typeof t == "string" ? t : t.side || "all", p = r.box.responsiveBreakpoint && r.global.breakpoints[r.box.responsiveBreakpoint]; | |
| p.borderSize || (p.borderSize = r.global.borderSize); | |
| var g = p && (p.borderSize[u] || u) && h + " " + (p.borderSize[u] || u) + " " + o; | |
| if (g) { | |
| if (c === "top" || c === "bottom" || c === "left" || c === "right") return "border-" + c + ": " + g + ";"; | |
| if (c === "end" || c === "start") return "border-inline-" + c + ": " + g + ";"; | |
| if (c === "vertical") return ` | |
| border-left: ` + g + `; | |
| border-right: ` + g + `; | |
| `; | |
| if (c === "horizontal") return ` | |
| border-top: ` + g + `; | |
| border-bottom: ` + g + `; | |
| `; | |
| if (c !== "between") | |
| return "border: " + g + ";"; | |
| } | |
| }, zv = function(t, r, o) { | |
| var u = []; | |
| return (Array.isArray(t) ? t : [t]).forEach(function(h) { | |
| var c = [], p = jr(h.color || "border", o), g = h.size || "xsmall", m = h.style || "solid", E = typeof h == "string" ? h : h.side || "all", S = m + " " + (o.global.borderSize[g] || g) + " " + p, I = r && Jk(h, o), w = I && o.box.responsiveBreakpoint && o.global.breakpoints[o.box.responsiveBreakpoint]; | |
| E === "top" || E === "bottom" || E === "left" || E === "right" ? (c.push("border-" + E + ": " + S + ";"), I && c.push(Dn(w, I, r))) : E === "end" || E === "start" ? (c.push(yt(["border-inline-", ":", ";"], E, S)), I && c.push(Dn(w, I, r))) : E === "vertical" ? (c.push(yt(["border-left:", ";border-right:", ";"], S, S)), I && c.push(Dn(w, I, r))) : E === "horizontal" ? (c.push(yt(["border-top:", ";border-bottom:", ";"], S, S)), I && c.push(Dn(w, I, r))) : E === "between" || (c.push(yt(["border:", ";"], S)), I && c.push(Dn(w, I, r))), u.push(c); | |
| }), u; | |
| }, BP = function(t, r) { | |
| var o; | |
| if (t) { | |
| for (var u = t.parentNode; !o && u && u.getBoundingClientRect; ) { | |
| var h = u.getBoundingClientRect(); | |
| h.height && u.scrollHeight > h.height + 10 && (o = u), u = u.parentNode; | |
| } | |
| o ? o.tagName.toLowerCase() === "body" && (o = document) : o = document; | |
| } | |
| return o; | |
| }, HP = ["html", "body"], Zk = function(t, r) { | |
| var o = []; | |
| if (t) { | |
| for (var u = t.parentNode; u && u.getBoundingClientRect; ) { | |
| var h = u.getBoundingClientRect(); | |
| h.height && u.scrollHeight > h.height + 10 && o.push(u), u = u.parentNode; | |
| } | |
| o.length && HP.includes(o[0].tagName.toLowerCase()) && (o.length = 0), o.push(document); | |
| } | |
| return o; | |
| }, eC = function(t) { | |
| for (var r = t.getRootNode(), o = r.activeElement; o && o !== t; ) | |
| o = o.parentElement; | |
| return !!o; | |
| }, WP = function(t, r) { | |
| for (var o = t == null ? void 0 : t.getRootNode(), u = t, h; u && u !== o; ) | |
| u.hasAttribute("data-g-portal-id") ? (h = u.getAttribute("data-g-portal-id"), u = o) : u = u.parentElement; | |
| return !(h === void 0 || r.indexOf(parseInt(h, 10)) !== -1); | |
| }, tC = function(t) { | |
| var r = t.tagName.toLowerCase(); | |
| return r === "input" || r === "select" || r === "textarea"; | |
| }, UP = function(t) { | |
| for (var r = t.getElementsByTagName("*"), o = 0; o < r.length; o += 1) { | |
| var u = r[o]; | |
| if (tC(u)) | |
| return u; | |
| } | |
| }, $P = function(t) { | |
| var r = t.activeElement; | |
| return tC(r) ? !0 : !!UP(r); | |
| }, VP = function(t, r) { | |
| t === void 0 && (t = document.body); | |
| var o = document.createElement("div"); | |
| return t.appendChild(o), o; | |
| }, Lc = function(t) { | |
| var r = window.scrollX, o = window.scrollY; | |
| t.focus(), window.scrollTo(r, o); | |
| }, Th = "tabindex", Gc = "data-g-tabindex", qP = function(t) { | |
| if (!t.hasAttribute("aria-live")) { | |
| t.removeAttribute("aria-hidden"); | |
| var r = t.getElementsByTagName("*"); | |
| Array.prototype.filter.call(r || [], function(o) { | |
| return o.hasAttribute(Gc); | |
| }).forEach(function(o) { | |
| var u = o.getAttribute(Gc); | |
| u >= 0 ? o.setAttribute(Th, o.getAttribute(Gc)) : u === "none" && o.removeAttribute(Th), o.removeAttribute(Gc); | |
| }); | |
| } | |
| }, GP = /^(a|area|input|select|textarea|button|iframe)$/, YP = function(t) { | |
| if (!t.hasAttribute("aria-live")) { | |
| t.setAttribute("aria-hidden", !0); | |
| var r = t.getElementsByTagName("*"); | |
| Array.prototype.filter.call(r || [], function(o) { | |
| return o.getAttribute(Th) !== null; | |
| }).forEach(function(o) { | |
| o.getAttribute(Gc) || o.setAttribute(Gc, o.getAttribute(Th)), o.setAttribute(Th, -1); | |
| }), Array.prototype.filter.call(r || [], function(o) { | |
| var u = o.tagName.toLowerCase(); | |
| return u.match(GP) && o.focus && o.getAttribute(Gc) === null; | |
| }).forEach(function(o) { | |
| o.setAttribute(Gc, "none"), o.setAttribute(Th, -1); | |
| }); | |
| } | |
| }, rC = function(t, r) { | |
| var o = t.getBoundingClientRect(), u = o.bottom, h = r.getBoundingClientRect ? r.getBoundingClientRect() : { | |
| height: 0, | |
| top: 0 | |
| }, c = h.height, p = h.top; | |
| return u >= p + c; | |
| }, nC = function(t, r) { | |
| var o = t.getBoundingClientRect(), u = o.top, h = r.getBoundingClientRect ? r.getBoundingClientRect() : { | |
| top: 0 | |
| }, c = h.top; | |
| return u <= c; | |
| }, o1 = function(t) { | |
| return t && t.nodeName !== "BUTTON" && t.nodeName !== "A" ? o1(t.parentElement) : t; | |
| }, i1 = function(t, r, o) { | |
| var u; | |
| return t && o != null && (u = o.icon) != null && u.matchSize && !t.props.size ? /* @__PURE__ */ V.cloneElement(t, { | |
| size: r | |
| }) : t; | |
| }; | |
| function KP(e) { | |
| var t = /* @__PURE__ */ Object.create(null); | |
| return function(r) { | |
| return t[r] === void 0 && (t[r] = e(r)), t[r]; | |
| }; | |
| } | |
| var XP = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|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)-.*))$/, a1 = /* @__PURE__ */ KP( | |
| function(e) { | |
| return XP.test(e) || e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && e.charCodeAt(2) < 91; | |
| } | |
| /* Z+1 */ | |
| ), Wy = function(t, r) { | |
| var o = Object.keys(r.global.breakpoints).sort(function(c, p) { | |
| var g = r.global.breakpoints[c], m = r.global.breakpoints[p]; | |
| return g ? m ? g.value ? m.value ? g.value - m.value : -1 : 1 : -1 : 1; | |
| }), u = o[o.length - 1], h = o.find(function(c) { | |
| var p = r.global.breakpoints[c]; | |
| return !p.value || p.value >= t ? c : !1; | |
| }); | |
| return h || u; | |
| }, ey = function(t, r) { | |
| return r.global.deviceBreakpoints[t]; | |
| }, i0 = function(t, r) { | |
| var o = r && t.global.breakpoints[r] || {}; | |
| return o.edgeSize || (o.edgeSize = t.global.edgeSize), o.borderSize || (o.borderSize = t.global.borderSize), o.radius || (o.radius = t.global.radius), o.size || (o.size = t.global.size), o; | |
| }, oC = function(t, r) { | |
| if (t) | |
| return /(tablet|ipad|playbook|silk)|(android(?!.*mobile))/i.test(t) ? ey("tablet", r) : /Mobile|iPhone|Android/.test(t) ? ey("phone", r) : ey("computer", r); | |
| }, QP = xr.div.withConfig({ | |
| displayName: "responsive__testComp", | |
| componentId: "sc-336m7y-0" | |
| })(["display:flex;"]), JP = function() { | |
| var t = typeof QP.withComponent == "function"; | |
| return !t; | |
| }, Mn = { | |
| shouldForwardProp: a1 | |
| }, iC = yt(["font-family:", ";font-size:", ";line-height:", ";font-weight:", ";", " ", " box-sizing:border-box;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;"], function(e) { | |
| return e.theme.global.font.family; | |
| }, function(e) { | |
| return e.theme.global.font.size; | |
| }, function(e) { | |
| return e.theme.global.font.height; | |
| }, function(e) { | |
| return e.theme.global.font.weight; | |
| }, function(e) { | |
| return e.theme.global.font.variant && ` | |
| font-variant:` + e.theme.global.font.variant + `; | |
| `; | |
| }, function(e) { | |
| return !e.plain && Ys(e.theme.baseBackground, e.theme); | |
| }), s1 = yt(["border:", " solid ", ";border-radius:", ";"], function(e) { | |
| return e.theme.global.control.border.width; | |
| }, function(e) { | |
| return jr(e.theme.global.control.border.color || "border", e.theme); | |
| }, function(e) { | |
| return e.theme.global.control.border.radius; | |
| }), Ts = function(t, r, o, u, h) { | |
| var c = u && h.global.breakpoints[u]; | |
| if (typeof r == "string") | |
| return yt(["", ":", ";", ";"], t, h.global.edgeSize[r] || r, o && c ? Dn(c, ` | |
| ` + t + ": " + (c.edgeSize[r] || r) + `; | |
| `, o) : ""); | |
| var p = [], g = r.horizontal, m = r.vertical, E = r.top, S = r.bottom, I = r.left, w = r.right, b = g && m && g === m, T = E && S && I && w && E === S === I === w; | |
| if (b || T) { | |
| var R = b ? g : E; | |
| return yt(["", ":", ";", ";"], t, h.global.edgeSize[R] || R, o && c ? Dn(c, ` | |
| ` + t + ": " + (c.edgeSize[R] || R) + `; | |
| `, o) : ""); | |
| } | |
| return g && p.push(yt(["", "-left:", ";", "-right:", ";", ";"], t, h.global.edgeSize[g] || g, t, h.global.edgeSize[g] || g, o && c ? Dn(c, ` | |
| ` + t + "-left: " + (c.edgeSize[g] || g) + `; | |
| ` + t + "-right: " + (c.edgeSize[g] || g) + `; | |
| `, o) : "")), m && p.push(yt(["", "-top:", ";", "-bottom:", ";", ";"], t, h.global.edgeSize[m] || m, t, h.global.edgeSize[m] || m, o && c ? Dn(c, ` | |
| ` + t + "-top: " + (c.edgeSize[m] || m) + `; | |
| ` + t + "-bottom: " + (c.edgeSize[m] || m) + `; | |
| `, o) : "")), E && p.push(yt(["", "-top:", ";", ";"], t, h.global.edgeSize[E] || E, o && c ? Dn(c, ` | |
| ` + t + "-top: " + (c.edgeSize[E] || E) + `; | |
| `, o) : "")), S && p.push(yt(["", "-bottom:", ";", ";"], t, h.global.edgeSize[S] || S, o && c ? Dn(c, ` | |
| ` + t + "-bottom: " + (c.edgeSize[S] || S) + `; | |
| `, o) : "")), I && p.push(yt(["", "-left:", ";", ";"], t, h.global.edgeSize[I] || I, o && c ? Dn(c, ` | |
| ` + t + "-left: " + (c.edgeSize[I] || I) + `; | |
| `, o) : "")), w && p.push(yt(["", "-right:", ";", ";"], t, h.global.edgeSize[w] || w, o && c ? Dn(c, ` | |
| ` + t + "-right: " + (c.edgeSize[w] || w) + `; | |
| `, o) : "")), r.start && p.push(yt(["", "-inline-start:", ";", ";"], t, h.global.edgeSize[r.start] || r.start, o && c ? Dn(c, ` | |
| ` + t + "-inline-start: " + (c.edgeSize[r.start] || r.start) + `; | |
| `, o) : "")), r.end && p.push(yt(["", "-inline-end:", ";", ";"], t, h.global.edgeSize[r.end] || r.end, o && c ? Dn(c, ` | |
| ` + t + "-inline-end: " + (c.edgeSize[r.end] || r.end) + `; | |
| `, o) : "")), p; | |
| }, aC = function(t) { | |
| if (t === "horizontal") | |
| return "width: 100%;"; | |
| if (t === "vertical") | |
| return "height: 100%;"; | |
| if (t) | |
| return ` | |
| width: 100%; | |
| height: 100%; | |
| `; | |
| }, Dx = function(t, r) { | |
| var o = r === void 0 ? {} : r, u = o.forceOutline, h = o.justBorder, c = o.inset, p = function(m) { | |
| var E = ""; | |
| if (!m || u && !m.outline) { | |
| var S = jr("focus", t.theme); | |
| return S ? "outline: 2px solid " + S + ";" : ""; | |
| } | |
| if (m.outline && (!m.border || !h)) | |
| if (typeof m.outline == "object") { | |
| var I = jr(m.outline.color || "focus", t.theme), w = m.outline.size || "2px", b = m.outline.offset || "0px", T = ` | |
| outline-offset: ` + b + `; | |
| outline: ` + w + " solid " + I + `; | |
| `; | |
| if (E += T, !m.twoColor) return T; | |
| } else { | |
| var R = "outline: " + m.outline + ";"; | |
| if (E += R, !m.twoColor) return R; | |
| } | |
| if (m.shadow && (!m.border || !h)) | |
| if (typeof m.shadow == "object") { | |
| var D = jr( | |
| // If there is a focus.border.color, use that for shadow too. | |
| // This is for backwards compatibility in v2. | |
| m.border && m.border.color || m.shadow.color || "focus", | |
| t.theme | |
| ), $ = m.shadow.size || "2px", Y = m.shadow.blur || $, Z = m.shadow.inset ? "inset " : "", ne = "box-shadow: 0 0 " + Y + " " + $ + " " + D + (Z ? " " + Z : "") + ";"; | |
| if (E += ne, !m.twoColor) return ` | |
| outline: none; | |
| ` + ne; | |
| } else { | |
| var te = "box-shadow: " + m.shadow + ";"; | |
| if (E += te, !m.twoColor) return "outline: none; " + te; | |
| } | |
| if (m.border) { | |
| var ie = jr(m.border.color || "focus", t.theme), ye = "border-color: " + ie + ";"; | |
| if (E += ye, !m.twoColor) return "outline: none; " + ye; | |
| } | |
| return m.twoColor && E.length ? E : ""; | |
| }; | |
| return c && t.theme.global.focus.inset ? p(t.theme.global.focus.inset) : p(t.theme.global.focus); | |
| }, Bx = function(t, r) { | |
| var o = r === void 0 ? {} : r, u = o.forceOutline, h = o.justBorder, c = t.theme.global.focus, p = ""; | |
| if (!c || u && !c.outline) { | |
| var g = jr("focus", t.theme); | |
| return g ? "outline: none;" : ""; | |
| } | |
| if (c.outline && (!c.border || !h)) | |
| if (typeof c.outline == "object") { | |
| var m = ` | |
| outline-offset: 0px; | |
| outline: none; | |
| `; | |
| if (p += m, !c.twoColor) return ` | |
| outline-offset: 0px; | |
| outline: none; | |
| `; | |
| } else { | |
| var E = "outline: none;"; | |
| if (p += E, !c.twoColor) return E; | |
| } | |
| if (c.shadow && (!c.border || !h)) | |
| if (typeof c.shadow == "object") { | |
| var S = ` | |
| outline: none; | |
| box-shadow: none; | |
| `; | |
| if (p += S, !c.twoColor) return S; | |
| } else { | |
| var I = ` | |
| outline: none; | |
| box-shadow: none; | |
| `; | |
| if (p += I, !c.twoColor) return I; | |
| } | |
| if (c.border) { | |
| var w = ` | |
| outline: none; | |
| border-color: none; | |
| `; | |
| if (p += w, !c.twoColor) return w; | |
| } | |
| return c.twoColor && p.length ? p : ""; | |
| }, Nu = function(t) { | |
| var r = t === void 0 ? {} : t, o = r.forceOutline, u = r.inset, h = r.justBorder, c = r.skipSvgChildren; | |
| return yt(["", " ", " ", ""], function(p) { | |
| return !c && ` | |
| > circle, | |
| > ellipse, | |
| > line, | |
| > path, | |
| > polygon, | |
| > polyline, | |
| > rect { | |
| ` + Dx(p) + ` | |
| }`; | |
| }, function(p) { | |
| return Dx(p, { | |
| forceOutline: o, | |
| inset: u, | |
| justBorder: h | |
| }); | |
| }, !o && ` | |
| ::-moz-focus-inner { | |
| border: 0; | |
| } | |
| `); | |
| }, l1 = function(t) { | |
| var r = {}, o = r.forceOutline, u = r.justBorder, h = r.skipSvgChildren; | |
| return yt(["", " ", " ", ""], function(c) { | |
| return !h && ` | |
| > circle, | |
| > ellipse, | |
| > line, | |
| > path, | |
| > polygon, | |
| > polyline, | |
| > rect { | |
| ` + Bx(c) + ` | |
| }`; | |
| }, function(c) { | |
| return Bx(c, { | |
| forceOutline: o, | |
| justBorder: u | |
| }); | |
| }, !o && ` | |
| ::-moz-focus-inner { | |
| border: 0; | |
| } | |
| `); | |
| }, Hx = function(t, r) { | |
| return ni((t.theme.global.edgeSize[r] || r) + "px") + ni(t.theme.global.control.border.width + "px") + "px"; | |
| }, Uy = function(t, r) { | |
| if (typeof t.theme.global.input.padding != "object") { | |
| var o = Hx(t, t.theme.global.input.padding); | |
| return o; | |
| } | |
| var u; | |
| r === "left" || r === "right" ? u = "horizontal" : r === "top" || r === "bottom" ? u = "vertical" : u = void 0; | |
| var h = t.theme.global.input.padding[r] || t.theme.global.input.padding[u], c = Hx(t, h); | |
| return c; | |
| }, ty = yt(["color:", ";"], function(e) { | |
| return jr(e.theme.global.colors.placeholder, e.theme); | |
| }), ZP = yt(["&::-webkit-input-placeholder{", ";}&::-moz-placeholder{", ";}&:-ms-input-placeholder{", ";}"], ty, ty, ty), eI = function(t) { | |
| var r = t.theme.text[t.size]; | |
| return r ? yt(["font-size:", ";line-height:", ";"], r.size, r.height) : yt(["font-size:", ";"], t.size); | |
| }, sC = yt(["box-sizing:border-box;", " font-family:inherit;border:none;-webkit-appearance:none;background:transparent;color:inherit;width:100%;", " ", " ", " margin:0;", " &:focus{", ";}", " ", " ::-webkit-search-decoration{-webkit-appearance:none;}&::-moz-focus-inner{border:none;outline:none;}&:-moz-placeholder,&::-moz-placeholder{opacity:1;}", ""], function(e) { | |
| var t; | |
| return "font-size: " + (e.theme.global.input.font.size ? ((t = e.theme.text[e.theme.global.input.font.size]) == null ? void 0 : t.size) || e.theme.global.input.font.size : "inherit") + ";"; | |
| }, function(e) { | |
| return e.theme.global.input.font.height && "line-height: " + e.theme.global.input.font.height + ";"; | |
| }, function(e) { | |
| return e.theme.global.input.padding && typeof e.theme.global.input.padding != "object" ? ( | |
| // On a breaking change release, this condition could be removed and | |
| // just the edgeStyle could remain. Currently, this is needed for | |
| // backwards compatibility since we are placing the calculation in | |
| // base.js | |
| "padding: " + (ni(e.theme.global.edgeSize[e.theme.global.input.padding] || e.theme.global.input.padding) - ni(e.theme.global.control.border.width)) + "px;" | |
| ) : Ts("padding", e.theme.global.input.padding, e.responsive, e.theme.box.responsiveBreakpoint, e.theme); | |
| }, function(e) { | |
| return ( | |
| // for backwards compatibility, check if props.theme.global.input.weight | |
| (e.theme.global.input.weight || e.theme.global.input.font.weight) && yt(["font-weight:", ";"], e.theme.global.input.weight || e.theme.global.input.font.weight) | |
| ); | |
| }, function(e) { | |
| return e.size && eI(e); | |
| }, function(e) { | |
| return (!e.plain || e.focusIndicator) && Nu(); | |
| }, s1, ZP, function(e) { | |
| return e.theme.global.input.extend; | |
| }), tI = yt(["", ""], function(e) { | |
| var t, r, o = (t = e.theme) != null && (t = t.icon) != null && t.matchSize ? ni((r = e.theme.icon) == null || (r = r.size) == null ? void 0 : r[(e == null ? void 0 : e.size) || "medium"]) + ni(e.theme.global.edgeSize.medium) + "px" : e.theme.global.edgeSize.large; | |
| return e.reverse ? "padding-right: " + o + ";" : "padding-left: " + o + ";"; | |
| }), rI = function(t) { | |
| return typeof t == "string" ? yt(["overflow:", ";"], t) : yt(["", " ", ";"], t.horizontal && "overflow-x: " + t.horizontal + ";", t.vertical && "overflow-y: " + t.vertical + ";"); | |
| }, nI = { | |
| center: "center", | |
| end: "flex-end", | |
| start: "flex-start", | |
| stretch: "stretch", | |
| baseline: "baseline" | |
| }, Ks = yt(["", " ", " ", ""], function(e) { | |
| return e.alignSelf && "align-self: " + nI[e.alignSelf] + ";"; | |
| }, function(e) { | |
| return e.gridArea && "grid-area: " + e.gridArea + ";"; | |
| }, function(e) { | |
| return e.margin && e.theme.global && Ts("margin", e.margin, e.responsive, e.theme.global.edgeSize.responsiveBreakpoint, e.theme); | |
| }), a0 = function(t) { | |
| return yt(["opacity:", ";cursor:default;"], function(r) { | |
| return t || r.theme.global.control.disabled.opacity; | |
| }); | |
| }, lC = function(t, r, o) { | |
| return yt(["", ":", ";"], t, o.global.size[r] || r); | |
| }, Wx = yt(["outline:none;border:none;"]), s0 = function(t) { | |
| return yt(["box-shadow:", ";"], function(r) { | |
| return r.theme.global.elevation[r.theme.dark ? "dark" : "light"][t]; | |
| }); | |
| }, kv = function(t, r, o) { | |
| var u = []; | |
| if (t.padding || t.pad) { | |
| var h = t.padding || t.pad; | |
| h.vertical || h.horizontal ? u.push("padding: " + (r.global.edgeSize[h.vertical] || h.vertical || 0) + " " + (r.global.edgeSize[h.horizontal] || h.horizontal || 0) + ";") : u.push("padding: " + (r.global.edgeSize[h] || h || 0) + ";"); | |
| } | |
| if (t.background ? u.push(Ys(o || t.background, r, t.color || (Object.prototype.hasOwnProperty.call(t, "color") && t.color === void 0 ? !1 : void 0))) : t.color && u.push("color: " + jr(t.color, r) + ";"), t.border ? (t.border.width && u.push(yt(["border-style:solid;border-width:", ";"], t.border.width)), t.border.color && u.push(yt(["border-color:", ";"], jr(!t.background && o || t.border.color || "border", r))), t.border.radius && u.push(yt(["border-radius:", ";"], t.border.radius))) : t.border === !1 && u.push("border: none;"), o && !t.border && !t.background && u.push("color: " + jr(o, r) + ";"), t.font && (t.font.size && u.push("font-size: " + (r.text[t.font.size].size || t.font.size) + ";"), t.font.height && u.push("line-height: " + t.font.height + ";"), t.font.weight && u.push("font-weight: " + t.font.weight + ";")), t.opacity) { | |
| var c = t.opacity === !0 ? r.global.opacity.medium : r.global.opacity[t.opacity] || t.opacity; | |
| u.push("opacity: " + c + ";"); | |
| } | |
| return t.elevation && u.push(s0(t.elevation)), t.extend && u.push(t.extend), u; | |
| }, Ux = { | |
| full: "100%" | |
| }, u1 = function(t, r, o) { | |
| var u = i0(o, o.box.responsiveBreakpoint), h = o.global.radius ? "radius" : "edgeSize", c = []; | |
| if (typeof t == "object") { | |
| var p, g = Ux[t.size] || o.global[h][t.size || "medium"] || t.size, m = r && u && ((p = u[h]) == null ? void 0 : p[t.size]) && (u[h][t.size] || t.size); | |
| t.corner === "top" ? (c.push(yt(["border-top-left-radius:", ";border-top-right-radius:", ";"], g, g)), m && c.push(Dn(u, ` | |
| border-top-left-radius: ` + m + `; | |
| border-top-right-radius: ` + m + `; | |
| `, r))) : t.corner === "bottom" ? (c.push(yt(["border-bottom-left-radius:", ";border-bottom-right-radius:", ";"], g, g)), m && c.push(Dn(u, ` | |
| border-bottom-left-radius: ` + m + `; | |
| border-bottom-right-radius: ` + m + `; | |
| `, r))) : t.corner === "left" ? (c.push(yt(["border-top-left-radius:", ";border-bottom-left-radius:", ";"], g, g)), m && c.push(Dn(u, ` | |
| border-top-left-radius: ` + m + `; | |
| border-bottom-left-radius: ` + m + `; | |
| `, r))) : t.corner === "right" ? (c.push(yt(["border-top-right-radius:", ";border-bottom-right-radius:", ";"], g, g)), m && c.push(Dn(u, ` | |
| border-top-right-radius: ` + m + `; | |
| border-bottom-right-radius: ` + m + `; | |
| `, r))) : t.corner ? (c.push(yt(["border-", "-radius:", ";"], t.corner, g)), m && c.push(Dn(u, ` | |
| border-` + t.corner + "-radius: " + m + `; | |
| `, r))) : (c.push(yt(["border-radius:", ";"], g)), m && c.push(Dn(u, ` | |
| border-radius: ` + m + `; | |
| `, r))); | |
| } else { | |
| var E, S, I = t === !0 ? "medium" : t; | |
| c.push(yt(["border-radius:", ";"], Ux[I] || ((E = o.global[h]) == null ? void 0 : E[I]) || I)); | |
| var w = r && u && ((S = u[h]) == null ? void 0 : S[I]); | |
| w && c.push(Dn(u, ` | |
| border-radius: ` + w + `; | |
| `, r)); | |
| } | |
| return c; | |
| }, oI = { | |
| center: "center", | |
| end: "right", | |
| justify: "justify", | |
| start: "left" | |
| }, l0 = yt(["text-align:", ";"], function(e) { | |
| return oI[e.textAlign]; | |
| }), iI = { | |
| baseline: "baseline", | |
| center: "center", | |
| end: "flex-end", | |
| start: "flex-start", | |
| stretch: "stretch" | |
| }, aI = yt(["align-items:", ";"], function(e) { | |
| var t; | |
| return (t = iI[e.align]) != null ? t : e.align; | |
| }), sI = { | |
| around: "space-around", | |
| baseline: "baseline", | |
| between: "space-between", | |
| center: "center", | |
| evenly: "space-evenly", | |
| end: "flex-end", | |
| start: "flex-start", | |
| stretch: "stretch" | |
| }, lI = yt(["align-content:", ";"], function(e) { | |
| var t; | |
| return (t = sI[e.alignContent]) != null ? t : e.alignContent; | |
| }), Lu = function(t, r) { | |
| return t.global.size[r] || r; | |
| }, uI = function(t, r) { | |
| var o = []; | |
| return t.max && o.push(yt(["max-width:", ";"], Lu(r, t.max))), t.min && o.push(yt(["min-width:", ";"], Lu(r, t.min))), t.width && o.push(yt(["width:", ";"], Lu(r, t.width))), o; | |
| }, cI = function(t, r) { | |
| return yt(["width:", ";"], Lu(r, t)); | |
| }, c1 = function(t, r) { | |
| return typeof t == "object" ? uI(t, r) : cI(t, r); | |
| }, dI = function(t, r) { | |
| var o = []; | |
| return t.max && o.push(yt(["max-height:", ";"], Lu(r, t.max))), t.min && o.push(yt(["min-height:", ";"], Lu(r, t.min))), t.width && o.push(yt(["height:", ";"], Lu(r, t.height))), t.height && o.push(yt(["height:", ";"], Lu(r, t.height))), o; | |
| }, fI = function(t, r) { | |
| return yt(["height:", ";"], Lu(r, t)); | |
| }, $y = function(t, r) { | |
| return typeof t == "object" ? dI(t, r) : fI(t, r); | |
| }; | |
| function Fv() { | |
| return Fv = Object.assign ? Object.assign.bind() : function(e) { | |
| for (var t = 1; t < arguments.length; t++) { | |
| var r = arguments[t]; | |
| for (var o in r) ({}).hasOwnProperty.call(r, o) && (e[o] = r[o]); | |
| } | |
| return e; | |
| }, Fv.apply(null, arguments); | |
| } | |
| var Vy = function(t) { | |
| return t && typeof t == "object" && !Array.isArray(t); | |
| }, hI = function(t) { | |
| return Object.keys(t).forEach(function(r) { | |
| return r && Vy(t[r]) && Object.freeze(t[r]); | |
| }), Object.freeze(t); | |
| }, nm = function(t) { | |
| for (var r = arguments.length, o = new Array(r > 1 ? r - 1 : 0), u = 1; u < r; u++) | |
| o[u - 1] = arguments[u]; | |
| if (!o.length) | |
| return t; | |
| var h = Fv({}, t); | |
| return o.forEach(function(c) { | |
| Vy(c) && Object.keys(c).forEach(function(p) { | |
| Vy(c[p]) ? h[p] ? h[p] = nm(h[p], c[p]) : h[p] = Fv({}, c[p]) : h[p] = c[p]; | |
| }); | |
| }), h; | |
| }, Nv = function(t) { | |
| var r = {}; | |
| return Object.keys(t).forEach(function(o) { | |
| t[o] !== void 0 && (r[o] = t[o]); | |
| }), r; | |
| }, pI = ["data", "page", "step"]; | |
| function qy() { | |
| return qy = Object.assign ? Object.assign.bind() : function(e) { | |
| for (var t = 1; t < arguments.length; t++) { | |
| var r = arguments[t]; | |
| for (var o in r) ({}).hasOwnProperty.call(r, o) && (e[o] = r[o]); | |
| } | |
| return e; | |
| }, qy.apply(null, arguments); | |
| } | |
| function gI(e, t) { | |
| if (e == null) return {}; | |
| var r = {}; | |
| for (var o in e) if ({}.hasOwnProperty.call(e, o)) { | |
| if (t.indexOf(o) !== -1) continue; | |
| r[o] = e[o]; | |
| } | |
| return r; | |
| } | |
| var mI = function(t, r) { | |
| var o; | |
| return typeof t == "number" ? o = Math.ceil((t + 1) / r) : typeof t == "object" && "page" in t && (o = t.page), o; | |
| }, vI = function(t) { | |
| var r = t.data, o = t.page, u = t.step, h = gI(t, pI), c = r ? Math.ceil(r.length / u) : 0, p = V.useState(Math.min(o, c) || 1), g = p[0], m = p[1]; | |
| g > c && (r == null ? void 0 : r.length) > 0 && m(Math.max(c, 1)); | |
| var E = u * (g - 1), S = E + u, I = V.useMemo(function() { | |
| return Array.isArray(r) ? r.slice(E, S) : []; | |
| }, [r, E, S]), w = qy({ | |
| numberItems: r && r.length, | |
| onChange: function(T) { | |
| return m(T.page); | |
| }, | |
| page: g, | |
| step: u | |
| }, h); | |
| return [I, w]; | |
| }, Gy = /* @__PURE__ */ le.createContext([]), yI = function(t) { | |
| var r, o, u, h = []; | |
| return t != null && (r = t.global.input.readOnly) != null && (r = r.border) != null && r.color && h.push(yt(["border-color:", ";"], jr(t.global.input.readOnly.border.color, t))), t != null && (o = t.global.input.readOnly) != null && o.background && h.push(Ys((u = t.global.input.readOnly) == null ? void 0 : u.background, t)), h; | |
| }, Xs = function(t) { | |
| var r = V.useRef(null); | |
| return V.useImperativeHandle(t, function() { | |
| return r.current; | |
| }, [r]), r; | |
| }, d1 = function() { | |
| var t = V.useState(), r = t[0], o = t[1]; | |
| return V.useEffect(function() { | |
| var u = function() { | |
| return o(!1); | |
| }, h = function() { | |
| return o(!0); | |
| }; | |
| return document.addEventListener("mousedown", u), document.addEventListener("keydown", h), function() { | |
| document.removeEventListener("mousedown", u), document.removeEventListener("keydown", h); | |
| }; | |
| }, []), r; | |
| }, bI = {}, xI = bI, wI = ["capture", "target", "children", "onKeyDown"]; | |
| function SI(e, t) { | |
| if (e == null) return {}; | |
| var r = {}; | |
| for (var o in e) if ({}.hasOwnProperty.call(e, o)) { | |
| if (t.indexOf(o) !== -1) continue; | |
| r[o] = e[o]; | |
| } | |
| return r; | |
| } | |
| var kI = { | |
| 8: "onBackspace", | |
| 9: "onTab", | |
| 13: "onEnter", | |
| 27: "onEsc", | |
| 32: "onSpace", | |
| 37: "onLeft", | |
| 38: "onUp", | |
| 39: "onRight", | |
| 40: "onDown", | |
| 188: "onComma", | |
| 16: "onShift" | |
| }, Ql = function(t) { | |
| var r = t.capture, o = t.target, u = t.children, h = t.onKeyDown, c = SI(t, wI), p = V.useCallback(function(g) { | |
| for (var m = g.keyCode ? g.keyCode : g.which, E = kI[m], S = arguments.length, I = new Array(S > 1 ? S - 1 : 0), w = 1; w < S; w++) | |
| I[w - 1] = arguments[w]; | |
| E && c[E] && c[E].apply(c, [g].concat(I)), h && h.apply(void 0, [g].concat(I)); | |
| }, [h, c]); | |
| return V.useEffect(function() { | |
| return o === "document" && document.addEventListener("keydown", p, r), function() { | |
| o === "document" && document.removeEventListener("keydown", p, r); | |
| }; | |
| }, [r, p, o]), o === "document" ? u : /* @__PURE__ */ V.cloneElement(V.Children.only(u), { | |
| onKeyDown: p | |
| }); | |
| }; | |
| Ql.propTypes = xI; | |
| var Sh; | |
| function Vg() { | |
| return Vg = Object.assign ? Object.assign.bind() : function(e) { | |
| for (var t = 1; t < arguments.length; t++) { | |
| var r = arguments[t]; | |
| for (var o in r) ({}).hasOwnProperty.call(r, o) && (e[o] = r[o]); | |
| } | |
| return e; | |
| }, Vg.apply(null, arguments); | |
| } | |
| var CI = { | |
| auto: "auto", | |
| full: "100%", | |
| "1/2": "50%", | |
| "1/4": "25%", | |
| "2/4": "50%", | |
| "3/4": "75%", | |
| "1/3": "33.33%", | |
| "2/3": "66.66%" | |
| }, EI = yt(["flex-basis:", ";"], function(e) { | |
| return CI[e.basis] || e.theme.global.size[e.basis] || e.basis; | |
| }), OI = function(t, r, o) { | |
| var u = [yt(["min-width:0;min-height:0;flex-direction:", ";"], t === "row-responsive" ? "row" : t)]; | |
| if (t === "row-responsive" && o.box.responsiveBreakpoint) { | |
| var h = i0(o, o.box.responsiveBreakpoint); | |
| h && u.push(Dn(h, ` | |
| flex-direction: column; | |
| flex-basis: auto; | |
| justify-content: flex-start; | |
| align-items: stretch; | |
| `, r)); | |
| } | |
| return u; | |
| }, PI = (Sh = {}, Sh[!0] = "1 1", Sh[!1] = "0 0", Sh.grow = "1 0", Sh.shrink = "0 1", Sh), II = function(t) { | |
| return typeof t == "boolean" || typeof t == "string" ? PI[t] : (t.grow ? t.grow : 0) + " " + (t.shrink ? t.shrink : 0); | |
| }, TI = yt(["flex:", ";"], function(e) { | |
| return "" + II(e.flex) + (e.flex !== !0 && !e.basis ? " auto" : ""); | |
| }), RI = { | |
| around: "space-around", | |
| between: "space-between", | |
| center: "center", | |
| end: "flex-end", | |
| evenly: "space-evenly", | |
| start: "flex-start" | |
| }, _I = yt(["justify-content:", ";"], function(e) { | |
| return RI[e.justify]; | |
| }), AI = { | |
| true: "wrap", | |
| reverse: "wrap-reverse" | |
| }, LI = yt(["flex-wrap:", ";"], function(e) { | |
| return AI[e.wrapProp]; | |
| }), uC = function(t, r) { | |
| return typeof t == "string" ? Fx({ | |
| type: t | |
| }, r) : Array.isArray(t) ? t.reduce(function(o, u, h) { | |
| return yt(["", "", " ", ""], o, h > 0 ? "," : "", uC(u, r)); | |
| }, "") : typeof t == "object" ? Fx(t, r) : ""; | |
| }, MI = function(t) { | |
| return t.type === "flipIn" || t.type === "flipOut" ? "perspective: 1000px; transform-style: preserve-3d;" : ""; | |
| }, cv = function(t) { | |
| var r = Vk(t.type, t.size); | |
| return r ? r[0] + " " + MI(t) : ""; | |
| }, zI = function(t) { | |
| return typeof t == "string" ? cv({ | |
| type: t | |
| }) : Array.isArray(t) ? t.map(function(r) { | |
| return cv(typeof r == "string" ? { | |
| type: r | |
| } : r); | |
| }).join("") : typeof t == "object" ? cv(t) : ""; | |
| }, FI = yt(["", ";"], function(e) { | |
| return yt(["", " animation:", ";"], zI(e.animation), uC(e.animation, e.theme)); | |
| }), NI = yt(["cursor:pointer;&:hover{", " ", "}"], function(e) { | |
| var t; | |
| return ((t = e.kindProp) == null ? void 0 : t.hover) && Zh(e.kindProp.hover, e.theme); | |
| }, function(e) { | |
| return e.hoverIndicator && Zh(e.hoverIndicator, e.theme); | |
| }), jI = function(t, r, o, u, h) { | |
| var c = h.global.edgeSize[r] || r, p = i0(h, h.box.responsiveBreakpoint), g = o && p && p.edgeSize[r], m = []; | |
| if (typeof r == "object") { | |
| var E = o && p && p.edgeSize[r.column], S = o && p && p.edgeSize[r.row]; | |
| r.row !== void 0 && r.column !== void 0 ? (m.push("gap: " + (h.global.edgeSize[r.row] || r.row) + " " + (h.global.edgeSize[r.column] || r.column) + ";"), (S || E) && m.push(Dn(p, "gap: " + (S || r.row) + " " + (E || r.column) + ";", o))) : r.row !== void 0 ? (m.push("row-gap: " + (h.global.edgeSize[r.row] || r.row) + ";"), S && m.push(Dn(p, "row-gap: " + S + ";", o))) : r.column !== void 0 && (m.push("column-gap: " + (h.global.edgeSize[r.column] || r.column) + ";"), E && m.push(Dn(p, "column-gap: " + E + ";", o))); | |
| } else t === "column" || t === "column-reverse" ? (m.push("row-gap: " + c + ";"), g && m.push(Dn(p, "row-gap: " + g + ";", o))) : (m.push("column-gap: " + c + ";"), u && m.push("row-gap: " + c + ";"), g && (t === "row" || t === "row-reverse" ? m.push(Dn(p, "column-gap: " + g + ";", o)) : t === "row-responsive" && m.push(Dn(p, "row-gap: " + g + ";", o)))); | |
| return m; | |
| }, DI = yt(["container-type:inline-size;"]), BI = xr.div.withConfig({ | |
| shouldForwardProp: function(t) { | |
| return a1(t) && !["selected"].includes(t); | |
| } | |
| }).withConfig({ | |
| displayName: "StyledBox", | |
| componentId: "sc-13pk1d4-0" | |
| })(["display:flex;box-sizing:border-box;", ";", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", ""], function(e) { | |
| return !e.basis && "max-width: 100%;"; | |
| }, Ks, function(e) { | |
| return e.align && aI; | |
| }, function(e) { | |
| return e.alignContent && lI; | |
| }, function(e) { | |
| return e.background && Ys(e.background, e.theme); | |
| }, function(e) { | |
| return e.border && zv(e.border, e.responsive, e.theme); | |
| }, function(e) { | |
| return e.directionProp && OI(e.directionProp, e.responsive, e.theme); | |
| }, function(e) { | |
| return e.heightProp && $y(e.heightProp, e.theme); | |
| }, function(e) { | |
| return e.widthProp && c1(e.widthProp, e.theme); | |
| }, function(e) { | |
| return e.flex !== void 0 && TI; | |
| }, function(e) { | |
| return e.basis && EI; | |
| }, function(e) { | |
| return e.fillProp && aC(e.fillProp); | |
| }, function(e) { | |
| return e.justify && _I; | |
| }, function(e) { | |
| return e.pad && Ts("padding", e.pad, e.responsive, e.theme.box.responsiveBreakpoint, e.theme); | |
| }, function(e) { | |
| return e.round && u1(e.round, e.responsive, e.theme); | |
| }, function(e) { | |
| return e.wrapProp && LI; | |
| }, function(e) { | |
| return e.overflowProp && rI(e.overflowProp); | |
| }, function(e) { | |
| return e.elevationProp && s0(e.elevationProp); | |
| }, function(e) { | |
| return e.gap && jI(e.directionProp, e.gap, e.responsive, e.wrapProp, e.theme); | |
| }, function(e) { | |
| return e.animation && FI; | |
| }, function(e) { | |
| return e.onClick && NI; | |
| }, function(e) { | |
| return e.onClick && e.focus && e.focusIndicator !== !1 && // only show focus styles when using keyboard navigation | |
| // but not with mouse | |
| yt(["", " &:focus:not(:focus-visible){", "}"], Nu(), l1()); | |
| }, function(e) { | |
| return e.theme.box && e.theme.box.extend; | |
| }, function(e) { | |
| return e.kindProp && e.kindProp.extend; | |
| }, function(e) { | |
| return e.responsiveContainer ? DI : ""; | |
| }), HI = function(t, r, o, u, h) { | |
| var c = h.global.edgeSize[r] || r, p = i0(h, h.box.responsiveBreakpoint), g = o && p && p.edgeSize[r], m = []; | |
| if (t === "column" || t === "column-reverse" ? (m.push("height: " + c + ";"), g && m.push(Dn(p, "height: " + g + ";", o))) : (m.push("width: " + c + ";"), g && (t === "row" || t === "row-reverse" ? m.push(Dn(p, "width: " + g + ";", o)) : t === "row-responsive" && m.push(Dn(p, ` | |
| width: auto; | |
| height: ` + g + `; | |
| `, o)))), u === "between" || u && u.side === "between") { | |
| var E = u.size || h.box.border.offset, S = h.global.borderSize[E] || E, I = ni(c) / 2 - ni(S) / 2 + "px", w = o && p && (p.borderSize[E] || E), b = w && ni(g || c) / 2 - ni(w) / 2 + "px"; | |
| if (t === "column" || t === "column-reverse") { | |
| var T = typeof u == "string" ? "top" : Vg({}, u, { | |
| side: "top" | |
| }); | |
| m.push(yt(["position:relative;&:after{content:'';position:absolute;width:100%;top:", ";", "}"], I, zv(T, o, h))), b && m.push(Dn(p, ` | |
| &:after { | |
| content: ''; | |
| top: ` + b + `; | |
| }`, o)); | |
| } else { | |
| var R = typeof u == "string" ? "left" : Vg({}, u, { | |
| side: "left" | |
| }); | |
| if (m.push(yt(["position:relative;&:after{content:'';position:absolute;height:100%;left:", ";", "}"], I, zv(R, t !== "row-responsive" && o, h))), b) { | |
| if (t === "row" || t === "row-reverse") | |
| m.push(Dn(p, ` | |
| &:after { | |
| content: ''; | |
| left: ` + b + `; | |
| }`, o)); | |
| else if (t === "row-responsive") { | |
| var D = typeof u == "string" ? "top" : Vg({}, u, { | |
| side: "top" | |
| }); | |
| m.push(Dn(p, ` | |
| &:after { | |
| content: ''; | |
| height: auto; | |
| left: unset; | |
| width: 100%; | |
| top: ` + b + `; | |
| border-left: none; | |
| ` + Jk(D, h) + ` | |
| }`, o)); | |
| } | |
| } | |
| } | |
| } | |
| return m; | |
| }, WI = xr.div.withConfig(Mn).withConfig({ | |
| displayName: "StyledBox__StyledBoxGap", | |
| componentId: "sc-13pk1d4-1" | |
| })(["flex:0 0 auto;align-self:stretch;", ";"], function(e) { | |
| return e.gap && HI(e.directionProp, e.gap, e.responsive, e.border, e.theme); | |
| }), ry = ["auto", "hidden", "scroll", "visible"]; | |
| he.shape({ | |
| color: he.oneOfType([he.string, he.shape({ | |
| dark: he.string, | |
| light: he.string | |
| })]), | |
| side: he.oneOf(["top", "left", "bottom", "right", "start", "end", "horizontal", "vertical", "all", "between"]), | |
| size: he.oneOfType([he.oneOf(["xsmall", "small", "medium", "large", "xlarge"]), he.string]), | |
| style: he.oneOf(["solid", "dashed", "dotted", "double", "groove", "ridge", "inset", "outset", "hidden"]) | |
| }); | |
| he.oneOfType([he.oneOf(ry), he.shape({ | |
| horizontal: he.oneOf(ry), | |
| vertical: he.oneOf(ry) | |
| }), he.string]); | |
| var UI = {}, $I = UI, VI = {}, qI = VI, cC = /* @__PURE__ */ le.createContext(), np = function() { | |
| return V.useContext(cC); | |
| }, GI = xr.div.withConfig(Mn).withConfig({ | |
| displayName: "StyledSkeleton", | |
| componentId: "sc-1omqm6u-0" | |
| })(["display:flex;box-sizing:border-box;", " ", " ", " ", " ", " ", " ", " ", ""], Ks, function(e) { | |
| return e.background && Ys(e.background, e.theme); | |
| }, function(e) { | |
| var t; | |
| return $y(e.heightProp || ((t = e.theme.text) == null || (t = t.medium) == null ? void 0 : t.height), e.theme); | |
| }, function(e) { | |
| return c1(e.widthProp || "100%", e.theme); | |
| }, function(e) { | |
| return e.pad && Ts("padding", e.pad, e.responsive, e.theme.box.responsiveBreakpoint, e.theme); | |
| }, function(e) { | |
| return e.round && u1(e.round, e.responsive, e.theme); | |
| }, function(e) { | |
| var t; | |
| return (t = e.theme) == null || (t = t.skeleton) == null ? void 0 : t.extend; | |
| }, function(e) { | |
| return e.responsiveSize && Dn(e.responsiveSize.breakpoint, $y(e.responsiveSize.height, e.theme), e.responsive); | |
| }), cg = {}, dg = {}; | |
| const dC = /* @__PURE__ */ uO(RP); | |
| var Yd = {}, ny = {}, $x; | |
| function gm() { | |
| return $x || ($x = 1, function(e) { | |
| e.__esModule = !0, e.deepMerge = h, e.generatePrefix = e.default = void 0, e.iconPad = m, e.isObject = u, e.parseMetricToNum = void 0, e.useScaleProps = p; | |
| var t = oo(), r = dC; | |
| function o() { | |
| return o = Object.assign ? Object.assign.bind() : function(E) { | |
| for (var S = 1; S < arguments.length; S++) { | |
| var I = arguments[S]; | |
| for (var w in I) ({}).hasOwnProperty.call(I, w) && (E[w] = I[w]); | |
| } | |
| return E; | |
| }, o.apply(null, arguments); | |
| } | |
| function u(E) { | |
| return E && typeof E == "object" && !Array.isArray(E); | |
| } | |
| function h(E) { | |
| for (var S = arguments.length, I = new Array(S > 1 ? S - 1 : 0), w = 1; w < S; w++) | |
| I[w - 1] = arguments[w]; | |
| if (!I.length) | |
| return E; | |
| var b = o({}, E); | |
| return I.forEach(function(T) { | |
| u(T) && Object.keys(T).forEach(function(R) { | |
| u(T[R]) ? b[R] ? b[R] = h(b[R], T[R]) : b[R] = o({}, T[R]) : b[R] = T[R]; | |
| }); | |
| }), b; | |
| } | |
| var c = e.parseMetricToNum = function(S) { | |
| return S === void 0 && (S = ""), parseFloat(S.match(/\d+(\.\d+)?/), 10); | |
| }; | |
| function p(E) { | |
| var S, I = (0, t.useContext)(r.ThemeContext), w = E.size, b = {}; | |
| if (I != null && (S = I.icon) != null && S.disableScaleDown) { | |
| var T = c(I.icon.size[w] || w); | |
| T < 24 && (b.vectorEffect = "non-scaling-stroke"); | |
| } | |
| return b; | |
| } | |
| var g = function(S, I) { | |
| return (S - I) / 2 + "px"; | |
| }; | |
| function m(E) { | |
| var S, I, w, b = E.height, T = E.size, R = T === void 0 ? "medium" : T, D = E.width, $ = (0, t.useContext)(r.ThemeContext), Y = c(($ == null || (S = $.icon) == null || (S = S.size) == null ? void 0 : S[R]) || R), Z = "", ne = "16px", te = c(ne); | |
| if (typeof window < "u") { | |
| var ie; | |
| te = c(((ie = window) == null ? void 0 : ie.getComputedStyle(document.body).getPropertyValue("font-size")) || ne); | |
| } | |
| if (b && $ != null && (I = $.text) != null && (I = I[b]) != null && I.height) { | |
| var ye = $.text[b].height.match(/(px|rem)/), J = ye[0], de = c($.text[b].height); | |
| if (J === "rem" && (de *= te), de > Y) { | |
| var ke = g(de, Y); | |
| Z += "padding-top: " + ke + "; padding-bottom: " + ke + ";"; | |
| } | |
| } | |
| if (D && $ != null && (w = $.text) != null && (w = w[D]) != null && w.height) { | |
| var se = $.text[D].height.match(/(px|rem)/), Re = se[0], Ne = c($.text[D].height); | |
| if (Re === "rem" && (Ne *= te), Ne > Y) { | |
| var Be = g(Ne, Y); | |
| Z += "padding-left: " + Be + "; padding-right: " + Be + ";"; | |
| } | |
| } | |
| return Z; | |
| } | |
| e.generatePrefix = function(S) { | |
| return "_grommeticons-" + S + "-" + // don't include time-based/random id generation in snapshot tests to avoid | |
| // needing to update snapshots with every commit | |
| (Date.now() + Math.random()); | |
| }, e.default = { | |
| deepMerge: h, | |
| isObject: u, | |
| parseMetricToNum: c, | |
| iconPad: m, | |
| useScaleProps: p | |
| }; | |
| }(ny)), ny; | |
| } | |
| var fg = {}, hg = {}, Vx; | |
| function fC() { | |
| return Vx || (Vx = 1, hg.__esModule = !0, hg.base = void 0, hg.base = { | |
| global: { | |
| colors: { | |
| icon: "#666666" | |
| } | |
| }, | |
| icon: { | |
| size: { | |
| small: "12px", | |
| medium: "24px", | |
| large: "48px", | |
| xlarge: "96px" | |
| } | |
| } | |
| }), hg; | |
| } | |
| var qx; | |
| function YI() { | |
| if (qx) return fg; | |
| qx = 1, fg.__esModule = !0, fg.base = void 0; | |
| var e = /* @__PURE__ */ fC(); | |
| return fg.base = e.base, fg; | |
| } | |
| var Gx; | |
| function KI() { | |
| if (Gx) return Yd; | |
| Gx = 1, Yd.__esModule = !0, Yd.extendDefaultTheme = Yd.defaultProps = void 0; | |
| var e = /* @__PURE__ */ gm(), t = /* @__PURE__ */ YI(), r = Yd.defaultProps = { | |
| theme: t.base | |
| }; | |
| return Yd.extendDefaultTheme = function(u) { | |
| r.theme = (0, e.deepMerge)(t.base, u); | |
| }, Yd; | |
| } | |
| var Yx; | |
| function oi() { | |
| if (Yx) return dg; | |
| Yx = 1, dg.__esModule = !0, dg.StyledIcon = void 0; | |
| var e = c(oo()), t = c(dC), r = /* @__PURE__ */ KI(), o = /* @__PURE__ */ gm(), u = ["a11yTitle", "color", "size", "theme"]; | |
| function h(b) { | |
| if (typeof WeakMap != "function") return null; | |
| var T = /* @__PURE__ */ new WeakMap(), R = /* @__PURE__ */ new WeakMap(); | |
| return (h = function($) { | |
| return $ ? R : T; | |
| })(b); | |
| } | |
| function c(b, T) { | |
| if (b && b.__esModule) return b; | |
| if (b === null || typeof b != "object" && typeof b != "function") return { default: b }; | |
| var R = h(T); | |
| if (R && R.has(b)) return R.get(b); | |
| var D = { __proto__: null }, $ = Object.defineProperty && Object.getOwnPropertyDescriptor; | |
| for (var Y in b) if (Y !== "default" && {}.hasOwnProperty.call(b, Y)) { | |
| var Z = $ ? Object.getOwnPropertyDescriptor(b, Y) : null; | |
| Z && (Z.get || Z.set) ? Object.defineProperty(D, Y, Z) : D[Y] = b[Y]; | |
| } | |
| return D.default = b, R && R.set(b, D), D; | |
| } | |
| function p() { | |
| return p = Object.assign ? Object.assign.bind() : function(b) { | |
| for (var T = 1; T < arguments.length; T++) { | |
| var R = arguments[T]; | |
| for (var D in R) ({}).hasOwnProperty.call(R, D) && (b[D] = R[D]); | |
| } | |
| return b; | |
| }, p.apply(null, arguments); | |
| } | |
| function g(b, T) { | |
| if (b == null) return {}; | |
| var R = {}; | |
| for (var D in b) if ({}.hasOwnProperty.call(b, D)) { | |
| if (T.indexOf(D) >= 0) continue; | |
| R[D] = b[D]; | |
| } | |
| return R; | |
| } | |
| var m = function b(T, R, D) { | |
| var $ = R.global && R.global.colors[T] !== void 0 ? R.global.colors[T] : T, Y = $; | |
| return $ && (R.dark && $.dark !== void 0 ? Y = $.dark : !R.dark && $.light !== void 0 && (Y = $.light)), Y && R.global && R.global.colors[Y] !== void 0 && (Y = b(Y, R)), Y; | |
| }, E = function(T, R, D, $) { | |
| return (0, t.css)(["", ":", ";"], T, m(R, D)); | |
| }, S = (0, t.css)(["", " ", " g{fill:inherit;stroke:inherit;}*:not([stroke]){&[fill='none']{stroke-width:0;}}*[stroke*='#'],*[STROKE*='#']{stroke:inherit;fill:none;}*[fill-rule],*[FILL-RULE],*[fill*='#'],*[FILL*='#']{fill:inherit;stroke:none;}"], function(b) { | |
| return E("fill", b.color || b.theme.global.colors.icon, b.theme); | |
| }, function(b) { | |
| return E("stroke", b.color || b.theme.global.colors.icon, b.theme); | |
| }), I = /* @__PURE__ */ (0, e.forwardRef)(function(b, T) { | |
| var R = b.a11yTitle; | |
| b.color, b.size, b.theme; | |
| var D = g(b, u); | |
| return /* @__PURE__ */ e.default.createElement("svg", p({ | |
| ref: T, | |
| "aria-label": R | |
| }, D)); | |
| }); | |
| I.displayName = "Icon"; | |
| var w = dg.StyledIcon = (0, t.default)(I).withConfig({ | |
| // don't let height attribute leak to DOM | |
| // https://styled-components.com/docs/api#shouldforwardprop | |
| shouldForwardProp: function(T) { | |
| return !["height", "width"].includes(T); | |
| } | |
| }).withConfig({ | |
| displayName: "StyledIcon", | |
| componentId: "sc-ofa7kd-0" | |
| })(["display:inline-block;flex:0 0 auto;", " ", " ", " ", ""], function(b) { | |
| var T, R = b.size, D = R === void 0 ? "medium" : R, $ = b.theme, Y = b.viewBox, Z = (Y || "0 0 24 24").split(" "), ne = Z[2], te = Z[3], ie = ne / te, ye = $.icon.size[D] || D, J = (0, o.parseMetricToNum)(ye), de = ((T = ye.match(/[a-z]+$/)) == null ? void 0 : T[0]) || "px"; | |
| return ne < te ? ` | |
| width: ` + J + de + `; | |
| height: ` + J / ie + de + `; | |
| ` : te < ne ? ` | |
| width: ` + J * ie + de + `; | |
| height: ` + J + de + `; | |
| ` : ` | |
| width: ` + J + de + `; | |
| height: ` + J + de + `; | |
| `; | |
| }, function(b) { | |
| var T = b.color; | |
| return T !== "plain" && S; | |
| }, function(b) { | |
| return (b.height || b.width) && (0, o.iconPad)(b); | |
| }, function(b) { | |
| var T = b.theme; | |
| return T && T.icon.extend; | |
| }); | |
| return w.defaultProps = {}, Object.setPrototypeOf(w.defaultProps, r.defaultProps), dg; | |
| } | |
| var Kx; | |
| function XI() { | |
| if (Kx) return cg; | |
| Kx = 1, cg.__esModule = !0, cg.Actions = void 0; | |
| var e = o(oo()), t = /* @__PURE__ */ oi(); | |
| function r(c) { | |
| if (typeof WeakMap != "function") return null; | |
| var p = /* @__PURE__ */ new WeakMap(), g = /* @__PURE__ */ new WeakMap(); | |
| return (r = function(E) { | |
| return E ? g : p; | |
| })(c); | |
| } | |
| function o(c, p) { | |
| if (c && c.__esModule) return c; | |
| if (c === null || typeof c != "object" && typeof c != "function") return { default: c }; | |
| var g = r(p); | |
| if (g && g.has(c)) return g.get(c); | |
| var m = { __proto__: null }, E = Object.defineProperty && Object.getOwnPropertyDescriptor; | |
| for (var S in c) if (S !== "default" && {}.hasOwnProperty.call(c, S)) { | |
| var I = E ? Object.getOwnPropertyDescriptor(c, S) : null; | |
| I && (I.get || I.set) ? Object.defineProperty(m, S, I) : m[S] = c[S]; | |
| } | |
| return m.default = c, g && g.set(c, m), m; | |
| } | |
| function u() { | |
| return u = Object.assign ? Object.assign.bind() : function(c) { | |
| for (var p = 1; p < arguments.length; p++) { | |
| var g = arguments[p]; | |
| for (var m in g) ({}).hasOwnProperty.call(g, m) && (c[m] = g[m]); | |
| } | |
| return c; | |
| }, u.apply(null, arguments); | |
| } | |
| var h = cg.Actions = /* @__PURE__ */ (0, e.forwardRef)(function(c, p) { | |
| return /* @__PURE__ */ e.default.createElement(t.StyledIcon, u({ | |
| ref: p, | |
| viewBox: "0 0 24 24", | |
| a11yTitle: "Actions" | |
| }, c), /* @__PURE__ */ e.default.createElement("path", { | |
| fill: "none", | |
| stroke: "#000", | |
| strokeWidth: "2", | |
| d: "M12 17.5a5.5 5.5 0 1 0 0-11 5.5 5.5 0 0 0 0 11zm0-11V1m0 22v-5.5M1 12h5.5m11 0H23M4.437 4.437l4.125 4.125m6.876 6.876 4.124 4.124m0-15.125-4.125 4.125m-6.874 6.876-4.126 4.124" | |
| })); | |
| }); | |
| return h.displayName = "Actions", cg; | |
| } | |
| var QI = /* @__PURE__ */ XI(), pg = {}, Xx; | |
| function JI() { | |
| if (Xx) return pg; | |
| Xx = 1, pg.__esModule = !0, pg.AssistListening = void 0; | |
| var e = o(oo()), t = /* @__PURE__ */ oi(); | |
| function r(c) { | |
| if (typeof WeakMap != "function") return null; | |
| var p = /* @__PURE__ */ new WeakMap(), g = /* @__PURE__ */ new WeakMap(); | |
| return (r = function(E) { | |
| return E ? g : p; | |
| })(c); | |
| } | |
| function o(c, p) { | |
| if (c && c.__esModule) return c; | |
| if (c === null || typeof c != "object" && typeof c != "function") return { default: c }; | |
| var g = r(p); | |
| if (g && g.has(c)) return g.get(c); | |
| var m = { __proto__: null }, E = Object.defineProperty && Object.getOwnPropertyDescriptor; | |
| for (var S in c) if (S !== "default" && {}.hasOwnProperty.call(c, S)) { | |
| var I = E ? Object.getOwnPropertyDescriptor(c, S) : null; | |
| I && (I.get || I.set) ? Object.defineProperty(m, S, I) : m[S] = c[S]; | |
| } | |
| return m.default = c, g && g.set(c, m), m; | |
| } | |
| function u() { | |
| return u = Object.assign ? Object.assign.bind() : function(c) { | |
| for (var p = 1; p < arguments.length; p++) { | |
| var g = arguments[p]; | |
| for (var m in g) ({}).hasOwnProperty.call(g, m) && (c[m] = g[m]); | |
| } | |
| return c; | |
| }, u.apply(null, arguments); | |
| } | |
| var h = pg.AssistListening = /* @__PURE__ */ (0, e.forwardRef)(function(c, p) { | |
| return /* @__PURE__ */ e.default.createElement(t.StyledIcon, u({ | |
| ref: p, | |
| viewBox: "0 0 24 24", | |
| a11yTitle: "AssistListening" | |
| }, c), /* @__PURE__ */ e.default.createElement("path", { | |
| fill: "none", | |
| stroke: "#000", | |
| strokeLinecap: "round", | |
| strokeLinejoin: "round", | |
| strokeWidth: "2", | |
| d: "M11 21c.757.667 1.424 1 2 1 2 0 3-1 3-3 0-1.333.667-2.667 2-4 1.267-1.267 2-3.067 2-5a7 7 0 0 0-14 0m11 0a4 4 0 1 0-8 0M3 20l5-6 1 4 5-6" | |
| })); | |
| }); | |
| return h.displayName = "AssistListening", pg; | |
| } | |
| var ZI = /* @__PURE__ */ JI(), gg = {}, Qx; | |
| function e5() { | |
| if (Qx) return gg; | |
| Qx = 1, gg.__esModule = !0, gg.CircleInformation = void 0; | |
| var e = o(oo()), t = /* @__PURE__ */ oi(); | |
| function r(c) { | |
| if (typeof WeakMap != "function") return null; | |
| var p = /* @__PURE__ */ new WeakMap(), g = /* @__PURE__ */ new WeakMap(); | |
| return (r = function(E) { | |
| return E ? g : p; | |
| })(c); | |
| } | |
| function o(c, p) { | |
| if (c && c.__esModule) return c; | |
| if (c === null || typeof c != "object" && typeof c != "function") return { default: c }; | |
| var g = r(p); | |
| if (g && g.has(c)) return g.get(c); | |
| var m = { __proto__: null }, E = Object.defineProperty && Object.getOwnPropertyDescriptor; | |
| for (var S in c) if (S !== "default" && {}.hasOwnProperty.call(c, S)) { | |
| var I = E ? Object.getOwnPropertyDescriptor(c, S) : null; | |
| I && (I.get || I.set) ? Object.defineProperty(m, S, I) : m[S] = c[S]; | |
| } | |
| return m.default = c, g && g.set(c, m), m; | |
| } | |
| function u() { | |
| return u = Object.assign ? Object.assign.bind() : function(c) { | |
| for (var p = 1; p < arguments.length; p++) { | |
| var g = arguments[p]; | |
| for (var m in g) ({}).hasOwnProperty.call(g, m) && (c[m] = g[m]); | |
| } | |
| return c; | |
| }, u.apply(null, arguments); | |
| } | |
| var h = gg.CircleInformation = /* @__PURE__ */ (0, e.forwardRef)(function(c, p) { | |
| return /* @__PURE__ */ e.default.createElement(t.StyledIcon, u({ | |
| ref: p, | |
| viewBox: "0 0 24 24", | |
| a11yTitle: "CircleInformation" | |
| }, c), /* @__PURE__ */ e.default.createElement("path", { | |
| fill: "none", | |
| stroke: "#000", | |
| strokeWidth: "2", | |
| d: "M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10zm0-12v8m0-12v2" | |
| })); | |
| }); | |
| return h.displayName = "CircleInformation", gg; | |
| } | |
| var t5 = /* @__PURE__ */ e5(), mg = {}, Jx; | |
| function r5() { | |
| if (Jx) return mg; | |
| Jx = 1, mg.__esModule = !0, mg.ClosedCaption = void 0; | |
| var e = o(oo()), t = /* @__PURE__ */ oi(); | |
| function r(c) { | |
| if (typeof WeakMap != "function") return null; | |
| var p = /* @__PURE__ */ new WeakMap(), g = /* @__PURE__ */ new WeakMap(); | |
| return (r = function(E) { | |
| return E ? g : p; | |
| })(c); | |
| } | |
| function o(c, p) { | |
| if (c && c.__esModule) return c; | |
| if (c === null || typeof c != "object" && typeof c != "function") return { default: c }; | |
| var g = r(p); | |
| if (g && g.has(c)) return g.get(c); | |
| var m = { __proto__: null }, E = Object.defineProperty && Object.getOwnPropertyDescriptor; | |
| for (var S in c) if (S !== "default" && {}.hasOwnProperty.call(c, S)) { | |
| var I = E ? Object.getOwnPropertyDescriptor(c, S) : null; | |
| I && (I.get || I.set) ? Object.defineProperty(m, S, I) : m[S] = c[S]; | |
| } | |
| return m.default = c, g && g.set(c, m), m; | |
| } | |
| function u() { | |
| return u = Object.assign ? Object.assign.bind() : function(c) { | |
| for (var p = 1; p < arguments.length; p++) { | |
| var g = arguments[p]; | |
| for (var m in g) ({}).hasOwnProperty.call(g, m) && (c[m] = g[m]); | |
| } | |
| return c; | |
| }, u.apply(null, arguments); | |
| } | |
| var h = mg.ClosedCaption = /* @__PURE__ */ (0, e.forwardRef)(function(c, p) { | |
| return /* @__PURE__ */ e.default.createElement(t.StyledIcon, u({ | |
| ref: p, | |
| viewBox: "0 0 24 24", | |
| a11yTitle: "ClosedCaption" | |
| }, c), /* @__PURE__ */ e.default.createElement("path", { | |
| fill: "none", | |
| stroke: "#000", | |
| strokeWidth: "2", | |
| d: "M1 12c0-7 1.5-8 11-8s11 1 11 8-1.5 8-11 8-11-1-11-8zm4.25 2c0 1.5.75 2 2.5 2s2.5-.5 2.5-2h-.271c0 1.25-1 2-2.229 2-1.23 0-2.229-.75-2.229-2v-4C5.5 8.75 6.5 8 7.75 8s2.25.75 2.229 2h.271c0-1.25-1.021-2-2.5-2s-2.5.75-2.5 2v4zm8 0c0 1.5.75 2 2.5 2s2.5-.5 2.5-2h-.271c0 1.25-1 2-2.229 2-1.23 0-2.229-.75-2.229-2v-4c-.021-1.25.979-2 2.229-2s2.25.75 2.229 2h.271c0-1.25-1.021-2-2.5-2s-2.5.75-2.5 2v4z" | |
| })); | |
| }); | |
| return h.displayName = "ClosedCaption", mg; | |
| } | |
| var n5 = /* @__PURE__ */ r5(), vg = {}, Zx; | |
| function o5() { | |
| if (Zx) return vg; | |
| Zx = 1, vg.__esModule = !0, vg.Expand = void 0; | |
| var e = o(oo()), t = /* @__PURE__ */ oi(); | |
| function r(c) { | |
| if (typeof WeakMap != "function") return null; | |
| var p = /* @__PURE__ */ new WeakMap(), g = /* @__PURE__ */ new WeakMap(); | |
| return (r = function(E) { | |
| return E ? g : p; | |
| })(c); | |
| } | |
| function o(c, p) { | |
| if (c && c.__esModule) return c; | |
| if (c === null || typeof c != "object" && typeof c != "function") return { default: c }; | |
| var g = r(p); | |
| if (g && g.has(c)) return g.get(c); | |
| var m = { __proto__: null }, E = Object.defineProperty && Object.getOwnPropertyDescriptor; | |
| for (var S in c) if (S !== "default" && {}.hasOwnProperty.call(c, S)) { | |
| var I = E ? Object.getOwnPropertyDescriptor(c, S) : null; | |
| I && (I.get || I.set) ? Object.defineProperty(m, S, I) : m[S] = c[S]; | |
| } | |
| return m.default = c, g && g.set(c, m), m; | |
| } | |
| function u() { | |
| return u = Object.assign ? Object.assign.bind() : function(c) { | |
| for (var p = 1; p < arguments.length; p++) { | |
| var g = arguments[p]; | |
| for (var m in g) ({}).hasOwnProperty.call(g, m) && (c[m] = g[m]); | |
| } | |
| return c; | |
| }, u.apply(null, arguments); | |
| } | |
| var h = vg.Expand = /* @__PURE__ */ (0, e.forwardRef)(function(c, p) { | |
| return /* @__PURE__ */ e.default.createElement(t.StyledIcon, u({ | |
| ref: p, | |
| viewBox: "0 0 24 24", | |
| a11yTitle: "Expand" | |
| }, c), /* @__PURE__ */ e.default.createElement("path", { | |
| fill: "none", | |
| stroke: "#000", | |
| strokeWidth: "2", | |
| d: "m10 14-8 8m-1-7v8h8M22 2l-8 8m1-9h8v8" | |
| })); | |
| }); | |
| return h.displayName = "Expand", vg; | |
| } | |
| var i5 = /* @__PURE__ */ o5(), yg = {}, ew; | |
| function a5() { | |
| if (ew) return yg; | |
| ew = 1, yg.__esModule = !0, yg.FormClose = void 0; | |
| var e = o(oo()), t = /* @__PURE__ */ oi(); | |
| function r(c) { | |
| if (typeof WeakMap != "function") return null; | |
| var p = /* @__PURE__ */ new WeakMap(), g = /* @__PURE__ */ new WeakMap(); | |
| return (r = function(E) { | |
| return E ? g : p; | |
| })(c); | |
| } | |
| function o(c, p) { | |
| if (c && c.__esModule) return c; | |
| if (c === null || typeof c != "object" && typeof c != "function") return { default: c }; | |
| var g = r(p); | |
| if (g && g.has(c)) return g.get(c); | |
| var m = { __proto__: null }, E = Object.defineProperty && Object.getOwnPropertyDescriptor; | |
| for (var S in c) if (S !== "default" && {}.hasOwnProperty.call(c, S)) { | |
| var I = E ? Object.getOwnPropertyDescriptor(c, S) : null; | |
| I && (I.get || I.set) ? Object.defineProperty(m, S, I) : m[S] = c[S]; | |
| } | |
| return m.default = c, g && g.set(c, m), m; | |
| } | |
| function u() { | |
| return u = Object.assign ? Object.assign.bind() : function(c) { | |
| for (var p = 1; p < arguments.length; p++) { | |
| var g = arguments[p]; | |
| for (var m in g) ({}).hasOwnProperty.call(g, m) && (c[m] = g[m]); | |
| } | |
| return c; | |
| }, u.apply(null, arguments); | |
| } | |
| var h = yg.FormClose = /* @__PURE__ */ (0, e.forwardRef)(function(c, p) { | |
| return /* @__PURE__ */ e.default.createElement(t.StyledIcon, u({ | |
| ref: p, | |
| viewBox: "0 0 24 24", | |
| a11yTitle: "FormClose" | |
| }, c), /* @__PURE__ */ e.default.createElement("path", { | |
| fill: "none", | |
| stroke: "#000", | |
| strokeWidth: "2", | |
| d: "m7 7 10 10M7 17 17 7" | |
| })); | |
| }); | |
| return h.displayName = "FormClose", yg; | |
| } | |
| var oy = /* @__PURE__ */ a5(), bg = {}, tw; | |
| function s5() { | |
| if (tw) return bg; | |
| tw = 1, bg.__esModule = !0, bg.FormDown = void 0; | |
| var e = o(oo()), t = /* @__PURE__ */ oi(); | |
| function r(c) { | |
| if (typeof WeakMap != "function") return null; | |
| var p = /* @__PURE__ */ new WeakMap(), g = /* @__PURE__ */ new WeakMap(); | |
| return (r = function(E) { | |
| return E ? g : p; | |
| })(c); | |
| } | |
| function o(c, p) { | |
| if (c && c.__esModule) return c; | |
| if (c === null || typeof c != "object" && typeof c != "function") return { default: c }; | |
| var g = r(p); | |
| if (g && g.has(c)) return g.get(c); | |
| var m = { __proto__: null }, E = Object.defineProperty && Object.getOwnPropertyDescriptor; | |
| for (var S in c) if (S !== "default" && {}.hasOwnProperty.call(c, S)) { | |
| var I = E ? Object.getOwnPropertyDescriptor(c, S) : null; | |
| I && (I.get || I.set) ? Object.defineProperty(m, S, I) : m[S] = c[S]; | |
| } | |
| return m.default = c, g && g.set(c, m), m; | |
| } | |
| function u() { | |
| return u = Object.assign ? Object.assign.bind() : function(c) { | |
| for (var p = 1; p < arguments.length; p++) { | |
| var g = arguments[p]; | |
| for (var m in g) ({}).hasOwnProperty.call(g, m) && (c[m] = g[m]); | |
| } | |
| return c; | |
| }, u.apply(null, arguments); | |
| } | |
| var h = bg.FormDown = /* @__PURE__ */ (0, e.forwardRef)(function(c, p) { | |
| return /* @__PURE__ */ e.default.createElement(t.StyledIcon, u({ | |
| ref: p, | |
| viewBox: "0 0 24 24", | |
| a11yTitle: "FormDown" | |
| }, c), /* @__PURE__ */ e.default.createElement("path", { | |
| fill: "none", | |
| stroke: "#000", | |
| strokeWidth: "2", | |
| d: "m18 9-6 6-6-6" | |
| })); | |
| }); | |
| return h.displayName = "FormDown", bg; | |
| } | |
| var kh = /* @__PURE__ */ s5(), xg = {}, rw; | |
| function l5() { | |
| if (rw) return xg; | |
| rw = 1, xg.__esModule = !0, xg.FormNext = void 0; | |
| var e = o(oo()), t = /* @__PURE__ */ oi(); | |
| function r(c) { | |
| if (typeof WeakMap != "function") return null; | |
| var p = /* @__PURE__ */ new WeakMap(), g = /* @__PURE__ */ new WeakMap(); | |
| return (r = function(E) { | |
| return E ? g : p; | |
| })(c); | |
| } | |
| function o(c, p) { | |
| if (c && c.__esModule) return c; | |
| if (c === null || typeof c != "object" && typeof c != "function") return { default: c }; | |
| var g = r(p); | |
| if (g && g.has(c)) return g.get(c); | |
| var m = { __proto__: null }, E = Object.defineProperty && Object.getOwnPropertyDescriptor; | |
| for (var S in c) if (S !== "default" && {}.hasOwnProperty.call(c, S)) { | |
| var I = E ? Object.getOwnPropertyDescriptor(c, S) : null; | |
| I && (I.get || I.set) ? Object.defineProperty(m, S, I) : m[S] = c[S]; | |
| } | |
| return m.default = c, g && g.set(c, m), m; | |
| } | |
| function u() { | |
| return u = Object.assign ? Object.assign.bind() : function(c) { | |
| for (var p = 1; p < arguments.length; p++) { | |
| var g = arguments[p]; | |
| for (var m in g) ({}).hasOwnProperty.call(g, m) && (c[m] = g[m]); | |
| } | |
| return c; | |
| }, u.apply(null, arguments); | |
| } | |
| var h = xg.FormNext = /* @__PURE__ */ (0, e.forwardRef)(function(c, p) { | |
| return /* @__PURE__ */ e.default.createElement(t.StyledIcon, u({ | |
| ref: p, | |
| viewBox: "0 0 24 24", | |
| a11yTitle: "FormNext" | |
| }, c), /* @__PURE__ */ e.default.createElement("path", { | |
| fill: "none", | |
| stroke: "#000", | |
| strokeWidth: "2", | |
| d: "m9 6 6 6-6 6" | |
| })); | |
| }); | |
| return h.displayName = "FormNext", xg; | |
| } | |
| var u5 = /* @__PURE__ */ l5(), wg = {}, nw; | |
| function c5() { | |
| if (nw) return wg; | |
| nw = 1, wg.__esModule = !0, wg.FormPrevious = void 0; | |
| var e = o(oo()), t = /* @__PURE__ */ oi(); | |
| function r(c) { | |
| if (typeof WeakMap != "function") return null; | |
| var p = /* @__PURE__ */ new WeakMap(), g = /* @__PURE__ */ new WeakMap(); | |
| return (r = function(E) { | |
| return E ? g : p; | |
| })(c); | |
| } | |
| function o(c, p) { | |
| if (c && c.__esModule) return c; | |
| if (c === null || typeof c != "object" && typeof c != "function") return { default: c }; | |
| var g = r(p); | |
| if (g && g.has(c)) return g.get(c); | |
| var m = { __proto__: null }, E = Object.defineProperty && Object.getOwnPropertyDescriptor; | |
| for (var S in c) if (S !== "default" && {}.hasOwnProperty.call(c, S)) { | |
| var I = E ? Object.getOwnPropertyDescriptor(c, S) : null; | |
| I && (I.get || I.set) ? Object.defineProperty(m, S, I) : m[S] = c[S]; | |
| } | |
| return m.default = c, g && g.set(c, m), m; | |
| } | |
| function u() { | |
| return u = Object.assign ? Object.assign.bind() : function(c) { | |
| for (var p = 1; p < arguments.length; p++) { | |
| var g = arguments[p]; | |
| for (var m in g) ({}).hasOwnProperty.call(g, m) && (c[m] = g[m]); | |
| } | |
| return c; | |
| }, u.apply(null, arguments); | |
| } | |
| var h = wg.FormPrevious = /* @__PURE__ */ (0, e.forwardRef)(function(c, p) { | |
| return /* @__PURE__ */ e.default.createElement(t.StyledIcon, u({ | |
| ref: p, | |
| viewBox: "0 0 24 24", | |
| a11yTitle: "FormPrevious" | |
| }, c), /* @__PURE__ */ e.default.createElement("path", { | |
| fill: "none", | |
| stroke: "#000", | |
| strokeWidth: "2", | |
| d: "m15 6-6 6 6 6" | |
| })); | |
| }); | |
| return h.displayName = "FormPrevious", wg; | |
| } | |
| var d5 = /* @__PURE__ */ c5(), Sg = {}, ow; | |
| function f5() { | |
| if (ow) return Sg; | |
| ow = 1, Sg.__esModule = !0, Sg.FormUp = void 0; | |
| var e = o(oo()), t = /* @__PURE__ */ oi(); | |
| function r(c) { | |
| if (typeof WeakMap != "function") return null; | |
| var p = /* @__PURE__ */ new WeakMap(), g = /* @__PURE__ */ new WeakMap(); | |
| return (r = function(E) { | |
| return E ? g : p; | |
| })(c); | |
| } | |
| function o(c, p) { | |
| if (c && c.__esModule) return c; | |
| if (c === null || typeof c != "object" && typeof c != "function") return { default: c }; | |
| var g = r(p); | |
| if (g && g.has(c)) return g.get(c); | |
| var m = { __proto__: null }, E = Object.defineProperty && Object.getOwnPropertyDescriptor; | |
| for (var S in c) if (S !== "default" && {}.hasOwnProperty.call(c, S)) { | |
| var I = E ? Object.getOwnPropertyDescriptor(c, S) : null; | |
| I && (I.get || I.set) ? Object.defineProperty(m, S, I) : m[S] = c[S]; | |
| } | |
| return m.default = c, g && g.set(c, m), m; | |
| } | |
| function u() { | |
| return u = Object.assign ? Object.assign.bind() : function(c) { | |
| for (var p = 1; p < arguments.length; p++) { | |
| var g = arguments[p]; | |
| for (var m in g) ({}).hasOwnProperty.call(g, m) && (c[m] = g[m]); | |
| } | |
| return c; | |
| }, u.apply(null, arguments); | |
| } | |
| var h = Sg.FormUp = /* @__PURE__ */ (0, e.forwardRef)(function(c, p) { | |
| return /* @__PURE__ */ e.default.createElement(t.StyledIcon, u({ | |
| ref: p, | |
| viewBox: "0 0 24 24", | |
| a11yTitle: "FormUp" | |
| }, c), /* @__PURE__ */ e.default.createElement("path", { | |
| fill: "none", | |
| stroke: "#000", | |
| strokeWidth: "2", | |
| d: "m18 15-6-6-6 6" | |
| })); | |
| }); | |
| return h.displayName = "FormUp", Sg; | |
| } | |
| var dv = /* @__PURE__ */ f5(), kg = {}, iw; | |
| function h5() { | |
| if (iw) return kg; | |
| iw = 1, kg.__esModule = !0, kg.Next = void 0; | |
| var e = u(oo()), t = /* @__PURE__ */ oi(), r = /* @__PURE__ */ gm(); | |
| function o(p) { | |
| if (typeof WeakMap != "function") return null; | |
| var g = /* @__PURE__ */ new WeakMap(), m = /* @__PURE__ */ new WeakMap(); | |
| return (o = function(S) { | |
| return S ? m : g; | |
| })(p); | |
| } | |
| function u(p, g) { | |
| if (p && p.__esModule) return p; | |
| if (p === null || typeof p != "object" && typeof p != "function") return { default: p }; | |
| var m = o(g); | |
| if (m && m.has(p)) return m.get(p); | |
| var E = { __proto__: null }, S = Object.defineProperty && Object.getOwnPropertyDescriptor; | |
| for (var I in p) if (I !== "default" && {}.hasOwnProperty.call(p, I)) { | |
| var w = S ? Object.getOwnPropertyDescriptor(p, I) : null; | |
| w && (w.get || w.set) ? Object.defineProperty(E, I, w) : E[I] = p[I]; | |
| } | |
| return E.default = p, m && m.set(p, E), E; | |
| } | |
| function h() { | |
| return h = Object.assign ? Object.assign.bind() : function(p) { | |
| for (var g = 1; g < arguments.length; g++) { | |
| var m = arguments[g]; | |
| for (var E in m) ({}).hasOwnProperty.call(m, E) && (p[E] = m[E]); | |
| } | |
| return p; | |
| }, h.apply(null, arguments); | |
| } | |
| var c = kg.Next = /* @__PURE__ */ (0, e.forwardRef)(function(p, g) { | |
| var m = (0, r.useScaleProps)(p); | |
| return /* @__PURE__ */ e.default.createElement(t.StyledIcon, h({ | |
| ref: g, | |
| viewBox: "0 0 24 24", | |
| a11yTitle: "Next" | |
| }, p), /* @__PURE__ */ e.default.createElement("path", h({ | |
| fill: "none", | |
| stroke: "#000", | |
| strokeWidth: "2", | |
| d: "m7 2 10 10L7 22" | |
| }, m))); | |
| }); | |
| return c.displayName = "Next", kg; | |
| } | |
| var iy = /* @__PURE__ */ h5(), Cg = {}, aw; | |
| function p5() { | |
| if (aw) return Cg; | |
| aw = 1, Cg.__esModule = !0, Cg.Pause = void 0; | |
| var e = o(oo()), t = /* @__PURE__ */ oi(); | |
| function r(c) { | |
| if (typeof WeakMap != "function") return null; | |
| var p = /* @__PURE__ */ new WeakMap(), g = /* @__PURE__ */ new WeakMap(); | |
| return (r = function(E) { | |
| return E ? g : p; | |
| })(c); | |
| } | |
| function o(c, p) { | |
| if (c && c.__esModule) return c; | |
| if (c === null || typeof c != "object" && typeof c != "function") return { default: c }; | |
| var g = r(p); | |
| if (g && g.has(c)) return g.get(c); | |
| var m = { __proto__: null }, E = Object.defineProperty && Object.getOwnPropertyDescriptor; | |
| for (var S in c) if (S !== "default" && {}.hasOwnProperty.call(c, S)) { | |
| var I = E ? Object.getOwnPropertyDescriptor(c, S) : null; | |
| I && (I.get || I.set) ? Object.defineProperty(m, S, I) : m[S] = c[S]; | |
| } | |
| return m.default = c, g && g.set(c, m), m; | |
| } | |
| function u() { | |
| return u = Object.assign ? Object.assign.bind() : function(c) { | |
| for (var p = 1; p < arguments.length; p++) { | |
| var g = arguments[p]; | |
| for (var m in g) ({}).hasOwnProperty.call(g, m) && (c[m] = g[m]); | |
| } | |
| return c; | |
| }, u.apply(null, arguments); | |
| } | |
| var h = Cg.Pause = /* @__PURE__ */ (0, e.forwardRef)(function(c, p) { | |
| return /* @__PURE__ */ e.default.createElement(t.StyledIcon, u({ | |
| ref: p, | |
| viewBox: "0 0 24 24", | |
| a11yTitle: "Pause" | |
| }, c), /* @__PURE__ */ e.default.createElement("path", { | |
| fill: "none", | |
| stroke: "#000", | |
| strokeWidth: "2", | |
| d: "M3 21h6V3H3v18zm12 0h6V3h-6v18z" | |
| })); | |
| }); | |
| return h.displayName = "Pause", Cg; | |
| } | |
| var g5 = /* @__PURE__ */ p5(), Eg = {}, sw; | |
| function m5() { | |
| if (sw) return Eg; | |
| sw = 1, Eg.__esModule = !0, Eg.Play = void 0; | |
| var e = o(oo()), t = /* @__PURE__ */ oi(); | |
| function r(c) { | |
| if (typeof WeakMap != "function") return null; | |
| var p = /* @__PURE__ */ new WeakMap(), g = /* @__PURE__ */ new WeakMap(); | |
| return (r = function(E) { | |
| return E ? g : p; | |
| })(c); | |
| } | |
| function o(c, p) { | |
| if (c && c.__esModule) return c; | |
| if (c === null || typeof c != "object" && typeof c != "function") return { default: c }; | |
| var g = r(p); | |
| if (g && g.has(c)) return g.get(c); | |
| var m = { __proto__: null }, E = Object.defineProperty && Object.getOwnPropertyDescriptor; | |
| for (var S in c) if (S !== "default" && {}.hasOwnProperty.call(c, S)) { | |
| var I = E ? Object.getOwnPropertyDescriptor(c, S) : null; | |
| I && (I.get || I.set) ? Object.defineProperty(m, S, I) : m[S] = c[S]; | |
| } | |
| return m.default = c, g && g.set(c, m), m; | |
| } | |
| function u() { | |
| return u = Object.assign ? Object.assign.bind() : function(c) { | |
| for (var p = 1; p < arguments.length; p++) { | |
| var g = arguments[p]; | |
| for (var m in g) ({}).hasOwnProperty.call(g, m) && (c[m] = g[m]); | |
| } | |
| return c; | |
| }, u.apply(null, arguments); | |
| } | |
| var h = Eg.Play = /* @__PURE__ */ (0, e.forwardRef)(function(c, p) { | |
| return /* @__PURE__ */ e.default.createElement(t.StyledIcon, u({ | |
| ref: p, | |
| viewBox: "0 0 24 24", | |
| a11yTitle: "Play" | |
| }, c), /* @__PURE__ */ e.default.createElement("path", { | |
| fill: "none", | |
| stroke: "#000", | |
| strokeWidth: "2", | |
| d: "m3 22 18-10L3 2z" | |
| })); | |
| }); | |
| return h.displayName = "Play", Eg; | |
| } | |
| var v5 = /* @__PURE__ */ m5(), Og = {}, lw; | |
| function y5() { | |
| if (lw) return Og; | |
| lw = 1, Og.__esModule = !0, Og.FormPin = void 0; | |
| var e = o(oo()), t = /* @__PURE__ */ oi(); | |
| function r(c) { | |
| if (typeof WeakMap != "function") return null; | |
| var p = /* @__PURE__ */ new WeakMap(), g = /* @__PURE__ */ new WeakMap(); | |
| return (r = function(E) { | |
| return E ? g : p; | |
| })(c); | |
| } | |
| function o(c, p) { | |
| if (c && c.__esModule) return c; | |
| if (c === null || typeof c != "object" && typeof c != "function") return { default: c }; | |
| var g = r(p); | |
| if (g && g.has(c)) return g.get(c); | |
| var m = { __proto__: null }, E = Object.defineProperty && Object.getOwnPropertyDescriptor; | |
| for (var S in c) if (S !== "default" && {}.hasOwnProperty.call(c, S)) { | |
| var I = E ? Object.getOwnPropertyDescriptor(c, S) : null; | |
| I && (I.get || I.set) ? Object.defineProperty(m, S, I) : m[S] = c[S]; | |
| } | |
| return m.default = c, g && g.set(c, m), m; | |
| } | |
| function u() { | |
| return u = Object.assign ? Object.assign.bind() : function(c) { | |
| for (var p = 1; p < arguments.length; p++) { | |
| var g = arguments[p]; | |
| for (var m in g) ({}).hasOwnProperty.call(g, m) && (c[m] = g[m]); | |
| } | |
| return c; | |
| }, u.apply(null, arguments); | |
| } | |
| var h = Og.FormPin = /* @__PURE__ */ (0, e.forwardRef)(function(c, p) { | |
| return /* @__PURE__ */ e.default.createElement(t.StyledIcon, u({ | |
| ref: p, | |
| viewBox: "0 0 24 24", | |
| a11yTitle: "FormPin" | |
| }, c), /* @__PURE__ */ e.default.createElement("path", { | |
| fill: "none", | |
| stroke: "#000", | |
| strokeWidth: "2", | |
| d: "m4 19 4.455-4.454M12.273 5 18 10.727m-4.454-4.454L9.727 10.09s-2.545-.636-4.454 1.273l6.363 6.363c1.91-1.909 1.273-4.454 1.273-4.454l3.818-3.818-3.181-3.182Z" | |
| })); | |
| }); | |
| return h.displayName = "FormPin", Og; | |
| } | |
| var b5 = /* @__PURE__ */ y5(), Pg = {}, uw; | |
| function x5() { | |
| if (uw) return Pg; | |
| uw = 1, Pg.__esModule = !0, Pg.Previous = void 0; | |
| var e = u(oo()), t = /* @__PURE__ */ oi(), r = /* @__PURE__ */ gm(); | |
| function o(p) { | |
| if (typeof WeakMap != "function") return null; | |
| var g = /* @__PURE__ */ new WeakMap(), m = /* @__PURE__ */ new WeakMap(); | |
| return (o = function(S) { | |
| return S ? m : g; | |
| })(p); | |
| } | |
| function u(p, g) { | |
| if (p && p.__esModule) return p; | |
| if (p === null || typeof p != "object" && typeof p != "function") return { default: p }; | |
| var m = o(g); | |
| if (m && m.has(p)) return m.get(p); | |
| var E = { __proto__: null }, S = Object.defineProperty && Object.getOwnPropertyDescriptor; | |
| for (var I in p) if (I !== "default" && {}.hasOwnProperty.call(p, I)) { | |
| var w = S ? Object.getOwnPropertyDescriptor(p, I) : null; | |
| w && (w.get || w.set) ? Object.defineProperty(E, I, w) : E[I] = p[I]; | |
| } | |
| return E.default = p, m && m.set(p, E), E; | |
| } | |
| function h() { | |
| return h = Object.assign ? Object.assign.bind() : function(p) { | |
| for (var g = 1; g < arguments.length; g++) { | |
| var m = arguments[g]; | |
| for (var E in m) ({}).hasOwnProperty.call(m, E) && (p[E] = m[E]); | |
| } | |
| return p; | |
| }, h.apply(null, arguments); | |
| } | |
| var c = Pg.Previous = /* @__PURE__ */ (0, e.forwardRef)(function(p, g) { | |
| var m = (0, r.useScaleProps)(p); | |
| return /* @__PURE__ */ e.default.createElement(t.StyledIcon, h({ | |
| ref: g, | |
| viewBox: "0 0 24 24", | |
| a11yTitle: "Previous" | |
| }, p), /* @__PURE__ */ e.default.createElement("path", h({ | |
| fill: "none", | |
| stroke: "#000", | |
| strokeWidth: "2", | |
| d: "M17 2 7 12l10 10" | |
| }, m))); | |
| }); | |
| return c.displayName = "Previous", Pg; | |
| } | |
| var ay = /* @__PURE__ */ x5(), Ig = {}, cw; | |
| function w5() { | |
| if (cw) return Ig; | |
| cw = 1, Ig.__esModule = !0, Ig.StatusCriticalSmall = void 0; | |
| var e = o(oo()), t = /* @__PURE__ */ oi(); | |
| function r(c) { | |
| if (typeof WeakMap != "function") return null; | |
| var p = /* @__PURE__ */ new WeakMap(), g = /* @__PURE__ */ new WeakMap(); | |
| return (r = function(E) { | |
| return E ? g : p; | |
| })(c); | |
| } | |
| function o(c, p) { | |
| if (c && c.__esModule) return c; | |
| if (c === null || typeof c != "object" && typeof c != "function") return { default: c }; | |
| var g = r(p); | |
| if (g && g.has(c)) return g.get(c); | |
| var m = { __proto__: null }, E = Object.defineProperty && Object.getOwnPropertyDescriptor; | |
| for (var S in c) if (S !== "default" && {}.hasOwnProperty.call(c, S)) { | |
| var I = E ? Object.getOwnPropertyDescriptor(c, S) : null; | |
| I && (I.get || I.set) ? Object.defineProperty(m, S, I) : m[S] = c[S]; | |
| } | |
| return m.default = c, g && g.set(c, m), m; | |
| } | |
| function u() { | |
| return u = Object.assign ? Object.assign.bind() : function(c) { | |
| for (var p = 1; p < arguments.length; p++) { | |
| var g = arguments[p]; | |
| for (var m in g) ({}).hasOwnProperty.call(g, m) && (c[m] = g[m]); | |
| } | |
| return c; | |
| }, u.apply(null, arguments); | |
| } | |
| var h = Ig.StatusCriticalSmall = /* @__PURE__ */ (0, e.forwardRef)(function(c, p) { | |
| return /* @__PURE__ */ e.default.createElement(t.StyledIcon, u({ | |
| ref: p, | |
| viewBox: "0 0 12 12", | |
| a11yTitle: "Status is critical" | |
| }, c), /* @__PURE__ */ e.default.createElement("path", { | |
| fillRule: "evenodd", | |
| stroke: "#000", | |
| d: "M6.712 1.263a1.005 1.005 0 0 0-1.424 0L1.263 5.288a1.005 1.005 0 0 0 0 1.424l4.025 4.025a1.005 1.005 0 0 0 1.424 0l4.025-4.025a1.005 1.005 0 0 0 0-1.424L6.712 1.263z" | |
| })); | |
| }); | |
| return h.displayName = "StatusCriticalSmall", Ig; | |
| } | |
| var S5 = /* @__PURE__ */ w5(), Tg = {}, dw; | |
| function k5() { | |
| if (dw) return Tg; | |
| dw = 1, Tg.__esModule = !0, Tg.StatusGoodSmall = void 0; | |
| var e = o(oo()), t = /* @__PURE__ */ oi(); | |
| function r(c) { | |
| if (typeof WeakMap != "function") return null; | |
| var p = /* @__PURE__ */ new WeakMap(), g = /* @__PURE__ */ new WeakMap(); | |
| return (r = function(E) { | |
| return E ? g : p; | |
| })(c); | |
| } | |
| function o(c, p) { | |
| if (c && c.__esModule) return c; | |
| if (c === null || typeof c != "object" && typeof c != "function") return { default: c }; | |
| var g = r(p); | |
| if (g && g.has(c)) return g.get(c); | |
| var m = { __proto__: null }, E = Object.defineProperty && Object.getOwnPropertyDescriptor; | |
| for (var S in c) if (S !== "default" && {}.hasOwnProperty.call(c, S)) { | |
| var I = E ? Object.getOwnPropertyDescriptor(c, S) : null; | |
| I && (I.get || I.set) ? Object.defineProperty(m, S, I) : m[S] = c[S]; | |
| } | |
| return m.default = c, g && g.set(c, m), m; | |
| } | |
| function u() { | |
| return u = Object.assign ? Object.assign.bind() : function(c) { | |
| for (var p = 1; p < arguments.length; p++) { | |
| var g = arguments[p]; | |
| for (var m in g) ({}).hasOwnProperty.call(g, m) && (c[m] = g[m]); | |
| } | |
| return c; | |
| }, u.apply(null, arguments); | |
| } | |
| var h = Tg.StatusGoodSmall = /* @__PURE__ */ (0, e.forwardRef)(function(c, p) { | |
| return /* @__PURE__ */ e.default.createElement(t.StyledIcon, u({ | |
| ref: p, | |
| viewBox: "0 0 12 12", | |
| a11yTitle: "Status is okay" | |
| }, c), /* @__PURE__ */ e.default.createElement("circle", { | |
| cx: "6", | |
| cy: "6", | |
| r: "5", | |
| fillRule: "evenodd", | |
| stroke: "#000" | |
| })); | |
| }); | |
| return h.displayName = "StatusGoodSmall", Tg; | |
| } | |
| var C5 = /* @__PURE__ */ k5(), Rg = {}, fw; | |
| function E5() { | |
| if (fw) return Rg; | |
| fw = 1, Rg.__esModule = !0, Rg.StatusWarningSmall = void 0; | |
| var e = o(oo()), t = /* @__PURE__ */ oi(); | |
| function r(c) { | |
| if (typeof WeakMap != "function") return null; | |
| var p = /* @__PURE__ */ new WeakMap(), g = /* @__PURE__ */ new WeakMap(); | |
| return (r = function(E) { | |
| return E ? g : p; | |
| })(c); | |
| } | |
| function o(c, p) { | |
| if (c && c.__esModule) return c; | |
| if (c === null || typeof c != "object" && typeof c != "function") return { default: c }; | |
| var g = r(p); | |
| if (g && g.has(c)) return g.get(c); | |
| var m = { __proto__: null }, E = Object.defineProperty && Object.getOwnPropertyDescriptor; | |
| for (var S in c) if (S !== "default" && {}.hasOwnProperty.call(c, S)) { | |
| var I = E ? Object.getOwnPropertyDescriptor(c, S) : null; | |
| I && (I.get || I.set) ? Object.defineProperty(m, S, I) : m[S] = c[S]; | |
| } | |
| return m.default = c, g && g.set(c, m), m; | |
| } | |
| function u() { | |
| return u = Object.assign ? Object.assign.bind() : function(c) { | |
| for (var p = 1; p < arguments.length; p++) { | |
| var g = arguments[p]; | |
| for (var m in g) ({}).hasOwnProperty.call(g, m) && (c[m] = g[m]); | |
| } | |
| return c; | |
| }, u.apply(null, arguments); | |
| } | |
| var h = Rg.StatusWarningSmall = /* @__PURE__ */ (0, e.forwardRef)(function(c, p) { | |
| return /* @__PURE__ */ e.default.createElement(t.StyledIcon, u({ | |
| ref: p, | |
| viewBox: "0 0 12 12", | |
| a11yTitle: "Status is warning" | |
| }, c), /* @__PURE__ */ e.default.createElement("path", { | |
| fillRule: "evenodd", | |
| stroke: "#000", | |
| strokeLinejoin: "round", | |
| d: "m6 1 5 9H1z" | |
| })); | |
| }); | |
| return h.displayName = "StatusWarningSmall", Rg; | |
| } | |
| var O5 = /* @__PURE__ */ E5(), _g = {}, hw; | |
| function P5() { | |
| if (hw) return _g; | |
| hw = 1, _g.__esModule = !0, _g.StatusUnknownSmall = void 0; | |
| var e = o(oo()), t = /* @__PURE__ */ oi(); | |
| function r(c) { | |
| if (typeof WeakMap != "function") return null; | |
| var p = /* @__PURE__ */ new WeakMap(), g = /* @__PURE__ */ new WeakMap(); | |
| return (r = function(E) { | |
| return E ? g : p; | |
| })(c); | |
| } | |
| function o(c, p) { | |
| if (c && c.__esModule) return c; | |
| if (c === null || typeof c != "object" && typeof c != "function") return { default: c }; | |
| var g = r(p); | |
| if (g && g.has(c)) return g.get(c); | |
| var m = { __proto__: null }, E = Object.defineProperty && Object.getOwnPropertyDescriptor; | |
| for (var S in c) if (S !== "default" && {}.hasOwnProperty.call(c, S)) { | |
| var I = E ? Object.getOwnPropertyDescriptor(c, S) : null; | |
| I && (I.get || I.set) ? Object.defineProperty(m, S, I) : m[S] = c[S]; | |
| } | |
| return m.default = c, g && g.set(c, m), m; | |
| } | |
| function u() { | |
| return u = Object.assign ? Object.assign.bind() : function(c) { | |
| for (var p = 1; p < arguments.length; p++) { | |
| var g = arguments[p]; | |
| for (var m in g) ({}).hasOwnProperty.call(g, m) && (c[m] = g[m]); | |
| } | |
| return c; | |
| }, u.apply(null, arguments); | |
| } | |
| var h = _g.StatusUnknownSmall = /* @__PURE__ */ (0, e.forwardRef)(function(c, p) { | |
| return /* @__PURE__ */ e.default.createElement(t.StyledIcon, u({ | |
| ref: p, | |
| viewBox: "0 0 12 12", | |
| a11yTitle: "Status is unknown" | |
| }, c), /* @__PURE__ */ e.default.createElement("rect", { | |
| width: "10", | |
| height: "10", | |
| x: "1", | |
| y: "1", | |
| fillRule: "evenodd", | |
| stroke: "#000", | |
| rx: "1" | |
| })); | |
| }); | |
| return h.displayName = "StatusUnknownSmall", _g; | |
| } | |
| var pw = /* @__PURE__ */ P5(), Ag = {}, gw; | |
| function I5() { | |
| if (gw) return Ag; | |
| gw = 1, Ag.__esModule = !0, Ag.Subtract = void 0; | |
| var e = o(oo()), t = /* @__PURE__ */ oi(); | |
| function r(c) { | |
| if (typeof WeakMap != "function") return null; | |
| var p = /* @__PURE__ */ new WeakMap(), g = /* @__PURE__ */ new WeakMap(); | |
| return (r = function(E) { | |
| return E ? g : p; | |
| })(c); | |
| } | |
| function o(c, p) { | |
| if (c && c.__esModule) return c; | |
| if (c === null || typeof c != "object" && typeof c != "function") return { default: c }; | |
| var g = r(p); | |
| if (g && g.has(c)) return g.get(c); | |
| var m = { __proto__: null }, E = Object.defineProperty && Object.getOwnPropertyDescriptor; | |
| for (var S in c) if (S !== "default" && {}.hasOwnProperty.call(c, S)) { | |
| var I = E ? Object.getOwnPropertyDescriptor(c, S) : null; | |
| I && (I.get || I.set) ? Object.defineProperty(m, S, I) : m[S] = c[S]; | |
| } | |
| return m.default = c, g && g.set(c, m), m; | |
| } | |
| function u() { | |
| return u = Object.assign ? Object.assign.bind() : function(c) { | |
| for (var p = 1; p < arguments.length; p++) { | |
| var g = arguments[p]; | |
| for (var m in g) ({}).hasOwnProperty.call(g, m) && (c[m] = g[m]); | |
| } | |
| return c; | |
| }, u.apply(null, arguments); | |
| } | |
| var h = Ag.Subtract = /* @__PURE__ */ (0, e.forwardRef)(function(c, p) { | |
| return /* @__PURE__ */ e.default.createElement(t.StyledIcon, u({ | |
| ref: p, | |
| viewBox: "0 0 24 24", | |
| a11yTitle: "Subtract" | |
| }, c), /* @__PURE__ */ e.default.createElement("path", { | |
| fill: "none", | |
| stroke: "#000", | |
| strokeWidth: "2", | |
| d: "M2 12h20" | |
| })); | |
| }); | |
| return h.displayName = "Subtract", Ag; | |
| } | |
| var T5 = /* @__PURE__ */ I5(), Lg = {}, mw; | |
| function R5() { | |
| if (mw) return Lg; | |
| mw = 1, Lg.__esModule = !0, Lg.Volume = void 0; | |
| var e = o(oo()), t = /* @__PURE__ */ oi(); | |
| function r(c) { | |
| if (typeof WeakMap != "function") return null; | |
| var p = /* @__PURE__ */ new WeakMap(), g = /* @__PURE__ */ new WeakMap(); | |
| return (r = function(E) { | |
| return E ? g : p; | |
| })(c); | |
| } | |
| function o(c, p) { | |
| if (c && c.__esModule) return c; | |
| if (c === null || typeof c != "object" && typeof c != "function") return { default: c }; | |
| var g = r(p); | |
| if (g && g.has(c)) return g.get(c); | |
| var m = { __proto__: null }, E = Object.defineProperty && Object.getOwnPropertyDescriptor; | |
| for (var S in c) if (S !== "default" && {}.hasOwnProperty.call(c, S)) { | |
| var I = E ? Object.getOwnPropertyDescriptor(c, S) : null; | |
| I && (I.get || I.set) ? Object.defineProperty(m, S, I) : m[S] = c[S]; | |
| } | |
| return m.default = c, g && g.set(c, m), m; | |
| } | |
| function u() { | |
| return u = Object.assign ? Object.assign.bind() : function(c) { | |
| for (var p = 1; p < arguments.length; p++) { | |
| var g = arguments[p]; | |
| for (var m in g) ({}).hasOwnProperty.call(g, m) && (c[m] = g[m]); | |
| } | |
| return c; | |
| }, u.apply(null, arguments); | |
| } | |
| var h = Lg.Volume = /* @__PURE__ */ (0, e.forwardRef)(function(c, p) { | |
| return /* @__PURE__ */ e.default.createElement(t.StyledIcon, u({ | |
| ref: p, | |
| viewBox: "0 0 24 24", | |
| a11yTitle: "Volume" | |
| }, c), /* @__PURE__ */ e.default.createElement("path", { | |
| fill: "none", | |
| stroke: "#000", | |
| strokeWidth: "2", | |
| d: "M15 16a4 4 0 0 0 0-8m0 12c5 0 8-3.589 8-8s-3.589-8-8-8M1 12V8h5l6-5v18l-6-5H1v-4" | |
| })); | |
| }); | |
| return h.displayName = "Volume", Lg; | |
| } | |
| var _5 = /* @__PURE__ */ R5(), Mg = {}, vw; | |
| function A5() { | |
| if (vw) return Mg; | |
| vw = 1, Mg.__esModule = !0, Mg.VolumeLow = void 0; | |
| var e = o(oo()), t = /* @__PURE__ */ oi(); | |
| function r(c) { | |
| if (typeof WeakMap != "function") return null; | |
| var p = /* @__PURE__ */ new WeakMap(), g = /* @__PURE__ */ new WeakMap(); | |
| return (r = function(E) { | |
| return E ? g : p; | |
| })(c); | |
| } | |
| function o(c, p) { | |
| if (c && c.__esModule) return c; | |
| if (c === null || typeof c != "object" && typeof c != "function") return { default: c }; | |
| var g = r(p); | |
| if (g && g.has(c)) return g.get(c); | |
| var m = { __proto__: null }, E = Object.defineProperty && Object.getOwnPropertyDescriptor; | |
| for (var S in c) if (S !== "default" && {}.hasOwnProperty.call(c, S)) { | |
| var I = E ? Object.getOwnPropertyDescriptor(c, S) : null; | |
| I && (I.get || I.set) ? Object.defineProperty(m, S, I) : m[S] = c[S]; | |
| } | |
| return m.default = c, g && g.set(c, m), m; | |
| } | |
| function u() { | |
| return u = Object.assign ? Object.assign.bind() : function(c) { | |
| for (var p = 1; p < arguments.length; p++) { | |
| var g = arguments[p]; | |
| for (var m in g) ({}).hasOwnProperty.call(g, m) && (c[m] = g[m]); | |
| } | |
| return c; | |
| }, u.apply(null, arguments); | |
| } | |
| var h = Mg.VolumeLow = /* @__PURE__ */ (0, e.forwardRef)(function(c, p) { | |
| return /* @__PURE__ */ e.default.createElement(t.StyledIcon, u({ | |
| ref: p, | |
| viewBox: "0 0 24 24", | |
| a11yTitle: "VolumeLow" | |
| }, c), /* @__PURE__ */ e.default.createElement("path", { | |
| fill: "none", | |
| stroke: "#000", | |
| strokeWidth: "2", | |
| d: "M1 8v8h5.099L12 21V3L6 8H1zm14 8a4 4 0 1 0 0-8" | |
| })); | |
| }); | |
| return h.displayName = "VolumeLow", Mg; | |
| } | |
| var L5 = /* @__PURE__ */ A5(), M5 = /* @__PURE__ */ fC(); | |
| function fn() { | |
| return fn = Object.assign ? Object.assign.bind() : function(e) { | |
| for (var t = 1; t < arguments.length; t++) { | |
| var r = arguments[t]; | |
| for (var o in r) ({}).hasOwnProperty.call(r, o) && (e[o] = r[o]); | |
| } | |
| return e; | |
| }, fn.apply(null, arguments); | |
| } | |
| var z5 = "#7D4CDB", hC = ["#6FFFB0", "#FD6FFF", "#81FCED", "#FFCA58"], F5 = ["#00873D", "#3D138D", "#00739D", "#A2423D"], yw = { | |
| critical: "#EB0000", | |
| error: "#B30000", | |
| warning: "#C27B00", | |
| ok: "#009E67", | |
| unknown: "#919191", | |
| disabled: "#CCCCCC" | |
| }, N5 = ["#333333", "#555555", "#777777", "#999999", "#999999", "#999999"], j5 = ["#F8F8F8", "#F2F2F2", "#EDEDED", "#DADADA", "#DADADA", "#DADADA"], D5 = hC[0], f1 = { | |
| active: "rgba(221, 221, 221, 0.5)", | |
| "background-back": { | |
| dark: "#33333308", | |
| light: "#EDEDED" | |
| }, | |
| "background-front": { | |
| dark: "#444444", | |
| light: "#FFFFFF" | |
| }, | |
| "background-contrast": { | |
| light: "#33333310", | |
| dark: "#FFFFFF18" | |
| }, | |
| "active-background": "background-contrast", | |
| "active-text": "text-strong", | |
| black: "#000000", | |
| border: { | |
| dark: "rgba(255, 255, 255, 0.33)", | |
| light: "rgba(0, 0, 0, 0.33)" | |
| }, | |
| brand: z5, | |
| control: { | |
| dark: "accent-1", | |
| light: "brand" | |
| }, | |
| focus: D5, | |
| "graph-0": "accent-1", | |
| "graph-1": "neutral-1", | |
| "graph-2": "neutral-2", | |
| "graph-3": "neutral-3", | |
| "graph-4": "neutral-4", | |
| placeholder: "#AAAAAA", | |
| selected: "brand", | |
| text: { | |
| dark: "#f8f8f8", | |
| light: "#444444" | |
| }, | |
| "text-strong": { | |
| dark: "#FFFFFF", | |
| light: "#000000" | |
| }, | |
| "text-weak": { | |
| dark: "#CCCCCC", | |
| light: "#555555" | |
| }, | |
| "text-xweak": { | |
| dark: "#BBBBBB", | |
| light: "#666666" | |
| }, | |
| icon: { | |
| dark: "#f8f8f8", | |
| light: "#666666" | |
| }, | |
| "selected-background": "brand", | |
| "selected-text": "text-strong", | |
| white: "#FFFFFF" | |
| }, u0 = function(t, r) { | |
| return t.forEach(function(o, u) { | |
| f1[r + "-" + (u + 1)] = o; | |
| }); | |
| }; | |
| u0(hC, "accent"); | |
| u0(N5, "dark"); | |
| u0(j5, "light"); | |
| u0(F5, "neutral"); | |
| Object.keys(yw).forEach(function(e) { | |
| f1["status-" + e] = yw[e]; | |
| }); | |
| var B5 = function(t, r) { | |
| r === void 0 && (r = 6); | |
| var o = t * 0.75, u = t / r, h = function(E) { | |
| return { | |
| size: o + E * u + "px", | |
| height: t + E * u + "px", | |
| // maxWidth chosen to be ~50 characters wide | |
| // see: https://ux.stackexchange.com/a/34125 | |
| maxWidth: t * (o + E * u) + "px" | |
| }; | |
| }, c = 2, p = 1, g = nm(M5.base, { | |
| global: { | |
| active: { | |
| background: { | |
| color: "active", | |
| opacity: "medium" | |
| }, | |
| color: { | |
| dark: "white", | |
| light: "black" | |
| } | |
| }, | |
| animation: { | |
| duration: "1s", | |
| jiggle: { | |
| duration: "0.1s" | |
| } | |
| }, | |
| // backgrounds: undefined, | |
| borderSize: { | |
| xsmall: "1px", | |
| small: "2px", | |
| medium: t / 6 + "px", | |
| // 4 | |
| large: t / 2 + "px", | |
| // 12 | |
| xlarge: t + "px" | |
| // 24 | |
| }, | |
| breakpoints: { | |
| small: { | |
| value: t * 32, | |
| // 768 | |
| borderSize: { | |
| xsmall: "1px", | |
| small: "2px", | |
| medium: t / 6 + "px", | |
| // 4 | |
| large: t / 4 + "px", | |
| // 6 | |
| xlarge: t / 2 + "px" | |
| // 12 | |
| }, | |
| edgeSize: { | |
| none: "0px", | |
| hair: "1px", | |
| // for Chart | |
| xxsmall: "2px", | |
| xsmall: t / 8 + "px", | |
| // 3 | |
| small: t / 4 + "px", | |
| // 6 | |
| medium: t / 2 + "px", | |
| // 12 | |
| large: t + "px", | |
| // 24 | |
| xlarge: t * 2 + "px" | |
| // 48 | |
| }, | |
| // radius: {}, | |
| size: { | |
| xxsmall: t + "px", | |
| // 24 | |
| xsmall: t * 2 + "px", | |
| // 48 | |
| small: t * 4 + "px", | |
| // 96 | |
| medium: t * 8 + "px", | |
| // 192 | |
| large: t * 16 + "px", | |
| // 384 | |
| xlarge: t * 32 + "px", | |
| // 768 | |
| full: "100%" | |
| } | |
| }, | |
| medium: { | |
| value: t * 64 | |
| // 1536 | |
| }, | |
| large: {} | |
| // anything above 'medium' | |
| }, | |
| // Breakpoints used at Server Side Rendering for the initial rendering | |
| // These values correspond to the theme breakpoints | |
| deviceBreakpoints: { | |
| phone: "small", | |
| tablet: "medium", | |
| computer: "large" | |
| }, | |
| colors: f1, | |
| control: { | |
| border: { | |
| width: p + "px", | |
| radius: "4px", | |
| color: "border" | |
| }, | |
| disabled: { | |
| opacity: 0.3 | |
| } | |
| }, | |
| // The time to wait after the user stopped typing, measured in ms. | |
| // A half second (500ms) debounce can be a helpful starting point. | |
| // You want to give the user time to fill out a field, but capture | |
| // their attention before they move on past it. 2 second (2000ms) | |
| // might be too long depending on how fast people type, and 200ms | |
| // would be an eye blink | |
| debounceDelay: 500, | |
| drop: { | |
| // intelligentMargin: undefined, | |
| background: { | |
| dark: "black", | |
| light: "white" | |
| }, | |
| border: { | |
| radius: "0px" | |
| }, | |
| // margin: undefined | |
| shadowSize: "small", | |
| // shadowSize is deprecated, use 'elevation' | |
| zIndex: "20" | |
| }, | |
| edgeSize: { | |
| none: "0px", | |
| hair: "1px", | |
| // for Chart | |
| xxsmall: t / 8 + "px", | |
| // 3 | |
| xsmall: t / 4 + "px", | |
| // 6 | |
| small: t / 2 + "px", | |
| // 12 | |
| medium: t + "px", | |
| // 24 | |
| large: t * 2 + "px", | |
| // 48 | |
| xlarge: t * 4 + "px", | |
| // 96 | |
| responsiveBreakpoint: "small" | |
| }, | |
| elevation: { | |
| light: { | |
| none: "none", | |
| xsmall: "0px 1px 2px rgba(0, 0, 0, 0.20)", | |
| small: "0px 2px 4px rgba(0, 0, 0, 0.20)", | |
| medium: "0px 4px 8px rgba(0, 0, 0, 0.20)", | |
| large: "0px 8px 16px rgba(0, 0, 0, 0.20)", | |
| xlarge: "0px 12px 24px rgba(0, 0, 0, 0.20)" | |
| }, | |
| dark: { | |
| none: "none", | |
| xsmall: "0px 2px 2px rgba(255, 255, 255, 0.40)", | |
| small: "0px 4px 4px rgba(255, 255, 255, 0.40)", | |
| medium: "0px 6px 8px rgba(255, 255, 255, 0.40)", | |
| large: "0px 8px 16px rgba(255, 255, 255, 0.40)", | |
| xlarge: "0px 12px 24px rgba(255, 255, 255, 0.40)" | |
| } | |
| }, | |
| focus: { | |
| // shadow or outline are required for accessibility | |
| border: { | |
| // remove to only have shadow | |
| color: "focus" | |
| }, | |
| // outline: { color: undefined, size: undefined }, | |
| shadow: { | |
| color: "focus", | |
| size: "2px" | |
| }, | |
| twoColor: void 0, | |
| inset: { | |
| border: { | |
| // remove to only have shadow | |
| color: "focus" | |
| }, | |
| outline: { | |
| color: "focus", | |
| size: "2px", | |
| offset: "-2px" | |
| }, | |
| shadow: void 0, | |
| twoColor: void 0 | |
| } | |
| }, | |
| font: fn({}, h(0)), | |
| hover: { | |
| background: { | |
| color: "active", | |
| opacity: "medium" | |
| }, | |
| color: { | |
| dark: "white", | |
| light: "black" | |
| } | |
| }, | |
| input: { | |
| padding: { | |
| horizontal: ni(t / 2 + "px") - ni(p + "px") + "px", | |
| vertical: ni(t / 2 + "px") - ni(p + "px") + "px" | |
| }, | |
| font: { | |
| // size: undefined, | |
| // height: undefined, | |
| weight: 600 | |
| }, | |
| // deprecate in v3 | |
| // weight: undefined, | |
| readOnly: { | |
| // background: undefined, | |
| // border: { | |
| // color: undefined, | |
| // }, | |
| } | |
| }, | |
| opacity: { | |
| strong: 0.8, | |
| medium: 0.4, | |
| weak: 0.1 | |
| }, | |
| // radius: {}, | |
| selected: { | |
| background: "selected", | |
| color: "white" | |
| }, | |
| spacing: t + "px", | |
| size: { | |
| xxsmall: t * 2 + "px", | |
| // 48 | |
| xsmall: t * 4 + "px", | |
| // 96 | |
| small: t * 8 + "px", | |
| // 192 | |
| medium: t * 16 + "px", | |
| // 384 | |
| large: t * 32 + "px", | |
| // 768 | |
| xlarge: t * 48 + "px", | |
| // 1152 | |
| xxlarge: t * 64 + "px", | |
| // 1536 | |
| full: "100%" | |
| } | |
| }, | |
| // icon: { | |
| // extennd: undefined, | |
| // matchSize: undefined, | |
| // size: undefined, | |
| // }, | |
| accordion: { | |
| icon: { | |
| container: { | |
| pad: { | |
| horizontal: "small" | |
| } | |
| } | |
| }, | |
| label: { | |
| container: { | |
| pad: { | |
| horizontal: "xsmall" | |
| } | |
| } | |
| }, | |
| panel: { | |
| // border: { | |
| // side: 'bottom', | |
| // color: 'border', | |
| // }, | |
| }, | |
| border: { | |
| side: "bottom", | |
| color: "border" | |
| }, | |
| heading: { | |
| level: "4" | |
| // level ranges from 1-6 | |
| // margin: undefined | |
| }, | |
| hover: { | |
| // background: undefined, | |
| color: { | |
| dark: "light-4", | |
| light: "dark-3" | |
| }, | |
| // deprecated | |
| heading: { | |
| color: { | |
| dark: "light-4", | |
| light: "dark-3" | |
| } | |
| } | |
| }, | |
| icons: { | |
| collapse: dv.FormUp, | |
| expand: kh.FormDown | |
| // color: { dark: undefined, light: undefined }, | |
| } | |
| }, | |
| anchor: { | |
| color: { | |
| dark: "accent-1", | |
| light: "brand" | |
| }, | |
| gap: "small", | |
| hover: { | |
| textDecoration: "underline" | |
| // fontWeight: undefined, | |
| // extend: undefined, | |
| }, | |
| // icon: { | |
| // color: undefined | |
| // }, | |
| iconOnly: { | |
| pad: "small" | |
| }, | |
| textDecoration: "none", | |
| fontWeight: 600 | |
| // size: { | |
| // medium: { | |
| // color: undefined, | |
| // fontWeight: undefined, | |
| // textDecoration: undefined, | |
| // gap: undefined, | |
| // }, | |
| // }, | |
| // extend: undefined, | |
| }, | |
| avatar: { | |
| // extend: undefined, | |
| size: { | |
| xsmall: t * 0.75 + "px", | |
| // 18px | |
| small: t + "px", | |
| // 24px | |
| medium: t * 2 + "px", | |
| // default 48px | |
| large: t * 3 + "px", | |
| // 72px | |
| xlarge: t * 4 + "px", | |
| // 96px | |
| "2xl": t * 5 + "px", | |
| // 120px | |
| "3xl": t * 6 + "px", | |
| // 144px | |
| "4xl": t * 7 + "px", | |
| // 168px | |
| "5xl": t * 8 + "px" | |
| // 192px | |
| }, | |
| text: { | |
| size: { | |
| xsmall: "small", | |
| // 14px | |
| small: "medium", | |
| // 18px | |
| medium: "large", | |
| // 22px | |
| large: "xlarge", | |
| // 26px | |
| xlarge: "xxlarge", | |
| // 34px | |
| "2xl": "3xl", | |
| // 42px | |
| "3xl": "4xl", | |
| // 54px | |
| "4xl": "5xl", | |
| // 70px | |
| "5xl": "6xl" | |
| // 90px | |
| } | |
| // fontWeight: undefined, | |
| // extend: undefined | |
| } | |
| }, | |
| box: { | |
| border: { | |
| offset: "xsmall" | |
| }, | |
| responsiveBreakpoint: "small" | |
| // when we switch rows to columns | |
| // extend: undefined, | |
| }, | |
| button: { | |
| intelligentPad: !0, | |
| // background: undefined, | |
| badge: { | |
| // align: undefined,, | |
| container: { | |
| background: "brand" | |
| // pad: undefined, | |
| // extend: undefined, | |
| }, | |
| size: { | |
| medium: t + "px" | |
| // 24px | |
| }, | |
| text: { | |
| size: { | |
| medium: "small" | |
| // 14px | |
| } | |
| } | |
| }, | |
| busy: { | |
| gap: "small" | |
| // icons: { | |
| // success: undefined, | |
| // }, | |
| }, | |
| gap: "small", | |
| size: { | |
| small: { | |
| border: { | |
| radius: t * 0.75 + "px" | |
| }, | |
| pad: { | |
| vertical: t / 4 - c + "px", | |
| // 4px | |
| horizontal: t - c * 2 + "px" | |
| // 20px, | |
| } | |
| // iconOnly: { | |
| // pad: undefined, | |
| // }, | |
| }, | |
| medium: { | |
| border: { | |
| radius: t * 0.75 + "px" | |
| // 18px | |
| }, | |
| pad: { | |
| vertical: t / 4 - c + "px", | |
| // 4px | |
| horizontal: t - c + "px" | |
| // 22px | |
| } | |
| // iconOnly: { | |
| // pad: undefined, | |
| // }, | |
| }, | |
| large: { | |
| border: { | |
| radius: t + "px" | |
| // 24px | |
| }, | |
| pad: { | |
| vertical: t / 4 + c + "px", | |
| // 8px | |
| horizontal: t + c * 4 + "px" | |
| // 32px, | |
| } | |
| // iconOnly: { | |
| // pad: undefined, | |
| // }, | |
| } | |
| }, | |
| border: { | |
| // color: { dark: undefined, light: undefined } | |
| width: c + "px", | |
| radius: t * 0.75 + "px" | |
| }, | |
| // color: { dark: undefined, light: undefined }, | |
| // elevation: undefined, | |
| // default: { | |
| // background: undefined, | |
| // border: undefined, | |
| // color: undefined, | |
| // direction: undefined, | |
| // elevation: undefined, | |
| // font: { | |
| // size: undefined, | |
| // weight: undefined, | |
| // }, | |
| // icon: undefined, | |
| // padding: { | |
| // vertical: undefined, | |
| // horizontal: undefined, | |
| // }, | |
| // reverse: undefined, | |
| // extend: undefined, | |
| // }, | |
| // primary: { | |
| // font: { | |
| // size: undefined, | |
| // weight: undefined, | |
| // }, | |
| // background: undefined, | |
| // border: undefined, | |
| // color: undefined, | |
| // direction: undefined, | |
| // elevation: undefined, | |
| // icon: undefined, | |
| // padding: { | |
| // vertical: undefined, | |
| // horizontal: undefined, | |
| // }, | |
| // reverse: undefined, | |
| // extend: undefined, | |
| // }, | |
| // secondary: { | |
| // font: { | |
| // size: undefined, | |
| // weight: undefined, | |
| // }, | |
| // background: undefined, | |
| // border: undefined, | |
| // color: undefined, | |
| // direction: undefined, | |
| // elevation: undefined, | |
| // icon: undefined, | |
| // padding: { | |
| // vertical: undefined, | |
| // horizontal: undefined, | |
| // }, | |
| // reverse: undefined, | |
| // extend: undefined, | |
| // }, | |
| // option: { | |
| // background: undefined, | |
| // border: undefined, | |
| // color: undefined, | |
| // direction: undefined, | |
| // elevation: undefined, | |
| // icon: undefined, | |
| // padding: { | |
| // vertical: undefined, | |
| // horizontal: undefined, | |
| // }, | |
| // reverse: undefined, | |
| // extend: undefined, | |
| // }, | |
| active: { | |
| background: "active-background", | |
| // border: undefined, | |
| color: "active-text" | |
| // extend: undefined, | |
| // default: {}, | |
| // primary: {}, | |
| // secondary: {}, | |
| }, | |
| disabled: { | |
| // background: undefined, | |
| // border: undefined, | |
| // color: undefined, | |
| opacity: 0.3 | |
| // extend: undefined, | |
| // default: {}, | |
| // primary: {}, | |
| // secondary: {}, | |
| }, | |
| // hover: { | |
| // background: undefined, | |
| // border: undefined, | |
| // color: undefined, | |
| // extend: undefined, | |
| // default: {}, | |
| // primary: {}, | |
| // secondary: {}, | |
| // }, | |
| padding: { | |
| vertical: t / 4 - c + "px", | |
| horizontal: t - c + "px" | |
| }, | |
| transition: { | |
| timing: "ease-in-out", | |
| duration: 0.1, | |
| properties: ["color", "background-color", "border-color", "box-shadow"] | |
| }, | |
| skeleton: { | |
| width: { | |
| min: "100px" | |
| } | |
| } | |
| }, | |
| calendar: { | |
| day: { | |
| // adjacent: { | |
| // color: undefined, | |
| // }, | |
| hover: { | |
| background: "active-background" | |
| // color: undefined, | |
| }, | |
| selected: { | |
| // background: undefined, | |
| // color: undefined, | |
| font: { | |
| weight: "bold" | |
| } | |
| // hover: { | |
| // background: undefined, | |
| // color: undefined, | |
| // }, | |
| }, | |
| inRange: { | |
| // color: undefined, | |
| font: { | |
| weight: "bold" | |
| } | |
| // hover: { | |
| // background: undefined, | |
| // color: undefined, | |
| // }, | |
| } | |
| // extend: undefined, | |
| }, | |
| // range: { | |
| // background: undefined, | |
| // }, | |
| // daySize must align with global.size | |
| small: { | |
| // day: { | |
| // round: undefined, | |
| // }, | |
| // range: { | |
| // round: undefined, | |
| // start: { | |
| // round: undefined, | |
| // }, | |
| // end: { | |
| // round: undefined, | |
| // }, | |
| // }, | |
| // title: {}, | |
| fontSize: o - u + "px", | |
| title: { | |
| container: { | |
| pad: { | |
| horizontal: "xsmall" | |
| } | |
| } | |
| }, | |
| lineHeight: 1.375, | |
| daySize: t * 8 / 7 + "px", | |
| slideDuration: "0.2s" | |
| }, | |
| medium: { | |
| // day: { | |
| // round: undefined, | |
| // }, | |
| // range: { | |
| // round: undefined, | |
| // start: { | |
| // round: undefined, | |
| // }, | |
| // end: { | |
| // round: undefined, | |
| // }, | |
| // }, | |
| // title: {}, | |
| fontSize: o + "px", | |
| title: { | |
| container: { | |
| pad: { | |
| horizontal: "small" | |
| } | |
| } | |
| }, | |
| lineHeight: 1.45, | |
| daySize: t * 16 / 7 + "px", | |
| slideDuration: "0.5s" | |
| }, | |
| large: { | |
| // day: { | |
| // round: undefined, | |
| // }, | |
| // range: { | |
| // round: undefined, | |
| // start: { | |
| // round: undefined, | |
| // }, | |
| // end: { | |
| // round: undefined, | |
| // }, | |
| // }, | |
| // title: {}, | |
| fontSize: o + 3 * u + "px", | |
| title: { | |
| container: { | |
| pad: { | |
| horizontal: "medium" | |
| } | |
| } | |
| }, | |
| lineHeight: 1.11, | |
| daySize: t * 32 / 7 + "px", | |
| slideDuration: "0.8s" | |
| }, | |
| icons: { | |
| previous: ay.Previous, | |
| next: iy.Next, | |
| small: { | |
| previous: d5.FormPrevious, | |
| next: u5.FormNext | |
| } | |
| }, | |
| heading: { | |
| level: "4" | |
| } | |
| // level ranges from 1-6 | |
| }, | |
| card: { | |
| container: { | |
| round: "small", | |
| elevation: "small" | |
| // extend: undefined, | |
| }, | |
| // hover: { | |
| // container: { | |
| // elevation: undefined, | |
| // }, | |
| // }, | |
| header: {}, | |
| body: {}, | |
| footer: {} | |
| }, | |
| cards: { | |
| container: { | |
| // any box props | |
| gap: "xsmall" | |
| // extend: undefined, | |
| }, | |
| grid: { | |
| columns: "small", | |
| gap: "medium" | |
| } | |
| }, | |
| carousel: { | |
| icons: { | |
| current: T5.Subtract, | |
| next: iy.Next, | |
| previous: ay.Previous | |
| // color: { dark: undefined, light: undefined }, | |
| }, | |
| animation: { | |
| duration: 1e3 | |
| }, | |
| disabled: { | |
| icons: { | |
| // color: { dark: undefined, light: undefined }, | |
| } | |
| } | |
| }, | |
| chart: { | |
| color: "graph-0", | |
| height: "small", | |
| thickness: "medium", | |
| width: "medium" | |
| // extend: undefined, | |
| }, | |
| checkBox: { | |
| border: { | |
| color: { | |
| dark: "rgba(255, 255, 255, 0.5)", | |
| light: "rgba(0, 0, 0, 0.15)" | |
| }, | |
| width: "2px" | |
| }, | |
| check: { | |
| // extend: undefined, | |
| radius: "4px", | |
| thickness: "4px" | |
| }, | |
| label: { | |
| align: "center" | |
| }, | |
| // color: { dark: undefined, light: undefined }, | |
| // extend: undefined, | |
| gap: "small", | |
| hover: { | |
| border: { | |
| color: { | |
| dark: "white", | |
| light: "black" | |
| } | |
| } | |
| // background: undefined, | |
| // extend: undefined, | |
| }, | |
| icon: { | |
| // size: undefined, | |
| // extend: undefined, | |
| }, | |
| icons: { | |
| // checked: undefined, | |
| // indeterminate: undefined, | |
| }, | |
| // pad: undefined, | |
| size: t + "px", | |
| toggle: { | |
| // background: undefined | |
| color: { | |
| dark: "#d9d9d9", | |
| light: "#d9d9d9" | |
| }, | |
| knob: { | |
| // extend: undefined, | |
| }, | |
| radius: t + "px", | |
| size: t * 2 + "px" | |
| // extend: undefined, | |
| } | |
| }, | |
| checkBoxGroup: { | |
| container: { | |
| // // any box props | |
| // extend: undefined, | |
| gap: "small" | |
| } | |
| }, | |
| clock: { | |
| analog: { | |
| // extend: undefined, | |
| hour: { | |
| color: { | |
| dark: "light-2", | |
| light: "dark-3" | |
| }, | |
| width: t / 3 + "px", | |
| size: t + "px", | |
| shape: "round" | |
| }, | |
| minute: { | |
| color: { | |
| dark: "light-4", | |
| light: "dark-3" | |
| }, | |
| width: t / 6 + "px", | |
| size: Math.round(t / 2) + "px", | |
| shape: "round" | |
| }, | |
| second: { | |
| color: { | |
| dark: "accent-1", | |
| light: "accent-1" | |
| }, | |
| width: t / 8 + "px", | |
| size: Math.round(t / 2.666) + "px", | |
| shape: "round" | |
| }, | |
| size: { | |
| xsmall: t * 2 + "px", | |
| small: t * 3 + "px", | |
| medium: t * 4 + "px", | |
| large: t * 6 + "px", | |
| xlarge: t * 9 + "px", | |
| xxlarge: t * 12 + "px", | |
| huge: t * 12 + "px" | |
| // kept for backwards compatibility | |
| } | |
| }, | |
| digital: { | |
| text: { | |
| xsmall: { | |
| size: o - 2 * u + "px", | |
| height: 1.5 | |
| }, | |
| small: { | |
| size: o - u + "px", | |
| height: 1.43 | |
| }, | |
| medium: { | |
| size: o + "px", | |
| height: 1.375 | |
| }, | |
| large: { | |
| size: o + u + "px", | |
| height: 1.167 | |
| }, | |
| xlarge: { | |
| size: o + 2 * u + "px", | |
| height: 1.1875 | |
| }, | |
| xxlarge: { | |
| size: o + 4 * u + "px", | |
| height: 1.125 | |
| } | |
| } | |
| } | |
| }, | |
| collapsible: { | |
| minSpeed: 200, | |
| baseline: 500 | |
| }, | |
| data: { | |
| // button: { | |
| // kind: undefined, | |
| // }, | |
| drop: { | |
| pad: "small" | |
| }, | |
| toolbar: { | |
| gap: "medium" | |
| } | |
| }, | |
| dataChart: { | |
| gap: "small", | |
| // granularity: { | |
| // y: {}, | |
| // }, | |
| detail: { | |
| gap: "xsmall", | |
| pad: "small" | |
| }, | |
| halfPad: { | |
| xlarge: "large", | |
| large: "medium", | |
| medium: "small", | |
| small: "xsmall", | |
| xsmall: "xxsmall" | |
| }, | |
| legend: { | |
| margin: { | |
| top: "small" | |
| }, | |
| gap: "small", | |
| item: { | |
| gap: "xsmall", | |
| pad: { | |
| horizontal: "small", | |
| vertical: "xsmall" | |
| } | |
| } | |
| }, | |
| // orderedSizes: undefined, | |
| size: { | |
| height: "small" | |
| }, | |
| thickness: { | |
| veryDense: "hair", | |
| dense: "xsmall", | |
| heavy: "small", | |
| moderate: "medium", | |
| light: "large", | |
| sparse: "xlarge" | |
| }, | |
| thicknessPad: { | |
| xlarge: "large", | |
| large: "medium", | |
| medium: "small", | |
| small: "xsmall", | |
| xsmall: "xxsmall" | |
| } | |
| }, | |
| dataFilter: { | |
| rangeSelector: { | |
| size: "full", | |
| round: "small" | |
| }, | |
| selectMultiple: { | |
| dropHeight: "medium" | |
| } | |
| }, | |
| dataFilters: { | |
| // icons: { | |
| // close: undefined, | |
| // filter: undefined, | |
| // } | |
| footer: { | |
| actions: { | |
| margin: { | |
| top: "medium" | |
| }, | |
| gap: "small" | |
| } | |
| }, | |
| clearControl: { | |
| margin: { | |
| start: "small" | |
| } | |
| }, | |
| pad: "medium", | |
| width: { | |
| min: "medium" | |
| } | |
| }, | |
| dateInput: { | |
| button: { | |
| margin: "small" | |
| }, | |
| container: { | |
| round: "xxsmall" | |
| }, | |
| icon: { | |
| // calendar: undefined, | |
| size: "medium" | |
| } | |
| }, | |
| dataSearch: { | |
| // icons: { | |
| // search: undefined, | |
| // }, | |
| }, | |
| dataSort: { | |
| // icons: { | |
| // control: undefined, | |
| // }, | |
| }, | |
| dataSummary: { | |
| margin: { | |
| vertical: "xsmall" | |
| }, | |
| separator: { | |
| margin: { | |
| horizontal: "small" | |
| } | |
| } | |
| }, | |
| dataTable: { | |
| // body: { | |
| // extend: undefined, | |
| // row: { | |
| // extend: undefined, | |
| // } | |
| // selected: undefined, | |
| // }, | |
| expand: { | |
| size: "xxsmall" | |
| }, | |
| pinned: { | |
| // body: { | |
| // background: undefined, | |
| // extend: undefined, | |
| // }, | |
| header: { | |
| background: { | |
| opacity: "strong" | |
| } | |
| // extend: undefined, | |
| }, | |
| footer: { | |
| background: { | |
| opacity: "strong" | |
| } | |
| // extend: undefined, | |
| } | |
| }, | |
| container: { | |
| // any box props | |
| gap: "xsmall" | |
| // extend: undefined, | |
| }, | |
| groupHeader: { | |
| // background: undefined, | |
| // border: undefined, | |
| // pad: undefined, | |
| }, | |
| groupEnd: { | |
| border: { | |
| side: "bottom", | |
| size: "xsmall" | |
| } | |
| }, | |
| header: { | |
| // background: undefined, | |
| // border: undefined, | |
| // color: undefined, | |
| // extend: undefined, | |
| // font: { | |
| // weight: undefined, | |
| // size: undefined, | |
| // }, | |
| gap: "small", | |
| // hover: { | |
| // background: undefined, | |
| // }, | |
| // pad: undefined, | |
| units: { | |
| color: "text-xweak", | |
| margin: { | |
| left: "xsmall" | |
| }, | |
| alignSelf: "end" | |
| } | |
| }, | |
| icons: { | |
| ascending: kh.FormDown, | |
| contract: dv.FormUp, | |
| descending: dv.FormUp, | |
| expand: kh.FormDown | |
| // resizeDecrease: undefined, | |
| // resizeIncrease: undefined, | |
| // search: undefined, | |
| // sortable: undefined, | |
| }, | |
| primary: { | |
| weight: "bold" | |
| }, | |
| resize: { | |
| border: { | |
| color: "border", | |
| side: "end" | |
| }, | |
| // hover: { | |
| // border: { | |
| // color: undefined, | |
| // side: undefined, | |
| // size: undefined, | |
| // }, | |
| // }, | |
| padding: { | |
| vertical: "xsmall" | |
| } | |
| }, | |
| search: { | |
| pad: { | |
| left: "small" | |
| }, | |
| text: { | |
| pad: { | |
| horizontal: "small" | |
| } | |
| } | |
| }, | |
| sort: { | |
| gap: "xsmall" | |
| } | |
| }, | |
| dataTableColumns: { | |
| // icons: { | |
| // control: undefined, | |
| // pinned: undefined, | |
| // search: undefined, | |
| // } | |
| tabs: { | |
| pad: "small" | |
| }, | |
| selectColumns: { | |
| pad: { | |
| vertical: "small" | |
| }, | |
| gap: "xsmall" | |
| }, | |
| orderColumns: { | |
| pad: { | |
| top: "small" | |
| } | |
| } | |
| }, | |
| diagram: { | |
| // extend: undefined, | |
| line: { | |
| color: "graph-0" | |
| } | |
| }, | |
| distribution: { | |
| gap: "xsmall" | |
| }, | |
| // drop: { | |
| // extend: undefined, | |
| // maxHeight: undefined, | |
| // }, | |
| fileInput: { | |
| anchor: { | |
| margin: "small" | |
| }, | |
| // background: {}, | |
| border: { | |
| // color: undefined, | |
| side: "all", | |
| size: "small", | |
| style: "dashed" | |
| }, | |
| dragOver: { | |
| border: { | |
| color: "control" | |
| } | |
| // extend: undefined, | |
| }, | |
| hover: { | |
| border: { | |
| color: "brand" | |
| } | |
| // extend: undefined, | |
| }, | |
| icons: { | |
| // error: undefined, | |
| remove: oy.FormClose | |
| }, | |
| // pad: {}, | |
| label: { | |
| gap: "xsmall", | |
| margin: "small" | |
| // extend: undefined, | |
| }, | |
| message: { | |
| margin: "small" | |
| // extend: undefined, | |
| } | |
| // extend: undefined, | |
| }, | |
| footer: { | |
| gap: "medium" | |
| }, | |
| formField: { | |
| // [inputname]: { | |
| // container: { | |
| // extend: undefined, | |
| // } | |
| // } | |
| border: { | |
| color: "border", | |
| error: { | |
| color: { | |
| dark: "white", | |
| light: "status-critical" | |
| } | |
| }, | |
| position: "inner", | |
| side: "bottom" | |
| }, | |
| // checkBox: { | |
| // pad: undefined, | |
| // }, | |
| content: { | |
| // margin: undefined, | |
| pad: "small" | |
| }, | |
| disabled: { | |
| background: { | |
| color: "status-disabled", | |
| opacity: "medium" | |
| } | |
| // border: { | |
| // color: undefined, | |
| // }, | |
| // label: { | |
| // color: undefined, | |
| // }, | |
| // help: { | |
| // color: undefined, | |
| // }, | |
| // info: { | |
| // color: undefined, | |
| // }, | |
| }, | |
| focus: { | |
| containerFocus: !0 | |
| // background: { | |
| // color: undefined, | |
| // }, | |
| // border: { | |
| // color: undefined, | |
| // }, | |
| }, | |
| error: { | |
| color: "status-critical", | |
| margin: { | |
| vertical: "xsmall", | |
| horizontal: "small" | |
| } | |
| // background: undefined, | |
| // container: {}, // any Box props | |
| // icon: undefined, | |
| }, | |
| // extend: undefined, | |
| help: { | |
| color: "dark-2", | |
| margin: { | |
| start: "small" | |
| } | |
| }, | |
| info: { | |
| color: "text-xweak", | |
| margin: { | |
| vertical: "xsmall", | |
| horizontal: "small" | |
| } | |
| // container: {}, // any Box props | |
| // icon: undefined, | |
| }, | |
| label: { | |
| margin: { | |
| vertical: "xsmall", | |
| horizontal: "small" | |
| } | |
| // requiredIndicator: undefined, | |
| }, | |
| margin: { | |
| bottom: "small" | |
| }, | |
| // round: undefined, | |
| survey: { | |
| label: { | |
| margin: { | |
| bottom: "xsmall" | |
| }, | |
| size: "medium", | |
| weight: 400 | |
| } | |
| } | |
| }, | |
| grommet: { | |
| // extend: undefined | |
| }, | |
| header: { | |
| sticky: { | |
| zIndex: "20" | |
| }, | |
| gap: "medium" | |
| }, | |
| heading: { | |
| // color: undefined, | |
| font: { | |
| // family: undefined | |
| }, | |
| level: { | |
| 1: { | |
| font: { | |
| // family: undefined, | |
| // weight: undefined, | |
| }, | |
| small: fn({}, h(4)), | |
| medium: fn({}, h(8)), | |
| large: fn({}, h(16)), | |
| xlarge: fn({}, h(24)) | |
| }, | |
| 2: { | |
| font: { | |
| // family: undefined, | |
| // weight: undefined, | |
| }, | |
| small: fn({}, h(2)), | |
| medium: fn({}, h(4)), | |
| large: fn({}, h(8)), | |
| xlarge: fn({}, h(12)) | |
| }, | |
| 3: { | |
| font: { | |
| // family: undefined, | |
| // weight: undefined, | |
| }, | |
| small: fn({}, h(1)), | |
| medium: fn({}, h(2)), | |
| large: fn({}, h(4)), | |
| xlarge: fn({}, h(6)) | |
| }, | |
| 4: { | |
| font: { | |
| // family: undefined, | |
| // weight: undefined, | |
| }, | |
| small: fn({}, h(0)), | |
| medium: fn({}, h(0)), | |
| large: fn({}, h(0)), | |
| xlarge: fn({}, h(0)) | |
| }, | |
| 5: { | |
| font: { | |
| // family: undefined, | |
| // weight: undefined, | |
| }, | |
| small: fn({}, h(-0.5)), | |
| medium: fn({}, h(-0.5)), | |
| large: fn({}, h(-0.5)), | |
| xlarge: fn({}, h(-0.5)) | |
| }, | |
| 6: { | |
| font: { | |
| // family: undefined, | |
| // weight: undefined, | |
| }, | |
| small: fn({}, h(-1)), | |
| medium: fn({}, h(-1)), | |
| large: fn({}, h(-1)), | |
| xlarge: fn({}, h(-1)) | |
| } | |
| }, | |
| responsiveBreakpoint: "small", | |
| // when we scale the font size down | |
| weight: 600, | |
| skeleton: { | |
| width: { | |
| min: "150px", | |
| max: "200px" | |
| } | |
| } | |
| }, | |
| layer: { | |
| background: { | |
| dark: "black", | |
| light: "white" | |
| }, | |
| border: { | |
| radius: "4px" | |
| // intelligentRounding: undefined, | |
| }, | |
| container: { | |
| // elevation: undefined, | |
| zIndex: "20", | |
| height: { | |
| min: "xxsmall" | |
| } | |
| }, | |
| // extend: undefined, | |
| overlay: { | |
| background: "rgba(0, 0, 0, 0.5)" | |
| // backdropFilter: undefined, | |
| }, | |
| responsiveBreakpoint: "small", | |
| // when Layer takes over the full screen | |
| zIndex: "20" | |
| }, | |
| list: { | |
| container: { | |
| // any box props | |
| gap: "xsmall" | |
| // extend: undefined, | |
| }, | |
| item: { | |
| // background: undefined, | |
| border: "horizontal", | |
| disabled: { | |
| color: "status-disabled", | |
| cursor: "default" | |
| }, | |
| gap: "medium", | |
| pinned: { | |
| background: "background-contrast", | |
| icon: { | |
| size: "medium", | |
| pad: "small" | |
| } | |
| }, | |
| pad: { | |
| horizontal: "medium", | |
| vertical: "small" | |
| } | |
| // extend: undefined, | |
| }, | |
| primaryKey: { | |
| // any text props | |
| weight: "bold" | |
| }, | |
| icons: { | |
| down: kh.FormDown, | |
| up: dv.FormUp, | |
| pin: b5.FormPin | |
| } | |
| // extend: undefined, | |
| }, | |
| maskedInput: { | |
| // container: { | |
| // extend: undefined, | |
| // }, | |
| // extend: undefined, | |
| // disabled: { opacity: undefined }, | |
| }, | |
| menu: { | |
| // background: undefined, | |
| // extend: undefined, | |
| // item: undefined, | |
| drop: { | |
| align: { | |
| top: "top", | |
| left: "left" | |
| } | |
| // any drop props | |
| }, | |
| // container: { | |
| // // any box props | |
| // }, | |
| group: { | |
| container: { | |
| pad: { | |
| vertical: "xsmall" | |
| } | |
| }, | |
| separator: { | |
| color: "border", | |
| size: "xsmall", | |
| pad: { | |
| horizontal: "small" | |
| } | |
| } | |
| }, | |
| icons: { | |
| down: kh.FormDown | |
| // up: undefined, | |
| // color: { dark: undefined, light: undefined }, | |
| } | |
| }, | |
| meter: { | |
| color: "graph-0" | |
| // colors: [] || colors: ['graph-0', 'graph-1', 'graph-2', 'graph-3'], | |
| // extend: undefined, | |
| // gap: undefined, | |
| }, | |
| nameValueList: { | |
| gap: { | |
| column: "large", | |
| row: "small" | |
| }, | |
| pair: { | |
| column: { | |
| gap: { | |
| column: "large", | |
| row: "medium" | |
| } | |
| } | |
| }, | |
| name: { | |
| width: "small" | |
| }, | |
| value: { | |
| width: "medium" | |
| } | |
| }, | |
| nameValuePair: { | |
| column: { | |
| gap: "xxsmall" | |
| }, | |
| name: { | |
| // any text props | |
| color: "text", | |
| weight: "bold" | |
| }, | |
| value: { | |
| // any text props | |
| color: "text" | |
| } | |
| }, | |
| nav: { | |
| gap: "medium" | |
| }, | |
| notification: { | |
| actions: { | |
| // any anchor props | |
| margin: { | |
| right: "xsmall" | |
| } | |
| }, | |
| direction: "column", | |
| container: { | |
| // any box props | |
| round: "xsmall", | |
| pad: { | |
| horizontal: "small", | |
| vertical: "xsmall" | |
| }, | |
| background: { | |
| color: "background-front" | |
| } | |
| }, | |
| gap: "small", | |
| global: { | |
| direction: "row", | |
| container: { | |
| // any box props | |
| round: "none", | |
| pad: { | |
| horizontal: "large", | |
| vertical: "xsmall" | |
| } | |
| } | |
| }, | |
| toast: { | |
| // direction: undefined, | |
| container: { | |
| // any box props | |
| elevation: "medium", | |
| width: "medium" | |
| }, | |
| layer: { | |
| position: "top", | |
| margin: "medium" | |
| }, | |
| time: 8e3 | |
| }, | |
| iconContainer: { | |
| // any box props | |
| pad: { | |
| right: "small" | |
| }, | |
| flex: !1 | |
| }, | |
| textContainer: { | |
| // any box props | |
| gap: "medium" | |
| }, | |
| title: { | |
| // any text props | |
| weight: "bold" | |
| }, | |
| message: { | |
| // any text props | |
| margin: "none", | |
| // fill: undefined, | |
| text: { | |
| margin: { | |
| right: "xsmall" | |
| } | |
| } | |
| }, | |
| close: { | |
| icon: oy.FormClose | |
| }, | |
| critical: { | |
| icon: S5.StatusCriticalSmall, | |
| background: { | |
| color: "status-critical", | |
| opacity: "weak" | |
| }, | |
| color: "status-critical", | |
| // message: { | |
| // color: undefined, | |
| // }, | |
| // title: { | |
| // color: undefined, | |
| // }, | |
| // global: {}, | |
| toast: { | |
| background: "background-front" | |
| // message: { | |
| // color: undefined, | |
| // }, | |
| // title: { | |
| // color: undefined, | |
| // }, | |
| } | |
| }, | |
| warning: { | |
| icon: O5.StatusWarningSmall, | |
| background: { | |
| color: "status-warning", | |
| opacity: "weak" | |
| }, | |
| color: "status-warning", | |
| // message: { | |
| // color: undefined, | |
| // }, | |
| // title: { | |
| // color: undefined, | |
| // }, | |
| // global: {}, | |
| toast: { | |
| background: "background-front" | |
| // message: { | |
| // color: undefined, | |
| // }, | |
| // title: { | |
| // color: undefined, | |
| // }, | |
| } | |
| }, | |
| normal: { | |
| icon: C5.StatusGoodSmall, | |
| background: { | |
| color: "status-ok", | |
| opacity: "weak" | |
| }, | |
| color: "status-ok", | |
| // message: { | |
| // color: undefined, | |
| // }, | |
| // title: { | |
| // color: undefined, | |
| // }, | |
| // global: {}, | |
| toast: { | |
| background: "background-front" | |
| // message: { | |
| // color: undefined, | |
| // }, | |
| // title: { | |
| // color: undefined, | |
| // }, | |
| } | |
| }, | |
| info: { | |
| icon: t5.CircleInformation, | |
| background: "background-contrast", | |
| color: "text-strong", | |
| // message: { | |
| // color: undefined, | |
| // }, | |
| // title: { | |
| // color: undefined, | |
| // }, | |
| // global: {}, | |
| toast: { | |
| background: "background-front" | |
| // message: { | |
| // color: undefined, | |
| // }, | |
| // title: { | |
| // color: undefined, | |
| // }, | |
| } | |
| }, | |
| unknown: { | |
| icon: pw.StatusUnknownSmall, | |
| background: { | |
| color: "status-unknown", | |
| opacity: "weak" | |
| }, | |
| color: "status-unknown", | |
| // message: { | |
| // color: undefined, | |
| // }, | |
| // title: { | |
| // color: undefined, | |
| // }, | |
| // global: {}, | |
| toast: { | |
| background: "background-front" | |
| // message: { | |
| // color: undefined, | |
| // }, | |
| // title: { | |
| // color: undefined, | |
| // }, | |
| } | |
| }, | |
| // deprecate "undefined" in v3 | |
| // and if undefined, no icon | |
| undefined: { | |
| icon: pw.StatusUnknownSmall, | |
| // background: undefined, | |
| color: "status-unknown" | |
| // message: { | |
| // color: undefined, | |
| // }, | |
| // title: { | |
| // color: undefined, | |
| // }, | |
| // global: {}, | |
| // toast: {}, | |
| } | |
| }, | |
| page: { | |
| wide: { | |
| alignSelf: "center", | |
| width: { | |
| min: "medium", | |
| max: "xxlarge" | |
| }, | |
| small: { | |
| pad: { | |
| horizontal: "large" | |
| } | |
| }, | |
| medium: { | |
| pad: { | |
| horizontal: "medium" | |
| } | |
| }, | |
| large: { | |
| pad: { | |
| horizontal: "large" | |
| } | |
| } | |
| }, | |
| narrow: { | |
| alignSelf: "center", | |
| width: { | |
| min: "medium", | |
| max: "large" | |
| }, | |
| small: { | |
| pad: { | |
| horizontal: "large" | |
| } | |
| }, | |
| medium: { | |
| pad: { | |
| horizontal: "medium" | |
| } | |
| }, | |
| large: { | |
| pad: { | |
| horizontal: "large" | |
| } | |
| } | |
| }, | |
| full: { | |
| alignSelf: "start", | |
| width: { | |
| min: "medium", | |
| max: "100%" | |
| }, | |
| small: { | |
| pad: { | |
| horizontal: "large" | |
| } | |
| }, | |
| medium: { | |
| pad: { | |
| horizontal: "medium" | |
| } | |
| }, | |
| large: { | |
| pad: { | |
| horizontal: "large" | |
| } | |
| } | |
| } | |
| }, | |
| pageHeader: { | |
| actions: { | |
| // any box props | |
| align: "end" | |
| }, | |
| pad: { | |
| top: "large", | |
| bottom: "medium" | |
| }, | |
| parent: { | |
| // any box props | |
| align: "start" | |
| }, | |
| responsive: { | |
| actions: { | |
| // any box props | |
| align: "start", | |
| pad: { | |
| top: "small" | |
| } | |
| }, | |
| areas: [["parent"], ["title"], ["subtitle"], ["actions"]], | |
| breakpoints: ["small"], | |
| columns: ["auto"], | |
| rows: ["auto"] | |
| // gap: undefined, | |
| }, | |
| subtitle: { | |
| // any paragraph props | |
| margin: "none" | |
| }, | |
| title: { | |
| // any heading props | |
| margin: "none", | |
| fill: !0 | |
| }, | |
| size: { | |
| small: { | |
| pad: { | |
| top: "medium", | |
| bottom: "small" | |
| }, | |
| subtitle: { | |
| size: "small" | |
| }, | |
| title: { | |
| size: "small" | |
| } | |
| }, | |
| // medium: { | |
| // // pad: undefined, | |
| // // subtitle: {}, | |
| // // title: {}, | |
| // }, | |
| large: { | |
| pad: { | |
| top: "xlarge", | |
| bottom: "large" | |
| }, | |
| subtitle: { | |
| size: "large" | |
| }, | |
| title: { | |
| size: "large" | |
| } | |
| } | |
| }, | |
| small: { | |
| areas: [["parent", "parent"], ["title", "actions"], ["subtitle", "actions"]], | |
| columns: [["small", "flex"], "auto"], | |
| rows: ["auto", "auto", "auto"], | |
| gap: { | |
| row: "xsmall", | |
| column: "large" | |
| } | |
| }, | |
| medium: { | |
| areas: [["parent", "parent"], ["title", "actions"], ["subtitle", "actions"]], | |
| columns: [["medium", "flex"], "auto"], | |
| rows: ["auto", "auto", "auto"], | |
| gap: { | |
| row: "xsmall", | |
| column: "medium" | |
| } | |
| }, | |
| large: { | |
| areas: [["parent", "parent"], ["title", "actions"], ["subtitle", "actions"]], | |
| columns: [["medium", "flex"], "auto"], | |
| rows: ["auto", "auto", "auto"], | |
| gap: { | |
| row: "xsmall", | |
| column: "large" | |
| } | |
| } | |
| }, | |
| pagination: { | |
| button: { | |
| active: { | |
| background: { | |
| color: "active-background" | |
| } | |
| }, | |
| color: "text-strong", | |
| hover: { | |
| background: { | |
| color: "background-contrast" | |
| }, | |
| color: void 0 | |
| }, | |
| size: { | |
| small: { | |
| border: { | |
| radius: t / 8 + "px", | |
| // 3 | |
| width: "2px" | |
| }, | |
| pad: { | |
| vertical: "4px", | |
| horizontal: "4px" | |
| }, | |
| font: fn({}, h(-1)), | |
| height: t * 1.25 + "px", | |
| width: t * 1.25 + "px" | |
| }, | |
| medium: { | |
| border: { | |
| radius: t / 6 + "px", | |
| // 4 | |
| width: "2px" | |
| }, | |
| pad: { | |
| vertical: "4px", | |
| horizontal: "4px" | |
| }, | |
| font: fn({}, h(0)), | |
| height: t * 1.5 + "px", | |
| width: t * 1.5 + "px" | |
| }, | |
| large: { | |
| border: { | |
| radius: t / 4 + "px", | |
| // 6 | |
| width: "2px" | |
| }, | |
| pad: { | |
| vertical: "4px", | |
| horizontal: "4px" | |
| }, | |
| font: fn({}, h(1)), | |
| height: t * 2 + "px", | |
| width: t * 2 + "px" | |
| } | |
| } | |
| }, | |
| container: { | |
| gap: { | |
| column: "xsmall", | |
| row: "small" | |
| } | |
| // any box props, | |
| // extend: undefined, | |
| }, | |
| controls: { | |
| align: "center", | |
| direction: "row", | |
| gap: "xxsmall", | |
| margin: "none", | |
| pad: "none" | |
| }, | |
| icons: { | |
| // color: undefined, | |
| next: iy.Next, | |
| previous: ay.Previous | |
| }, | |
| step: { | |
| container: { | |
| gap: "xsmall" | |
| } | |
| } | |
| }, | |
| paragraph: { | |
| font: { | |
| // family: undefined | |
| }, | |
| small: fn({}, h(-1)), | |
| medium: fn({}, h(0)), | |
| large: fn({}, h(1)), | |
| xlarge: fn({}, h(2)), | |
| xxlarge: fn({}, h(4)), | |
| skeleton: { | |
| gap: "xsmall" | |
| } | |
| }, | |
| thumbsRating: { | |
| // dislike: { | |
| // color: undefined, | |
| // }, | |
| // icons: { | |
| // dislike: undefined, | |
| // dislikeSelected: undefined, | |
| // like: undefined, | |
| // likeSelected: undefined, | |
| // } | |
| // like: { | |
| // color: undefined, | |
| // }, | |
| }, | |
| spinner: { | |
| container: { | |
| animation: "rotateRight", | |
| color: "brand", | |
| pad: "small", | |
| round: "full", | |
| size: "small" | |
| }, | |
| // icon: undefined | |
| responsive: !0, | |
| size: { | |
| xsmall: t * 0.75 + "px", | |
| small: t + "px", | |
| // default 24 | |
| medium: t * 2 + "px", | |
| large: t * 3 + "px", | |
| xlarge: t * 4 + "px" | |
| } | |
| }, | |
| radioButton: { | |
| border: { | |
| color: { | |
| dark: "rgba(255, 255, 255, 0.5)", | |
| light: "rgba(0, 0, 0, 0.15)" | |
| }, | |
| width: "2px" | |
| }, | |
| // background: { | |
| // color: undefined, | |
| // }, | |
| check: { | |
| radius: "100%" | |
| // background: { | |
| // color: undefined, | |
| // }, | |
| // color: { dark: undefined, light: undefined }, | |
| // extend: undefined, | |
| }, | |
| // color: undefined, | |
| hover: { | |
| // background: { | |
| // color: undefined, | |
| // }, | |
| border: { | |
| color: { | |
| dark: "white", | |
| light: "black" | |
| } | |
| } | |
| }, | |
| icon: { | |
| // size: undefined, | |
| // extend: undefined, | |
| }, | |
| icons: { | |
| // circle: undefined, | |
| }, | |
| gap: "small", | |
| size: t + "px", | |
| font: { | |
| // weight: undefined, | |
| }, | |
| container: { | |
| // extend: undefined | |
| } | |
| }, | |
| radioButtonGroup: { | |
| // any box props | |
| container: { | |
| gap: "small" | |
| } | |
| }, | |
| rangeInput: { | |
| disabled: { | |
| opacity: 0.3 | |
| // thumb: { | |
| // color: undefined, | |
| // }, | |
| // track: { | |
| // color: undefined, | |
| // }, | |
| }, | |
| // extend: undefined | |
| track: { | |
| height: "4px", | |
| color: "border" | |
| // opacity: undefined, | |
| // lower: { | |
| // color: 'undefined', | |
| // opacity: undefined, | |
| // }, | |
| // upper: { | |
| // color: undefined, | |
| // opacity: undefined, | |
| // }, | |
| // extend: undefined | |
| }, | |
| thumb: { | |
| // color: { dark: undefined, light: undefined }, | |
| // extend: undefined | |
| } | |
| // wheel: undefined | |
| }, | |
| rangeSelector: { | |
| background: { | |
| invert: { | |
| color: "light-4" | |
| } | |
| }, | |
| edge: { | |
| // type: undefined, | |
| // size: undefined, | |
| }, | |
| label: { | |
| margin: { | |
| horizontal: "small" | |
| } | |
| } | |
| }, | |
| select: { | |
| // background: undefined, | |
| clear: { | |
| container: { | |
| pad: "small", | |
| background: "background-contrast" | |
| // hover: { | |
| // // any box props | |
| // }, | |
| }, | |
| // any box props | |
| text: { | |
| color: "text-weak" | |
| } | |
| // any text props | |
| }, | |
| container: { | |
| // extend: undefined, | |
| }, | |
| control: { | |
| // extend: undefined, | |
| // open: undefined, | |
| }, | |
| // emptySearchMessage: { | |
| // container: {}, // any box props | |
| // text: {}, // any text props | |
| // }, | |
| icons: { | |
| // color: { dark: undefined, light: undefined }, | |
| margin: { | |
| horizontal: "small" | |
| }, | |
| down: kh.FormDown | |
| // up: undefined | |
| }, | |
| // listbox: { | |
| // extend: undefined, | |
| // }, | |
| options: { | |
| container: { | |
| align: "start", | |
| pad: "small" | |
| }, | |
| text: { | |
| margin: "none" | |
| } | |
| }, | |
| search: { | |
| pad: "xsmall" | |
| }, | |
| // searchInput: undefined, | |
| step: 20 | |
| }, | |
| selectMultiple: { | |
| help: { | |
| container: { | |
| pad: "xsmall" | |
| } | |
| }, | |
| maxInline: 5, | |
| // listbox: { | |
| // extend: () => undefined, | |
| // }, | |
| option: { | |
| pad: "xsmall" | |
| }, | |
| search: { | |
| pad: "xsmall" | |
| }, | |
| showMore: { | |
| pad: { | |
| horizontal: "small", | |
| bottom: "small", | |
| top: "xsmall" | |
| } | |
| }, | |
| summary: { | |
| gap: "small", | |
| height: { | |
| min: "xxsmall" | |
| }, | |
| pad: "xsmall", | |
| showSelectedInline: { | |
| pad: { | |
| left: "xsmall", | |
| vertical: "xsmall" | |
| } | |
| } | |
| } | |
| }, | |
| sidebar: { | |
| gap: "large", | |
| pad: "small" | |
| }, | |
| skeleton: { | |
| border: !1, | |
| colors: { | |
| dark: ["background", "background-front"], | |
| light: ["background", "background-back"] | |
| } | |
| // extend: undefined, | |
| }, | |
| skipLinks: { | |
| position: "top", | |
| container: { | |
| elevation: "large", | |
| round: "small", | |
| pad: "medium" | |
| }, | |
| label: { | |
| margin: { | |
| bottom: "medium" | |
| }, | |
| size: "medium" | |
| } | |
| }, | |
| starRating: { | |
| // color: undefined, | |
| // icons: { | |
| // selected: undefined, | |
| // unselected: undefined, | |
| // }, | |
| }, | |
| tab: { | |
| active: { | |
| color: "text" | |
| // background: undefined, | |
| }, | |
| // background: undefined, | |
| border: { | |
| side: "bottom", | |
| size: "small", | |
| color: { | |
| dark: "accent-1", | |
| light: "brand" | |
| }, | |
| active: { | |
| color: { | |
| dark: "white", | |
| light: "black" | |
| } | |
| }, | |
| disabled: { | |
| // color: undefined, | |
| }, | |
| hover: { | |
| color: { | |
| dark: "white", | |
| light: "black" | |
| } | |
| // extend: undefined, | |
| } | |
| }, | |
| color: "control", | |
| // disabled: { | |
| // color: undefined, | |
| // }, | |
| // extend: undefined, | |
| gap: "small", | |
| hover: { | |
| // background: undefined, | |
| // extend: undefined, | |
| color: { | |
| dark: "white", | |
| light: "black" | |
| } | |
| }, | |
| margin: { | |
| vertical: "xxsmall", | |
| horizontal: "small" | |
| }, | |
| pad: { | |
| bottom: "xsmall" | |
| } | |
| }, | |
| tabs: { | |
| // background: undefined, | |
| // extend: undefined, | |
| // gap: undefined, | |
| header: { | |
| // alignSelf: undefined, | |
| // background: undefined, | |
| // border: { | |
| // side: undefined, | |
| // size: undefined, | |
| // style: undefined, | |
| // color: undefined, | |
| // }, | |
| // extend: undefined, | |
| nextButton: { | |
| // icon: undefined, | |
| pad: { | |
| horizontal: "small", | |
| vertical: "xsmall" | |
| } | |
| }, | |
| previousButton: { | |
| // icon: undefined, | |
| pad: { | |
| horizontal: "small", | |
| vertical: "xsmall" | |
| } | |
| } | |
| }, | |
| panel: { | |
| // extend: undefined, | |
| }, | |
| step: { | |
| small: 1, | |
| medium: 3, | |
| large: 3 | |
| } | |
| }, | |
| table: { | |
| caption: { | |
| margin: { | |
| bottom: "xxsmall" | |
| } | |
| }, | |
| header: { | |
| align: "start", | |
| pad: { | |
| horizontal: "small", | |
| vertical: "xsmall" | |
| }, | |
| border: "bottom" | |
| // verticalAlign: undefined, | |
| // background: undefined, | |
| // extend: undefined, | |
| }, | |
| body: { | |
| align: "start", | |
| pad: { | |
| horizontal: "small", | |
| vertical: "xsmall" | |
| } | |
| // background: undefined, | |
| // border: undefined, | |
| // extend: undefined, | |
| }, | |
| // row: { | |
| // hover: { | |
| // background: undefined, | |
| // color: undefined, | |
| // }, | |
| // }, | |
| footer: { | |
| align: "start", | |
| pad: { | |
| horizontal: "small", | |
| vertical: "xsmall" | |
| }, | |
| border: "top" | |
| // verticalAlign: undefined, | |
| // background: undefined, | |
| // extend: undefined, | |
| } | |
| }, | |
| tag: { | |
| // background: undefined, | |
| border: !0, | |
| // hover: { | |
| // background: undefined, | |
| // border: undefined, | |
| // }, | |
| round: "large", | |
| // name: undefined, | |
| pad: { | |
| horizontal: "small", | |
| vertical: "xsmall" | |
| }, | |
| remove: { | |
| margin: { | |
| right: "xsmall" | |
| } | |
| // kind: undefined, | |
| }, | |
| separator: " : ", | |
| size: { | |
| xsmall: { | |
| pad: { | |
| horizontal: t / 3 + "px", | |
| vertical: "xxsmall" | |
| }, | |
| icon: { | |
| size: t * 0.75 + "px" | |
| } | |
| // remove: { | |
| // margin: undefined, | |
| // size: undefined, | |
| // }, | |
| }, | |
| small: { | |
| pad: { | |
| horizontal: t * 0.4 + "px", | |
| vertical: "xxsmall" | |
| }, | |
| icon: { | |
| size: t * 0.75 + "px" | |
| } | |
| // remove: { | |
| // margin: undefined, | |
| // size: undefined, | |
| // }, | |
| }, | |
| large: { | |
| pad: { | |
| horizontal: t / 3 * 2 + "px", | |
| vertical: "xsmall" | |
| }, | |
| icon: { | |
| size: t * 1.25 + "px" | |
| } | |
| // remove: { | |
| // margin: undefined, | |
| // size: undefined, | |
| // }, | |
| }, | |
| xlarge: { | |
| pad: { | |
| horizontal: t * 0.75 + "px", | |
| vertical: "xsmall" | |
| }, | |
| icon: { | |
| size: t * 1.5 + "px" | |
| } | |
| // remove: { | |
| // margin: undefined, | |
| // size: undefined, | |
| // }, | |
| } | |
| }, | |
| value: { | |
| weight: 600 | |
| }, | |
| icons: { | |
| remove: oy.FormClose | |
| } | |
| }, | |
| text: { | |
| font: { | |
| // family: undefined | |
| }, | |
| xsmall: fn({}, h(-1.5)), | |
| small: fn({}, h(-1)), | |
| medium: fn({}, h(0)), | |
| // 18px | |
| large: fn({}, h(1)), | |
| // 22px | |
| xlarge: fn({}, h(2)), | |
| xxlarge: fn({}, h(4)), | |
| "2xl": fn({}, h(4)), | |
| "3xl": fn({}, h(6)), | |
| "4xl": fn({}, h(9)), | |
| "5xl": fn({}, h(13)), | |
| "6xl": fn({}, h(18)), | |
| skeleton: { | |
| width: { | |
| width: "100px", | |
| min: "100px" | |
| }, | |
| margin: { | |
| vertical: "xsmall" | |
| }, | |
| colors: { | |
| dark: ["border", "border"], | |
| light: ["background-front", "background-back"] | |
| } | |
| } | |
| }, | |
| textArea: { | |
| // extend: undefined, | |
| // disabled: { opacity: undefined }, | |
| }, | |
| textInput: { | |
| // extend: undefined, | |
| // disabled: { opacity: undefined }, | |
| // icons: { | |
| // copy: undefined, | |
| // }, | |
| }, | |
| tip: { | |
| content: { | |
| // any Box props | |
| background: "background-contrast", | |
| elevation: "small", | |
| margin: "xsmall", | |
| pad: { | |
| vertical: "xsmall", | |
| horizontal: "small" | |
| }, | |
| round: "small" | |
| }, | |
| drop: { | |
| // any props for the drop | |
| align: { | |
| top: "bottom" | |
| }, | |
| // most common use case is Header with Buttons | |
| background: "none", | |
| elevation: "none", | |
| margin: "none" | |
| } | |
| }, | |
| toggleGroup: { | |
| button: { | |
| // border: { | |
| // radius: undefined, | |
| // } | |
| // iconOnly: { | |
| // pad: undefined, | |
| // }, | |
| // kind: undefined, | |
| pad: { | |
| horizontal: "11px", | |
| vertical: "11px" | |
| } | |
| }, | |
| container: { | |
| round: "xsmall", | |
| border: !0 | |
| // extend: undefined, | |
| }, | |
| divider: { | |
| color: "border" | |
| } | |
| }, | |
| toolbar: { | |
| small: { | |
| gap: "small" | |
| }, | |
| gap: "small" | |
| }, | |
| video: { | |
| captions: { | |
| background: "rgba(0, 0, 0, 0.7)" | |
| }, | |
| // controls: { background: undefined }, | |
| icons: { | |
| closedCaption: n5.ClosedCaption, | |
| configure: QI.Actions, | |
| fullScreen: i5.Expand, | |
| pause: g5.Pause, | |
| play: v5.Play, | |
| reduceVolume: L5.VolumeLow, | |
| volume: _5.Volume, | |
| description: ZI.AssistListening | |
| // color: { dark: undefined, light: undefined }, | |
| }, | |
| scrubber: { | |
| color: "light-4", | |
| interval: 10, | |
| // track: { color: undefined } | |
| thickness: "small" | |
| }, | |
| time: { | |
| container: { | |
| pad: { | |
| horizontal: "small" | |
| } | |
| } | |
| } | |
| }, | |
| worldMap: { | |
| color: "light-3", | |
| continent: { | |
| active: "8px", | |
| base: "6px" | |
| }, | |
| hover: { | |
| color: "light-4" | |
| }, | |
| place: { | |
| active: "20px", | |
| base: "8px" | |
| } | |
| } | |
| }); | |
| return hI(g); | |
| }, pC = B5(24), H5 = { | |
| theme: pC | |
| }; | |
| function Yy() { | |
| return Yy = Object.assign ? Object.assign.bind() : function(e) { | |
| for (var t = 1; t < arguments.length; t++) { | |
| var r = arguments[t]; | |
| for (var o in r) ({}).hasOwnProperty.call(r, o) && (e[o] = r[o]); | |
| } | |
| return e; | |
| }, Yy.apply(null, arguments); | |
| } | |
| var On = function() { | |
| var t = V.useContext(ps), r = t || H5.theme; | |
| return { | |
| theme: r, | |
| passThemeFlag: Yy({}, t === void 0 ? { | |
| theme: r | |
| } : {}) | |
| }; | |
| }, gC = /* @__PURE__ */ le.createContext(function() { | |
| }), h1 = function() { | |
| return V.useContext(gC); | |
| }, W5 = function(t) { | |
| var r = t.onAnalytics, o = t.children, u = V.useRef(), h = V.useCallback(function(c) { | |
| return r && r(c); | |
| }, [r]); | |
| return V.useEffect(function() { | |
| var c; | |
| return r && (c = new window.MutationObserver(function() { | |
| var p, g = (p = window) == null || (p = p.location) == null ? void 0 : p.href, m = u.current; | |
| g !== m && (u.current = g, h({ | |
| type: "pageView", | |
| url: g, | |
| previousUrl: m | |
| })); | |
| }), c.observe(document, { | |
| subtree: !0, | |
| childList: !0 | |
| })), function() { | |
| var p; | |
| return (p = c) == null ? void 0 : p.disconnect(); | |
| }; | |
| }, [h, r]), /* @__PURE__ */ le.createElement(gC.Provider, { | |
| value: h | |
| }, o); | |
| }, U5 = {}, $5 = U5, mC = "polite", bw = ["​", "\uFEFF", "‌", "â€"], V5 = function() { | |
| var t = document.createElement("div"); | |
| return t.id = "grommet-announcer", t.setAttribute("aria-live", mC), t.setAttribute("aria-atomic", "true"), t.style.left = "-100%", t.style.right = "100%", t.style.position = "fixed", t.style["z-index"] = "-1", document.body.insertBefore(t, document.body.firstChild), t; | |
| }, xw = 0, sy, op = /* @__PURE__ */ le.createContext(function(e, t, r) { | |
| t === void 0 && (t = mC), r === void 0 && (r = 500); | |
| var o = document.body.querySelector("#grommet-announcer[aria-live]") || V5(); | |
| o.setAttribute("aria-live", t), sy && clearTimeout(sy), t === "polite" ? setTimeout(function() { | |
| var u = bw[xw % bw.length]; | |
| xw += 1, o.textContent = "" + e + u; | |
| }, 0) : o.textContent = e, sy = setTimeout(function() { | |
| o.textContent = ""; | |
| }, r); | |
| }); | |
| op.propTypes = $5; | |
| var p1 = /* @__PURE__ */ le.createContext(typeof document == "object" ? document.body : void 0), vC = /* @__PURE__ */ le.createContext({ | |
| data: [], | |
| addToolbarKey: function() { | |
| } | |
| }), q5 = {}, G5 = q5, g1 = /* @__PURE__ */ le.createContext(void 0); | |
| g1.propTypes = G5; | |
| var c0 = /* @__PURE__ */ le.createContext(!1), m1 = /* @__PURE__ */ le.createContext(void 0), Y5 = function() { | |
| var t = V.useRef([]), r = V.useMemo(function() { | |
| return { | |
| roots: t | |
| }; | |
| }, []), o = V.useContext(m1); | |
| return { | |
| contextValue: o || r, | |
| hasRoots: (o == null ? void 0 : o.roots) !== void 0 | |
| }; | |
| }, K5 = ["as", "colors", "width", "height", "responsive"]; | |
| function Ky() { | |
| return Ky = Object.assign ? Object.assign.bind() : function(e) { | |
| for (var t = 1; t < arguments.length; t++) { | |
| var r = arguments[t]; | |
| for (var o in r) ({}).hasOwnProperty.call(r, o) && (e[o] = r[o]); | |
| } | |
| return e; | |
| }, Ky.apply(null, arguments); | |
| } | |
| function X5(e, t) { | |
| if (e == null) return {}; | |
| var r = {}; | |
| for (var o in e) if ({}.hasOwnProperty.call(e, o)) { | |
| if (t.indexOf(o) !== -1) continue; | |
| r[o] = e[o]; | |
| } | |
| return r; | |
| } | |
| var Kc = /* @__PURE__ */ V.forwardRef(function(e, t) { | |
| var r, o = e.as, u = e.colors, h = e.width, c = e.height, p = e.responsive, g = X5(e, K5), m = On(), E = m.theme, S = m.passThemeFlag, I = np(), w = (I == null ? void 0 : I.depth) || 0, b = V.useContext(c0), T = b && p ? "container" : p, R = u || (E == null || (r = E.skeleton) == null ? void 0 : r.colors), D = R[E.dark ? "dark" : "light"], $ = D[(w + 1) % D.length]; | |
| return /* @__PURE__ */ le.createElement( | |
| GI, | |
| Ky({ | |
| "aria-hidden": "true", | |
| ref: t, | |
| as: o, | |
| background: $, | |
| widthProp: h, | |
| heightProp: c, | |
| responsive: T | |
| }, S, g) | |
| ); | |
| }); | |
| Kc.displayName = "Skeleton"; | |
| Kc.propTypes = qI; | |
| var v1 = /* @__PURE__ */ le.createContext({}), Q5 = !0, J5 = function(t) { | |
| var r = t.container, o = t.theme, u = t.children, h = V.useState(function() { | |
| var g; | |
| return oC(navigator.userAgent, o) || (o == null || (g = o.global) == null ? void 0 : g.deviceBreakpoints.tablet); | |
| }), c = h[0], p = h[1]; | |
| return V.useEffect(function() { | |
| if (r) { | |
| var g; | |
| typeof window < "u" && window.ResizeObserver && (g = new window.ResizeObserver(function(E) { | |
| window.requestAnimationFrame(function() { | |
| var S; | |
| if (!(!Array.isArray(E) || !E.length)) { | |
| var I = (S = E[0]) == null || (S = S.borderBoxSize) == null || (S = S[0]) == null ? void 0 : S.inlineSize; | |
| I && p(Wy(I, o)); | |
| } | |
| }); | |
| }), g.observe(r)); | |
| var m = r.getBoundingClientRect().width; | |
| return p(Wy(m, o)), function() { | |
| g && g.disconnect(); | |
| }; | |
| } | |
| }, [r, o]), /* @__PURE__ */ le.createElement(c0.Provider, { | |
| value: Q5 | |
| }, /* @__PURE__ */ le.createElement(g1.Provider, { | |
| value: c | |
| }, u)); | |
| }, Z5 = ["a11yTitle", "background", "border", "children", "cssGap", "direction", "elevation", "fill", "gap", "kind", "onBlur", "onClick", "onFocus", "overflow", "responsive", "tag", "as", "wrap", "width", "height", "tabIndex", "skeleton"], eT = ["colors", "size"]; | |
| function Mc() { | |
| return Mc = Object.assign ? Object.assign.bind() : function(e) { | |
| for (var t = 1; t < arguments.length; t++) { | |
| var r = arguments[t]; | |
| for (var o in r) ({}).hasOwnProperty.call(r, o) && (e[o] = r[o]); | |
| } | |
| return e; | |
| }, Mc.apply(null, arguments); | |
| } | |
| function ww(e, t) { | |
| if (e == null) return {}; | |
| var r = {}; | |
| for (var o in e) if ({}.hasOwnProperty.call(e, o)) { | |
| if (t.indexOf(o) !== -1) continue; | |
| r[o] = e[o]; | |
| } | |
| return r; | |
| } | |
| var $t = /* @__PURE__ */ V.forwardRef(function(e, t) { | |
| var r = e.a11yTitle, o = e.background, u = e.border, h = e.children, c = e.cssGap, p = e.direction, g = p === void 0 ? "column" : p, m = e.elevation, E = e.fill, S = e.gap, I = e.kind, w = e.onBlur, b = e.onClick, T = e.onFocus, R = e.overflow, D = e.responsive, $ = D === void 0 ? !0 : D, Y = e.tag, Z = e.as, ne = e.wrap, te = e.width, ie = e.height, ye = e.tabIndex, J = e.skeleton, de = ww(e, Z5), ke = On(), se = ke.theme, Re = ke.passThemeFlag, Ne = V.useContext(v1), Be = Ne.box, Ue = np(), Xe = V.useState(void 0), G = Xe[0], me = Xe[1], ve = V.useContext(c0), Q = ve && $ ? "container" : $, fe = o, Ge = V.useContext(op), st = Xs(t); | |
| V.useEffect(function() { | |
| $ === "container" && st.current && me(st.current); | |
| }, [st, $]), V.useEffect(function() { | |
| typeof Z == "function" && (t && console.warn("ref and as={function} are incompatible. The ref will not get set."), $ === "container" && console.warn( | |
| // eslint-disable-next-line max-len | |
| 'responsive="container" and as={function} are incompatible. Use one or the other.' | |
| )); | |
| }, [t, Z, $]), V.useEffect(function() { | |
| var Ae; | |
| return J != null && (Ae = J.message) != null && Ae.start ? Ge(J.message.start) : typeof (J == null ? void 0 : J.message) == "string" && Ge(J.message), function() { | |
| var xe; | |
| return (J == null || (xe = J.message) == null ? void 0 : xe.end) && Ge(J.message.end); | |
| }; | |
| }, [Ge, J]); | |
| var lt = V.useMemo(function() { | |
| return b && !(ye < 0); | |
| }, [b, ye]), Ve = V.useState(), ft = Ve[0], Ce = Ve[1], Me = V.useMemo(function() { | |
| if (lt) | |
| return { | |
| onClick: b, | |
| onFocus: function(ze) { | |
| Ce(!0), T && T(ze); | |
| }, | |
| onBlur: function(ze) { | |
| Ce(!1), w && w(ze); | |
| } | |
| }; | |
| var Ae = {}; | |
| return w && (Ae.onBlur = w), b && (Ae.onClick = b), T && (Ae.onFocus = T), Ae; | |
| }, [lt, b, T, w]), Tt = V.useMemo(function() { | |
| if (ye !== void 0) return ye; | |
| if (lt) return 0; | |
| }, [lt, ye]); | |
| (u === "between" || u && u.side === "between" || Array.isArray(u) && u.find(function(Ae) { | |
| return Ae.side === "between"; | |
| })) && !S && console.warn("Box must have a gap to use border between"); | |
| var B = h; | |
| if (S && S !== "none" && (!(Be != null && Be.cssGap || c || typeof S == "object") || // need this approach to show border between | |
| u === "between" || (u == null ? void 0 : u.side) === "between" || Array.isArray(u) && u.find(function(Ae) { | |
| return Ae.side === "between"; | |
| }))) { | |
| var Vt = Array.isArray(u) ? u.find(function(Ae) { | |
| return Ae.side === "between"; | |
| }) : u, qt = !Z && Y ? Y : Z; | |
| B = []; | |
| var br; | |
| V.Children.forEach(h, function(Ae, xe) { | |
| Ae && (br === void 0 ? br = xe : B.push(/* @__PURE__ */ le.createElement( | |
| WI, | |
| Mc({ | |
| key: "gap-" + xe, | |
| as: qt === "span" ? qt : "div", | |
| gap: S, | |
| directionProp: g, | |
| responsive: Q, | |
| border: Vt | |
| }, Re) | |
| ))), B.push(Ae); | |
| }); | |
| } | |
| var Ar = V.useMemo(function() { | |
| if (J || (fe || u) && Ue) { | |
| var Ae = Ue ? Ue.depth + 1 : 0; | |
| return Mc({}, Ue, { | |
| depth: Ae | |
| }, typeof J == "object" ? J : {}); | |
| } | |
| }, [fe, u, Ue, J]), Gt = {}; | |
| if (Ar) { | |
| var hr = se.skeleton, gt = hr.colors; | |
| hr.size; | |
| var Yt = ww(hr, eT), Pe = Ar.colors ? Ar.colors[se.dark ? "dark" : "light"] : gt == null ? void 0 : gt[se.dark ? "dark" : "light"]; | |
| Gt = Mc({}, Yt), fe = Pe[Ar.depth % Pe.length], J != null && J.animation && (Gt.animation = J.animation), B = /* @__PURE__ */ le.createElement(cC.Provider, { | |
| value: Ar | |
| }, B); | |
| } | |
| var At = V.useMemo(function() { | |
| var Ae; | |
| if (fe || se.darkChanged) { | |
| var xe = o0(fe, se), ze = xe !== void 0 && xe !== se.dark; | |
| ze || se.darkChanged ? (Ae = Mc({}, se), Ae.dark = xe === void 0 ? se.dark : xe, Ae.background = fe) : fe && (Ae = Mc({}, se), Ae.background = fe); | |
| } | |
| return Ae || se; | |
| }, [fe, se]), Et = typeof Z == "function" ? void 0 : st, ot = /* @__PURE__ */ le.createElement(BI, Mc({ | |
| as: !Z && Y ? Y : Z, | |
| "aria-label": r, | |
| background: fe, | |
| border: u, | |
| ref: Et, | |
| directionProp: g, | |
| elevationProp: m, | |
| fillProp: E, | |
| focus: ft, | |
| gap: ((Be == null ? void 0 : Be.cssGap) || c || typeof S == "object") && S && S !== "none" && u !== "between" && (u == null ? void 0 : u.side) !== "between" && (!Array.isArray(u) || !u.find(function(Ae) { | |
| return Ae.side === "between"; | |
| })) && S, | |
| kindProp: I, | |
| overflowProp: R, | |
| wrapProp: ne, | |
| widthProp: te, | |
| heightProp: ie, | |
| responsive: Q, | |
| responsiveContainer: $ === "container", | |
| tabIndex: Tt | |
| }, Me, Re, de, Gt), /* @__PURE__ */ le.createElement(ps.Provider, { | |
| value: At | |
| }, B)); | |
| return $ === "container" && (JP() ? ot = /* @__PURE__ */ le.createElement(J5, { | |
| container: G, | |
| theme: se | |
| }, ot) : console.warn('<Box responsive="container"> requires styled-components v6 or later')), b && (ot = /* @__PURE__ */ le.createElement(Ql, { | |
| onEnter: b, | |
| onSpace: function(xe) { | |
| xe.preventDefault(), b(xe); | |
| } | |
| }, ot)), ot; | |
| }); | |
| $t.displayName = "Box"; | |
| $t.propTypes = $I; | |
| var tT = {}, rT = tT; | |
| const nT = { busy: "button is in a busy state", success: "button action succeeded" }, oT = { previousMove: "Moved to {date}", previous: "Go to {date}", nextMove: "Moved to {date}", next: "Go to {date}" }, iT = { previous: "Go to slide {slide}", next: "Go to slide {slide}", jump: "Jump to slide {slide}" }, aT = { openCalendar: "Press space to open calendar", enterCalendar: "Calendar is open, use arrow keys and enter to select a date.", exitCalendar: "Exited calendar dialog" }, sT = { detailTitle: "Data chart", detailFocus: "Use the left and right arrow keys to navigate the chart data." }, lT = { clear: "Clear filters", heading: "Filters", open: "Open filters", openSet: { singular: "Open filters, {number} filter applied", plural: "Open filters, {number} filters applied" } }, uT = { submit: "Apply filters" }, cT = { label: "Search", open: "Open search" }, dT = { ascending: "Ascending", by: "Sort by", descending: "Descending", direction: "Sort direction", open: "Open sort" }, fT = { filtered: "{filteredTotal} results of {total} {items}", filteredSingle: "{filteredTotal} result of {total} {items}", items: "items", itemsSingle: "item", selected: "{selected} selected", total: "{total} {items}", totalSingle: "{total} {items}" }, hT = { ascending: "ascending", collapse: "collapse {label}", collapseAll: "collapse all", decrease: "Decrease {headerText} column width", descending: "descending", increase: "Increase {headerText} column width", expand: "expand {label}", expandAll: "expand all", resizerAria: "Resize {headerText} column", rows: "rows", rowsChanged: "Number of rows changed", rowsSingle: "row", searchBy: "Open search by {property}", total: "{total} {rows}", totalSingle: "{total} {rows}" }, pT = { open: "Open column selector", order: "Order columns", pinned: "Column locked, order cannot be changed.", select: "Select columns", tip: "Manage columns", selectAria: "Select which columns to show in the data table", orderAria: "Reorder the visible columns in the data table" }, gT = { clear: "Clear group", label: "Group by" }, mT = { label: "View" }, vT = { alert: { maxFile: "Error, {fileName} exceeds {maxFile} files limit.", maxSize: "Error, {fileName} exceeds {maxSize} limit." }, browse: "browse", dropPrompt: "Drop file here or", dropPromptMultiple: "Drop files here or", files: "files", maxFile: "Attach a maximum of {max} files only.", maxSizeSingle: "The file is too large. Select a file no larger than {maxSize}.", maxSizeMultiple: { singular: "{fileName} file is too large. Select files which are no larger than {maxSize}.", plural: "{numOfFiles} files are too large. Select files which are no larger than {maxSize}." }, remove: "remove {fileName}", removeAll: "remove all" }, yT = { invalid: "invalid", required: "required" }, bT = { maxCharacters: { remaining: { singular: "{number} character left", plural: "{number} characters left" }, overLimit: { singular: "{number} character over limit", plural: "{number} characters over limit" } } }, xT = { readOnlyCopy: { prompt: "Copy to clipboard", validation: "Copied" } }, wT = { pinned: "Item pinned, order cannot be changed." }, ST = { openMenu: "Open Menu", closeMenu: "Close Menu" }, kT = { bar: { singular: "Bar meter with value {meterValue} out of {max}", plural: "Bar meter with values {meterValue} out of {max}" }, circle: { singular: "Circle meter with value {meterValue} out of {max}", plural: "Circle meter with values {meterValue} out of {max}" }, pie: { singular: "Pie meter with value {meterValue} out of {max}", plural: "Pie meter with values {meterValue} out of {max}" }, semicircle: { singular: "Semicircle meter with value {meterValue} out of {max}", plural: "Semicircle meter with values {meterValue} out of {max}" } }, CT = { close: "Dismiss notification" }, ET = { stepLabel: "Items per page", summary: "Showing {start}-{end} of {total}", summaryNoItems: "0 items" }, OT = { lower: "Lower Bounds", upper: "Upper Bounds" }, PT = { multiple: "multiple", selected: "; Selected: {currentSelectedValue}" }, IT = { clearAll: "Clear All", clearAllA11y: "{selected} options selected. Clear all?", open: "Open drop", optionNotSelected: "{optionLabel} not selected", optionSelected: "{optionLabel} selected", search: "Search to filter options", selectAll: "Select All", selectAllA11y: "Select all {total} options", selectDrop: "Select dropdown", selected: "{selected} selected", selectedOfTotal: "{selected} selected of {total}", selectedOptions: "Selected options", showMore: "+ {remaining} more", summarizedValue: "{selected} selected" }, TT = { skipTo: "Skip To:" }, RT = { tabContents: "Tab Contents" }, _T = { removeLabel: { nameAndValue: "Remove {name}: {value}", valueOnly: "Remove {value}" } }, AT = { enterSelect: "(Press Enter to Select)", suggestionsCount: "suggestions available", suggestionsExist: "This input has suggestions use arrow keys to navigate", suggestionIsOpen: "Suggestions drop is open, continue to use arrow keys to navigate" }, LT = { audioDescriptions: "video audio description", captions: "closed captions", closeMenu: "close menu", description: "video audio description", fullScreen: "full screen", progressMeter: "video progress", scrubber: "scrubber", openMenu: "open menu", pauseButton: "pause", playButton: "play", volumeDown: "volume down", volumeUp: "volume up" }, Xy = { | |
| button: nT, | |
| calendar: oT, | |
| carousel: iT, | |
| dateInput: aT, | |
| dataChart: sT, | |
| dataFilters: lT, | |
| dataForm: uT, | |
| dataSearch: cT, | |
| dataSort: dT, | |
| dataSummary: fT, | |
| dataTable: hT, | |
| dataTableColumns: pT, | |
| dataTableGroupBy: gT, | |
| dataView: mT, | |
| fileInput: vT, | |
| form: yT, | |
| formField: bT, | |
| input: xT, | |
| list: wT, | |
| menu: ST, | |
| meter: kT, | |
| notification: CT, | |
| pagination: ET, | |
| rangeSelector: OT, | |
| select: PT, | |
| selectMultiple: IT, | |
| skipLinks: TT, | |
| tabs: RT, | |
| tag: _T, | |
| textInput: AT, | |
| video: LT | |
| }; | |
| var yC = function(t, r) { | |
| var o, u = ((o = t.id) == null ? void 0 : o.split(".")) || [], h = u[(u == null ? void 0 : u.length) - 1], c = r; | |
| u.forEach(function(S) { | |
| typeof c == "object" && (c = c[S]); | |
| }); | |
| var p = (t.messages ? t.messages[h] : void 0) || c || t.defaultMessage, g = t.values, m = p, E = p == null ? void 0 : p.match(/\{(.+?)\}/g); | |
| return E == null || E.forEach(function(S) { | |
| var I = S.substr(1, S.length - 2), w = g[I]; | |
| m = m.replace(S, w); | |
| }), g ? m : p; | |
| }, MT = { | |
| messages: Xy, | |
| format: function(t) { | |
| return yC(t, Xy); | |
| } | |
| }, kf = /* @__PURE__ */ le.createContext(MT), ly = { exports: {} }, us = {}, uy = { exports: {} }, cy = {}; | |
| /** | |
| * @license React | |
| * scheduler.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 Sw; | |
| function zT() { | |
| return Sw || (Sw = 1, function(e) { | |
| function t(G, me) { | |
| var ve = G.length; | |
| G.push(me); | |
| e: for (; 0 < ve; ) { | |
| var Q = ve - 1 >>> 1, fe = G[Q]; | |
| if (0 < u(fe, me)) G[Q] = me, G[ve] = fe, ve = Q; | |
| else break e; | |
| } | |
| } | |
| function r(G) { | |
| return G.length === 0 ? null : G[0]; | |
| } | |
| function o(G) { | |
| if (G.length === 0) return null; | |
| var me = G[0], ve = G.pop(); | |
| if (ve !== me) { | |
| G[0] = ve; | |
| e: for (var Q = 0, fe = G.length, Ge = fe >>> 1; Q < Ge; ) { | |
| var st = 2 * (Q + 1) - 1, lt = G[st], Ve = st + 1, ft = G[Ve]; | |
| if (0 > u(lt, ve)) Ve < fe && 0 > u(ft, lt) ? (G[Q] = ft, G[Ve] = ve, Q = Ve) : (G[Q] = lt, G[st] = ve, Q = st); | |
| else if (Ve < fe && 0 > u(ft, ve)) G[Q] = ft, G[Ve] = ve, Q = Ve; | |
| else break e; | |
| } | |
| } | |
| return me; | |
| } | |
| function u(G, me) { | |
| var ve = G.sortIndex - me.sortIndex; | |
| return ve !== 0 ? ve : G.id - me.id; | |
| } | |
| if (typeof performance == "object" && typeof performance.now == "function") { | |
| var h = performance; | |
| e.unstable_now = function() { | |
| return h.now(); | |
| }; | |
| } else { | |
| var c = Date, p = c.now(); | |
| e.unstable_now = function() { | |
| return c.now() - p; | |
| }; | |
| } | |
| var g = [], m = [], E = 1, S = null, I = 3, w = !1, b = !1, T = !1, R = typeof setTimeout == "function" ? setTimeout : null, D = typeof clearTimeout == "function" ? clearTimeout : null, $ = typeof setImmediate < "u" ? setImmediate : null; | |
| typeof navigator < "u" && navigator.scheduling !== void 0 && navigator.scheduling.isInputPending !== void 0 && navigator.scheduling.isInputPending.bind(navigator.scheduling); | |
| function Y(G) { | |
| for (var me = r(m); me !== null; ) { | |
| if (me.callback === null) o(m); | |
| else if (me.startTime <= G) o(m), me.sortIndex = me.expirationTime, t(g, me); | |
| else break; | |
| me = r(m); | |
| } | |
| } | |
| function Z(G) { | |
| if (T = !1, Y(G), !b) if (r(g) !== null) b = !0, Ue(ne); | |
| else { | |
| var me = r(m); | |
| me !== null && Xe(Z, me.startTime - G); | |
| } | |
| } | |
| function ne(G, me) { | |
| b = !1, T && (T = !1, D(ye), ye = -1), w = !0; | |
| var ve = I; | |
| try { | |
| for (Y(me), S = r(g); S !== null && (!(S.expirationTime > me) || G && !ke()); ) { | |
| var Q = S.callback; | |
| if (typeof Q == "function") { | |
| S.callback = null, I = S.priorityLevel; | |
| var fe = Q(S.expirationTime <= me); | |
| me = e.unstable_now(), typeof fe == "function" ? S.callback = fe : S === r(g) && o(g), Y(me); | |
| } else o(g); | |
| S = r(g); | |
| } | |
| if (S !== null) var Ge = !0; | |
| else { | |
| var st = r(m); | |
| st !== null && Xe(Z, st.startTime - me), Ge = !1; | |
| } | |
| return Ge; | |
| } finally { | |
| S = null, I = ve, w = !1; | |
| } | |
| } | |
| var te = !1, ie = null, ye = -1, J = 5, de = -1; | |
| function ke() { | |
| return !(e.unstable_now() - de < J); | |
| } | |
| function se() { | |
| if (ie !== null) { | |
| var G = e.unstable_now(); | |
| de = G; | |
| var me = !0; | |
| try { | |
| me = ie(!0, G); | |
| } finally { | |
| me ? Re() : (te = !1, ie = null); | |
| } | |
| } else te = !1; | |
| } | |
| var Re; | |
| if (typeof $ == "function") Re = function() { | |
| $(se); | |
| }; | |
| else if (typeof MessageChannel < "u") { | |
| var Ne = new MessageChannel(), Be = Ne.port2; | |
| Ne.port1.onmessage = se, Re = function() { | |
| Be.postMessage(null); | |
| }; | |
| } else Re = function() { | |
| R(se, 0); | |
| }; | |
| function Ue(G) { | |
| ie = G, te || (te = !0, Re()); | |
| } | |
| function Xe(G, me) { | |
| ye = R(function() { | |
| G(e.unstable_now()); | |
| }, me); | |
| } | |
| 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(G) { | |
| G.callback = null; | |
| }, e.unstable_continueExecution = function() { | |
| b || w || (b = !0, Ue(ne)); | |
| }, e.unstable_forceFrameRate = function(G) { | |
| 0 > G || 125 < G ? console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported") : J = 0 < G ? Math.floor(1e3 / G) : 5; | |
| }, e.unstable_getCurrentPriorityLevel = function() { | |
| return I; | |
| }, e.unstable_getFirstCallbackNode = function() { | |
| return r(g); | |
| }, e.unstable_next = function(G) { | |
| switch (I) { | |
| case 1: | |
| case 2: | |
| case 3: | |
| var me = 3; | |
| break; | |
| default: | |
| me = I; | |
| } | |
| var ve = I; | |
| I = me; | |
| try { | |
| return G(); | |
| } finally { | |
| I = ve; | |
| } | |
| }, e.unstable_pauseExecution = function() { | |
| }, e.unstable_requestPaint = function() { | |
| }, e.unstable_runWithPriority = function(G, me) { | |
| switch (G) { | |
| case 1: | |
| case 2: | |
| case 3: | |
| case 4: | |
| case 5: | |
| break; | |
| default: | |
| G = 3; | |
| } | |
| var ve = I; | |
| I = G; | |
| try { | |
| return me(); | |
| } finally { | |
| I = ve; | |
| } | |
| }, e.unstable_scheduleCallback = function(G, me, ve) { | |
| var Q = e.unstable_now(); | |
| switch (typeof ve == "object" && ve !== null ? (ve = ve.delay, ve = typeof ve == "number" && 0 < ve ? Q + ve : Q) : ve = Q, G) { | |
| case 1: | |
| var fe = -1; | |
| break; | |
| case 2: | |
| fe = 250; | |
| break; | |
| case 5: | |
| fe = 1073741823; | |
| break; | |
| case 4: | |
| fe = 1e4; | |
| break; | |
| default: | |
| fe = 5e3; | |
| } | |
| return fe = ve + fe, G = { id: E++, callback: me, priorityLevel: G, startTime: ve, expirationTime: fe, sortIndex: -1 }, ve > Q ? (G.sortIndex = ve, t(m, G), r(g) === null && G === r(m) && (T ? (D(ye), ye = -1) : T = !0, Xe(Z, ve - Q))) : (G.sortIndex = fe, t(g, G), b || w || (b = !0, Ue(ne))), G; | |
| }, e.unstable_shouldYield = ke, e.unstable_wrapCallback = function(G) { | |
| var me = I; | |
| return function() { | |
| var ve = I; | |
| I = me; | |
| try { | |
| return G.apply(this, arguments); | |
| } finally { | |
| I = ve; | |
| } | |
| }; | |
| }; | |
| }(cy)), cy; | |
| } | |
| var kw; | |
| function FT() { | |
| return kw || (kw = 1, uy.exports = zT()), uy.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 Cw; | |
| function NT() { | |
| if (Cw) return us; | |
| Cw = 1; | |
| var e = oo(), t = FT(); | |
| function r(n) { | |
| for (var s = "https://reactjs.org/docs/error-decoder.html?invariant=" + n, f = 1; f < arguments.length; f++) s += "&args[]=" + encodeURIComponent(arguments[f]); | |
| return "Minified React error #" + n + "; visit " + s + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings."; | |
| } | |
| var o = /* @__PURE__ */ new Set(), u = {}; | |
| function h(n, s) { | |
| c(n, s), c(n + "Capture", s); | |
| } | |
| function c(n, s) { | |
| for (u[n] = s, n = 0; n < s.length; n++) o.add(s[n]); | |
| } | |
| var p = !(typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u"), g = Object.prototype.hasOwnProperty, m = /^[: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]*$/, E = {}, S = {}; | |
| function I(n) { | |
| return g.call(S, n) ? !0 : g.call(E, n) ? !1 : m.test(n) ? S[n] = !0 : (E[n] = !0, !1); | |
| } | |
| function w(n, s, f, v) { | |
| if (f !== null && f.type === 0) return !1; | |
| switch (typeof s) { | |
| case "function": | |
| case "symbol": | |
| return !0; | |
| case "boolean": | |
| return v ? !1 : f !== null ? !f.acceptsBooleans : (n = n.toLowerCase().slice(0, 5), n !== "data-" && n !== "aria-"); | |
| default: | |
| return !1; | |
| } | |
| } | |
| function b(n, s, f, v) { | |
| if (s === null || typeof s > "u" || w(n, s, f, v)) return !0; | |
| if (v) return !1; | |
| if (f !== null) switch (f.type) { | |
| case 3: | |
| return !s; | |
| case 4: | |
| return s === !1; | |
| case 5: | |
| return isNaN(s); | |
| case 6: | |
| return isNaN(s) || 1 > s; | |
| } | |
| return !1; | |
| } | |
| function T(n, s, f, v, P, M, K) { | |
| this.acceptsBooleans = s === 2 || s === 3 || s === 4, this.attributeName = v, this.attributeNamespace = P, this.mustUseProperty = f, this.propertyName = n, this.type = s, this.sanitizeURL = M, this.removeEmptyString = K; | |
| } | |
| var R = {}; | |
| "children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(n) { | |
| R[n] = new T(n, 0, !1, n, null, !1, !1); | |
| }), [["acceptCharset", "accept-charset"], ["className", "class"], ["htmlFor", "for"], ["httpEquiv", "http-equiv"]].forEach(function(n) { | |
| var s = n[0]; | |
| R[s] = new T(s, 1, !1, n[1], null, !1, !1); | |
| }), ["contentEditable", "draggable", "spellCheck", "value"].forEach(function(n) { | |
| R[n] = new T(n, 2, !1, n.toLowerCase(), null, !1, !1); | |
| }), ["autoReverse", "externalResourcesRequired", "focusable", "preserveAlpha"].forEach(function(n) { | |
| R[n] = new T(n, 2, !1, n, 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(n) { | |
| R[n] = new T(n, 3, !1, n.toLowerCase(), null, !1, !1); | |
| }), ["checked", "multiple", "muted", "selected"].forEach(function(n) { | |
| R[n] = new T(n, 3, !0, n, null, !1, !1); | |
| }), ["capture", "download"].forEach(function(n) { | |
| R[n] = new T(n, 4, !1, n, null, !1, !1); | |
| }), ["cols", "rows", "size", "span"].forEach(function(n) { | |
| R[n] = new T(n, 6, !1, n, null, !1, !1); | |
| }), ["rowSpan", "start"].forEach(function(n) { | |
| R[n] = new T(n, 5, !1, n.toLowerCase(), null, !1, !1); | |
| }); | |
| var D = /[\-:]([a-z])/g; | |
| function $(n) { | |
| return n[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(n) { | |
| var s = n.replace( | |
| D, | |
| $ | |
| ); | |
| R[s] = new T(s, 1, !1, n, null, !1, !1); | |
| }), "xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(n) { | |
| var s = n.replace(D, $); | |
| R[s] = new T(s, 1, !1, n, "http://www.w3.org/1999/xlink", !1, !1); | |
| }), ["xml:base", "xml:lang", "xml:space"].forEach(function(n) { | |
| var s = n.replace(D, $); | |
| R[s] = new T(s, 1, !1, n, "http://www.w3.org/XML/1998/namespace", !1, !1); | |
| }), ["tabIndex", "crossOrigin"].forEach(function(n) { | |
| R[n] = new T(n, 1, !1, n.toLowerCase(), null, !1, !1); | |
| }), R.xlinkHref = new T("xlinkHref", 1, !1, "xlink:href", "http://www.w3.org/1999/xlink", !0, !1), ["src", "href", "action", "formAction"].forEach(function(n) { | |
| R[n] = new T(n, 1, !1, n.toLowerCase(), null, !0, !0); | |
| }); | |
| function Y(n, s, f, v) { | |
| var P = R.hasOwnProperty(s) ? R[s] : null; | |
| (P !== null ? P.type !== 0 : v || !(2 < s.length) || s[0] !== "o" && s[0] !== "O" || s[1] !== "n" && s[1] !== "N") && (b(s, f, P, v) && (f = null), v || P === null ? I(s) && (f === null ? n.removeAttribute(s) : n.setAttribute(s, "" + f)) : P.mustUseProperty ? n[P.propertyName] = f === null ? P.type === 3 ? !1 : "" : f : (s = P.attributeName, v = P.attributeNamespace, f === null ? n.removeAttribute(s) : (P = P.type, f = P === 3 || P === 4 && f === !0 ? "" : "" + f, v ? n.setAttributeNS(v, s, f) : n.setAttribute(s, f)))); | |
| } | |
| var Z = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, ne = Symbol.for("react.element"), te = Symbol.for("react.portal"), ie = Symbol.for("react.fragment"), ye = Symbol.for("react.strict_mode"), J = Symbol.for("react.profiler"), de = Symbol.for("react.provider"), ke = Symbol.for("react.context"), se = Symbol.for("react.forward_ref"), Re = Symbol.for("react.suspense"), Ne = Symbol.for("react.suspense_list"), Be = Symbol.for("react.memo"), Ue = Symbol.for("react.lazy"), Xe = Symbol.for("react.offscreen"), G = Symbol.iterator; | |
| function me(n) { | |
| return n === null || typeof n != "object" ? null : (n = G && n[G] || n["@@iterator"], typeof n == "function" ? n : null); | |
| } | |
| var ve = Object.assign, Q; | |
| function fe(n) { | |
| if (Q === void 0) try { | |
| throw Error(); | |
| } catch (f) { | |
| var s = f.stack.trim().match(/\n( *(at )?)/); | |
| Q = s && s[1] || ""; | |
| } | |
| return ` | |
| ` + Q + n; | |
| } | |
| var Ge = !1; | |
| function st(n, s) { | |
| if (!n || Ge) return ""; | |
| Ge = !0; | |
| var f = Error.prepareStackTrace; | |
| Error.prepareStackTrace = void 0; | |
| try { | |
| if (s) if (s = function() { | |
| throw Error(); | |
| }, Object.defineProperty(s.prototype, "props", { set: function() { | |
| throw Error(); | |
| } }), typeof Reflect == "object" && Reflect.construct) { | |
| try { | |
| Reflect.construct(s, []); | |
| } catch (ct) { | |
| var v = ct; | |
| } | |
| Reflect.construct(n, [], s); | |
| } else { | |
| try { | |
| s.call(); | |
| } catch (ct) { | |
| v = ct; | |
| } | |
| n.call(s.prototype); | |
| } | |
| else { | |
| try { | |
| throw Error(); | |
| } catch (ct) { | |
| v = ct; | |
| } | |
| n(); | |
| } | |
| } catch (ct) { | |
| if (ct && v && typeof ct.stack == "string") { | |
| for (var P = ct.stack.split(` | |
| `), M = v.stack.split(` | |
| `), K = P.length - 1, we = M.length - 1; 1 <= K && 0 <= we && P[K] !== M[we]; ) we--; | |
| for (; 1 <= K && 0 <= we; K--, we--) if (P[K] !== M[we]) { | |
| if (K !== 1 || we !== 1) | |
| do | |
| if (K--, we--, 0 > we || P[K] !== M[we]) { | |
| var Te = ` | |
| ` + P[K].replace(" at new ", " at "); | |
| return n.displayName && Te.includes("<anonymous>") && (Te = Te.replace("<anonymous>", n.displayName)), Te; | |
| } | |
| while (1 <= K && 0 <= we); | |
| break; | |
| } | |
| } | |
| } finally { | |
| Ge = !1, Error.prepareStackTrace = f; | |
| } | |
| return (n = n ? n.displayName || n.name : "") ? fe(n) : ""; | |
| } | |
| function lt(n) { | |
| switch (n.tag) { | |
| case 5: | |
| return fe(n.type); | |
| case 16: | |
| return fe("Lazy"); | |
| case 13: | |
| return fe("Suspense"); | |
| case 19: | |
| return fe("SuspenseList"); | |
| case 0: | |
| case 2: | |
| case 15: | |
| return n = st(n.type, !1), n; | |
| case 11: | |
| return n = st(n.type.render, !1), n; | |
| case 1: | |
| return n = st(n.type, !0), n; | |
| default: | |
| return ""; | |
| } | |
| } | |
| function Ve(n) { | |
| if (n == null) return null; | |
| if (typeof n == "function") return n.displayName || n.name || null; | |
| if (typeof n == "string") return n; | |
| switch (n) { | |
| case ie: | |
| return "Fragment"; | |
| case te: | |
| return "Portal"; | |
| case J: | |
| return "Profiler"; | |
| case ye: | |
| return "StrictMode"; | |
| case Re: | |
| return "Suspense"; | |
| case Ne: | |
| return "SuspenseList"; | |
| } | |
| if (typeof n == "object") switch (n.$$typeof) { | |
| case ke: | |
| return (n.displayName || "Context") + ".Consumer"; | |
| case de: | |
| return (n._context.displayName || "Context") + ".Provider"; | |
| case se: | |
| var s = n.render; | |
| return n = n.displayName, n || (n = s.displayName || s.name || "", n = n !== "" ? "ForwardRef(" + n + ")" : "ForwardRef"), n; | |
| case Be: | |
| return s = n.displayName || null, s !== null ? s : Ve(n.type) || "Memo"; | |
| case Ue: | |
| s = n._payload, n = n._init; | |
| try { | |
| return Ve(n(s)); | |
| } catch { | |
| } | |
| } | |
| return null; | |
| } | |
| function ft(n) { | |
| var s = n.type; | |
| switch (n.tag) { | |
| case 24: | |
| return "Cache"; | |
| case 9: | |
| return (s.displayName || "Context") + ".Consumer"; | |
| case 10: | |
| return (s._context.displayName || "Context") + ".Provider"; | |
| case 18: | |
| return "DehydratedFragment"; | |
| case 11: | |
| return n = s.render, n = n.displayName || n.name || "", s.displayName || (n !== "" ? "ForwardRef(" + n + ")" : "ForwardRef"); | |
| case 7: | |
| return "Fragment"; | |
| case 5: | |
| return s; | |
| case 4: | |
| return "Portal"; | |
| case 3: | |
| return "Root"; | |
| case 6: | |
| return "Text"; | |
| case 16: | |
| return Ve(s); | |
| case 8: | |
| return s === ye ? "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 s == "function") return s.displayName || s.name || null; | |
| if (typeof s == "string") return s; | |
| } | |
| return null; | |
| } | |
| function Ce(n) { | |
| switch (typeof n) { | |
| case "boolean": | |
| case "number": | |
| case "string": | |
| case "undefined": | |
| return n; | |
| case "object": | |
| return n; | |
| default: | |
| return ""; | |
| } | |
| } | |
| function Me(n) { | |
| var s = n.type; | |
| return (n = n.nodeName) && n.toLowerCase() === "input" && (s === "checkbox" || s === "radio"); | |
| } | |
| function Tt(n) { | |
| var s = Me(n) ? "checked" : "value", f = Object.getOwnPropertyDescriptor(n.constructor.prototype, s), v = "" + n[s]; | |
| if (!n.hasOwnProperty(s) && typeof f < "u" && typeof f.get == "function" && typeof f.set == "function") { | |
| var P = f.get, M = f.set; | |
| return Object.defineProperty(n, s, { configurable: !0, get: function() { | |
| return P.call(this); | |
| }, set: function(K) { | |
| v = "" + K, M.call(this, K); | |
| } }), Object.defineProperty(n, s, { enumerable: f.enumerable }), { getValue: function() { | |
| return v; | |
| }, setValue: function(K) { | |
| v = "" + K; | |
| }, stopTracking: function() { | |
| n._valueTracker = null, delete n[s]; | |
| } }; | |
| } | |
| } | |
| function B(n) { | |
| n._valueTracker || (n._valueTracker = Tt(n)); | |
| } | |
| function Vt(n) { | |
| if (!n) return !1; | |
| var s = n._valueTracker; | |
| if (!s) return !0; | |
| var f = s.getValue(), v = ""; | |
| return n && (v = Me(n) ? n.checked ? "true" : "false" : n.value), n = v, n !== f ? (s.setValue(n), !0) : !1; | |
| } | |
| function qt(n) { | |
| if (n = n || (typeof document < "u" ? document : void 0), typeof n > "u") return null; | |
| try { | |
| return n.activeElement || n.body; | |
| } catch { | |
| return n.body; | |
| } | |
| } | |
| function br(n, s) { | |
| var f = s.checked; | |
| return ve({}, s, { defaultChecked: void 0, defaultValue: void 0, value: void 0, checked: f ?? n._wrapperState.initialChecked }); | |
| } | |
| function Ar(n, s) { | |
| var f = s.defaultValue == null ? "" : s.defaultValue, v = s.checked != null ? s.checked : s.defaultChecked; | |
| f = Ce(s.value != null ? s.value : f), n._wrapperState = { initialChecked: v, initialValue: f, controlled: s.type === "checkbox" || s.type === "radio" ? s.checked != null : s.value != null }; | |
| } | |
| function Gt(n, s) { | |
| s = s.checked, s != null && Y(n, "checked", s, !1); | |
| } | |
| function hr(n, s) { | |
| Gt(n, s); | |
| var f = Ce(s.value), v = s.type; | |
| if (f != null) v === "number" ? (f === 0 && n.value === "" || n.value != f) && (n.value = "" + f) : n.value !== "" + f && (n.value = "" + f); | |
| else if (v === "submit" || v === "reset") { | |
| n.removeAttribute("value"); | |
| return; | |
| } | |
| s.hasOwnProperty("value") ? Yt(n, s.type, f) : s.hasOwnProperty("defaultValue") && Yt(n, s.type, Ce(s.defaultValue)), s.checked == null && s.defaultChecked != null && (n.defaultChecked = !!s.defaultChecked); | |
| } | |
| function gt(n, s, f) { | |
| if (s.hasOwnProperty("value") || s.hasOwnProperty("defaultValue")) { | |
| var v = s.type; | |
| if (!(v !== "submit" && v !== "reset" || s.value !== void 0 && s.value !== null)) return; | |
| s = "" + n._wrapperState.initialValue, f || s === n.value || (n.value = s), n.defaultValue = s; | |
| } | |
| f = n.name, f !== "" && (n.name = ""), n.defaultChecked = !!n._wrapperState.initialChecked, f !== "" && (n.name = f); | |
| } | |
| function Yt(n, s, f) { | |
| (s !== "number" || qt(n.ownerDocument) !== n) && (f == null ? n.defaultValue = "" + n._wrapperState.initialValue : n.defaultValue !== "" + f && (n.defaultValue = "" + f)); | |
| } | |
| var Pe = Array.isArray; | |
| function At(n, s, f, v) { | |
| if (n = n.options, s) { | |
| s = {}; | |
| for (var P = 0; P < f.length; P++) s["$" + f[P]] = !0; | |
| for (f = 0; f < n.length; f++) P = s.hasOwnProperty("$" + n[f].value), n[f].selected !== P && (n[f].selected = P), P && v && (n[f].defaultSelected = !0); | |
| } else { | |
| for (f = "" + Ce(f), s = null, P = 0; P < n.length; P++) { | |
| if (n[P].value === f) { | |
| n[P].selected = !0, v && (n[P].defaultSelected = !0); | |
| return; | |
| } | |
| s !== null || n[P].disabled || (s = n[P]); | |
| } | |
| s !== null && (s.selected = !0); | |
| } | |
| } | |
| function Et(n, s) { | |
| if (s.dangerouslySetInnerHTML != null) throw Error(r(91)); | |
| return ve({}, s, { value: void 0, defaultValue: void 0, children: "" + n._wrapperState.initialValue }); | |
| } | |
| function ot(n, s) { | |
| var f = s.value; | |
| if (f == null) { | |
| if (f = s.children, s = s.defaultValue, f != null) { | |
| if (s != null) throw Error(r(92)); | |
| if (Pe(f)) { | |
| if (1 < f.length) throw Error(r(93)); | |
| f = f[0]; | |
| } | |
| s = f; | |
| } | |
| s == null && (s = ""), f = s; | |
| } | |
| n._wrapperState = { initialValue: Ce(f) }; | |
| } | |
| function Ae(n, s) { | |
| var f = Ce(s.value), v = Ce(s.defaultValue); | |
| f != null && (f = "" + f, f !== n.value && (n.value = f), s.defaultValue == null && n.defaultValue !== f && (n.defaultValue = f)), v != null && (n.defaultValue = "" + v); | |
| } | |
| function xe(n) { | |
| var s = n.textContent; | |
| s === n._wrapperState.initialValue && s !== "" && s !== null && (n.value = s); | |
| } | |
| function ze(n) { | |
| switch (n) { | |
| case "svg": | |
| return "http://www.w3.org/2000/svg"; | |
| case "math": | |
| return "http://www.w3.org/1998/Math/MathML"; | |
| default: | |
| return "http://www.w3.org/1999/xhtml"; | |
| } | |
| } | |
| function Ot(n, s) { | |
| return n == null || n === "http://www.w3.org/1999/xhtml" ? ze(s) : n === "http://www.w3.org/2000/svg" && s === "foreignObject" ? "http://www.w3.org/1999/xhtml" : n; | |
| } | |
| var zt, Lt = function(n) { | |
| return typeof MSApp < "u" && MSApp.execUnsafeLocalFunction ? function(s, f, v, P) { | |
| MSApp.execUnsafeLocalFunction(function() { | |
| return n(s, f, v, P); | |
| }); | |
| } : n; | |
| }(function(n, s) { | |
| if (n.namespaceURI !== "http://www.w3.org/2000/svg" || "innerHTML" in n) n.innerHTML = s; | |
| else { | |
| for (zt = zt || document.createElement("div"), zt.innerHTML = "<svg>" + s.valueOf().toString() + "</svg>", s = zt.firstChild; n.firstChild; ) n.removeChild(n.firstChild); | |
| for (; s.firstChild; ) n.appendChild(s.firstChild); | |
| } | |
| }); | |
| function mr(n, s) { | |
| if (s) { | |
| var f = n.firstChild; | |
| if (f && f === n.lastChild && f.nodeType === 3) { | |
| f.nodeValue = s; | |
| return; | |
| } | |
| } | |
| n.textContent = s; | |
| } | |
| var vr = { | |
| 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 | |
| }, wr = ["Webkit", "ms", "Moz", "O"]; | |
| Object.keys(vr).forEach(function(n) { | |
| wr.forEach(function(s) { | |
| s = s + n.charAt(0).toUpperCase() + n.substring(1), vr[s] = vr[n]; | |
| }); | |
| }); | |
| function Or(n, s, f) { | |
| return s == null || typeof s == "boolean" || s === "" ? "" : f || typeof s != "number" || s === 0 || vr.hasOwnProperty(n) && vr[n] ? ("" + s).trim() : s + "px"; | |
| } | |
| function kr(n, s) { | |
| n = n.style; | |
| for (var f in s) if (s.hasOwnProperty(f)) { | |
| var v = f.indexOf("--") === 0, P = Or(f, s[f], v); | |
| f === "float" && (f = "cssFloat"), v ? n.setProperty(f, P) : n[f] = P; | |
| } | |
| } | |
| var Pr = ve({ 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 Nt(n, s) { | |
| if (s) { | |
| if (Pr[n] && (s.children != null || s.dangerouslySetInnerHTML != null)) throw Error(r(137, n)); | |
| if (s.dangerouslySetInnerHTML != null) { | |
| if (s.children != null) throw Error(r(60)); | |
| if (typeof s.dangerouslySetInnerHTML != "object" || !("__html" in s.dangerouslySetInnerHTML)) throw Error(r(61)); | |
| } | |
| if (s.style != null && typeof s.style != "object") throw Error(r(62)); | |
| } | |
| } | |
| function Ct(n, s) { | |
| if (n.indexOf("-") === -1) return typeof s.is == "string"; | |
| switch (n) { | |
| 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 Rt = null; | |
| function Xt(n) { | |
| return n = n.target || n.srcElement || window, n.correspondingUseElement && (n = n.correspondingUseElement), n.nodeType === 3 ? n.parentNode : n; | |
| } | |
| var Lr = null, Vr = null, Qt = null; | |
| function Jr(n) { | |
| if (n = rr(n)) { | |
| if (typeof Lr != "function") throw Error(r(280)); | |
| var s = n.stateNode; | |
| s && (s = pr(s), Lr(n.stateNode, n.type, s)); | |
| } | |
| } | |
| function hn(n) { | |
| Vr ? Qt ? Qt.push(n) : Qt = [n] : Vr = n; | |
| } | |
| function Ur() { | |
| if (Vr) { | |
| var n = Vr, s = Qt; | |
| if (Qt = Vr = null, Jr(n), s) for (n = 0; n < s.length; n++) Jr(s[n]); | |
| } | |
| } | |
| function pn(n, s) { | |
| return n(s); | |
| } | |
| function nn() { | |
| } | |
| var cn = !1; | |
| function zn(n, s, f) { | |
| if (cn) return n(s, f); | |
| cn = !0; | |
| try { | |
| return pn(n, s, f); | |
| } finally { | |
| cn = !1, (Vr !== null || Qt !== null) && (nn(), Ur()); | |
| } | |
| } | |
| function Ir(n, s) { | |
| var f = n.stateNode; | |
| if (f === null) return null; | |
| var v = pr(f); | |
| if (v === null) return null; | |
| f = v[s]; | |
| e: switch (s) { | |
| case "onClick": | |
| case "onClickCapture": | |
| case "onDoubleClick": | |
| case "onDoubleClickCapture": | |
| case "onMouseDown": | |
| case "onMouseDownCapture": | |
| case "onMouseMove": | |
| case "onMouseMoveCapture": | |
| case "onMouseUp": | |
| case "onMouseUpCapture": | |
| case "onMouseEnter": | |
| (v = !v.disabled) || (n = n.type, v = !(n === "button" || n === "input" || n === "select" || n === "textarea")), n = !v; | |
| break e; | |
| default: | |
| n = !1; | |
| } | |
| if (n) return null; | |
| if (f && typeof f != "function") throw Error(r(231, s, typeof f)); | |
| return f; | |
| } | |
| var Sn = !1; | |
| if (p) try { | |
| var Pn = {}; | |
| Object.defineProperty(Pn, "passive", { get: function() { | |
| Sn = !0; | |
| } }), window.addEventListener("test", Pn, Pn), window.removeEventListener("test", Pn, Pn); | |
| } catch { | |
| Sn = !1; | |
| } | |
| function gn(n, s, f, v, P, M, K, we, Te) { | |
| var ct = Array.prototype.slice.call(arguments, 3); | |
| try { | |
| s.apply(f, ct); | |
| } catch (Wt) { | |
| this.onError(Wt); | |
| } | |
| } | |
| var to = !1, In = null, Zr = !1, sn = null, $n = { onError: function(n) { | |
| to = !0, In = n; | |
| } }; | |
| function go(n, s, f, v, P, M, K, we, Te) { | |
| to = !1, In = null, gn.apply($n, arguments); | |
| } | |
| function ii(n, s, f, v, P, M, K, we, Te) { | |
| if (go.apply(this, arguments), to) { | |
| if (to) { | |
| var ct = In; | |
| to = !1, In = null; | |
| } else throw Error(r(198)); | |
| Zr || (Zr = !0, sn = ct); | |
| } | |
| } | |
| function zo(n) { | |
| var s = n, f = n; | |
| if (n.alternate) for (; s.return; ) s = s.return; | |
| else { | |
| n = s; | |
| do | |
| s = n, (s.flags & 4098) !== 0 && (f = s.return), n = s.return; | |
| while (n); | |
| } | |
| return s.tag === 3 ? f : null; | |
| } | |
| function mo(n) { | |
| if (n.tag === 13) { | |
| var s = n.memoizedState; | |
| if (s === null && (n = n.alternate, n !== null && (s = n.memoizedState)), s !== null) return s.dehydrated; | |
| } | |
| return null; | |
| } | |
| function Ai(n) { | |
| if (zo(n) !== n) throw Error(r(188)); | |
| } | |
| function Oo(n) { | |
| var s = n.alternate; | |
| if (!s) { | |
| if (s = zo(n), s === null) throw Error(r(188)); | |
| return s !== n ? null : n; | |
| } | |
| for (var f = n, v = s; ; ) { | |
| var P = f.return; | |
| if (P === null) break; | |
| var M = P.alternate; | |
| if (M === null) { | |
| if (v = P.return, v !== null) { | |
| f = v; | |
| continue; | |
| } | |
| break; | |
| } | |
| if (P.child === M.child) { | |
| for (M = P.child; M; ) { | |
| if (M === f) return Ai(P), n; | |
| if (M === v) return Ai(P), s; | |
| M = M.sibling; | |
| } | |
| throw Error(r(188)); | |
| } | |
| if (f.return !== v.return) f = P, v = M; | |
| else { | |
| for (var K = !1, we = P.child; we; ) { | |
| if (we === f) { | |
| K = !0, f = P, v = M; | |
| break; | |
| } | |
| if (we === v) { | |
| K = !0, v = P, f = M; | |
| break; | |
| } | |
| we = we.sibling; | |
| } | |
| if (!K) { | |
| for (we = M.child; we; ) { | |
| if (we === f) { | |
| K = !0, f = M, v = P; | |
| break; | |
| } | |
| if (we === v) { | |
| K = !0, v = M, f = P; | |
| break; | |
| } | |
| we = we.sibling; | |
| } | |
| if (!K) throw Error(r(189)); | |
| } | |
| } | |
| if (f.alternate !== v) throw Error(r(190)); | |
| } | |
| if (f.tag !== 3) throw Error(r(188)); | |
| return f.stateNode.current === f ? n : s; | |
| } | |
| function mi(n) { | |
| return n = Oo(n), n !== null ? Gi(n) : null; | |
| } | |
| function Gi(n) { | |
| if (n.tag === 5 || n.tag === 6) return n; | |
| for (n = n.child; n !== null; ) { | |
| var s = Gi(n); | |
| if (s !== null) return s; | |
| n = n.sibling; | |
| } | |
| return null; | |
| } | |
| var Li = t.unstable_scheduleCallback, Yi = t.unstable_cancelCallback, io = t.unstable_shouldYield, yn = t.unstable_requestPaint, Fn = t.unstable_now, Po = t.unstable_getCurrentPriorityLevel, xa = t.unstable_ImmediatePriority, ta = t.unstable_UserBlockingPriority, Mi = t.unstable_NormalPriority, gs = t.unstable_LowPriority, zi = t.unstable_IdlePriority, Oi = null, Do = null; | |
| function ra(n) { | |
| if (Do && typeof Do.onCommitFiberRoot == "function") try { | |
| Do.onCommitFiberRoot(Oi, n, void 0, (n.current.flags & 128) === 128); | |
| } catch { | |
| } | |
| } | |
| var Io = Math.clz32 ? Math.clz32 : Ba, Da = Math.log, wa = Math.LN2; | |
| function Ba(n) { | |
| return n >>>= 0, n === 0 ? 32 : 31 - (Da(n) / wa | 0) | 0; | |
| } | |
| var Fi = 64, Sa = 4194304; | |
| function Bo(n) { | |
| switch (n & -n) { | |
| 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 n & 4194240; | |
| case 4194304: | |
| case 8388608: | |
| case 16777216: | |
| case 33554432: | |
| case 67108864: | |
| return n & 130023424; | |
| case 134217728: | |
| return 134217728; | |
| case 268435456: | |
| return 268435456; | |
| case 536870912: | |
| return 536870912; | |
| case 1073741824: | |
| return 1073741824; | |
| default: | |
| return n; | |
| } | |
| } | |
| function vo(n, s) { | |
| var f = n.pendingLanes; | |
| if (f === 0) return 0; | |
| var v = 0, P = n.suspendedLanes, M = n.pingedLanes, K = f & 268435455; | |
| if (K !== 0) { | |
| var we = K & ~P; | |
| we !== 0 ? v = Bo(we) : (M &= K, M !== 0 && (v = Bo(M))); | |
| } else K = f & ~P, K !== 0 ? v = Bo(K) : M !== 0 && (v = Bo(M)); | |
| if (v === 0) return 0; | |
| if (s !== 0 && s !== v && (s & P) === 0 && (P = v & -v, M = s & -s, P >= M || P === 16 && (M & 4194240) !== 0)) return s; | |
| if ((v & 4) !== 0 && (v |= f & 16), s = n.entangledLanes, s !== 0) for (n = n.entanglements, s &= v; 0 < s; ) f = 31 - Io(s), P = 1 << f, v |= n[f], s &= ~P; | |
| return v; | |
| } | |
| function A(n, s) { | |
| switch (n) { | |
| case 1: | |
| case 2: | |
| case 4: | |
| return s + 250; | |
| case 8: | |
| case 16: | |
| case 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 s + 5e3; | |
| case 4194304: | |
| case 8388608: | |
| case 16777216: | |
| case 33554432: | |
| case 67108864: | |
| return -1; | |
| case 134217728: | |
| case 268435456: | |
| case 536870912: | |
| case 1073741824: | |
| return -1; | |
| default: | |
| return -1; | |
| } | |
| } | |
| function W(n, s) { | |
| for (var f = n.suspendedLanes, v = n.pingedLanes, P = n.expirationTimes, M = n.pendingLanes; 0 < M; ) { | |
| var K = 31 - Io(M), we = 1 << K, Te = P[K]; | |
| Te === -1 ? ((we & f) === 0 || (we & v) !== 0) && (P[K] = A(we, s)) : Te <= s && (n.expiredLanes |= we), M &= ~we; | |
| } | |
| } | |
| function re(n) { | |
| return n = n.pendingLanes & -1073741825, n !== 0 ? n : n & 1073741824 ? 1073741824 : 0; | |
| } | |
| function ge() { | |
| var n = Fi; | |
| return Fi <<= 1, (Fi & 4194240) === 0 && (Fi = 64), n; | |
| } | |
| function rt(n) { | |
| for (var s = [], f = 0; 31 > f; f++) s.push(n); | |
| return s; | |
| } | |
| function Je(n, s, f) { | |
| n.pendingLanes |= s, s !== 536870912 && (n.suspendedLanes = 0, n.pingedLanes = 0), n = n.eventTimes, s = 31 - Io(s), n[s] = f; | |
| } | |
| function dt(n, s) { | |
| var f = n.pendingLanes & ~s; | |
| n.pendingLanes = s, n.suspendedLanes = 0, n.pingedLanes = 0, n.expiredLanes &= s, n.mutableReadLanes &= s, n.entangledLanes &= s, s = n.entanglements; | |
| var v = n.eventTimes; | |
| for (n = n.expirationTimes; 0 < f; ) { | |
| var P = 31 - Io(f), M = 1 << P; | |
| s[P] = 0, v[P] = -1, n[P] = -1, f &= ~M; | |
| } | |
| } | |
| function N(n, s) { | |
| var f = n.entangledLanes |= s; | |
| for (n = n.entanglements; f; ) { | |
| var v = 31 - Io(f), P = 1 << v; | |
| P & s | n[v] & s && (n[v] |= s), f &= ~P; | |
| } | |
| } | |
| var q = 0; | |
| function ae(n) { | |
| return n &= -n, 1 < n ? 4 < n ? (n & 268435455) !== 0 ? 16 : 536870912 : 4 : 1; | |
| } | |
| var ue, Fe, Ye, $e, xt, Ht = !1, Pt = [], mt = null, lr = null, er = null, dr = /* @__PURE__ */ new Map(), yr = /* @__PURE__ */ new Map(), ar = [], un = "mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" "); | |
| function Fo(n, s) { | |
| switch (n) { | |
| case "focusin": | |
| case "focusout": | |
| mt = null; | |
| break; | |
| case "dragenter": | |
| case "dragleave": | |
| lr = null; | |
| break; | |
| case "mouseover": | |
| case "mouseout": | |
| er = null; | |
| break; | |
| case "pointerover": | |
| case "pointerout": | |
| dr.delete(s.pointerId); | |
| break; | |
| case "gotpointercapture": | |
| case "lostpointercapture": | |
| yr.delete(s.pointerId); | |
| } | |
| } | |
| function Rn(n, s, f, v, P, M) { | |
| return n === null || n.nativeEvent !== M ? (n = { blockedOn: s, domEventName: f, eventSystemFlags: v, nativeEvent: M, targetContainers: [P] }, s !== null && (s = rr(s), s !== null && Fe(s)), n) : (n.eventSystemFlags |= v, s = n.targetContainers, P !== null && s.indexOf(P) === -1 && s.push(P), n); | |
| } | |
| function Ho(n, s, f, v, P) { | |
| switch (s) { | |
| case "focusin": | |
| return mt = Rn(mt, n, s, f, v, P), !0; | |
| case "dragenter": | |
| return lr = Rn(lr, n, s, f, v, P), !0; | |
| case "mouseover": | |
| return er = Rn(er, n, s, f, v, P), !0; | |
| case "pointerover": | |
| var M = P.pointerId; | |
| return dr.set(M, Rn(dr.get(M) || null, n, s, f, v, P)), !0; | |
| case "gotpointercapture": | |
| return M = P.pointerId, yr.set(M, Rn(yr.get(M) || null, n, s, f, v, P)), !0; | |
| } | |
| return !1; | |
| } | |
| function vi(n) { | |
| var s = jt(n.target); | |
| if (s !== null) { | |
| var f = zo(s); | |
| if (f !== null) { | |
| if (s = f.tag, s === 13) { | |
| if (s = mo(f), s !== null) { | |
| n.blockedOn = s, xt(n.priority, function() { | |
| Ye(f); | |
| }); | |
| return; | |
| } | |
| } else if (s === 3 && f.stateNode.current.memoizedState.isDehydrated) { | |
| n.blockedOn = f.tag === 3 ? f.stateNode.containerInfo : null; | |
| return; | |
| } | |
| } | |
| } | |
| n.blockedOn = null; | |
| } | |
| function ha(n) { | |
| if (n.blockedOn !== null) return !1; | |
| for (var s = n.targetContainers; 0 < s.length; ) { | |
| var f = Bn(n.domEventName, n.eventSystemFlags, s[0], n.nativeEvent); | |
| if (f === null) { | |
| f = n.nativeEvent; | |
| var v = new f.constructor(f.type, f); | |
| Rt = v, f.target.dispatchEvent(v), Rt = null; | |
| } else return s = rr(f), s !== null && Fe(s), n.blockedOn = f, !1; | |
| s.shift(); | |
| } | |
| return !0; | |
| } | |
| function Xo(n, s, f) { | |
| ha(n) && f.delete(s); | |
| } | |
| function kn() { | |
| Ht = !1, mt !== null && ha(mt) && (mt = null), lr !== null && ha(lr) && (lr = null), er !== null && ha(er) && (er = null), dr.forEach(Xo), yr.forEach(Xo); | |
| } | |
| function ai(n, s) { | |
| n.blockedOn === s && (n.blockedOn = null, Ht || (Ht = !0, t.unstable_scheduleCallback(t.unstable_NormalPriority, kn))); | |
| } | |
| function na(n) { | |
| function s(P) { | |
| return ai(P, n); | |
| } | |
| if (0 < Pt.length) { | |
| ai(Pt[0], n); | |
| for (var f = 1; f < Pt.length; f++) { | |
| var v = Pt[f]; | |
| v.blockedOn === n && (v.blockedOn = null); | |
| } | |
| } | |
| for (mt !== null && ai(mt, n), lr !== null && ai(lr, n), er !== null && ai(er, n), dr.forEach(s), yr.forEach(s), f = 0; f < ar.length; f++) v = ar[f], v.blockedOn === n && (v.blockedOn = null); | |
| for (; 0 < ar.length && (f = ar[0], f.blockedOn === null); ) vi(f), f.blockedOn === null && ar.shift(); | |
| } | |
| var Wo = Z.ReactCurrentBatchConfig, Ao = !0; | |
| function oa(n, s, f, v) { | |
| var P = q, M = Wo.transition; | |
| Wo.transition = null; | |
| try { | |
| q = 1, yo(n, s, f, v); | |
| } finally { | |
| q = P, Wo.transition = M; | |
| } | |
| } | |
| function Qo(n, s, f, v) { | |
| var P = q, M = Wo.transition; | |
| Wo.transition = null; | |
| try { | |
| q = 4, yo(n, s, f, v); | |
| } finally { | |
| q = P, Wo.transition = M; | |
| } | |
| } | |
| function yo(n, s, f, v) { | |
| if (Ao) { | |
| var P = Bn(n, s, f, v); | |
| if (P === null) Yu(n, s, v, pa, f), Fo(n, v); | |
| else if (Ho(P, n, s, f, v)) v.stopPropagation(); | |
| else if (Fo(n, v), s & 4 && -1 < un.indexOf(n)) { | |
| for (; P !== null; ) { | |
| var M = rr(P); | |
| if (M !== null && ue(M), M = Bn(n, s, f, v), M === null && Yu(n, s, v, pa, f), M === P) break; | |
| P = M; | |
| } | |
| P !== null && v.stopPropagation(); | |
| } else Yu(n, s, v, null, f); | |
| } | |
| } | |
| var pa = null; | |
| function Bn(n, s, f, v) { | |
| if (pa = null, n = Xt(v), n = jt(n), n !== null) if (s = zo(n), s === null) n = null; | |
| else if (f = s.tag, f === 13) { | |
| if (n = mo(s), n !== null) return n; | |
| n = null; | |
| } else if (f === 3) { | |
| if (s.stateNode.current.memoizedState.isDehydrated) return s.tag === 3 ? s.stateNode.containerInfo : null; | |
| n = null; | |
| } else s !== n && (n = null); | |
| return pa = n, null; | |
| } | |
| function ms(n) { | |
| switch (n) { | |
| case "cancel": | |
| case "click": | |
| case "close": | |
| case "contextmenu": | |
| case "copy": | |
| case "cut": | |
| case "auxclick": | |
| case "dblclick": | |
| case "dragend": | |
| case "dragstart": | |
| case "drop": | |
| case "focusin": | |
| case "focusout": | |
| case "input": | |
| case "invalid": | |
| case "keydown": | |
| case "keypress": | |
| case "keyup": | |
| case "mousedown": | |
| case "mouseup": | |
| case "paste": | |
| case "pause": | |
| case "play": | |
| case "pointercancel": | |
| case "pointerdown": | |
| case "pointerup": | |
| case "ratechange": | |
| case "reset": | |
| case "resize": | |
| case "seeked": | |
| case "submit": | |
| case "touchcancel": | |
| case "touchend": | |
| case "touchstart": | |
| case "volumechange": | |
| case "change": | |
| case "selectionchange": | |
| case "textInput": | |
| case "compositionstart": | |
| case "compositionend": | |
| case "compositionupdate": | |
| case "beforeblur": | |
| case "afterblur": | |
| case "beforeinput": | |
| case "blur": | |
| case "fullscreenchange": | |
| case "focus": | |
| case "hashchange": | |
| case "popstate": | |
| case "select": | |
| case "selectstart": | |
| return 1; | |
| case "drag": | |
| case "dragenter": | |
| case "dragexit": | |
| case "dragleave": | |
| case "dragover": | |
| case "mousemove": | |
| case "mouseout": | |
| case "mouseover": | |
| case "pointermove": | |
| case "pointerout": | |
| case "pointerover": | |
| case "scroll": | |
| case "toggle": | |
| case "touchmove": | |
| case "wheel": | |
| case "mouseenter": | |
| case "mouseleave": | |
| case "pointerenter": | |
| case "pointerleave": | |
| return 4; | |
| case "message": | |
| switch (Po()) { | |
| case xa: | |
| return 1; | |
| case ta: | |
| return 4; | |
| case Mi: | |
| case gs: | |
| return 16; | |
| case zi: | |
| return 536870912; | |
| default: | |
| return 16; | |
| } | |
| default: | |
| return 16; | |
| } | |
| } | |
| var yi = null, si = null, li = null; | |
| function ga() { | |
| if (li) return li; | |
| var n, s = si, f = s.length, v, P = "value" in yi ? yi.value : yi.textContent, M = P.length; | |
| for (n = 0; n < f && s[n] === P[n]; n++) ; | |
| var K = f - n; | |
| for (v = 1; v <= K && s[f - v] === P[M - v]; v++) ; | |
| return li = P.slice(n, 1 < v ? 1 - v : void 0); | |
| } | |
| function ro(n) { | |
| var s = n.keyCode; | |
| return "charCode" in n ? (n = n.charCode, n === 0 && s === 13 && (n = 13)) : n = s, n === 10 && (n = 13), 32 <= n || n === 13 ? n : 0; | |
| } | |
| function ia() { | |
| return !0; | |
| } | |
| function Qa() { | |
| return !1; | |
| } | |
| function Vn(n) { | |
| function s(f, v, P, M, K) { | |
| this._reactName = f, this._targetInst = P, this.type = v, this.nativeEvent = M, this.target = K, this.currentTarget = null; | |
| for (var we in n) n.hasOwnProperty(we) && (f = n[we], this[we] = f ? f(M) : M[we]); | |
| return this.isDefaultPrevented = (M.defaultPrevented != null ? M.defaultPrevented : M.returnValue === !1) ? ia : Qa, this.isPropagationStopped = Qa, this; | |
| } | |
| return ve(s.prototype, { preventDefault: function() { | |
| this.defaultPrevented = !0; | |
| var f = this.nativeEvent; | |
| f && (f.preventDefault ? f.preventDefault() : typeof f.returnValue != "unknown" && (f.returnValue = !1), this.isDefaultPrevented = ia); | |
| }, stopPropagation: function() { | |
| var f = this.nativeEvent; | |
| f && (f.stopPropagation ? f.stopPropagation() : typeof f.cancelBubble != "unknown" && (f.cancelBubble = !0), this.isPropagationStopped = ia); | |
| }, persist: function() { | |
| }, isPersistent: ia }), s; | |
| } | |
| var Ja = { eventPhase: 0, bubbles: 0, cancelable: 0, timeStamp: function(n) { | |
| return n.timeStamp || Date.now(); | |
| }, defaultPrevented: 0, isTrusted: 0 }, To = Vn(Ja), Uo = ve({}, Ja, { view: 0, detail: 0 }), Rs = Vn(Uo), $o, ui, Ni, Za = ve({}, Uo, { screenX: 0, screenY: 0, clientX: 0, clientY: 0, pageX: 0, pageY: 0, ctrlKey: 0, shiftKey: 0, altKey: 0, metaKey: 0, getModifierState: ys, button: 0, buttons: 0, relatedTarget: function(n) { | |
| return n.relatedTarget === void 0 ? n.fromElement === n.srcElement ? n.toElement : n.fromElement : n.relatedTarget; | |
| }, movementX: function(n) { | |
| return "movementX" in n ? n.movementX : (n !== Ni && (Ni && n.type === "mousemove" ? ($o = n.screenX - Ni.screenX, ui = n.screenY - Ni.screenY) : ui = $o = 0, Ni = n), $o); | |
| }, movementY: function(n) { | |
| return "movementY" in n ? n.movementY : ui; | |
| } }), Jl = Vn(Za), ju = ve({}, Za, { dataTransfer: 0 }), Zl = Vn(ju), ci = ve({}, Uo, { relatedTarget: 0 }), Qs = Vn(ci), eu = ve({}, Ja, { animationName: 0, elapsedTime: 0, pseudoElement: 0 }), Du = Vn(eu), tu = ve({}, Ja, { clipboardData: function(n) { | |
| return "clipboardData" in n ? n.clipboardData : window.clipboardData; | |
| } }), vs = Vn(tu), kl = ve({}, Ja, { data: 0 }), _s = Vn(kl), Ha = { | |
| Esc: "Escape", | |
| Spacebar: " ", | |
| Left: "ArrowLeft", | |
| Up: "ArrowUp", | |
| Right: "ArrowRight", | |
| Down: "ArrowDown", | |
| Del: "Delete", | |
| Win: "OS", | |
| Menu: "ContextMenu", | |
| Apps: "ContextMenu", | |
| Scroll: "ScrollLock", | |
| MozPrintableKey: "Unidentified" | |
| }, Js = { | |
| 8: "Backspace", | |
| 9: "Tab", | |
| 12: "Clear", | |
| 13: "Enter", | |
| 16: "Shift", | |
| 17: "Control", | |
| 18: "Alt", | |
| 19: "Pause", | |
| 20: "CapsLock", | |
| 27: "Escape", | |
| 32: " ", | |
| 33: "PageUp", | |
| 34: "PageDown", | |
| 35: "End", | |
| 36: "Home", | |
| 37: "ArrowLeft", | |
| 38: "ArrowUp", | |
| 39: "ArrowRight", | |
| 40: "ArrowDown", | |
| 45: "Insert", | |
| 46: "Delete", | |
| 112: "F1", | |
| 113: "F2", | |
| 114: "F3", | |
| 115: "F4", | |
| 116: "F5", | |
| 117: "F6", | |
| 118: "F7", | |
| 119: "F8", | |
| 120: "F9", | |
| 121: "F10", | |
| 122: "F11", | |
| 123: "F12", | |
| 144: "NumLock", | |
| 145: "ScrollLock", | |
| 224: "Meta" | |
| }, Cl = { Alt: "altKey", Control: "ctrlKey", Meta: "metaKey", Shift: "shiftKey" }; | |
| function Zs(n) { | |
| var s = this.nativeEvent; | |
| return s.getModifierState ? s.getModifierState(n) : (n = Cl[n]) ? !!s[n] : !1; | |
| } | |
| function ys() { | |
| return Zs; | |
| } | |
| var As = ve({}, Uo, { key: function(n) { | |
| if (n.key) { | |
| var s = Ha[n.key] || n.key; | |
| if (s !== "Unidentified") return s; | |
| } | |
| return n.type === "keypress" ? (n = ro(n), n === 13 ? "Enter" : String.fromCharCode(n)) : n.type === "keydown" || n.type === "keyup" ? Js[n.keyCode] || "Unidentified" : ""; | |
| }, code: 0, location: 0, ctrlKey: 0, shiftKey: 0, altKey: 0, metaKey: 0, repeat: 0, locale: 0, getModifierState: ys, charCode: function(n) { | |
| return n.type === "keypress" ? ro(n) : 0; | |
| }, keyCode: function(n) { | |
| return n.type === "keydown" || n.type === "keyup" ? n.keyCode : 0; | |
| }, which: function(n) { | |
| return n.type === "keypress" ? ro(n) : n.type === "keydown" || n.type === "keyup" ? n.keyCode : 0; | |
| } }), El = Vn(As), L = ve({}, Za, { pointerId: 0, width: 0, height: 0, pressure: 0, tangentialPressure: 0, tiltX: 0, tiltY: 0, twist: 0, pointerType: 0, isPrimary: 0 }), H = Vn(L), ee = ve({}, Uo, { touches: 0, targetTouches: 0, changedTouches: 0, altKey: 0, metaKey: 0, ctrlKey: 0, shiftKey: 0, getModifierState: ys }), pe = Vn(ee), nt = ve({}, Ja, { propertyName: 0, elapsedTime: 0, pseudoElement: 0 }), Ze = Vn(nt), St = ve({}, Za, { | |
| deltaX: function(n) { | |
| return "deltaX" in n ? n.deltaX : "wheelDeltaX" in n ? -n.wheelDeltaX : 0; | |
| }, | |
| deltaY: function(n) { | |
| return "deltaY" in n ? n.deltaY : "wheelDeltaY" in n ? -n.wheelDeltaY : "wheelDelta" in n ? -n.wheelDelta : 0; | |
| }, | |
| deltaZ: 0, | |
| deltaMode: 0 | |
| }), Zt = Vn(St), Hr = [9, 13, 27, 32], qr = p && "CompositionEvent" in window, on = null; | |
| p && "documentMode" in document && (on = document.documentMode); | |
| var Qn = p && "TextEvent" in window && !on, ji = p && (!qr || on && 8 < on && 11 >= on), aa = " ", Di = !1; | |
| function Wa(n, s) { | |
| switch (n) { | |
| case "keyup": | |
| return Hr.indexOf(s.keyCode) !== -1; | |
| case "keydown": | |
| return s.keyCode !== 229; | |
| case "keypress": | |
| case "mousedown": | |
| case "focusout": | |
| return !0; | |
| default: | |
| return !1; | |
| } | |
| } | |
| function ru(n) { | |
| return n = n.detail, typeof n == "object" && "data" in n ? n.data : null; | |
| } | |
| var Ua = !1; | |
| function Zc(n, s) { | |
| switch (n) { | |
| case "compositionend": | |
| return ru(s); | |
| case "keypress": | |
| return s.which !== 32 ? null : (Di = !0, aa); | |
| case "textInput": | |
| return n = s.data, n === aa && Di ? null : n; | |
| default: | |
| return null; | |
| } | |
| } | |
| function nu(n, s) { | |
| if (Ua) return n === "compositionend" || !qr && Wa(n, s) ? (n = ga(), li = si = yi = null, Ua = !1, n) : null; | |
| switch (n) { | |
| case "paste": | |
| return null; | |
| case "keypress": | |
| if (!(s.ctrlKey || s.altKey || s.metaKey) || s.ctrlKey && s.altKey) { | |
| if (s.char && 1 < s.char.length) return s.char; | |
| if (s.which) return String.fromCharCode(s.which); | |
| } | |
| return null; | |
| case "compositionend": | |
| return ji && s.locale !== "ko" ? null : s.data; | |
| default: | |
| return null; | |
| } | |
| } | |
| var Bu = { color: !0, date: !0, datetime: !0, "datetime-local": !0, email: !0, month: !0, number: !0, password: !0, range: !0, search: !0, tel: !0, text: !0, time: !0, url: !0, week: !0 }; | |
| function ka(n) { | |
| var s = n && n.nodeName && n.nodeName.toLowerCase(); | |
| return s === "input" ? !!Bu[n.type] : s === "textarea"; | |
| } | |
| function ed(n, s, f, v) { | |
| hn(v), s = Hn(s, "onChange"), 0 < s.length && (f = new To("onChange", "change", null, f, v), n.push({ event: f, listeners: s })); | |
| } | |
| var Ol = null, Pl = null; | |
| function Cf(n) { | |
| hd(n, 0); | |
| } | |
| function ou(n) { | |
| var s = _t(n); | |
| if (Vt(s)) return n; | |
| } | |
| function Hu(n, s) { | |
| if (n === "change") return s; | |
| } | |
| var td = !1; | |
| if (p) { | |
| var Wu; | |
| if (p) { | |
| var rd = "oninput" in document; | |
| if (!rd) { | |
| var el = document.createElement("div"); | |
| el.setAttribute("oninput", "return;"), rd = typeof el.oninput == "function"; | |
| } | |
| Wu = rd; | |
| } else Wu = !1; | |
| td = Wu && (!document.documentMode || 9 < document.documentMode); | |
| } | |
| function Ef() { | |
| Ol && (Ol.detachEvent("onpropertychange", tl), Pl = Ol = null); | |
| } | |
| function tl(n) { | |
| if (n.propertyName === "value" && ou(Pl)) { | |
| var s = []; | |
| ed(s, Pl, n, Xt(n)), zn(Cf, s); | |
| } | |
| } | |
| function iu(n, s, f) { | |
| n === "focusin" ? (Ef(), Ol = s, Pl = f, Ol.attachEvent("onpropertychange", tl)) : n === "focusout" && Ef(); | |
| } | |
| function Of(n) { | |
| if (n === "selectionchange" || n === "keyup" || n === "keydown") return ou(Pl); | |
| } | |
| function Pf(n, s) { | |
| if (n === "click") return ou(s); | |
| } | |
| function Uu(n, s) { | |
| if (n === "input" || n === "change") return ou(s); | |
| } | |
| function au(n, s) { | |
| return n === s && (n !== 0 || 1 / n === 1 / s) || n !== n && s !== s; | |
| } | |
| var Bi = typeof Object.is == "function" ? Object.is : au; | |
| function Il(n, s) { | |
| if (Bi(n, s)) return !0; | |
| if (typeof n != "object" || n === null || typeof s != "object" || s === null) return !1; | |
| var f = Object.keys(n), v = Object.keys(s); | |
| if (f.length !== v.length) return !1; | |
| for (v = 0; v < f.length; v++) { | |
| var P = f[v]; | |
| if (!g.call(s, P) || !Bi(n[P], s[P])) return !1; | |
| } | |
| return !0; | |
| } | |
| function If(n) { | |
| for (; n && n.firstChild; ) n = n.firstChild; | |
| return n; | |
| } | |
| function Tf(n, s) { | |
| var f = If(n); | |
| n = 0; | |
| for (var v; f; ) { | |
| if (f.nodeType === 3) { | |
| if (v = n + f.textContent.length, n <= s && v >= s) return { node: f, offset: s - n }; | |
| n = v; | |
| } | |
| e: { | |
| for (; f; ) { | |
| if (f.nextSibling) { | |
| f = f.nextSibling; | |
| break e; | |
| } | |
| f = f.parentNode; | |
| } | |
| f = void 0; | |
| } | |
| f = If(f); | |
| } | |
| } | |
| function Rf(n, s) { | |
| return n && s ? n === s ? !0 : n && n.nodeType === 3 ? !1 : s && s.nodeType === 3 ? Rf(n, s.parentNode) : "contains" in n ? n.contains(s) : n.compareDocumentPosition ? !!(n.compareDocumentPosition(s) & 16) : !1 : !1; | |
| } | |
| function nd() { | |
| for (var n = window, s = qt(); s instanceof n.HTMLIFrameElement; ) { | |
| try { | |
| var f = typeof s.contentWindow.location.href == "string"; | |
| } catch { | |
| f = !1; | |
| } | |
| if (f) n = s.contentWindow; | |
| else break; | |
| s = qt(n.document); | |
| } | |
| return s; | |
| } | |
| function Tl(n) { | |
| var s = n && n.nodeName && n.nodeName.toLowerCase(); | |
| return s && (s === "input" && (n.type === "text" || n.type === "search" || n.type === "tel" || n.type === "url" || n.type === "password") || s === "textarea" || n.contentEditable === "true"); | |
| } | |
| function $u(n) { | |
| var s = nd(), f = n.focusedElem, v = n.selectionRange; | |
| if (s !== f && f && f.ownerDocument && Rf(f.ownerDocument.documentElement, f)) { | |
| if (v !== null && Tl(f)) { | |
| if (s = v.start, n = v.end, n === void 0 && (n = s), "selectionStart" in f) f.selectionStart = s, f.selectionEnd = Math.min(n, f.value.length); | |
| else if (n = (s = f.ownerDocument || document) && s.defaultView || window, n.getSelection) { | |
| n = n.getSelection(); | |
| var P = f.textContent.length, M = Math.min(v.start, P); | |
| v = v.end === void 0 ? M : Math.min(v.end, P), !n.extend && M > v && (P = v, v = M, M = P), P = Tf(f, M); | |
| var K = Tf( | |
| f, | |
| v | |
| ); | |
| P && K && (n.rangeCount !== 1 || n.anchorNode !== P.node || n.anchorOffset !== P.offset || n.focusNode !== K.node || n.focusOffset !== K.offset) && (s = s.createRange(), s.setStart(P.node, P.offset), n.removeAllRanges(), M > v ? (n.addRange(s), n.extend(K.node, K.offset)) : (s.setEnd(K.node, K.offset), n.addRange(s))); | |
| } | |
| } | |
| for (s = [], n = f; n = n.parentNode; ) n.nodeType === 1 && s.push({ element: n, left: n.scrollLeft, top: n.scrollTop }); | |
| for (typeof f.focus == "function" && f.focus(), f = 0; f < s.length; f++) n = s[f], n.element.scrollLeft = n.left, n.element.scrollTop = n.top; | |
| } | |
| } | |
| var _f = p && "documentMode" in document && 11 >= document.documentMode, rl = null, od = null, Rl = null, Ls = !1; | |
| function id(n, s, f) { | |
| var v = f.window === f ? f.document : f.nodeType === 9 ? f : f.ownerDocument; | |
| Ls || rl == null || rl !== qt(v) || (v = rl, "selectionStart" in v && Tl(v) ? v = { start: v.selectionStart, end: v.selectionEnd } : (v = (v.ownerDocument && v.ownerDocument.defaultView || window).getSelection(), v = { anchorNode: v.anchorNode, anchorOffset: v.anchorOffset, focusNode: v.focusNode, focusOffset: v.focusOffset }), Rl && Il(Rl, v) || (Rl = v, v = Hn(od, "onSelect"), 0 < v.length && (s = new To("onSelect", "select", null, s, f), n.push({ event: s, listeners: v }), s.target = rl))); | |
| } | |
| function su(n, s) { | |
| var f = {}; | |
| return f[n.toLowerCase()] = s.toLowerCase(), f["Webkit" + n] = "webkit" + s, f["Moz" + n] = "moz" + s, f; | |
| } | |
| var nl = { animationend: su("Animation", "AnimationEnd"), animationiteration: su("Animation", "AnimationIteration"), animationstart: su("Animation", "AnimationStart"), transitionend: su("Transition", "TransitionEnd") }, Vu = {}, ad = {}; | |
| p && (ad = document.createElement("div").style, "AnimationEvent" in window || (delete nl.animationend.animation, delete nl.animationiteration.animation, delete nl.animationstart.animation), "TransitionEvent" in window || delete nl.transitionend.transition); | |
| function lu(n) { | |
| if (Vu[n]) return Vu[n]; | |
| if (!nl[n]) return n; | |
| var s = nl[n], f; | |
| for (f in s) if (s.hasOwnProperty(f) && f in ad) return Vu[n] = s[f]; | |
| return n; | |
| } | |
| var sd = lu("animationend"), ld = lu("animationiteration"), ol = lu("animationstart"), qu = lu("transitionend"), ud = /* @__PURE__ */ new Map(), cd = "abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" "); | |
| function Ms(n, s) { | |
| ud.set(n, s), h(s, [n]); | |
| } | |
| for (var dd = 0; dd < cd.length; dd++) { | |
| var _l = cd[dd], Af = _l.toLowerCase(), Jo = _l[0].toUpperCase() + _l.slice(1); | |
| Ms(Af, "on" + Jo); | |
| } | |
| Ms(sd, "onAnimationEnd"), Ms(ld, "onAnimationIteration"), Ms(ol, "onAnimationStart"), Ms("dblclick", "onDoubleClick"), Ms("focusin", "onFocus"), Ms("focusout", "onBlur"), Ms(qu, "onTransitionEnd"), c("onMouseEnter", ["mouseout", "mouseover"]), c("onMouseLeave", ["mouseout", "mouseover"]), c("onPointerEnter", ["pointerout", "pointerover"]), c("onPointerLeave", ["pointerout", "pointerover"]), h("onChange", "change click focusin focusout input keydown keyup selectionchange".split(" ")), h("onSelect", "focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")), h("onBeforeInput", ["compositionend", "keypress", "textInput", "paste"]), h("onCompositionEnd", "compositionend focusout keydown keypress keyup mousedown".split(" ")), h("onCompositionStart", "compositionstart focusout keydown keypress keyup mousedown".split(" ")), h("onCompositionUpdate", "compositionupdate focusout keydown keypress keyup mousedown".split(" ")); | |
| var Al = "abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "), cp = new Set("cancel close invalid load scroll toggle".split(" ").concat(Al)); | |
| function fd(n, s, f) { | |
| var v = n.type || "unknown-event"; | |
| n.currentTarget = f, ii(v, s, void 0, n), n.currentTarget = null; | |
| } | |
| function hd(n, s) { | |
| s = (s & 4) !== 0; | |
| for (var f = 0; f < n.length; f++) { | |
| var v = n[f], P = v.event; | |
| v = v.listeners; | |
| e: { | |
| var M = void 0; | |
| if (s) for (var K = v.length - 1; 0 <= K; K--) { | |
| var we = v[K], Te = we.instance, ct = we.currentTarget; | |
| if (we = we.listener, Te !== M && P.isPropagationStopped()) break e; | |
| fd(P, we, ct), M = Te; | |
| } | |
| else for (K = 0; K < v.length; K++) { | |
| if (we = v[K], Te = we.instance, ct = we.currentTarget, we = we.listener, Te !== M && P.isPropagationStopped()) break e; | |
| fd(P, we, ct), M = Te; | |
| } | |
| } | |
| } | |
| if (Zr) throw n = sn, Zr = !1, sn = null, n; | |
| } | |
| function bo(n, s) { | |
| var f = s[ut]; | |
| f === void 0 && (f = s[ut] = /* @__PURE__ */ new Set()); | |
| var v = n + "__bubble"; | |
| f.has(v) || (gd(s, n, 2, !1), f.add(v)); | |
| } | |
| function pd(n, s, f) { | |
| var v = 0; | |
| s && (v |= 4), gd(f, n, v, s); | |
| } | |
| var Gu = "_reactListening" + Math.random().toString(36).slice(2); | |
| function uu(n) { | |
| if (!n[Gu]) { | |
| n[Gu] = !0, o.forEach(function(f) { | |
| f !== "selectionchange" && (cp.has(f) || pd(f, !1, n), pd(f, !0, n)); | |
| }); | |
| var s = n.nodeType === 9 ? n : n.ownerDocument; | |
| s === null || s[Gu] || (s[Gu] = !0, pd("selectionchange", !1, s)); | |
| } | |
| } | |
| function gd(n, s, f, v) { | |
| switch (ms(s)) { | |
| case 1: | |
| var P = oa; | |
| break; | |
| case 4: | |
| P = Qo; | |
| break; | |
| default: | |
| P = yo; | |
| } | |
| f = P.bind(null, s, f, n), P = void 0, !Sn || s !== "touchstart" && s !== "touchmove" && s !== "wheel" || (P = !0), v ? P !== void 0 ? n.addEventListener(s, f, { capture: !0, passive: P }) : n.addEventListener(s, f, !0) : P !== void 0 ? n.addEventListener(s, f, { passive: P }) : n.addEventListener(s, f, !1); | |
| } | |
| function Yu(n, s, f, v, P) { | |
| var M = v; | |
| if ((s & 1) === 0 && (s & 2) === 0 && v !== null) e: for (; ; ) { | |
| if (v === null) return; | |
| var K = v.tag; | |
| if (K === 3 || K === 4) { | |
| var we = v.stateNode.containerInfo; | |
| if (we === P || we.nodeType === 8 && we.parentNode === P) break; | |
| if (K === 4) for (K = v.return; K !== null; ) { | |
| var Te = K.tag; | |
| if ((Te === 3 || Te === 4) && (Te = K.stateNode.containerInfo, Te === P || Te.nodeType === 8 && Te.parentNode === P)) return; | |
| K = K.return; | |
| } | |
| for (; we !== null; ) { | |
| if (K = jt(we), K === null) return; | |
| if (Te = K.tag, Te === 5 || Te === 6) { | |
| v = M = K; | |
| continue e; | |
| } | |
| we = we.parentNode; | |
| } | |
| } | |
| v = v.return; | |
| } | |
| zn(function() { | |
| var ct = M, Wt = Xt(f), Kt = []; | |
| e: { | |
| var Bt = ud.get(n); | |
| if (Bt !== void 0) { | |
| var Cr = To, zr = n; | |
| switch (n) { | |
| case "keypress": | |
| if (ro(f) === 0) break e; | |
| case "keydown": | |
| case "keyup": | |
| Cr = El; | |
| break; | |
| case "focusin": | |
| zr = "focus", Cr = Qs; | |
| break; | |
| case "focusout": | |
| zr = "blur", Cr = Qs; | |
| break; | |
| case "beforeblur": | |
| case "afterblur": | |
| Cr = Qs; | |
| break; | |
| case "click": | |
| if (f.button === 2) break e; | |
| case "auxclick": | |
| case "dblclick": | |
| case "mousedown": | |
| case "mousemove": | |
| case "mouseup": | |
| case "mouseout": | |
| case "mouseover": | |
| case "contextmenu": | |
| Cr = Jl; | |
| break; | |
| case "drag": | |
| case "dragend": | |
| case "dragenter": | |
| case "dragexit": | |
| case "dragleave": | |
| case "dragover": | |
| case "dragstart": | |
| case "drop": | |
| Cr = Zl; | |
| break; | |
| case "touchcancel": | |
| case "touchend": | |
| case "touchmove": | |
| case "touchstart": | |
| Cr = pe; | |
| break; | |
| case sd: | |
| case ld: | |
| case ol: | |
| Cr = Du; | |
| break; | |
| case qu: | |
| Cr = Ze; | |
| break; | |
| case "scroll": | |
| Cr = Rs; | |
| break; | |
| case "wheel": | |
| Cr = Zt; | |
| break; | |
| case "copy": | |
| case "cut": | |
| case "paste": | |
| Cr = vs; | |
| break; | |
| case "gotpointercapture": | |
| case "lostpointercapture": | |
| case "pointercancel": | |
| case "pointerdown": | |
| case "pointermove": | |
| case "pointerout": | |
| case "pointerover": | |
| case "pointerup": | |
| Cr = H; | |
| } | |
| var Nr = (s & 4) !== 0, ri = !Nr && n === "scroll", tt = Nr ? Bt !== null ? Bt + "Capture" : null : Bt; | |
| Nr = []; | |
| for (var We = ct, at; We !== null; ) { | |
| at = We; | |
| var tr = at.stateNode; | |
| if (at.tag === 5 && tr !== null && (at = tr, tt !== null && (tr = Ir(We, tt), tr != null && Nr.push(cu(We, tr, at)))), ri) break; | |
| We = We.return; | |
| } | |
| 0 < Nr.length && (Bt = new Cr(Bt, zr, null, f, Wt), Kt.push({ event: Bt, listeners: Nr })); | |
| } | |
| } | |
| if ((s & 7) === 0) { | |
| e: { | |
| if (Bt = n === "mouseover" || n === "pointerover", Cr = n === "mouseout" || n === "pointerout", Bt && f !== Rt && (zr = f.relatedTarget || f.fromElement) && (jt(zr) || zr[He])) break e; | |
| if ((Cr || Bt) && (Bt = Wt.window === Wt ? Wt : (Bt = Wt.ownerDocument) ? Bt.defaultView || Bt.parentWindow : window, Cr ? (zr = f.relatedTarget || f.toElement, Cr = ct, zr = zr ? jt(zr) : null, zr !== null && (ri = zo(zr), zr !== ri || zr.tag !== 5 && zr.tag !== 6) && (zr = null)) : (Cr = null, zr = ct), Cr !== zr)) { | |
| if (Nr = Jl, tr = "onMouseLeave", tt = "onMouseEnter", We = "mouse", (n === "pointerout" || n === "pointerover") && (Nr = H, tr = "onPointerLeave", tt = "onPointerEnter", We = "pointer"), ri = Cr == null ? Bt : _t(Cr), at = zr == null ? Bt : _t(zr), Bt = new Nr(tr, We + "leave", Cr, f, Wt), Bt.target = ri, Bt.relatedTarget = at, tr = null, jt(Wt) === ct && (Nr = new Nr(tt, We + "enter", zr, f, Wt), Nr.target = at, Nr.relatedTarget = ri, tr = Nr), ri = tr, Cr && zr) t: { | |
| for (Nr = Cr, tt = zr, We = 0, at = Nr; at; at = Ll(at)) We++; | |
| for (at = 0, tr = tt; tr; tr = Ll(tr)) at++; | |
| for (; 0 < We - at; ) Nr = Ll(Nr), We--; | |
| for (; 0 < at - We; ) tt = Ll(tt), at--; | |
| for (; We--; ) { | |
| if (Nr === tt || tt !== null && Nr === tt.alternate) break t; | |
| Nr = Ll(Nr), tt = Ll(tt); | |
| } | |
| Nr = null; | |
| } | |
| else Nr = null; | |
| Cr !== null && xo(Kt, Bt, Cr, Nr, !1), zr !== null && ri !== null && xo(Kt, ri, zr, Nr, !0); | |
| } | |
| } | |
| e: { | |
| if (Bt = ct ? _t(ct) : window, Cr = Bt.nodeName && Bt.nodeName.toLowerCase(), Cr === "select" || Cr === "input" && Bt.type === "file") var Dr = Hu; | |
| else if (ka(Bt)) if (td) Dr = Uu; | |
| else { | |
| Dr = Of; | |
| var Yr = iu; | |
| } | |
| else (Cr = Bt.nodeName) && Cr.toLowerCase() === "input" && (Bt.type === "checkbox" || Bt.type === "radio") && (Dr = Pf); | |
| if (Dr && (Dr = Dr(n, ct))) { | |
| ed(Kt, Dr, f, Wt); | |
| break e; | |
| } | |
| Yr && Yr(n, Bt, ct), n === "focusout" && (Yr = Bt._wrapperState) && Yr.controlled && Bt.type === "number" && Yt(Bt, "number", Bt.value); | |
| } | |
| switch (Yr = ct ? _t(ct) : window, n) { | |
| case "focusin": | |
| (ka(Yr) || Yr.contentEditable === "true") && (rl = Yr, od = ct, Rl = null); | |
| break; | |
| case "focusout": | |
| Rl = od = rl = null; | |
| break; | |
| case "mousedown": | |
| Ls = !0; | |
| break; | |
| case "contextmenu": | |
| case "mouseup": | |
| case "dragend": | |
| Ls = !1, id(Kt, f, Wt); | |
| break; | |
| case "selectionchange": | |
| if (_f) break; | |
| case "keydown": | |
| case "keyup": | |
| id(Kt, f, Wt); | |
| } | |
| var Xr; | |
| if (qr) e: { | |
| switch (n) { | |
| case "compositionstart": | |
| var ln = "onCompositionStart"; | |
| break e; | |
| case "compositionend": | |
| ln = "onCompositionEnd"; | |
| break e; | |
| case "compositionupdate": | |
| ln = "onCompositionUpdate"; | |
| break e; | |
| } | |
| ln = void 0; | |
| } | |
| else Ua ? Wa(n, f) && (ln = "onCompositionEnd") : n === "keydown" && f.keyCode === 229 && (ln = "onCompositionStart"); | |
| ln && (ji && f.locale !== "ko" && (Ua || ln !== "onCompositionStart" ? ln === "onCompositionEnd" && Ua && (Xr = ga()) : (yi = Wt, si = "value" in yi ? yi.value : yi.textContent, Ua = !0)), Yr = Hn(ct, ln), 0 < Yr.length && (ln = new _s(ln, n, null, f, Wt), Kt.push({ event: ln, listeners: Yr }), Xr ? ln.data = Xr : (Xr = ru(f), Xr !== null && (ln.data = Xr)))), (Xr = Qn ? Zc(n, f) : nu(n, f)) && (ct = Hn(ct, "onBeforeInput"), 0 < ct.length && (Wt = new _s("onBeforeInput", "beforeinput", null, f, Wt), Kt.push({ event: Wt, listeners: ct }), Wt.data = Xr)); | |
| } | |
| hd(Kt, s); | |
| }); | |
| } | |
| function cu(n, s, f) { | |
| return { instance: n, listener: s, currentTarget: f }; | |
| } | |
| function Hn(n, s) { | |
| for (var f = s + "Capture", v = []; n !== null; ) { | |
| var P = n, M = P.stateNode; | |
| P.tag === 5 && M !== null && (P = M, M = Ir(n, f), M != null && v.unshift(cu(n, M, P)), M = Ir(n, s), M != null && v.push(cu(n, M, P))), n = n.return; | |
| } | |
| return v; | |
| } | |
| function Ll(n) { | |
| if (n === null) return null; | |
| do | |
| n = n.return; | |
| while (n && n.tag !== 5); | |
| return n || null; | |
| } | |
| function xo(n, s, f, v, P) { | |
| for (var M = s._reactName, K = []; f !== null && f !== v; ) { | |
| var we = f, Te = we.alternate, ct = we.stateNode; | |
| if (Te !== null && Te === v) break; | |
| we.tag === 5 && ct !== null && (we = ct, P ? (Te = Ir(f, M), Te != null && K.unshift(cu(f, Te, we))) : P || (Te = Ir(f, M), Te != null && K.push(cu(f, Te, we)))), f = f.return; | |
| } | |
| K.length !== 0 && n.push({ event: s, listeners: K }); | |
| } | |
| var dp = /\r\n?/g, Ca = /\u0000|\uFFFD/g; | |
| function Lf(n) { | |
| return (typeof n == "string" ? n : "" + n).replace(dp, ` | |
| `).replace(Ca, ""); | |
| } | |
| function Ku(n, s, f) { | |
| if (s = Lf(s), Lf(n) !== s && f) throw Error(r(425)); | |
| } | |
| function Ml() { | |
| } | |
| var ao = null, Xu = null; | |
| function k(n, s) { | |
| return n === "textarea" || n === "noscript" || typeof s.children == "string" || typeof s.children == "number" || typeof s.dangerouslySetInnerHTML == "object" && s.dangerouslySetInnerHTML !== null && s.dangerouslySetInnerHTML.__html != null; | |
| } | |
| var x = typeof setTimeout == "function" ? setTimeout : void 0, C = typeof clearTimeout == "function" ? clearTimeout : void 0, _ = typeof Promise == "function" ? Promise : void 0, j = typeof queueMicrotask == "function" ? queueMicrotask : typeof _ < "u" ? function(n) { | |
| return _.resolve(null).then(n).catch(X); | |
| } : x; | |
| function X(n) { | |
| setTimeout(function() { | |
| throw n; | |
| }); | |
| } | |
| function oe(n, s) { | |
| var f = s, v = 0; | |
| do { | |
| var P = f.nextSibling; | |
| if (n.removeChild(f), P && P.nodeType === 8) if (f = P.data, f === "/$") { | |
| if (v === 0) { | |
| n.removeChild(P), na(s); | |
| return; | |
| } | |
| v--; | |
| } else f !== "$" && f !== "$?" && f !== "$!" || v++; | |
| f = P; | |
| } while (f); | |
| na(s); | |
| } | |
| function Se(n) { | |
| for (; n != null; n = n.nextSibling) { | |
| var s = n.nodeType; | |
| if (s === 1 || s === 3) break; | |
| if (s === 8) { | |
| if (s = n.data, s === "$" || s === "$!" || s === "$?") break; | |
| if (s === "/$") return null; | |
| } | |
| } | |
| return n; | |
| } | |
| function Ee(n) { | |
| n = n.previousSibling; | |
| for (var s = 0; n; ) { | |
| if (n.nodeType === 8) { | |
| var f = n.data; | |
| if (f === "$" || f === "$!" || f === "$?") { | |
| if (s === 0) return n; | |
| s--; | |
| } else f === "/$" && s++; | |
| } | |
| n = n.previousSibling; | |
| } | |
| return null; | |
| } | |
| var Oe = Math.random().toString(36).slice(2), Ke = "__reactFiber$" + Oe, et = "__reactProps$" + Oe, He = "__reactContainer$" + Oe, ut = "__reactEvents$" + Oe, wt = "__reactListeners$" + Oe, Ft = "__reactHandles$" + Oe; | |
| function jt(n) { | |
| var s = n[Ke]; | |
| if (s) return s; | |
| for (var f = n.parentNode; f; ) { | |
| if (s = f[He] || f[Ke]) { | |
| if (f = s.alternate, s.child !== null || f !== null && f.child !== null) for (n = Ee(n); n !== null; ) { | |
| if (f = n[Ke]) return f; | |
| n = Ee(n); | |
| } | |
| return s; | |
| } | |
| n = f, f = n.parentNode; | |
| } | |
| return null; | |
| } | |
| function rr(n) { | |
| return n = n[Ke] || n[He], !n || n.tag !== 5 && n.tag !== 6 && n.tag !== 13 && n.tag !== 3 ? null : n; | |
| } | |
| function _t(n) { | |
| if (n.tag === 5 || n.tag === 6) return n.stateNode; | |
| throw Error(r(33)); | |
| } | |
| function pr(n) { | |
| return n[et] || null; | |
| } | |
| var Rr = [], Kr = -1; | |
| function Qr(n) { | |
| return { current: n }; | |
| } | |
| function Mr(n) { | |
| 0 > Kr || (n.current = Rr[Kr], Rr[Kr] = null, Kr--); | |
| } | |
| function tn(n, s) { | |
| Kr++, Rr[Kr] = n.current, n.current = s; | |
| } | |
| var Gr = {}, Br = Qr(Gr), rn = Qr(!1), Gn = Gr; | |
| function Yn(n, s) { | |
| var f = n.type.contextTypes; | |
| if (!f) return Gr; | |
| var v = n.stateNode; | |
| if (v && v.__reactInternalMemoizedUnmaskedChildContext === s) return v.__reactInternalMemoizedMaskedChildContext; | |
| var P = {}, M; | |
| for (M in f) P[M] = s[M]; | |
| return v && (n = n.stateNode, n.__reactInternalMemoizedUnmaskedChildContext = s, n.__reactInternalMemoizedMaskedChildContext = P), P; | |
| } | |
| function bn(n) { | |
| return n = n.childContextTypes, n != null; | |
| } | |
| function Vo() { | |
| Mr(rn), Mr(Br); | |
| } | |
| function Pi(n, s, f) { | |
| if (Br.current !== Gr) throw Error(r(168)); | |
| tn(Br, s), tn(rn, f); | |
| } | |
| function $a(n, s, f) { | |
| var v = n.stateNode; | |
| if (s = s.childContextTypes, typeof v.getChildContext != "function") return f; | |
| v = v.getChildContext(); | |
| for (var P in v) if (!(P in s)) throw Error(r(108, ft(n) || "Unknown", P)); | |
| return ve({}, f, v); | |
| } | |
| function di(n) { | |
| return n = (n = n.stateNode) && n.__reactInternalMemoizedMergedChildContext || Gr, Gn = Br.current, tn(Br, n), tn(rn, rn.current), !0; | |
| } | |
| function sa(n, s, f) { | |
| var v = n.stateNode; | |
| if (!v) throw Error(r(169)); | |
| f ? (n = $a(n, s, Gn), v.__reactInternalMemoizedMergedChildContext = n, Mr(rn), Mr(Br), tn(Br, n)) : Mr(rn), tn(rn, f); | |
| } | |
| var Lo = null, Wr = !1, Ea = !1; | |
| function es(n) { | |
| Lo === null ? Lo = [n] : Lo.push(n); | |
| } | |
| function wo(n) { | |
| Wr = !0, es(n); | |
| } | |
| function uo() { | |
| if (!Ea && Lo !== null) { | |
| Ea = !0; | |
| var n = 0, s = q; | |
| try { | |
| var f = Lo; | |
| for (q = 1; n < f.length; n++) { | |
| var v = f[n]; | |
| do | |
| v = v(!0); | |
| while (v !== null); | |
| } | |
| Lo = null, Wr = !1; | |
| } catch (P) { | |
| throw Lo !== null && (Lo = Lo.slice(n + 1)), Li(xa, uo), P; | |
| } finally { | |
| q = s, Ea = !1; | |
| } | |
| } | |
| return null; | |
| } | |
| var So = [], ko = 0, bi = null, xi = 0, Co = [], Hi = 0, bs = null, ma = 1, Oa = ""; | |
| function zs(n, s) { | |
| So[ko++] = xi, So[ko++] = bi, bi = n, xi = s; | |
| } | |
| function il(n, s, f) { | |
| Co[Hi++] = ma, Co[Hi++] = Oa, Co[Hi++] = bs, bs = n; | |
| var v = ma; | |
| n = Oa; | |
| var P = 32 - Io(v) - 1; | |
| v &= ~(1 << P), f += 1; | |
| var M = 32 - Io(s) + P; | |
| if (30 < M) { | |
| var K = P - P % 5; | |
| M = (v & (1 << K) - 1).toString(32), v >>= K, P -= K, ma = 1 << 32 - Io(s) + P | f << P | v, Oa = M + n; | |
| } else ma = 1 << M | f << P | v, Oa = n; | |
| } | |
| function du(n) { | |
| n.return !== null && (zs(n, 1), il(n, 1, 0)); | |
| } | |
| function ts(n) { | |
| for (; n === bi; ) bi = So[--ko], So[ko] = null, xi = So[--ko], So[ko] = null; | |
| for (; n === bs; ) bs = Co[--Hi], Co[Hi] = null, Oa = Co[--Hi], Co[Hi] = null, ma = Co[--Hi], Co[Hi] = null; | |
| } | |
| var Ki = null, Xi = null, Eo = !1, la = null; | |
| function Mf(n, s) { | |
| var f = Aa(5, null, null, 0); | |
| f.elementType = "DELETED", f.stateNode = s, f.return = n, s = n.deletions, s === null ? (n.deletions = [f], n.flags |= 16) : s.push(f); | |
| } | |
| function zf(n, s) { | |
| switch (n.tag) { | |
| case 5: | |
| var f = n.type; | |
| return s = s.nodeType !== 1 || f.toLowerCase() !== s.nodeName.toLowerCase() ? null : s, s !== null ? (n.stateNode = s, Ki = n, Xi = Se(s.firstChild), !0) : !1; | |
| case 6: | |
| return s = n.pendingProps === "" || s.nodeType !== 3 ? null : s, s !== null ? (n.stateNode = s, Ki = n, Xi = null, !0) : !1; | |
| case 13: | |
| return s = s.nodeType !== 8 ? null : s, s !== null ? (f = bs !== null ? { id: ma, overflow: Oa } : null, n.memoizedState = { dehydrated: s, treeContext: f, retryLane: 1073741824 }, f = Aa(18, null, null, 0), f.stateNode = s, f.return = n, n.child = f, Ki = n, Xi = null, !0) : !1; | |
| default: | |
| return !1; | |
| } | |
| } | |
| function Qu(n) { | |
| return (n.mode & 1) !== 0 && (n.flags & 128) === 0; | |
| } | |
| function Ff(n) { | |
| if (Eo) { | |
| var s = Xi; | |
| if (s) { | |
| var f = s; | |
| if (!zf(n, s)) { | |
| if (Qu(n)) throw Error(r(418)); | |
| s = Se(f.nextSibling); | |
| var v = Ki; | |
| s && zf(n, s) ? Mf(v, f) : (n.flags = n.flags & -4097 | 2, Eo = !1, Ki = n); | |
| } | |
| } else { | |
| if (Qu(n)) throw Error(r(418)); | |
| n.flags = n.flags & -4097 | 2, Eo = !1, Ki = n; | |
| } | |
| } | |
| } | |
| function Nf(n) { | |
| for (n = n.return; n !== null && n.tag !== 5 && n.tag !== 3 && n.tag !== 13; ) n = n.return; | |
| Ki = n; | |
| } | |
| function Ju(n) { | |
| if (n !== Ki) return !1; | |
| if (!Eo) return Nf(n), Eo = !0, !1; | |
| var s; | |
| if ((s = n.tag !== 3) && !(s = n.tag !== 5) && (s = n.type, s = s !== "head" && s !== "body" && !k(n.type, n.memoizedProps)), s && (s = Xi)) { | |
| if (Qu(n)) throw fp(), Error(r(418)); | |
| for (; s; ) Mf(n, s), s = Se(s.nextSibling); | |
| } | |
| if (Nf(n), n.tag === 13) { | |
| if (n = n.memoizedState, n = n !== null ? n.dehydrated : null, !n) throw Error(r(317)); | |
| e: { | |
| for (n = n.nextSibling, s = 0; n; ) { | |
| if (n.nodeType === 8) { | |
| var f = n.data; | |
| if (f === "/$") { | |
| if (s === 0) { | |
| Xi = Se(n.nextSibling); | |
| break e; | |
| } | |
| s--; | |
| } else f !== "$" && f !== "$!" && f !== "$?" || s++; | |
| } | |
| n = n.nextSibling; | |
| } | |
| Xi = null; | |
| } | |
| } else Xi = Ki ? Se(n.stateNode.nextSibling) : null; | |
| return !0; | |
| } | |
| function fp() { | |
| for (var n = Xi; n; ) n = Se(n.nextSibling); | |
| } | |
| function fu() { | |
| Xi = Ki = null, Eo = !1; | |
| } | |
| function jf(n) { | |
| la === null ? la = [n] : la.push(n); | |
| } | |
| var Sm = Z.ReactCurrentBatchConfig; | |
| function Zu(n, s, f) { | |
| if (n = f.ref, n !== null && typeof n != "function" && typeof n != "object") { | |
| if (f._owner) { | |
| if (f = f._owner, f) { | |
| if (f.tag !== 1) throw Error(r(309)); | |
| var v = f.stateNode; | |
| } | |
| if (!v) throw Error(r(147, n)); | |
| var P = v, M = "" + n; | |
| return s !== null && s.ref !== null && typeof s.ref == "function" && s.ref._stringRef === M ? s.ref : (s = function(K) { | |
| var we = P.refs; | |
| K === null ? delete we[M] : we[M] = K; | |
| }, s._stringRef = M, s); | |
| } | |
| if (typeof n != "string") throw Error(r(284)); | |
| if (!f._owner) throw Error(r(290, n)); | |
| } | |
| return n; | |
| } | |
| function Df(n, s) { | |
| throw n = Object.prototype.toString.call(s), Error(r(31, n === "[object Object]" ? "object with keys {" + Object.keys(s).join(", ") + "}" : n)); | |
| } | |
| function hp(n) { | |
| var s = n._init; | |
| return s(n._payload); | |
| } | |
| function pp(n) { | |
| function s(tt, We) { | |
| if (n) { | |
| var at = tt.deletions; | |
| at === null ? (tt.deletions = [We], tt.flags |= 16) : at.push(We); | |
| } | |
| } | |
| function f(tt, We) { | |
| if (!n) return null; | |
| for (; We !== null; ) s(tt, We), We = We.sibling; | |
| return null; | |
| } | |
| function v(tt, We) { | |
| for (tt = /* @__PURE__ */ new Map(); We !== null; ) We.key !== null ? tt.set(We.key, We) : tt.set(We.index, We), We = We.sibling; | |
| return tt; | |
| } | |
| function P(tt, We) { | |
| return tt = dl(tt, We), tt.index = 0, tt.sibling = null, tt; | |
| } | |
| function M(tt, We, at) { | |
| return tt.index = at, n ? (at = tt.alternate, at !== null ? (at = at.index, at < We ? (tt.flags |= 2, We) : at) : (tt.flags |= 2, We)) : (tt.flags |= 1048576, We); | |
| } | |
| function K(tt) { | |
| return n && tt.alternate === null && (tt.flags |= 2), tt; | |
| } | |
| function we(tt, We, at, tr) { | |
| return We === null || We.tag !== 6 ? (We = mh(at, tt.mode, tr), We.return = tt, We) : (We = P(We, at), We.return = tt, We); | |
| } | |
| function Te(tt, We, at, tr) { | |
| var Dr = at.type; | |
| return Dr === ie ? Wt(tt, We, at.props.children, tr, at.key) : We !== null && (We.elementType === Dr || typeof Dr == "object" && Dr !== null && Dr.$$typeof === Ue && hp(Dr) === We.type) ? (tr = P(We, at.props), tr.ref = Zu(tt, We, at), tr.return = tt, tr) : (tr = ph(at.type, at.key, at.props, null, tt.mode, tr), tr.ref = Zu(tt, We, at), tr.return = tt, tr); | |
| } | |
| function ct(tt, We, at, tr) { | |
| return We === null || We.tag !== 4 || We.stateNode.containerInfo !== at.containerInfo || We.stateNode.implementation !== at.implementation ? (We = Wl(at, tt.mode, tr), We.return = tt, We) : (We = P(We, at.children || []), We.return = tt, We); | |
| } | |
| function Wt(tt, We, at, tr, Dr) { | |
| return We === null || We.tag !== 7 ? (We = Cu(at, tt.mode, tr, Dr), We.return = tt, We) : (We = P(We, at), We.return = tt, We); | |
| } | |
| function Kt(tt, We, at) { | |
| if (typeof We == "string" && We !== "" || typeof We == "number") return We = mh("" + We, tt.mode, at), We.return = tt, We; | |
| if (typeof We == "object" && We !== null) { | |
| switch (We.$$typeof) { | |
| case ne: | |
| return at = ph(We.type, We.key, We.props, null, tt.mode, at), at.ref = Zu(tt, null, We), at.return = tt, at; | |
| case te: | |
| return We = Wl(We, tt.mode, at), We.return = tt, We; | |
| case Ue: | |
| var tr = We._init; | |
| return Kt(tt, tr(We._payload), at); | |
| } | |
| if (Pe(We) || me(We)) return We = Cu(We, tt.mode, at, null), We.return = tt, We; | |
| Df(tt, We); | |
| } | |
| return null; | |
| } | |
| function Bt(tt, We, at, tr) { | |
| var Dr = We !== null ? We.key : null; | |
| if (typeof at == "string" && at !== "" || typeof at == "number") return Dr !== null ? null : we(tt, We, "" + at, tr); | |
| if (typeof at == "object" && at !== null) { | |
| switch (at.$$typeof) { | |
| case ne: | |
| return at.key === Dr ? Te(tt, We, at, tr) : null; | |
| case te: | |
| return at.key === Dr ? ct(tt, We, at, tr) : null; | |
| case Ue: | |
| return Dr = at._init, Bt( | |
| tt, | |
| We, | |
| Dr(at._payload), | |
| tr | |
| ); | |
| } | |
| if (Pe(at) || me(at)) return Dr !== null ? null : Wt(tt, We, at, tr, null); | |
| Df(tt, at); | |
| } | |
| return null; | |
| } | |
| function Cr(tt, We, at, tr, Dr) { | |
| if (typeof tr == "string" && tr !== "" || typeof tr == "number") return tt = tt.get(at) || null, we(We, tt, "" + tr, Dr); | |
| if (typeof tr == "object" && tr !== null) { | |
| switch (tr.$$typeof) { | |
| case ne: | |
| return tt = tt.get(tr.key === null ? at : tr.key) || null, Te(We, tt, tr, Dr); | |
| case te: | |
| return tt = tt.get(tr.key === null ? at : tr.key) || null, ct(We, tt, tr, Dr); | |
| case Ue: | |
| var Yr = tr._init; | |
| return Cr(tt, We, at, Yr(tr._payload), Dr); | |
| } | |
| if (Pe(tr) || me(tr)) return tt = tt.get(at) || null, Wt(We, tt, tr, Dr, null); | |
| Df(We, tr); | |
| } | |
| return null; | |
| } | |
| function zr(tt, We, at, tr) { | |
| for (var Dr = null, Yr = null, Xr = We, ln = We = 0, gi = null; Xr !== null && ln < at.length; ln++) { | |
| Xr.index > ln ? (gi = Xr, Xr = null) : gi = Xr.sibling; | |
| var Un = Bt(tt, Xr, at[ln], tr); | |
| if (Un === null) { | |
| Xr === null && (Xr = gi); | |
| break; | |
| } | |
| n && Xr && Un.alternate === null && s(tt, Xr), We = M(Un, We, ln), Yr === null ? Dr = Un : Yr.sibling = Un, Yr = Un, Xr = gi; | |
| } | |
| if (ln === at.length) return f(tt, Xr), Eo && zs(tt, ln), Dr; | |
| if (Xr === null) { | |
| for (; ln < at.length; ln++) Xr = Kt(tt, at[ln], tr), Xr !== null && (We = M(Xr, We, ln), Yr === null ? Dr = Xr : Yr.sibling = Xr, Yr = Xr); | |
| return Eo && zs(tt, ln), Dr; | |
| } | |
| for (Xr = v(tt, Xr); ln < at.length; ln++) gi = Cr(Xr, tt, ln, at[ln], tr), gi !== null && (n && gi.alternate !== null && Xr.delete(gi.key === null ? ln : gi.key), We = M(gi, We, ln), Yr === null ? Dr = gi : Yr.sibling = gi, Yr = gi); | |
| return n && Xr.forEach(function(Is) { | |
| return s(tt, Is); | |
| }), Eo && zs(tt, ln), Dr; | |
| } | |
| function Nr(tt, We, at, tr) { | |
| var Dr = me(at); | |
| if (typeof Dr != "function") throw Error(r(150)); | |
| if (at = Dr.call(at), at == null) throw Error(r(151)); | |
| for (var Yr = Dr = null, Xr = We, ln = We = 0, gi = null, Un = at.next(); Xr !== null && !Un.done; ln++, Un = at.next()) { | |
| Xr.index > ln ? (gi = Xr, Xr = null) : gi = Xr.sibling; | |
| var Is = Bt(tt, Xr, Un.value, tr); | |
| if (Is === null) { | |
| Xr === null && (Xr = gi); | |
| break; | |
| } | |
| n && Xr && Is.alternate === null && s(tt, Xr), We = M(Is, We, ln), Yr === null ? Dr = Is : Yr.sibling = Is, Yr = Is, Xr = gi; | |
| } | |
| if (Un.done) return f( | |
| tt, | |
| Xr | |
| ), Eo && zs(tt, ln), Dr; | |
| if (Xr === null) { | |
| for (; !Un.done; ln++, Un = at.next()) Un = Kt(tt, Un.value, tr), Un !== null && (We = M(Un, We, ln), Yr === null ? Dr = Un : Yr.sibling = Un, Yr = Un); | |
| return Eo && zs(tt, ln), Dr; | |
| } | |
| for (Xr = v(tt, Xr); !Un.done; ln++, Un = at.next()) Un = Cr(Xr, tt, ln, Un.value, tr), Un !== null && (n && Un.alternate !== null && Xr.delete(Un.key === null ? ln : Un.key), We = M(Un, We, ln), Yr === null ? Dr = Un : Yr.sibling = Un, Yr = Un); | |
| return n && Xr.forEach(function(A0) { | |
| return s(tt, A0); | |
| }), Eo && zs(tt, ln), Dr; | |
| } | |
| function ri(tt, We, at, tr) { | |
| if (typeof at == "object" && at !== null && at.type === ie && at.key === null && (at = at.props.children), typeof at == "object" && at !== null) { | |
| switch (at.$$typeof) { | |
| case ne: | |
| e: { | |
| for (var Dr = at.key, Yr = We; Yr !== null; ) { | |
| if (Yr.key === Dr) { | |
| if (Dr = at.type, Dr === ie) { | |
| if (Yr.tag === 7) { | |
| f(tt, Yr.sibling), We = P(Yr, at.props.children), We.return = tt, tt = We; | |
| break e; | |
| } | |
| } else if (Yr.elementType === Dr || typeof Dr == "object" && Dr !== null && Dr.$$typeof === Ue && hp(Dr) === Yr.type) { | |
| f(tt, Yr.sibling), We = P(Yr, at.props), We.ref = Zu(tt, Yr, at), We.return = tt, tt = We; | |
| break e; | |
| } | |
| f(tt, Yr); | |
| break; | |
| } else s(tt, Yr); | |
| Yr = Yr.sibling; | |
| } | |
| at.type === ie ? (We = Cu(at.props.children, tt.mode, tr, at.key), We.return = tt, tt = We) : (tr = ph(at.type, at.key, at.props, null, tt.mode, tr), tr.ref = Zu(tt, We, at), tr.return = tt, tt = tr); | |
| } | |
| return K(tt); | |
| case te: | |
| e: { | |
| for (Yr = at.key; We !== null; ) { | |
| if (We.key === Yr) if (We.tag === 4 && We.stateNode.containerInfo === at.containerInfo && We.stateNode.implementation === at.implementation) { | |
| f(tt, We.sibling), We = P(We, at.children || []), We.return = tt, tt = We; | |
| break e; | |
| } else { | |
| f(tt, We); | |
| break; | |
| } | |
| else s(tt, We); | |
| We = We.sibling; | |
| } | |
| We = Wl(at, tt.mode, tr), We.return = tt, tt = We; | |
| } | |
| return K(tt); | |
| case Ue: | |
| return Yr = at._init, ri(tt, We, Yr(at._payload), tr); | |
| } | |
| if (Pe(at)) return zr(tt, We, at, tr); | |
| if (me(at)) return Nr(tt, We, at, tr); | |
| Df(tt, at); | |
| } | |
| return typeof at == "string" && at !== "" || typeof at == "number" ? (at = "" + at, We !== null && We.tag === 6 ? (f(tt, We.sibling), We = P(We, at), We.return = tt, tt = We) : (f(tt, We), We = mh(at, tt.mode, tr), We.return = tt, tt = We), K(tt)) : f(tt, We); | |
| } | |
| return ri; | |
| } | |
| var Pa = pp(!0), zl = pp(!1), md = Qr(null), vd = null, ec = null, hu = null; | |
| function yd() { | |
| hu = ec = vd = null; | |
| } | |
| function bd(n) { | |
| var s = md.current; | |
| Mr(md), n._currentValue = s; | |
| } | |
| function Bf(n, s, f) { | |
| for (; n !== null; ) { | |
| var v = n.alternate; | |
| if ((n.childLanes & s) !== s ? (n.childLanes |= s, v !== null && (v.childLanes |= s)) : v !== null && (v.childLanes & s) !== s && (v.childLanes |= s), n === f) break; | |
| n = n.return; | |
| } | |
| } | |
| function tc(n, s) { | |
| vd = n, hu = ec = null, n = n.dependencies, n !== null && n.firstContext !== null && ((n.lanes & s) !== 0 && (Ta = !0), n.firstContext = null); | |
| } | |
| function Ia(n) { | |
| var s = n._currentValue; | |
| if (hu !== n) if (n = { context: n, memoizedValue: s, next: null }, ec === null) { | |
| if (vd === null) throw Error(r(308)); | |
| ec = n, vd.dependencies = { lanes: 0, firstContext: n }; | |
| } else ec = ec.next = n; | |
| return s; | |
| } | |
| var al = null; | |
| function xd(n) { | |
| al === null ? al = [n] : al.push(n); | |
| } | |
| function gp(n, s, f, v) { | |
| var P = s.interleaved; | |
| return P === null ? (f.next = f, xd(s)) : (f.next = P.next, P.next = f), s.interleaved = f, rs(n, v); | |
| } | |
| function rs(n, s) { | |
| n.lanes |= s; | |
| var f = n.alternate; | |
| for (f !== null && (f.lanes |= s), f = n, n = n.return; n !== null; ) n.childLanes |= s, f = n.alternate, f !== null && (f.childLanes |= s), f = n, n = n.return; | |
| return f.tag === 3 ? f.stateNode : null; | |
| } | |
| var sl = !1; | |
| function rc(n) { | |
| n.updateQueue = { baseState: n.memoizedState, firstBaseUpdate: null, lastBaseUpdate: null, shared: { pending: null, interleaved: null, lanes: 0 }, effects: null }; | |
| } | |
| function nc(n, s) { | |
| n = n.updateQueue, s.updateQueue === n && (s.updateQueue = { baseState: n.baseState, firstBaseUpdate: n.firstBaseUpdate, lastBaseUpdate: n.lastBaseUpdate, shared: n.shared, effects: n.effects }); | |
| } | |
| function ns(n, s) { | |
| return { eventTime: n, lane: s, tag: 0, payload: null, callback: null, next: null }; | |
| } | |
| function xs(n, s, f) { | |
| var v = n.updateQueue; | |
| if (v === null) return null; | |
| if (v = v.shared, (Nn & 2) !== 0) { | |
| var P = v.pending; | |
| return P === null ? s.next = s : (s.next = P.next, P.next = s), v.pending = s, rs(n, f); | |
| } | |
| return P = v.interleaved, P === null ? (s.next = s, xd(v)) : (s.next = P.next, P.next = s), v.interleaved = s, rs(n, f); | |
| } | |
| function pu(n, s, f) { | |
| if (s = s.updateQueue, s !== null && (s = s.shared, (f & 4194240) !== 0)) { | |
| var v = s.lanes; | |
| v &= n.pendingLanes, f |= v, s.lanes = f, N(n, f); | |
| } | |
| } | |
| function km(n, s) { | |
| var f = n.updateQueue, v = n.alternate; | |
| if (v !== null && (v = v.updateQueue, f === v)) { | |
| var P = null, M = null; | |
| if (f = f.firstBaseUpdate, f !== null) { | |
| do { | |
| var K = { eventTime: f.eventTime, lane: f.lane, tag: f.tag, payload: f.payload, callback: f.callback, next: null }; | |
| M === null ? P = M = K : M = M.next = K, f = f.next; | |
| } while (f !== null); | |
| M === null ? P = M = s : M = M.next = s; | |
| } else P = M = s; | |
| f = { baseState: v.baseState, firstBaseUpdate: P, lastBaseUpdate: M, shared: v.shared, effects: v.effects }, n.updateQueue = f; | |
| return; | |
| } | |
| n = f.lastBaseUpdate, n === null ? f.firstBaseUpdate = s : n.next = s, f.lastBaseUpdate = s; | |
| } | |
| function Hf(n, s, f, v) { | |
| var P = n.updateQueue; | |
| sl = !1; | |
| var M = P.firstBaseUpdate, K = P.lastBaseUpdate, we = P.shared.pending; | |
| if (we !== null) { | |
| P.shared.pending = null; | |
| var Te = we, ct = Te.next; | |
| Te.next = null, K === null ? M = ct : K.next = ct, K = Te; | |
| var Wt = n.alternate; | |
| Wt !== null && (Wt = Wt.updateQueue, we = Wt.lastBaseUpdate, we !== K && (we === null ? Wt.firstBaseUpdate = ct : we.next = ct, Wt.lastBaseUpdate = Te)); | |
| } | |
| if (M !== null) { | |
| var Kt = P.baseState; | |
| K = 0, Wt = ct = Te = null, we = M; | |
| do { | |
| var Bt = we.lane, Cr = we.eventTime; | |
| if ((v & Bt) === Bt) { | |
| Wt !== null && (Wt = Wt.next = { | |
| eventTime: Cr, | |
| lane: 0, | |
| tag: we.tag, | |
| payload: we.payload, | |
| callback: we.callback, | |
| next: null | |
| }); | |
| e: { | |
| var zr = n, Nr = we; | |
| switch (Bt = s, Cr = f, Nr.tag) { | |
| case 1: | |
| if (zr = Nr.payload, typeof zr == "function") { | |
| Kt = zr.call(Cr, Kt, Bt); | |
| break e; | |
| } | |
| Kt = zr; | |
| break e; | |
| case 3: | |
| zr.flags = zr.flags & -65537 | 128; | |
| case 0: | |
| if (zr = Nr.payload, Bt = typeof zr == "function" ? zr.call(Cr, Kt, Bt) : zr, Bt == null) break e; | |
| Kt = ve({}, Kt, Bt); | |
| break e; | |
| case 2: | |
| sl = !0; | |
| } | |
| } | |
| we.callback !== null && we.lane !== 0 && (n.flags |= 64, Bt = P.effects, Bt === null ? P.effects = [we] : Bt.push(we)); | |
| } else Cr = { eventTime: Cr, lane: Bt, tag: we.tag, payload: we.payload, callback: we.callback, next: null }, Wt === null ? (ct = Wt = Cr, Te = Kt) : Wt = Wt.next = Cr, K |= Bt; | |
| if (we = we.next, we === null) { | |
| if (we = P.shared.pending, we === null) break; | |
| Bt = we, we = Bt.next, Bt.next = null, P.lastBaseUpdate = Bt, P.shared.pending = null; | |
| } | |
| } while (!0); | |
| if (Wt === null && (Te = Kt), P.baseState = Te, P.firstBaseUpdate = ct, P.lastBaseUpdate = Wt, s = P.shared.interleaved, s !== null) { | |
| P = s; | |
| do | |
| K |= P.lane, P = P.next; | |
| while (P !== s); | |
| } else M === null && (P.shared.lanes = 0); | |
| Es |= K, n.lanes = K, n.memoizedState = Kt; | |
| } | |
| } | |
| function Cm(n, s, f) { | |
| if (n = s.effects, s.effects = null, n !== null) for (s = 0; s < n.length; s++) { | |
| var v = n[s], P = v.callback; | |
| if (P !== null) { | |
| if (v.callback = null, v = f, typeof P != "function") throw Error(r(191, P)); | |
| P.call(v); | |
| } | |
| } | |
| } | |
| var wd = {}, Fs = Qr(wd), Sd = Qr(wd), kd = Qr(wd); | |
| function gu(n) { | |
| if (n === wd) throw Error(r(174)); | |
| return n; | |
| } | |
| function mp(n, s) { | |
| switch (tn(kd, s), tn(Sd, n), tn(Fs, wd), n = s.nodeType, n) { | |
| case 9: | |
| case 11: | |
| s = (s = s.documentElement) ? s.namespaceURI : Ot(null, ""); | |
| break; | |
| default: | |
| n = n === 8 ? s.parentNode : s, s = n.namespaceURI || null, n = n.tagName, s = Ot(s, n); | |
| } | |
| Mr(Fs), tn(Fs, s); | |
| } | |
| function oc() { | |
| Mr(Fs), Mr(Sd), Mr(kd); | |
| } | |
| function Cd(n) { | |
| gu(kd.current); | |
| var s = gu(Fs.current), f = Ot(s, n.type); | |
| s !== f && (tn(Sd, n), tn(Fs, f)); | |
| } | |
| function ic(n) { | |
| Sd.current === n && (Mr(Fs), Mr(Sd)); | |
| } | |
| var qo = Qr(0); | |
| function Ed(n) { | |
| for (var s = n; s !== null; ) { | |
| if (s.tag === 13) { | |
| var f = s.memoizedState; | |
| if (f !== null && (f = f.dehydrated, f === null || f.data === "$?" || f.data === "$!")) return s; | |
| } else if (s.tag === 19 && s.memoizedProps.revealOrder !== void 0) { | |
| if ((s.flags & 128) !== 0) return s; | |
| } else if (s.child !== null) { | |
| s.child.return = s, s = s.child; | |
| continue; | |
| } | |
| if (s === n) break; | |
| for (; s.sibling === null; ) { | |
| if (s.return === null || s.return === n) return null; | |
| s = s.return; | |
| } | |
| s.sibling.return = s.return, s = s.sibling; | |
| } | |
| return null; | |
| } | |
| var Wf = []; | |
| function ac() { | |
| for (var n = 0; n < Wf.length; n++) Wf[n]._workInProgressVersionPrimary = null; | |
| Wf.length = 0; | |
| } | |
| var sc = Z.ReactCurrentDispatcher, Uf = Z.ReactCurrentBatchConfig, Fl = 0, No = null, jo = null, Zo = null, Nl = !1, lc = !1, uc = 0, S0 = 0; | |
| function Ii() { | |
| throw Error(r(321)); | |
| } | |
| function Od(n, s) { | |
| if (s === null) return !1; | |
| for (var f = 0; f < s.length && f < n.length; f++) if (!Bi(n[f], s[f])) return !1; | |
| return !0; | |
| } | |
| function vp(n, s, f, v, P, M) { | |
| if (Fl = M, No = s, s.memoizedState = null, s.updateQueue = null, s.lanes = 0, sc.current = n === null || n.memoizedState === null ? E0 : O0, n = f(v, P), lc) { | |
| M = 0; | |
| do { | |
| if (lc = !1, uc = 0, 25 <= M) throw Error(r(301)); | |
| M += 1, Zo = jo = null, s.updateQueue = null, sc.current = P0, n = f(v, P); | |
| } while (lc); | |
| } | |
| if (sc.current = Qf, s = jo !== null && jo.next !== null, Fl = 0, Zo = jo = No = null, Nl = !1, s) throw Error(r(300)); | |
| return n; | |
| } | |
| function yp() { | |
| var n = uc !== 0; | |
| return uc = 0, n; | |
| } | |
| function Ns() { | |
| var n = { memoizedState: null, baseState: null, baseQueue: null, queue: null, next: null }; | |
| return Zo === null ? No.memoizedState = Zo = n : Zo = Zo.next = n, Zo; | |
| } | |
| function os() { | |
| if (jo === null) { | |
| var n = No.alternate; | |
| n = n !== null ? n.memoizedState : null; | |
| } else n = jo.next; | |
| var s = Zo === null ? No.memoizedState : Zo.next; | |
| if (s !== null) Zo = s, jo = n; | |
| else { | |
| if (n === null) throw Error(r(310)); | |
| jo = n, n = { memoizedState: jo.memoizedState, baseState: jo.baseState, baseQueue: jo.baseQueue, queue: jo.queue, next: null }, Zo === null ? No.memoizedState = Zo = n : Zo = Zo.next = n; | |
| } | |
| return Zo; | |
| } | |
| function cc(n, s) { | |
| return typeof s == "function" ? s(n) : s; | |
| } | |
| function $f(n) { | |
| var s = os(), f = s.queue; | |
| if (f === null) throw Error(r(311)); | |
| f.lastRenderedReducer = n; | |
| var v = jo, P = v.baseQueue, M = f.pending; | |
| if (M !== null) { | |
| if (P !== null) { | |
| var K = P.next; | |
| P.next = M.next, M.next = K; | |
| } | |
| v.baseQueue = P = M, f.pending = null; | |
| } | |
| if (P !== null) { | |
| M = P.next, v = v.baseState; | |
| var we = K = null, Te = null, ct = M; | |
| do { | |
| var Wt = ct.lane; | |
| if ((Fl & Wt) === Wt) Te !== null && (Te = Te.next = { lane: 0, action: ct.action, hasEagerState: ct.hasEagerState, eagerState: ct.eagerState, next: null }), v = ct.hasEagerState ? ct.eagerState : n(v, ct.action); | |
| else { | |
| var Kt = { | |
| lane: Wt, | |
| action: ct.action, | |
| hasEagerState: ct.hasEagerState, | |
| eagerState: ct.eagerState, | |
| next: null | |
| }; | |
| Te === null ? (we = Te = Kt, K = v) : Te = Te.next = Kt, No.lanes |= Wt, Es |= Wt; | |
| } | |
| ct = ct.next; | |
| } while (ct !== null && ct !== M); | |
| Te === null ? K = v : Te.next = we, Bi(v, s.memoizedState) || (Ta = !0), s.memoizedState = v, s.baseState = K, s.baseQueue = Te, f.lastRenderedState = v; | |
| } | |
| if (n = f.interleaved, n !== null) { | |
| P = n; | |
| do | |
| M = P.lane, No.lanes |= M, Es |= M, P = P.next; | |
| while (P !== n); | |
| } else P === null && (f.lanes = 0); | |
| return [s.memoizedState, f.dispatch]; | |
| } | |
| function bp(n) { | |
| var s = os(), f = s.queue; | |
| if (f === null) throw Error(r(311)); | |
| f.lastRenderedReducer = n; | |
| var v = f.dispatch, P = f.pending, M = s.memoizedState; | |
| if (P !== null) { | |
| f.pending = null; | |
| var K = P = P.next; | |
| do | |
| M = n(M, K.action), K = K.next; | |
| while (K !== P); | |
| Bi(M, s.memoizedState) || (Ta = !0), s.memoizedState = M, s.baseQueue === null && (s.baseState = M), f.lastRenderedState = M; | |
| } | |
| return [M, v]; | |
| } | |
| function Em() { | |
| } | |
| function Om(n, s) { | |
| var f = No, v = os(), P = s(), M = !Bi(v.memoizedState, P); | |
| if (M && (v.memoizedState = P, Ta = !0), v = v.queue, xp(ws.bind(null, f, v, n), [n]), v.getSnapshot !== s || M || Zo !== null && Zo.memoizedState.tag & 1) { | |
| if (f.flags |= 2048, Id(9, Vf.bind(null, f, v, P, s), void 0, null), Ti === null) throw Error(r(349)); | |
| (Fl & 30) !== 0 || Pd(f, s, P); | |
| } | |
| return P; | |
| } | |
| function Pd(n, s, f) { | |
| n.flags |= 16384, n = { getSnapshot: s, value: f }, s = No.updateQueue, s === null ? (s = { lastEffect: null, stores: null }, No.updateQueue = s, s.stores = [n]) : (f = s.stores, f === null ? s.stores = [n] : f.push(n)); | |
| } | |
| function Vf(n, s, f, v) { | |
| s.value = f, s.getSnapshot = v, Pm(s) && Im(n); | |
| } | |
| function ws(n, s, f) { | |
| return f(function() { | |
| Pm(s) && Im(n); | |
| }); | |
| } | |
| function Pm(n) { | |
| var s = n.getSnapshot; | |
| n = n.value; | |
| try { | |
| var f = s(); | |
| return !Bi(n, f); | |
| } catch { | |
| return !0; | |
| } | |
| } | |
| function Im(n) { | |
| var s = rs(n, 1); | |
| s !== null && as(s, n, 1, -1); | |
| } | |
| function Tm(n) { | |
| var s = Ns(); | |
| return typeof n == "function" && (n = n()), s.memoizedState = s.baseState = n, n = { pending: null, interleaved: null, lanes: 0, dispatch: null, lastRenderedReducer: cc, lastRenderedState: n }, s.queue = n, n = n.dispatch = C0.bind(null, No, n), [s.memoizedState, n]; | |
| } | |
| function Id(n, s, f, v) { | |
| return n = { tag: n, create: s, destroy: f, deps: v, next: null }, s = No.updateQueue, s === null ? (s = { lastEffect: null, stores: null }, No.updateQueue = s, s.lastEffect = n.next = n) : (f = s.lastEffect, f === null ? s.lastEffect = n.next = n : (v = f.next, f.next = n, n.next = v, s.lastEffect = n)), n; | |
| } | |
| function Rm() { | |
| return os().memoizedState; | |
| } | |
| function Td(n, s, f, v) { | |
| var P = Ns(); | |
| No.flags |= n, P.memoizedState = Id(1 | s, f, void 0, v === void 0 ? null : v); | |
| } | |
| function qf(n, s, f, v) { | |
| var P = os(); | |
| v = v === void 0 ? null : v; | |
| var M = void 0; | |
| if (jo !== null) { | |
| var K = jo.memoizedState; | |
| if (M = K.destroy, v !== null && Od(v, K.deps)) { | |
| P.memoizedState = Id(s, f, M, v); | |
| return; | |
| } | |
| } | |
| No.flags |= n, P.memoizedState = Id(1 | s, f, M, v); | |
| } | |
| function _m(n, s) { | |
| return Td(8390656, 8, n, s); | |
| } | |
| function xp(n, s) { | |
| return qf(2048, 8, n, s); | |
| } | |
| function Am(n, s) { | |
| return qf(4, 2, n, s); | |
| } | |
| function Lm(n, s) { | |
| return qf(4, 4, n, s); | |
| } | |
| function mu(n, s) { | |
| if (typeof s == "function") return n = n(), s(n), function() { | |
| s(null); | |
| }; | |
| if (s != null) return n = n(), s.current = n, function() { | |
| s.current = null; | |
| }; | |
| } | |
| function dc(n, s, f) { | |
| return f = f != null ? f.concat([n]) : null, qf(4, 4, mu.bind(null, s, n), f); | |
| } | |
| function Gf() { | |
| } | |
| function wp(n, s) { | |
| var f = os(); | |
| s = s === void 0 ? null : s; | |
| var v = f.memoizedState; | |
| return v !== null && s !== null && Od(s, v[1]) ? v[0] : (f.memoizedState = [n, s], n); | |
| } | |
| function Yf(n, s) { | |
| var f = os(); | |
| s = s === void 0 ? null : s; | |
| var v = f.memoizedState; | |
| return v !== null && s !== null && Od(s, v[1]) ? v[0] : (n = n(), f.memoizedState = [n, s], n); | |
| } | |
| function Kf(n, s, f) { | |
| return (Fl & 21) === 0 ? (n.baseState && (n.baseState = !1, Ta = !0), n.memoizedState = f) : (Bi(f, s) || (f = ge(), No.lanes |= f, Es |= f, n.baseState = !0), s); | |
| } | |
| function fc(n, s) { | |
| var f = q; | |
| q = f !== 0 && 4 > f ? f : 4, n(!0); | |
| var v = Uf.transition; | |
| Uf.transition = {}; | |
| try { | |
| n(!1), s(); | |
| } finally { | |
| q = f, Uf.transition = v; | |
| } | |
| } | |
| function Sp() { | |
| return os().memoizedState; | |
| } | |
| function k0(n, s, f) { | |
| var v = Ps(n); | |
| if (f = { lane: v, action: f, hasEagerState: !1, eagerState: null, next: null }, Mm(n)) zm(s, f); | |
| else if (f = gp(n, s, f, v), f !== null) { | |
| var P = ca(); | |
| as(f, n, v, P), Xf(f, s, v); | |
| } | |
| } | |
| function C0(n, s, f) { | |
| var v = Ps(n), P = { lane: v, action: f, hasEagerState: !1, eagerState: null, next: null }; | |
| if (Mm(n)) zm(s, P); | |
| else { | |
| var M = n.alternate; | |
| if (n.lanes === 0 && (M === null || M.lanes === 0) && (M = s.lastRenderedReducer, M !== null)) try { | |
| var K = s.lastRenderedState, we = M(K, f); | |
| if (P.hasEagerState = !0, P.eagerState = we, Bi(we, K)) { | |
| var Te = s.interleaved; | |
| Te === null ? (P.next = P, xd(s)) : (P.next = Te.next, Te.next = P), s.interleaved = P; | |
| return; | |
| } | |
| } catch { | |
| } finally { | |
| } | |
| f = gp(n, s, P, v), f !== null && (P = ca(), as(f, n, v, P), Xf(f, s, v)); | |
| } | |
| } | |
| function Mm(n) { | |
| var s = n.alternate; | |
| return n === No || s !== null && s === No; | |
| } | |
| function zm(n, s) { | |
| lc = Nl = !0; | |
| var f = n.pending; | |
| f === null ? s.next = s : (s.next = f.next, f.next = s), n.pending = s; | |
| } | |
| function Xf(n, s, f) { | |
| if ((f & 4194240) !== 0) { | |
| var v = s.lanes; | |
| v &= n.pendingLanes, f |= v, s.lanes = f, N(n, f); | |
| } | |
| } | |
| var Qf = { readContext: Ia, useCallback: Ii, useContext: Ii, useEffect: Ii, useImperativeHandle: Ii, useInsertionEffect: Ii, useLayoutEffect: Ii, useMemo: Ii, useReducer: Ii, useRef: Ii, useState: Ii, useDebugValue: Ii, useDeferredValue: Ii, useTransition: Ii, useMutableSource: Ii, useSyncExternalStore: Ii, useId: Ii, unstable_isNewReconciler: !1 }, E0 = { readContext: Ia, useCallback: function(n, s) { | |
| return Ns().memoizedState = [n, s === void 0 ? null : s], n; | |
| }, useContext: Ia, useEffect: _m, useImperativeHandle: function(n, s, f) { | |
| return f = f != null ? f.concat([n]) : null, Td( | |
| 4194308, | |
| 4, | |
| mu.bind(null, s, n), | |
| f | |
| ); | |
| }, useLayoutEffect: function(n, s) { | |
| return Td(4194308, 4, n, s); | |
| }, useInsertionEffect: function(n, s) { | |
| return Td(4, 2, n, s); | |
| }, useMemo: function(n, s) { | |
| var f = Ns(); | |
| return s = s === void 0 ? null : s, n = n(), f.memoizedState = [n, s], n; | |
| }, useReducer: function(n, s, f) { | |
| var v = Ns(); | |
| return s = f !== void 0 ? f(s) : s, v.memoizedState = v.baseState = s, n = { pending: null, interleaved: null, lanes: 0, dispatch: null, lastRenderedReducer: n, lastRenderedState: s }, v.queue = n, n = n.dispatch = k0.bind(null, No, n), [v.memoizedState, n]; | |
| }, useRef: function(n) { | |
| var s = Ns(); | |
| return n = { current: n }, s.memoizedState = n; | |
| }, useState: Tm, useDebugValue: Gf, useDeferredValue: function(n) { | |
| return Ns().memoizedState = n; | |
| }, useTransition: function() { | |
| var n = Tm(!1), s = n[0]; | |
| return n = fc.bind(null, n[1]), Ns().memoizedState = n, [s, n]; | |
| }, useMutableSource: function() { | |
| }, useSyncExternalStore: function(n, s, f) { | |
| var v = No, P = Ns(); | |
| if (Eo) { | |
| if (f === void 0) throw Error(r(407)); | |
| f = f(); | |
| } else { | |
| if (f = s(), Ti === null) throw Error(r(349)); | |
| (Fl & 30) !== 0 || Pd(v, s, f); | |
| } | |
| P.memoizedState = f; | |
| var M = { value: f, getSnapshot: s }; | |
| return P.queue = M, _m(ws.bind( | |
| null, | |
| v, | |
| M, | |
| n | |
| ), [n]), v.flags |= 2048, Id(9, Vf.bind(null, v, M, f, s), void 0, null), f; | |
| }, useId: function() { | |
| var n = Ns(), s = Ti.identifierPrefix; | |
| if (Eo) { | |
| var f = Oa, v = ma; | |
| f = (v & ~(1 << 32 - Io(v) - 1)).toString(32) + f, s = ":" + s + "R" + f, f = uc++, 0 < f && (s += "H" + f.toString(32)), s += ":"; | |
| } else f = S0++, s = ":" + s + "r" + f.toString(32) + ":"; | |
| return n.memoizedState = s; | |
| }, unstable_isNewReconciler: !1 }, O0 = { | |
| readContext: Ia, | |
| useCallback: wp, | |
| useContext: Ia, | |
| useEffect: xp, | |
| useImperativeHandle: dc, | |
| useInsertionEffect: Am, | |
| useLayoutEffect: Lm, | |
| useMemo: Yf, | |
| useReducer: $f, | |
| useRef: Rm, | |
| useState: function() { | |
| return $f(cc); | |
| }, | |
| useDebugValue: Gf, | |
| useDeferredValue: function(n) { | |
| var s = os(); | |
| return Kf(s, jo.memoizedState, n); | |
| }, | |
| useTransition: function() { | |
| var n = $f(cc)[0], s = os().memoizedState; | |
| return [n, s]; | |
| }, | |
| useMutableSource: Em, | |
| useSyncExternalStore: Om, | |
| useId: Sp, | |
| unstable_isNewReconciler: !1 | |
| }, P0 = { readContext: Ia, useCallback: wp, useContext: Ia, useEffect: xp, useImperativeHandle: dc, useInsertionEffect: Am, useLayoutEffect: Lm, useMemo: Yf, useReducer: bp, useRef: Rm, useState: function() { | |
| return bp(cc); | |
| }, useDebugValue: Gf, useDeferredValue: function(n) { | |
| var s = os(); | |
| return jo === null ? s.memoizedState = n : Kf(s, jo.memoizedState, n); | |
| }, useTransition: function() { | |
| var n = bp(cc)[0], s = os().memoizedState; | |
| return [n, s]; | |
| }, useMutableSource: Em, useSyncExternalStore: Om, useId: Sp, unstable_isNewReconciler: !1 }; | |
| function Ss(n, s) { | |
| if (n && n.defaultProps) { | |
| s = ve({}, s), n = n.defaultProps; | |
| for (var f in n) s[f] === void 0 && (s[f] = n[f]); | |
| return s; | |
| } | |
| return s; | |
| } | |
| function vu(n, s, f, v) { | |
| s = n.memoizedState, f = f(v, s), f = f == null ? s : ve({}, s, f), n.memoizedState = f, n.lanes === 0 && (n.updateQueue.baseState = f); | |
| } | |
| var Jf = { isMounted: function(n) { | |
| return (n = n._reactInternals) ? zo(n) === n : !1; | |
| }, enqueueSetState: function(n, s, f) { | |
| n = n._reactInternals; | |
| var v = ca(), P = Ps(n), M = ns(v, P); | |
| M.payload = s, f != null && (M.callback = f), s = xs(n, M, P), s !== null && (as(s, n, P, v), pu(s, n, P)); | |
| }, enqueueReplaceState: function(n, s, f) { | |
| n = n._reactInternals; | |
| var v = ca(), P = Ps(n), M = ns(v, P); | |
| M.tag = 1, M.payload = s, f != null && (M.callback = f), s = xs(n, M, P), s !== null && (as(s, n, P, v), pu(s, n, P)); | |
| }, enqueueForceUpdate: function(n, s) { | |
| n = n._reactInternals; | |
| var f = ca(), v = Ps(n), P = ns(f, v); | |
| P.tag = 2, s != null && (P.callback = s), s = xs(n, P, v), s !== null && (as(s, n, v, f), pu(s, n, v)); | |
| } }; | |
| function Fm(n, s, f, v, P, M, K) { | |
| return n = n.stateNode, typeof n.shouldComponentUpdate == "function" ? n.shouldComponentUpdate(v, M, K) : s.prototype && s.prototype.isPureReactComponent ? !Il(f, v) || !Il(P, M) : !0; | |
| } | |
| function Nm(n, s, f) { | |
| var v = !1, P = Gr, M = s.contextType; | |
| return typeof M == "object" && M !== null ? M = Ia(M) : (P = bn(s) ? Gn : Br.current, v = s.contextTypes, M = (v = v != null) ? Yn(n, P) : Gr), s = new s(f, M), n.memoizedState = s.state !== null && s.state !== void 0 ? s.state : null, s.updater = Jf, n.stateNode = s, s._reactInternals = n, v && (n = n.stateNode, n.__reactInternalMemoizedUnmaskedChildContext = P, n.__reactInternalMemoizedMaskedChildContext = M), s; | |
| } | |
| function jm(n, s, f, v) { | |
| n = s.state, typeof s.componentWillReceiveProps == "function" && s.componentWillReceiveProps(f, v), typeof s.UNSAFE_componentWillReceiveProps == "function" && s.UNSAFE_componentWillReceiveProps(f, v), s.state !== n && Jf.enqueueReplaceState(s, s.state, null); | |
| } | |
| function kp(n, s, f, v) { | |
| var P = n.stateNode; | |
| P.props = f, P.state = n.memoizedState, P.refs = {}, rc(n); | |
| var M = s.contextType; | |
| typeof M == "object" && M !== null ? P.context = Ia(M) : (M = bn(s) ? Gn : Br.current, P.context = Yn(n, M)), P.state = n.memoizedState, M = s.getDerivedStateFromProps, typeof M == "function" && (vu(n, s, M, f), P.state = n.memoizedState), typeof s.getDerivedStateFromProps == "function" || typeof P.getSnapshotBeforeUpdate == "function" || typeof P.UNSAFE_componentWillMount != "function" && typeof P.componentWillMount != "function" || (s = P.state, typeof P.componentWillMount == "function" && P.componentWillMount(), typeof P.UNSAFE_componentWillMount == "function" && P.UNSAFE_componentWillMount(), s !== P.state && Jf.enqueueReplaceState(P, P.state, null), Hf(n, f, P, v), P.state = n.memoizedState), typeof P.componentDidMount == "function" && (n.flags |= 4194308); | |
| } | |
| function hc(n, s) { | |
| try { | |
| var f = "", v = s; | |
| do | |
| f += lt(v), v = v.return; | |
| while (v); | |
| var P = f; | |
| } catch (M) { | |
| P = ` | |
| Error generating stack: ` + M.message + ` | |
| ` + M.stack; | |
| } | |
| return { value: n, source: s, stack: P, digest: null }; | |
| } | |
| function Cp(n, s, f) { | |
| return { value: n, source: null, stack: f ?? null, digest: s ?? null }; | |
| } | |
| function Ep(n, s) { | |
| try { | |
| console.error(s.value); | |
| } catch (f) { | |
| setTimeout(function() { | |
| throw f; | |
| }); | |
| } | |
| } | |
| var Rd = typeof WeakMap == "function" ? WeakMap : Map; | |
| function Dm(n, s, f) { | |
| f = ns(-1, f), f.tag = 3, f.payload = { element: null }; | |
| var v = s.value; | |
| return f.callback = function() { | |
| sh || (sh = !0, wc = v), Ep(n, s); | |
| }, f; | |
| } | |
| function Bm(n, s, f) { | |
| f = ns(-1, f), f.tag = 3; | |
| var v = n.type.getDerivedStateFromError; | |
| if (typeof v == "function") { | |
| var P = s.value; | |
| f.payload = function() { | |
| return v(P); | |
| }, f.callback = function() { | |
| Ep(n, s); | |
| }; | |
| } | |
| var M = n.stateNode; | |
| return M !== null && typeof M.componentDidCatch == "function" && (f.callback = function() { | |
| Ep(n, s), typeof v != "function" && (Os === null ? Os = /* @__PURE__ */ new Set([this]) : Os.add(this)); | |
| var K = s.stack; | |
| this.componentDidCatch(s.value, { componentStack: K !== null ? K : "" }); | |
| }), f; | |
| } | |
| function Op(n, s, f) { | |
| var v = n.pingCache; | |
| if (v === null) { | |
| v = n.pingCache = new Rd(); | |
| var P = /* @__PURE__ */ new Set(); | |
| v.set(s, P); | |
| } else P = v.get(s), P === void 0 && (P = /* @__PURE__ */ new Set(), v.set(s, P)); | |
| P.has(f) || (P.add(f), n = Zm.bind(null, n, s, f), s.then(n, n)); | |
| } | |
| function Hm(n) { | |
| do { | |
| var s; | |
| if ((s = n.tag === 13) && (s = n.memoizedState, s = s !== null ? s.dehydrated !== null : !0), s) return n; | |
| n = n.return; | |
| } while (n !== null); | |
| return null; | |
| } | |
| function Wm(n, s, f, v, P) { | |
| return (n.mode & 1) === 0 ? (n === s ? n.flags |= 65536 : (n.flags |= 128, f.flags |= 131072, f.flags &= -52805, f.tag === 1 && (f.alternate === null ? f.tag = 17 : (s = ns(-1, 1), s.tag = 2, xs(f, s, 1))), f.lanes |= 1), n) : (n.flags |= 65536, n.lanes = P, n); | |
| } | |
| var Pp = Z.ReactCurrentOwner, Ta = !1; | |
| function va(n, s, f, v) { | |
| s.child = n === null ? zl(s, null, f, v) : Pa(s, n.child, f, v); | |
| } | |
| function Ip(n, s, f, v, P) { | |
| f = f.render; | |
| var M = s.ref; | |
| return tc(s, P), v = vp(n, s, f, v, M, P), f = yp(), n !== null && !Ta ? (s.updateQueue = n.updateQueue, s.flags &= -2053, n.lanes &= ~P, ks(n, s, P)) : (Eo && f && du(s), s.flags |= 1, va(n, s, v, P), s.child); | |
| } | |
| function Um(n, s, f, v, P) { | |
| if (n === null) { | |
| var M = f.type; | |
| return typeof M == "function" && !hh(M) && M.defaultProps === void 0 && f.compare === null && f.defaultProps === void 0 ? (s.tag = 15, s.type = M, Tp(n, s, M, v, P)) : (n = ph(f.type, null, v, s, s.mode, P), n.ref = s.ref, n.return = s, s.child = n); | |
| } | |
| if (M = n.child, (n.lanes & P) === 0) { | |
| var K = M.memoizedProps; | |
| if (f = f.compare, f = f !== null ? f : Il, f(K, v) && n.ref === s.ref) return ks(n, s, P); | |
| } | |
| return s.flags |= 1, n = dl(M, v), n.ref = s.ref, n.return = s, s.child = n; | |
| } | |
| function Tp(n, s, f, v, P) { | |
| if (n !== null) { | |
| var M = n.memoizedProps; | |
| if (Il(M, v) && n.ref === s.ref) if (Ta = !1, s.pendingProps = v = M, (n.lanes & P) !== 0) (n.flags & 131072) !== 0 && (Ta = !0); | |
| else return s.lanes = n.lanes, ks(n, s, P); | |
| } | |
| return _p(n, s, f, v, P); | |
| } | |
| function Rp(n, s, f) { | |
| var v = s.pendingProps, P = v.children, M = n !== null ? n.memoizedState : null; | |
| if (v.mode === "hidden") if ((s.mode & 1) === 0) s.memoizedState = { baseLanes: 0, cachePool: null, transitions: null }, tn(xn, Qi), Qi |= f; | |
| else { | |
| if ((f & 1073741824) === 0) return n = M !== null ? M.baseLanes | f : f, s.lanes = s.childLanes = 1073741824, s.memoizedState = { baseLanes: n, cachePool: null, transitions: null }, s.updateQueue = null, tn(xn, Qi), Qi |= n, null; | |
| s.memoizedState = { baseLanes: 0, cachePool: null, transitions: null }, v = M !== null ? M.baseLanes : f, tn(xn, Qi), Qi |= v; | |
| } | |
| else M !== null ? (v = M.baseLanes | f, s.memoizedState = null) : v = f, tn(xn, Qi), Qi |= v; | |
| return va(n, s, P, f), s.child; | |
| } | |
| function $m(n, s) { | |
| var f = s.ref; | |
| (n === null && f !== null || n !== null && n.ref !== f) && (s.flags |= 512, s.flags |= 2097152); | |
| } | |
| function _p(n, s, f, v, P) { | |
| var M = bn(f) ? Gn : Br.current; | |
| return M = Yn(s, M), tc(s, P), f = vp(n, s, f, v, M, P), v = yp(), n !== null && !Ta ? (s.updateQueue = n.updateQueue, s.flags &= -2053, n.lanes &= ~P, ks(n, s, P)) : (Eo && v && du(s), s.flags |= 1, va(n, s, f, P), s.child); | |
| } | |
| function Vm(n, s, f, v, P) { | |
| if (bn(f)) { | |
| var M = !0; | |
| di(s); | |
| } else M = !1; | |
| if (tc(s, P), s.stateNode === null) mc(n, s), Nm(s, f, v), kp(s, f, v, P), v = !0; | |
| else if (n === null) { | |
| var K = s.stateNode, we = s.memoizedProps; | |
| K.props = we; | |
| var Te = K.context, ct = f.contextType; | |
| typeof ct == "object" && ct !== null ? ct = Ia(ct) : (ct = bn(f) ? Gn : Br.current, ct = Yn(s, ct)); | |
| var Wt = f.getDerivedStateFromProps, Kt = typeof Wt == "function" || typeof K.getSnapshotBeforeUpdate == "function"; | |
| Kt || typeof K.UNSAFE_componentWillReceiveProps != "function" && typeof K.componentWillReceiveProps != "function" || (we !== v || Te !== ct) && jm(s, K, v, ct), sl = !1; | |
| var Bt = s.memoizedState; | |
| K.state = Bt, Hf(s, v, K, P), Te = s.memoizedState, we !== v || Bt !== Te || rn.current || sl ? (typeof Wt == "function" && (vu(s, f, Wt, v), Te = s.memoizedState), (we = sl || Fm(s, f, we, v, Bt, Te, ct)) ? (Kt || typeof K.UNSAFE_componentWillMount != "function" && typeof K.componentWillMount != "function" || (typeof K.componentWillMount == "function" && K.componentWillMount(), typeof K.UNSAFE_componentWillMount == "function" && K.UNSAFE_componentWillMount()), typeof K.componentDidMount == "function" && (s.flags |= 4194308)) : (typeof K.componentDidMount == "function" && (s.flags |= 4194308), s.memoizedProps = v, s.memoizedState = Te), K.props = v, K.state = Te, K.context = ct, v = we) : (typeof K.componentDidMount == "function" && (s.flags |= 4194308), v = !1); | |
| } else { | |
| K = s.stateNode, nc(n, s), we = s.memoizedProps, ct = s.type === s.elementType ? we : Ss(s.type, we), K.props = ct, Kt = s.pendingProps, Bt = K.context, Te = f.contextType, typeof Te == "object" && Te !== null ? Te = Ia(Te) : (Te = bn(f) ? Gn : Br.current, Te = Yn(s, Te)); | |
| var Cr = f.getDerivedStateFromProps; | |
| (Wt = typeof Cr == "function" || typeof K.getSnapshotBeforeUpdate == "function") || typeof K.UNSAFE_componentWillReceiveProps != "function" && typeof K.componentWillReceiveProps != "function" || (we !== Kt || Bt !== Te) && jm(s, K, v, Te), sl = !1, Bt = s.memoizedState, K.state = Bt, Hf(s, v, K, P); | |
| var zr = s.memoizedState; | |
| we !== Kt || Bt !== zr || rn.current || sl ? (typeof Cr == "function" && (vu(s, f, Cr, v), zr = s.memoizedState), (ct = sl || Fm(s, f, ct, v, Bt, zr, Te) || !1) ? (Wt || typeof K.UNSAFE_componentWillUpdate != "function" && typeof K.componentWillUpdate != "function" || (typeof K.componentWillUpdate == "function" && K.componentWillUpdate(v, zr, Te), typeof K.UNSAFE_componentWillUpdate == "function" && K.UNSAFE_componentWillUpdate(v, zr, Te)), typeof K.componentDidUpdate == "function" && (s.flags |= 4), typeof K.getSnapshotBeforeUpdate == "function" && (s.flags |= 1024)) : (typeof K.componentDidUpdate != "function" || we === n.memoizedProps && Bt === n.memoizedState || (s.flags |= 4), typeof K.getSnapshotBeforeUpdate != "function" || we === n.memoizedProps && Bt === n.memoizedState || (s.flags |= 1024), s.memoizedProps = v, s.memoizedState = zr), K.props = v, K.state = zr, K.context = Te, v = ct) : (typeof K.componentDidUpdate != "function" || we === n.memoizedProps && Bt === n.memoizedState || (s.flags |= 4), typeof K.getSnapshotBeforeUpdate != "function" || we === n.memoizedProps && Bt === n.memoizedState || (s.flags |= 1024), v = !1); | |
| } | |
| return Ap(n, s, f, v, M, P); | |
| } | |
| function Ap(n, s, f, v, P, M) { | |
| $m(n, s); | |
| var K = (s.flags & 128) !== 0; | |
| if (!v && !K) return P && sa(s, f, !1), ks(n, s, M); | |
| v = s.stateNode, Pp.current = s; | |
| var we = K && typeof f.getDerivedStateFromError != "function" ? null : v.render(); | |
| return s.flags |= 1, n !== null && K ? (s.child = Pa(s, n.child, null, M), s.child = Pa(s, null, we, M)) : va(n, s, we, M), s.memoizedState = v.state, P && sa(s, f, !0), s.child; | |
| } | |
| function Lp(n) { | |
| var s = n.stateNode; | |
| s.pendingContext ? Pi(n, s.pendingContext, s.pendingContext !== s.context) : s.context && Pi(n, s.context, !1), mp(n, s.containerInfo); | |
| } | |
| function Mp(n, s, f, v, P) { | |
| return fu(), jf(P), s.flags |= 256, va(n, s, f, v), s.child; | |
| } | |
| var zp = { dehydrated: null, treeContext: null, retryLane: 0 }; | |
| function Jn(n) { | |
| return { baseLanes: n, cachePool: null, transitions: null }; | |
| } | |
| function qm(n, s, f) { | |
| var v = s.pendingProps, P = qo.current, M = !1, K = (s.flags & 128) !== 0, we; | |
| if ((we = K) || (we = n !== null && n.memoizedState === null ? !1 : (P & 2) !== 0), we ? (M = !0, s.flags &= -129) : (n === null || n.memoizedState !== null) && (P |= 1), tn(qo, P & 1), n === null) | |
| return Ff(s), n = s.memoizedState, n !== null && (n = n.dehydrated, n !== null) ? ((s.mode & 1) === 0 ? s.lanes = 1 : n.data === "$!" ? s.lanes = 8 : s.lanes = 1073741824, null) : (K = v.children, n = v.fallback, M ? (v = s.mode, M = s.child, K = { mode: "hidden", children: K }, (v & 1) === 0 && M !== null ? (M.childLanes = 0, M.pendingProps = K) : M = gh(K, v, 0, null), n = Cu(n, v, f, null), M.return = s, n.return = s, M.sibling = n, s.child = M, s.child.memoizedState = Jn(f), s.memoizedState = zp, n) : Ro(s, K)); | |
| if (P = n.memoizedState, P !== null && (we = P.dehydrated, we !== null)) return Gm(n, s, K, v, we, P, f); | |
| if (M) { | |
| M = v.fallback, K = s.mode, P = n.child, we = P.sibling; | |
| var Te = { mode: "hidden", children: v.children }; | |
| return (K & 1) === 0 && s.child !== P ? (v = s.child, v.childLanes = 0, v.pendingProps = Te, s.deletions = null) : (v = dl(P, Te), v.subtreeFlags = P.subtreeFlags & 14680064), we !== null ? M = dl(we, M) : (M = Cu(M, K, f, null), M.flags |= 2), M.return = s, v.return = s, v.sibling = M, s.child = v, v = M, M = s.child, K = n.child.memoizedState, K = K === null ? Jn(f) : { baseLanes: K.baseLanes | f, cachePool: null, transitions: K.transitions }, M.memoizedState = K, M.childLanes = n.childLanes & ~f, s.memoizedState = zp, v; | |
| } | |
| return M = n.child, n = M.sibling, v = dl(M, { mode: "visible", children: v.children }), (s.mode & 1) === 0 && (v.lanes = f), v.return = s, v.sibling = null, n !== null && (f = s.deletions, f === null ? (s.deletions = [n], s.flags |= 16) : f.push(n)), s.child = v, s.memoizedState = null, v; | |
| } | |
| function Ro(n, s) { | |
| return s = gh({ mode: "visible", children: s }, n.mode, 0, null), s.return = n, n.child = s; | |
| } | |
| function pc(n, s, f, v) { | |
| return v !== null && jf(v), Pa(s, n.child, null, f), n = Ro(s, s.pendingProps.children), n.flags |= 2, s.memoizedState = null, n; | |
| } | |
| function Gm(n, s, f, v, P, M, K) { | |
| if (f) | |
| return s.flags & 256 ? (s.flags &= -257, v = Cp(Error(r(422))), pc(n, s, K, v)) : s.memoizedState !== null ? (s.child = n.child, s.flags |= 128, null) : (M = v.fallback, P = s.mode, v = gh({ mode: "visible", children: v.children }, P, 0, null), M = Cu(M, P, K, null), M.flags |= 2, v.return = s, M.return = s, v.sibling = M, s.child = v, (s.mode & 1) !== 0 && Pa(s, n.child, null, K), s.child.memoizedState = Jn(K), s.memoizedState = zp, M); | |
| if ((s.mode & 1) === 0) return pc(n, s, K, null); | |
| if (P.data === "$!") { | |
| if (v = P.nextSibling && P.nextSibling.dataset, v) var we = v.dgst; | |
| return v = we, M = Error(r(419)), v = Cp(M, v, void 0), pc(n, s, K, v); | |
| } | |
| if (we = (K & n.childLanes) !== 0, Ta || we) { | |
| if (v = Ti, v !== null) { | |
| switch (K & -K) { | |
| case 4: | |
| P = 2; | |
| break; | |
| case 16: | |
| P = 8; | |
| break; | |
| 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: | |
| case 4194304: | |
| case 8388608: | |
| case 16777216: | |
| case 33554432: | |
| case 67108864: | |
| P = 32; | |
| break; | |
| case 536870912: | |
| P = 268435456; | |
| break; | |
| default: | |
| P = 0; | |
| } | |
| P = (P & (v.suspendedLanes | K)) !== 0 ? 0 : P, P !== 0 && P !== M.retryLane && (M.retryLane = P, rs(n, P), as(v, n, P, -1)); | |
| } | |
| return Sc(), v = Cp(Error(r(421))), pc(n, s, K, v); | |
| } | |
| return P.data === "$?" ? (s.flags |= 128, s.child = n.child, s = T0.bind(null, n), P._reactRetry = s, null) : (n = M.treeContext, Xi = Se(P.nextSibling), Ki = s, Eo = !0, la = null, n !== null && (Co[Hi++] = ma, Co[Hi++] = Oa, Co[Hi++] = bs, ma = n.id, Oa = n.overflow, bs = s), s = Ro(s, v.children), s.flags |= 4096, s); | |
| } | |
| function Fp(n, s, f) { | |
| n.lanes |= s; | |
| var v = n.alternate; | |
| v !== null && (v.lanes |= s), Bf(n.return, s, f); | |
| } | |
| function gc(n, s, f, v, P) { | |
| var M = n.memoizedState; | |
| M === null ? n.memoizedState = { isBackwards: s, rendering: null, renderingStartTime: 0, last: v, tail: f, tailMode: P } : (M.isBackwards = s, M.rendering = null, M.renderingStartTime = 0, M.last = v, M.tail = f, M.tailMode = P); | |
| } | |
| function Ym(n, s, f) { | |
| var v = s.pendingProps, P = v.revealOrder, M = v.tail; | |
| if (va(n, s, v.children, f), v = qo.current, (v & 2) !== 0) v = v & 1 | 2, s.flags |= 128; | |
| else { | |
| if (n !== null && (n.flags & 128) !== 0) e: for (n = s.child; n !== null; ) { | |
| if (n.tag === 13) n.memoizedState !== null && Fp(n, f, s); | |
| else if (n.tag === 19) Fp(n, f, s); | |
| else if (n.child !== null) { | |
| n.child.return = n, n = n.child; | |
| continue; | |
| } | |
| if (n === s) break e; | |
| for (; n.sibling === null; ) { | |
| if (n.return === null || n.return === s) break e; | |
| n = n.return; | |
| } | |
| n.sibling.return = n.return, n = n.sibling; | |
| } | |
| v &= 1; | |
| } | |
| if (tn(qo, v), (s.mode & 1) === 0) s.memoizedState = null; | |
| else switch (P) { | |
| case "forwards": | |
| for (f = s.child, P = null; f !== null; ) n = f.alternate, n !== null && Ed(n) === null && (P = f), f = f.sibling; | |
| f = P, f === null ? (P = s.child, s.child = null) : (P = f.sibling, f.sibling = null), gc(s, !1, P, f, M); | |
| break; | |
| case "backwards": | |
| for (f = null, P = s.child, s.child = null; P !== null; ) { | |
| if (n = P.alternate, n !== null && Ed(n) === null) { | |
| s.child = P; | |
| break; | |
| } | |
| n = P.sibling, P.sibling = f, f = P, P = n; | |
| } | |
| gc(s, !0, f, null, M); | |
| break; | |
| case "together": | |
| gc(s, !1, null, null, void 0); | |
| break; | |
| default: | |
| s.memoizedState = null; | |
| } | |
| return s.child; | |
| } | |
| function mc(n, s) { | |
| (s.mode & 1) === 0 && n !== null && (n.alternate = null, s.alternate = null, s.flags |= 2); | |
| } | |
| function ks(n, s, f) { | |
| if (n !== null && (s.dependencies = n.dependencies), Es |= s.lanes, (f & s.childLanes) === 0) return null; | |
| if (n !== null && s.child !== n.child) throw Error(r(153)); | |
| if (s.child !== null) { | |
| for (n = s.child, f = dl(n, n.pendingProps), s.child = f, f.return = s; n.sibling !== null; ) n = n.sibling, f = f.sibling = dl(n, n.pendingProps), f.return = s; | |
| f.sibling = null; | |
| } | |
| return s.child; | |
| } | |
| function jl(n, s, f) { | |
| switch (s.tag) { | |
| case 3: | |
| Lp(s), fu(); | |
| break; | |
| case 5: | |
| Cd(s); | |
| break; | |
| case 1: | |
| bn(s.type) && di(s); | |
| break; | |
| case 4: | |
| mp(s, s.stateNode.containerInfo); | |
| break; | |
| case 10: | |
| var v = s.type._context, P = s.memoizedProps.value; | |
| tn(md, v._currentValue), v._currentValue = P; | |
| break; | |
| case 13: | |
| if (v = s.memoizedState, v !== null) | |
| return v.dehydrated !== null ? (tn(qo, qo.current & 1), s.flags |= 128, null) : (f & s.child.childLanes) !== 0 ? qm(n, s, f) : (tn(qo, qo.current & 1), n = ks(n, s, f), n !== null ? n.sibling : null); | |
| tn(qo, qo.current & 1); | |
| break; | |
| case 19: | |
| if (v = (f & s.childLanes) !== 0, (n.flags & 128) !== 0) { | |
| if (v) return Ym(n, s, f); | |
| s.flags |= 128; | |
| } | |
| if (P = s.memoizedState, P !== null && (P.rendering = null, P.tail = null, P.lastEffect = null), tn(qo, qo.current), v) break; | |
| return null; | |
| case 22: | |
| case 23: | |
| return s.lanes = 0, Rp(n, s, f); | |
| } | |
| return ks(n, s, f); | |
| } | |
| var Zf, eh, Np, Tn; | |
| Zf = function(n, s) { | |
| for (var f = s.child; f !== null; ) { | |
| if (f.tag === 5 || f.tag === 6) n.appendChild(f.stateNode); | |
| else if (f.tag !== 4 && f.child !== null) { | |
| f.child.return = f, f = f.child; | |
| continue; | |
| } | |
| if (f === s) break; | |
| for (; f.sibling === null; ) { | |
| if (f.return === null || f.return === s) return; | |
| f = f.return; | |
| } | |
| f.sibling.return = f.return, f = f.sibling; | |
| } | |
| }, eh = function() { | |
| }, Np = function(n, s, f, v) { | |
| var P = n.memoizedProps; | |
| if (P !== v) { | |
| n = s.stateNode, gu(Fs.current); | |
| var M = null; | |
| switch (f) { | |
| case "input": | |
| P = br(n, P), v = br(n, v), M = []; | |
| break; | |
| case "select": | |
| P = ve({}, P, { value: void 0 }), v = ve({}, v, { value: void 0 }), M = []; | |
| break; | |
| case "textarea": | |
| P = Et(n, P), v = Et(n, v), M = []; | |
| break; | |
| default: | |
| typeof P.onClick != "function" && typeof v.onClick == "function" && (n.onclick = Ml); | |
| } | |
| Nt(f, v); | |
| var K; | |
| f = null; | |
| for (ct in P) if (!v.hasOwnProperty(ct) && P.hasOwnProperty(ct) && P[ct] != null) if (ct === "style") { | |
| var we = P[ct]; | |
| for (K in we) we.hasOwnProperty(K) && (f || (f = {}), f[K] = ""); | |
| } else ct !== "dangerouslySetInnerHTML" && ct !== "children" && ct !== "suppressContentEditableWarning" && ct !== "suppressHydrationWarning" && ct !== "autoFocus" && (u.hasOwnProperty(ct) ? M || (M = []) : (M = M || []).push(ct, null)); | |
| for (ct in v) { | |
| var Te = v[ct]; | |
| if (we = P != null ? P[ct] : void 0, v.hasOwnProperty(ct) && Te !== we && (Te != null || we != null)) if (ct === "style") if (we) { | |
| for (K in we) !we.hasOwnProperty(K) || Te && Te.hasOwnProperty(K) || (f || (f = {}), f[K] = ""); | |
| for (K in Te) Te.hasOwnProperty(K) && we[K] !== Te[K] && (f || (f = {}), f[K] = Te[K]); | |
| } else f || (M || (M = []), M.push( | |
| ct, | |
| f | |
| )), f = Te; | |
| else ct === "dangerouslySetInnerHTML" ? (Te = Te ? Te.__html : void 0, we = we ? we.__html : void 0, Te != null && we !== Te && (M = M || []).push(ct, Te)) : ct === "children" ? typeof Te != "string" && typeof Te != "number" || (M = M || []).push(ct, "" + Te) : ct !== "suppressContentEditableWarning" && ct !== "suppressHydrationWarning" && (u.hasOwnProperty(ct) ? (Te != null && ct === "onScroll" && bo("scroll", n), M || we === Te || (M = [])) : (M = M || []).push(ct, Te)); | |
| } | |
| f && (M = M || []).push("style", f); | |
| var ct = M; | |
| (s.updateQueue = ct) && (s.flags |= 4); | |
| } | |
| }, Tn = function(n, s, f, v) { | |
| f !== v && (s.flags |= 4); | |
| }; | |
| function wi(n, s) { | |
| if (!Eo) switch (n.tailMode) { | |
| case "hidden": | |
| s = n.tail; | |
| for (var f = null; s !== null; ) s.alternate !== null && (f = s), s = s.sibling; | |
| f === null ? n.tail = null : f.sibling = null; | |
| break; | |
| case "collapsed": | |
| f = n.tail; | |
| for (var v = null; f !== null; ) f.alternate !== null && (v = f), f = f.sibling; | |
| v === null ? s || n.tail === null ? n.tail = null : n.tail.sibling = null : v.sibling = null; | |
| } | |
| } | |
| function fi(n) { | |
| var s = n.alternate !== null && n.alternate.child === n.child, f = 0, v = 0; | |
| if (s) for (var P = n.child; P !== null; ) f |= P.lanes | P.childLanes, v |= P.subtreeFlags & 14680064, v |= P.flags & 14680064, P.return = n, P = P.sibling; | |
| else for (P = n.child; P !== null; ) f |= P.lanes | P.childLanes, v |= P.subtreeFlags, v |= P.flags, P.return = n, P = P.sibling; | |
| return n.subtreeFlags |= v, n.childLanes = f, s; | |
| } | |
| function jp(n, s, f) { | |
| var v = s.pendingProps; | |
| switch (ts(s), s.tag) { | |
| case 2: | |
| case 16: | |
| case 15: | |
| case 0: | |
| case 11: | |
| case 7: | |
| case 8: | |
| case 12: | |
| case 9: | |
| case 14: | |
| return fi(s), null; | |
| case 1: | |
| return bn(s.type) && Vo(), fi(s), null; | |
| case 3: | |
| return v = s.stateNode, oc(), Mr(rn), Mr(Br), ac(), v.pendingContext && (v.context = v.pendingContext, v.pendingContext = null), (n === null || n.child === null) && (Ju(s) ? s.flags |= 4 : n === null || n.memoizedState.isDehydrated && (s.flags & 256) === 0 || (s.flags |= 1024, la !== null && (ch(la), la = null))), eh(n, s), fi(s), null; | |
| case 5: | |
| ic(s); | |
| var P = gu(kd.current); | |
| if (f = s.type, n !== null && s.stateNode != null) Np(n, s, f, v, P), n.ref !== s.ref && (s.flags |= 512, s.flags |= 2097152); | |
| else { | |
| if (!v) { | |
| if (s.stateNode === null) throw Error(r(166)); | |
| return fi(s), null; | |
| } | |
| if (n = gu(Fs.current), Ju(s)) { | |
| v = s.stateNode, f = s.type; | |
| var M = s.memoizedProps; | |
| switch (v[Ke] = s, v[et] = M, n = (s.mode & 1) !== 0, f) { | |
| case "dialog": | |
| bo("cancel", v), bo("close", v); | |
| break; | |
| case "iframe": | |
| case "object": | |
| case "embed": | |
| bo("load", v); | |
| break; | |
| case "video": | |
| case "audio": | |
| for (P = 0; P < Al.length; P++) bo(Al[P], v); | |
| break; | |
| case "source": | |
| bo("error", v); | |
| break; | |
| case "img": | |
| case "image": | |
| case "link": | |
| bo( | |
| "error", | |
| v | |
| ), bo("load", v); | |
| break; | |
| case "details": | |
| bo("toggle", v); | |
| break; | |
| case "input": | |
| Ar(v, M), bo("invalid", v); | |
| break; | |
| case "select": | |
| v._wrapperState = { wasMultiple: !!M.multiple }, bo("invalid", v); | |
| break; | |
| case "textarea": | |
| ot(v, M), bo("invalid", v); | |
| } | |
| Nt(f, M), P = null; | |
| for (var K in M) if (M.hasOwnProperty(K)) { | |
| var we = M[K]; | |
| K === "children" ? typeof we == "string" ? v.textContent !== we && (M.suppressHydrationWarning !== !0 && Ku(v.textContent, we, n), P = ["children", we]) : typeof we == "number" && v.textContent !== "" + we && (M.suppressHydrationWarning !== !0 && Ku( | |
| v.textContent, | |
| we, | |
| n | |
| ), P = ["children", "" + we]) : u.hasOwnProperty(K) && we != null && K === "onScroll" && bo("scroll", v); | |
| } | |
| switch (f) { | |
| case "input": | |
| B(v), gt(v, M, !0); | |
| break; | |
| case "textarea": | |
| B(v), xe(v); | |
| break; | |
| case "select": | |
| case "option": | |
| break; | |
| default: | |
| typeof M.onClick == "function" && (v.onclick = Ml); | |
| } | |
| v = P, s.updateQueue = v, v !== null && (s.flags |= 4); | |
| } else { | |
| K = P.nodeType === 9 ? P : P.ownerDocument, n === "http://www.w3.org/1999/xhtml" && (n = ze(f)), n === "http://www.w3.org/1999/xhtml" ? f === "script" ? (n = K.createElement("div"), n.innerHTML = "<script><\/script>", n = n.removeChild(n.firstChild)) : typeof v.is == "string" ? n = K.createElement(f, { is: v.is }) : (n = K.createElement(f), f === "select" && (K = n, v.multiple ? K.multiple = !0 : v.size && (K.size = v.size))) : n = K.createElementNS(n, f), n[Ke] = s, n[et] = v, Zf(n, s, !1, !1), s.stateNode = n; | |
| e: { | |
| switch (K = Ct(f, v), f) { | |
| case "dialog": | |
| bo("cancel", n), bo("close", n), P = v; | |
| break; | |
| case "iframe": | |
| case "object": | |
| case "embed": | |
| bo("load", n), P = v; | |
| break; | |
| case "video": | |
| case "audio": | |
| for (P = 0; P < Al.length; P++) bo(Al[P], n); | |
| P = v; | |
| break; | |
| case "source": | |
| bo("error", n), P = v; | |
| break; | |
| case "img": | |
| case "image": | |
| case "link": | |
| bo( | |
| "error", | |
| n | |
| ), bo("load", n), P = v; | |
| break; | |
| case "details": | |
| bo("toggle", n), P = v; | |
| break; | |
| case "input": | |
| Ar(n, v), P = br(n, v), bo("invalid", n); | |
| break; | |
| case "option": | |
| P = v; | |
| break; | |
| case "select": | |
| n._wrapperState = { wasMultiple: !!v.multiple }, P = ve({}, v, { value: void 0 }), bo("invalid", n); | |
| break; | |
| case "textarea": | |
| ot(n, v), P = Et(n, v), bo("invalid", n); | |
| break; | |
| default: | |
| P = v; | |
| } | |
| Nt(f, P), we = P; | |
| for (M in we) if (we.hasOwnProperty(M)) { | |
| var Te = we[M]; | |
| M === "style" ? kr(n, Te) : M === "dangerouslySetInnerHTML" ? (Te = Te ? Te.__html : void 0, Te != null && Lt(n, Te)) : M === "children" ? typeof Te == "string" ? (f !== "textarea" || Te !== "") && mr(n, Te) : typeof Te == "number" && mr(n, "" + Te) : M !== "suppressContentEditableWarning" && M !== "suppressHydrationWarning" && M !== "autoFocus" && (u.hasOwnProperty(M) ? Te != null && M === "onScroll" && bo("scroll", n) : Te != null && Y(n, M, Te, K)); | |
| } | |
| switch (f) { | |
| case "input": | |
| B(n), gt(n, v, !1); | |
| break; | |
| case "textarea": | |
| B(n), xe(n); | |
| break; | |
| case "option": | |
| v.value != null && n.setAttribute("value", "" + Ce(v.value)); | |
| break; | |
| case "select": | |
| n.multiple = !!v.multiple, M = v.value, M != null ? At(n, !!v.multiple, M, !1) : v.defaultValue != null && At( | |
| n, | |
| !!v.multiple, | |
| v.defaultValue, | |
| !0 | |
| ); | |
| break; | |
| default: | |
| typeof P.onClick == "function" && (n.onclick = Ml); | |
| } | |
| switch (f) { | |
| case "button": | |
| case "input": | |
| case "select": | |
| case "textarea": | |
| v = !!v.autoFocus; | |
| break e; | |
| case "img": | |
| v = !0; | |
| break e; | |
| default: | |
| v = !1; | |
| } | |
| } | |
| v && (s.flags |= 4); | |
| } | |
| s.ref !== null && (s.flags |= 512, s.flags |= 2097152); | |
| } | |
| return fi(s), null; | |
| case 6: | |
| if (n && s.stateNode != null) Tn(n, s, n.memoizedProps, v); | |
| else { | |
| if (typeof v != "string" && s.stateNode === null) throw Error(r(166)); | |
| if (f = gu(kd.current), gu(Fs.current), Ju(s)) { | |
| if (v = s.stateNode, f = s.memoizedProps, v[Ke] = s, (M = v.nodeValue !== f) && (n = Ki, n !== null)) switch (n.tag) { | |
| case 3: | |
| Ku(v.nodeValue, f, (n.mode & 1) !== 0); | |
| break; | |
| case 5: | |
| n.memoizedProps.suppressHydrationWarning !== !0 && Ku(v.nodeValue, f, (n.mode & 1) !== 0); | |
| } | |
| M && (s.flags |= 4); | |
| } else v = (f.nodeType === 9 ? f : f.ownerDocument).createTextNode(v), v[Ke] = s, s.stateNode = v; | |
| } | |
| return fi(s), null; | |
| case 13: | |
| if (Mr(qo), v = s.memoizedState, n === null || n.memoizedState !== null && n.memoizedState.dehydrated !== null) { | |
| if (Eo && Xi !== null && (s.mode & 1) !== 0 && (s.flags & 128) === 0) fp(), fu(), s.flags |= 98560, M = !1; | |
| else if (M = Ju(s), v !== null && v.dehydrated !== null) { | |
| if (n === null) { | |
| if (!M) throw Error(r(318)); | |
| if (M = s.memoizedState, M = M !== null ? M.dehydrated : null, !M) throw Error(r(317)); | |
| M[Ke] = s; | |
| } else fu(), (s.flags & 128) === 0 && (s.memoizedState = null), s.flags |= 4; | |
| fi(s), M = !1; | |
| } else la !== null && (ch(la), la = null), M = !0; | |
| if (!M) return s.flags & 65536 ? s : null; | |
| } | |
| return (s.flags & 128) !== 0 ? (s.lanes = f, s) : (v = v !== null, v !== (n !== null && n.memoizedState !== null) && v && (s.child.flags |= 8192, (s.mode & 1) !== 0 && (n === null || (qo.current & 1) !== 0 ? Si === 0 && (Si = 3) : Sc())), s.updateQueue !== null && (s.flags |= 4), fi(s), null); | |
| case 4: | |
| return oc(), eh(n, s), n === null && uu(s.stateNode.containerInfo), fi(s), null; | |
| case 10: | |
| return bd(s.type._context), fi(s), null; | |
| case 17: | |
| return bn(s.type) && Vo(), fi(s), null; | |
| case 19: | |
| if (Mr(qo), M = s.memoizedState, M === null) return fi(s), null; | |
| if (v = (s.flags & 128) !== 0, K = M.rendering, K === null) if (v) wi(M, !1); | |
| else { | |
| if (Si !== 0 || n !== null && (n.flags & 128) !== 0) for (n = s.child; n !== null; ) { | |
| if (K = Ed(n), K !== null) { | |
| for (s.flags |= 128, wi(M, !1), v = K.updateQueue, v !== null && (s.updateQueue = v, s.flags |= 4), s.subtreeFlags = 0, v = f, f = s.child; f !== null; ) M = f, n = v, M.flags &= 14680066, K = M.alternate, K === null ? (M.childLanes = 0, M.lanes = n, M.child = null, M.subtreeFlags = 0, M.memoizedProps = null, M.memoizedState = null, M.updateQueue = null, M.dependencies = null, M.stateNode = null) : (M.childLanes = K.childLanes, M.lanes = K.lanes, M.child = K.child, M.subtreeFlags = 0, M.deletions = null, M.memoizedProps = K.memoizedProps, M.memoizedState = K.memoizedState, M.updateQueue = K.updateQueue, M.type = K.type, n = K.dependencies, M.dependencies = n === null ? null : { lanes: n.lanes, firstContext: n.firstContext }), f = f.sibling; | |
| return tn(qo, qo.current & 1 | 2), s.child; | |
| } | |
| n = n.sibling; | |
| } | |
| M.tail !== null && Fn() > Ga && (s.flags |= 128, v = !0, wi(M, !1), s.lanes = 4194304); | |
| } | |
| else { | |
| if (!v) if (n = Ed(K), n !== null) { | |
| if (s.flags |= 128, v = !0, f = n.updateQueue, f !== null && (s.updateQueue = f, s.flags |= 4), wi(M, !0), M.tail === null && M.tailMode === "hidden" && !K.alternate && !Eo) return fi(s), null; | |
| } else 2 * Fn() - M.renderingStartTime > Ga && f !== 1073741824 && (s.flags |= 128, v = !0, wi(M, !1), s.lanes = 4194304); | |
| M.isBackwards ? (K.sibling = s.child, s.child = K) : (f = M.last, f !== null ? f.sibling = K : s.child = K, M.last = K); | |
| } | |
| return M.tail !== null ? (s = M.tail, M.rendering = s, M.tail = s.sibling, M.renderingStartTime = Fn(), s.sibling = null, f = qo.current, tn(qo, v ? f & 1 | 2 : f & 1), s) : (fi(s), null); | |
| case 22: | |
| case 23: | |
| return Vp(), v = s.memoizedState !== null, n !== null && n.memoizedState !== null !== v && (s.flags |= 8192), v && (s.mode & 1) !== 0 ? (Qi & 1073741824) !== 0 && (fi(s), s.subtreeFlags & 6 && (s.flags |= 8192)) : fi(s), null; | |
| case 24: | |
| return null; | |
| case 25: | |
| return null; | |
| } | |
| throw Error(r(156, s.tag)); | |
| } | |
| function vc(n, s) { | |
| switch (ts(s), s.tag) { | |
| case 1: | |
| return bn(s.type) && Vo(), n = s.flags, n & 65536 ? (s.flags = n & -65537 | 128, s) : null; | |
| case 3: | |
| return oc(), Mr(rn), Mr(Br), ac(), n = s.flags, (n & 65536) !== 0 && (n & 128) === 0 ? (s.flags = n & -65537 | 128, s) : null; | |
| case 5: | |
| return ic(s), null; | |
| case 13: | |
| if (Mr(qo), n = s.memoizedState, n !== null && n.dehydrated !== null) { | |
| if (s.alternate === null) throw Error(r(340)); | |
| fu(); | |
| } | |
| return n = s.flags, n & 65536 ? (s.flags = n & -65537 | 128, s) : null; | |
| case 19: | |
| return Mr(qo), null; | |
| case 4: | |
| return oc(), null; | |
| case 10: | |
| return bd(s.type._context), null; | |
| case 22: | |
| case 23: | |
| return Vp(), null; | |
| case 24: | |
| return null; | |
| default: | |
| return null; | |
| } | |
| } | |
| var Dl = !1, ei = !1, _d = typeof WeakSet == "function" ? WeakSet : Set, Tr = null; | |
| function Bl(n, s) { | |
| var f = n.ref; | |
| if (f !== null) if (typeof f == "function") try { | |
| f(null); | |
| } catch (v) { | |
| ti(n, s, v); | |
| } | |
| else f.current = null; | |
| } | |
| function Ad(n, s, f) { | |
| try { | |
| f(); | |
| } catch (v) { | |
| ti(n, s, v); | |
| } | |
| } | |
| var th = !1; | |
| function ua(n, s) { | |
| if (ao = Ao, n = nd(), Tl(n)) { | |
| if ("selectionStart" in n) var f = { start: n.selectionStart, end: n.selectionEnd }; | |
| else e: { | |
| f = (f = n.ownerDocument) && f.defaultView || window; | |
| var v = f.getSelection && f.getSelection(); | |
| if (v && v.rangeCount !== 0) { | |
| f = v.anchorNode; | |
| var P = v.anchorOffset, M = v.focusNode; | |
| v = v.focusOffset; | |
| try { | |
| f.nodeType, M.nodeType; | |
| } catch { | |
| f = null; | |
| break e; | |
| } | |
| var K = 0, we = -1, Te = -1, ct = 0, Wt = 0, Kt = n, Bt = null; | |
| t: for (; ; ) { | |
| for (var Cr; Kt !== f || P !== 0 && Kt.nodeType !== 3 || (we = K + P), Kt !== M || v !== 0 && Kt.nodeType !== 3 || (Te = K + v), Kt.nodeType === 3 && (K += Kt.nodeValue.length), (Cr = Kt.firstChild) !== null; ) | |
| Bt = Kt, Kt = Cr; | |
| for (; ; ) { | |
| if (Kt === n) break t; | |
| if (Bt === f && ++ct === P && (we = K), Bt === M && ++Wt === v && (Te = K), (Cr = Kt.nextSibling) !== null) break; | |
| Kt = Bt, Bt = Kt.parentNode; | |
| } | |
| Kt = Cr; | |
| } | |
| f = we === -1 || Te === -1 ? null : { start: we, end: Te }; | |
| } else f = null; | |
| } | |
| f = f || { start: 0, end: 0 }; | |
| } else f = null; | |
| for (Xu = { focusedElem: n, selectionRange: f }, Ao = !1, Tr = s; Tr !== null; ) if (s = Tr, n = s.child, (s.subtreeFlags & 1028) !== 0 && n !== null) n.return = s, Tr = n; | |
| else for (; Tr !== null; ) { | |
| s = Tr; | |
| try { | |
| var zr = s.alternate; | |
| if ((s.flags & 1024) !== 0) switch (s.tag) { | |
| case 0: | |
| case 11: | |
| case 15: | |
| break; | |
| case 1: | |
| if (zr !== null) { | |
| var Nr = zr.memoizedProps, ri = zr.memoizedState, tt = s.stateNode, We = tt.getSnapshotBeforeUpdate(s.elementType === s.type ? Nr : Ss(s.type, Nr), ri); | |
| tt.__reactInternalSnapshotBeforeUpdate = We; | |
| } | |
| break; | |
| case 3: | |
| var at = s.stateNode.containerInfo; | |
| at.nodeType === 1 ? at.textContent = "" : at.nodeType === 9 && at.documentElement && at.removeChild(at.documentElement); | |
| break; | |
| case 5: | |
| case 6: | |
| case 4: | |
| case 17: | |
| break; | |
| default: | |
| throw Error(r(163)); | |
| } | |
| } catch (tr) { | |
| ti(s, s.return, tr); | |
| } | |
| if (n = s.sibling, n !== null) { | |
| n.return = s.return, Tr = n; | |
| break; | |
| } | |
| Tr = s.return; | |
| } | |
| return zr = th, th = !1, zr; | |
| } | |
| function yc(n, s, f) { | |
| var v = s.updateQueue; | |
| if (v = v !== null ? v.lastEffect : null, v !== null) { | |
| var P = v = v.next; | |
| do { | |
| if ((P.tag & n) === n) { | |
| var M = P.destroy; | |
| P.destroy = void 0, M !== void 0 && Ad(s, f, M); | |
| } | |
| P = P.next; | |
| } while (P !== v); | |
| } | |
| } | |
| function yu(n, s) { | |
| if (s = s.updateQueue, s = s !== null ? s.lastEffect : null, s !== null) { | |
| var f = s = s.next; | |
| do { | |
| if ((f.tag & n) === n) { | |
| var v = f.create; | |
| f.destroy = v(); | |
| } | |
| f = f.next; | |
| } while (f !== s); | |
| } | |
| } | |
| function Ld(n) { | |
| var s = n.ref; | |
| if (s !== null) { | |
| var f = n.stateNode; | |
| switch (n.tag) { | |
| case 5: | |
| n = f; | |
| break; | |
| default: | |
| n = f; | |
| } | |
| typeof s == "function" ? s(n) : s.current = n; | |
| } | |
| } | |
| function Md(n) { | |
| var s = n.alternate; | |
| s !== null && (n.alternate = null, Md(s)), n.child = null, n.deletions = null, n.sibling = null, n.tag === 5 && (s = n.stateNode, s !== null && (delete s[Ke], delete s[et], delete s[ut], delete s[wt], delete s[Ft])), n.stateNode = null, n.return = null, n.dependencies = null, n.memoizedProps = null, n.memoizedState = null, n.pendingProps = null, n.stateNode = null, n.updateQueue = null; | |
| } | |
| function Dp(n) { | |
| return n.tag === 5 || n.tag === 3 || n.tag === 4; | |
| } | |
| function rh(n) { | |
| e: for (; ; ) { | |
| for (; n.sibling === null; ) { | |
| if (n.return === null || Dp(n.return)) return null; | |
| n = n.return; | |
| } | |
| for (n.sibling.return = n.return, n = n.sibling; n.tag !== 5 && n.tag !== 6 && n.tag !== 18; ) { | |
| if (n.flags & 2 || n.child === null || n.tag === 4) continue e; | |
| n.child.return = n, n = n.child; | |
| } | |
| if (!(n.flags & 2)) return n.stateNode; | |
| } | |
| } | |
| function zd(n, s, f) { | |
| var v = n.tag; | |
| if (v === 5 || v === 6) n = n.stateNode, s ? f.nodeType === 8 ? f.parentNode.insertBefore(n, s) : f.insertBefore(n, s) : (f.nodeType === 8 ? (s = f.parentNode, s.insertBefore(n, f)) : (s = f, s.appendChild(n)), f = f._reactRootContainer, f != null || s.onclick !== null || (s.onclick = Ml)); | |
| else if (v !== 4 && (n = n.child, n !== null)) for (zd(n, s, f), n = n.sibling; n !== null; ) zd(n, s, f), n = n.sibling; | |
| } | |
| function bc(n, s, f) { | |
| var v = n.tag; | |
| if (v === 5 || v === 6) n = n.stateNode, s ? f.insertBefore(n, s) : f.appendChild(n); | |
| else if (v !== 4 && (n = n.child, n !== null)) for (bc(n, s, f), n = n.sibling; n !== null; ) bc(n, s, f), n = n.sibling; | |
| } | |
| var Wi = null, Va = !1; | |
| function ll(n, s, f) { | |
| for (f = f.child; f !== null; ) Bp(n, s, f), f = f.sibling; | |
| } | |
| function Bp(n, s, f) { | |
| if (Do && typeof Do.onCommitFiberUnmount == "function") try { | |
| Do.onCommitFiberUnmount(Oi, f); | |
| } catch { | |
| } | |
| switch (f.tag) { | |
| case 5: | |
| ei || Bl(f, s); | |
| case 6: | |
| var v = Wi, P = Va; | |
| Wi = null, ll(n, s, f), Wi = v, Va = P, Wi !== null && (Va ? (n = Wi, f = f.stateNode, n.nodeType === 8 ? n.parentNode.removeChild(f) : n.removeChild(f)) : Wi.removeChild(f.stateNode)); | |
| break; | |
| case 18: | |
| Wi !== null && (Va ? (n = Wi, f = f.stateNode, n.nodeType === 8 ? oe(n.parentNode, f) : n.nodeType === 1 && oe(n, f), na(n)) : oe(Wi, f.stateNode)); | |
| break; | |
| case 4: | |
| v = Wi, P = Va, Wi = f.stateNode.containerInfo, Va = !0, ll(n, s, f), Wi = v, Va = P; | |
| break; | |
| case 0: | |
| case 11: | |
| case 14: | |
| case 15: | |
| if (!ei && (v = f.updateQueue, v !== null && (v = v.lastEffect, v !== null))) { | |
| P = v = v.next; | |
| do { | |
| var M = P, K = M.destroy; | |
| M = M.tag, K !== void 0 && ((M & 2) !== 0 || (M & 4) !== 0) && Ad(f, s, K), P = P.next; | |
| } while (P !== v); | |
| } | |
| ll(n, s, f); | |
| break; | |
| case 1: | |
| if (!ei && (Bl(f, s), v = f.stateNode, typeof v.componentWillUnmount == "function")) try { | |
| v.props = f.memoizedProps, v.state = f.memoizedState, v.componentWillUnmount(); | |
| } catch (we) { | |
| ti(f, s, we); | |
| } | |
| ll(n, s, f); | |
| break; | |
| case 21: | |
| ll(n, s, f); | |
| break; | |
| case 22: | |
| f.mode & 1 ? (ei = (v = ei) || f.memoizedState !== null, ll(n, s, f), ei = v) : ll(n, s, f); | |
| break; | |
| default: | |
| ll(n, s, f); | |
| } | |
| } | |
| function nh(n) { | |
| var s = n.updateQueue; | |
| if (s !== null) { | |
| n.updateQueue = null; | |
| var f = n.stateNode; | |
| f === null && (f = n.stateNode = new _d()), s.forEach(function(v) { | |
| var P = R0.bind(null, n, v); | |
| f.has(v) || (f.add(v), v.then(P, P)); | |
| }); | |
| } | |
| } | |
| function qa(n, s) { | |
| var f = s.deletions; | |
| if (f !== null) for (var v = 0; v < f.length; v++) { | |
| var P = f[v]; | |
| try { | |
| var M = n, K = s, we = K; | |
| e: for (; we !== null; ) { | |
| switch (we.tag) { | |
| case 5: | |
| Wi = we.stateNode, Va = !1; | |
| break e; | |
| case 3: | |
| Wi = we.stateNode.containerInfo, Va = !0; | |
| break e; | |
| case 4: | |
| Wi = we.stateNode.containerInfo, Va = !0; | |
| break e; | |
| } | |
| we = we.return; | |
| } | |
| if (Wi === null) throw Error(r(160)); | |
| Bp(M, K, P), Wi = null, Va = !1; | |
| var Te = P.alternate; | |
| Te !== null && (Te.return = null), P.return = null; | |
| } catch (ct) { | |
| ti(P, s, ct); | |
| } | |
| } | |
| if (s.subtreeFlags & 12854) for (s = s.child; s !== null; ) Wn(s, n), s = s.sibling; | |
| } | |
| function Wn(n, s) { | |
| var f = n.alternate, v = n.flags; | |
| switch (n.tag) { | |
| case 0: | |
| case 11: | |
| case 14: | |
| case 15: | |
| if (qa(s, n), dn(n), v & 4) { | |
| try { | |
| yc(3, n, n.return), yu(3, n); | |
| } catch (Nr) { | |
| ti(n, n.return, Nr); | |
| } | |
| try { | |
| yc(5, n, n.return); | |
| } catch (Nr) { | |
| ti(n, n.return, Nr); | |
| } | |
| } | |
| break; | |
| case 1: | |
| qa(s, n), dn(n), v & 512 && f !== null && Bl(f, f.return); | |
| break; | |
| case 5: | |
| if (qa(s, n), dn(n), v & 512 && f !== null && Bl(f, f.return), n.flags & 32) { | |
| var P = n.stateNode; | |
| try { | |
| mr(P, ""); | |
| } catch (Nr) { | |
| ti(n, n.return, Nr); | |
| } | |
| } | |
| if (v & 4 && (P = n.stateNode, P != null)) { | |
| var M = n.memoizedProps, K = f !== null ? f.memoizedProps : M, we = n.type, Te = n.updateQueue; | |
| if (n.updateQueue = null, Te !== null) try { | |
| we === "input" && M.type === "radio" && M.name != null && Gt(P, M), Ct(we, K); | |
| var ct = Ct(we, M); | |
| for (K = 0; K < Te.length; K += 2) { | |
| var Wt = Te[K], Kt = Te[K + 1]; | |
| Wt === "style" ? kr(P, Kt) : Wt === "dangerouslySetInnerHTML" ? Lt(P, Kt) : Wt === "children" ? mr(P, Kt) : Y(P, Wt, Kt, ct); | |
| } | |
| switch (we) { | |
| case "input": | |
| hr(P, M); | |
| break; | |
| case "textarea": | |
| Ae(P, M); | |
| break; | |
| case "select": | |
| var Bt = P._wrapperState.wasMultiple; | |
| P._wrapperState.wasMultiple = !!M.multiple; | |
| var Cr = M.value; | |
| Cr != null ? At(P, !!M.multiple, Cr, !1) : Bt !== !!M.multiple && (M.defaultValue != null ? At( | |
| P, | |
| !!M.multiple, | |
| M.defaultValue, | |
| !0 | |
| ) : At(P, !!M.multiple, M.multiple ? [] : "", !1)); | |
| } | |
| P[et] = M; | |
| } catch (Nr) { | |
| ti(n, n.return, Nr); | |
| } | |
| } | |
| break; | |
| case 6: | |
| if (qa(s, n), dn(n), v & 4) { | |
| if (n.stateNode === null) throw Error(r(162)); | |
| P = n.stateNode, M = n.memoizedProps; | |
| try { | |
| P.nodeValue = M; | |
| } catch (Nr) { | |
| ti(n, n.return, Nr); | |
| } | |
| } | |
| break; | |
| case 3: | |
| if (qa(s, n), dn(n), v & 4 && f !== null && f.memoizedState.isDehydrated) try { | |
| na(s.containerInfo); | |
| } catch (Nr) { | |
| ti(n, n.return, Nr); | |
| } | |
| break; | |
| case 4: | |
| qa(s, n), dn(n); | |
| break; | |
| case 13: | |
| qa(s, n), dn(n), P = n.child, P.flags & 8192 && (M = P.memoizedState !== null, P.stateNode.isHidden = M, !M || P.alternate !== null && P.alternate.memoizedState !== null || (xc = Fn())), v & 4 && nh(n); | |
| break; | |
| case 22: | |
| if (Wt = f !== null && f.memoizedState !== null, n.mode & 1 ? (ei = (ct = ei) || Wt, qa(s, n), ei = ct) : qa(s, n), dn(n), v & 8192) { | |
| if (ct = n.memoizedState !== null, (n.stateNode.isHidden = ct) && !Wt && (n.mode & 1) !== 0) for (Tr = n, Wt = n.child; Wt !== null; ) { | |
| for (Kt = Tr = Wt; Tr !== null; ) { | |
| switch (Bt = Tr, Cr = Bt.child, Bt.tag) { | |
| case 0: | |
| case 11: | |
| case 14: | |
| case 15: | |
| yc(4, Bt, Bt.return); | |
| break; | |
| case 1: | |
| Bl(Bt, Bt.return); | |
| var zr = Bt.stateNode; | |
| if (typeof zr.componentWillUnmount == "function") { | |
| v = Bt, f = Bt.return; | |
| try { | |
| s = v, zr.props = s.memoizedProps, zr.state = s.memoizedState, zr.componentWillUnmount(); | |
| } catch (Nr) { | |
| ti(v, f, Nr); | |
| } | |
| } | |
| break; | |
| case 5: | |
| Bl(Bt, Bt.return); | |
| break; | |
| case 22: | |
| if (Bt.memoizedState !== null) { | |
| xu(Kt); | |
| continue; | |
| } | |
| } | |
| Cr !== null ? (Cr.return = Bt, Tr = Cr) : xu(Kt); | |
| } | |
| Wt = Wt.sibling; | |
| } | |
| e: for (Wt = null, Kt = n; ; ) { | |
| if (Kt.tag === 5) { | |
| if (Wt === null) { | |
| Wt = Kt; | |
| try { | |
| P = Kt.stateNode, ct ? (M = P.style, typeof M.setProperty == "function" ? M.setProperty("display", "none", "important") : M.display = "none") : (we = Kt.stateNode, Te = Kt.memoizedProps.style, K = Te != null && Te.hasOwnProperty("display") ? Te.display : null, we.style.display = Or("display", K)); | |
| } catch (Nr) { | |
| ti(n, n.return, Nr); | |
| } | |
| } | |
| } else if (Kt.tag === 6) { | |
| if (Wt === null) try { | |
| Kt.stateNode.nodeValue = ct ? "" : Kt.memoizedProps; | |
| } catch (Nr) { | |
| ti(n, n.return, Nr); | |
| } | |
| } else if ((Kt.tag !== 22 && Kt.tag !== 23 || Kt.memoizedState === null || Kt === n) && Kt.child !== null) { | |
| Kt.child.return = Kt, Kt = Kt.child; | |
| continue; | |
| } | |
| if (Kt === n) break e; | |
| for (; Kt.sibling === null; ) { | |
| if (Kt.return === null || Kt.return === n) break e; | |
| Wt === Kt && (Wt = null), Kt = Kt.return; | |
| } | |
| Wt === Kt && (Wt = null), Kt.sibling.return = Kt.return, Kt = Kt.sibling; | |
| } | |
| } | |
| break; | |
| case 19: | |
| qa(s, n), dn(n), v & 4 && nh(n); | |
| break; | |
| case 21: | |
| break; | |
| default: | |
| qa( | |
| s, | |
| n | |
| ), dn(n); | |
| } | |
| } | |
| function dn(n) { | |
| var s = n.flags; | |
| if (s & 2) { | |
| try { | |
| e: { | |
| for (var f = n.return; f !== null; ) { | |
| if (Dp(f)) { | |
| var v = f; | |
| break e; | |
| } | |
| f = f.return; | |
| } | |
| throw Error(r(160)); | |
| } | |
| switch (v.tag) { | |
| case 5: | |
| var P = v.stateNode; | |
| v.flags & 32 && (mr(P, ""), v.flags &= -33); | |
| var M = rh(n); | |
| bc(n, M, P); | |
| break; | |
| case 3: | |
| case 4: | |
| var K = v.stateNode.containerInfo, we = rh(n); | |
| zd(n, we, K); | |
| break; | |
| default: | |
| throw Error(r(161)); | |
| } | |
| } catch (Te) { | |
| ti(n, n.return, Te); | |
| } | |
| n.flags &= -3; | |
| } | |
| s & 4096 && (n.flags &= -4097); | |
| } | |
| function Ra(n, s, f) { | |
| Tr = n, js(n); | |
| } | |
| function js(n, s, f) { | |
| for (var v = (n.mode & 1) !== 0; Tr !== null; ) { | |
| var P = Tr, M = P.child; | |
| if (P.tag === 22 && v) { | |
| var K = P.memoizedState !== null || Dl; | |
| if (!K) { | |
| var we = P.alternate, Te = we !== null && we.memoizedState !== null || ei; | |
| we = Dl; | |
| var ct = ei; | |
| if (Dl = K, (ei = Te) && !ct) for (Tr = P; Tr !== null; ) K = Tr, Te = K.child, K.tag === 22 && K.memoizedState !== null ? Hp(P) : Te !== null ? (Te.return = K, Tr = Te) : Hp(P); | |
| for (; M !== null; ) Tr = M, js(M), M = M.sibling; | |
| Tr = P, Dl = we, ei = ct; | |
| } | |
| bu(n); | |
| } else (P.subtreeFlags & 8772) !== 0 && M !== null ? (M.return = P, Tr = M) : bu(n); | |
| } | |
| } | |
| function bu(n) { | |
| for (; Tr !== null; ) { | |
| var s = Tr; | |
| if ((s.flags & 8772) !== 0) { | |
| var f = s.alternate; | |
| try { | |
| if ((s.flags & 8772) !== 0) switch (s.tag) { | |
| case 0: | |
| case 11: | |
| case 15: | |
| ei || yu(5, s); | |
| break; | |
| case 1: | |
| var v = s.stateNode; | |
| if (s.flags & 4 && !ei) if (f === null) v.componentDidMount(); | |
| else { | |
| var P = s.elementType === s.type ? f.memoizedProps : Ss(s.type, f.memoizedProps); | |
| v.componentDidUpdate(P, f.memoizedState, v.__reactInternalSnapshotBeforeUpdate); | |
| } | |
| var M = s.updateQueue; | |
| M !== null && Cm(s, M, v); | |
| break; | |
| case 3: | |
| var K = s.updateQueue; | |
| if (K !== null) { | |
| if (f = null, s.child !== null) switch (s.child.tag) { | |
| case 5: | |
| f = s.child.stateNode; | |
| break; | |
| case 1: | |
| f = s.child.stateNode; | |
| } | |
| Cm(s, K, f); | |
| } | |
| break; | |
| case 5: | |
| var we = s.stateNode; | |
| if (f === null && s.flags & 4) { | |
| f = we; | |
| var Te = s.memoizedProps; | |
| switch (s.type) { | |
| case "button": | |
| case "input": | |
| case "select": | |
| case "textarea": | |
| Te.autoFocus && f.focus(); | |
| break; | |
| case "img": | |
| Te.src && (f.src = Te.src); | |
| } | |
| } | |
| break; | |
| case 6: | |
| break; | |
| case 4: | |
| break; | |
| case 12: | |
| break; | |
| case 13: | |
| if (s.memoizedState === null) { | |
| var ct = s.alternate; | |
| if (ct !== null) { | |
| var Wt = ct.memoizedState; | |
| if (Wt !== null) { | |
| var Kt = Wt.dehydrated; | |
| Kt !== null && na(Kt); | |
| } | |
| } | |
| } | |
| break; | |
| case 19: | |
| case 17: | |
| case 21: | |
| case 22: | |
| case 23: | |
| case 25: | |
| break; | |
| default: | |
| throw Error(r(163)); | |
| } | |
| ei || s.flags & 512 && Ld(s); | |
| } catch (Bt) { | |
| ti(s, s.return, Bt); | |
| } | |
| } | |
| if (s === n) { | |
| Tr = null; | |
| break; | |
| } | |
| if (f = s.sibling, f !== null) { | |
| f.return = s.return, Tr = f; | |
| break; | |
| } | |
| Tr = s.return; | |
| } | |
| } | |
| function xu(n) { | |
| for (; Tr !== null; ) { | |
| var s = Tr; | |
| if (s === n) { | |
| Tr = null; | |
| break; | |
| } | |
| var f = s.sibling; | |
| if (f !== null) { | |
| f.return = s.return, Tr = f; | |
| break; | |
| } | |
| Tr = s.return; | |
| } | |
| } | |
| function Hp(n) { | |
| for (; Tr !== null; ) { | |
| var s = Tr; | |
| try { | |
| switch (s.tag) { | |
| case 0: | |
| case 11: | |
| case 15: | |
| var f = s.return; | |
| try { | |
| yu(4, s); | |
| } catch (Te) { | |
| ti(s, f, Te); | |
| } | |
| break; | |
| case 1: | |
| var v = s.stateNode; | |
| if (typeof v.componentDidMount == "function") { | |
| var P = s.return; | |
| try { | |
| v.componentDidMount(); | |
| } catch (Te) { | |
| ti(s, P, Te); | |
| } | |
| } | |
| var M = s.return; | |
| try { | |
| Ld(s); | |
| } catch (Te) { | |
| ti(s, M, Te); | |
| } | |
| break; | |
| case 5: | |
| var K = s.return; | |
| try { | |
| Ld(s); | |
| } catch (Te) { | |
| ti(s, K, Te); | |
| } | |
| } | |
| } catch (Te) { | |
| ti(s, s.return, Te); | |
| } | |
| if (s === n) { | |
| Tr = null; | |
| break; | |
| } | |
| var we = s.sibling; | |
| if (we !== null) { | |
| we.return = s.return, Tr = we; | |
| break; | |
| } | |
| Tr = s.return; | |
| } | |
| } | |
| var Km = Math.ceil, oh = Z.ReactCurrentDispatcher, ih = Z.ReactCurrentOwner, is = Z.ReactCurrentBatchConfig, Nn = 0, Ti = null, hi = null, Ui = 0, Qi = 0, xn = Qr(0), Si = 0, Cs = null, Es = 0, Fd = 0, ah = 0, Nd = null, ya = null, xc = 0, Ga = 1 / 0, Ds = null, sh = !1, wc = null, Os = null, jd = !1, Hl = null, lh = 0, ul = 0, Wp = null, wu = -1, Dd = 0; | |
| function ca() { | |
| return (Nn & 6) !== 0 ? Fn() : wu !== -1 ? wu : wu = Fn(); | |
| } | |
| function Ps(n) { | |
| return (n.mode & 1) === 0 ? 1 : (Nn & 2) !== 0 && Ui !== 0 ? Ui & -Ui : Sm.transition !== null ? (Dd === 0 && (Dd = ge()), Dd) : (n = q, n !== 0 || (n = window.event, n = n === void 0 ? 16 : ms(n.type)), n); | |
| } | |
| function as(n, s, f, v) { | |
| if (50 < ul) throw ul = 0, Wp = null, Error(r(185)); | |
| Je(n, f, v), ((Nn & 2) === 0 || n !== Ti) && (n === Ti && ((Nn & 2) === 0 && (Fd |= f), Si === 4 && cl(n, Ui)), ba(n, v), f === 1 && Nn === 0 && (s.mode & 1) === 0 && (Ga = Fn() + 500, Wr && uo())); | |
| } | |
| function ba(n, s) { | |
| var f = n.callbackNode; | |
| W(n, s); | |
| var v = vo(n, n === Ti ? Ui : 0); | |
| if (v === 0) f !== null && Yi(f), n.callbackNode = null, n.callbackPriority = 0; | |
| else if (s = v & -v, n.callbackPriority !== s) { | |
| if (f != null && Yi(f), s === 1) n.tag === 0 ? wo(Qm.bind(null, n)) : es(Qm.bind(null, n)), j(function() { | |
| (Nn & 6) === 0 && uo(); | |
| }), f = null; | |
| else { | |
| switch (ae(v)) { | |
| case 1: | |
| f = xa; | |
| break; | |
| case 4: | |
| f = ta; | |
| break; | |
| case 16: | |
| f = Mi; | |
| break; | |
| case 536870912: | |
| f = zi; | |
| break; | |
| default: | |
| f = Mi; | |
| } | |
| f = Gp(f, Up.bind(null, n)); | |
| } | |
| n.callbackPriority = s, n.callbackNode = f; | |
| } | |
| } | |
| function Up(n, s) { | |
| if (wu = -1, Dd = 0, (Nn & 6) !== 0) throw Error(r(327)); | |
| var f = n.callbackNode; | |
| if (pi() && n.callbackNode !== f) return null; | |
| var v = vo(n, n === Ti ? Ui : 0); | |
| if (v === 0) return null; | |
| if ((v & 30) !== 0 || (v & n.expiredLanes) !== 0 || s) s = _a(n, v); | |
| else { | |
| s = v; | |
| var P = Nn; | |
| Nn |= 2; | |
| var M = dh(); | |
| (Ti !== n || Ui !== s) && (Ds = null, Ga = Fn() + 500, co(n, s)); | |
| do | |
| try { | |
| Jm(); | |
| break; | |
| } catch (we) { | |
| Bd(n, we); | |
| } | |
| while (!0); | |
| yd(), oh.current = M, Nn = P, hi !== null ? s = 0 : (Ti = null, Ui = 0, s = Si); | |
| } | |
| if (s !== 0) { | |
| if (s === 2 && (P = re(n), P !== 0 && (v = P, s = uh(n, P))), s === 1) throw f = Cs, co(n, 0), cl(n, v), ba(n, Fn()), f; | |
| if (s === 6) cl(n, v); | |
| else { | |
| if (P = n.current.alternate, (v & 30) === 0 && !Xm(P) && (s = _a(n, v), s === 2 && (M = re(n), M !== 0 && (v = M, s = uh(n, M))), s === 1)) throw f = Cs, co(n, 0), cl(n, v), ba(n, Fn()), f; | |
| switch (n.finishedWork = P, n.finishedLanes = v, s) { | |
| case 0: | |
| case 1: | |
| throw Error(r(345)); | |
| case 2: | |
| kc(n, ya, Ds); | |
| break; | |
| case 3: | |
| if (cl(n, v), (v & 130023424) === v && (s = xc + 500 - Fn(), 10 < s)) { | |
| if (vo(n, 0) !== 0) break; | |
| if (P = n.suspendedLanes, (P & v) !== v) { | |
| ca(), n.pingedLanes |= n.suspendedLanes & P; | |
| break; | |
| } | |
| n.timeoutHandle = x(kc.bind(null, n, ya, Ds), s); | |
| break; | |
| } | |
| kc(n, ya, Ds); | |
| break; | |
| case 4: | |
| if (cl(n, v), (v & 4194240) === v) break; | |
| for (s = n.eventTimes, P = -1; 0 < v; ) { | |
| var K = 31 - Io(v); | |
| M = 1 << K, K = s[K], K > P && (P = K), v &= ~M; | |
| } | |
| if (v = P, v = Fn() - v, v = (120 > v ? 120 : 480 > v ? 480 : 1080 > v ? 1080 : 1920 > v ? 1920 : 3e3 > v ? 3e3 : 4320 > v ? 4320 : 1960 * Km(v / 1960)) - v, 10 < v) { | |
| n.timeoutHandle = x(kc.bind(null, n, ya, Ds), v); | |
| break; | |
| } | |
| kc(n, ya, Ds); | |
| break; | |
| case 5: | |
| kc(n, ya, Ds); | |
| break; | |
| default: | |
| throw Error(r(329)); | |
| } | |
| } | |
| } | |
| return ba(n, Fn()), n.callbackNode === f ? Up.bind(null, n) : null; | |
| } | |
| function uh(n, s) { | |
| var f = Nd; | |
| return n.current.memoizedState.isDehydrated && (co(n, s).flags |= 256), n = _a(n, s), n !== 2 && (s = ya, ya = f, s !== null && ch(s)), n; | |
| } | |
| function ch(n) { | |
| ya === null ? ya = n : ya.push.apply(ya, n); | |
| } | |
| function Xm(n) { | |
| for (var s = n; ; ) { | |
| if (s.flags & 16384) { | |
| var f = s.updateQueue; | |
| if (f !== null && (f = f.stores, f !== null)) for (var v = 0; v < f.length; v++) { | |
| var P = f[v], M = P.getSnapshot; | |
| P = P.value; | |
| try { | |
| if (!Bi(M(), P)) return !1; | |
| } catch { | |
| return !1; | |
| } | |
| } | |
| } | |
| if (f = s.child, s.subtreeFlags & 16384 && f !== null) f.return = s, s = f; | |
| else { | |
| if (s === n) break; | |
| for (; s.sibling === null; ) { | |
| if (s.return === null || s.return === n) return !0; | |
| s = s.return; | |
| } | |
| s.sibling.return = s.return, s = s.sibling; | |
| } | |
| } | |
| return !0; | |
| } | |
| function cl(n, s) { | |
| for (s &= ~ah, s &= ~Fd, n.suspendedLanes |= s, n.pingedLanes &= ~s, n = n.expirationTimes; 0 < s; ) { | |
| var f = 31 - Io(s), v = 1 << f; | |
| n[f] = -1, s &= ~v; | |
| } | |
| } | |
| function Qm(n) { | |
| if ((Nn & 6) !== 0) throw Error(r(327)); | |
| pi(); | |
| var s = vo(n, 0); | |
| if ((s & 1) === 0) return ba(n, Fn()), null; | |
| var f = _a(n, s); | |
| if (n.tag !== 0 && f === 2) { | |
| var v = re(n); | |
| v !== 0 && (s = v, f = uh(n, v)); | |
| } | |
| if (f === 1) throw f = Cs, co(n, 0), cl(n, s), ba(n, Fn()), f; | |
| if (f === 6) throw Error(r(345)); | |
| return n.finishedWork = n.current.alternate, n.finishedLanes = s, kc(n, ya, Ds), ba(n, Fn()), null; | |
| } | |
| function $p(n, s) { | |
| var f = Nn; | |
| Nn |= 1; | |
| try { | |
| return n(s); | |
| } finally { | |
| Nn = f, Nn === 0 && (Ga = Fn() + 500, Wr && uo()); | |
| } | |
| } | |
| function Su(n) { | |
| Hl !== null && Hl.tag === 0 && (Nn & 6) === 0 && pi(); | |
| var s = Nn; | |
| Nn |= 1; | |
| var f = is.transition, v = q; | |
| try { | |
| if (is.transition = null, q = 1, n) return n(); | |
| } finally { | |
| q = v, is.transition = f, Nn = s, (Nn & 6) === 0 && uo(); | |
| } | |
| } | |
| function Vp() { | |
| Qi = xn.current, Mr(xn); | |
| } | |
| function co(n, s) { | |
| n.finishedWork = null, n.finishedLanes = 0; | |
| var f = n.timeoutHandle; | |
| if (f !== -1 && (n.timeoutHandle = -1, C(f)), hi !== null) for (f = hi.return; f !== null; ) { | |
| var v = f; | |
| switch (ts(v), v.tag) { | |
| case 1: | |
| v = v.type.childContextTypes, v != null && Vo(); | |
| break; | |
| case 3: | |
| oc(), Mr(rn), Mr(Br), ac(); | |
| break; | |
| case 5: | |
| ic(v); | |
| break; | |
| case 4: | |
| oc(); | |
| break; | |
| case 13: | |
| Mr(qo); | |
| break; | |
| case 19: | |
| Mr(qo); | |
| break; | |
| case 10: | |
| bd(v.type._context); | |
| break; | |
| case 22: | |
| case 23: | |
| Vp(); | |
| } | |
| f = f.return; | |
| } | |
| if (Ti = n, hi = n = dl(n.current, null), Ui = Qi = s, Si = 0, Cs = null, ah = Fd = Es = 0, ya = Nd = null, al !== null) { | |
| for (s = 0; s < al.length; s++) if (f = al[s], v = f.interleaved, v !== null) { | |
| f.interleaved = null; | |
| var P = v.next, M = f.pending; | |
| if (M !== null) { | |
| var K = M.next; | |
| M.next = P, v.next = K; | |
| } | |
| f.pending = v; | |
| } | |
| al = null; | |
| } | |
| return n; | |
| } | |
| function Bd(n, s) { | |
| do { | |
| var f = hi; | |
| try { | |
| if (yd(), sc.current = Qf, Nl) { | |
| for (var v = No.memoizedState; v !== null; ) { | |
| var P = v.queue; | |
| P !== null && (P.pending = null), v = v.next; | |
| } | |
| Nl = !1; | |
| } | |
| if (Fl = 0, Zo = jo = No = null, lc = !1, uc = 0, ih.current = null, f === null || f.return === null) { | |
| Si = 1, Cs = s, hi = null; | |
| break; | |
| } | |
| e: { | |
| var M = n, K = f.return, we = f, Te = s; | |
| if (s = Ui, we.flags |= 32768, Te !== null && typeof Te == "object" && typeof Te.then == "function") { | |
| var ct = Te, Wt = we, Kt = Wt.tag; | |
| if ((Wt.mode & 1) === 0 && (Kt === 0 || Kt === 11 || Kt === 15)) { | |
| var Bt = Wt.alternate; | |
| Bt ? (Wt.updateQueue = Bt.updateQueue, Wt.memoizedState = Bt.memoizedState, Wt.lanes = Bt.lanes) : (Wt.updateQueue = null, Wt.memoizedState = null); | |
| } | |
| var Cr = Hm(K); | |
| if (Cr !== null) { | |
| Cr.flags &= -257, Wm(Cr, K, we, M, s), Cr.mode & 1 && Op(M, ct, s), s = Cr, Te = ct; | |
| var zr = s.updateQueue; | |
| if (zr === null) { | |
| var Nr = /* @__PURE__ */ new Set(); | |
| Nr.add(Te), s.updateQueue = Nr; | |
| } else zr.add(Te); | |
| break e; | |
| } else { | |
| if ((s & 1) === 0) { | |
| Op(M, ct, s), Sc(); | |
| break e; | |
| } | |
| Te = Error(r(426)); | |
| } | |
| } else if (Eo && we.mode & 1) { | |
| var ri = Hm(K); | |
| if (ri !== null) { | |
| (ri.flags & 65536) === 0 && (ri.flags |= 256), Wm(ri, K, we, M, s), jf(hc(Te, we)); | |
| break e; | |
| } | |
| } | |
| M = Te = hc(Te, we), Si !== 4 && (Si = 2), Nd === null ? Nd = [M] : Nd.push(M), M = K; | |
| do { | |
| switch (M.tag) { | |
| case 3: | |
| M.flags |= 65536, s &= -s, M.lanes |= s; | |
| var tt = Dm(M, Te, s); | |
| km(M, tt); | |
| break e; | |
| case 1: | |
| we = Te; | |
| var We = M.type, at = M.stateNode; | |
| if ((M.flags & 128) === 0 && (typeof We.getDerivedStateFromError == "function" || at !== null && typeof at.componentDidCatch == "function" && (Os === null || !Os.has(at)))) { | |
| M.flags |= 65536, s &= -s, M.lanes |= s; | |
| var tr = Bm(M, we, s); | |
| km(M, tr); | |
| break e; | |
| } | |
| } | |
| M = M.return; | |
| } while (M !== null); | |
| } | |
| I0(f); | |
| } catch (Dr) { | |
| s = Dr, hi === f && f !== null && (hi = f = f.return); | |
| continue; | |
| } | |
| break; | |
| } while (!0); | |
| } | |
| function dh() { | |
| var n = oh.current; | |
| return oh.current = Qf, n === null ? Qf : n; | |
| } | |
| function Sc() { | |
| (Si === 0 || Si === 3 || Si === 2) && (Si = 4), Ti === null || (Es & 268435455) === 0 && (Fd & 268435455) === 0 || cl(Ti, Ui); | |
| } | |
| function _a(n, s) { | |
| var f = Nn; | |
| Nn |= 2; | |
| var v = dh(); | |
| (Ti !== n || Ui !== s) && (Ds = null, co(n, s)); | |
| do | |
| try { | |
| Bs(); | |
| break; | |
| } catch (P) { | |
| Bd(n, P); | |
| } | |
| while (!0); | |
| if (yd(), Nn = f, oh.current = v, hi !== null) throw Error(r(261)); | |
| return Ti = null, Ui = 0, Si; | |
| } | |
| function Bs() { | |
| for (; hi !== null; ) ku(hi); | |
| } | |
| function Jm() { | |
| for (; hi !== null && !io(); ) ku(hi); | |
| } | |
| function ku(n) { | |
| var s = fh(n.alternate, n, Qi); | |
| n.memoizedProps = n.pendingProps, s === null ? I0(n) : hi = s, ih.current = null; | |
| } | |
| function I0(n) { | |
| var s = n; | |
| do { | |
| var f = s.alternate; | |
| if (n = s.return, (s.flags & 32768) === 0) { | |
| if (f = jp(f, s, Qi), f !== null) { | |
| hi = f; | |
| return; | |
| } | |
| } else { | |
| if (f = vc(f, s), f !== null) { | |
| f.flags &= 32767, hi = f; | |
| return; | |
| } | |
| if (n !== null) n.flags |= 32768, n.subtreeFlags = 0, n.deletions = null; | |
| else { | |
| Si = 6, hi = null; | |
| return; | |
| } | |
| } | |
| if (s = s.sibling, s !== null) { | |
| hi = s; | |
| return; | |
| } | |
| hi = s = n; | |
| } while (s !== null); | |
| Si === 0 && (Si = 5); | |
| } | |
| function kc(n, s, f) { | |
| var v = q, P = is.transition; | |
| try { | |
| is.transition = null, q = 1, G1(n, s, f, v); | |
| } finally { | |
| is.transition = P, q = v; | |
| } | |
| return null; | |
| } | |
| function G1(n, s, f, v) { | |
| do | |
| pi(); | |
| while (Hl !== null); | |
| if ((Nn & 6) !== 0) throw Error(r(327)); | |
| f = n.finishedWork; | |
| var P = n.finishedLanes; | |
| if (f === null) return null; | |
| if (n.finishedWork = null, n.finishedLanes = 0, f === n.current) throw Error(r(177)); | |
| n.callbackNode = null, n.callbackPriority = 0; | |
| var M = f.lanes | f.childLanes; | |
| if (dt(n, M), n === Ti && (hi = Ti = null, Ui = 0), (f.subtreeFlags & 2064) === 0 && (f.flags & 2064) === 0 || jd || (jd = !0, Gp(Mi, function() { | |
| return pi(), null; | |
| })), M = (f.flags & 15990) !== 0, (f.subtreeFlags & 15990) !== 0 || M) { | |
| M = is.transition, is.transition = null; | |
| var K = q; | |
| q = 1; | |
| var we = Nn; | |
| Nn |= 4, ih.current = null, ua(n, f), Wn(f, n), $u(Xu), Ao = !!ao, Xu = ao = null, n.current = f, Ra(f), yn(), Nn = we, q = K, is.transition = M; | |
| } else n.current = f; | |
| if (jd && (jd = !1, Hl = n, lh = P), M = n.pendingLanes, M === 0 && (Os = null), ra(f.stateNode), ba(n, Fn()), s !== null) for (v = n.onRecoverableError, f = 0; f < s.length; f++) P = s[f], v(P.value, { componentStack: P.stack, digest: P.digest }); | |
| if (sh) throw sh = !1, n = wc, wc = null, n; | |
| return (lh & 1) !== 0 && n.tag !== 0 && pi(), M = n.pendingLanes, (M & 1) !== 0 ? n === Wp ? ul++ : (ul = 0, Wp = n) : ul = 0, uo(), null; | |
| } | |
| function pi() { | |
| if (Hl !== null) { | |
| var n = ae(lh), s = is.transition, f = q; | |
| try { | |
| if (is.transition = null, q = 16 > n ? 16 : n, Hl === null) var v = !1; | |
| else { | |
| if (n = Hl, Hl = null, lh = 0, (Nn & 6) !== 0) throw Error(r(331)); | |
| var P = Nn; | |
| for (Nn |= 4, Tr = n.current; Tr !== null; ) { | |
| var M = Tr, K = M.child; | |
| if ((Tr.flags & 16) !== 0) { | |
| var we = M.deletions; | |
| if (we !== null) { | |
| for (var Te = 0; Te < we.length; Te++) { | |
| var ct = we[Te]; | |
| for (Tr = ct; Tr !== null; ) { | |
| var Wt = Tr; | |
| switch (Wt.tag) { | |
| case 0: | |
| case 11: | |
| case 15: | |
| yc(8, Wt, M); | |
| } | |
| var Kt = Wt.child; | |
| if (Kt !== null) Kt.return = Wt, Tr = Kt; | |
| else for (; Tr !== null; ) { | |
| Wt = Tr; | |
| var Bt = Wt.sibling, Cr = Wt.return; | |
| if (Md(Wt), Wt === ct) { | |
| Tr = null; | |
| break; | |
| } | |
| if (Bt !== null) { | |
| Bt.return = Cr, Tr = Bt; | |
| break; | |
| } | |
| Tr = Cr; | |
| } | |
| } | |
| } | |
| var zr = M.alternate; | |
| if (zr !== null) { | |
| var Nr = zr.child; | |
| if (Nr !== null) { | |
| zr.child = null; | |
| do { | |
| var ri = Nr.sibling; | |
| Nr.sibling = null, Nr = ri; | |
| } while (Nr !== null); | |
| } | |
| } | |
| Tr = M; | |
| } | |
| } | |
| if ((M.subtreeFlags & 2064) !== 0 && K !== null) K.return = M, Tr = K; | |
| else e: for (; Tr !== null; ) { | |
| if (M = Tr, (M.flags & 2048) !== 0) switch (M.tag) { | |
| case 0: | |
| case 11: | |
| case 15: | |
| yc(9, M, M.return); | |
| } | |
| var tt = M.sibling; | |
| if (tt !== null) { | |
| tt.return = M.return, Tr = tt; | |
| break e; | |
| } | |
| Tr = M.return; | |
| } | |
| } | |
| var We = n.current; | |
| for (Tr = We; Tr !== null; ) { | |
| K = Tr; | |
| var at = K.child; | |
| if ((K.subtreeFlags & 2064) !== 0 && at !== null) at.return = K, Tr = at; | |
| else e: for (K = We; Tr !== null; ) { | |
| if (we = Tr, (we.flags & 2048) !== 0) try { | |
| switch (we.tag) { | |
| case 0: | |
| case 11: | |
| case 15: | |
| yu(9, we); | |
| } | |
| } catch (Dr) { | |
| ti(we, we.return, Dr); | |
| } | |
| if (we === K) { | |
| Tr = null; | |
| break e; | |
| } | |
| var tr = we.sibling; | |
| if (tr !== null) { | |
| tr.return = we.return, Tr = tr; | |
| break e; | |
| } | |
| Tr = we.return; | |
| } | |
| } | |
| if (Nn = P, uo(), Do && typeof Do.onPostCommitFiberRoot == "function") try { | |
| Do.onPostCommitFiberRoot(Oi, n); | |
| } catch { | |
| } | |
| v = !0; | |
| } | |
| return v; | |
| } finally { | |
| q = f, is.transition = s; | |
| } | |
| } | |
| return !1; | |
| } | |
| function Hd(n, s, f) { | |
| s = hc(f, s), s = Dm(n, s, 1), n = xs(n, s, 1), s = ca(), n !== null && (Je(n, 1, s), ba(n, s)); | |
| } | |
| function ti(n, s, f) { | |
| if (n.tag === 3) Hd(n, n, f); | |
| else for (; s !== null; ) { | |
| if (s.tag === 3) { | |
| Hd(s, n, f); | |
| break; | |
| } else if (s.tag === 1) { | |
| var v = s.stateNode; | |
| if (typeof s.type.getDerivedStateFromError == "function" || typeof v.componentDidCatch == "function" && (Os === null || !Os.has(v))) { | |
| n = hc(f, n), n = Bm(s, n, 1), s = xs(s, n, 1), n = ca(), s !== null && (Je(s, 1, n), ba(s, n)); | |
| break; | |
| } | |
| } | |
| s = s.return; | |
| } | |
| } | |
| function Zm(n, s, f) { | |
| var v = n.pingCache; | |
| v !== null && v.delete(s), s = ca(), n.pingedLanes |= n.suspendedLanes & f, Ti === n && (Ui & f) === f && (Si === 4 || Si === 3 && (Ui & 130023424) === Ui && 500 > Fn() - xc ? co(n, 0) : ah |= f), ba(n, s); | |
| } | |
| function qp(n, s) { | |
| s === 0 && ((n.mode & 1) === 0 ? s = 1 : (s = Sa, Sa <<= 1, (Sa & 130023424) === 0 && (Sa = 4194304))); | |
| var f = ca(); | |
| n = rs(n, s), n !== null && (Je(n, s, f), ba(n, f)); | |
| } | |
| function T0(n) { | |
| var s = n.memoizedState, f = 0; | |
| s !== null && (f = s.retryLane), qp(n, f); | |
| } | |
| function R0(n, s) { | |
| var f = 0; | |
| switch (n.tag) { | |
| case 13: | |
| var v = n.stateNode, P = n.memoizedState; | |
| P !== null && (f = P.retryLane); | |
| break; | |
| case 19: | |
| v = n.stateNode; | |
| break; | |
| default: | |
| throw Error(r(314)); | |
| } | |
| v !== null && v.delete(s), qp(n, f); | |
| } | |
| var fh; | |
| fh = function(n, s, f) { | |
| if (n !== null) if (n.memoizedProps !== s.pendingProps || rn.current) Ta = !0; | |
| else { | |
| if ((n.lanes & f) === 0 && (s.flags & 128) === 0) return Ta = !1, jl(n, s, f); | |
| Ta = (n.flags & 131072) !== 0; | |
| } | |
| else Ta = !1, Eo && (s.flags & 1048576) !== 0 && il(s, xi, s.index); | |
| switch (s.lanes = 0, s.tag) { | |
| case 2: | |
| var v = s.type; | |
| mc(n, s), n = s.pendingProps; | |
| var P = Yn(s, Br.current); | |
| tc(s, f), P = vp(null, s, v, n, P, f); | |
| var M = yp(); | |
| return s.flags |= 1, typeof P == "object" && P !== null && typeof P.render == "function" && P.$$typeof === void 0 ? (s.tag = 1, s.memoizedState = null, s.updateQueue = null, bn(v) ? (M = !0, di(s)) : M = !1, s.memoizedState = P.state !== null && P.state !== void 0 ? P.state : null, rc(s), P.updater = Jf, s.stateNode = P, P._reactInternals = s, kp(s, v, n, f), s = Ap(null, s, v, !0, M, f)) : (s.tag = 0, Eo && M && du(s), va(null, s, P, f), s = s.child), s; | |
| case 16: | |
| v = s.elementType; | |
| e: { | |
| switch (mc(n, s), n = s.pendingProps, P = v._init, v = P(v._payload), s.type = v, P = s.tag = tv(v), n = Ss(v, n), P) { | |
| case 0: | |
| s = _p(null, s, v, n, f); | |
| break e; | |
| case 1: | |
| s = Vm(null, s, v, n, f); | |
| break e; | |
| case 11: | |
| s = Ip(null, s, v, n, f); | |
| break e; | |
| case 14: | |
| s = Um(null, s, v, Ss(v.type, n), f); | |
| break e; | |
| } | |
| throw Error(r( | |
| 306, | |
| v, | |
| "" | |
| )); | |
| } | |
| return s; | |
| case 0: | |
| return v = s.type, P = s.pendingProps, P = s.elementType === v ? P : Ss(v, P), _p(n, s, v, P, f); | |
| case 1: | |
| return v = s.type, P = s.pendingProps, P = s.elementType === v ? P : Ss(v, P), Vm(n, s, v, P, f); | |
| case 3: | |
| e: { | |
| if (Lp(s), n === null) throw Error(r(387)); | |
| v = s.pendingProps, M = s.memoizedState, P = M.element, nc(n, s), Hf(s, v, null, f); | |
| var K = s.memoizedState; | |
| if (v = K.element, M.isDehydrated) if (M = { element: v, isDehydrated: !1, cache: K.cache, pendingSuspenseBoundaries: K.pendingSuspenseBoundaries, transitions: K.transitions }, s.updateQueue.baseState = M, s.memoizedState = M, s.flags & 256) { | |
| P = hc(Error(r(423)), s), s = Mp(n, s, v, f, P); | |
| break e; | |
| } else if (v !== P) { | |
| P = hc(Error(r(424)), s), s = Mp(n, s, v, f, P); | |
| break e; | |
| } else for (Xi = Se(s.stateNode.containerInfo.firstChild), Ki = s, Eo = !0, la = null, f = zl(s, null, v, f), s.child = f; f; ) f.flags = f.flags & -3 | 4096, f = f.sibling; | |
| else { | |
| if (fu(), v === P) { | |
| s = ks(n, s, f); | |
| break e; | |
| } | |
| va(n, s, v, f); | |
| } | |
| s = s.child; | |
| } | |
| return s; | |
| case 5: | |
| return Cd(s), n === null && Ff(s), v = s.type, P = s.pendingProps, M = n !== null ? n.memoizedProps : null, K = P.children, k(v, P) ? K = null : M !== null && k(v, M) && (s.flags |= 32), $m(n, s), va(n, s, K, f), s.child; | |
| case 6: | |
| return n === null && Ff(s), null; | |
| case 13: | |
| return qm(n, s, f); | |
| case 4: | |
| return mp(s, s.stateNode.containerInfo), v = s.pendingProps, n === null ? s.child = Pa(s, null, v, f) : va(n, s, v, f), s.child; | |
| case 11: | |
| return v = s.type, P = s.pendingProps, P = s.elementType === v ? P : Ss(v, P), Ip(n, s, v, P, f); | |
| case 7: | |
| return va(n, s, s.pendingProps, f), s.child; | |
| case 8: | |
| return va(n, s, s.pendingProps.children, f), s.child; | |
| case 12: | |
| return va(n, s, s.pendingProps.children, f), s.child; | |
| case 10: | |
| e: { | |
| if (v = s.type._context, P = s.pendingProps, M = s.memoizedProps, K = P.value, tn(md, v._currentValue), v._currentValue = K, M !== null) if (Bi(M.value, K)) { | |
| if (M.children === P.children && !rn.current) { | |
| s = ks(n, s, f); | |
| break e; | |
| } | |
| } else for (M = s.child, M !== null && (M.return = s); M !== null; ) { | |
| var we = M.dependencies; | |
| if (we !== null) { | |
| K = M.child; | |
| for (var Te = we.firstContext; Te !== null; ) { | |
| if (Te.context === v) { | |
| if (M.tag === 1) { | |
| Te = ns(-1, f & -f), Te.tag = 2; | |
| var ct = M.updateQueue; | |
| if (ct !== null) { | |
| ct = ct.shared; | |
| var Wt = ct.pending; | |
| Wt === null ? Te.next = Te : (Te.next = Wt.next, Wt.next = Te), ct.pending = Te; | |
| } | |
| } | |
| M.lanes |= f, Te = M.alternate, Te !== null && (Te.lanes |= f), Bf( | |
| M.return, | |
| f, | |
| s | |
| ), we.lanes |= f; | |
| break; | |
| } | |
| Te = Te.next; | |
| } | |
| } else if (M.tag === 10) K = M.type === s.type ? null : M.child; | |
| else if (M.tag === 18) { | |
| if (K = M.return, K === null) throw Error(r(341)); | |
| K.lanes |= f, we = K.alternate, we !== null && (we.lanes |= f), Bf(K, f, s), K = M.sibling; | |
| } else K = M.child; | |
| if (K !== null) K.return = M; | |
| else for (K = M; K !== null; ) { | |
| if (K === s) { | |
| K = null; | |
| break; | |
| } | |
| if (M = K.sibling, M !== null) { | |
| M.return = K.return, K = M; | |
| break; | |
| } | |
| K = K.return; | |
| } | |
| M = K; | |
| } | |
| va(n, s, P.children, f), s = s.child; | |
| } | |
| return s; | |
| case 9: | |
| return P = s.type, v = s.pendingProps.children, tc(s, f), P = Ia(P), v = v(P), s.flags |= 1, va(n, s, v, f), s.child; | |
| case 14: | |
| return v = s.type, P = Ss(v, s.pendingProps), P = Ss(v.type, P), Um(n, s, v, P, f); | |
| case 15: | |
| return Tp(n, s, s.type, s.pendingProps, f); | |
| case 17: | |
| return v = s.type, P = s.pendingProps, P = s.elementType === v ? P : Ss(v, P), mc(n, s), s.tag = 1, bn(v) ? (n = !0, di(s)) : n = !1, tc(s, f), Nm(s, v, P), kp(s, v, P, f), Ap(null, s, v, !0, n, f); | |
| case 19: | |
| return Ym(n, s, f); | |
| case 22: | |
| return Rp(n, s, f); | |
| } | |
| throw Error(r(156, s.tag)); | |
| }; | |
| function Gp(n, s) { | |
| return Li(n, s); | |
| } | |
| function ev(n, s, f, v) { | |
| this.tag = n, this.key = f, this.sibling = this.child = this.return = this.stateNode = this.type = this.elementType = null, this.index = 0, this.ref = null, this.pendingProps = s, this.dependencies = this.memoizedState = this.updateQueue = this.memoizedProps = null, this.mode = v, this.subtreeFlags = this.flags = 0, this.deletions = null, this.childLanes = this.lanes = 0, this.alternate = null; | |
| } | |
| function Aa(n, s, f, v) { | |
| return new ev(n, s, f, v); | |
| } | |
| function hh(n) { | |
| return n = n.prototype, !(!n || !n.isReactComponent); | |
| } | |
| function tv(n) { | |
| if (typeof n == "function") return hh(n) ? 1 : 0; | |
| if (n != null) { | |
| if (n = n.$$typeof, n === se) return 11; | |
| if (n === Be) return 14; | |
| } | |
| return 2; | |
| } | |
| function dl(n, s) { | |
| var f = n.alternate; | |
| return f === null ? (f = Aa(n.tag, s, n.key, n.mode), f.elementType = n.elementType, f.type = n.type, f.stateNode = n.stateNode, f.alternate = n, n.alternate = f) : (f.pendingProps = s, f.type = n.type, f.flags = 0, f.subtreeFlags = 0, f.deletions = null), f.flags = n.flags & 14680064, f.childLanes = n.childLanes, f.lanes = n.lanes, f.child = n.child, f.memoizedProps = n.memoizedProps, f.memoizedState = n.memoizedState, f.updateQueue = n.updateQueue, s = n.dependencies, f.dependencies = s === null ? null : { lanes: s.lanes, firstContext: s.firstContext }, f.sibling = n.sibling, f.index = n.index, f.ref = n.ref, f; | |
| } | |
| function ph(n, s, f, v, P, M) { | |
| var K = 2; | |
| if (v = n, typeof n == "function") hh(n) && (K = 1); | |
| else if (typeof n == "string") K = 5; | |
| else e: switch (n) { | |
| case ie: | |
| return Cu(f.children, P, M, s); | |
| case ye: | |
| K = 8, P |= 8; | |
| break; | |
| case J: | |
| return n = Aa(12, f, s, P | 2), n.elementType = J, n.lanes = M, n; | |
| case Re: | |
| return n = Aa(13, f, s, P), n.elementType = Re, n.lanes = M, n; | |
| case Ne: | |
| return n = Aa(19, f, s, P), n.elementType = Ne, n.lanes = M, n; | |
| case Xe: | |
| return gh(f, P, M, s); | |
| default: | |
| if (typeof n == "object" && n !== null) switch (n.$$typeof) { | |
| case de: | |
| K = 10; | |
| break e; | |
| case ke: | |
| K = 9; | |
| break e; | |
| case se: | |
| K = 11; | |
| break e; | |
| case Be: | |
| K = 14; | |
| break e; | |
| case Ue: | |
| K = 16, v = null; | |
| break e; | |
| } | |
| throw Error(r(130, n == null ? n : typeof n, "")); | |
| } | |
| return s = Aa(K, f, s, P), s.elementType = n, s.type = v, s.lanes = M, s; | |
| } | |
| function Cu(n, s, f, v) { | |
| return n = Aa(7, n, v, s), n.lanes = f, n; | |
| } | |
| function gh(n, s, f, v) { | |
| return n = Aa(22, n, v, s), n.elementType = Xe, n.lanes = f, n.stateNode = { isHidden: !1 }, n; | |
| } | |
| function mh(n, s, f) { | |
| return n = Aa(6, n, null, s), n.lanes = f, n; | |
| } | |
| function Wl(n, s, f) { | |
| return s = Aa(4, n.children !== null ? n.children : [], n.key, s), s.lanes = f, s.stateNode = { containerInfo: n.containerInfo, pendingChildren: null, implementation: n.implementation }, s; | |
| } | |
| function Yp(n, s, f, v, P) { | |
| this.tag = s, this.containerInfo = n, this.finishedWork = this.pingCache = this.current = this.pendingChildren = null, this.timeoutHandle = -1, this.callbackNode = this.pendingContext = this.context = null, this.callbackPriority = 0, this.eventTimes = rt(0), this.expirationTimes = rt(-1), this.entangledLanes = this.finishedLanes = this.mutableReadLanes = this.expiredLanes = this.pingedLanes = this.suspendedLanes = this.pendingLanes = 0, this.entanglements = rt(0), this.identifierPrefix = v, this.onRecoverableError = P, this.mutableSourceEagerHydrationData = null; | |
| } | |
| function Kp(n, s, f, v, P, M, K, we, Te) { | |
| return n = new Yp(n, s, f, we, Te), s === 1 ? (s = 1, M === !0 && (s |= 8)) : s = 0, M = Aa(3, null, null, s), n.current = M, M.stateNode = n, M.memoizedState = { element: v, isDehydrated: f, cache: null, transitions: null, pendingSuspenseBoundaries: null }, rc(M), n; | |
| } | |
| function Xp(n, s, f) { | |
| var v = 3 < arguments.length && arguments[3] !== void 0 ? arguments[3] : null; | |
| return { $$typeof: te, key: v == null ? null : "" + v, children: n, containerInfo: s, implementation: f }; | |
| } | |
| function Qp(n) { | |
| if (!n) return Gr; | |
| n = n._reactInternals; | |
| e: { | |
| if (zo(n) !== n || n.tag !== 1) throw Error(r(170)); | |
| var s = n; | |
| do { | |
| switch (s.tag) { | |
| case 3: | |
| s = s.stateNode.context; | |
| break e; | |
| case 1: | |
| if (bn(s.type)) { | |
| s = s.stateNode.__reactInternalMemoizedMergedChildContext; | |
| break e; | |
| } | |
| } | |
| s = s.return; | |
| } while (s !== null); | |
| throw Error(r(171)); | |
| } | |
| if (n.tag === 1) { | |
| var f = n.type; | |
| if (bn(f)) return $a(n, f, s); | |
| } | |
| return s; | |
| } | |
| function Jp(n, s, f, v, P, M, K, we, Te) { | |
| return n = Kp(f, v, !0, n, P, M, K, we, Te), n.context = Qp(null), f = n.current, v = ca(), P = Ps(f), M = ns(v, P), M.callback = s ?? null, xs(f, M, P), n.current.lanes = P, Je(n, P, v), ba(n, v), n; | |
| } | |
| function Cc(n, s, f, v) { | |
| var P = s.current, M = ca(), K = Ps(P); | |
| return f = Qp(f), s.context === null ? s.context = f : s.pendingContext = f, s = ns(M, K), s.payload = { element: n }, v = v === void 0 ? null : v, v !== null && (s.callback = v), n = xs(P, s, K), n !== null && (as(n, P, K, M), pu(n, P, K)), K; | |
| } | |
| function Ec(n) { | |
| if (n = n.current, !n.child) return null; | |
| switch (n.child.tag) { | |
| case 5: | |
| return n.child.stateNode; | |
| default: | |
| return n.child.stateNode; | |
| } | |
| } | |
| function Wd(n, s) { | |
| if (n = n.memoizedState, n !== null && n.dehydrated !== null) { | |
| var f = n.retryLane; | |
| n.retryLane = f !== 0 && f < s ? f : s; | |
| } | |
| } | |
| function Ud(n, s) { | |
| Wd(n, s), (n = n.alternate) && Wd(n, s); | |
| } | |
| function rv() { | |
| return null; | |
| } | |
| var nv = typeof reportError == "function" ? reportError : function(n) { | |
| console.error(n); | |
| }; | |
| function fl(n) { | |
| this._internalRoot = n; | |
| } | |
| Oc.prototype.render = fl.prototype.render = function(n) { | |
| var s = this._internalRoot; | |
| if (s === null) throw Error(r(409)); | |
| Cc(n, s, null, null); | |
| }, Oc.prototype.unmount = fl.prototype.unmount = function() { | |
| var n = this._internalRoot; | |
| if (n !== null) { | |
| this._internalRoot = null; | |
| var s = n.containerInfo; | |
| Su(function() { | |
| Cc(null, n, null, null); | |
| }), s[He] = null; | |
| } | |
| }; | |
| function Oc(n) { | |
| this._internalRoot = n; | |
| } | |
| Oc.prototype.unstable_scheduleHydration = function(n) { | |
| if (n) { | |
| var s = $e(); | |
| n = { blockedOn: null, target: n, priority: s }; | |
| for (var f = 0; f < ar.length && s !== 0 && s < ar[f].priority; f++) ; | |
| ar.splice(f, 0, n), f === 0 && vi(n); | |
| } | |
| }; | |
| function Zp(n) { | |
| return !(!n || n.nodeType !== 1 && n.nodeType !== 9 && n.nodeType !== 11); | |
| } | |
| function vh(n) { | |
| return !(!n || n.nodeType !== 1 && n.nodeType !== 9 && n.nodeType !== 11 && (n.nodeType !== 8 || n.nodeValue !== " react-mount-point-unstable ")); | |
| } | |
| function ov() { | |
| } | |
| function eg(n, s, f, v, P) { | |
| if (P) { | |
| if (typeof v == "function") { | |
| var M = v; | |
| v = function() { | |
| var ct = Ec(K); | |
| M.call(ct); | |
| }; | |
| } | |
| var K = Jp(s, v, n, 0, null, !1, !1, "", ov); | |
| return n._reactRootContainer = K, n[He] = K.current, uu(n.nodeType === 8 ? n.parentNode : n), Su(), K; | |
| } | |
| for (; P = n.lastChild; ) n.removeChild(P); | |
| if (typeof v == "function") { | |
| var we = v; | |
| v = function() { | |
| var ct = Ec(Te); | |
| we.call(ct); | |
| }; | |
| } | |
| var Te = Kp(n, 0, !1, null, null, !1, !1, "", ov); | |
| return n._reactRootContainer = Te, n[He] = Te.current, uu(n.nodeType === 8 ? n.parentNode : n), Su(function() { | |
| Cc(s, Te, f, v); | |
| }), Te; | |
| } | |
| function $d(n, s, f, v, P) { | |
| var M = f._reactRootContainer; | |
| if (M) { | |
| var K = M; | |
| if (typeof P == "function") { | |
| var we = P; | |
| P = function() { | |
| var Te = Ec(K); | |
| we.call(Te); | |
| }; | |
| } | |
| Cc(s, K, n, P); | |
| } else K = eg(f, s, n, P, v); | |
| return Ec(K); | |
| } | |
| ue = function(n) { | |
| switch (n.tag) { | |
| case 3: | |
| var s = n.stateNode; | |
| if (s.current.memoizedState.isDehydrated) { | |
| var f = Bo(s.pendingLanes); | |
| f !== 0 && (N(s, f | 1), ba(s, Fn()), (Nn & 6) === 0 && (Ga = Fn() + 500, uo())); | |
| } | |
| break; | |
| case 13: | |
| Su(function() { | |
| var v = rs(n, 1); | |
| if (v !== null) { | |
| var P = ca(); | |
| as(v, n, 1, P); | |
| } | |
| }), Ud(n, 1); | |
| } | |
| }, Fe = function(n) { | |
| if (n.tag === 13) { | |
| var s = rs(n, 134217728); | |
| if (s !== null) { | |
| var f = ca(); | |
| as(s, n, 134217728, f); | |
| } | |
| Ud(n, 134217728); | |
| } | |
| }, Ye = function(n) { | |
| if (n.tag === 13) { | |
| var s = Ps(n), f = rs(n, s); | |
| if (f !== null) { | |
| var v = ca(); | |
| as(f, n, s, v); | |
| } | |
| Ud(n, s); | |
| } | |
| }, $e = function() { | |
| return q; | |
| }, xt = function(n, s) { | |
| var f = q; | |
| try { | |
| return q = n, s(); | |
| } finally { | |
| q = f; | |
| } | |
| }, Lr = function(n, s, f) { | |
| switch (s) { | |
| case "input": | |
| if (hr(n, f), s = f.name, f.type === "radio" && s != null) { | |
| for (f = n; f.parentNode; ) f = f.parentNode; | |
| for (f = f.querySelectorAll("input[name=" + JSON.stringify("" + s) + '][type="radio"]'), s = 0; s < f.length; s++) { | |
| var v = f[s]; | |
| if (v !== n && v.form === n.form) { | |
| var P = pr(v); | |
| if (!P) throw Error(r(90)); | |
| Vt(v), hr(v, P); | |
| } | |
| } | |
| } | |
| break; | |
| case "textarea": | |
| Ae(n, f); | |
| break; | |
| case "select": | |
| s = f.value, s != null && At(n, !!f.multiple, s, !1); | |
| } | |
| }, pn = $p, nn = Su; | |
| var _0 = { usingClientEntryPoint: !1, Events: [rr, _t, pr, hn, Ur, $p] }, Pc = { findFiberByHostInstance: jt, bundleType: 0, version: "18.3.1", rendererPackageName: "react-dom" }, tg = { bundleType: Pc.bundleType, version: Pc.version, rendererPackageName: Pc.rendererPackageName, rendererConfig: Pc.rendererConfig, overrideHookState: null, overrideHookStateDeletePath: null, overrideHookStateRenamePath: null, overrideProps: null, overridePropsDeletePath: null, overridePropsRenamePath: null, setErrorHandler: null, setSuspenseHandler: null, scheduleUpdate: null, currentDispatcherRef: Z.ReactCurrentDispatcher, findHostInstanceByFiber: function(n) { | |
| return n = mi(n), n === null ? null : n.stateNode; | |
| }, findFiberByHostInstance: Pc.findFiberByHostInstance || rv, findHostInstancesForRefresh: null, scheduleRefresh: null, scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, reconcilerVersion: "18.3.1-next-f1338f8080-20240426" }; | |
| if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u") { | |
| var Vd = __REACT_DEVTOOLS_GLOBAL_HOOK__; | |
| if (!Vd.isDisabled && Vd.supportsFiber) try { | |
| Oi = Vd.inject(tg), Do = Vd; | |
| } catch { | |
| } | |
| } | |
| return us.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = _0, us.createPortal = function(n, s) { | |
| var f = 2 < arguments.length && arguments[2] !== void 0 ? arguments[2] : null; | |
| if (!Zp(s)) throw Error(r(200)); | |
| return Xp(n, s, null, f); | |
| }, us.createRoot = function(n, s) { | |
| if (!Zp(n)) throw Error(r(299)); | |
| var f = !1, v = "", P = nv; | |
| return s != null && (s.unstable_strictMode === !0 && (f = !0), s.identifierPrefix !== void 0 && (v = s.identifierPrefix), s.onRecoverableError !== void 0 && (P = s.onRecoverableError)), s = Kp(n, 1, !1, null, null, f, !1, v, P), n[He] = s.current, uu(n.nodeType === 8 ? n.parentNode : n), new fl(s); | |
| }, us.findDOMNode = function(n) { | |
| if (n == null) return null; | |
| if (n.nodeType === 1) return n; | |
| var s = n._reactInternals; | |
| if (s === void 0) | |
| throw typeof n.render == "function" ? Error(r(188)) : (n = Object.keys(n).join(","), Error(r(268, n))); | |
| return n = mi(s), n = n === null ? null : n.stateNode, n; | |
| }, us.flushSync = function(n) { | |
| return Su(n); | |
| }, us.hydrate = function(n, s, f) { | |
| if (!vh(s)) throw Error(r(200)); | |
| return $d(null, n, s, !0, f); | |
| }, us.hydrateRoot = function(n, s, f) { | |
| if (!Zp(n)) throw Error(r(405)); | |
| var v = f != null && f.hydratedSources || null, P = !1, M = "", K = nv; | |
| if (f != null && (f.unstable_strictMode === !0 && (P = !0), f.identifierPrefix !== void 0 && (M = f.identifierPrefix), f.onRecoverableError !== void 0 && (K = f.onRecoverableError)), s = Jp(s, null, n, 1, f ?? null, P, !1, M, K), n[He] = s.current, uu(n), v) for (n = 0; n < v.length; n++) f = v[n], P = f._getVersion, P = P(f._source), s.mutableSourceEagerHydrationData == null ? s.mutableSourceEagerHydrationData = [f, P] : s.mutableSourceEagerHydrationData.push( | |
| f, | |
| P | |
| ); | |
| return new Oc(s); | |
| }, us.render = function(n, s, f) { | |
| if (!vh(s)) throw Error(r(200)); | |
| return $d(null, n, s, !1, f); | |
| }, us.unmountComponentAtNode = function(n) { | |
| if (!vh(n)) throw Error(r(40)); | |
| return n._reactRootContainer ? (Su(function() { | |
| $d(null, null, n, !1, function() { | |
| n._reactRootContainer = null, n[He] = null; | |
| }); | |
| }), !0) : !1; | |
| }, us.unstable_batchedUpdates = $p, us.unstable_renderSubtreeIntoContainer = function(n, s, f, v) { | |
| if (!vh(f)) throw Error(r(200)); | |
| if (n == null || n._reactInternals === void 0) throw Error(r(38)); | |
| return $d(n, s, f, !1, v); | |
| }, us.version = "18.3.1-next-f1338f8080-20240426", us; | |
| } | |
| var Ew; | |
| function bC() { | |
| if (Ew) return ly.exports; | |
| Ew = 1; | |
| function e() { | |
| if (!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ > "u" || typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE != "function")) | |
| try { | |
| __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e); | |
| } catch (t) { | |
| console.error(t); | |
| } | |
| } | |
| return e(), ly.exports = NT(), ly.exports; | |
| } | |
| var xC = bC(), jT = ["hidden", "restrictScroll", "children", "trapFocus"]; | |
| function qg() { | |
| return qg = Object.assign ? Object.assign.bind() : function(e) { | |
| for (var t = 1; t < arguments.length; t++) { | |
| var r = arguments[t]; | |
| for (var o in r) ({}).hasOwnProperty.call(r, o) && (e[o] = r[o]); | |
| } | |
| return e; | |
| }, qg.apply(null, arguments); | |
| } | |
| function DT(e, t) { | |
| if (e == null) return {}; | |
| var r = {}; | |
| for (var o in e) if ({}.hasOwnProperty.call(e, o)) { | |
| if (t.indexOf(o) !== -1) continue; | |
| r[o] = e[o]; | |
| } | |
| return r; | |
| } | |
| var BT = function(t) { | |
| if ((t == null ? void 0 : t.tabIndex) < 0 || t != null && t.disabled) | |
| return !1; | |
| switch (t == null ? void 0 : t.nodeName) { | |
| case "A": | |
| return !!t.href && t.rel !== "ignore"; | |
| case "INPUT": | |
| return t.type !== "hidden"; | |
| case "BUTTON": | |
| case "SELECT": | |
| case "TEXTAREA": | |
| return !0; | |
| case "DIV": | |
| return t.tabIndex >= 0; | |
| default: | |
| return !1; | |
| } | |
| }, HT = function(t) { | |
| var r = t.hidden, o = r === void 0 ? !1 : r, u = t.restrictScroll, h = u === void 0 ? !1 : u, c = t.children, p = t.trapFocus, g = DT(t, jT), m = V.useState(""), E = m[0], S = m[1], I = V.useRef(null), w = V.useRef(null), b = V.useRef(null), T = Y5(), R = T.contextValue, D = T.hasRoots, $ = R.roots, Y = V.useRef(!1), Z = V.useRef(null); | |
| V.useEffect(function() { | |
| var te = I.current, ie = $.current, ye = function(Ue) { | |
| if (!BT(Ue)) | |
| return !1; | |
| Y.current = !0; | |
| try { | |
| Ue.focus(); | |
| } catch { | |
| } | |
| return Y.current = !1, document.activeElement === Ue; | |
| }, J = function(Ue) { | |
| for (var Xe = 0; Xe < Ue.childNodes.length; Xe += 1) { | |
| var G = Ue.childNodes[Xe]; | |
| if (ye(G) || J(G)) return !0; | |
| } | |
| return !1; | |
| }, de = function(Ue) { | |
| for (var Xe = Ue.childNodes.length - 1; Xe >= 0; Xe -= 1) { | |
| var G = Ue.childNodes[Xe]; | |
| if (ye(G) || de(G)) return !0; | |
| } | |
| return !1; | |
| }, ke = function(Ue) { | |
| !o && p && Y.current === !1 && te && // only perform focus if this is the most recently opened drop | |
| ie[ie.length - 1] === te && (te.contains(Ue.target) ? Z.current = Ue.target : (J(te), Z.current === document.activeElement && de(te), Z.current = document.activeElement)); | |
| }; | |
| if (te && ie.push(te), !o && p) { | |
| var se = document.createElement("div"), Re = document.createElement("div"), Ne = { | |
| position: "absolute", | |
| height: "1px", | |
| left: "0", | |
| right: "0" | |
| }; | |
| Object.assign(se.style, qg({}, Ne, { | |
| top: "0" | |
| })), Object.assign(Re.style, qg({}, Ne, { | |
| bottom: "0" | |
| })), w.current = te.parentNode.insertBefore(se, te), b.current = te.parentNode.insertBefore(Re, te.nextSibling), w.current.tabIndex = 0, b.current.tabIndex = 0; | |
| } | |
| return document.addEventListener("focus", ke, !0), function() { | |
| var Be, Ue; | |
| ie.includes(te) && ie.splice(ie.indexOf(te), 1), document.removeEventListener("focus", ke, !0), ie != null && ie[ie.length - 1] && qP(ie[ie.length - 1]), w == null || (Be = w.current) == null || Be.remove(), b == null || (Ue = b.current) == null || Ue.remove(); | |
| }; | |
| }, [o, $, p]), V.useEffect(function() { | |
| return E !== "hidden" && !o && h && p && (S(document.body.style.overflow), document.body.style.overflow = "hidden"), function() { | |
| E !== "hidden" && !o && h && p && (document.body.style.overflow = E); | |
| }; | |
| }, [E, o, p, h]), V.useEffect(function() { | |
| var te = $.current, ie = setTimeout(function() { | |
| !o && p && (te == null || te.forEach(function(ye, J) { | |
| J < te.length - 1 && YP(ye); | |
| })); | |
| }, 0); | |
| return function() { | |
| return clearTimeout(ie); | |
| }; | |
| }, [o, $, p]); | |
| var ne = /* @__PURE__ */ le.createElement("div", qg({ | |
| ref: I, | |
| "aria-hidden": o | |
| }, g), c); | |
| return D ? ne : ( | |
| // for cases outside of Grommet React tree, manage trapFocus when | |
| // Drop/Layer opens another Drop/Layer | |
| /* @__PURE__ */ le.createElement(m1.Provider, { | |
| value: R | |
| }, ne) | |
| ); | |
| }; | |
| function WT(e) { | |
| var t = "top"; | |
| e.bottom && (t = "bottom"); | |
| var r = "left"; | |
| return e.right && (r = "right"), t + " " + r; | |
| } | |
| var UT = pm(["0%{opacity:0.5;transform:scale(0.8);}100%{opacity:1;transform:scale(1);}"]), $T = function(t, r, o, u, h) { | |
| var c = t.global.edgeSize[o] || o, p = {}, g = typeof c == "string" && c.split(" ").length > 1; | |
| if (t.global.drop.intelligentMargin === !0 && !g && typeof c == "string") | |
| r.top === "bottom" ? p.top = c : r.bottom === "top" && (p.bottom = c), r.right === "left" ? p.left = "-" + c : r.left === "right" && (p.left = c), Object.keys(p) || (p = "none"); | |
| else | |
| return Ts("margin", h || t.global.drop.margin, u, t.global.edgeSize.responsiveBreakpoint, t); | |
| return Ts("margin", h || p, u, t.global.edgeSize.responsiveBreakpoint, t); | |
| }, VT = xr($t).withConfig({ | |
| displayName: "StyledDrop", | |
| componentId: "sc-16s5rx8-0" | |
| })(["", " ", " position:fixed;z-index:", ";outline:none;", " ", " opacity:0;transform-origin:", ";animation:", " 0.1s forwards;animation-delay:0.01s;@media screen and (-ms-high-contrast:active),(-ms-high-contrast:none){display:flex;align-items:stretch;}", ""], iC, function(e) { | |
| return !e.plain && (e.round && u1(e.round, e.responsive || !0, e.theme) || "border-radius: " + e.theme.global.drop.border.radius + ";"); | |
| }, function(e) { | |
| return e.theme.global.drop.zIndex; | |
| }, function(e) { | |
| return !e.plain && Ys(e.background || e.theme.global.drop.background, e.theme); | |
| }, function(e) { | |
| return !e.plain && (e.margin || e.theme.global.drop.margin) && e.theme.global && $T(e.theme, e.alignProp, e.theme.global.drop.margin, e.responsive, e.margin); | |
| }, function(e) { | |
| return WT(e.alignProp); | |
| }, UT, function(e) { | |
| return e.theme.global.drop && e.theme.global.drop.extend; | |
| }), qT = ["a11yTitle", "aria-label", "align", "background", "onAlign", "children", "dropTarget", "elevation", "onClickOutside", "onEsc", "onKeyDown", "overflow", "plain", "responsive", "restrictFocus", "stretch", "trapFocus"]; | |
| function jv() { | |
| return jv = Object.assign ? Object.assign.bind() : function(e) { | |
| for (var t = 1; t < arguments.length; t++) { | |
| var r = arguments[t]; | |
| for (var o in r) ({}).hasOwnProperty.call(r, o) && (e[o] = r[o]); | |
| } | |
| return e; | |
| }, jv.apply(null, arguments); | |
| } | |
| function GT(e, t) { | |
| if (e == null) return {}; | |
| var r = {}; | |
| for (var o in e) if ({}.hasOwnProperty.call(e, o)) { | |
| if (t.indexOf(o) !== -1) continue; | |
| r[o] = e[o]; | |
| } | |
| return r; | |
| } | |
| var YT = function(t) { | |
| var r = t.keyCode ? t.keyCode : t.which; | |
| r === 27 && t.stopPropagation(); | |
| }, KT = function(t) { | |
| var r; | |
| return (r = t.offsetParent) != null ? r : t.parentNode; | |
| }, XT = function(t) { | |
| for (var r = KT(t); r instanceof window.HTMLElement && !["html", "body"].includes(r.nodeName.toLowerCase()); ) { | |
| var o, u = window.getComputedStyle(r); | |
| if (u.transform && u.transform !== "none" || u.perspective && u.perspective !== "none" || u.backdropFilter && u.backdropFilter !== "none" || u.contain === "paint" || ["transform", "perspective"].includes(u.willChange) || u.willChange === "filter" || u.filter && u.filter !== "none") | |
| return r; | |
| r = (o = r) == null ? void 0 : o.parentNode; | |
| } | |
| return null; | |
| }, QT = { | |
| top: "top", | |
| left: "left" | |
| }, JT = /* @__PURE__ */ V.forwardRef(function(e, t) { | |
| var r = e.a11yTitle, o = e["aria-label"], u = e.align, h = u === void 0 ? QT : u, c = e.background, p = e.onAlign, g = e.children, m = e.dropTarget, E = e.elevation, S = e.onClickOutside, I = e.onEsc, w = e.onKeyDown, b = e.overflow, T = b === void 0 ? "auto" : b, R = e.plain, D = e.responsive, $ = D === void 0 ? !0 : D, Y = e.restrictFocus, Z = e.stretch, ne = Z === void 0 ? "width" : Z, te = e.trapFocus, ie = GT(e, qT), ye = V.useContext(p1), J = On(), de = J.theme, ke = J.passThemeFlag, se = V.useContext(v1), Re = se.drop, Ne = V.useContext(Gy), Be = V.useMemo(function() { | |
| return Ne.length; | |
| }, [Ne]), Ue = V.useMemo(function() { | |
| return [].concat(Ne, [Be]); | |
| }, [Ne, Be]), Xe = Xs(t); | |
| V.useEffect(function() { | |
| var Q = function(Ge) { | |
| for (var st = null, lt = Ge.composed && Ge.composedPath()[0] || Ge.target; st === null && lt && lt !== document && !(lt instanceof ShadowRoot); ) { | |
| var Ve = lt.getAttribute("data-g-portal-id"); | |
| Ve !== null && (st = parseInt(Ve, 10)), lt = lt.parentNode; | |
| } | |
| var ft = (m == null ? void 0 : m.current) && m.current.contains(Ge.target) || m && typeof m.contains == "function" && m.contains(Ge.target); | |
| (!ft && st === null || Ne.indexOf(st) !== -1) && S(Ge); | |
| }; | |
| return S && document.addEventListener("mousedown", Q), function() { | |
| S && document.removeEventListener("mousedown", Q); | |
| }; | |
| }, [S, ye, Ne, m]), V.useEffect(function() { | |
| var Q = (m == null ? void 0 : m.current) || m, fe = function() { | |
| var Me, Tt = Xe == null || (Me = Xe.current) == null ? void 0 : Me.style, B = (Tt == null ? void 0 : Tt.top) !== "" ? "top" : "bottom"; | |
| p(B); | |
| }, Ge = function(Me) { | |
| var Tt = window.innerWidth, B = window.innerHeight, Vt = Xe.current; | |
| if (Vt && Q) { | |
| var qt, br, Ar, Gt, hr, gt, Yt, Pe, At, Et; | |
| Vt.style.left = "", Vt.style.top = "", Vt.style.bottom = "", Vt.style.width = "", Me || (Vt.style.maxHeight = ""); | |
| var ot = Q.getBoundingClientRect(), Ae = Vt.getBoundingClientRect(), xe; | |
| ne ? xe = Math.min(ne === "align" ? Math.min(ot.width, Ae.width) : Math.max(ot.width, Ae.width), Tt) : xe = Math.min(Ae.width, Tt); | |
| var ze; | |
| h.left ? h.left === "left" ? ze = ot.left : h.left === "right" && (ze = ot.left + ot.width) : h.right ? h.right === "left" ? ze = ot.left - xe : h.right === "right" && (ze = ot.left + ot.width - xe) : ze = ot.left + ot.width / 2 - xe / 2, ze + xe > Tt ? ze -= ze + xe - Tt : ze < 0 && (ze = 0); | |
| var Ot, zt, Lt = Ae.height; | |
| $ && // drop is above target | |
| h.bottom === "top" && // drop is overflowing above window | |
| ot.top - Ae.height <= 0 && // there is room to display the drop below the target | |
| ot.bottom + Ae.height < B ? (Ot = ot.bottom, Lt = Ot) : $ && // top of drop is aligned to top of target | |
| h.top === "top" && // drop is overflowing below window | |
| ot.top + Ae.height >= B && // height of the drop is larger than the target. | |
| ot.top + Ae.height > ot.bottom && // there is room to display the drop above the target | |
| ot.bottom - Ae.height > 0 ? (zt = ot.bottom, Lt = Ot) : $ && // top of drop is aligned to bottom of target | |
| h.top === "bottom" && // drop is overflowing below window | |
| ot.bottom + Ae.height >= B && // there is room to display the drop above the target | |
| ot.top - Ae.height > 0 ? (zt = ot.top, Lt = zt) : $ && // bottom of drop is aligned to bottom of target | |
| h.bottom === "bottom" && // drop is overflowing above window | |
| ot.bottom - Ae.height <= 0 && // height of the drop is larger than the target. | |
| ot.bottom - Ae.height > ot.top && // there is room to display the drop below the target | |
| ot.top + Ae.height > 0 ? (Ot = ot.top, Lt = zt) : h.top === "top" ? (Ot = ot.top, Lt = B - Ot) : h.top === "bottom" ? (Ot = ot.bottom, Lt = B - Ot) : h.bottom === "top" ? (zt = ot.top, Lt = zt) : h.bottom === "bottom" ? (zt = ot.bottom, Lt = zt) : Ot = ot.top + ot.height / 2 - Ae.height / 2; | |
| var mr, vr; | |
| if (Re != null && Re.checkContainingBlock) { | |
| var wr; | |
| mr = XT(Vt), vr = (wr = mr) == null ? void 0 : wr.getBoundingClientRect(); | |
| } | |
| var Or = (qt = (br = vr) == null ? void 0 : br.left) != null ? qt : 0, kr = (Ar = (Gt = vr) == null ? void 0 : Gt.top) != null ? Ar : 0, Pr = (hr = (gt = vr) == null ? void 0 : gt.bottom) != null ? hr : B, Nt = (Yt = (Pe = mr) == null ? void 0 : Pe.scrollLeft) != null ? Yt : 0, Ct = (At = (Et = mr) == null ? void 0 : Et.scrollTop) != null ? At : 0; | |
| Vt.style.left = ze - Or + Nt + "px", ne && (Vt.style.width = xe + 0.1 + "px"), Ot !== "" && (Vt.style.top = Ot - kr + Ct + "px"), zt !== "" && (Vt.style.bottom = Pr - zt - Ct + "px"), Me || (de.drop && de.drop.maxHeight && (Lt = Math.min(Lt, ni(de.drop.maxHeight))), Vt.style.maxHeight = Lt + "px"); | |
| } | |
| p && fe(); | |
| }, st, lt = function() { | |
| st = Zk(Q), st.forEach(function(Me) { | |
| return Me.addEventListener("scroll", Ge); | |
| }); | |
| }, Ve = function() { | |
| st.forEach(function(Me) { | |
| return Me.removeEventListener("scroll", Ge); | |
| }), st = []; | |
| }, ft = function() { | |
| Ve(), lt(), Ge(!1); | |
| }; | |
| return lt(), window.addEventListener("resize", ft), Ge(!1), function() { | |
| Ve(), window.removeEventListener("resize", ft); | |
| }; | |
| }, [h, ye, p, m, Ne, Be, $, Y, ne, de.drop, Xe, Re]), V.useEffect(function() { | |
| if (Y) { | |
| var Q = Xe.current; | |
| Q && (Q.contains(document.activeElement) || Q.focus()); | |
| } | |
| }, [Xe, Y]); | |
| var G = /* @__PURE__ */ le.createElement(VT, jv({ | |
| "aria-label": r || o, | |
| ref: Xe, | |
| background: c, | |
| plain: R, | |
| elevation: R ? void 0 : E || de.global.drop.elevation || de.global.drop.shadowSize || // backward compatibility | |
| "small", | |
| tabIndex: "-1", | |
| alignProp: h, | |
| overflow: T, | |
| "data-g-portal-id": Be | |
| }, ke, ie), g), me = V.useMemo(function() { | |
| var Q; | |
| return (c || de.global.drop.background) && (Q = o0(c || de.global.drop.background, de)), jv({}, de, { | |
| dark: Q | |
| }); | |
| }, [c, de]), ve = me.dark; | |
| return ve !== void 0 && ve !== de.dark && (G = /* @__PURE__ */ le.createElement(ps.Provider, { | |
| value: me | |
| }, G)), /* @__PURE__ */ le.createElement(Gy.Provider, { | |
| value: Ue | |
| }, /* @__PURE__ */ le.createElement(HT, { | |
| onKeyDown: I && YT, | |
| trapFocus: te | |
| }, /* @__PURE__ */ le.createElement( | |
| Ql, | |
| { | |
| capture: !0, | |
| onEsc: I ? function(Q) { | |
| Q.stopPropagation(), I(Q); | |
| } : void 0, | |
| onKeyDown: w, | |
| target: "document" | |
| }, | |
| G | |
| ))); | |
| }); | |
| he.oneOfType([he.oneOf(G0), he.shape({ | |
| horizontal: he.oneOf(G0), | |
| vertical: he.oneOf(G0) | |
| }), he.string]); | |
| var ZT = {}, eR = ZT, tR = ["inline", "restrictFocus", "target", "trapFocus"]; | |
| function Qy() { | |
| return Qy = Object.assign ? Object.assign.bind() : function(e) { | |
| for (var t = 1; t < arguments.length; t++) { | |
| var r = arguments[t]; | |
| for (var o in r) ({}).hasOwnProperty.call(r, o) && (e[o] = r[o]); | |
| } | |
| return e; | |
| }, Qy.apply(null, arguments); | |
| } | |
| function rR(e, t) { | |
| if (e == null) return {}; | |
| var r = {}; | |
| for (var o in e) if ({}.hasOwnProperty.call(e, o)) { | |
| if (t.indexOf(o) !== -1) continue; | |
| r[o] = e[o]; | |
| } | |
| return r; | |
| } | |
| var mm = /* @__PURE__ */ V.forwardRef(function(e, t) { | |
| var r = e.inline, o = e.restrictFocus, u = e.target, h = e.trapFocus, c = h === void 0 ? !0 : h, p = rR(e, tR), g = On(), m = g.theme, E = V.useState(), S = E[0], I = E[1]; | |
| V.useEffect(function() { | |
| return I(document.activeElement); | |
| }, []); | |
| var w = V.useState(), b = w[0], T = w[1], R = V.useContext(p1), D = V.useRef(null); | |
| V.useEffect(function() { | |
| D != null && D.current || (D.current = R.childNodes.length, T(r ? void 0 : VP(R))); | |
| }, [R, r]), V.useEffect(function() { | |
| return function() { | |
| o && S && (S.focus ? Lc(S) : S.parentNode && S.parentNode.focus && Lc(S.parentNode)), b && R.removeChild(b); | |
| }; | |
| }, [R, b, S, o]); | |
| var $ = /* @__PURE__ */ le.createElement(JT, Qy({ | |
| ref: t, | |
| dir: m && m.dir, | |
| dropTarget: u, | |
| restrictFocus: o, | |
| trapFocus: c | |
| }, p)); | |
| return r ? $ : b ? /* @__PURE__ */ xC.createPortal($, b) : null; | |
| }); | |
| mm.displayName = "Drop"; | |
| mm.propTypes = eR; | |
| var nR = {}, oR = nR; | |
| function Jy() { | |
| return Jy = Object.assign ? Object.assign.bind() : function(e) { | |
| for (var t = 1; t < arguments.length; t++) { | |
| var r = arguments[t]; | |
| for (var o in r) ({}).hasOwnProperty.call(r, o) && (e[o] = r[o]); | |
| } | |
| return e; | |
| }, Jy.apply(null, arguments); | |
| } | |
| var iR = function(t) { | |
| return !t || !/* @__PURE__ */ le.isValidElement(t) ? null : {}.propertyIsEnumerable.call(t.props, "ref") ? t.props.ref : t.ref; | |
| }, yf = /* @__PURE__ */ V.forwardRef(function(e, t) { | |
| var r = e.children, o = e.content, u = e.defaultVisible, h = u === void 0 ? !1 : u, c = e.dropProps, p = e.plain, g = On(), m = g.theme, E = V.useState(!1), S = E[0], I = E[1], w = V.useState(!1), b = w[0], T = w[1], R = d1(), D = Xs(t), $ = V.Children.count(r) <= 1 && !/* @__PURE__ */ le.isValidElement(r) && /* @__PURE__ */ le.createElement("span", null, r) || V.Children.only(r), Y = /* @__PURE__ */ V.cloneElement($, { | |
| onMouseEnter: function(ne) { | |
| var te; | |
| I(!0), (te = $.props) != null && te.onMouseEnter && $.props.onMouseEnter(ne); | |
| }, | |
| onMouseLeave: function(ne) { | |
| var te; | |
| I(!1), (te = $.props) != null && te.onMouseLeave && $.props.onMouseLeave(ne); | |
| }, | |
| onFocus: function(ne) { | |
| var te; | |
| R && I(!0), (te = $.props) != null && te.onFocus && $.props.onFocus(ne); | |
| }, | |
| onBlur: function(ne) { | |
| var te; | |
| R && I(!1), (te = $.props) != null && te.onBlur && $.props.onBlur(ne); | |
| }, | |
| key: "tip-child", | |
| ref: function(ne) { | |
| typeof D == "function" ? D(ne) : D && (D.current = ne); | |
| var te = iR($); | |
| typeof te == "function" ? te(ne) : te && (te.current = ne); | |
| } | |
| }); | |
| return V.useEffect(function() { | |
| I(h); | |
| }, [h]), [Y, (S || b) && /* @__PURE__ */ le.createElement(Ql, { | |
| key: "tip-keyboard", | |
| onEsc: function() { | |
| I(!1), T(!1); | |
| } | |
| }, /* @__PURE__ */ le.createElement(mm, Jy({ | |
| target: D.current, | |
| trapFocus: !1, | |
| key: "tip-drop" | |
| }, m.tip.drop, c, { | |
| onMouseEnter: function() { | |
| return T(!0); | |
| }, | |
| onMouseLeave: function() { | |
| return T(!1); | |
| } | |
| }), p ? o : /* @__PURE__ */ le.createElement($t, m.tip.content, o)))]; | |
| }); | |
| yf.displayName = "Tip"; | |
| yf.propTypes = oR; | |
| var Fu = typeof window < "u" ? V.useLayoutEffect : V.useEffect, aR = yt(["", " ", " flex-grow:1;display:flex;"], function(e) { | |
| return e.fillContainer === !0 || e.fillContainer === "horizontal" ? ` | |
| width: 100%; | |
| max-width: none; | |
| ` : ""; | |
| }, function(e) { | |
| return e.fillContainer === !0 || e.fillContainer === "vertical" ? "height: 100%;" : ""; | |
| }), sR = xr.div.withConfig(Mn).withConfig({ | |
| displayName: "StyledStack", | |
| componentId: "sc-ajspsk-0" | |
| })(["position:relative;", " ", " ", ""], Ks, function(e) { | |
| return e.fillContainer && aR; | |
| }, function(e) { | |
| return e.theme.stack && e.theme.stack.extend; | |
| }), lR = { | |
| fill: ` | |
| top: 0; | |
| left: 0; | |
| bottom: 0; | |
| right: 0; | |
| `, | |
| center: ` | |
| top: 50%; | |
| left: 50%; | |
| transform: translate(-50%, -50%); | |
| `, | |
| left: ` | |
| top: 50%; | |
| left: 0; | |
| transform: translateY(-50%); | |
| `, | |
| right: ` | |
| top: 50%; | |
| right: 0; | |
| transform: translateY(-50%); | |
| `, | |
| top: ` | |
| top: 0; | |
| left: 50%; | |
| transform: translateX(-50%); | |
| `, | |
| bottom: ` | |
| bottom: 0; | |
| left: 50%; | |
| transform: translateX(-50%); | |
| `, | |
| "top-left": ` | |
| top: 0; | |
| left: 0; | |
| `, | |
| "bottom-left": ` | |
| bottom: 0; | |
| left: 0; | |
| `, | |
| "top-right": ` | |
| top: 0; | |
| right: 0; | |
| `, | |
| "bottom-right": ` | |
| bottom: 0; | |
| right: 0; | |
| ` | |
| }, uR = xr.div.withConfig(Mn).withConfig({ | |
| displayName: "StyledStack__StyledStackLayer", | |
| componentId: "sc-ajspsk-1" | |
| })(["position:", ";", " ", " ", " ", ""], function(e) { | |
| return e.guiding ? "relative" : "absolute"; | |
| }, function(e) { | |
| return e.guiding && "display: block;"; | |
| }, function(e) { | |
| return !e.guiding && lR[e.anchor || "fill"] + ";"; | |
| }, function(e) { | |
| return e.fillContainer && ` | |
| width: 100%; | |
| height: 100%; | |
| `; | |
| }, function(e) { | |
| return !e.interactive && "pointer-events: none;"; | |
| }), cR = {}, dR = cR, fR = ["anchor", "children", "fill", "guidingChild", "interactiveChild"]; | |
| function hR(e, t) { | |
| if (e == null) return {}; | |
| var r = {}; | |
| for (var o in e) if ({}.hasOwnProperty.call(e, o)) { | |
| if (t.indexOf(o) !== -1) continue; | |
| r[o] = e[o]; | |
| } | |
| return r; | |
| } | |
| function Dv() { | |
| return Dv = Object.assign ? Object.assign.bind() : function(e) { | |
| for (var t = 1; t < arguments.length; t++) { | |
| var r = arguments[t]; | |
| for (var o in r) ({}).hasOwnProperty.call(r, o) && (e[o] = r[o]); | |
| } | |
| return e; | |
| }, Dv.apply(null, arguments); | |
| } | |
| var pR = function(t) { | |
| var r = t.anchor, o = t.fill, u = t.guidingIndex, h = t.interactiveChild, c = t.interactiveIndex; | |
| return function(p, g) { | |
| var m = h === void 0 || c === g, E = g === u, S = E ? { | |
| guiding: !0, | |
| fillContainer: o | |
| } : { | |
| anchor: r | |
| }; | |
| return /* @__PURE__ */ le.createElement(uR, Dv({ | |
| key: g, | |
| interactive: m | |
| }, S), p); | |
| }; | |
| }, y1 = /* @__PURE__ */ V.forwardRef(function(e, t) { | |
| var r = e.anchor, o = e.children, u = e.fill, h = e.guidingChild, c = e.interactiveChild, p = hR(e, fR), g = On(), m = g.passThemeFlag, E = V.Children.toArray(o).filter(function(T) { | |
| return T; | |
| }), S = function(R) { | |
| var D = R; | |
| return D === "first" || !D ? D = 0 : D === "last" && (D = E.length - 1), D; | |
| }, I = S(h), w = c && S(c), b = E.map(pR({ | |
| anchor: r, | |
| fill: u, | |
| guidingIndex: I, | |
| interactiveChild: c, | |
| interactiveIndex: w | |
| })); | |
| return /* @__PURE__ */ le.createElement(sR, Dv({ | |
| ref: t, | |
| fillContainer: u | |
| }, m, p), b); | |
| }); | |
| y1.displayName = "Stack"; | |
| y1.propTypes = dR; | |
| var gR = function(t) { | |
| var r = t.size || "medium", o = t.theme.text[r]; | |
| return o ? yt(["font-size:", ";line-height:", ";"], o.size, o.height) : yt(["font-size:", ";line-height:normal;"], r); | |
| }, mR = ` | |
| white-space: nowrap; | |
| max-width: 100%; | |
| overflow: hidden; | |
| text-overflow: ellipsis; | |
| `, vR = yt(["color:", ";"], function(e) { | |
| return jr(e.colorProp, e.theme); | |
| }), yR = yt(["font-weight:", ";"], function(e) { | |
| return e.weight; | |
| }), bR = yt(["word-break:", ";"], function(e) { | |
| return e.wordBreak; | |
| }), xR = yt(["font-family:", ";"], function(e) { | |
| return e.theme.text.font.family; | |
| }), wR = xr("span").withConfig(Mn).withConfig({ | |
| displayName: "StyledText", | |
| componentId: "sc-1sadyjn-0" | |
| })(["", " ", " ", " ", " ", " ", " ", " ", " ", ""], Ks, function(e) { | |
| return gR(e); | |
| }, function(e) { | |
| return e.textAlign && l0; | |
| }, function(e) { | |
| return e.truncate && mR; | |
| }, function(e) { | |
| return e.colorProp && vR; | |
| }, function(e) { | |
| return e.weight && yR; | |
| }, function(e) { | |
| return e.wordBreak && bR; | |
| }, function(e) { | |
| return e.theme.text.font && e.theme.text.font.family && xR; | |
| }, function(e) { | |
| return e.theme.text && e.theme.text.extend; | |
| }), SR = {}, kR = SR, CR = ["as", "size"]; | |
| function Zy() { | |
| return Zy = Object.assign ? Object.assign.bind() : function(e) { | |
| for (var t = 1; t < arguments.length; t++) { | |
| var r = arguments[t]; | |
| for (var o in r) ({}).hasOwnProperty.call(r, o) && (e[o] = r[o]); | |
| } | |
| return e; | |
| }, Zy.apply(null, arguments); | |
| } | |
| function ER(e, t) { | |
| if (e == null) return {}; | |
| var r = {}; | |
| for (var o in e) if ({}.hasOwnProperty.call(e, o)) { | |
| if (t.indexOf(o) !== -1) continue; | |
| r[o] = e[o]; | |
| } | |
| return r; | |
| } | |
| var wC = /* @__PURE__ */ V.forwardRef(function(e, t) { | |
| var r = e.as, o = e.size, u = ER(e, CR), h = On(), c = h.theme, p = o || "medium", g = c.text[p], m = g ? g.size : o; | |
| return /* @__PURE__ */ le.createElement(Kc, Zy({ | |
| ref: t, | |
| as: r, | |
| height: m | |
| }, c.text.skeleton, u)); | |
| }); | |
| wC.displayName = "TextSkeleton"; | |
| var b1 = /* @__PURE__ */ le.createContext({}), OR = ["children", "color", "tag", "as", "tip", "a11yTitle", "truncate", "size", "skeleton", "level"]; | |
| function Gg() { | |
| return Gg = Object.assign ? Object.assign.bind() : function(e) { | |
| for (var t = 1; t < arguments.length; t++) { | |
| var r = arguments[t]; | |
| for (var o in r) ({}).hasOwnProperty.call(r, o) && (e[o] = r[o]); | |
| } | |
| return e; | |
| }, Gg.apply(null, arguments); | |
| } | |
| function PR(e, t) { | |
| if (e == null) return {}; | |
| var r = {}; | |
| for (var o in e) if ({}.hasOwnProperty.call(e, o)) { | |
| if (t.indexOf(o) !== -1) continue; | |
| r[o] = e[o]; | |
| } | |
| return r; | |
| } | |
| var eo = /* @__PURE__ */ V.forwardRef(function(e, t) { | |
| var r = e.children, o = e.color, u = e.tag, h = e.as, c = e.tip, p = e.a11yTitle, g = p === void 0 ? typeof c == "string" && c || (c == null ? void 0 : c.content) || void 0 : p, m = e.truncate, E = e.size, S = e.skeleton, I = e.level, w = I === void 0 ? 1 : I, b = PR(e, OR), T = On(), R = T.passThemeFlag, D = Xs(t), $ = V.useState(!1), Y = $[0], Z = $[1], ne = V.useMemo(function() { | |
| return { | |
| size: E | |
| }; | |
| }, [E]), te = np(); | |
| if (Fu(function() { | |
| var J = function() { | |
| Z(!1), m === "tip" && D.current && D.current.scrollWidth > D.current.offsetWidth && Z(!0); | |
| }; | |
| return window.addEventListener("resize", J), window.addEventListener("pagechange", J), J(), function() { | |
| window.removeEventListener("resize", J), window.removeEventListener("pagechange", J); | |
| }; | |
| }, [D, m]), te) | |
| return /* @__PURE__ */ le.createElement(wC, Gg({ | |
| ref: t, | |
| as: h, | |
| level: w, | |
| size: E | |
| }, S, b)); | |
| var ie = /* @__PURE__ */ le.createElement(wR, Gg({ | |
| as: !h && u ? u : h, | |
| colorProp: o, | |
| "aria-label": g, | |
| level: w, | |
| truncate: m, | |
| size: E | |
| }, R, b, { | |
| ref: D | |
| }), r !== void 0 ? /* @__PURE__ */ le.createElement(b1.Provider, { | |
| value: ne | |
| }, r) : void 0), ye = c && typeof c == "object" ? c : {}; | |
| if (c || Y) { | |
| if (Y) | |
| return /* @__PURE__ */ le.createElement(yf, Gg({ | |
| content: r | |
| }, ye), ie); | |
| if (m !== "tip") | |
| return /* @__PURE__ */ le.createElement(yf, ye, ie); | |
| } | |
| return ie; | |
| }); | |
| eo.displayName = "Text"; | |
| eo.propTypes = kR; | |
| function eb() { | |
| return eb = Object.assign ? Object.assign.bind() : function(e) { | |
| for (var t = 1; t < arguments.length; t++) { | |
| var r = arguments[t]; | |
| for (var o in r) ({}).hasOwnProperty.call(r, o) && (e[o] = r[o]); | |
| } | |
| return e; | |
| }, eb.apply(null, arguments); | |
| } | |
| var IR = xr($t).withConfig({ | |
| displayName: "Badge__StyledBadgeContainer", | |
| componentId: "sc-1es4ws1-0" | |
| })(["", ""], function(e) { | |
| return e.theme.button.badge.container.extend; | |
| }), Ow = function(t) { | |
| var r = t.children, o = t.content, u = On(), h = u.theme, c = u.passThemeFlag, p = V.useRef(), g = V.useRef(), m = V.useRef(), E = typeof o == "boolean" || o && o.value && typeof o.value == "boolean" ? ( | |
| // empty badge should be smaller. this value was chosen as a default | |
| // after experimenting with various values | |
| ni(h.button.badge.size.medium) / 2 + "px" | |
| ) : h.button.badge.size.medium; | |
| Fu(function() { | |
| var b = function() { | |
| if (p != null && p.current) | |
| if (p.current.style.minHeight = "", p.current.style.minWidth = "", g != null && g.current) | |
| if (typeof o == "number" || typeof o == "object" && o.value) { | |
| p.current.style.minHeight = E, p.current.style.minWidth = E; | |
| var R = g.current.getBoundingClientRect(), D = R.height, $ = R.width; | |
| if (D) { | |
| var Y = E, Z = E, ne = (ni(Y) - D) * 2.5; | |
| p.current.style.minHeight = Y, p.current.style.minWidth = Math.max(ni(Z), Math.ceil($ + ne)) + "px"; | |
| } | |
| } else | |
| p.current.style.minHeight = g.current.getBoundingClientRect().width, p.current.style.minWidth = g.current.getBoundingClientRect().height; | |
| else | |
| p.current.style.minHeight = E, p.current.style.minWidth = E; | |
| }; | |
| return window.addEventListener("resize", b), b(), function() { | |
| window.removeEventListener("resize", b); | |
| }; | |
| }, [o, E]), Fu(function() { | |
| if (m != null && m.current) { | |
| var b = typeof o == "boolean" || o && o.value === !0 ? "25%" : "50%"; | |
| m.current.children[1].style.top = 0, m.current.children[1].style.right = 0, m.current.children[1].style.transform = "translate(" + b + ", -" + b + ")", m.current.children[1].style.transformOrigin = "100% 0%"; | |
| } | |
| }, [o]); | |
| var S; | |
| typeof o == "number" ? S = o : typeof o == "object" && (S = o.value); | |
| var I; | |
| if (typeof S == "number" || typeof S == "boolean" || typeof o == "boolean") { | |
| if (typeof S == "number") { | |
| var w = o.max || 9; | |
| I = /* @__PURE__ */ le.createElement(eo, { | |
| color: "text-strong", | |
| size: h.button.badge.text.size.medium, | |
| weight: "normal", | |
| ref: g | |
| }, S > w ? w + "+" : S); | |
| } | |
| I = /* @__PURE__ */ le.createElement(IR, eb({ | |
| ref: p, | |
| align: "center", | |
| background: o.background || h.button.badge.container.background, | |
| flex: !1, | |
| justify: "center", | |
| round: !0, | |
| pad: typeof S == "boolean" || typeof o == "boolean" ? void 0 : h.button.badge.container.pad | |
| }, c), I); | |
| } else I = /* @__PURE__ */ le.createElement($t, { | |
| ref: g | |
| }, o); | |
| return /* @__PURE__ */ le.createElement(y1, { | |
| ref: m, | |
| anchor: "top-right" | |
| }, r, I); | |
| }, SC = function(t) { | |
| var r = t.hasIcon && !t.hasLabel, o = t.sizeProp; | |
| return !r && o && t.theme.button.size && t.theme.button.size[o] ? t.theme.button.size[o].border.radius : t.theme.button.border.radius; | |
| }, TR = function(t) { | |
| var r = t.sizeProp || "medium", o = t.theme.text[r]; | |
| return yt(["font-size:", ";line-height:", ";"], o.size, o.height); | |
| }, RR = function(t) { | |
| var r = t.sizeProp; | |
| return r && t.theme.button.size && t.theme.button.size[r] ? yt(["", " ", ""], t.theme.button.size[r].pad.vertical, t.theme.button.size[r].pad.horizontal) : yt(["", " ", ""], t.theme.button.padding.vertical, t.theme.button.padding.horizontal); | |
| }, _R = function(t) { | |
| return yt(["border:", " solid ", ";border-radius:", ";", " color:", ";padding:", ";", ""], t.theme.button.border.width, jr(t.colorValue || t.theme.button.border.color || "control", t.theme), SC(t), t.theme.button.elevation && s0(t.theme.button.elevation), jr(t.theme.button.color || "text", t.theme), RR(t), TR(t)); | |
| }, AR = function(t) { | |
| var r, o; | |
| return yt(["", " border-radius:", ";", " ", ""], Ys(jr(t.colorValue || t.theme.button.primary && t.theme.button.primary.color || "control", t.theme), t.theme, t.theme.button.color), SC(t), ((r = t.theme.button.primary) == null ? void 0 : r.elevation) && s0((o = t.theme.button.primary) == null ? void 0 : o.elevation), t.theme.button.primary && t.theme.button.primary.extend); | |
| }; | |
| function LR(e) { | |
| return e.colorValue ? jr(e.colorValue, e.theme) : e.active && e.primary && e.theme.button.primary && e.theme.button.primary.active && e.theme.button.primary.active.border && e.theme.button.primary.active.border.color ? jr(e.theme.button.primary.active.border.color, e.theme) : jr(e.theme.button.border.color || "control", e.theme); | |
| } | |
| var MR = yt(["&:hover{", " ", ";}"], function(e) { | |
| return e.hoverIndicator && Zh(e.hoverIndicator, e.theme); | |
| }, function(e) { | |
| return !e.plain && yt(["box-shadow:0px 0px 0px 2px ", ";"], LR(e)); | |
| }), zR = function(t) { | |
| if (t === "horizontal") | |
| return "width: 100%;"; | |
| if (t === "vertical") | |
| return "height: 100%;"; | |
| if (t) | |
| return ` | |
| width: 100%; | |
| height: 100%; | |
| max-width: none; | |
| flex: 1 0 auto; | |
| `; | |
| }, FR = function(t) { | |
| return yt(["color:", ";outline:none;border:none;padding:0;text-align:inherit;"], jr(t.colorValue || "inherit", t.theme)); | |
| }, NR = function(t) { | |
| return yt(["", " ", " ", ""], Qk, t.primary && t.theme.button.primary && t.theme.button.primary.active && t.theme.button.primary.active.border && t.theme.button.primary.active.border.color && "border: " + t.theme.button.border.width + ` solid | |
| ` + jr(t.theme.button.primary.active.border.color, t.theme) + `; | |
| `, t.primary && t.theme.button.primary && t.theme.button.primary.active && t.theme.button.primary.active.extend); | |
| }, jR = function(t) { | |
| return yt(["", " ", " ", " ", ""], a0(t.theme.button.disabled.opacity), !t.plain && t.theme.button.disabled.border && t.theme.button.disabled.border.color && "border: " + t.theme.button.border.width + ` solid | |
| ` + jr(t.theme.button.disabled.border.color, t.theme) + ";", t.theme.button.disabled.color && // if primary button, apply disabled color to background. otherwise, | |
| // apply disabled color to the label | |
| (t.primary ? Ys(jr(t.theme.button.disabled.color, t.theme), t.theme, t.theme.button.color) : "color: " + jr(t.theme.button.disabled.color, t.theme) + ";"), t.theme.button.disabled && t.theme.button.disabled.extend); | |
| }, DR = xr.button.withConfig(Mn).withConfig({ | |
| displayName: "StyledButton", | |
| componentId: "sc-323bzc-0" | |
| })(["display:inline-block;box-sizing:border-box;cursor:pointer;font:inherit;text-decoration:none;margin:0;background:transparent;overflow:visible;text-transform:none;", " ", " ", " ", " ", " ", " ", " &:focus{", "}&:focus:not(:focus-visible){", "}", " ", " ", " ", " ", " ", " ", ""], Ks, function(e) { | |
| return e.plain && FR(e); | |
| }, function(e) { | |
| return !e.plain && _R(e); | |
| }, function(e) { | |
| return e.primary && AR(e); | |
| }, function(e) { | |
| return !e.disabled && !e.selected && !e.focus && !e.busy && !e.success && MR; | |
| }, function(e) { | |
| return !e.disabled && e.active && NR(e); | |
| }, function(e) { | |
| return e.disabled && e.theme.button && e.theme.button.disabled && jR(e); | |
| }, function(e) { | |
| return (!e.plain || e.focusIndicator) && Nu({ | |
| inset: e.focusIndicator === "inset" | |
| }); | |
| }, l1(), function(e) { | |
| return !e.plain && e.theme.button.transition && ` | |
| transition-property: ` + e.theme.button.transition.properties.join(",") + `; | |
| transition-duration: ` + e.theme.button.transition.duration + `s; | |
| transition-timing-function: ` + e.theme.button.transition.timing + `; | |
| `; | |
| }, function(e) { | |
| return e.fillContainer && zR(e.fillContainer); | |
| }, function(e) { | |
| return e.hasIcon && !e.hasLabel && ` | |
| line-height: 0; | |
| `; | |
| }, function(e) { | |
| return e.pad === !0 && e.hasIcon && !e.hasLabel && ` | |
| padding: ` + e.theme.global.edgeSize.small + `; | |
| `; | |
| }, function(e) { | |
| return !e.plain && e.pad && Ts("padding", e.pad, !1, void 0, e.theme); | |
| }, function(e) { | |
| return e.theme.button && e.theme.button.extend; | |
| }, function(e) { | |
| return (e.busy || e.success) && ` | |
| cursor: default; | |
| `; | |
| }), BR = function(t) { | |
| var r = t.sizeProp, o = typeof t.kind == "object" ? t.kind : t.theme.button; | |
| return r && o.size && o.size[r] ? yt(["border-radius:", ";"], o.size[r].border.radius) : o.border && o.border.radius ? yt(["border-radius:", ";"], o.border.radius) : ""; | |
| }, HR = function(t) { | |
| var r = t.sizeProp || "medium", o = t.theme.text[r]; | |
| return yt(["font-size:", ";line-height:", ";"], o.size, t.hasIcon && !t.hasLabel ? 0 : o.height); | |
| }, kC = function(t, r, o, u, h) { | |
| var c, p; | |
| if (t === void 0 && (t = "medium"), t && h && o != null && (c = o.size) != null && (c = c[t]) != null && (c = c.iconOnly) != null && c.pad) { | |
| var g, m = o == null || (g = o.size) == null || (g = g[t]) == null || (g = g.iconOnly) == null ? void 0 : g.pad; | |
| return { | |
| vertical: typeof m == "string" ? m : m.vertical, | |
| horizontal: typeof m == "string" ? m : m.horizontal | |
| }; | |
| } | |
| if (t && o != null && (p = o.size) != null && (p = p[t]) != null && (p = p[u]) != null && p.pad) | |
| return o.size[t][u].pad; | |
| if (t && o.size && o.size[t] && o.size[t].pad) | |
| return { | |
| vertical: o.size[t].pad.vertical, | |
| horizontal: o.size[t].pad.horizontal | |
| }; | |
| if (r.button.padding) | |
| return { | |
| vertical: r.global.edgeSize[r.button.padding.vertical] || r.button.padding.vertical, | |
| horizontal: r.global.edgeSize[r.button.padding.horizontal] || r.button.padding.horizontal | |
| }; | |
| }, WR = function(t) { | |
| var r = t.hasIcon, o = t.hasLabel, u = t.sizeProp, h = t.theme, c = t.kind, p = typeof c == "object" ? c : h.button, g = r && !o, m = kC(u, h, p, c, g); | |
| return m ? yt(["padding:", " ", ";"], m.vertical, m.horizontal) : ""; | |
| }, UR = function(t) { | |
| return yt(["border:none;", ";", " ", " ", ""], BR(t), WR(t), HR(t), t.icon && ` | |
| > svg { | |
| display: flex; | |
| align-self: center; | |
| vertical-align: middle; | |
| } | |
| `); | |
| }, Pw = function(t, r) { | |
| var o; | |
| if (r) { | |
| o = t; | |
| for (var u = r.split("."); o && u.length; ) o = o[u.shift()]; | |
| } | |
| return o; | |
| }, dy = function(t, r, o) { | |
| var u, h = o == null || (u = o.button) == null ? void 0 : u.intelligentPad; | |
| if (h === !0) { | |
| var c = ni(r); | |
| return yt(["padding:", "px ", "px;"], Math.max(ni(t.vertical) - c, 0), Math.max(ni(t.horizontal) - c, 0)); | |
| } | |
| return yt(["padding:", " ", ";"], t.vertical, t.horizontal); | |
| }, $R = function(t) { | |
| var r = t.busy, o = t.colorValue, u = t.hasIcon, h = t.hasLabel, c = t.kind, p = t.sizeProp, g = t.success, m = t.themePaths, E = t.theme, S = [], I = typeof c == "object" ? c : E.button, w = u && !h, b = kC(p, E, I, c, w); | |
| if (m.base.forEach(function(R) { | |
| var D = Pw(I, R); | |
| D && (S.push(kv(D, E, o)), D.border && D.border.width && b && !D.padding && S.push(dy(b, D.border.width, E))); | |
| }), !m.base.length && typeof c == "object") { | |
| var T = c; | |
| T && (S.push(kv(T, E, o)), T.border && T.border.width && b && !T.padding && S.push(dy(b, T.border.width, E))); | |
| } | |
| return m.hover.forEach(function(R) { | |
| var D = Pw(I, R); | |
| if (D) { | |
| var $ = kv(D, E), Y = ""; | |
| D.border && D.border.width && b && !D.padding && (Y = dy(b, D.border.width, E)), $.length > 0 && !r && !g && S.push(yt(["&:hover{", " ", "}"], $, Y)); | |
| } | |
| }), S; | |
| }, VR = function(t) { | |
| var r = t.hoverIndicator, o = t.theme, u = {}; | |
| r === !0 || r === "background" ? u.background = o.global.hover.background : r.color || r.background ? (r.background && (u.background = r.background), r.color && (u.color = r.color)) : u.background = r; | |
| var h = kv(u, o); | |
| return h.length > 0 ? yt(["&:hover{", "}"], h) : ""; | |
| }, qR = function(t) { | |
| if (t === "horizontal") | |
| return "width: 100%;"; | |
| if (t === "vertical") | |
| return "height: 100%;"; | |
| if (t) | |
| return ` | |
| width: 100%; | |
| height: 100%; | |
| max-width: none; | |
| flex: 1 0 auto; | |
| `; | |
| }, GR = function(t) { | |
| return yt(["outline:none;border:none;padding:0;text-align:inherit;color:inherit;", " ", ""], t.icon && ` | |
| > svg { | |
| display: flex; | |
| align-self: center; | |
| vertical-align: middle; | |
| } | |
| `, t.hasIcon && !t.hasLabel && "line-height: 0;"); | |
| }, YR = xr.button.withConfig({ | |
| shouldForwardProp: function(t) { | |
| return a1(t) && !["kind"].includes(t); | |
| } | |
| }).withConfig({ | |
| displayName: "StyledButtonKind", | |
| componentId: "sc-1vhfpnt-0" | |
| })(["display:inline-block;box-sizing:border-box;cursor:pointer;font:inherit;text-decoration:none;margin:0;background:transparent;overflow:visible;text-transform:none;", " ", " ", " ", " ", " ", " ", " ", " ", " &:focus{", "}&:focus:not(:focus-visible){", "}", " ", " ", " ", ""], Ks, function(e) { | |
| return e.plain && GR(e); | |
| }, function(e) { | |
| return !e.disabled && e.active && Qk; | |
| }, function(e) { | |
| return !e.plain && UR(e); | |
| }, function(e) { | |
| return !e.plain && $R(e); | |
| }, function(e) { | |
| return !e.plain && e.pad && Ts("padding", e.pad, !1, void 0, e.theme); | |
| }, function(e) { | |
| return !e.plain && e.align && ` | |
| text-align: ` + e.align + `; | |
| `; | |
| }, function(e) { | |
| return !e.disabled && e.hoverIndicator && !e.busy && !e.success && VR(e); | |
| }, function(e) { | |
| return e.disabled && a0(e.theme.button.disabled.opacity); | |
| }, function(e) { | |
| return (!e.plain || e.focusIndicator) && Nu({ | |
| inset: e.focusIndicator === "inset" | |
| }); | |
| }, l1(), function(e) { | |
| return !e.plain && e.theme.button.transition && ` | |
| transition-property: ` + e.theme.button.transition.properties.join(",") + `; | |
| transition-duration: ` + e.theme.button.transition.duration + `s; | |
| transition-timing-function: ` + e.theme.button.transition.timing + `; | |
| `; | |
| }, function(e) { | |
| return e.fillContainer && qR(e.fillContainer); | |
| }, function(e) { | |
| return e.theme.button && e.theme.button.extend; | |
| }, function(e) { | |
| return (e.busy || e.success) && ` | |
| cursor: default; | |
| `; | |
| }), zg = {}, Iw; | |
| function KR() { | |
| if (Iw) return zg; | |
| Iw = 1, zg.__esModule = !0, zg.Checkmark = void 0; | |
| var e = u(oo()), t = /* @__PURE__ */ oi(), r = /* @__PURE__ */ gm(); | |
| function o(p) { | |
| if (typeof WeakMap != "function") return null; | |
| var g = /* @__PURE__ */ new WeakMap(), m = /* @__PURE__ */ new WeakMap(); | |
| return (o = function(S) { | |
| return S ? m : g; | |
| })(p); | |
| } | |
| function u(p, g) { | |
| if (p && p.__esModule) return p; | |
| if (p === null || typeof p != "object" && typeof p != "function") return { default: p }; | |
| var m = o(g); | |
| if (m && m.has(p)) return m.get(p); | |
| var E = { __proto__: null }, S = Object.defineProperty && Object.getOwnPropertyDescriptor; | |
| for (var I in p) if (I !== "default" && {}.hasOwnProperty.call(p, I)) { | |
| var w = S ? Object.getOwnPropertyDescriptor(p, I) : null; | |
| w && (w.get || w.set) ? Object.defineProperty(E, I, w) : E[I] = p[I]; | |
| } | |
| return E.default = p, m && m.set(p, E), E; | |
| } | |
| function h() { | |
| return h = Object.assign ? Object.assign.bind() : function(p) { | |
| for (var g = 1; g < arguments.length; g++) { | |
| var m = arguments[g]; | |
| for (var E in m) ({}).hasOwnProperty.call(m, E) && (p[E] = m[E]); | |
| } | |
| return p; | |
| }, h.apply(null, arguments); | |
| } | |
| var c = zg.Checkmark = /* @__PURE__ */ (0, e.forwardRef)(function(p, g) { | |
| var m = (0, r.useScaleProps)(p); | |
| return /* @__PURE__ */ e.default.createElement(t.StyledIcon, h({ | |
| ref: g, | |
| viewBox: "0 0 24 24", | |
| a11yTitle: "Checkmark" | |
| }, p), /* @__PURE__ */ e.default.createElement("path", h({ | |
| fill: "none", | |
| stroke: "#000", | |
| strokeWidth: "2", | |
| d: "m2 14 7 6L22 4" | |
| }, m))); | |
| }); | |
| return c.displayName = "Checkmark", zg; | |
| } | |
| var XR = /* @__PURE__ */ KR(), QR = pm(["0%,80%,100%{transform:scale(0.4);}40%{transform:scale(0.8);}"]), JR = yt(["animation:", " 1.4s infinite ease-in-out both;"], QR), fy = xr($t).withConfig({ | |
| displayName: "BusyAnimation__Dot", | |
| componentId: "sc-feuivs-0" | |
| })(["background-color:currentColor;width:8px;height:8px;border-radius:100%;display:inline-block;", " ", ""], JR, function(e) { | |
| return e.delay && "animation-delay: " + e.delay + ";"; | |
| }), ZR = function() { | |
| var t, r = On(), o = r.theme; | |
| return /* @__PURE__ */ le.createElement($t, { | |
| style: { | |
| position: "absolute" | |
| }, | |
| fill: !0, | |
| alignContent: "center", | |
| justify: "center" | |
| }, /* @__PURE__ */ le.createElement($t, { | |
| alignSelf: "center", | |
| direction: "row", | |
| gap: (t = o.button) == null || (t = t.busy) == null ? void 0 : t.gap | |
| }, /* @__PURE__ */ le.createElement(fy, { | |
| delay: "-0.32s" | |
| }), /* @__PURE__ */ le.createElement(fy, { | |
| delay: "-0.16s" | |
| }), /* @__PURE__ */ le.createElement(fy, null))); | |
| }, e_ = pm(["0%{opacity:0;transform:scale(.3);}20%{opacity:1;transform:scale(1.15);}30%{transform:scale(.9);}45%{transform:scale(1.05);}55%{transform:scale(1);}100%{transform:scale(1);}"]), t_ = xr(XR.Checkmark).withConfig({ | |
| displayName: "BusyAnimation__GrowCheckmark", | |
| componentId: "sc-feuivs-1" | |
| })(["position:absolute;align-self:center;animation:", " 0.9s ease-in-out;"], e_), r_ = xr.div.withConfig(Mn).withConfig({ | |
| displayName: "BusyAnimation__StyledBusyContents", | |
| componentId: "sc-feuivs-2" | |
| })(["opacity:", ";}"], function(e) { | |
| return e.animating ? 0 : 1; | |
| }), n_ = ["active", "align", "aria-label", "badge", "busy", "color", "children", "disabled", "icon", "focusIndicator", "gap", "fill", "href", "justify", "kind", "label", "messages", "onBlur", "onClick", "onFocus", "onMouseOut", "onMouseOver", "pad", "plain", "primary", "reverse", "secondary", "selected", "size", "success", "tip", "type", "a11yTitle", "as"]; | |
| function Yg() { | |
| return Yg = Object.assign ? Object.assign.bind() : function(e) { | |
| for (var t = 1; t < arguments.length; t++) { | |
| var r = arguments[t]; | |
| for (var o in r) ({}).hasOwnProperty.call(r, o) && (e[o] = r[o]); | |
| } | |
| return e; | |
| }, Yg.apply(null, arguments); | |
| } | |
| function o_(e, t) { | |
| if (e == null) return {}; | |
| var r = {}; | |
| for (var o in e) if ({}.hasOwnProperty.call(e, o)) { | |
| if (t.indexOf(o) !== -1) continue; | |
| r[o] = e[o]; | |
| } | |
| return r; | |
| } | |
| var i_ = xr($t).withConfig({ | |
| displayName: "Button__RelativeBox", | |
| componentId: "sc-zuqsuw-0" | |
| })(["position:relative;"]), Ch = function(t, r, o, u) { | |
| t === void 0 && (t = []); | |
| var h = [], c = t.length - 1; | |
| for (typeof u == "object" && (c = 0); c >= 0 && !h[1]; ) { | |
| var p = typeof u == "object" && u || r.button, g = p; | |
| if (t[c]) | |
| for (var m = t[c].split("."); g && m.length; ) g = g[m.shift()]; | |
| if (g) { | |
| var E, S = o && g.background && g.background.color ? o : g.background, I = g.color || (Object.prototype.hasOwnProperty.call(g, "color") && g.color === void 0 ? !1 : void 0), w = void 0; | |
| if ((E = g) != null && (E = E.icon) != null && (E = E.props) != null && E.color) w = g.icon.props.color; | |
| else if (t[c + 1]) { | |
| for (var b, T = t[c + 1].split("."); p && T.length; ) g = p[T.shift()]; | |
| (b = g) != null && (b = b.icon) != null && (b = b.props) != null && b.color && (w = g.icon.props.color); | |
| } | |
| w || (w = o && (!g.background || !g.background.color) && (!g.border || !g.border.color) ? o : I), h = Xk(S, w, r); | |
| } | |
| c -= 1; | |
| } | |
| return h[1] || void 0; | |
| }, Tw = function(t, r, o) { | |
| t === void 0 && (t = []); | |
| var u, h = t.length - 1; | |
| for (typeof o == "object" && (h = 0); h >= 0 && !u; ) { | |
| var c, p = typeof o == "object" && o || r.button; | |
| if (t[h]) | |
| for (var g = t[h].split("."); p && g.length; ) p = p[g.shift()]; | |
| (c = p) != null && c.icon && (u = p.icon), h -= 1; | |
| } | |
| return u || void 0; | |
| }, Rw = function(t, r, o, u, h) { | |
| r === void 0 && (r = []); | |
| var c; | |
| if (u) { | |
| var p = typeof u == "object" && u || o.button; | |
| if (r[0]) | |
| for (var g = r[0].split("."); p && g.length; ) p = p[g.shift()]; | |
| p && (c = p[t] || p[t] && p[t].color); | |
| } else h && o && o.button && o.button.primary ? c = o.button.primary[t] || o.button.primary[t] && o.button.primary[t].color : c = o && o.button && o.button[t] || o && o.button && o.button[t] && o.button[t].color; | |
| return c; | |
| }, Xa = /* @__PURE__ */ V.forwardRef(function(e, t) { | |
| var r, o, u = e.active, h = e.align, c = h === void 0 ? "center" : h, p = e["aria-label"], g = e.badge, m = e.busy, E = e.color, S = e.children, I = e.disabled, w = e.icon, b = e.focusIndicator, T = b === void 0 ? !0 : b, R = e.gap, D = e.fill, $ = e.href, Y = e.justify, Z = e.kind, ne = e.label, te = e.messages, ie = e.onBlur, ye = e.onClick, J = e.onFocus, de = e.onMouseOut, ke = e.onMouseOver, se = e.pad, Re = e.plain, Ne = e.primary, Be = e.reverse, Ue = e.secondary, Xe = e.selected, G = e.size, me = e.success, ve = e.tip, Q = e.type, fe = Q === void 0 ? "button" : Q, Ge = e.a11yTitle, st = Ge === void 0 ? typeof ve == "string" ? ve : void 0 : Ge, lt = e.as, Ve = o_(e, n_), ft = On(), Ce = ft.theme, Me = ft.passThemeFlag, Tt = V.useState(), B = Tt[0], Vt = Tt[1], qt = V.useState(!1), br = qt[0], Ar = qt[1], Gt = V.useContext(op), hr = V.useContext(kf), gt = hr.format; | |
| m && me && console.warn("Button cannot have both busy and success set to true."), V.useEffect(function() { | |
| m ? Gt(gt({ | |
| id: "button.busy", | |
| messages: te | |
| })) : me && Gt(gt({ | |
| id: "button.success", | |
| messages: te | |
| })); | |
| }, [Gt, m, gt, te, me]), (w || ne) && S && console.warn("Button should not have children if icon or label is provided"); | |
| var Yt = np(), Pe = h1(), At = V.useCallback(function(nn) { | |
| Pe({ | |
| type: "buttonClick", | |
| element: o1(nn.target), | |
| event: nn, | |
| href: $, | |
| label: typeof ne == "string" ? ne : void 0 | |
| }), ye && ye(nn); | |
| }, [ye, Pe, $, ne]), Et = V.useMemo(function() { | |
| return typeof Z == "object"; | |
| }, [Z]), ot = V.useMemo(function() { | |
| if (Ce.button.default || Et) | |
| return Z || (Ne ? "primary" : Ue ? "secondary" : "default"); | |
| }, [Z, Et, Ne, Ue, Ce]), Ae = G || ot && "medium" || void 0, xe = V.useMemo(function() { | |
| if (!(!ot || Re)) { | |
| var nn = { | |
| base: [], | |
| hover: [] | |
| }; | |
| return Et || nn.base.push(ot), Xe && (nn.base.push("selected"), Et || nn.base.push("selected." + ot)), I ? (nn.base.push("disabled"), Et || nn.base.push("disabled." + ot)) : (u && (nn.base.push("active"), Et || nn.base.push("active." + ot)), nn.hover.push("hover"), Et || nn.hover.push("hover." + ot), u && (nn.hover.push("hover.active"), Et || nn.hover.push("hover.active." + ot))), nn; | |
| } | |
| }, [u, I, ot, Et, Re, Xe]), ze = function() { | |
| var cn = Jh(jr(E || Ce.button.primary && Ce.button.primary.color || Ce.global.colors.control || "brand", Ce), Ce); | |
| return Mv(cn); | |
| }, Ot = function(cn) { | |
| Ar(!0), ke && ke(cn); | |
| }, zt = function(cn) { | |
| Ar(!1), de && de(cn); | |
| }, Lt = br && Tw(xe == null ? void 0 : xe.hover, Ce, ot) || Tw(xe == null ? void 0 : xe.base, Ce, ot), mr = w || Lt; | |
| if (w && !w.props.color) | |
| if (ot) { | |
| if (!Re) { | |
| var vr = br && Ch(xe.hover, Ce) || Ch(xe.base, Ce, E, ot); | |
| vr && (mr = /* @__PURE__ */ V.cloneElement(w, { | |
| color: vr | |
| })); | |
| } | |
| } else Ne && (mr = /* @__PURE__ */ V.cloneElement(w, { | |
| color: Ce.global.colors.text[ze() ? "dark" : "light"] | |
| })); | |
| else if (Lt && !Re) { | |
| var wr = br && Ch(xe.hover, Ce) || Ch(xe.base, Ce, E, ot); | |
| wr && (mr = /* @__PURE__ */ V.cloneElement(Lt, { | |
| color: wr | |
| })); | |
| } | |
| if (mr = i1(mr, Ae, Ce), Yt) { | |
| var Or, kr; | |
| return /* @__PURE__ */ le.createElement(Kc, Yg({ | |
| ref: t, | |
| height: ((Or = Ce.text[Ae || "medium"]) == null ? void 0 : Or.height) || Ae, | |
| a11yTitle: st | |
| }, Ve, (kr = Ce.button.size) == null ? void 0 : kr[Ae || "medium"], Ce.button.skeleton)); | |
| } | |
| var Pr = Be ?? ((r = Ce.button[ot]) == null ? void 0 : r.reverse), Nt = !lt && $ ? "a" : lt, Ct = Pr ? ne : mr, Rt = Pr ? mr : ne, Xt; | |
| if (Ct && Rt) { | |
| var Lr; | |
| Xt = /* @__PURE__ */ le.createElement($t, { | |
| direction: ((Lr = Ce.button) == null || (Lr = Lr[ot]) == null ? void 0 : Lr.direction) || "row", | |
| align: "center", | |
| justify: Y || (c === "center" ? "center" : "between"), | |
| gap: R || Ce.button.gap, | |
| responsive: !1 | |
| }, Ct, Rt); | |
| } else typeof S == "function" ? Xt = S({ | |
| active: u, | |
| disabled: I, | |
| hover: br, | |
| focus: B | |
| }) : Xt = Ct || Rt || S; | |
| var Vr = Rw("background", xe && xe.base, Ce, ot, Ne), Qt = Rw("border", xe && xe.base, Ce, ot, Ne), Jr = ((o = Ce.button) == null || (o = o.badge) == null ? void 0 : o.align) !== "container" && (!Vr && !Qt || !ot && w && !ne); | |
| if (g && Jr && (Xt = /* @__PURE__ */ le.createElement(Ow, { | |
| content: g | |
| }, Xt)), m || me) { | |
| var hn, Ur; | |
| ot ? Re || (Ur = br && Ch(xe.hover, Ce) || Ch(xe.base, Ce, E, ot)) : Ne && (Ur = Ce.global.colors.text[ze() ? "dark" : "light"]), Xt = // position relative is necessary to have the animation | |
| // display over the button content | |
| /* @__PURE__ */ le.createElement(i_, { | |
| flex: !1 | |
| }, m && /* @__PURE__ */ le.createElement(ZR, null), me && /* @__PURE__ */ le.createElement($t, { | |
| style: { | |
| position: "absolute" | |
| }, | |
| fill: !0, | |
| alignContent: "center", | |
| justify: "center" | |
| }, /* @__PURE__ */ le.createElement(t_, { | |
| color: Ur, | |
| "aria-hidden": !0, | |
| as: (hn = Ce.button) == null || (hn = hn.busy) == null || (hn = hn.icons) == null ? void 0 : hn.success | |
| })), /* @__PURE__ */ le.createElement(r_, { | |
| animating: m || me | |
| }, Xt)); | |
| } | |
| var pn; | |
| return ot ? pn = /* @__PURE__ */ le.createElement(YR, Yg({}, Ve, { | |
| as: Nt, | |
| ref: t, | |
| active: u, | |
| align: c, | |
| "aria-label": p || st, | |
| busy: m, | |
| badge: g, | |
| colorValue: E, | |
| disabled: I, | |
| hasIcon: !!w, | |
| gap: R, | |
| hasLabel: !!ne, | |
| icon: w, | |
| fillContainer: D, | |
| focus: B, | |
| focusIndicator: T, | |
| href: $, | |
| kind: ot, | |
| themePaths: xe, | |
| onClick: !m && !me ? At : void 0, | |
| onFocus: function(cn) { | |
| Vt(!0), J && J(cn); | |
| }, | |
| onBlur: function(cn) { | |
| Vt(!1), ie && ie(cn); | |
| }, | |
| onMouseOver: Ot, | |
| onMouseOut: zt, | |
| pad: se, | |
| plain: Re || V.Children.count(S) > 0, | |
| primary: Ne, | |
| selected: Xe, | |
| sizeProp: Ae, | |
| success: me, | |
| type: $ ? void 0 : fe | |
| }, Me), Xt) : pn = /* @__PURE__ */ le.createElement(DR, Yg({}, Ve, { | |
| as: Nt, | |
| ref: t, | |
| "aria-label": p || st, | |
| busy: m, | |
| colorValue: E, | |
| active: u, | |
| selected: Xe, | |
| disabled: I, | |
| hasIcon: !!w, | |
| gap: R, | |
| hasLabel: !!ne, | |
| fillContainer: D, | |
| focus: B, | |
| focusIndicator: T, | |
| href: $, | |
| kind: ot, | |
| themePaths: xe, | |
| onClick: !m && !me ? At : void 0, | |
| onFocus: function(cn) { | |
| Vt(!0), J && J(cn); | |
| }, | |
| onBlur: function(cn) { | |
| Vt(!1), ie && ie(cn); | |
| }, | |
| onMouseOver: Ot, | |
| onMouseOut: zt, | |
| pad: se || !Re, | |
| plain: typeof Re < "u" ? Re : V.Children.count(S) > 0 || w && !ne, | |
| primary: Ne, | |
| sizeProp: Ae, | |
| success: me, | |
| type: $ ? void 0 : fe | |
| }, Me), Xt), ve && (typeof ve == "string" ? pn = /* @__PURE__ */ le.createElement(yf, { | |
| content: ve | |
| }, pn) : pn = /* @__PURE__ */ le.createElement(yf, ve, pn)), g && !Jr && (pn = /* @__PURE__ */ le.createElement(Ow, { | |
| content: g | |
| }, pn)), pn; | |
| }); | |
| Xa.displayName = "Button"; | |
| Xa.propTypes = rT; | |
| var a_ = {}, s_ = a_, l_ = xr($t).withConfig({ | |
| displayName: "Collapsible__AnimatedBox", | |
| componentId: "sc-15kniua-0" | |
| })(["", ""], function(e) { | |
| return e.shouldOpen ? `visibility: hidden; | |
| position: absolute; | |
| pointer-events: none;` : ( | |
| // eslint-disable-next-line max-len | |
| "transition: " + ("max-" + e.dimension + " " + e.speedProp + "ms, opacity " + e.speedProp + "ms") + `; | |
| opacity: ` + (e.open ? 1 : 0) + `; | |
| overflow: ` + (e.animate || !e.open ? "hidden" : "visible") + ";" | |
| ); | |
| }), x1 = /* @__PURE__ */ V.forwardRef(function(e, t) { | |
| var r = e.children, o = e.direction, u = e.open, h = On(), c = h.theme, p = V.useState(u), g = p[0], m = p[1], E = V.useState(!1), S = E[0], I = E[1], w = V.useState(c.collapsible.minSpeed), b = w[0], T = w[1], R = V.useMemo(function() { | |
| return o === "horizontal" ? "width" : "height"; | |
| }, [o]), D = Xs(t), $ = V.useRef(0), Y = !g && u, Z = g && !u; | |
| return V.useEffect(function() { | |
| u !== g && (I(!0), m(u)); | |
| }, [g, u]), Fu(function() { | |
| var ne = D.current; | |
| if (!S && Y) { | |
| var te = ne.parentNode.style.position; | |
| ne.parentNode.style.position = "relative"; | |
| var ie = ne.getBoundingClientRect(), ye = ie[R]; | |
| ne.parentNode.style.position = te, $.current = ye; | |
| } | |
| if (Y) | |
| ne.style["max-" + R] = 0; | |
| else if (Z) { | |
| var J = ne.getBoundingClientRect(), de = J[R]; | |
| ne.style["max-" + R] = de + "px"; | |
| } | |
| }, [Y, Z, D, R, S]), V.useEffect(function() { | |
| if (Y || Z) { | |
| var ne = D.current, te = c.collapsible, ie = te.minSpeed, ye = te.baseline, J = Math.max($.current / ye * ie, ie); | |
| T(J), requestAnimationFrame(function() { | |
| requestAnimationFrame(function() { | |
| ne.style["max-" + R] = Y ? $.current + "px" : 0; | |
| }); | |
| }); | |
| } | |
| }, [Y, Z, D, R, c]), V.useEffect(function() { | |
| if (S) { | |
| var ne = D.current, te = setTimeout(function() { | |
| I(!1), ne.removeAttribute("style"); | |
| }, b); | |
| return function() { | |
| return clearTimeout(te); | |
| }; | |
| } | |
| }, [S, D, b, g]), /* @__PURE__ */ le.createElement(l_, { | |
| "aria-hidden": !g, | |
| ref: D, | |
| open: g, | |
| animate: S, | |
| dimension: R, | |
| speedProp: b, | |
| shouldOpen: !S && Y | |
| }, Y || g || S ? r : null); | |
| }); | |
| x1.displayName = "Collapsible"; | |
| x1.propTypes = s_; | |
| var u_ = function(t) { | |
| var r = t.size || "medium", o = t.theme.heading, u = o.level[t.level]; | |
| if (u) { | |
| var h = u[r], c = [yt(["font-size:", ";line-height:", ";max-width:", ";font-weight:", ";overflow-wrap:", ";"], h ? h.size : r, h ? h.height : "normal", t.fillProp && "none" || h && h.maxWidth || u.medium.maxWidth, t.weight || u.font.weight || o.weight, t.overflowWrap)]; | |
| if (t.responsive && o.responsiveBreakpoint) { | |
| var p = t.theme.global.breakpoints[o.responsiveBreakpoint]; | |
| if (p) { | |
| var g = o.level[t.level + 1] ? o.level[t.level + 1][r] : o.level[t.level][r]; | |
| g && c.push(Dn(p, ` | |
| font-size: ` + g.size + `; | |
| line-height: ` + g.height + `; | |
| max-width: ` + (t.fillProp && "none" || g.maxWidth) + `; | |
| `, t.responsive)); | |
| } | |
| } | |
| return c; | |
| } | |
| return console.warn("Heading level " + t.level + " is not defined in your theme."), ""; | |
| }, c_ = function(t) { | |
| var r = t.theme.heading.level[t.level] || {}, o = r.font; | |
| return o && o.family ? yt(["font-family:", ";"], o.family) : t.theme.heading.font ? yt(["font-family:", ";"], t.theme.heading.font.family) : ""; | |
| }, d_ = ` | |
| white-space: nowrap; | |
| overflow: hidden; | |
| text-overflow: ellipsis; | |
| `, f_ = yt(["color:", ";"], function(e) { | |
| return jr(e.colorProp || e.theme.heading.color, e.theme); | |
| }), h_ = xr.h1.withConfig(Mn).withConfig({ | |
| displayName: "StyledHeading", | |
| componentId: "sc-1rdh4aw-0" | |
| })(["", " ", " ", " ", " ", " ", " ", ""], Ks, function(e) { | |
| return c_(e); | |
| }, function(e) { | |
| return u_(e); | |
| }, function(e) { | |
| return e.textAlign && l0; | |
| }, function(e) { | |
| return e.truncate && d_; | |
| }, function(e) { | |
| return (e.colorProp || e.theme.heading.color) && f_; | |
| }, function(e) { | |
| return e.theme.heading && e.theme.heading.extend; | |
| }), p_ = {}, g_ = p_; | |
| function tb() { | |
| return tb = Object.assign ? Object.assign.bind() : function(e) { | |
| for (var t = 1; t < arguments.length; t++) { | |
| var r = arguments[t]; | |
| for (var o in r) ({}).hasOwnProperty.call(r, o) && (e[o] = r[o]); | |
| } | |
| return e; | |
| }, tb.apply(null, arguments); | |
| } | |
| var CC = /* @__PURE__ */ V.forwardRef(function(e, t) { | |
| var r, o = e.as, u = e.level, h = u === void 0 ? 1 : u, c = e.size, p = c === void 0 ? "medium" : c, g = e.responsive, m = On(), E = m.theme, S = ((r = E.heading.level[h]) == null || (r = r[p]) == null ? void 0 : r.height) || p, I; | |
| if (g && E.heading.responsiveBreakpoint) { | |
| var w = E.global.breakpoints[E.heading.responsiveBreakpoint]; | |
| if (w) { | |
| var b, T, R = E.heading.level[h + 1] ? (b = E.heading.level[h + 1][p]) == null ? void 0 : b.height : (T = E.heading.level[h][p]) == null ? void 0 : T.height; | |
| I = { | |
| breakpoint: w, | |
| height: R || S | |
| }; | |
| } | |
| } | |
| return /* @__PURE__ */ le.createElement(Kc, tb({ | |
| as: o, | |
| ref: t, | |
| height: S, | |
| responsive: g, | |
| responsiveSize: I | |
| }, E.heading.skeleton)); | |
| }); | |
| CC.displayName = "HeadingSkeleton"; | |
| var m_ = ["children", "color", "fill", "level", "overflowWrap", "responsive", "weight"]; | |
| function Bv() { | |
| return Bv = Object.assign ? Object.assign.bind() : function(e) { | |
| for (var t = 1; t < arguments.length; t++) { | |
| var r = arguments[t]; | |
| for (var o in r) ({}).hasOwnProperty.call(r, o) && (e[o] = r[o]); | |
| } | |
| return e; | |
| }, Bv.apply(null, arguments); | |
| } | |
| function v_(e, t) { | |
| if (e == null) return {}; | |
| var r = {}; | |
| for (var o in e) if ({}.hasOwnProperty.call(e, o)) { | |
| if (t.indexOf(o) !== -1) continue; | |
| r[o] = e[o]; | |
| } | |
| return r; | |
| } | |
| var Xl = /* @__PURE__ */ V.forwardRef(function(e, t) { | |
| var r = e.children, o = e.color, u = e.fill, h = e.level, c = h === void 0 ? 1 : h, p = e.overflowWrap, g = e.responsive, m = g === void 0 ? !0 : g, E = e.weight, S = v_(e, m_), I = On(), w = I.passThemeFlag, b = Xs(t), T = V.useState(p || "break-word"), R = T[0], D = T[1], $ = V.useContext(c0), Y = $ && m ? "container" : m, Z = np(); | |
| Fu(function() { | |
| var te = function() { | |
| var ye; | |
| !p && b.current && (ye = b.current.scrollWidth > b.current.offsetWidth ? "anywhere" : "break-word", D(ye)); | |
| }; | |
| return window.addEventListener("resize", te), te(), function() { | |
| return window.removeEventListener("resize", te); | |
| }; | |
| }, [b, p]); | |
| var ne = r; | |
| return Z && (ne = /* @__PURE__ */ le.createElement(CC, Bv({ | |
| level: c, | |
| fill: u, | |
| responsive: Y | |
| }, S))), // enforce level to be a number | |
| /* @__PURE__ */ le.createElement(h_, Bv({ | |
| as: "h" + c, | |
| colorProp: o, | |
| fillProp: u, | |
| level: +c, | |
| overflowWrap: R, | |
| responsive: Y, | |
| weight: E | |
| }, w, S, { | |
| ref: b | |
| }), ne); | |
| }); | |
| Xl.displayName = "Heading"; | |
| Xl.propTypes = g_; | |
| var y_ = ` | |
| opacity: 0.3; | |
| cursor: default; | |
| text-decoration: none; | |
| `, b_ = function(t) { | |
| if (t.size) { | |
| var r = t.size || "medium", o = t.theme.text[r]; | |
| return yt(["font-size:", ";line-height:", ";"], o ? o.size : r, o ? o.height : "normal"); | |
| } | |
| return yt(["font-size:inherit;line-height:inherit;"]); | |
| }, x_ = xr.a.withConfig(Mn).withConfig({ | |
| displayName: "StyledAnchor", | |
| componentId: "sc-1rp7lwl-0" | |
| })(["box-sizing:border-box;display:inline-flex;", " color:", ";", " text-decoration:", ";cursor:pointer;", " ", " ", " ", " ", " ", ""], function(e) { | |
| return b_(e); | |
| }, function(e) { | |
| var t; | |
| return jr(e.colorProp || ((t = e.theme.anchor) == null || (t = t.size) == null || (t = t[e.size]) == null ? void 0 : t.color) || e.theme.anchor.color, e.theme); | |
| }, function(e) { | |
| var t, r; | |
| return e.weight ? "font-weight: " + e.weight + ";" : (((t = e.theme.anchor) == null || (t = t.size) == null || (t = t[e.size]) == null ? void 0 : t.fontWeight) || e.theme.anchor.fontWeight) && "font-weight: " + (((r = e.theme.anchor) == null || (r = r.size) == null || (r = r[e.size]) == null ? void 0 : r.fontWeight) || e.theme.anchor.fontWeight) + ";"; | |
| }, function(e) { | |
| var t; | |
| return e.hasIcon ? "none" : ((t = e.theme.anchor) == null || (t = t.size) == null || (t = t[e.size]) == null ? void 0 : t.textDecoration) || e.theme.anchor.textDecoration; | |
| }, Ks, function(e) { | |
| return !e.disabled && e.theme.anchor.hover && yt(["&:hover{", " ", " ", "}"], e.theme.anchor.hover.textDecoration && "text-decoration: " + e.theme.anchor.hover.textDecoration + ";", e.theme.anchor.hover.fontWeight && "font-weight: " + e.theme.anchor.hover.fontWeight + ";", e.theme.anchor.hover.extend); | |
| }, function(e) { | |
| return e.hasIcon && !e.hasLabel && Ts("padding", e.theme.anchor.iconOnly.pad, !1, e.theme.global.edgeSize.responsiveBreakpoint, e.theme); | |
| }, function(e) { | |
| return e.disabled && y_; | |
| }, function(e) { | |
| return e.focus && Nu(); | |
| }, function(e) { | |
| return e.theme.anchor.extend; | |
| }), w_ = {}, S_ = w_, k_ = ["a11yTitle", "aria-label", "children", "color", "disabled", "gap", "href", "icon", "label", "onBlur", "onClick", "onFocus", "reverse", "size"]; | |
| function rb() { | |
| return rb = Object.assign ? Object.assign.bind() : function(e) { | |
| for (var t = 1; t < arguments.length; t++) { | |
| var r = arguments[t]; | |
| for (var o in r) ({}).hasOwnProperty.call(r, o) && (e[o] = r[o]); | |
| } | |
| return e; | |
| }, rb.apply(null, arguments); | |
| } | |
| function C_(e, t) { | |
| if (e == null) return {}; | |
| var r = {}; | |
| for (var o in e) if ({}.hasOwnProperty.call(e, o)) { | |
| if (t.indexOf(o) !== -1) continue; | |
| r[o] = e[o]; | |
| } | |
| return r; | |
| } | |
| var ip = /* @__PURE__ */ V.forwardRef(function(e, t) { | |
| var r, o, u = e.a11yTitle, h = e["aria-label"], c = e.children, p = e.color, g = e.disabled, m = e.gap, E = e.href, S = e.icon, I = e.label, w = e.onBlur, b = e.onClick, T = e.onFocus, R = e.reverse, D = e.size, $ = C_(e, k_), Y = On(), Z = Y.theme, ne = Y.passThemeFlag, te = V.useState(), ie = te[0], ye = te[1], J = V.useContext(b1), de = J.size, ke = h1(), se = V.useCallback(function(me) { | |
| ke({ | |
| type: "anchorClick", | |
| element: o1(me.target), | |
| event: me, | |
| href: E, | |
| label: typeof I == "string" ? I : void 0 | |
| }), b && b(me); | |
| }, [b, ke, I, E]); | |
| V.useEffect(function() { | |
| (S || I) && c && console.warn("Anchor should not have children if icon or label is provided"); | |
| }, [c, S, I]); | |
| var Re = S; | |
| if (S && !S.props.color) { | |
| var Ne, Be; | |
| Re = /* @__PURE__ */ V.cloneElement(S, { | |
| color: jr(p || ((Ne = Z.anchor) == null || (Ne = Ne.icon) == null ? void 0 : Ne.color) || ((Be = Z.anchor) == null || (Be = Be.size) == null || (Be = Be[D || de]) == null ? void 0 : Be.color) || Z.anchor.color, Z) | |
| }); | |
| } | |
| var Ue = i1(Re, D || de, Z), Xe = R ? I : Ue, G = R ? Ue : I; | |
| return /* @__PURE__ */ le.createElement(x_, rb({}, $, { | |
| ref: t, | |
| "aria-label": h || u, | |
| colorProp: p, | |
| disabled: g, | |
| hasIcon: !!S, | |
| focus: ie, | |
| hasLabel: I, | |
| reverse: R, | |
| href: g ? void 0 : E, | |
| onClick: g ? void 0 : se, | |
| onFocus: g ? void 0 : function(me) { | |
| ye(!0), T && T(me); | |
| }, | |
| onBlur: function(ve) { | |
| ye(!1), w && w(ve); | |
| }, | |
| size: D || de | |
| }, ne), Xe && G ? /* @__PURE__ */ le.createElement($t, { | |
| as: "span", | |
| direction: "row", | |
| align: "center", | |
| gap: m || ((r = Z.anchor) == null || (r = r.size) == null || (r = r[D]) == null ? void 0 : r.gap) || ((o = Z.anchor) == null ? void 0 : o.gap), | |
| responsive: !1 | |
| }, Xe, G) : Xe || G || c); | |
| }); | |
| ip.displayName = "Anchor"; | |
| ip.propTypes = S_; | |
| var E_ = { | |
| cover: "cover", | |
| contain: "contain" | |
| }, O_ = yt(["flex:1 1;overflow:hidden;object-fit:", ";"], function(e) { | |
| return E_[e.fit]; | |
| }), P_ = xr.img.withConfig(Mn).withConfig({ | |
| displayName: "StyledImage", | |
| componentId: "sc-ey4zx9-0" | |
| })(["", " ", " ", " ", " ", ""], Ks, function(e) { | |
| return e.fit && O_; | |
| }, function(e) { | |
| return e.fillProp && aC(e.fillProp); | |
| }, function(e) { | |
| return e.theme.image && e.theme.image.extend; | |
| }, function(e) { | |
| return e.opacityProp && "opacity: " + (e.opacityProp === !0 ? e.theme.global.opacity.medium : e.theme.global.opacity[e.opacityProp] || e.opacityProp) + `; | |
| `; | |
| }), I_ = {}, T_ = I_, R_ = ["a11yTitle", "fallback", "onError", "onLoad", "opacity", "fill", "src"]; | |
| function nb() { | |
| return nb = Object.assign ? Object.assign.bind() : function(e) { | |
| for (var t = 1; t < arguments.length; t++) { | |
| var r = arguments[t]; | |
| for (var o in r) ({}).hasOwnProperty.call(r, o) && (e[o] = r[o]); | |
| } | |
| return e; | |
| }, nb.apply(null, arguments); | |
| } | |
| function __(e, t) { | |
| if (e == null) return {}; | |
| var r = {}; | |
| for (var o in e) if ({}.hasOwnProperty.call(e, o)) { | |
| if (t.indexOf(o) !== -1) continue; | |
| r[o] = e[o]; | |
| } | |
| return r; | |
| } | |
| var w1 = /* @__PURE__ */ V.forwardRef(function(e, t) { | |
| var r = e.a11yTitle, o = e.fallback, u = e.onError, h = e.onLoad, c = e.opacity, p = e.fill, g = e.src, m = __(e, R_), E = On(), S = E.passThemeFlag, I = V.useState(!1), w = I[0], b = I[1], T = function(Y) { | |
| u && u(Y), !w && o && o !== "" && (Y.target.src = o, b(!0)); | |
| }, R = function(Y) { | |
| h && h(Y), b(!1); | |
| }, D = { | |
| onError: (u || o) && T, | |
| onLoad: R | |
| }; | |
| return /* @__PURE__ */ le.createElement(P_, nb({ | |
| "aria-label": r | |
| }, S, m, D, { | |
| ref: t, | |
| opacityProp: c, | |
| fillProp: p, | |
| src: g === void 0 ? "" : g | |
| })); | |
| }); | |
| w1.displayName = "Image"; | |
| w1.propTypes = T_; | |
| var A_ = {}, L_ = A_, hy = function(t, r) { | |
| return t ? Math.floor((t + r) / r) - 1 : 0; | |
| }, vm = function(t) { | |
| var r = t.children, o = t.items, u = o === void 0 ? [] : o, h = t.onMore, c = t.renderMarker, p = t.replace, g = t.show, m = t.step, E = m === void 0 ? 50 : m, S = V.useState(), I = S[0], w = S[1], b = V.useMemo(function() { | |
| return Math.max(0, Math.ceil(u.length / E) - 1); | |
| }, [u.length, E]), T = V.useState([0, hy(g, E)]), R = T[0], D = T[1], $ = V.useState([]), Y = $[0], Z = $[1], ne = V.useState(0), te = ne[0], ie = ne[1], ye = V.useRef(), J = V.useRef(); | |
| V.useEffect(function() { | |
| var G, me = function() { | |
| if (G) { | |
| var Ge = G[0], st, lt; | |
| if (Ge === document) | |
| st = document.documentElement.scrollTop || document.body.scrollTop, lt = window.innerHeight; | |
| else { | |
| st = Ge.scrollTop; | |
| var Ve = Ge.getBoundingClientRect(); | |
| lt = Ve.height; | |
| } | |
| for (var ft = lt / 4, Ce = 0, Me = 0, Tt = Y[Me] || 0; Y[Me + 1] && Tt < st - ft; ) | |
| Me += 1, Ce += 1, Tt += Y[Me]; | |
| for (var B = Ce; Y[Me] !== void 0 && Tt < st + lt + ft; ) | |
| Me += 1, B += 1, Tt += Y[Me] || 0; | |
| if (p || (Ce = 0, B = Math.max(R[1], B)), g) { | |
| var Vt = hy(g, E); | |
| Ce = Math.min(Vt, Ce), B = Math.max(Vt, B); | |
| } | |
| (Ce !== R[0] || B !== R[1]) && D([Ce, B]); | |
| } | |
| }, ve, Q = function() { | |
| clearTimeout(ve), ve = setTimeout(me, 10); | |
| }; | |
| return J.current && (G = Zk(J.current), G.forEach(function(fe) { | |
| return fe.addEventListener("scroll", Q); | |
| })), window.addEventListener("resize", Q), me(), function() { | |
| G && G.forEach(function(fe) { | |
| return fe.removeEventListener("scroll", Q); | |
| }), window.removeEventListener("resize", Q), clearTimeout(ve); | |
| }; | |
| }, [Y, R, p, g, E]), V.useEffect(function() { | |
| h && R[1] === b && u.length >= te && u.length > 0 && (ie(u.length + 1), h()); | |
| }, [u.length, b, h, te, R, E]), V.useEffect(function() { | |
| u.length === 0 && b === 0 && te !== 0 && (Z([]), ie(0), D([0, hy(g, E)])); | |
| }, [b, te, g, E, u.length]), Fu(function() { | |
| var G = setTimeout(function() { | |
| if (g && J.current && g !== I) { | |
| var me = g - R[0] * E + (R[0] ? 1 : 0), ve = J.current.parentNode.children.item(me); | |
| if (ve) { | |
| var Q = BP(ve); | |
| nC(ve, Q) ? ve.scrollIntoView(!0) : rC(ve, Q) && ve.scrollIntoView(!1), w(g); | |
| } | |
| } | |
| }, 100); | |
| return function() { | |
| return clearTimeout(G); | |
| }; | |
| }, [R, g, E]), Fu(function() { | |
| if (J.current) { | |
| var G = J.current.parentNode.children; | |
| if ((ye.current ? 1 : 0) + (R[1] - R[0] + 1) * E + 1 === G.length) { | |
| for (var me, ve = R[0], Q; ve <= R[1]; ) { | |
| var fe = (ye.current ? 1 : 0) + (ve - R[0]) * E, Ge = Math.min(fe + E - 1, G.length - 1), st = Q !== void 0 ? Q : G.item(fe).getBoundingClientRect().top, lt = G.item(Ge).getBoundingClientRect(), Ve = lt.bottom, ft = Ve - st; | |
| Ve && (!Y || Y[ve] !== ft) && (me || (me = [].concat(Y || [])), me[ve] = ft), Q = Ve, ve += 1; | |
| } | |
| for (; p && ve <= b; ) { | |
| if (!Y[ve] && Y[ve] !== Y[0]) { | |
| me || (me = [].concat(Y || [])); | |
| var Ce = me; | |
| me[ve] = Ce[0]; | |
| } | |
| ve += 1; | |
| } | |
| me && Z(me); | |
| } | |
| } | |
| }, [b, Y, R, p, E]); | |
| var de = V.useMemo(function() { | |
| if (!p) return 0; | |
| for (var G = 0, me = 0; me < R[0]; ) | |
| G += Y[me] || 0, me += 1; | |
| return G; | |
| }, [Y, R, p]), ke = V.useMemo(function() { | |
| if (!p) return 0; | |
| for (var G = 0, me = R[1] + 1; me <= b; ) | |
| G += Y[me] || 0, me += 1; | |
| return G; | |
| }, [b, Y, R, p]), se = R[0] * E, Re = Math.min((R[1] + 1) * E, u.length) - 1, Ne = []; | |
| if (de) { | |
| var Be = /* @__PURE__ */ le.createElement($t, { | |
| key: "above", | |
| ref: ye, | |
| flex: !1, | |
| height: de + "px" | |
| }); | |
| c && (Be = /* @__PURE__ */ le.cloneElement(c(Be), { | |
| key: "above" | |
| })), Ne.push(Be); | |
| } | |
| if (u.slice(se, Re + 1).forEach(function(G, me) { | |
| var ve = se + me, Q = r(G, ve); | |
| Ne.push(Q); | |
| }), p || R[1] < b || h) { | |
| var Ue = /* @__PURE__ */ le.createElement($t, { | |
| key: "below", | |
| ref: !c && J || void 0, | |
| flex: !1, | |
| height: (ke || 0) + "px" | |
| }); | |
| if (c) { | |
| var Xe = c(Ue); | |
| Ue = /* @__PURE__ */ le.cloneElement(Xe, { | |
| key: "below", | |
| // We need to make sure our belowMarkerRef is tied to a component | |
| // that has the same parent as the items being rendered. This is so | |
| // we can use belowMarkerRef.current.parentNode.children to | |
| // get a reference to the items in the DOM for calculating pageHeights. | |
| // | |
| // Since the caller might have included a ref in what their | |
| // renderMarker returns, we have to take care of both refs. | |
| // https://github.com/facebook/react/issues/8873#issuecomment-489579878 | |
| ref: function(me) { | |
| J.current = me; | |
| var ve = Xe.ref; | |
| typeof ve == "function" ? ve(me) : ve !== null && (ve.current = me); | |
| } | |
| }); | |
| } | |
| Ne.push(Ue); | |
| } | |
| return Ne; | |
| }; | |
| vm.propTypes = L_; | |
| function M_(e) { | |
| if (e == null) throw new TypeError("Cannot destructure " + e); | |
| } | |
| function Hv() { | |
| return Hv = Object.assign ? Object.assign.bind() : function(e) { | |
| for (var t = 1; t < arguments.length; t++) { | |
| var r = arguments[t]; | |
| for (var o in r) ({}).hasOwnProperty.call(r, o) && (e[o] = r[o]); | |
| } | |
| return e; | |
| }, Hv.apply(null, arguments); | |
| } | |
| var EC = function(t) { | |
| var r, o = Hv({}, (M_(t), t)), u = On(), h = u.theme; | |
| return /* @__PURE__ */ le.createElement($t, Hv({ | |
| as: "nav", | |
| flex: !1, | |
| gap: (r = h.nav) == null ? void 0 : r.gap | |
| }, o)); | |
| }, Rh = function(t) { | |
| var r = t.theme.pagination.button && t.theme.pagination.button.size && t.theme.pagination.button.size[t.size || "medium"]; | |
| return r ? { | |
| content: { | |
| fontSize: r.font && r.font.size, | |
| // fix for safari, apply line-height 0 on next/previous | |
| // icon-only buttons | |
| lineHeight: r.font && t.hasLabel ? r.font.height : 0 | |
| }, | |
| container: { | |
| height: r.height, | |
| minWidth: r.width | |
| } | |
| } : ""; | |
| }, z_ = xr(Xa).withConfig({ | |
| displayName: "StyledPageControl__StyledPaginationButton", | |
| componentId: "sc-1vlfaez-0" | |
| })(["> svg{margin:0 auto;}", ";"], function(e) { | |
| return Rh(e).content; | |
| }), F_ = xr.div.withConfig(Mn).withConfig({ | |
| displayName: "StyledPageControl__StyledContainer", | |
| componentId: "sc-1vlfaez-1" | |
| })(["display:flex;align-items:center;justify-content:center;max-width:100%;", ";", ";"], function(e) { | |
| return Rh(e).container; | |
| }, function(e) { | |
| return e.theme.pagination.control && e.theme.pagination.control.extend; | |
| }), N_ = xr(eo).withConfig({ | |
| displayName: "StyledPageControl__StyledSeparator", | |
| componentId: "sc-1vlfaez-2" | |
| })(["font-weight:bold;", ";", ";"], function(e) { | |
| return "font-size: " + (Rh(e).content && Rh(e).content.fontSize); | |
| }, function(e) { | |
| return "line-height: " + (Rh(e).content && Rh(e).content.lineHeight); | |
| }), j_ = ["control", "separator", "size"]; | |
| function Kg() { | |
| return Kg = Object.assign ? Object.assign.bind() : function(e) { | |
| for (var t = 1; t < arguments.length; t++) { | |
| var r = arguments[t]; | |
| for (var o in r) ({}).hasOwnProperty.call(r, o) && (e[o] = r[o]); | |
| } | |
| return e; | |
| }, Kg.apply(null, arguments); | |
| } | |
| function D_(e, t) { | |
| if (e == null) return {}; | |
| var r = {}; | |
| for (var o in e) if ({}.hasOwnProperty.call(e, o)) { | |
| if (t.indexOf(o) !== -1) continue; | |
| r[o] = e[o]; | |
| } | |
| return r; | |
| } | |
| var B_ = function(t) { | |
| var r = t.control, o = t.separator, u = t.size, h = D_(t, j_), c = On(), p = c.theme, g = c.passThemeFlag, m = u || "medium"; | |
| return /* @__PURE__ */ le.createElement(F_, Kg({ | |
| as: "li", | |
| size: m | |
| }, g), o ? /* @__PURE__ */ le.createElement(N_, Kg({ | |
| size: m | |
| }, g), "…") : /* @__PURE__ */ le.createElement(z_, Kg({ | |
| a11yTitle: "Go to page " + r, | |
| fill: !0, | |
| kind: p.pagination.button, | |
| label: r, | |
| size: m | |
| }, g, h))); | |
| }, H_ = function(t) { | |
| var r = t.value, o = t.initialValue, u = V.useState(r !== void 0 ? r : o), h = u[0], c = u[1]; | |
| return [r !== void 0 ? r : h, function(p) { | |
| o !== void 0 && c(p); | |
| }]; | |
| }, W_ = function(t) { | |
| var r = t.error, o = t.info, u = t.disabled; | |
| return { | |
| error: r, | |
| info: o, | |
| disabled: u | |
| }; | |
| }, Jc = /* @__PURE__ */ le.createContext({ | |
| useFormField: W_, | |
| useFormInput: H_ | |
| }), U_ = function(t) { | |
| return t === "full" ? yt(["", " padding:0;"], Wx) : t && Wx; | |
| }, $_ = xr.input.withConfig(Mn).withConfig({ | |
| displayName: "StyledTextInput", | |
| componentId: "sc-1x30a0s-0" | |
| })(["", " ", " ", " ", " ", " ", " ", " ", " ", ";"], sC, function(e) { | |
| return e.readOnlyCopy ? "padding-" + (e.reverse ? "left" : "right") + ": 0px;" : ""; | |
| }, function(e) { | |
| return e.readOnly && "border: none;"; | |
| }, function(e) { | |
| return U_(e.plain); | |
| }, function(e) { | |
| return e.icon && tI; | |
| }, function(e) { | |
| return e.disabled && a0(e.theme.textInput.disabled && e.theme.textInput.disabled.opacity); | |
| }, function(e) { | |
| return e.textAlign && l0; | |
| }, function(e) { | |
| return e.widthProp && c1(e.widthProp, e.theme); | |
| }, function(e) { | |
| return e.theme.textInput && e.theme.textInput.extend; | |
| }), V_ = xr.div.withConfig(Mn).withConfig({ | |
| displayName: "StyledTextInput__StyledTextInputContainer", | |
| componentId: "sc-1x30a0s-1" | |
| })(["position:relative;width:100%;", ";", ";", " ", ";"], function(e) { | |
| return e.readOnlyProp && !e.plain && s1; | |
| }, function(e) { | |
| return e.readOnlyCopy && ` | |
| box-sizing: border-box; | |
| flex-direction: row; | |
| display: flex; | |
| `; | |
| }, function(e) { | |
| return e.readOnlyProp && !e.plain && yI(e.theme); | |
| }, function(e) { | |
| return e.theme.textInput && e.theme.textInput.container && e.theme.textInput.container.extend; | |
| }), q_ = xr.div.withConfig(Mn).withConfig({ | |
| displayName: "StyledTextInput__StyledPlaceholder", | |
| componentId: "sc-1x30a0s-2" | |
| })(["position:absolute;left:", "px;top:50%;transform:translateY(-50%);display:flex;justify-content:center;pointer-events:none;", ";"], function(e) { | |
| return ni(Uy(e, "left")) - ni(e.theme.global.control.border.width); | |
| }, function(e) { | |
| return e.theme.textInput && e.theme.textInput.placeholder && e.theme.textInput.placeholder.extend; | |
| }), G_ = xr.div.withConfig(Mn).withConfig({ | |
| displayName: "StyledTextInput__StyledIcon", | |
| componentId: "sc-1x30a0s-3" | |
| })(["position:absolute;display:flex;justify:center;top:50%;transform:translateY(-50%);pointer-events:none;", ""], function(e) { | |
| return e.reverse ? "right: " + Uy(e, "right") + ";" : "left: " + Uy(e, "left") + ";"; | |
| }), Y_ = xr.ol.withConfig(Mn).withConfig({ | |
| displayName: "StyledTextInput__StyledSuggestions", | |
| componentId: "sc-1x30a0s-4" | |
| })(["border-top-left-radius:0;border-top-right-radius:0;margin:0;padding:0;list-style-type:none;", ";"], function(e) { | |
| return e.theme.textInput && e.theme.textInput.suggestions && e.theme.textInput.suggestions.extend; | |
| }), K_ = {}, X_ = K_, Fg = {}, _w; | |
| function Q_() { | |
| if (_w) return Fg; | |
| _w = 1, Fg.__esModule = !0, Fg.Copy = void 0; | |
| var e = o(oo()), t = /* @__PURE__ */ oi(); | |
| function r(c) { | |
| if (typeof WeakMap != "function") return null; | |
| var p = /* @__PURE__ */ new WeakMap(), g = /* @__PURE__ */ new WeakMap(); | |
| return (r = function(E) { | |
| return E ? g : p; | |
| })(c); | |
| } | |
| function o(c, p) { | |
| if (c && c.__esModule) return c; | |
| if (c === null || typeof c != "object" && typeof c != "function") return { default: c }; | |
| var g = r(p); | |
| if (g && g.has(c)) return g.get(c); | |
| var m = { __proto__: null }, E = Object.defineProperty && Object.getOwnPropertyDescriptor; | |
| for (var S in c) if (S !== "default" && {}.hasOwnProperty.call(c, S)) { | |
| var I = E ? Object.getOwnPropertyDescriptor(c, S) : null; | |
| I && (I.get || I.set) ? Object.defineProperty(m, S, I) : m[S] = c[S]; | |
| } | |
| return m.default = c, g && g.set(c, m), m; | |
| } | |
| function u() { | |
| return u = Object.assign ? Object.assign.bind() : function(c) { | |
| for (var p = 1; p < arguments.length; p++) { | |
| var g = arguments[p]; | |
| for (var m in g) ({}).hasOwnProperty.call(g, m) && (c[m] = g[m]); | |
| } | |
| return c; | |
| }, u.apply(null, arguments); | |
| } | |
| var h = Fg.Copy = /* @__PURE__ */ (0, e.forwardRef)(function(c, p) { | |
| return /* @__PURE__ */ e.default.createElement(t.StyledIcon, u({ | |
| ref: p, | |
| viewBox: "0 0 24 24", | |
| a11yTitle: "Copy" | |
| }, c), /* @__PURE__ */ e.default.createElement("path", { | |
| fill: "none", | |
| stroke: "#000", | |
| strokeWidth: "2", | |
| d: "M9 15h8-8zm0-4h10H9zm0-4h4-4zm7-6v6h6M6 5H2v18h16v-4m4 0H6V1h11l5 5v13z" | |
| })); | |
| }); | |
| return h.displayName = "Copy", Fg; | |
| } | |
| var J_ = /* @__PURE__ */ Q_(); | |
| function ob() { | |
| return ob = Object.assign ? Object.assign.bind() : function(e) { | |
| for (var t = 1; t < arguments.length; t++) { | |
| var r = arguments[t]; | |
| for (var o in r) ({}).hasOwnProperty.call(r, o) && (e[o] = r[o]); | |
| } | |
| return e; | |
| }, ob.apply(null, arguments); | |
| } | |
| var Z_ = xr(Xa).withConfig({ | |
| displayName: "CopyButton__StyledButton", | |
| componentId: "sc-1bp1m18-0" | |
| })(["border-radius:", ";", ""], function(e) { | |
| return e.theme.global.control.border.radius; | |
| }, function(e) { | |
| return e.theme.button.default ? "" : Ts("padding", e.pad, !1, void 0, e.theme); | |
| }), eA = function(t) { | |
| var r, o, u, h, c = t.disabled, p = t.onClickCopy, g = t.onBlurCopy, m = t.readOnlyCopyPrompt, E = t.tip, S = t.value, I = On(), w = I.theme, b = I.passThemeFlag, T = ((r = w.textInput) == null || (r = r.icons) == null ? void 0 : r.copy) || J_.Copy; | |
| return /* @__PURE__ */ le.createElement(yf, { | |
| dropProps: { | |
| align: { | |
| bottom: "top" | |
| } | |
| }, | |
| content: E | |
| }, /* @__PURE__ */ le.createElement(Z_, ob({ | |
| disabled: c, | |
| onClick: p, | |
| icon: /* @__PURE__ */ le.createElement(T, null), | |
| pad: { | |
| horizontal: (o = w.global.input.padding) == null ? void 0 : o.horizontal, | |
| left: (u = w.global.input.padding) == null ? void 0 : u.left, | |
| right: (h = w.global.input.padding) == null ? void 0 : h.right, | |
| // only apply horizontal padding since button will | |
| // fill height of input | |
| top: "0", | |
| bottom: "0" | |
| }, | |
| onBlur: g, | |
| onMouseOut: g, | |
| "aria-label": m + " " + S | |
| }, b))); | |
| }, tA = ["a11yTitle", "defaultSuggestion", "defaultValue", "disabled", "dropAlign", "dropHeight", "dropTarget", "dropProps", "focusIndicator", "icon", "id", "messages", "name", "onBlur", "onChange", "onFocus", "onKeyDown", "onSelect", "onSuggestionSelect", "onSuggestionsClose", "onSuggestionsOpen", "placeholder", "plain", "readOnly", "readOnlyCopy", "reverse", "suggestions", "textAlign", "value", "width"]; | |
| function zc() { | |
| return zc = Object.assign ? Object.assign.bind() : function(e) { | |
| for (var t = 1; t < arguments.length; t++) { | |
| var r = arguments[t]; | |
| for (var o in r) ({}).hasOwnProperty.call(r, o) && (e[o] = r[o]); | |
| } | |
| return e; | |
| }, zc.apply(null, arguments); | |
| } | |
| function rA(e, t) { | |
| if (e == null) return {}; | |
| var r = {}; | |
| for (var o in e) if ({}.hasOwnProperty.call(e, o)) { | |
| if (t.indexOf(o) !== -1) continue; | |
| r[o] = e[o]; | |
| } | |
| return r; | |
| } | |
| var py = function(t) { | |
| return t && typeof t == "object" ? t.label || t.value : t; | |
| }, Aw = function(t) { | |
| return t && typeof t == "object" ? t.label && typeof t.label == "string" ? t.label : t.value : t; | |
| }, nA = xr($t).withConfig({ | |
| displayName: "TextInput__ContainerBox", | |
| componentId: "sc-1ai0c08-0" | |
| })(["", ";@media screen and (-ms-high-contrast:active),(-ms-high-contrast:none){width:100%;}"], function(e) { | |
| return e.dropHeight ? lC("max-height", e.dropHeight, e.theme) : "max-height: inherit;"; | |
| }), oA = { | |
| top: "bottom", | |
| left: "left" | |
| }, ap = /* @__PURE__ */ V.forwardRef(function(e, t) { | |
| var r, o, u = e.a11yTitle, h = e.defaultSuggestion, c = e.defaultValue, p = e.disabled, g = e.dropAlign, m = g === void 0 ? oA : g, E = e.dropHeight, S = e.dropTarget, I = e.dropProps, w = e.focusIndicator, b = w === void 0 ? !0 : w, T = e.icon, R = e.id, D = e.messages, $ = e.name, Y = e.onBlur, Z = e.onChange, ne = e.onFocus, te = e.onKeyDown, ie = e.onSelect, ye = e.onSuggestionSelect, J = e.onSuggestionsClose, de = e.onSuggestionsOpen, ke = e.placeholder, se = e.plain, Re = e.readOnly, Ne = e.readOnlyCopy, Be = e.reverse, Ue = e.suggestions, Xe = e.textAlign, G = e.value, me = e.width, ve = rA(e, tA), Q = On(), fe = Q.theme, Ge = Q.passThemeFlag, st = V.useContext(kf), lt = st.format, Ve = V.useContext(op), ft = V.useContext(Jc), Ce = Xs(t), Me = V.useRef(), Tt = V.useRef(), B = Re || Ne, Vt = ft.useFormInput({ | |
| name: B ? void 0 : $, | |
| value: G | |
| }), qt = Vt[0], br = Vt[1], Ar = V.useState(), Gt = Ar[0], hr = Ar[1], gt = V.useState(!1), Yt = gt[0], Pe = gt[1], At = V.useMemo(function() { | |
| return ie && !ye ? ie : ye; | |
| }, [ie, ye]), Et = V.useMemo(function() { | |
| return ie && ye ? ie : void 0; | |
| }, [ie, ye]), ot = V.useState(), Ae = ot[0], xe = ot[1], ze = lt({ | |
| id: "input.readOnlyCopy.validation", | |
| messages: D | |
| }), Ot = lt({ | |
| id: "input.readOnlyCopy.prompt", | |
| messages: D | |
| }), zt = V.useState(Ot), Lt = zt[0], mr = zt[1], vr = function() { | |
| global.navigator.clipboard.writeText(qt), Ve(ze, "assertive"), mr(ze); | |
| }, wr = function() { | |
| Lt === ze && mr(Ot); | |
| }, Or = V.useCallback(function() { | |
| Pe(!0), Ve(lt({ | |
| id: "textInput.suggestionIsOpen", | |
| messages: D | |
| })), Ve(Ue.length + " " + lt({ | |
| id: "textInput.suggestionsCount", | |
| messages: D | |
| })), de && de(); | |
| }, [Ve, D, lt, de, Ue]), kr = V.useCallback(function() { | |
| xe(Ue), Pe(!1), J && J(); | |
| }, [J, Ue]), Pr = V.useCallback(function(Zr) { | |
| Zr.target !== Ce.current && kr(); | |
| }, [Ce, kr]); | |
| V.useEffect(function() { | |
| Gt && !Yt && Ue && Ue.length && (!Ae || Ae.length !== Ue.length) && Or(); | |
| }, [Gt, Or, Yt, Ue, Ae]), V.useEffect(function() { | |
| Yt && (!Ue || !Ue.length) && kr(); | |
| }, [kr, Yt, Ue]); | |
| var Nt = V.useMemo(function() { | |
| return Ue ? Ue.map(function(Zr) { | |
| return typeof Zr == "object" ? Zr.value : Zr; | |
| }).indexOf(qt) : -1; | |
| }, [Ue, qt]), Ct = V.useMemo(function() { | |
| return Nt === -1 && typeof h == "number" ? h : Nt; | |
| }, [h, Nt]), Rt = V.useState(Ct), Xt = Rt[0], Lr = Rt[1], Vr = V.useState(), Qt = Vr[0], Jr = Vr[1]; | |
| V.useEffect(function() { | |
| return Lr(Nt); | |
| }, [Nt]), V.useEffect(function() { | |
| Yt || Lr(Ct); | |
| }, [Ct, Yt]), V.useEffect(function() { | |
| if (Xt >= 0) { | |
| var Zr = Aw(Ue[Xt]); | |
| Ve(Zr + " " + lt({ | |
| id: "textInput.enterSelect", | |
| messages: D | |
| })); | |
| } | |
| }, [Xt, Ve, D, lt, Ue]), V.useEffect(function() { | |
| var Zr = setTimeout(function() { | |
| var sn = Tt.current; | |
| if (Yt && Xt !== -1 && sn) { | |
| var $n = sn.parentNode, go = sn.children[Xt]; | |
| $n.scrollTo && (rC(go, $n) ? $n.scrollTo(0, go.offsetTop - ($n.getBoundingClientRect().height - go.getBoundingClientRect().height)) : nC(go, $n) && $n.scrollTo(0, go.offsetTop)); | |
| } | |
| }, 50); | |
| return function() { | |
| return clearTimeout(Zr); | |
| }; | |
| }, [Xt, Yt]), V.useEffect(function() { | |
| B && Ce != null && Ce.current && Ce.current.scrollLeft > 0 && (Ce.current.scrollLeft = 0); | |
| }, [B, Ce, Ce == null || (r = Ce.current) == null ? void 0 : r.scrollLeft]); | |
| var hn = function(sn, $n) { | |
| if (Ce.current.focus(), Ce.current.value = $n, kr(), At) { | |
| sn.persist && sn.persist(); | |
| var go = sn; | |
| go.suggestion = $n, At(go); | |
| } | |
| br($n); | |
| }, Ur = V.useCallback(function(Zr) { | |
| Zr.preventDefault(); | |
| var sn = Math.min(Xt + 1, Ue.length - 1); | |
| Lr(sn), Jr(!1); | |
| }, [Xt, Ue]), pn = V.useCallback(function(Zr) { | |
| Zr.preventDefault(); | |
| var sn = Math.max(Xt - 1, 0); | |
| Lr(sn), Jr(!1); | |
| }, [Xt]), nn = qt || ((o = Ce.current) == null ? void 0 : o.value), cn = V.useMemo(function() { | |
| return ke && typeof ke != "string" && !nn; | |
| }, [nn, ke]), zn, Ir = { | |
| onSelect: Et | |
| }; | |
| Yt && (zn = /* @__PURE__ */ le.createElement(mm, zc({ | |
| ref: Me, | |
| id: R ? "text-input-drop__" + R : void 0, | |
| align: m, | |
| responsive: !1, | |
| target: S || Ce.current, | |
| onClickOutside: Pr, | |
| onEsc: kr, | |
| trapFocus: !1 | |
| }, I), /* @__PURE__ */ le.createElement(nA, zc({ | |
| id: R ? "listbox__" + R : void 0, | |
| role: "listbox", | |
| overflow: "auto", | |
| dropHeight: E, | |
| onMouseMove: function() { | |
| return Jr(!0); | |
| } | |
| }, Ge), /* @__PURE__ */ le.createElement(Y_, zc({ | |
| ref: Tt | |
| }, Ge), /* @__PURE__ */ le.createElement(vm, { | |
| items: Ue, | |
| step: fe.select.step, | |
| show: Xt !== -1 ? Xt : void 0 | |
| }, function(Zr, sn, $n) { | |
| var go = Xt === sn, ii = Zr === qt, zo = py(Zr), mo; | |
| return typeof zo != "string" ? mo = zo : fe.button.option || (mo = /* @__PURE__ */ le.createElement($t, { | |
| align: "start", | |
| pad: "small" | |
| }, zo)), /* @__PURE__ */ le.createElement("li", { | |
| key: Aw(Zr) + "-" + sn, | |
| ref: $n | |
| }, /* @__PURE__ */ le.createElement(Xa, { | |
| id: R ? "listbox-option-" + sn + "__" + R : void 0, | |
| role: "option", | |
| "aria-selected": ii ? "true" : "false", | |
| active: go, | |
| fill: "horizontal", | |
| plain: mo ? !0 : void 0, | |
| align: "start", | |
| kind: mo ? void 0 : "option", | |
| label: mo ? void 0 : zo, | |
| onClick: function(Oo) { | |
| return hn(Oo, Zr); | |
| }, | |
| onMouseMove: Qt && Xt !== sn ? function() { | |
| return Lr(sn); | |
| } : void 0, | |
| keyboard: !Qt | |
| }, mo)); | |
| }))))); | |
| var Sn = { | |
| onKeyDown: te | |
| }; | |
| Yt ? (Sn.onEnter = function(Zr) { | |
| Zr.preventDefault(), Xt >= 0 ? hn(Zr, Ue[Xt]) : kr(); | |
| }, Xt > 0 && (Sn.onUp = pn), Xt < Ue.length - 1 && (Sn.onDown = Ur), Sn.onTab = kr) : Ue && Ue.length > 0 && (Sn.onDown = Or); | |
| var Pn = {}, gn; | |
| R && (Ue == null ? void 0 : Ue.length) > -1 && (Yt && Xt > -1 && (gn = "listbox-option-" + Xt + "__" + R), Pn = { | |
| "aria-activedescendant": gn, | |
| "aria-autocomplete": "list", | |
| "aria-expanded": Yt ? "true" : "false", | |
| "aria-controls": Yt ? "listbox__" + R : void 0, | |
| role: "combobox" | |
| }); | |
| var to = i1(T, ve.size, fe), In = /* @__PURE__ */ le.createElement(eA, { | |
| disabled: p, | |
| onBlurCopy: wr, | |
| onClickCopy: vr, | |
| readOnlyCopyPrompt: Ot, | |
| tip: Lt, | |
| value: qt | |
| }); | |
| return /* @__PURE__ */ le.createElement(V_, zc({ | |
| readOnlyProp: B, | |
| readOnlyCopy: Ne, | |
| plain: se, | |
| border: !se, | |
| onMouseMove: function() { | |
| return Jr(!0); | |
| } | |
| }, Ge), Be && Ne && In, cn && /* @__PURE__ */ le.createElement(q_, Ge, ke), to && !B && /* @__PURE__ */ le.createElement(G_, { | |
| reverse: Be, | |
| theme: fe | |
| }, to), /* @__PURE__ */ le.createElement(Ql, zc({ | |
| target: Gt ? "document" : void 0 | |
| }, Sn), /* @__PURE__ */ le.createElement($_, zc({ | |
| "aria-label": u, | |
| ref: Ce, | |
| id: R, | |
| name: $, | |
| autoComplete: "off", | |
| disabled: p, | |
| plain: se, | |
| placeholder: typeof ke == "string" ? ke : void 0, | |
| icon: !B && T, | |
| reverse: Be, | |
| focus: Gt, | |
| focusIndicator: b, | |
| textAlign: Xe, | |
| widthProp: me | |
| }, Ge, ve, Ir, Pn, { | |
| defaultValue: py(c), | |
| value: py(qt), | |
| readOnly: B, | |
| readOnlyCopy: Ne, | |
| onFocus: function(sn) { | |
| Gt || (hr(!0), Ue && Ue.length > 0 && (Ve(lt({ | |
| id: "textInput.suggestionsExist", | |
| messages: D | |
| })), Or()), ne && ne(sn)); | |
| }, | |
| onBlur: function(sn) { | |
| (!sn.relatedTarget || sn.relatedTarget !== Me.current) && (hr(!1), Y && Y(sn)); | |
| }, | |
| onChange: B ? void 0 : function(Zr) { | |
| Ue && Gt && !Yt && Or(), br(Zr.target.value), Lr(Ct), Z && Z(Zr); | |
| } | |
| }))), !Be && Ne && In, !B && zn); | |
| }); | |
| ap.displayName = "TextInput"; | |
| ap.propTypes = X_; | |
| var iA = {}, aA = iA, sA = ["a11yTitle", "onAlign", "disabled", "dropAlign", "dropProps", "dropContent", "dropTarget", "id", "open", "onClick", "onClose", "onOpen"]; | |
| function Wv() { | |
| return Wv = Object.assign ? Object.assign.bind() : function(e) { | |
| for (var t = 1; t < arguments.length; t++) { | |
| var r = arguments[t]; | |
| for (var o in r) ({}).hasOwnProperty.call(r, o) && (e[o] = r[o]); | |
| } | |
| return e; | |
| }, Wv.apply(null, arguments); | |
| } | |
| function lA(e, t) { | |
| if (e == null) return {}; | |
| var r = {}; | |
| for (var o in e) if ({}.hasOwnProperty.call(e, o)) { | |
| if (t.indexOf(o) !== -1) continue; | |
| r[o] = e[o]; | |
| } | |
| return r; | |
| } | |
| var uA = { | |
| top: "top", | |
| left: "left" | |
| }, S1 = /* @__PURE__ */ V.forwardRef(function(e, t) { | |
| var r = e.a11yTitle, o = r === void 0 ? "Open Drop" : r, u = e.onAlign, h = e.disabled, c = e.dropAlign, p = c === void 0 ? uA : c, g = e.dropProps, m = e.dropContent, E = e.dropTarget, S = e.id, I = e.open, w = e.onClick, b = e.onClose, T = e.onOpen, R = lA(e, sA), D = Xs(t), $ = V.useState(), Y = $[0], Z = $[1]; | |
| V.useEffect(function() { | |
| I !== void 0 && I !== Y && Z(I); | |
| }, [I, Y]); | |
| var ne = V.useCallback(function(ie) { | |
| for (var ye = ie.composed && ie.composedPath()[0] || ie.target; ye && ye !== document && !(ye instanceof ShadowRoot) && ye !== D.current; ) | |
| ye = ye.parentNode; | |
| ye !== D.current && (I === void 0 && Z(!1), b && b(ie)); | |
| }, [D, b, I]), te = V.useCallback(function(ie) { | |
| Y ? (Z(!1), b && b(ie)) : (Z(!0), T && T(ie)), w && w(ie); | |
| }, [w, b, T, Y]); | |
| return /* @__PURE__ */ le.createElement(le.Fragment, null, /* @__PURE__ */ le.createElement(Xa, Wv({ | |
| id: S, | |
| ref: D, | |
| a11yTitle: o, | |
| disabled: h | |
| }, R, { | |
| onClick: te | |
| })), Y && D.current && /* @__PURE__ */ le.createElement(mm, Wv({ | |
| id: S ? S + "__drop" : void 0, | |
| onAlign: u, | |
| restrictFocus: !0, | |
| align: p, | |
| target: E || D, | |
| onClickOutside: ne, | |
| onEsc: ne | |
| }, g), m)); | |
| }); | |
| S1.displayName = "DropButton"; | |
| S1.propTypes = aA; | |
| var cA = xr($t).withConfig({ | |
| displayName: "StyledSelect__StyledContainer", | |
| componentId: "sc-znp66n-0" | |
| })(["@media screen and (-ms-high-contrast:active),(-ms-high-contrast:none){width:100%;}", ";", ";"], function(e) { | |
| return e.dropHeight ? lC("max-height", e.dropHeight, e.theme) : "max-height: inherit;"; | |
| }, function(e) { | |
| return e.theme.select.container && e.theme.select.container.extend; | |
| }), dA = xr.div.withConfig(Mn).withConfig({ | |
| displayName: "StyledSelect__OptionsContainer", | |
| componentId: "sc-znp66n-1" | |
| })(["position:relative;scroll-behavior:smooth;overflow:auto;outline:none;", ";"], function(e) { | |
| return e.selectMultiple ? e.theme.selectMultiple.listbox && e.theme.selectMultiple.listbox.extend : e.theme.select.listbox && e.theme.select.listbox.extend; | |
| }), fA = xr.input.withConfig(Mn).withConfig({ | |
| displayName: "StyledSelect__HiddenInput", | |
| componentId: "sc-znp66n-2" | |
| })(["display:none;"]), hA = xr(Xa).withConfig({ | |
| displayName: "StyledSelect__SelectOption", | |
| componentId: "sc-znp66n-3" | |
| })(["", " ", " &:focus{", "}display:block;width:100%;", ";"], function(e) { | |
| return e.selected && e.textComponent && DP; | |
| }, function(e) { | |
| return e.active && Zh(!e.children && !e.theme.select.options ? void 0 : "background", e.theme); | |
| }, function(e) { | |
| return e.active && Zh(!e.children && !e.theme.select.options ? void 0 : "background", e.theme); | |
| }, function(e) { | |
| return e["aria-disabled"] && "cursor: default"; | |
| }), pA = xr(ap).withConfig({ | |
| displayName: "StyledSelect__SelectTextInput", | |
| componentId: "sc-znp66n-4" | |
| })(["cursor:", ";"], function(e) { | |
| return e.defaultCursor ? "default" : "pointer"; | |
| }), gA = xr(S1).withConfig({ | |
| displayName: "StyledSelect__StyledSelectDropButton", | |
| componentId: "sc-znp66n-5" | |
| })(["", ";", ";", ";"], function(e) { | |
| return !e.plainSelect && s1; | |
| }, function(e) { | |
| var t; | |
| return (t = e.theme.select) == null || (t = t.control) == null ? void 0 : t.extend; | |
| }, function(e) { | |
| var t; | |
| return e.open && ((t = e.theme.select) == null || (t = t.control) == null ? void 0 : t.open); | |
| }), ja = function(t, r) { | |
| if (/* @__PURE__ */ V.isValidElement(t)) return t; | |
| if (t != null) | |
| return typeof r == "object" ? ja(t, r.key) : typeof r == "function" ? r(t) : r !== void 0 && typeof t == "object" ? t[r] : typeof t == "object" && Object.keys(t).length > 0 ? t[Object.keys(t)[0]] : t; | |
| }, Lw = function(t, r, o) { | |
| return ja(r[t], o); | |
| }, OC = function(t, r, o) { | |
| return ja(r[t], o); | |
| }, Mw = function(t, r, o) { | |
| if (t) | |
| return typeof r == "object" ? t.findIndex(function(u) { | |
| return ja(u, o) === ja(r, o); | |
| }) : t.indexOf(r); | |
| }, mA = function(t, r, o, u) { | |
| return V.useCallback(function(h) { | |
| var c = o[h], p; | |
| if (r) | |
| p = ja(c, r); | |
| else if (Array.isArray(t)) | |
| if (typeof t[0] == "number") | |
| p = t.indexOf(h) !== -1; | |
| else { | |
| var g = OC(h, o, u); | |
| p = Mw(t, o[h], u) !== -1 || Mw(t, g, u) !== -1; | |
| } | |
| return p; | |
| }, [t, r, o, u]); | |
| }, vA = function(t, r) { | |
| return Array.isArray(t) ? t.map(function(o) { | |
| return r && r.reduce ? o : ja(o, r); | |
| }) : r && r.reduce ? t : ja(t, r); | |
| }, yA = function(t, r) { | |
| var o = Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype, "value").set; | |
| o.call(t.current, r); | |
| var u = new Event("input", { | |
| bubbles: !0 | |
| }); | |
| t.current.dispatchEvent(u); | |
| }, bA = function(t, r, o) { | |
| var u; | |
| switch (t) { | |
| case !1: | |
| break; | |
| case !0: | |
| case void 0: | |
| u = o && r.select.icons.up ? r.select.icons.up : r.select.icons.down; | |
| break; | |
| default: | |
| u = t; | |
| } | |
| return u; | |
| }, xA = function(t, r, o, u) { | |
| var h = ja(r[o[0]], t); | |
| if (!u && o.length === 1 && typeof h == "object") return h; | |
| }, wA = function(t) { | |
| return jr(t.select.icons.color || "control", t); | |
| }, PC = function(t, r) { | |
| return typeof t == "string" ? t : /* @__PURE__ */ V.isValidElement(t) ? t.toString() : Array.isArray(t) ? t.map(function(o) { | |
| return PC(o, r); | |
| }).join(", ") : ja(t, r); | |
| }, zw = le.use ? !0 : "", SA = function(t) { | |
| return t + "__input"; | |
| }; | |
| function ib() { | |
| return ib = Object.assign ? Object.assign.bind() : function(e) { | |
| for (var t = 1; t < arguments.length; t++) { | |
| var r = arguments[t]; | |
| for (var o in r) ({}).hasOwnProperty.call(r, o) && (e[o] = r[o]); | |
| } | |
| return e; | |
| }, ib.apply(null, arguments); | |
| } | |
| var kA = function(t) { | |
| var r, o, u, h = t.emptySearchMessage, c = t.selectOptionsStyle, p = t.theme; | |
| return /* @__PURE__ */ le.createElement($t, (p == null || (r = p.select) == null || (r = r.emptySearchMessage) == null ? void 0 : r.container) || c, /* @__PURE__ */ le.createElement(eo, ib({ | |
| "aria-live": "polite", | |
| role: "alert" | |
| }, (p == null || (o = p.select) == null || (o = o.emptySearchMessage) == null ? void 0 : o.text) || ((u = p.select) == null || (u = u.options) == null ? void 0 : u.text)), h)); | |
| }, CA = ["clear", "onClear", "name", "theme"]; | |
| function ml() { | |
| return ml = Object.assign ? Object.assign.bind() : function(e) { | |
| for (var t = 1; t < arguments.length; t++) { | |
| var r = arguments[t]; | |
| for (var o in r) ({}).hasOwnProperty.call(r, o) && (e[o] = r[o]); | |
| } | |
| return e; | |
| }, ml.apply(null, arguments); | |
| } | |
| function EA(e, t) { | |
| if (e == null) return {}; | |
| var r = {}; | |
| for (var o in e) if ({}.hasOwnProperty.call(e, o)) { | |
| if (t.indexOf(o) !== -1) continue; | |
| r[o] = e[o]; | |
| } | |
| return r; | |
| } | |
| var OA = xr(Xa).withConfig({ | |
| displayName: "SelectContainer__StyledButton", | |
| componentId: "sc-1wi0ul8-0" | |
| })(["&:focus{", "}"], function(e) { | |
| return Zh("background", e.theme); | |
| }), Fw = /* @__PURE__ */ V.forwardRef(function(e, t) { | |
| var r, o, u, h = e.clear, c = e.onClear, p = e.name, g = e.theme, m = EA(e, CA), E = h.label, S = h.position, I = S !== "bottom" ? "start" : "center", w = E || "Clear " + (p || "selection"), b = On(), T = b.passThemeFlag, R = (r = g.select.clear) == null ? void 0 : r.button, D = ((o = g.select.clear) == null ? void 0 : o.container) || {}, $ = ((u = g.select.clear) == null ? void 0 : u.text) || {}, Y = ml({ | |
| a11yTitle: w + ". Or, press " + (S === "bottom" ? "shift tab" : "down arrow") + " to move to select options", | |
| align: I, | |
| fill: "horizontal", | |
| onClick: c, | |
| ref: t | |
| }, T, m); | |
| return R ? /* @__PURE__ */ le.createElement($t, ml({ | |
| flex: "grow" | |
| }, D), /* @__PURE__ */ le.createElement(Xa, ml({ | |
| kind: R, | |
| label: $ ? /* @__PURE__ */ le.createElement(eo, $, w) : w | |
| }, Y))) : /* @__PURE__ */ le.createElement(OA, ml({ | |
| focusIndicator: !1, | |
| plain: !0 | |
| }, Y), function(Z) { | |
| var ne, te = Z.hover, ie = ml({}, g.select.clear.container); | |
| return delete ie.hover, /* @__PURE__ */ le.createElement($t, ml({}, ie, te ? (ne = g.select.clear) == null || (ne = ne.container) == null ? void 0 : ne.hover : {}, { | |
| align: I | |
| }), /* @__PURE__ */ le.createElement(eo, g.select.clear.text, w)); | |
| }); | |
| }), PA = /* @__PURE__ */ V.forwardRef(function(e, t) { | |
| var r, o = e.clear, u = e.children, h = u === void 0 ? null : u, c = e.disabled, p = e.disabledKey, g = e.dropHeight, m = e.emptySearchMessage, E = m === void 0 ? "No matches found" : m, S = e.id, I = e.labelKey, w = e.multiple, b = e.name, T = e.onChange, R = e.onKeyDown, D = e.onMore, $ = e.onSearch, Y = e.optionIndexesInValue, Z = e.options, ne = e.allOptions, te = e.searchPlaceholder, ie = e.search, ye = e.setSearch, J = e.selected, de = e.usingKeyboard, ke = e.value, se = ke === void 0 ? "" : ke, Re = e.valueKey, Ne = e.replace, Be = Ne === void 0 ? !0 : Ne, Ue = On(), Xe = Ue.theme, G = Ue.passThemeFlag, me = V.useCallback(function(Et) { | |
| var ot = !!(w && se ? se.length : se), Ae = Et === "bottom" ? (o == null ? void 0 : o.position) === "bottom" : (o == null ? void 0 : o.position) !== "bottom"; | |
| return o && ot && Ae; | |
| }, [o, w, se]), ve = mA(c, p, Z, Re || I), Q = V.useState(de && !me("top") && !$ ? 0 : -1), fe = Q[0], Ge = Q[1], st = V.useState(de), lt = st[0], Ve = st[1], ft = V.useRef(), Ce = V.useRef(), Me = V.useRef(), Tt = V.useRef(); | |
| V.useEffect(function() { | |
| var Et; | |
| fe >= 0 && ((Et = Tt.current) == null || Et.focus()); | |
| }, [fe]), V.useEffect(function() { | |
| var Et = setTimeout(function() { | |
| var ot = Ce.current, Ae = Me.current; | |
| if ($) { | |
| var xe = ft.current; | |
| xe && xe.focus && !Tt.current && Lc(xe); | |
| } else o && Ae && Ae.focus && o.position !== "bottom" ? Lc(Ae) : de && Tt.current ? Lc(Tt.current) : ot && Lc(ot); | |
| }, 100); | |
| return function() { | |
| return clearTimeout(Et); | |
| }; | |
| }, [$, de, o]); | |
| var B = V.useCallback(function(Et) { | |
| var ot; | |
| if (J) | |
| ot = J.indexOf(Et) !== -1; | |
| else { | |
| var Ae = OC(Et, Z, Re); | |
| if (Array.isArray(se)) | |
| se.length === 0 ? ot = !1 : typeof se[0] != "object" ? ot = se.indexOf(Ae) !== -1 : Re && (ot = se.some(function(ze) { | |
| var Ot = typeof Re == "function" ? Re(ze) : ze[Re] || ze[Re.key]; | |
| return Ot === Ae; | |
| })); | |
| else if (Re && se !== null && typeof se == "object") { | |
| var xe = typeof Re == "function" ? Re(se) : se[Re]; | |
| ot = xe === Ae; | |
| } else | |
| ot = se === Ae; | |
| } | |
| return ot; | |
| }, [J, se, Re, Z]), Vt = V.useCallback(function(Et) { | |
| return function(ot) { | |
| if (T) { | |
| var Ae, xe; | |
| if (w) { | |
| var ze = Y.slice(0), Ot = ne.indexOf(Z[Et]), zt = Y.indexOf(Ot); | |
| zt === -1 ? ze.push(Ot) : ze.splice(zt, 1), Ae = ze.map(function(Lt) { | |
| return Re && Re.reduce ? ja(ne[Lt], Re) : ne[Lt]; | |
| }), xe = ze; | |
| } else | |
| Ae = Re && Re.reduce ? ja(Z[Et], Re) : Z[Et], xe = Et; | |
| T(ot, { | |
| option: Z[Et], | |
| value: Ae, | |
| selected: xe | |
| }); | |
| } | |
| }; | |
| }, [w, T, Y, Z, ne, Re]), qt = V.useCallback(function(Et) { | |
| T(Et, { | |
| option: void 0, | |
| value: "", | |
| selected: "" | |
| }); | |
| }, [T]), br = V.useCallback(function(Et) { | |
| Et.preventDefault(); | |
| for (var ot = fe + 1; ot < Z.length && ve(ot); ) | |
| ot += 1; | |
| ot !== Z.length && (Ge(ot), Ve(!0)); | |
| }, [fe, Z, ve]), Ar = V.useCallback(function(Et) { | |
| Et.preventDefault(); | |
| var ot = fe - 1; | |
| if (ot === -1) { | |
| var Ae = ft.current, xe = Me.current; | |
| xe && xe.focus && me("top") ? (Ge(ot), Lc(xe)) : Ae && Ae.focus && (Ge(ot), Lc(Ae)); | |
| } | |
| for (; ot >= 0 && ve(ot); ) | |
| ot -= 1; | |
| ot >= 0 && (Ge(ot), Ve(!0)); | |
| }, [fe, ve, me]), Gt = V.useCallback(function(Et) { | |
| if (!$) { | |
| var ot = Z.findIndex(function(Ae, xe) { | |
| var ze; | |
| return typeof Ae == "object" ? ze = Ae.label || ja(Ae, I) : ze = Ae, typeof ze == "string" && ze.charAt(0).toLowerCase() === Et.key.toLowerCase() && !ve(xe); | |
| }); | |
| ot >= 0 && (Et.preventDefault(), Ge(ot), Ve(!0)); | |
| } | |
| R && R(Et); | |
| }, [ve, I, R, Z, $]), hr = V.useCallback(function(Et) { | |
| return function() { | |
| lt || Ge(Et); | |
| }; | |
| }, [lt]), gt = V.useCallback(function(Et) { | |
| (me("bottom") || me("top")) && eC(Me.current) ? T(Et, { | |
| option: void 0, | |
| value: "", | |
| selected: "" | |
| }) : fe >= 0 && fe < Z.length && (Et.preventDefault(), Vt(fe)(Et)); | |
| }, [fe, Vt, Z, T, me]), Yt = Xe.select.searchInput, Pe = Yt || ap, At = Xe.select.options ? ml({}, Xe.select.options.box, Xe.select.options.container) : {}; | |
| return /* @__PURE__ */ le.createElement(Ql, { | |
| onEnter: gt, | |
| onSpace: gt, | |
| onUp: Ar, | |
| onDown: br, | |
| onKeyDown: Gt | |
| }, /* @__PURE__ */ le.createElement(cA, ml({ | |
| ref: t, | |
| id: S ? S + "__select-drop" : void 0, | |
| dropHeight: g | |
| }, G), $ && /* @__PURE__ */ le.createElement($t, { | |
| pad: Yt || (r = Xe.select) == null || (r = r.search) == null ? void 0 : r.pad, | |
| flex: !1 | |
| }, /* @__PURE__ */ le.createElement(Pe, { | |
| focusIndicator: !Yt, | |
| size: "small", | |
| ref: ft, | |
| type: "search", | |
| value: ie || "", | |
| placeholder: te, | |
| onChange: function(ot) { | |
| var Ae = ot.target.value; | |
| ye(Ae), Ge(-1), $(Ae); | |
| }, | |
| onFocus: function() { | |
| return Ge(-1); | |
| } | |
| })), me("top") && /* @__PURE__ */ le.createElement(Fw, { | |
| ref: Me, | |
| clear: o, | |
| name: b, | |
| onClear: qt, | |
| onFocus: function() { | |
| return Ge(-1); | |
| }, | |
| onMouseOver: function() { | |
| return Ge(-1); | |
| }, | |
| theme: Xe | |
| }), Z.length > 0 ? /* @__PURE__ */ le.createElement(dA, { | |
| role: "listbox", | |
| tabIndex: "-1", | |
| ref: Ce, | |
| "aria-multiselectable": w, | |
| onMouseMove: function() { | |
| return Ve(!1); | |
| } | |
| }, /* @__PURE__ */ le.createElement(vm, { | |
| items: Z, | |
| step: Xe.select.step, | |
| onMore: D, | |
| replace: Be, | |
| show: fe !== -1 ? fe : void 0 | |
| }, function(Et, ot, Ae) { | |
| var xe = ve(ot), ze = B(ot), Ot = fe === ot, zt, Lt = !1; | |
| return h ? (zt = h(Et, ot, Z, { | |
| active: Ot, | |
| disabled: xe, | |
| selected: ze | |
| }), (typeof zt == "string" || zt.props && zt.props.children && typeof zt.props.children == "string") && (Lt = !0)) : Xe.select.options && (zt = /* @__PURE__ */ le.createElement($t, At, /* @__PURE__ */ le.createElement(eo, Xe.select.options.text, Lw(ot, Z, I))), Lt = !0), /* @__PURE__ */ le.createElement( | |
| hA, | |
| ml({ | |
| key: ot, | |
| ref: function(vr) { | |
| Ae && (Ae.current = vr), Ot && (Tt.current = vr); | |
| }, | |
| tabIndex: ze || fe === ot || // when nothing is selected and entering listbox | |
| // first option should be focused | |
| (!se || Array.isArray(se) && se.length === 0) && fe === -1 && ot === 0 ? "0" : "-1", | |
| role: "option", | |
| "aria-setsize": Z.length, | |
| "aria-posinset": ot + 1, | |
| "aria-selected": ze, | |
| "aria-disabled": xe || void 0, | |
| plain: zt ? !0 : void 0, | |
| align: "start", | |
| kind: zt ? void 0 : "option", | |
| label: zt ? void 0 : Lw(ot, Z, I || Re), | |
| disabled: xe || void 0, | |
| active: Ot, | |
| selected: ze, | |
| onFocus: function() { | |
| return Ge(ot); | |
| }, | |
| onMouseOver: xe ? void 0 : hr(ot), | |
| onMouseOut: xe ? void 0 : hr(-1), | |
| onClick: xe ? void 0 : Vt(ot), | |
| textComponent: Lt | |
| }, G), | |
| zt | |
| ); | |
| })) : /* @__PURE__ */ le.createElement(kA, { | |
| emptySearchMessage: E, | |
| selectOptionsStyle: At, | |
| theme: Xe | |
| }), me("bottom") && /* @__PURE__ */ le.createElement(Fw, { | |
| ref: Me, | |
| clear: o, | |
| name: b, | |
| onClear: qt, | |
| onFocus: function() { | |
| return Ge(-1); | |
| }, | |
| onMouseOver: function() { | |
| return Ge(-1); | |
| }, | |
| theme: Xe | |
| }))); | |
| }), IA = ["disabled", "id"]; | |
| function ab() { | |
| return ab = Object.assign ? Object.assign.bind() : function(e) { | |
| for (var t = 1; t < arguments.length; t++) { | |
| var r = arguments[t]; | |
| for (var o in r) ({}).hasOwnProperty.call(r, o) && (e[o] = r[o]); | |
| } | |
| return e; | |
| }, ab.apply(null, arguments); | |
| } | |
| function TA(e, t) { | |
| if (e == null) return {}; | |
| var r = {}; | |
| for (var o in e) if ({}.hasOwnProperty.call(e, o)) { | |
| if (t.indexOf(o) !== -1) continue; | |
| r[o] = e[o]; | |
| } | |
| return r; | |
| } | |
| var RA = /* @__PURE__ */ V.forwardRef(function(e, t) { | |
| var r = e.disabled, o = e.id, u = TA(e, IA); | |
| return /* @__PURE__ */ le.createElement( | |
| pA, | |
| ab({ | |
| defaultCursor: r === !0 || void 0, | |
| focusIndicator: !1, | |
| id: o ? o + "__input" : void 0, | |
| ref: t | |
| }, u, { | |
| tabIndex: "-1", | |
| type: "text", | |
| plain: !0, | |
| readOnly: !0 | |
| }) | |
| ); | |
| }); | |
| function sb() { | |
| return sb = Object.assign ? Object.assign.bind() : function(e) { | |
| for (var t = 1; t < arguments.length; t++) { | |
| var r = arguments[t]; | |
| for (var o in r) ({}).hasOwnProperty.call(r, o) && (e[o] = r[o]); | |
| } | |
| return e; | |
| }, sb.apply(null, arguments); | |
| } | |
| sb({}, wO, { | |
| children: he.func, | |
| disabled: he.oneOfType([he.bool, he.arrayOf(he.oneOfType([he.number, he.string, he.object]))]), | |
| disabledKey: he.oneOfType([he.string, he.func]), | |
| dropAlign: he.shape({ | |
| top: he.oneOf(["top", "bottom"]), | |
| bottom: he.oneOf(["top", "bottom"]), | |
| right: he.oneOf(["left", "right"]), | |
| left: he.oneOf(["left", "right"]) | |
| }), | |
| dropHeight: he.oneOfType([he.oneOf(["xsmall", "small", "medium", "large", "xlarge"]), he.string]), | |
| dropTarget: he.object, | |
| dropProps: he.object, | |
| emptySearchMessage: he.oneOfType([he.string, he.node]), | |
| focusIndicator: he.bool, | |
| icon: he.oneOfType([he.bool, he.func, he.node, he.elementType]), | |
| labelKey: he.oneOfType([he.string, he.func]), | |
| messages: he.shape({ | |
| multiple: he.string | |
| }), | |
| name: he.string, | |
| onChange: he.func, | |
| onClose: he.func, | |
| onOpen: he.func, | |
| onSearch: he.func, | |
| onMore: he.func, | |
| options: he.arrayOf(he.oneOfType([he.string, he.number, he.bool, he.element, he.object])).isRequired, | |
| open: he.bool, | |
| placeholder: he.oneOfType([he.string, he.element, he.node]), | |
| plain: he.bool, | |
| replace: he.bool, | |
| searchPlaceholder: he.oneOfType([he.string, he.element, he.node]), | |
| size: he.oneOfType([he.oneOf(["small", "medium", "large", "xlarge"]), he.string]), | |
| valueLabel: he.oneOfType([he.node, he.func]), | |
| valueKey: he.oneOfType([he.string, he.func, he.shape({ | |
| key: he.string, | |
| reduce: he.bool | |
| })]) | |
| }); | |
| var _A = {}, AA = _A, LA = ["a11yTitle", "aria-label", "aria-labelledby", "alignSelf", "children", "clear", "closeOnChange", "defaultValue", "disabled", "disabledKey", "dropAlign", "dropHeight", "dropProps", "dropTarget", "emptySearchMessage", "focusIndicator", "gridArea", "id", "icon", "labelKey", "margin", "messages", "multiple", "name", "onBlur", "onChange", "onClick", "onClose", "onFocus", "onKeyDown", "onMore", "onOpen", "onSearch", "open", "options", "placeholder", "plain", "replace", "searchPlaceholder", "selected", "size", "value", "valueKey", "valueLabel"]; | |
| function lb() { | |
| return lb = Object.assign ? Object.assign.bind() : function(e) { | |
| for (var t = 1; t < arguments.length; t++) { | |
| var r = arguments[t]; | |
| for (var o in r) ({}).hasOwnProperty.call(r, o) && (e[o] = r[o]); | |
| } | |
| return e; | |
| }, lb.apply(null, arguments); | |
| } | |
| function MA(e, t) { | |
| if (e == null) return {}; | |
| var r = {}; | |
| for (var o in e) if ({}.hasOwnProperty.call(e, o)) { | |
| if (t.indexOf(o) !== -1) continue; | |
| r[o] = e[o]; | |
| } | |
| return r; | |
| } | |
| var zA = { | |
| top: "bottom", | |
| left: "left" | |
| }, k1 = /* @__PURE__ */ V.forwardRef(function(e, t) { | |
| var r = e.a11yTitle, o = e["aria-label"], u = e["aria-labelledby"], h = e.alignSelf, c = e.children, p = e.clear, g = p === void 0 ? !1 : p, m = e.closeOnChange, E = m === void 0 ? !0 : m, S = e.defaultValue, I = e.disabled, w = e.disabledKey, b = e.dropAlign, T = b === void 0 ? zA : b, R = e.dropHeight, D = e.dropProps, $ = e.dropTarget, Y = e.emptySearchMessage, Z = e.focusIndicator, ne = e.gridArea, te = e.id, ie = e.icon, ye = e.labelKey, J = e.margin, de = e.messages, ke = e.multiple, se = e.name, Re = e.onBlur, Ne = e.onChange, Be = e.onClick, Ue = e.onClose, Xe = e.onFocus, G = e.onKeyDown, me = e.onMore, ve = e.onOpen, Q = e.onSearch, fe = e.open, Ge = e.options, st = e.placeholder, lt = e.plain, Ve = e.replace, ft = e.searchPlaceholder, Ce = e.selected, Me = e.size, Tt = e.value, B = e.valueKey, Vt = e.valueLabel, qt = MA(e, LA), br = On(), Ar = br.theme, Gt = V.useRef(), hr = V.useContext(Jc), gt = V.useContext(kf), Yt = gt.format, Pe = B || ye, At = ye || B, Et = hr == null ? void 0 : hr.useFormField({}), ot = d1(), Ae = hr.useFormInput({ | |
| name: se, | |
| value: Tt, | |
| initialValue: S || "" | |
| }), xe = Ae[0], ze = Ae[1], Ot = V.useMemo(function() { | |
| return vA(xe, Pe); | |
| }, [xe, Pe]), zt = V.useState(), Lt = zt[0], mr = zt[1], vr = V.useState(Ge), wr = vr[0], Or = vr[1]; | |
| V.useEffect(function() { | |
| Lt || Or(Ge); | |
| }, [Ge, Lt]); | |
| var kr = V.useMemo(function() { | |
| var Ir = []; | |
| if (Ce !== void 0) | |
| if (Array.isArray(Ce)) { | |
| var Sn = Ce.filter(function(gn) { | |
| return gn in wr; | |
| }); | |
| Ir.push.apply(Ir, Sn); | |
| } else Ce in wr && Ir.push(Ce); | |
| else if (Array.isArray(Ot)) | |
| Ot.forEach(function(gn) { | |
| var to = wr.map(function(In) { | |
| return ja(In, Pe); | |
| }).indexOf(gn); | |
| to !== -1 && Ir.push(to); | |
| }); | |
| else { | |
| var Pn = wr.map(function(gn) { | |
| return ja(gn, Pe); | |
| }).indexOf(Ot); | |
| Pn !== -1 && Ir.push(Pn); | |
| } | |
| return Ir; | |
| }, [wr, Ce, Pe, Ot]), Pr = V.useState(fe), Nt = Pr[0], Ct = Pr[1]; | |
| V.useEffect(function() { | |
| return Ct(fe); | |
| }, [fe]); | |
| var Rt = V.useCallback(function() { | |
| Nt || (Ct(!0), ve && ve()); | |
| }, [ve, Nt]), Xt = V.useCallback(function() { | |
| Ct(!1), Ue && Ue(), mr(); | |
| }, [Ue]), Lr = V.useCallback(function(Ir) { | |
| return yA(Gt, Ir); | |
| }, []), Vr = V.useCallback(function(Ir, Sn) { | |
| var Pn = Sn.option, gn = Sn.value, to = Sn.selected; | |
| if (E && Xt(), (typeof gn != "object" || ke) && gn !== Ir.target.value && Gt.current && Lr(gn), ze(gn), Ne) { | |
| Ir.persist(); | |
| var In; | |
| Ir instanceof Event ? (In = new Ir.constructor(Ir.type, Ir), Object.defineProperties(In, { | |
| target: { | |
| value: Gt.current | |
| }, | |
| value: { | |
| value: gn | |
| }, | |
| option: { | |
| value: Pn | |
| }, | |
| selected: { | |
| value: to | |
| } | |
| })) : (In = Ir, In.target = Gt.current, In.value = gn, In.option = Pn, In.selected = to), Ne(In); | |
| } | |
| }, [E, ke, Ne, Xt, ze, Lr]), Qt = bA(ie, Ar, Nt), Jr = V.useMemo(function() { | |
| if (Vt instanceof Function) { | |
| if (xe || xe === 0 || xe === !1) return Vt(xe); | |
| } else { | |
| if (Vt) return Vt; | |
| if (/* @__PURE__ */ le.isValidElement(xe)) return xe; | |
| } | |
| }, [xe, Vt]), hn = V.useMemo(function() { | |
| return xA(At, wr, kr, Jr); | |
| }, [At, wr, kr, Jr]), Ur = V.useMemo(function() { | |
| if (!Jr) | |
| return kr.length === 0 ? "" : kr.length === 1 ? ja(wr[kr[0]], At) : Yt({ | |
| id: "select.multiple", | |
| messages: de | |
| }); | |
| }, [At, de, Yt, kr, wr, Jr]), pn = wA(Ar), nn = V.useState(), cn = nn[0], zn = nn[1]; | |
| return V.useEffect(function() { | |
| if (Et != null && Et.inForm && te && !o && !st && typeof document < "u") { | |
| var Ir = document.getElementById("grommet-" + te + "__input__label"); | |
| Ir && zn("grommet-" + te + "__input__label " + te); | |
| } | |
| }, [Et == null ? void 0 : Et.inForm, te, o, st]), /* @__PURE__ */ le.createElement(Ql, { | |
| onDown: Rt, | |
| onUp: Rt | |
| }, /* @__PURE__ */ le.createElement(gA, { | |
| ref: t, | |
| a11yTitle: "" + (o || r || st || "Open Drop") + (xe ? Yt({ | |
| id: "select.selected", | |
| messages: de, | |
| values: { | |
| currentSelectedValue: PC(xe, At) | |
| } | |
| }) : ""), | |
| "aria-expanded": !!Nt, | |
| "aria-labelledby": u || cn, | |
| "aria-haspopup": "listbox", | |
| id: te, | |
| disabled: I === !0 || void 0, | |
| dropAlign: T, | |
| dropTarget: $, | |
| open: Nt, | |
| alignSelf: h, | |
| focusIndicator: lt ? Z : !0, | |
| onFocus: Xe, | |
| onBlur: Re, | |
| gridArea: ne, | |
| margin: J, | |
| onOpen: Rt, | |
| onClose: Xt, | |
| onClick: Be, | |
| dropContent: /* @__PURE__ */ le.createElement(PA, { | |
| clear: g, | |
| disabled: I, | |
| disabledKey: w, | |
| dropHeight: R, | |
| emptySearchMessage: Y, | |
| id: te, | |
| labelKey: At, | |
| multiple: ke, | |
| name: se, | |
| onChange: Vr, | |
| onKeyDown: G, | |
| onMore: me, | |
| onSearch: Q, | |
| options: Ge, | |
| allOptions: wr, | |
| optionIndexesInValue: kr, | |
| replace: Ve, | |
| searchPlaceholder: ft, | |
| search: Lt, | |
| setSearch: mr, | |
| selected: Ce, | |
| usingKeyboard: ot, | |
| value: xe, | |
| valueKey: Pe | |
| }, c), | |
| plainSelect: lt, | |
| plain: !0, | |
| dropProps: D, | |
| theme: Ar | |
| }, /* @__PURE__ */ le.createElement($t, { | |
| align: "center", | |
| direction: "row", | |
| justify: "between", | |
| background: Ar.select.background | |
| }, /* @__PURE__ */ le.createElement($t, { | |
| direction: "row", | |
| flex: !0, | |
| basis: "auto" | |
| }, Jr || hn ? /* @__PURE__ */ le.createElement(le.Fragment, null, Jr || hn, /* @__PURE__ */ le.createElement(fA, { | |
| type: "text", | |
| name: se, | |
| id: te ? SA(te) : void 0, | |
| inert: zw, | |
| value: Ur, | |
| ref: Gt, | |
| readOnly: !0 | |
| })) : /* @__PURE__ */ le.createElement(RA, lb({ | |
| a11yTitle: (o || r) && "" + (o || r) + (xe && typeof xe == "string" ? ", " + xe : ""), | |
| disabled: I, | |
| id: te, | |
| inert: zw, | |
| name: se, | |
| ref: Gt, | |
| placeholder: st, | |
| value: Ur, | |
| size: Me, | |
| theme: Ar | |
| }, qt))), Qt && /* @__PURE__ */ le.createElement($t, { | |
| margin: Ar.select.icons.margin, | |
| flex: !1, | |
| style: { | |
| minWidth: "auto" | |
| } | |
| }, /* @__PURE__ */ V.isValidElement(Qt) ? Qt : /* @__PURE__ */ le.createElement(Qt, { | |
| color: pn, | |
| size: Me | |
| }))))); | |
| }); | |
| k1.displayName = "Select"; | |
| k1.propTypes = AA; | |
| var FA = ["messages", "onChange", "options", "step"]; | |
| function Uv() { | |
| return Uv = Object.assign ? Object.assign.bind() : function(e) { | |
| for (var t = 1; t < arguments.length; t++) { | |
| var r = arguments[t]; | |
| for (var o in r) ({}).hasOwnProperty.call(r, o) && (e[o] = r[o]); | |
| } | |
| return e; | |
| }, Uv.apply(null, arguments); | |
| } | |
| function NA(e, t) { | |
| if (e == null) return {}; | |
| var r = {}; | |
| for (var o in e) if ({}.hasOwnProperty.call(e, o)) { | |
| if (t.indexOf(o) !== -1) continue; | |
| r[o] = e[o]; | |
| } | |
| return r; | |
| } | |
| var jA = function(t) { | |
| var r, o = t.messages, u = t.onChange, h = t.options, c = h === void 0 ? [10, 25, 50, 100] : h, p = t.step, g = NA(t, FA), m = V.useContext(kf), E = m.format, S = On(), I = S.theme; | |
| return /* @__PURE__ */ le.createElement($t, Uv({ | |
| direction: "row", | |
| align: "center", | |
| gap: (r = I.pagination) == null || (r = r.step) == null || (r = r.container) == null ? void 0 : r.gap | |
| }, g), /* @__PURE__ */ le.createElement(eo, null, E({ | |
| id: "pagination.stepLabel", | |
| messages: o | |
| })), /* @__PURE__ */ le.createElement(k1, { | |
| options: c, | |
| value: p, | |
| "aria-label": E({ | |
| id: "pagination.stepLabel", | |
| messages: o | |
| }), | |
| valueLabel: /* @__PURE__ */ le.createElement($t, Uv({}, I.global.input, { | |
| pad: I.global.input.padding | |
| }), /* @__PURE__ */ le.createElement(eo, I.global.input.font, p)), | |
| onChange: u | |
| })); | |
| }, DA = ["messages", "numberItems", "page", "step"]; | |
| function BA(e, t) { | |
| if (e == null) return {}; | |
| var r = {}; | |
| for (var o in e) if ({}.hasOwnProperty.call(e, o)) { | |
| if (t.indexOf(o) !== -1) continue; | |
| r[o] = e[o]; | |
| } | |
| return r; | |
| } | |
| var HA = function(t) { | |
| var r = t.messages, o = t.numberItems, u = t.page, h = t.step, c = BA(t, DA), p = V.useContext(kf), g = p.format; | |
| return /* @__PURE__ */ le.createElement($t, c, /* @__PURE__ */ le.createElement(eo, null, o > 0 ? g({ | |
| id: "pagination.summary", | |
| messages: r, | |
| values: { | |
| start: "" + ((u - 1) * h + 1), | |
| end: "" + Math.min(u * h, o), | |
| total: o | |
| } | |
| }) : g({ | |
| id: "pagination.summaryNoItems", | |
| messages: r | |
| }))); | |
| }, WA = {}, UA = WA, $A = ["a11yTitle", "aria-label", "numberItems", "numberEdgePages", "numberMiddlePages", "onChange", "messages", "page", "size", "step", "stepOptions", "summary"]; | |
| function $l() { | |
| return $l = Object.assign ? Object.assign.bind() : function(e) { | |
| for (var t = 1; t < arguments.length; t++) { | |
| var r = arguments[t]; | |
| for (var o in r) ({}).hasOwnProperty.call(r, o) && (e[o] = r[o]); | |
| } | |
| return e; | |
| }, $l.apply(null, arguments); | |
| } | |
| function VA(e, t) { | |
| if (e == null) return {}; | |
| var r = {}; | |
| for (var o in e) if ({}.hasOwnProperty.call(e, o)) { | |
| if (t.indexOf(o) !== -1) continue; | |
| r[o] = e[o]; | |
| } | |
| return r; | |
| } | |
| var Nw = xr($t).withConfig({ | |
| displayName: "Pagination__StyledPaginationContainer", | |
| componentId: "sc-rnlw6m-0" | |
| })(["", ""], function(e) { | |
| return e.theme.pagination.container && e.theme.pagination.container.extend; | |
| }), gy = function(t, r) { | |
| for (var o = [], u = t; u <= r; u += 1) | |
| o.push(u); | |
| return o; | |
| }, C1 = /* @__PURE__ */ V.forwardRef(function(e, t) { | |
| var r, o, u = e.a11yTitle, h = e["aria-label"], c = e.numberItems, p = e.numberEdgePages, g = p === void 0 ? 1 : p, m = e.numberMiddlePages, E = m === void 0 ? 3 : m, S = e.onChange, I = e.messages, w = e.page, b = e.size, T = e.step, R = e.stepOptions, D = e.summary, $ = VA(e, $A), Y = On(), Z = Y.theme, ne = Y.passThemeFlag, te = V.useContext(vC), ie = te.onView, ye = te.filteredTotal, J = te.view, de = V.useState(T || (J == null ? void 0 : J.step) || 10), ke = de[0], se = de[1], Re = (r = c ?? ye) != null ? r : 0, Ne = w || (J == null ? void 0 : J.page) || 1, Be = Math.ceil(Re / ke), Ue = V.useState(Math.min(Ne, Be) || 1), Xe = Ue[0], G = Ue[1]; | |
| V.useEffect(function() { | |
| T && se(T); | |
| }, [T]), V.useEffect(function() { | |
| G(Ne); | |
| var Gt = new Event("pagechange"); | |
| window.dispatchEvent(Gt); | |
| }, [Ne]), V.useEffect(function() { | |
| ie && ((J == null ? void 0 : J.step) !== ke || (J == null ? void 0 : J.page) !== Ne) && ie($l({}, J, { | |
| page: Ne, | |
| step: ke | |
| })); | |
| }, [ie, Ne, ke, J]); | |
| var me = gy(1, Math.min(g, Be)), ve = gy(Math.max(Be - g + 1, g + 1), Be), Q; | |
| E < 1 ? (Q = 1, console.warn( | |
| // eslint-disable-next-line max-len | |
| 'Property "numberMiddlePages" should not be < 1. One middle page button will be shown. Set "numberMiddlePages" >= 1 to remove this warning.' | |
| )) : Q = E; | |
| var fe; | |
| Q % 2 ? fe = Math.min(Xe - Math.floor(Q / 2), Be - g - Q) : fe = Math.min(Xe - Math.floor(Q / 2) + 1, Be - g - Q); | |
| var Ge = Math.max(fe, g + 2), st = Math.min(Math.max(Xe + Math.floor(Q / 2), g + Q + 1), ve.length > 0 ? ve[0] - 2 : Be - 1), lt = gy(Ge, st), Ve = []; | |
| Ge > g + 2 ? Ve = ["more-prev"] : g + 1 < Be - g && (Ve = [g + 1]); | |
| var ft = []; | |
| st < Be - g - 1 ? ft = ["more-next"] : Be - g > g && (ft = [Be - g]); | |
| var Ce = function(hr) { | |
| var gt = ke * (hr - 1), Yt = gt + ke; | |
| return { | |
| startIndex: gt, | |
| endIndex: Yt | |
| }; | |
| }, Me = function(hr, gt) { | |
| if (G(gt), ie && ie($l({}, J, { | |
| page: gt | |
| })), S) { | |
| hr.persist(); | |
| var Yt = hr; | |
| Yt.page = gt; | |
| var Pe = Ce(gt), At = Pe.startIndex, Et = Pe.endIndex; | |
| Yt.startIndex = At, Yt.endIndex = Et, S(Yt); | |
| } | |
| }, Tt = Z.pagination.icons.next, B = Z.pagination.icons.previous, Vt = Z.pagination.icons.color, qt = { | |
| next: { | |
| // https://a11y-style-guide.com/style-guide/section-navigation.html#kssref-navigation-pagination | |
| "aria-disabled": Xe === Be ? "true" : void 0, | |
| disabled: Xe === Be || !Re, | |
| icon: /* @__PURE__ */ le.createElement(Tt, { | |
| color: Vt | |
| }), | |
| onClick: function(hr) { | |
| var gt = Xe + 1; | |
| Me(hr, gt); | |
| }, | |
| label: void 0 | |
| }, | |
| previous: { | |
| "aria-disabled": Xe === 1 ? "true" : void 0, | |
| disabled: Xe === 1 || !Re, | |
| icon: /* @__PURE__ */ le.createElement(B, { | |
| color: Vt | |
| }), | |
| onClick: function(hr) { | |
| var gt = Xe - 1; | |
| Me(hr, gt); | |
| }, | |
| label: void 0 | |
| } | |
| }, br = ["previous"].concat(me, Ve, lt, ft, ve, ["next"]); | |
| br = br.map(function(Gt) { | |
| return $l({ | |
| active: Gt === Xe, | |
| a11yTitle: typeof Gt == "number" ? "Go to page " + Gt : "Go to " + Gt + " page", | |
| // https://a11y-style-guide.com/style-guide/section-navigation.html#kssref-navigation-pagination | |
| // https://www.w3.org/TR/wai-aria-1.1/#aria-current | |
| "aria-current": Gt === Xe ? "page" : void 0, | |
| control: Gt, | |
| onClick: function(gt) { | |
| Me(gt, Gt); | |
| }, | |
| separator: Gt === "more-prev" || Gt === "more-next" | |
| }, qt[Gt]); | |
| }); | |
| var Ar = /* @__PURE__ */ le.createElement(EC, { | |
| a11yTitle: h || u || "Pagination Navigation", | |
| ref: t | |
| }, /* @__PURE__ */ le.createElement($t, $l({ | |
| as: "ul" | |
| }, Z.pagination.controls, { | |
| cssGap: !0 | |
| }), br.map(function(Gt, hr) { | |
| return ( | |
| /* Using index as key (as opposed to a unique id) seems to | |
| * help React prioritize rendering the updated controls as | |
| * desired. Whereas, using a unique id resulted in rendering | |
| * the active control with an undesired lag. */ | |
| // eslint-disable-next-line react/no-array-index-key | |
| /* @__PURE__ */ le.createElement(B_, $l({ | |
| key: hr, | |
| size: b | |
| }, Gt)) | |
| ); | |
| }))); | |
| return !D && !R ? /* @__PURE__ */ le.createElement(Nw, $l({ | |
| flex: !1 | |
| }, $l({}, Z.pagination.container, { | |
| gap: void 0 | |
| }), ne, $), Ar) : /* @__PURE__ */ le.createElement(Nw, $l({ | |
| direction: "row", | |
| align: "center", | |
| wrap: !0, | |
| flex: !1 | |
| }, Z.pagination.container, ne, $), /* @__PURE__ */ le.createElement($t, { | |
| flex: "grow" | |
| }, D && /* @__PURE__ */ le.createElement(HA, { | |
| messages: I, | |
| page: Xe, | |
| step: ke, | |
| numberItems: Re | |
| })), /* @__PURE__ */ le.createElement($t, { | |
| align: "center", | |
| direction: "row", | |
| gap: (o = Z.pagination.container) == null ? void 0 : o.gap, | |
| wrap: !0 | |
| }, R && /* @__PURE__ */ le.createElement(jA, { | |
| messages: I, | |
| options: Array.isArray(R) ? R : void 0, | |
| step: ke, | |
| onChange: function(hr) { | |
| var gt = hr.value; | |
| return se(gt); | |
| } | |
| }), Ar)); | |
| }); | |
| C1.displayName = "Pagination"; | |
| C1.propTypes = UA; | |
| var qA = {}, GA = qA, YA = function() { | |
| return ` | |
| width: auto; | |
| height: 100%; | |
| max-width: none; | |
| flex: 1 0 auto; | |
| justify-content: space-between; | |
| `; | |
| }, KA = ` | |
| opacity: 0.5; | |
| cursor: default; | |
| `, XA = yt(["&:hover input:not([disabled]) + div,&:hover input:not([disabled]) + span{border-color:", ";", "}&:hover{background-color:", ";}"], function(e) { | |
| var t; | |
| return jr((t = e.theme.checkBox.hover) == null || (t = t.border) == null ? void 0 : t.color, e.theme); | |
| }, function(e) { | |
| var t; | |
| return (t = e.theme.checkBox.hover) == null ? void 0 : t.extend; | |
| }, function(e) { | |
| var t; | |
| return jr(!e.disabled && ((t = e.theme.checkBox.hover) == null || (t = t.background) == null ? void 0 : t.color), e.theme); | |
| }), fv = xr.svg.withConfig(Mn).withConfig({ | |
| displayName: "StyledCheckBox__StyledCheckBoxIcon", | |
| componentId: "sc-1dbk5ju-0" | |
| })(["box-sizing:border-box;stroke-width:", ";stroke:", ";width:", ";height:", ";", ";"], function(e) { | |
| return e.theme.checkBox.check.thickness; | |
| }, function(e) { | |
| return jr(e.theme.checkBox.color || "control", e.theme); | |
| }, function(e) { | |
| return e.theme.checkBox.icon.size || e.theme.checkBox.size; | |
| }, function(e) { | |
| return e.theme.checkBox.icon.size || e.theme.checkBox.size; | |
| }, function(e) { | |
| return e.theme.checkBox.icon.extend; | |
| }), QA = xr.label.withConfig(Mn).withConfig({ | |
| displayName: "StyledCheckBox__StyledCheckBoxContainer", | |
| componentId: "sc-1dbk5ju-1" | |
| })(["display:flex;flex-direction:row;align-items:", ";user-select:none;-webkit-user-select:none;", " ", " ", " ", " ", " ", " ", ""], function(e) { | |
| return typeof e.labelProp == "string" ? e.theme.checkBox.label.align : void 0; | |
| }, function(e) { | |
| return e.fillProp ? YA() : "width: fit-content;"; | |
| }, function(e) { | |
| return (e.pad || e.theme.checkBox.pad) && Ts("padding", e.pad || e.theme.checkBox.pad, e.responsive, e.theme.box.responsiveBreakpoint, e.theme); | |
| }, function(e) { | |
| return e.disabled && KA; | |
| }, function(e) { | |
| return !e.disabled && "cursor: pointer;"; | |
| }, XA, function(e) { | |
| var t, r; | |
| return e.focus && !e.focusIndicator && ` | |
| input:not([disabled]) + div, | |
| input:not([disabled]) + span { | |
| border-color: ` + jr((t = e.theme.checkBox.hover) == null || (t = t.border) == null ? void 0 : t.color, e.theme) + `; | |
| } | |
| background-color: ` + jr(!e.disabled && ((r = e.theme.checkBox.hover) == null || (r = r.background) == null ? void 0 : r.color), e.theme) + ";"; | |
| }, function(e) { | |
| return e.theme.checkBox.extend; | |
| }), JA = xr.input.withConfig(Mn).withConfig({ | |
| displayName: "StyledCheckBox__StyledCheckBoxInput", | |
| componentId: "sc-1dbk5ju-2" | |
| })(["opacity:0;-moz-appearance:none;width:0;height:0;margin:0;", " &:checked + span > span{", ":calc( ", " - ", " );background:", ";}"], function(e) { | |
| return !e.disabled && "cursor: pointer;"; | |
| }, function(e) { | |
| return e.theme.dir ? "right" : "left"; | |
| }, function(e) { | |
| return e.theme.checkBox.toggle.size; | |
| }, function(e) { | |
| return e.theme.checkBox.size; | |
| }, function(e) { | |
| return jr(e.theme.checkBox.color || "control", e.theme); | |
| }), ZA = xr($t).withConfig({ | |
| displayName: "StyledCheckBox__StyledCheckBoxBox", | |
| componentId: "sc-1dbk5ju-3" | |
| })(["", ";", ";"], function(e) { | |
| return e.focus && e.focusIndicator && Nu(); | |
| }, function(e) { | |
| return e.theme.checkBox.check.extend; | |
| }), e4 = xr.span.withConfig(Mn).withConfig({ | |
| displayName: "StyledCheckBox__StyledCheckBoxToggle", | |
| componentId: "sc-1dbk5ju-4" | |
| })(["box-sizing:border-box;vertical-align:middle;display:inline-block;width:", ";height:", ";border:", " solid;border-color:", ";border-radius:", ";background-color:", ";", ";", ";"], function(e) { | |
| return e.theme.checkBox.toggle.size; | |
| }, function(e) { | |
| return e.theme.checkBox.size; | |
| }, function(e) { | |
| return e.theme.checkBox.border.width; | |
| }, function(e) { | |
| return jr(e.theme.checkBox.border.color, e.theme); | |
| }, function(e) { | |
| return e.theme.checkBox.toggle.radius; | |
| }, function(e) { | |
| return e.theme.checkBox.toggle.background ? jr(e.theme.checkBox.toggle.background, e.theme) : "transparent"; | |
| }, function(e) { | |
| return e.focus && e.focusIndicator && Nu(); | |
| }, function(e) { | |
| return e.theme.checkBox.toggle.extend; | |
| }), t4 = xr.span.withConfig(Mn).withConfig({ | |
| displayName: "StyledCheckBox__StyledCheckBoxKnob", | |
| componentId: "sc-1dbk5ju-5" | |
| })(["box-sizing:border-box;position:relative;display:inherit;top:-", ";", ":-", ";transition:all 0.3s;width:", ";height:", ";background:", ";border-radius:", ";", ";"], function(e) { | |
| return e.theme.checkBox.border.width; | |
| }, function(e) { | |
| return e.theme.dir ? "right" : "left"; | |
| }, function(e) { | |
| return e.theme.checkBox.border.width; | |
| }, function(e) { | |
| return e.theme.checkBox.size; | |
| }, function(e) { | |
| return e.theme.checkBox.size; | |
| }, function(e) { | |
| return jr(e.theme.checkBox.toggle.color, e.theme); | |
| }, function(e) { | |
| return e.theme.checkBox.toggle.radius; | |
| }, function(e) { | |
| return e.theme.checkBox.toggle.knob.extend; | |
| }), r4 = xr($t).withConfig({ | |
| displayName: "StyledCheckBox", | |
| componentId: "sc-1dbk5ju-6" | |
| })(["flex-shrink:0;"]), n4 = ["a11yTitle", "aria-label", "checked", "children", "containerProps", "defaultChecked", "disabled", "fill", "focus", "focusIndicator", "id", "label", "name", "onBlur", "onChange", "onFocus", "onMouseEnter", "onMouseLeave", "onMouseOut", "onMouseOver", "pad", "reverse", "toggle", "indeterminate"]; | |
| function Vl() { | |
| return Vl = Object.assign ? Object.assign.bind() : function(e) { | |
| for (var t = 1; t < arguments.length; t++) { | |
| var r = arguments[t]; | |
| for (var o in r) ({}).hasOwnProperty.call(r, o) && (e[o] = r[o]); | |
| } | |
| return e; | |
| }, Vl.apply(null, arguments); | |
| } | |
| function o4(e, t) { | |
| if (e == null) return {}; | |
| var r = {}; | |
| for (var o in e) if ({}.hasOwnProperty.call(e, o)) { | |
| if (t.indexOf(o) !== -1) continue; | |
| r[o] = e[o]; | |
| } | |
| return r; | |
| } | |
| var i4 = function(t) { | |
| t.target.type !== "checkbox" && t.stopPropagation(); | |
| }, tf = /* @__PURE__ */ V.forwardRef(function(e, t) { | |
| var r, o = e.a11yTitle, u = e["aria-label"], h = e.checked, c = e.children, p = e.containerProps, g = e.defaultChecked, m = g === void 0 ? !1 : g, E = e.disabled, S = e.fill, I = e.focus, w = e.focusIndicator, b = w === void 0 ? !0 : w, T = e.id, R = e.label, D = e.name, $ = e.onBlur, Y = e.onChange, Z = e.onFocus, ne = e.onMouseEnter, te = e.onMouseLeave, ie = e.onMouseOut, ye = e.onMouseOver, J = e.pad, de = e.reverse, ke = e.toggle, se = e.indeterminate, Re = o4(e, n4), Ne = On(), Be = Ne.theme, Ue = Ne.passThemeFlag, Xe = V.useContext(Jc), G = Xe.useFormInput({ | |
| name: D, | |
| value: h, | |
| initialValue: m | |
| }), me = G[0], ve = G[1], Q = V.useState(I), fe = Q[0], Ge = Q[1]; | |
| V.useEffect(function() { | |
| Ge(E && I ? !1 : I); | |
| }, [E, I]), V.useEffect(function() { | |
| h && se && console.warn('Checkbox cannot be "checked" and "indeterminate" at the same time.'), ke && se && console.warn('Checkbox of type toggle does not have "indeterminate" state.'); | |
| }, [h, ke, se]); | |
| var st = { | |
| checked: me, | |
| disabled: E, | |
| focus: fe, | |
| // when contained in a FormField, focusIndicator = false, | |
| // so that the FormField has focus style. However, we still | |
| // need to visually indicate when a CheckBox is active. | |
| // If focus = true but focusIndicator = false, | |
| // we will apply the hover treament. | |
| focusIndicator: b, | |
| reverse: de, | |
| toggle: ke, | |
| indeterminate: se | |
| }, lt; | |
| E && me && (lt = /* @__PURE__ */ le.createElement("input", { | |
| name: D, | |
| type: "hidden", | |
| value: "true" | |
| })); | |
| var Ve = Be.checkBox.icons, ft = Ve.checked, Ce = Ve.indeterminate, Me = jr(Be.checkBox.border.color, Be); | |
| me && (Me = jr(Be.checkBox.color || "control", Be)); | |
| var Tt = ke ? /* @__PURE__ */ le.createElement(e4, Vl({}, Ue, st), /* @__PURE__ */ le.createElement(t4, Vl({}, Ue, st))) : /* @__PURE__ */ le.createElement(ZA, Vl({ | |
| align: "center", | |
| justify: "center", | |
| width: Be.checkBox.size, | |
| height: Be.checkBox.size, | |
| border: { | |
| size: Be.checkBox.border.width, | |
| color: Me | |
| }, | |
| round: Be.checkBox.check.radius | |
| }, Ue, st), !se && me && (ft ? /* @__PURE__ */ le.createElement(ft, { | |
| theme: Be, | |
| as: fv | |
| }) : /* @__PURE__ */ le.createElement(fv, Vl({ | |
| theme: Be, | |
| viewBox: "0 0 24 24", | |
| preserveAspectRatio: "xMidYMid meet" | |
| }, st), /* @__PURE__ */ le.createElement("path", { | |
| fill: "none", | |
| d: "M6,11.3 L10.3,16 L18,6.2" | |
| }))), !me && se && (Ce ? /* @__PURE__ */ le.createElement(Ce, { | |
| theme: Be, | |
| as: fv | |
| }) : /* @__PURE__ */ le.createElement(fv, Vl({ | |
| theme: Be, | |
| viewBox: "0 0 24 24", | |
| preserveAspectRatio: "xMidYMid meet" | |
| }, st), /* @__PURE__ */ le.createElement("path", { | |
| fill: "none", | |
| d: "M6,12 L18,12" | |
| })))), B = !de != !Be.dir ? "left" : "right", Vt = /* @__PURE__ */ le.createElement(r4, Vl({ | |
| align: "center", | |
| justify: "center", | |
| margin: R && (r = {}, r[B] = Be.checkBox.gap, r) | |
| }, st), /* @__PURE__ */ le.createElement(JA, Vl({ | |
| "aria-label": u || o | |
| }, Ue, Re, { | |
| ref: t, | |
| type: "checkbox" | |
| }, Nv({ | |
| id: T, | |
| name: D, | |
| checked: me, | |
| disabled: E | |
| }), st, { | |
| onFocus: function(hr) { | |
| Ge(!0), Z && Z(hr); | |
| }, | |
| onBlur: function(hr) { | |
| Ge(!1), $ && $(hr); | |
| }, | |
| onChange: function(hr) { | |
| ve(hr.target.checked), Y && Y(hr); | |
| } | |
| })), c ? c({ | |
| checked: me, | |
| indeterminate: se | |
| }) : Tt, lt), qt = typeof R == "string" ? /* @__PURE__ */ le.createElement("span", null, R) : R, br = de ? qt : Vt, Ar = de ? Vt : qt; | |
| return /* @__PURE__ */ le.createElement(QA, Vl({ | |
| fillProp: S, | |
| reverse: de | |
| }, Nv({ | |
| htmlFor: T, | |
| disabled: E | |
| }), { | |
| checked: me, | |
| labelProp: R, | |
| onClick: i4, | |
| pad: J, | |
| onMouseEnter: function(hr) { | |
| return ne == null ? void 0 : ne(hr); | |
| }, | |
| onMouseOver: function(hr) { | |
| return ye == null ? void 0 : ye(hr); | |
| }, | |
| onMouseLeave: function(hr) { | |
| return te == null ? void 0 : te(hr); | |
| }, | |
| onMouseOut: function(hr) { | |
| return ie == null ? void 0 : ie(hr); | |
| } | |
| }, Ue, st, p), br, Ar); | |
| }); | |
| tf.displayName = "CheckBox"; | |
| tf.propTypes = GA; | |
| var a4 = xr($t).withConfig({ | |
| displayName: "StyledCheckBoxGroup", | |
| componentId: "sc-2nhc5d-0" | |
| })(["", ""], function(e) { | |
| return e.theme.checkBoxGroup && e.theme.checkBoxGroup.container && e.theme.checkBoxGroup.container.extend; | |
| }), s4 = {}, l4 = s4, u4 = ["aria-label", "aria-labelledby", "children", "defaultValue", "value", "disabled", "focusIndicator", "gap", "id", "labelKey", "valueKey", "onChange", "options", "name"], c4 = ["value"]; | |
| function Xg() { | |
| return Xg = Object.assign ? Object.assign.bind() : function(e) { | |
| for (var t = 1; t < arguments.length; t++) { | |
| var r = arguments[t]; | |
| for (var o in r) ({}).hasOwnProperty.call(r, o) && (e[o] = r[o]); | |
| } | |
| return e; | |
| }, Xg.apply(null, arguments); | |
| } | |
| function jw(e, t) { | |
| if (e == null) return {}; | |
| var r = {}; | |
| for (var o in e) if ({}.hasOwnProperty.call(e, o)) { | |
| if (t.indexOf(o) !== -1) continue; | |
| r[o] = e[o]; | |
| } | |
| return r; | |
| } | |
| var E1 = /* @__PURE__ */ V.forwardRef(function(e, t) { | |
| var r, o, u = e["aria-label"], h = e["aria-labelledby"], c = e.children, p = e.defaultValue, g = e.value, m = e.disabled, E = e.focusIndicator, S = E === void 0 ? !0 : E, I = e.gap, w = e.id, b = e.labelKey, T = e.valueKey, R = e.onChange, D = e.options, $ = e.name, Y = jw(e, u4), Z = V.useContext(Jc), ne = On(), te = ne.theme, ie = ne.passThemeFlag, ye = D.map(function(Ne) { | |
| return typeof Ne == "string" ? { | |
| disabled: m, | |
| value: Ne, | |
| label: Ne | |
| } : Ne; | |
| }), J = Z.useFormInput({ | |
| name: $, | |
| value: g, | |
| initialValue: p || [] | |
| }), de = J[0], ke = J[1], se = function(Be, Ue, Xe) { | |
| var G = JSON.parse(JSON.stringify(de)) || [], me = G.indexOf(Ue); | |
| if (me < 0 ? G.push(Ue) : G.splice(me, 1), ke(G), R) { | |
| Be.persist(); | |
| var ve = Be; | |
| ve.value = G, ve.option = Xe, R(ve); | |
| } | |
| }, Re; | |
| return Z != null && (r = Z.useFormField({})) != null && r.inForm && w && !u && (Re = "grommet-" + w + "__label"), /* @__PURE__ */ le.createElement(a4, Xg({ | |
| ref: t, | |
| "aria-label": u, | |
| "aria-labelledby": h || Re, | |
| role: "group" | |
| }, te.checkBoxGroup.container, { | |
| gap: I || ((o = te.checkBoxGroup) == null || (o = o.container) == null ? void 0 : o.gap), | |
| id: w | |
| }, ie, Y), ye.map(function(Ne, Be) { | |
| var Ue = Ne.value, Xe = b ? Ne[b] : Ne.label, G = T ? Ne[T] : Ue, me = de.indexOf(G) >= 0, ve = m || Ne.disabled, Q = Xe + "-" + G; | |
| Ne.checked && console.warn( | |
| // eslint-disable-next-line max-len | |
| "'checked' prop of an individual CheckBox shouldn't be used in a CheckBoxGroup component. Use the CheckBoxGroup 'value' prop instead." | |
| ), Ne.value; | |
| var fe = jw(Ne, c4), Ge = Xg({}, fe, { | |
| label: Xe, | |
| disabled: ve | |
| }); | |
| return /* @__PURE__ */ le.createElement(tf, Xg({ | |
| key: Q | |
| }, Ge, { | |
| disabled: ve, | |
| checked: me, | |
| focusIndicator: S, | |
| label: Xe, | |
| onChange: function(lt) { | |
| return se(lt, G, Ge); | |
| } | |
| }), c ? function(st) { | |
| return c(ye[Be], st); | |
| } : null); | |
| })); | |
| }); | |
| E1.displayName = "CheckBoxGroup"; | |
| E1.propTypes = l4; | |
| var d4 = function(t) { | |
| var r = V.useState(), o = r[0], u = r[1], h = On(), c = h.theme, p = c.global.debounceDelay; | |
| return V.useEffect(function() { | |
| var g; | |
| return o && (g = setTimeout(function() { | |
| return o(); | |
| }, p)), function() { | |
| return clearTimeout(g); | |
| }; | |
| }, [o, p]), u; | |
| }, f4 = ` | |
| opacity: 0.5; | |
| cursor: default; | |
| `, h4 = xr.label.withConfig(Mn).withConfig({ | |
| displayName: "StyledRadioButton__StyledRadioButtonContainer", | |
| componentId: "sc-g1f6ld-0" | |
| })(["display:flex;flex-direction:row;align-items:center;user-select:none;width:fit-content;", " ", " &:hover input:not([disabled]) + div,&:hover input:not([disabled]) + span{border-color:", ";}&:hover{background-color:", ";}", " ", ";"], function(e) { | |
| return e.disabled && f4; | |
| }, function(e) { | |
| return !e.disabled && "cursor: pointer;"; | |
| }, function(e) { | |
| return jr(e.theme.radioButton.hover.border.color, e.theme); | |
| }, function(e) { | |
| return jr(!e.disabled && e.theme.radioButton.hover && e.theme.radioButton.hover.background && e.theme.radioButton.hover.background.color, e.theme); | |
| }, function(e) { | |
| return e.focus && !e.focusIndicator && ` | |
| input:not([disabled]) + div, | |
| input:not([disabled]) + span { | |
| border-color: ` + jr(e.theme.radioButton.hover.border.color, e.theme) + `; | |
| } | |
| background-color: ` + jr(!e.disabled && e.theme.radioButton.hover && e.theme.radioButton.hover.background && e.theme.radioButton.hover.background.color, e.theme) + `; | |
| `; | |
| }, function(e) { | |
| return e.theme.radioButton.container.extend; | |
| }), p4 = xr.input.withConfig(Mn).withConfig({ | |
| displayName: "StyledRadioButton__StyledRadioButtonInput", | |
| componentId: "sc-g1f6ld-1" | |
| })(["opacity:0;-moz-appearance:none;width:0;height:0;margin:0;", ";"], function(e) { | |
| return !e.disabled && "cursor: pointer;"; | |
| }), g4 = xr.span.withConfig(Mn).withConfig({ | |
| displayName: "StyledRadioButton__StyledRadioButtonLabel", | |
| componentId: "sc-g1f6ld-2" | |
| })(["", ""], function(e) { | |
| return e.theme.radioButton.font.weight && yt(["font-weight:", ";"], e.theme.radioButton.font.weight); | |
| }), Dw = xr.svg.withConfig(Mn).withConfig({ | |
| displayName: "StyledRadioButton__StyledRadioButtonIcon", | |
| componentId: "sc-g1f6ld-3" | |
| })(["box-sizing:border-box;width:", ";height:", ";fill:", ";transform:scale(1);", ";"], function(e) { | |
| return e.theme.radioButton.icon.size || e.theme.radioButton.size; | |
| }, function(e) { | |
| return e.theme.radioButton.icon.size || e.theme.radioButton.size; | |
| }, function(e) { | |
| return jr(e.theme.radioButton.check.color || "control", e.theme); | |
| }, function(e) { | |
| return e.theme.radioButton.icon.extend; | |
| }), m4 = xr($t).withConfig({ | |
| displayName: "StyledRadioButton__StyledRadioButtonBox", | |
| componentId: "sc-g1f6ld-4" | |
| })(["background-color:", ";transform:scale(1);", ";", ";"], function(e) { | |
| return e.backgroundColor; | |
| }, function(e) { | |
| return e.focus && Nu(); | |
| }, function(e) { | |
| return e.theme.radioButton.check.extend; | |
| }), v4 = xr($t).withConfig({ | |
| displayName: "StyledRadioButton", | |
| componentId: "sc-g1f6ld-5" | |
| })(["", ";"], function(e) { | |
| return e.theme.radioButton && e.theme.radioButton.extend; | |
| }), y4 = {}, b4 = y4, x4 = ["a11yTitle", "checked", "children", "disabled", "focus", "focusIndicator", "id", "label", "name", "onChange"]; | |
| function Qd() { | |
| return Qd = Object.assign ? Object.assign.bind() : function(e) { | |
| for (var t = 1; t < arguments.length; t++) { | |
| var r = arguments[t]; | |
| for (var o in r) ({}).hasOwnProperty.call(r, o) && (e[o] = r[o]); | |
| } | |
| return e; | |
| }, Qd.apply(null, arguments); | |
| } | |
| function w4(e, t) { | |
| if (e == null) return {}; | |
| var r = {}; | |
| for (var o in e) if ({}.hasOwnProperty.call(e, o)) { | |
| if (t.indexOf(o) !== -1) continue; | |
| r[o] = e[o]; | |
| } | |
| return r; | |
| } | |
| var O1 = /* @__PURE__ */ V.forwardRef(function(e, t) { | |
| var r, o = e.a11yTitle, u = e.checked, h = e.children, c = e.disabled, p = e.focus, g = e.focusIndicator, m = g === void 0 ? !0 : g, E = e.id, S = e.label, I = e.name, w = e.onChange, b = w4(e, x4), T = On(), R = T.theme, D = T.passThemeFlag, $ = V.useState(), Y = $[0], Z = $[1], ne = V.useState(p), te = ne[0], ie = ne[1], ye = d1(), J = typeof S == "string" ? /* @__PURE__ */ le.createElement(g4, D, S) : S, de = R.radioButton.icons.circle, ke = jr(R.radioButton.border.color, R), se = jr((r = R.radioButton.background) == null ? void 0 : r.color, R); | |
| if (u) { | |
| var Re; | |
| ke = jr(R.radioButton.color || "control", R), (Re = R.radioButton.check) != null && (Re = Re.background) != null && Re.color && (se = jr(R.radioButton.check.background.color, R)); | |
| } | |
| return /* @__PURE__ */ le.createElement(h4, Qd({}, Nv({ | |
| htmlFor: E, | |
| disabled: c | |
| }), { | |
| onClick: function(Be) { | |
| Be.target.type !== "radio" && Be.stopPropagation(); | |
| }, | |
| focus: te, | |
| focusIndicator: m, | |
| onFocus: function() { | |
| return ie(!0); | |
| }, | |
| onBlur: function() { | |
| return ie(!1); | |
| }, | |
| onMouseEnter: function() { | |
| return Z(!0); | |
| }, | |
| onMouseLeave: function() { | |
| return Z(!1); | |
| } | |
| }, D), /* @__PURE__ */ le.createElement(v4, Qd({ | |
| flex: !1, | |
| margin: S ? { | |
| right: R.radioButton.gap | |
| } : void 0 | |
| }, D), /* @__PURE__ */ le.createElement(p4, Qd({ | |
| "aria-label": o | |
| }, b, { | |
| ref: t, | |
| type: "radio" | |
| }, Nv({ | |
| id: E, | |
| name: I, | |
| checked: u, | |
| disabled: c, | |
| onChange: w | |
| }))), h ? h({ | |
| checked: u, | |
| focus: te && m, | |
| hover: Y | |
| }) : /* @__PURE__ */ le.createElement(m4, Qd({ | |
| focus: te && m && ye, | |
| align: "center", | |
| justify: "center", | |
| width: R.radioButton.size, | |
| height: R.radioButton.size, | |
| border: { | |
| size: R.radioButton.border.width, | |
| color: ke | |
| }, | |
| backgroundColor: se, | |
| round: R.radioButton.check.radius | |
| }, D), u && (de ? /* @__PURE__ */ le.createElement(de, { | |
| theme: R, | |
| as: Dw | |
| }) : /* @__PURE__ */ le.createElement(Dw, Qd({ | |
| viewBox: "0 0 24 24", | |
| preserveAspectRatio: "xMidYMid meet" | |
| }, D), /* @__PURE__ */ le.createElement("circle", { | |
| cx: 12, | |
| cy: 12, | |
| r: 6 | |
| }))))), J); | |
| }); | |
| O1.displayName = "RadioButton"; | |
| O1.propTypes = b4; | |
| var S4 = {}, k4 = S4, C4 = ["aria-label", "aria-labelledby", "children", "defaultValue", "disabled", "focusIndicator", "id", "name", "onChange", "options", "value", "gap"], E4 = ["disabled", "id", "label", "value"]; | |
| function Qg() { | |
| return Qg = Object.assign ? Object.assign.bind() : function(e) { | |
| for (var t = 1; t < arguments.length; t++) { | |
| var r = arguments[t]; | |
| for (var o in r) ({}).hasOwnProperty.call(r, o) && (e[o] = r[o]); | |
| } | |
| return e; | |
| }, Qg.apply(null, arguments); | |
| } | |
| function Bw(e, t) { | |
| if (e == null) return {}; | |
| var r = {}; | |
| for (var o in e) if ({}.hasOwnProperty.call(e, o)) { | |
| if (t.indexOf(o) !== -1) continue; | |
| r[o] = e[o]; | |
| } | |
| return r; | |
| } | |
| var d0 = /* @__PURE__ */ V.forwardRef(function(e, t) { | |
| var r, o, u = e["aria-label"], h = e["aria-labelledby"], c = e.children, p = e.defaultValue, g = e.disabled, m = e.focusIndicator, E = m === void 0 ? !0 : m, S = e.id, I = e.name, w = e.onChange, b = e.options, T = e.value, R = e.gap, D = Bw(e, C4), $ = V.useContext(Jc), Y = On(), Z = Y.theme, ne = b.map(function(ve) { | |
| return typeof ve != "object" ? { | |
| disabled: g, | |
| id: S ? S + "-" + ve : "" + ve, | |
| // force string | |
| label: typeof ve != "string" ? JSON.stringify(ve) : ve, | |
| value: ve | |
| } : Qg({ | |
| disabled: g | |
| }, ve); | |
| }), te = $.useFormInput({ | |
| name: I, | |
| value: T, | |
| initialValue: p ?? "" | |
| }), ie = te[0], ye = te[1], J = V.useState(), de = J[0], ke = J[1], se = V.useRef([]), Re = le.useMemo(function() { | |
| var ve; | |
| return ne.some(function(Q, fe) { | |
| return Q.value === ie ? (ve = fe, !0) : !1; | |
| }), ve; | |
| }, [ne, ie]), Ne = function() { | |
| if (Re !== void 0 && Re < ne.length - 1) { | |
| var Q = Re + 1; | |
| se.current[Q].click(); | |
| } | |
| }, Be = function() { | |
| if (Re > 0) { | |
| var Q = Re - 1; | |
| se.current[Q].click(); | |
| } | |
| }, Ue = function() { | |
| setTimeout(function() { | |
| ke(!0); | |
| }, 1); | |
| }, Xe = function(Q, fe) { | |
| if (ye(fe), w) { | |
| Q.persist(); | |
| var Ge = Q; | |
| Ge.value = fe, w(Ge); | |
| } | |
| }, G = function() { | |
| return ke(!1); | |
| }, me; | |
| return $ != null && (r = $.useFormField({})) != null && r.inForm && S && !u && (me = "grommet-" + S + "__label"), /* @__PURE__ */ le.createElement(Ql, { | |
| target: "document", | |
| onUp: de ? Be : void 0, | |
| onDown: de ? Ne : void 0, | |
| onLeft: de ? Be : void 0, | |
| onRight: de ? Ne : void 0 | |
| }, /* @__PURE__ */ le.createElement($t, Qg({ | |
| "aria-label": u, | |
| "aria-labelledby": h || me, | |
| id: S, | |
| ref: t, | |
| role: "radiogroup" | |
| }, Z.radioButtonGroup.container, { | |
| gap: R || ((o = Z.radioButtonGroup.container) == null ? void 0 : o.gap) | |
| }, D), ne.map(function(ve, Q) { | |
| var fe = ve.disabled, Ge = ve.id, st = ve.label, lt = ve.value, Ve = Bw(ve, E4), ft = lt === ie || ie === void 0 && !Q || // when nothing has been selected, show focus | |
| // on the first radiobutton | |
| ie === "" && Q === 0; | |
| return Ve.checked && console.warn( | |
| // eslint-disable-next-line max-len | |
| "'checked' prop of an individual RadioButton shouldn't be used in a RadioButtonGroup component. Use the RadioButtonGroup 'value' prop instead." | |
| ), /* @__PURE__ */ le.createElement(O1, Qg({ | |
| ref: function(Me) { | |
| se.current[Q] = Me; | |
| }, | |
| key: lt, | |
| name: I, | |
| label: c ? void 0 : st, | |
| disabled: fe, | |
| checked: lt === ie, | |
| focus: de && ft, | |
| focusIndicator: E, | |
| id: Ge, | |
| value: lt, | |
| onFocus: Ue, | |
| onBlur: G, | |
| onChange: function(Me) { | |
| return Xe(Me, lt); | |
| }, | |
| tabIndex: ft ? "0" : "-1" | |
| // necessary for Firefox | |
| }, Ve), c ? function(Ce) { | |
| return c(b[Q], Ce); | |
| } : null); | |
| }))); | |
| }); | |
| d0.displayName = "RadioButtonGroup"; | |
| d0.propTypes = k4; | |
| var O4 = {}, P4 = O4, I4 = ["error", "info", "message", "type"], T4 = ["component", "disabled", "invalid", "name", "onChange"], R4 = ["children", "className", "component", "contentProps", "disabled", "error", "help", "htmlFor", "info", "label", "margin", "name", "onBlur", "onChange", "onFocus", "pad", "required", "style", "validate", "validateOn"]; | |
| function Ri() { | |
| return Ri = Object.assign ? Object.assign.bind() : function(e) { | |
| for (var t = 1; t < arguments.length; t++) { | |
| var r = arguments[t]; | |
| for (var o in r) ({}).hasOwnProperty.call(r, o) && (e[o] = r[o]); | |
| } | |
| return e; | |
| }, Ri.apply(null, arguments); | |
| } | |
| function P1(e, t) { | |
| if (e == null) return {}; | |
| var r = {}; | |
| for (var o in e) if ({}.hasOwnProperty.call(e, o)) { | |
| if (t.indexOf(o) !== -1) continue; | |
| r[o] = e[o]; | |
| } | |
| return r; | |
| } | |
| var _4 = ["CheckBox", "CheckBoxGroup", "RadioButton", "RadioButtonGroup", "RangeInput", "RangeSelector", "StarRating", "ThumbsRating"], IC = ["CheckBox", "CheckBoxGroup", "TextInput", "Select", "MaskedInput", "SelectMultiple", "TextArea", "DateInput", "FileInput", "RadioButton", "RadioButtonGroup", "RangeInput", "RangeSelector", "StarRating", "ThumbsRating"], TC = ["CheckBox", "CheckBoxGroup", "RadioButton", "RadioButtonGroup", "RangeInput", "RangeSelector"], A4 = function(t) { | |
| return t && (IC.indexOf(t.displayName) !== -1 || TC.indexOf(t.displayName) !== -1); | |
| }, RC = function(t) { | |
| var r; | |
| return t.focus && t.containerFocus === !1 && ((r = t.theme.formField) == null || (r = r.focus) == null ? void 0 : r.containerFocus) === !1 ? null : t.focus ? Nu({ | |
| justBorder: !0 | |
| }) : void 0; | |
| }, L4 = xr($t).withConfig({ | |
| displayName: "FormField__FormFieldBox", | |
| componentId: "sc-m9hood-0" | |
| })(["", " ", ""], function(e) { | |
| return RC(e); | |
| }, function(e) { | |
| var t; | |
| return (t = e.theme.formField) == null ? void 0 : t.extend; | |
| }), M4 = xr($t).withConfig({ | |
| displayName: "FormField__FormFieldContentBox", | |
| componentId: "sc-m9hood-1" | |
| })(["", " ", ""], function(e) { | |
| return RC(e); | |
| }, function(e) { | |
| var t; | |
| return e.theme.formField && ((t = e.theme.formField[e == null ? void 0 : e.componentName]) == null || (t = t.container) == null ? void 0 : t.extend); | |
| }), z4 = xr($t).withConfig({ | |
| displayName: "FormField__StyledContentsBox", | |
| componentId: "sc-m9hood-2" | |
| })(["", ""], function(e) { | |
| var t; | |
| return e.theme.formField && ((t = e.theme.formField[e == null ? void 0 : e.componentName]) == null || (t = t.container) == null ? void 0 : t.extend); | |
| }), F4 = xr($t).withConfig({ | |
| displayName: "FormField__StyledMessageContainer", | |
| componentId: "sc-m9hood-3" | |
| })(["", ""], function(e) { | |
| return e.messageType && e.theme.formField[e.messageType].container && e.theme.formField[e.messageType].container.extend; | |
| }), N4 = xr(eo).withConfig({ | |
| displayName: "FormField__RequiredText", | |
| componentId: "sc-m9hood-4" | |
| })(["color:inherit;font-weight:inherit;line-height:inherit;"]), j4 = xr(eo).withConfig({ | |
| displayName: "FormField__ScreenReaderOnly", | |
| componentId: "sc-m9hood-5" | |
| })(["position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0;"]), my = function(t) { | |
| t.error, t.info; | |
| var r = t.message, o = t.type, u = P1(t, I4), h = On(), c = h.theme, p = h.passThemeFlag; | |
| if (r) { | |
| var g, m; | |
| o && (g = c.formField[o] && c.formField[o].icon, m = c.formField[o] && c.formField[o].container); | |
| var E; | |
| return typeof r == "string" ? E = /* @__PURE__ */ le.createElement(eo, u, r) : E = /* @__PURE__ */ le.createElement($t, u, r), g || m ? /* @__PURE__ */ le.createElement(F4, Ri({ | |
| direction: "row", | |
| messageType: o | |
| }, m, p), g && /* @__PURE__ */ le.createElement($t, { | |
| flex: !1 | |
| }, g), E) : E; | |
| } | |
| return null; | |
| }, D4 = function(t) { | |
| var r = t.component, o = t.disabled, u = t.invalid, h = t.name, c = t.onChange, p = P1(t, T4), g = V.useContext(Jc), m = g.useFormInput({ | |
| name: h, | |
| value: p.value | |
| }), E = m[0], S = m[1], I = r || ap, w = A4(I) ? { | |
| focusIndicator: !1, | |
| onChange: c, | |
| plain: !0 | |
| } : { | |
| value: E, | |
| onChange: function(T) { | |
| S(T.value !== void 0 ? T.value : T.target.value), c && c(T); | |
| } | |
| }; | |
| return /* @__PURE__ */ le.createElement(I, Ri({ | |
| name: h, | |
| disabled: o, | |
| "aria-invalid": u || void 0 | |
| }, p, w)); | |
| }, I1 = /* @__PURE__ */ V.forwardRef(function(e, t) { | |
| var r, o, u, h, c = e.children, p = e.className, g = e.component, m = e.contentProps, E = e.disabled, S = e.error, I = e.help, w = e.htmlFor, b = e.info, T = e.label, R = e.margin, D = e.name, $ = e.onBlur, Y = e.onChange, Z = e.onFocus, ne = e.pad, te = e.required, ie = e.style, ye = e.validate, J = e.validateOn, de = P1(e, R4), ke = On(), se = ke.theme, Re = ke.passThemeFlag, Ne = V.useContext(Jc), Be = Ne.useFormField({ | |
| disabled: E, | |
| error: S, | |
| info: b, | |
| name: D, | |
| required: te, | |
| validate: ye, | |
| validateOn: J | |
| }), Ue = Be.error, Xe = Be.info, G = Be.inForm, me = Be.onBlur, ve = Be.onChange, Q = Ne.kind, fe = V.useState(), Ge = fe[0], st = fe[1], lt = Xs(t), Ve = se.formField, ft = Ve.border, Ce = d4(), Me = V.useContext(Gy), Tt = V.useContext(op); | |
| V.useEffect(function() { | |
| Ue && ye != null && ye.max && Tt(Ue, "polite", 5e3); | |
| }, [Ue, Tt, ye == null ? void 0 : ye.max]); | |
| var B = V.useMemo(function() { | |
| var Nt = !1; | |
| return c && V.Children.map(c, function(Ct) { | |
| var Rt, Xt; | |
| ((Ct == null || (Rt = Ct.props) == null ? void 0 : Rt.readOnly) === !0 || (Ct == null || (Xt = Ct.props) == null ? void 0 : Xt.readOnlyCopy) === !0) && Ct.type && ("TextInput".indexOf(Ct.type.displayName) !== -1 || "DateInput".indexOf(Ct.type.displayName) !== -1) && (Nt = !0); | |
| }), Nt; | |
| }, [c]), Vt = V.useMemo(function() { | |
| var Nt = !0; | |
| return V.Children.forEach(c, function(Ct) { | |
| var Rt; | |
| Ct && Ct.type && _4.includes(Ct.type.displayName) && ((Rt = se.formField) == null || (Rt = Rt.focus) == null ? void 0 : Rt.containerFocus) !== !0 && (Nt = !1); | |
| }), Nt; | |
| }, [c, (r = se.formField) == null || (r = r.focus) == null ? void 0 : r.containerFocus]), qt = g && (g === tf || g === E1 || g === d0), br = ft && c && V.Children.map(c, function(Nt) { | |
| Nt && Nt.type && TC.indexOf(Nt.type.displayName) !== -1 && (qt = !0); | |
| var Ct = Nt && Nt.type && IC.indexOf(Nt.type.displayName) !== -1; | |
| if (Ct && Nt.props.plain === void 0 && Nt.props.focusIndicator === void 0) { | |
| var Rt; | |
| return /* @__PURE__ */ V.cloneElement(Nt, { | |
| plain: !0, | |
| focusIndicator: !Vt, | |
| pad: "CheckBox".indexOf(Nt.type.displayName) !== -1 ? Ve == null || (Rt = Ve.checkBox) == null ? void 0 : Rt.pad : void 0 | |
| }); | |
| } | |
| return Nt; | |
| }) || c, Ar = de; | |
| G && (br || (Ar = {}), br = br || /* @__PURE__ */ le.createElement(D4, Ri({ | |
| component: g, | |
| disabled: E, | |
| invalid: !!Ue, | |
| name: D, | |
| label: g === tf ? T : void 0 | |
| }, de))); | |
| var Gt = Ri({}, Ve.content); | |
| if (!ne && !qt && (Gt.pad = void 0), ft && ft.position === "inner") | |
| if (B) { | |
| var hr; | |
| Gt.background = (hr = se.global.input.readOnly) == null ? void 0 : hr.background; | |
| } else Ue && Ve.error ? Gt.background = Ve.error.background : E && Ve.disabled && (Gt.background = Ve.disabled.background); | |
| var gt; | |
| c && V.Children.forEach(c, function(Nt) { | |
| Nt && Nt.type && "FileInput".indexOf(Nt.type.displayName) !== -1 && (gt = !0); | |
| }), g && g.displayName === "FileInput" && !gt && (gt = !0); | |
| var Yt; | |
| V.Children.forEach(c, function(Nt) { | |
| if (Nt && Nt.type) { | |
| var Ct; | |
| Yt = Nt.type.displayName, ((Ct = Yt) == null ? void 0 : Ct.length) > 0 && (Yt = Yt.charAt(0).toLowerCase() + Yt.slice(1)); | |
| } | |
| }), ft || (br = /* @__PURE__ */ le.createElement(z4, Ri({ | |
| disabledProp: E, | |
| error: Ue, | |
| componentName: Yt | |
| }, Gt, m), br)); | |
| var Pe; | |
| if (E && Ve.disabled.border && Ve.disabled.border.color) | |
| Pe = Ve.disabled.border.color; | |
| else if (B && (o = se.global.input) != null && (o = o.readOnly) != null && (o = o.border) != null && o.color) { | |
| var At; | |
| Pe = (At = se.global.input) == null || (At = At.readOnly) == null || (At = At.border) == null ? void 0 : At.color; | |
| } else // backward compatibility check | |
| Ue && ft && ft.error.color || Ue && Ve.error && Ve.error.border ? ft.error.color && Ve.error.border === void 0 ? Pe = ft.error.color || "status-critical" : Ve.error.border && Ve.error.border.color && (Pe = Ve.error.border.color || "status-critical") : Ge && Ve.focus && Ve.focus.border && Ve.focus.border.color ? Pe = Ve.focus.border.color : Pe = ft && ft.color || "border"; | |
| var Et; | |
| Q ? Et = Ri({}, Ve[Q].label) : Et = Ri({}, Ve.label), E && (Et.color = Ve.disabled && Ve.disabled.label ? Ve.disabled.label.color : Et.color); | |
| var ot = Ri({}, Ve.help, E && { | |
| color: Ve == null || (u = Ve.disabled) == null || (u = u.help) == null ? void 0 : u.color | |
| }), Ae = Ri({}, Ve.info, E && { | |
| color: Ve == null || (h = Ve.disabled) == null || (h = h.info) == null ? void 0 : h.color | |
| }), xe, ze, Ot = ie; | |
| if (ft) { | |
| var zt = ft.position === "inner" ? { | |
| border: Ri({}, ft, { | |
| size: gt ? se.fileInput.border.size : void 0, | |
| style: gt ? se.fileInput.border.style : void 0, | |
| side: gt ? se.fileInput.border.side : ft.side || "bottom", | |
| color: Pe | |
| }), | |
| round: Ve.round, | |
| focus: gt ? void 0 : Ge | |
| } : {}; | |
| br = /* @__PURE__ */ le.createElement(M4, Ri({ | |
| disabledProp: E, | |
| error: Ue, | |
| componentName: Yt | |
| }, Gt, zt, m, { | |
| containerFocus: Vt | |
| // internal prop | |
| }, Re), br); | |
| var Lt = R || Ve.margin; | |
| xe = ft.position === "outer" && (ft.side === "all" || ft.side === "horizontal" || !ft.side) && !(Lt && (typeof Lt == "string" && Lt !== "none" || Lt.bottom && Lt.bottom !== "none" || Lt.horizontal && Lt.horizontal !== "none")), xe && (ze = { | |
| bottom: "-1px" | |
| }, R ? ze = R : ft.size && (ze = { | |
| bottom: "-" + ni(se.global.borderSize[ft.size] || ft.size) + "px" | |
| }), Ot = Ri({ | |
| position: Ge ? "relative" : void 0, | |
| zIndex: Ge ? 10 : void 0 | |
| }, ie)); | |
| } | |
| var mr; | |
| ft && ft.position === "outer" && (Ue && Ve.error && Ve.error.background ? mr = Ve.error.background : Ge && Ve.focus && Ve.focus.background && Ve.focus.background.color ? mr = Ve.focus.background.color : E && Ve.disabled && Ve.disabled.background && (mr = Ve.disabled.background)); | |
| var vr = ft && ft.position === "outer" ? { | |
| border: Ri({}, ft, { | |
| color: Pe | |
| }), | |
| round: Ve.round, | |
| focus: Ge | |
| } : {}, wr = se.formField.label.requiredIndicator; | |
| wr === !0 && (wr = /* @__PURE__ */ le.createElement(le.Fragment, null, /* @__PURE__ */ le.createElement(N4, { | |
| "aria-hidden": "true" | |
| }, "*"), /* @__PURE__ */ le.createElement(j4, null, "required"))); | |
| var Or = te && wr; | |
| typeof te == "object" && te.indicator === !1 && (Or = !1); | |
| var kr = w; | |
| if (w) { | |
| var Pr = !1; | |
| c && V.Children.forEach(c, function(Nt) { | |
| Nt && Nt.type && (Nt.type.displayName === "Select" || Nt.type.displayName === "SelectMultiple") && Nt.props.id === w && (Pr = !0); | |
| }), Pr && !w.endsWith("__input") && (kr = w + "__input"); | |
| } | |
| return /* @__PURE__ */ le.createElement(L4, Ri({ | |
| ref: lt, | |
| className: p, | |
| background: mr, | |
| margin: xe ? ze : R || Ri({}, Ve.margin) | |
| }, vr, { | |
| style: Ot, | |
| containerFocus: Vt, | |
| onFocus: function(Ct) { | |
| var Rt, Xt = (Rt = lt.current) == null ? void 0 : Rt.getRootNode(); | |
| Xt && st(eC(lt.current) && $P(Xt)), Z && Z(Ct); | |
| }, | |
| onBlur: function(Ct) { | |
| st(!1), me && !lt.current.contains(Ct.relatedTarget) && !WP(Ct.relatedTarget, Me) && me(Ct), $ && $(Ct); | |
| }, | |
| onChange: ve || Y ? function(Nt) { | |
| Nt.persist(), Y && Y(Nt), ve && Ce(function() { | |
| return function() { | |
| return ve(Nt); | |
| }; | |
| }); | |
| } : void 0 | |
| }, Ar, Re), T && g !== tf || I ? /* @__PURE__ */ le.createElement(le.Fragment, null, T && g !== tf && /* @__PURE__ */ le.createElement(eo, Ri({ | |
| as: "label", | |
| id: w ? "grommet-" + kr + "__label" : void 0, | |
| htmlFor: kr | |
| }, Et), T, Or ? wr : void 0), /* @__PURE__ */ le.createElement(my, Ri({ | |
| message: I | |
| }, ot))) : void 0, br, /* @__PURE__ */ le.createElement(my, Ri({ | |
| type: "error", | |
| message: Ue | |
| }, Ve.error)), /* @__PURE__ */ le.createElement(my, Ri({ | |
| type: "info", | |
| message: Xe | |
| }, Ae))); | |
| }); | |
| I1.displayName = "FormField"; | |
| I1.propTypes = P4; | |
| var f0 = /* @__PURE__ */ le.createContext(void 0), Hw = { | |
| "1/2": "50%", | |
| "1/4": "25%", | |
| "2/4": "50%", | |
| "3/4": "75%", | |
| "1/3": "33.33%", | |
| "2/3": "66.66%" | |
| }, B4 = yt(["width:", ";max-width:", ";overflow:hidden;"], function(e) { | |
| return e.size === "auto" ? ( | |
| // setting width to a small value will allow | |
| // the cell to fit width of its content. this | |
| // is a commonly implemented CSS pattern to | |
| // allow an auto-width behavior on fixed table | |
| // layouts (which is what DataTable applies) | |
| // https://stackoverflow.com/questions/4757844/css-table-column-autowidth?noredirect=1&lq=1 | |
| "1px" | |
| ) : Hw[e.size] || e.theme.global.size[e.size] || e.size; | |
| }, function(e) { | |
| return e.size !== "auto" ? Hw[e.size] || e.theme.global.size[e.size] || e.size : void 0; | |
| }), H4 = xr.td.withConfig(Mn).withConfig({ | |
| displayName: "StyledTable__StyledTableCell", | |
| componentId: "sc-1m3u5g-0" | |
| })(["margin:0;padding:0;font-weight:inherit;text-align:inherit;", " ", " ", " ", " ", " ", " ", ""], function(e) { | |
| return e.size && B4; | |
| }, function(e) { | |
| return e.verticalAlign && "vertical-align: " + e.verticalAlign + ";"; | |
| }, function(e) { | |
| return e.align && "text-align: " + e.align + ";"; | |
| }, function(e) { | |
| return e.background && Ys(e.background, e.theme); | |
| }, function(e) { | |
| return e.border && zv(e.border, e.responsive, e.theme); | |
| }, function(e) { | |
| return e.pad && Ts("padding", e.pad, e.responsive, e.theme.box.responsiveBreakpoint, e.theme); | |
| }, function(e) { | |
| return e.tableContextTheme && e.tableContextTheme.extend; | |
| }), W4 = xr.caption.withConfig(Mn).withConfig({ | |
| displayName: "StyledTable__StyledTableDataCaption", | |
| componentId: "sc-1m3u5g-1" | |
| })(["", ""], function(e) { | |
| return Ts("margin", e.theme.table.caption.margin, !1, e.theme.global.edgeSize.responsiveBreakpoint, e.theme); | |
| }), U4 = xr.tr.withConfig(Mn).withConfig({ | |
| displayName: "StyledTable__StyledTableRow", | |
| componentId: "sc-1m3u5g-2" | |
| })([""]), $4 = xr.tbody.withConfig(Mn).withConfig({ | |
| displayName: "StyledTable__StyledTableBody", | |
| componentId: "sc-1m3u5g-3" | |
| })([""]), V4 = xr.thead.withConfig(Mn).withConfig({ | |
| displayName: "StyledTable__StyledTableHeader", | |
| componentId: "sc-1m3u5g-4" | |
| })([""]), q4 = xr.tfoot.withConfig(Mn).withConfig({ | |
| displayName: "StyledTable__StyledTableFooter", | |
| componentId: "sc-1m3u5g-5" | |
| })([""]), G4 = xr.table.withConfig(Mn).withConfig({ | |
| displayName: "StyledTable", | |
| componentId: "sc-1m3u5g-6" | |
| })(["border-spacing:0;border-collapse:collapse;width:inherit;", " ", ";"], Ks, function(e) { | |
| return e.theme.table && e.theme.table.extend; | |
| }); | |
| he.shape({ | |
| color: he.oneOfType([he.string, he.shape({ | |
| dark: he.string, | |
| light: he.string | |
| })]), | |
| side: he.oneOf(["top", "left", "bottom", "right", "start", "end", "horizontal", "vertical", "all", "between"]), | |
| size: he.oneOfType([he.oneOf(["xsmall", "small", "medium", "large", "xlarge"]), he.string]), | |
| style: he.oneOf(["solid", "dashed", "dotted", "double", "groove", "ridge", "inset", "outset", "hidden"]) | |
| }); | |
| var Y4 = {}, K4 = Y4, X4 = ["align", "aria-disabled", "background", "border", "children", "className", "colSpan", "onResize", "onWidth", "pad", "plain", "rowSpan", "scope", "size", "verticalAlign", "property"]; | |
| function Jd() { | |
| return Jd = Object.assign ? Object.assign.bind() : function(e) { | |
| for (var t = 1; t < arguments.length; t++) { | |
| var r = arguments[t]; | |
| for (var o in r) ({}).hasOwnProperty.call(r, o) && (e[o] = r[o]); | |
| } | |
| return e; | |
| }, Jd.apply(null, arguments); | |
| } | |
| function Q4(e, t) { | |
| if (e == null) return {}; | |
| var r = {}; | |
| for (var o in e) if ({}.hasOwnProperty.call(e, o)) { | |
| if (t.indexOf(o) !== -1) continue; | |
| r[o] = e[o]; | |
| } | |
| return r; | |
| } | |
| var Ww = { | |
| middle: "center", | |
| top: "start", | |
| bottom: "end" | |
| }, $v = /* @__PURE__ */ V.forwardRef(function(e, t) { | |
| var r = e.align, o = e["aria-disabled"], u = e.background, h = e.border, c = e.children, p = e.className, g = e.colSpan, m = e.onResize, E = e.onWidth, S = e.pad, I = e.plain, w = e.rowSpan, b = e.scope, T = e.size, R = e.verticalAlign, D = e.property, $ = Q4(e, X4), Y = On(), Z = Y.theme, ne = Y.passThemeFlag, te = V.useContext(f0), ie = Xs(t), ye = V.useRef(), J = V.useRef(); | |
| Fu(function() { | |
| var Be = function() { | |
| if (m && D && ie.current) { | |
| var Xe = ie.current.getBoundingClientRect(), G = Xe.width; | |
| m(D, G); | |
| } | |
| }; | |
| return window.addEventListener("resize", Be), function() { | |
| return window.removeEventListener("resize", Be); | |
| }; | |
| }, [ie, m, D]), Fu(function() { | |
| var Be, Ue = ie.current; | |
| if (E) | |
| if (typeof window < "u" && window.ResizeObserver) | |
| Be = new window.ResizeObserver(function(me) { | |
| var ve = me[0].borderBoxSize[0], Q = ve == null ? void 0 : ve.inlineSize; | |
| J.current !== Q && (J.current = Q, E(Q)); | |
| }), Ue && Be.observe(ie.current); | |
| else { | |
| var Xe = ie.current.getBoundingClientRect(), G = Xe.width; | |
| J.current !== G && (J.current = G, E(G)); | |
| } | |
| return function() { | |
| Be && Ue && Be.unobserve(Ue); | |
| }; | |
| }, [E, ie, J]), V.useEffect(function() { | |
| var Be = function() { | |
| if (I === "noPad") { | |
| var Xe = ie.current, G = ye.current; | |
| if (Xe && G) { | |
| G.style.height = ""; | |
| var me = Xe.getBoundingClientRect(); | |
| G.style.height = Math.max(me.height - (h || Z.table[te].border ? Z.global.borderSize.xsmall.replace("px", "") : 0), 0) + "px"; | |
| } | |
| } | |
| }; | |
| return window.addEventListener("resize", Be), Be(), function() { | |
| window.removeEventListener("resize", Be); | |
| }; | |
| }, [h, ie, I, te, Z.global.borderSize, Z.table]); | |
| var de; | |
| te === "header" ? de = Z.table && Z.table.header : te === "footer" ? de = Z.table && Z.table.footer : de = Z.table && Z.table.body; | |
| var ke = Jd({}, de, $); | |
| Object.keys(ke).forEach(function(Be) { | |
| $[Be] === void 0 && (ke[Be] = de[Be]); | |
| }); | |
| var se = { | |
| align: r || ke.align || void 0, | |
| "aria-disabled": o || void 0, | |
| background: u || ke.background || void 0, | |
| border: h || ke.border || void 0, | |
| pad: I !== "noPad" && (S || ke.pad) || void 0, | |
| verticalAlign: R || ke.verticalAlign || void 0 | |
| }; | |
| delete ke.align, delete ke.ariaDisabled, delete ke.background, delete ke.border, delete ke.pad, delete ke.verticalAlign; | |
| var Re = c; | |
| I === "noPad" && c && (Re = /* @__PURE__ */ le.createElement($t, { | |
| ref: ye, | |
| justify: R ? Ww[R] : "center" | |
| }, c)); | |
| var Ne = V.useMemo(function() { | |
| var Be; | |
| if (se.background || Z.darkChanged) { | |
| var Ue = o0(se.background, Z), Xe = Ue !== void 0 && Ue !== Z.dark; | |
| Xe || Z.darkChanged ? (Be = Jd({}, Z), Be.dark = Ue === void 0 ? Z.dark : Ue, Be.background = se.background) : se.background && (Be = Jd({}, Z), Be.background = se.background); | |
| } | |
| return Be || Z; | |
| }, [se.background, Z]); | |
| return /* @__PURE__ */ le.createElement(ps.Provider, { | |
| value: Ne | |
| }, /* @__PURE__ */ le.createElement(H4, Jd({ | |
| ref: ie, | |
| as: b ? "th" : void 0, | |
| scope: b, | |
| size: T, | |
| colSpan: g, | |
| rowSpan: w, | |
| tableContext: te, | |
| tableContextTheme: de | |
| }, I === !0 ? ke : {}, se, { | |
| className: p | |
| }, ne), I || !Object.keys(ke).length ? Re : /* @__PURE__ */ le.createElement($t, Jd({}, ke, { | |
| align: r, | |
| justify: Ww[R] | |
| }), c))); | |
| }); | |
| $v.displayName = "TableCell"; | |
| $v.propTypes = K4; | |
| function ub() { | |
| return ub = Object.assign ? Object.assign.bind() : function(e) { | |
| for (var t = 1; t < arguments.length; t++) { | |
| var r = arguments[t]; | |
| for (var o in r) ({}).hasOwnProperty.call(r, o) && (e[o] = r[o]); | |
| } | |
| return e; | |
| }, ub.apply(null, arguments); | |
| } | |
| var _C = /* @__PURE__ */ V.forwardRef(function(e, t) { | |
| return /* @__PURE__ */ le.createElement(U4, ub({ | |
| ref: t | |
| }, e)); | |
| }); | |
| _C.displayName = "TableRow"; | |
| var J4 = {}, Z4 = J4, e6 = ["caption", "children"]; | |
| function cb() { | |
| return cb = Object.assign ? Object.assign.bind() : function(e) { | |
| for (var t = 1; t < arguments.length; t++) { | |
| var r = arguments[t]; | |
| for (var o in r) ({}).hasOwnProperty.call(r, o) && (e[o] = r[o]); | |
| } | |
| return e; | |
| }, cb.apply(null, arguments); | |
| } | |
| function t6(e, t) { | |
| if (e == null) return {}; | |
| var r = {}; | |
| for (var o in e) if ({}.hasOwnProperty.call(e, o)) { | |
| if (t.indexOf(o) !== -1) continue; | |
| r[o] = e[o]; | |
| } | |
| return r; | |
| } | |
| var AC = /* @__PURE__ */ V.forwardRef(function(e, t) { | |
| var r = e.caption, o = e.children, u = t6(e, e6), h = On(), c = h.passThemeFlag; | |
| return /* @__PURE__ */ le.createElement(G4, cb({ | |
| ref: t | |
| }, c, u), r ? /* @__PURE__ */ le.createElement(W4, c, r) : null, o); | |
| }); | |
| AC.propTypes = Z4; | |
| function db() { | |
| return db = Object.assign ? Object.assign.bind() : function(e) { | |
| for (var t = 1; t < arguments.length; t++) { | |
| var r = arguments[t]; | |
| for (var o in r) ({}).hasOwnProperty.call(r, o) && (e[o] = r[o]); | |
| } | |
| return e; | |
| }, db.apply(null, arguments); | |
| } | |
| var LC = /* @__PURE__ */ V.forwardRef(function(e, t) { | |
| return /* @__PURE__ */ le.createElement(f0.Provider, { | |
| value: "body" | |
| }, /* @__PURE__ */ le.createElement($4, db({ | |
| ref: t | |
| }, e))); | |
| }); | |
| LC.displayName = "TableBody"; | |
| function fb() { | |
| return fb = Object.assign ? Object.assign.bind() : function(e) { | |
| for (var t = 1; t < arguments.length; t++) { | |
| var r = arguments[t]; | |
| for (var o in r) ({}).hasOwnProperty.call(r, o) && (e[o] = r[o]); | |
| } | |
| return e; | |
| }, fb.apply(null, arguments); | |
| } | |
| var MC = /* @__PURE__ */ V.forwardRef(function(e, t) { | |
| return /* @__PURE__ */ le.createElement(f0.Provider, { | |
| value: "header" | |
| }, /* @__PURE__ */ le.createElement(V4, fb({ | |
| ref: t | |
| }, e))); | |
| }); | |
| MC.displayName = "TableHeader"; | |
| function hb() { | |
| return hb = Object.assign ? Object.assign.bind() : function(e) { | |
| for (var t = 1; t < arguments.length; t++) { | |
| var r = arguments[t]; | |
| for (var o in r) ({}).hasOwnProperty.call(r, o) && (e[o] = r[o]); | |
| } | |
| return e; | |
| }, hb.apply(null, arguments); | |
| } | |
| var zC = /* @__PURE__ */ V.forwardRef(function(e, t) { | |
| return /* @__PURE__ */ le.createElement(f0.Provider, { | |
| value: "footer" | |
| }, /* @__PURE__ */ le.createElement(q4, hb({ | |
| ref: t | |
| }, e))); | |
| }); | |
| zC.displayName = "TableFooter"; | |
| var FC = ["none", "xxsmall", "xsmall", "small", "medium", "large", "xlarge"], pb = ["horizontal", "vertical", "top", "bottom", "left", "right", "start", "end"]; | |
| pb.forEach(function(e) { | |
| he.oneOf(FC); | |
| }); | |
| he.bool, he.oneOf(pb), he.shape({ | |
| color: he.oneOfType([he.string, he.shape({ | |
| dark: he.string, | |
| light: he.string | |
| })]), | |
| side: he.oneOf(pb), | |
| size: he.oneOfType([he.oneOf(FC), he.string]) | |
| }); | |
| var r6 = {}, n6 = r6, o6 = ["a11yTitle", "aria-label", "action", "as", "background", "border", "children", "data", "defaultItemProps", "disabled", "focus", "itemKey", "itemProps", "messages", "onActive", "onClickItem", "onKeyDown", "onMore", "onOrder", "showIndex", "pad", "paginate", "pinned", "primaryKey", "secondaryKey", "show", "step"]; | |
| function Us() { | |
| return Us = Object.assign ? Object.assign.bind() : function(e) { | |
| for (var t = 1; t < arguments.length; t++) { | |
| var r = arguments[t]; | |
| for (var o in r) ({}).hasOwnProperty.call(r, o) && (e[o] = r[o]); | |
| } | |
| return e; | |
| }, Us.apply(null, arguments); | |
| } | |
| function i6(e, t) { | |
| if (e == null) return {}; | |
| var r = {}; | |
| for (var o in e) if ({}.hasOwnProperty.call(e, o)) { | |
| if (t.indexOf(o) !== -1) continue; | |
| r[o] = e[o]; | |
| } | |
| return r; | |
| } | |
| var a6 = [], s6 = xr.ul.withConfig(Mn).withConfig({ | |
| displayName: "List__StyledList", | |
| componentId: "sc-130gdqg-0" | |
| })(["list-style:none;", " padding:0;", " ", "}"], function(e) { | |
| return !e.margin && "margin: 0;"; | |
| }, Ks, function(e) { | |
| return e.theme.list && e.theme.list.extend; | |
| }), l6 = xr($t).withConfig({ | |
| displayName: "List__StyledItem", | |
| componentId: "sc-130gdqg-1" | |
| })(["", " ", " ", " &:hover{", "}", ""], function(e) { | |
| return e.onClick && !e.isDisabled && "cursor: pointer;"; | |
| }, function(e) { | |
| return e.draggable && !e.isDisabled && "cursor: move;"; | |
| }, function(e) { | |
| var t, r; | |
| if (e.isDisabled && (t = e.theme.list) != null && (t = t.item) != null && t.disabled) { | |
| var o = e.theme.list.item.disabled, u = o.color, h = o.cursor; | |
| r = { | |
| color: jr(u, e.theme), | |
| cursor: h | |
| }; | |
| } | |
| return r; | |
| }, function(e) { | |
| return e.isDisabled && "background-color: unset;"; | |
| }, function(e) { | |
| return e.theme.list && e.theme.list.item && e.theme.list.item.extend; | |
| }), u6 = xr($t).withConfig({ | |
| displayName: "List__StyledContainer", | |
| componentId: "sc-130gdqg-2" | |
| })(["", ";"], function(e) { | |
| return e.theme.list && e.theme.list.container && e.theme.list.container.extend; | |
| }), Kd = function(t, r, o) { | |
| if (typeof o == "function") return o(t, r); | |
| if (typeof t == "string") return t; | |
| if (o !== void 0) return t == null ? void 0 : t[o]; | |
| }, Uw = function(t, r, o, u) { | |
| var h = t.slice(0), c = h[o]; | |
| if (o < u) for (var p = o; p < u; p += 1) h[p] = h[p + 1]; | |
| else for (var g = o; g > u; g -= 1) h[g] = h[g - 1]; | |
| return h[u] = c, r.data.length > 0 && r.data.forEach(function(m, E) { | |
| h.splice(r.indexes[E], 0, m); | |
| }), h; | |
| }, $w = function(t, r, o, u) { | |
| return u ? -1 : r !== void 0 && r === t || // was last focused | |
| r === void 0 && o === t || // first "move down" button when entering the list for first time | |
| r === void 0 && o === void 0 && t === 1 ? 0 : -1; | |
| }, T1 = /* @__PURE__ */ le.forwardRef(function(e, t) { | |
| var r = e.a11yTitle, o = e["aria-label"], u = e.action, h = e.as, c = e.background, p = e.border, g = e.children, m = e.data, E = e.defaultItemProps, S = e.disabled; | |
| e.focus; | |
| var I = e.itemKey, w = e.itemProps, b = e.messages, T = e.onActive, R = e.onClickItem, D = e.onKeyDown, $ = e.onMore, Y = e.onOrder, Z = e.showIndex, ne = Z === void 0 ? !0 : Z, te = e.pad, ie = e.paginate, ye = e.pinned, J = ye === void 0 ? [] : ye, de = e.primaryKey, ke = e.secondaryKey, se = e.show, Re = e.step, Ne = Re === void 0 ? ie ? 50 : void 0 : Re, Be = i6(e, o6), Ue = Xs(t), Xe = On(), G = Xe.theme, me = Xe.passThemeFlag, ve = V.useContext(vC), Q = ve.data, fe = m || Q || a6, Ge = V.useContext(kf), st = Ge.format, lt = I || de || null, Ve = V.useState(), ft = Ve[0], Ce = Ve[1], Me = function(Rt) { | |
| Ce(Rt), T && R && Rt !== ft && T(Rt); | |
| }, Tt = V.useState(), B = Tt[0], Vt = Tt[1], qt = V.useState(), br = qt[0], Ar = qt[1], Gt = function(Rt) { | |
| Vt(Rt); | |
| }, hr = function(Rt) { | |
| Me(Rt), Gt(Rt); | |
| }, gt = V.useRef(); | |
| V.useEffect(function() { | |
| if (B !== void 0) { | |
| var Ct; | |
| (Ct = gt.current) == null || Ct.focus(); | |
| } | |
| }, [B, fe]); | |
| var Yt = V.useState(), Pe = Yt[0], At = Yt[1], Et = V.useState(), ot = Et[0], Ae = Et[1], xe = V.useMemo(function() { | |
| var Ct = [], Rt = [], Xt = [], Lr = ot || fe; | |
| return J.length === 0 ? [Lr, { | |
| data: Rt, | |
| indexes: Xt | |
| }] : (Lr.forEach(function(Vr, Qt) { | |
| var Jr, hn = Kd(Vr, Qt, lt), Ur = Array.isArray(J) ? J.includes(hn) : typeof J == "object" && (J == null || (Jr = J.items) == null ? void 0 : Jr.includes(hn)); | |
| Ur ? (Rt.push(Vr), Xt.push(Qt)) : Ct.push(Vr); | |
| }), [Ct, { | |
| data: Rt, | |
| indexes: Xt | |
| }]); | |
| }, [fe, ot, lt, J]), ze = xe[0], Ot = xe[1], zt = vI(Us({ | |
| data: fe, | |
| page: mI(se, Ne), | |
| step: Ne | |
| }, ie)), Lt = zt[0], mr = zt[1], vr = ie ? u6 : V.Fragment, wr = ie ? Us({}, G.list.container, me) : void 0, Or = V.useRef(), kr = h1(), Pr = { | |
| role: R ? "listbox" : "list" | |
| }, Nt = function(Rt, Xt) { | |
| if ((R || Y) && Xt >= 0) { | |
| if (Y) { | |
| var Lr = Math.trunc(Xt / 2), Vr = Xt % 2 ? Lr + 1 : Lr - 1; | |
| Y(Uw(ze, Ot, Lr, Vr)), Rt.detail === 0 ? Gt(B % 2 ? Math.min(B + 2, ze.length * 2 - 2) : Math.max(B - 2, 1)) : Gt(Xt); | |
| } else if (S != null && S.includes(Kd(fe[Xt], Xt, lt))) | |
| Rt.preventDefault(); | |
| else if (R) { | |
| Rt.persist(), Gt(Xt); | |
| var Qt = Rt; | |
| Qt.item = fe[Xt], Qt.index = Xt, R(Qt), kr({ | |
| type: "listItemClick", | |
| element: Ue.current, | |
| event: Qt, | |
| item: fe[Xt], | |
| index: Xt | |
| }); | |
| } | |
| } | |
| }; | |
| return /* @__PURE__ */ le.createElement(vr, wr, /* @__PURE__ */ le.createElement(Ql, { | |
| onUp: function(Rt) { | |
| if ((R || Y) && (Rt.preventDefault(), B >= 0)) { | |
| var Xt = Y ? 1 : 0, Lr = Math.max(B - 1, Xt); | |
| hr(Lr), setTimeout(function() { | |
| var Vr; | |
| (Vr = Ue.current) == null || (Vr = Vr.children[Lr]) == null || Vr.scrollIntoView({ | |
| behavior: "smooth", | |
| block: "nearest" | |
| }); | |
| }, 0); | |
| } | |
| }, | |
| onDown: function(Rt) { | |
| if ((R || Y) && (Rt.preventDefault(), ze && ze.length)) { | |
| var Xt = Y ? 1 : 0, Lr = Y ? ze.length * 2 - 2 : fe.length - 1, Vr = B >= Xt ? Math.min(B + 1, Lr) : Xt; | |
| hr(Vr), setTimeout(function() { | |
| var Qt; | |
| (Qt = Ue.current) == null || (Qt = Qt.children[Vr]) == null || Qt.scrollIntoView({ | |
| behavior: "smooth", | |
| block: "nearest" | |
| }); | |
| }, 0); | |
| } | |
| }, | |
| onKeyDown: D | |
| }, /* @__PURE__ */ le.createElement(s6, Us({ | |
| "aria-label": o || r, | |
| ref: Ue, | |
| as: h || "ul", | |
| onBlur: function(Rt) { | |
| Ar(B), Ue.current && !Ue.current.contains(Rt.relatedTarget) && Gt(void 0); | |
| }, | |
| onMouseOut: function() { | |
| return Me(void 0); | |
| } | |
| }, Pr, me, Be), /* @__PURE__ */ le.createElement(vm, { | |
| items: ie ? Lt : ot || fe, | |
| onMore: $, | |
| show: ie ? void 0 : se, | |
| step: Ne, | |
| renderMarker: function(Rt) { | |
| return /* @__PURE__ */ le.createElement($t, { | |
| as: "li", | |
| flex: !1 | |
| }, Rt); | |
| } | |
| }, function(Ct, Rt) { | |
| var Xt, Lr, Vr = {}, Qt = Kd(Ct, Rt, lt) || Rt, Jr; | |
| (Array.isArray(J) && J.length > 0 || Array.isArray(J == null ? void 0 : J.items) && (J == null || (Xt = J.items) == null ? void 0 : Xt.length) > 0) && (typeof Ct == "object" && !lt && console.error( | |
| // eslint-disable-next-line max-len | |
| "Warning: Missing prop itemKey. Prop pin requires itemKey to be specified when data is of type 'object'." | |
| ), Jr = Array.isArray(J) ? J == null ? void 0 : J.includes(Qt) : J.items.some(function(io) { | |
| return io === Qt; | |
| })); | |
| var hn = Jr ? J.color : void 0; | |
| if (g) | |
| Lr = g(Ct, Rt, R ? { | |
| active: ft === Rt | |
| } : void 0); | |
| else if (de) { | |
| var Ur = Kd(Ct, Rt, de); | |
| if (Lr = typeof Ur == "string" || typeof Ur == "number" ? /* @__PURE__ */ le.createElement(eo, Us({ | |
| color: hn, | |
| key: "p" | |
| }, G.list.primaryKey), Ur) : Ur, ke) { | |
| var pn, nn = Kd(Ct, Rt, ke); | |
| Lr = [Lr, typeof nn == "string" || typeof nn == "number" ? /* @__PURE__ */ le.createElement(eo, { | |
| color: hn, | |
| key: "s" | |
| }, Kd(Ct, Rt, ke)) : nn], Vr = { | |
| direction: "row", | |
| align: "center", | |
| justify: "between", | |
| gap: (pn = G.list) == null || (pn = pn.item) == null ? void 0 : pn.gap | |
| }; | |
| } | |
| } else if (typeof Ct == "object") { | |
| var cn = Ct[Object.keys(Ct)[0]]; | |
| Lr = // for backwards compatibility, only wrap in Text if | |
| // pinned.color is defined | |
| hn && typeof cn == "string" ? /* @__PURE__ */ le.createElement(eo, { | |
| color: hn | |
| }, cn) : cn; | |
| } else | |
| Lr = hn ? /* @__PURE__ */ le.createElement(eo, { | |
| color: hn | |
| }, Ct) : Ct; | |
| var zn = ze.findIndex(function(io, yn) { | |
| return Kd(io, yn, lt) === Qt; | |
| }), Ir; | |
| S && (typeof Ct == "object" && !lt && console.error( | |
| // eslint-disable-next-line max-len | |
| "Warning: Missing prop itemKey. Prop disabled requires itemKey to be specified when data is of type 'object'." | |
| ), Ir = S == null ? void 0 : S.includes(Qt)), u && (Lr = [/* @__PURE__ */ le.createElement($t, { | |
| align: "start", | |
| key: "actionContainer" + Rt | |
| }, Lr), u(Ct, Rt)], Vr = { | |
| direction: "row", | |
| align: ke ? "start" : "center", | |
| justify: "between", | |
| gap: G.list.item.gap | |
| }); | |
| var Sn = c || G.list.item.background; | |
| !Y && ft === Rt || Pe === Rt ? Sn = G.global.hover.background : Array.isArray(Sn) ? Sn = Sn[Rt % Sn.length] : Jr && (Sn = (J == null ? void 0 : J.background) || G.list.item.pinned.background); | |
| var Pn = p !== void 0 ? p : G.list.item.border; | |
| Pn === "horizontal" && Rt && (Pn = "bottom"); | |
| var gn; | |
| R && !Y && (gn = { | |
| role: "option", | |
| tabIndex: ( | |
| // entering list for first time | |
| B === void 0 && br === void 0 && Rt === 0 || // returning to list after already using keyboard | |
| B === void 0 && br !== void 0 && br === Rt || // actively using keyboard | |
| B === Rt ? 0 : -1 | |
| ), | |
| active: ft === Rt, | |
| focus: B === Rt, | |
| hoverIndicator: !Ir, | |
| ref: function(yn) { | |
| B === Rt && (gt.current = yn); | |
| }, | |
| onClick: function(yn) { | |
| Ir ? yn.preventDefault() : Nt(yn, Rt); | |
| }, | |
| onFocus: function() { | |
| hr(Rt); | |
| }, | |
| onMouseOver: function() { | |
| return Me(Rt); | |
| } | |
| }); | |
| var to, In; | |
| if (Y && !Jr) { | |
| to = { | |
| draggable: !0, | |
| onDragStart: function(yn) { | |
| yn.dataTransfer.setData("text/plain", ""), yn.dataTransfer.effectAllowed = "move", At(zn), Gt(void 0); | |
| }, | |
| onDragEnd: function() { | |
| At(void 0), Ae(void 0); | |
| }, | |
| onDragOver: function(yn) { | |
| Pe !== void 0 && (yn.preventDefault(), Pe !== zn && (yn.dataTransfer.dropEffect = "move", Ae(Uw(ze, Ot, Pe, zn)), At(zn))); | |
| }, | |
| onDrop: function() { | |
| ot && Y(ot); | |
| }, | |
| ref: Pe === zn ? Or : void 0 | |
| }; | |
| var Zr = G.list.icons.up, sn = G.list.icons.down, $n = zn * 2, go = $w( | |
| $n, | |
| B, | |
| br, | |
| !zn | |
| // first item can't move up | |
| ), ii = zn * 2 + 1, zo = $w( | |
| ii, | |
| B, | |
| br, | |
| // last item can't move down | |
| zn >= ze.length - 1 | |
| ); | |
| In = !Jr && /* @__PURE__ */ le.createElement($t, { | |
| direction: "row", | |
| align: "center", | |
| justify: "end" | |
| }, /* @__PURE__ */ le.createElement(Xa, { | |
| id: Qt + "MoveUp", | |
| a11yTitle: zn + 1 + " " + Qt + " move up", | |
| icon: /* @__PURE__ */ le.createElement(Zr, null), | |
| hoverIndicator: !0, | |
| disabled: !zn, | |
| active: B === $n, | |
| onClick: function(yn) { | |
| yn.stopPropagation(), Nt(yn, $n); | |
| }, | |
| tabIndex: go, | |
| ref: function(yn) { | |
| B === $n && (gt.current = yn); | |
| } | |
| }), /* @__PURE__ */ le.createElement(Xa, { | |
| id: Qt + "MoveDown", | |
| a11yTitle: zn + 1 + " " + Qt + " move down", | |
| icon: /* @__PURE__ */ le.createElement(sn, null), | |
| hoverIndicator: !0, | |
| disabled: zn >= ze.length - 1, | |
| active: B === ii, | |
| onClick: function(yn) { | |
| yn.stopPropagation(), Nt(yn, ii); | |
| }, | |
| tabIndex: zo, | |
| ref: function(yn) { | |
| B === ii && (gt.current = yn); | |
| }, | |
| onFocus: function() { | |
| B === void 0 && br === void 0 && hr(ii); | |
| } | |
| })), Lr = /* @__PURE__ */ le.createElement($t, Us({ | |
| flex: !0 | |
| }, Vr), Lr), Vr = { | |
| direction: "row", | |
| align: E && E.align || "center", | |
| gap: G.list.item.gap | |
| }; | |
| } | |
| var mo; | |
| Ir && (mo = { | |
| "aria-disabled": !0 | |
| }, R && (mo = Us({}, mo, { | |
| "aria-selected": !1 | |
| }))); | |
| var Ai; | |
| if (Jr) { | |
| var Oo, mi = G.list.item.pinned.icon.size, Gi = G.list.item.pinned.icon.pad, Li = (J == null ? void 0 : J.icon) || G.list.icons.pin, Yi = /* @__PURE__ */ le.isValidElement(Li) ? Li : /* @__PURE__ */ le.createElement(Li, null); | |
| Yi = /* @__PURE__ */ V.cloneElement(Yi, Us({}, !((Oo = Yi.props) != null && Oo.color) && hn ? { | |
| color: hn | |
| } : {}, { | |
| a11yTitle: st({ | |
| id: "list.pinned", | |
| messages: b | |
| }), | |
| size: mi | |
| })), Vr = { | |
| direction: "row", | |
| align: E && E.align || "center", | |
| gap: G.list.item.gap | |
| }, Ai = /* @__PURE__ */ le.createElement($t, { | |
| direction: "row", | |
| align: "center", | |
| justify: "end", | |
| pad: Gi | |
| }, Yi), Lr = /* @__PURE__ */ le.createElement($t, { | |
| flex: !0 | |
| }, Lr); | |
| } | |
| return w && w[Rt] && (Vr = Us({}, Vr, w[Rt])), /* @__PURE__ */ le.createElement(l6, Us({ | |
| key: Qt, | |
| tag: "li", | |
| background: Sn, | |
| border: Pn, | |
| isDisabled: Ir, | |
| flex: !1, | |
| pad: te || G.list.item.pad | |
| }, E, Vr, gn, to, mo, me), ne && Y && /* @__PURE__ */ le.createElement(eo, { | |
| color: hn | |
| }, Rt + 1), Lr, Ai, In); | |
| }))), ie && fe.length > Ne && Lt && Lt.length ? /* @__PURE__ */ le.createElement(C1, Us({ | |
| alignSelf: "end" | |
| }, mr)) : null); | |
| }); | |
| T1.displayName = "List"; | |
| T1.propTypes = n6; | |
| var c6 = function(t) { | |
| return yt(t === "min" ? ["min-height:100vh;"] : ["width:100vw;height:100vh;overflow:auto;"]); | |
| }, d6 = xr.div.withConfig(Mn).withConfig({ | |
| displayName: "StyledGrommet", | |
| componentId: "sc-19lkkz7-0" | |
| })(["", " ", " ", " ", " ", ""], function(e) { | |
| return !e.plain && iC; | |
| }, function(e) { | |
| return e.full && c6(e.full); | |
| }, function(e) { | |
| return e.theme.global.font.face; | |
| }, function(e) { | |
| return e.theme.grommet.extend; | |
| }, function(e) { | |
| return e.cssVars && Object.keys(e.theme.global.colors).filter(function(t) { | |
| return typeof e.theme.global.colors[t] == "string"; | |
| }).map(function(t) { | |
| return "--" + t + ": " + e.theme.global.colors[t] + ";"; | |
| }).join(` | |
| `); | |
| }), f6 = {}, h6 = f6, p6 = ["children", "full", "containerTarget", "theme", "options", "messages", "onAnalytics"]; | |
| function gb() { | |
| return gb = Object.assign ? Object.assign.bind() : function(e) { | |
| for (var t = 1; t < arguments.length; t++) { | |
| var r = arguments[t]; | |
| for (var o in r) ({}).hasOwnProperty.call(r, o) && (e[o] = r[o]); | |
| } | |
| return e; | |
| }, gb.apply(null, arguments); | |
| } | |
| function g6(e, t) { | |
| if (e == null) return {}; | |
| var r = {}; | |
| for (var o in e) if ({}.hasOwnProperty.call(e, o)) { | |
| if (t.indexOf(o) !== -1) continue; | |
| r[o] = e[o]; | |
| } | |
| return r; | |
| } | |
| var m6 = $k(["body{margin:0;}"]), v6 = {}, R1 = /* @__PURE__ */ V.forwardRef(function(e, t) { | |
| var r = e.children, o = e.full, u = e.containerTarget, h = u === void 0 ? typeof document == "object" ? document.body : void 0 : u, c = e.theme, p = e.options, g = p === void 0 ? v6 : p, m = e.messages, E = e.onAnalytics, S = g6(e, p6), I = e.background, w = e.dir, b = e.themeMode, T = e.userAgent, R = V.useState(), D = R[0], $ = R[1], Y = V.useMemo(function() { | |
| var J = nm(pC, c || {}); | |
| c && c.menu && c.menu.drop && c.menu.drop.align && (delete J.menu.drop.align, J.menu.drop.align = c.menu.drop.align); | |
| var de = J.global.colors.background; | |
| J.dark = (b || J.defaultMode) === "dark", b === "auto" && typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches && (J.dark = !0); | |
| var ke = jr(I || de, J); | |
| return J.dark = o0(ke, J), J.baseBackground = I || de, J.background = J.baseBackground, w && (J.dir = w), J; | |
| }, [I, w, b, c]), Z = V.useMemo(function() { | |
| var J = nm(Xy, (m == null ? void 0 : m.messages) || {}); | |
| return { | |
| messages: J, | |
| format: function(ke) { | |
| var se = (m == null ? void 0 : m.format) && m.format(ke); | |
| return typeof se < "u" ? se : yC(ke, J); | |
| } | |
| }; | |
| }, [m]); | |
| V.useEffect(function() { | |
| var J = function() { | |
| $(Wy(document.body.clientWidth, Y)); | |
| }; | |
| return window.addEventListener("resize", J), J(), function() { | |
| window.removeEventListener("resize", J); | |
| }; | |
| }, [Y]); | |
| var ne = D || oC(T, Y) || Y.global.deviceBreakpoints.tablet, te = Xs(t), ie = V.useRef([]); | |
| V.useEffect(function() { | |
| te.current && ie.current.push(te.current); | |
| }, [te]); | |
| var ye = V.useMemo(function() { | |
| return { | |
| roots: ie | |
| }; | |
| }, []); | |
| return /* @__PURE__ */ le.createElement(ps.Provider, { | |
| value: Y | |
| }, /* @__PURE__ */ le.createElement(g1.Provider, { | |
| value: ne | |
| }, /* @__PURE__ */ le.createElement(m1.Provider, { | |
| value: ye | |
| }, /* @__PURE__ */ le.createElement(p1.Provider, { | |
| value: h | |
| }, /* @__PURE__ */ le.createElement(v1.Provider, { | |
| value: g | |
| }, /* @__PURE__ */ le.createElement(kf.Provider, { | |
| value: Z | |
| }, /* @__PURE__ */ le.createElement(W5, { | |
| onAnalytics: E | |
| }, /* @__PURE__ */ le.createElement(d6, gb({ | |
| full: o | |
| }, S, { | |
| ref: te | |
| }), r), o && /* @__PURE__ */ le.createElement(m6, null)))))))); | |
| }); | |
| R1.displayName = "Grommet"; | |
| R1.propTypes = h6; | |
| function Zd() { | |
| return Zd = Object.assign ? Object.assign.bind() : function(e) { | |
| for (var t = 1; t < arguments.length; t++) { | |
| var r = arguments[t]; | |
| for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (e[o] = r[o]); | |
| } | |
| return e; | |
| }, Zd.apply(this, arguments); | |
| } | |
| const y6 = ["children", "options"]; | |
| var Vw, qw; | |
| (function(e) { | |
| e.blockQuote = "0", e.breakLine = "1", e.breakThematic = "2", e.codeBlock = "3", e.codeFenced = "4", e.codeInline = "5", e.footnote = "6", e.footnoteReference = "7", e.gfmTask = "8", e.heading = "9", e.headingSetext = "10", e.htmlBlock = "11", e.htmlComment = "12", e.htmlSelfClosing = "13", e.image = "14", e.link = "15", e.linkAngleBraceStyleDetector = "16", e.linkBareUrlDetector = "17", e.linkMailtoDetector = "18", e.newlineCoalescer = "19", e.orderedList = "20", e.paragraph = "21", e.ref = "22", e.refImage = "23", e.refLink = "24", e.table = "25", e.tableSeparator = "26", e.text = "27", e.textBolded = "28", e.textEmphasized = "29", e.textEscaped = "30", e.textMarked = "31", e.textStrikethroughed = "32", e.unorderedList = "33"; | |
| })(Vw || (Vw = {})), function(e) { | |
| e[e.MAX = 0] = "MAX", e[e.HIGH = 1] = "HIGH", e[e.MED = 2] = "MED", e[e.LOW = 3] = "LOW", e[e.MIN = 4] = "MIN"; | |
| }(qw || (qw = {})); | |
| const Gw = ["allowFullScreen", "allowTransparency", "autoComplete", "autoFocus", "autoPlay", "cellPadding", "cellSpacing", "charSet", "className", "classId", "colSpan", "contentEditable", "contextMenu", "crossOrigin", "encType", "formAction", "formEncType", "formMethod", "formNoValidate", "formTarget", "frameBorder", "hrefLang", "inputMode", "keyParams", "keyType", "marginHeight", "marginWidth", "maxLength", "mediaGroup", "minLength", "noValidate", "radioGroup", "readOnly", "rowSpan", "spellCheck", "srcDoc", "srcLang", "srcSet", "tabIndex", "useMap"].reduce((e, t) => (e[t.toLowerCase()] = t, e), { for: "htmlFor" }), Yw = { amp: "&", apos: "'", gt: ">", lt: "<", nbsp: " ", quot: "“" }, b6 = ["style", "script"], x6 = /([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi, w6 = /mailto:/i, S6 = /\n{2,}$/, NC = /^( *>[^\n]+(\n[^\n]+)*\n*)+\n{2,}/, k6 = /^ *> ?/gm, C6 = /^ {2,}\n/, E6 = /^(?:( *[-*_])){3,} *(?:\n *)+\n/, jC = /^\s*(`{3,}|~{3,}) *(\S+)?([^\n]*?)?\n([\s\S]+?)\s*\1 *(?:\n *)*\n?/, DC = /^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/, O6 = /^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/, P6 = /^(?:\n *)*\n/, I6 = /\r\n?/g, T6 = /^\[\^([^\]]+)](:(.*)((\n+ {4,}.*)|(\n(?!\[\^).+))*)/, R6 = /^\[\^([^\]]+)]/, _6 = /\f/g, A6 = /^---[ \t]*\n(.|\n)*\n---[ \t]*\n/, L6 = /^\s*?\[(x|\s)\]/, BC = /^ *(#{1,6}) *([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/, HC = /^ *(#{1,6}) +([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/, WC = /^([^\n]+)\n *(=|-){3,} *(?:\n *)+\n/, mb = /^ *(?!<[a-z][^ >/]* ?\/>)<([a-z][^ >/]*) ?([^>]*)>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1\b)[\s\S])*?)<\/\1>(?!<\/\1>)\n*/i, M6 = /&([a-z0-9]+|#[0-9]{1,6}|#x[0-9a-fA-F]{1,6});/gi, UC = /^<!--[\s\S]*?(?:-->)/, z6 = /^(data|aria|x)-[a-z_][a-z\d_.-]*$/, vb = /^ *<([a-z][a-z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i, F6 = /^\{.*\}$/, N6 = /^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/, j6 = /^<([^ >]+@[^ >]+)>/, D6 = /^<([^ >]+:\/[^ >]+)>/, B6 = /-([a-z])?/gi, $C = /^(.*\|?.*)\n *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*)\n?/, H6 = /^\[([^\]]*)\]:\s+<?([^\s>]+)>?\s*("([^"]*)")?/, W6 = /^!\[([^\]]*)\] ?\[([^\]]*)\]/, U6 = /^\[([^\]]*)\] ?\[([^\]]*)\]/, $6 = /(\[|\])/g, V6 = /(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/, q6 = /\t/g, G6 = /^ *\| */, Y6 = /(^ *\||\| *$)/g, K6 = / *$/, X6 = /^ *:-+: *$/, Q6 = /^ *:-+ *$/, J6 = /^ *-+: *$/, h0 = "((?:\\[.*?\\][([].*?[)\\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~~.*?~~|==.*?==|.|\\n)*?)", Z6 = new RegExp(`^([*_])\\1${h0}\\1\\1(?!\\1)`), eL = new RegExp(`^([*_])${h0}\\1(?!\\1|\\w)`), tL = new RegExp(`^==${h0}==`), rL = new RegExp(`^~~${h0}~~`), nL = /^\\([^0-9A-Za-z\s])/, oL = /^[\s\S]+?(?=[^0-9A-Z\s\u00c0-\uffff&#;.()'"]|\d+\.|\n\n| {2,}\n|\w+:\S|$)/i, iL = /^\n+/, aL = /^([ \t]*)/, sL = /\\([^\\])/g, Kw = / *\n+$/, lL = /(?:^|\n)( *)$/, _1 = "(?:\\d+\\.)", A1 = "(?:[*+-])"; | |
| function VC(e) { | |
| return "( *)(" + (e === 1 ? _1 : A1) + ") +"; | |
| } | |
| const qC = VC(1), GC = VC(2); | |
| function YC(e) { | |
| return new RegExp("^" + (e === 1 ? qC : GC)); | |
| } | |
| const uL = YC(1), cL = YC(2); | |
| function KC(e) { | |
| return new RegExp("^" + (e === 1 ? qC : GC) + "[^\\n]*(?:\\n(?!\\1" + (e === 1 ? _1 : A1) + " )[^\\n]*)*(\\n|$)", "gm"); | |
| } | |
| const XC = KC(1), QC = KC(2); | |
| function JC(e) { | |
| const t = e === 1 ? _1 : A1; | |
| return new RegExp("^( *)(" + t + ") [\\s\\S]+?(?:\\n{2,}(?! )(?!\\1" + t + " (?!" + t + " ))\\n*|\\s*\\n*$)"); | |
| } | |
| const ZC = JC(1), e2 = JC(2); | |
| function Xw(e, t) { | |
| const r = t === 1, o = r ? ZC : e2, u = r ? XC : QC, h = r ? uL : cL; | |
| return { match(c, p, g) { | |
| const m = lL.exec(g); | |
| return m && (p.list || !p.inline && !p.simple) ? o.exec(c = m[1] + c) : null; | |
| }, order: 1, parse(c, p, g) { | |
| const m = r ? +c[2] : void 0, E = c[0].replace(S6, ` | |
| `).match(u); | |
| let S = !1; | |
| return { items: E.map(function(I, w) { | |
| const b = h.exec(I)[0].length, T = new RegExp("^ {1," + b + "}", "gm"), R = I.replace(T, "").replace(h, ""), D = w === E.length - 1, $ = R.indexOf(` | |
| `) !== -1 || D && S; | |
| S = $; | |
| const Y = g.inline, Z = g.list; | |
| let ne; | |
| g.list = !0, $ ? (g.inline = !1, ne = R.replace(Kw, ` | |
| `)) : (g.inline = !0, ne = R.replace(Kw, "")); | |
| const te = p(ne, g); | |
| return g.inline = Y, g.list = Z, te; | |
| }), ordered: r, start: m }; | |
| }, render: (c, p, g) => e(c.ordered ? "ol" : "ul", { key: g.key, start: c.type === "20" ? c.start : void 0 }, c.items.map(function(m, E) { | |
| return e("li", { key: E }, p(m, g)); | |
| })) }; | |
| } | |
| const dL = new RegExp(`^\\[((?:\\[[^\\]]*\\]|[^\\[\\]]|\\](?=[^\\[]*\\]))*)\\]\\(\\s*<?((?:\\([^)]*\\)|[^\\s\\\\]|\\\\.)*?)>?(?:\\s+['"]([\\s\\S]*?)['"])?\\s*\\)`), fL = /^!\[(.*?)\]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/, t2 = [NC, jC, DC, BC, WC, HC, UC, $C, XC, ZC, QC, e2], hL = [...t2, /^[^\n]+(?: \n|\n{2,})/, mb, vb]; | |
| function pL(e) { | |
| return e.replace(/[ÀÃÂÃÄÅà áâãä忯]/g, "a").replace(/[çÇ]/g, "c").replace(/[ðÃ]/g, "d").replace(/[ÈÉÊËéèêë]/g, "e").replace(/[ÃïÎîÃÃÌì]/g, "i").replace(/[Ññ]/g, "n").replace(/[øØœŒÕõÔôÓóÒò]/g, "o").replace(/[ÜüÛûÚúÙù]/g, "u").replace(/[ŸÿÃý]/g, "y").replace(/[^a-z0-9- ]/gi, "").replace(/ /gi, "-").toLowerCase(); | |
| } | |
| function gL(e) { | |
| return J6.test(e) ? "right" : X6.test(e) ? "center" : Q6.test(e) ? "left" : null; | |
| } | |
| function Qw(e, t, r) { | |
| const o = r.inTable; | |
| r.inTable = !0; | |
| const u = t(e.trim(), r); | |
| r.inTable = o; | |
| let h = [[]]; | |
| return u.forEach(function(c, p) { | |
| c.type === "26" ? p !== 0 && p !== u.length - 1 && h.push([]) : (c.type !== "27" || u[p + 1] != null && u[p + 1].type !== "26" || (c.text = c.text.replace(K6, "")), h[h.length - 1].push(c)); | |
| }), h; | |
| } | |
| function mL(e, t, r) { | |
| r.inline = !0; | |
| const o = Qw(e[1], t, r), u = e[2].replace(Y6, "").split("|").map(gL), h = function(c, p, g) { | |
| return c.trim().split(` | |
| `).map(function(m) { | |
| return Qw(m, p, g); | |
| }); | |
| }(e[3], t, r); | |
| return r.inline = !1, { align: u, cells: h, header: o, type: "25" }; | |
| } | |
| function Jw(e, t) { | |
| return e.align[t] == null ? {} : { textAlign: e.align[t] }; | |
| } | |
| function Ic(e) { | |
| return function(t, r) { | |
| return r.inline ? e.exec(t) : null; | |
| }; | |
| } | |
| function Tc(e) { | |
| return function(t, r) { | |
| return r.inline || r.simple ? e.exec(t) : null; | |
| }; | |
| } | |
| function Iu(e) { | |
| return function(t, r) { | |
| return r.inline || r.simple ? null : e.exec(t); | |
| }; | |
| } | |
| function Ng(e) { | |
| return function(t) { | |
| return e.exec(t); | |
| }; | |
| } | |
| function vL(e, t, r) { | |
| if (t.inline || t.simple || r && !r.endsWith(` | |
| `)) return null; | |
| let o = ""; | |
| e.split(` | |
| `).every((h) => !t2.some((c) => c.test(h)) && (o += h + ` | |
| `, h.trim())); | |
| const u = o.trimEnd(); | |
| return u == "" ? null : [o, u]; | |
| } | |
| function Eh(e) { | |
| try { | |
| if (decodeURIComponent(e).replace(/[^A-Za-z0-9/:]/g, "").match(/^\s*(javascript|vbscript|data(?!:image)):/i)) return; | |
| } catch { | |
| return null; | |
| } | |
| return e; | |
| } | |
| function Zw(e) { | |
| return e.replace(sL, "$1"); | |
| } | |
| function Cv(e, t, r) { | |
| const o = r.inline || !1, u = r.simple || !1; | |
| r.inline = !0, r.simple = !0; | |
| const h = e(t, r); | |
| return r.inline = o, r.simple = u, h; | |
| } | |
| function yL(e, t, r) { | |
| const o = r.inline || !1, u = r.simple || !1; | |
| r.inline = !1, r.simple = !0; | |
| const h = e(t, r); | |
| return r.inline = o, r.simple = u, h; | |
| } | |
| function bL(e, t, r) { | |
| return r.inline = !1, e(t, r); | |
| } | |
| const vy = (e, t, r) => ({ children: Cv(t, e[1], r) }); | |
| function yy() { | |
| return {}; | |
| } | |
| function by() { | |
| return null; | |
| } | |
| function xL(...e) { | |
| return e.filter(Boolean).join(" "); | |
| } | |
| function xy(e, t, r) { | |
| let o = e; | |
| const u = t.split("."); | |
| for (; u.length && (o = o[u[0]], o !== void 0); ) u.shift(); | |
| return o || r; | |
| } | |
| function wL(e = "", t = {}) { | |
| t.overrides = t.overrides || {}, t.slugify = t.slugify || pL, t.namedCodesToUnicode = t.namedCodesToUnicode ? Zd({}, Yw, t.namedCodesToUnicode) : Yw; | |
| const r = t.createElement || V.createElement; | |
| function o(w, b, ...T) { | |
| const R = xy(t.overrides, `${w}.props`, {}); | |
| return r(function(D, $) { | |
| const Y = xy($, D); | |
| return Y ? typeof Y == "function" || typeof Y == "object" && "render" in Y ? Y : xy($, `${D}.component`, D) : D; | |
| }(w, t.overrides), Zd({}, b, R, { className: xL(b == null ? void 0 : b.className, R.className) || void 0 }), ...T); | |
| } | |
| function u(w) { | |
| w = w.replace(A6, ""); | |
| let b = !1; | |
| t.forceInline ? b = !0 : t.forceBlock || (b = V6.test(w) === !1); | |
| const T = E(m(b ? w : `${w.trimEnd().replace(iL, "")} | |
| `, { inline: b })); | |
| for (; typeof T[T.length - 1] == "string" && !T[T.length - 1].trim(); ) T.pop(); | |
| if (t.wrapper === null) return T; | |
| const R = t.wrapper || (b ? "span" : "div"); | |
| let D; | |
| if (T.length > 1 || t.forceWrapper) D = T; | |
| else { | |
| if (T.length === 1) return D = T[0], typeof D == "string" ? o("span", { key: "outer" }, D) : D; | |
| D = null; | |
| } | |
| return V.createElement(R, { key: "outer" }, D); | |
| } | |
| function h(w) { | |
| const b = w.match(x6); | |
| return b ? b.reduce(function(T, R, D) { | |
| const $ = R.indexOf("="); | |
| if ($ !== -1) { | |
| const Y = function(ie) { | |
| return ie.indexOf("-") !== -1 && ie.match(z6) === null && (ie = ie.replace(B6, function(ye, J) { | |
| return J.toUpperCase(); | |
| })), ie; | |
| }(R.slice(0, $)).trim(), Z = function(ie) { | |
| const ye = ie[0]; | |
| return (ye === '"' || ye === "'") && ie.length >= 2 && ie[ie.length - 1] === ye ? ie.slice(1, -1) : ie; | |
| }(R.slice($ + 1).trim()), ne = Gw[Y] || Y, te = T[ne] = function(ie, ye) { | |
| return ie === "style" ? ye.split(/;\s?/).reduce(function(J, de) { | |
| const ke = de.slice(0, de.indexOf(":")); | |
| return J[ke.trim().replace(/(-[a-z])/g, (se) => se[1].toUpperCase())] = de.slice(ke.length + 1).trim(), J; | |
| }, {}) : ie === "href" || ie === "src" ? Eh(ye) : (ye.match(F6) && (ye = ye.slice(1, ye.length - 1)), ye === "true" || ye !== "false" && ye); | |
| }(Y, Z); | |
| typeof te == "string" && (mb.test(te) || vb.test(te)) && (T[ne] = V.cloneElement(u(te.trim()), { key: D })); | |
| } else R !== "style" && (T[Gw[R] || R] = !0); | |
| return T; | |
| }, {}) : null; | |
| } | |
| const c = [], p = {}, g = { 0: { match: Iu(NC), order: 1, parse: (w, b, T) => ({ children: b(w[0].replace(k6, ""), T) }), render: (w, b, T) => o("blockquote", { key: T.key }, b(w.children, T)) }, 1: { match: Ng(C6), order: 1, parse: yy, render: (w, b, T) => o("br", { key: T.key }) }, 2: { match: Iu(E6), order: 1, parse: yy, render: (w, b, T) => o("hr", { key: T.key }) }, 3: { match: Iu(DC), order: 0, parse: (w) => ({ lang: void 0, text: w[0].replace(/^ {4}/gm, "").replace(/\n+$/, "") }), render: (w, b, T) => o("pre", { key: T.key }, o("code", Zd({}, w.attrs, { className: w.lang ? `lang-${w.lang}` : "" }), w.text)) }, 4: { match: Iu(jC), order: 0, parse: (w) => ({ attrs: h(w[3] || ""), lang: w[2] || void 0, text: w[4], type: "3" }) }, 5: { match: Tc(O6), order: 3, parse: (w) => ({ text: w[2] }), render: (w, b, T) => o("code", { key: T.key }, w.text) }, 6: { match: Iu(T6), order: 0, parse: (w) => (c.push({ footnote: w[2], identifier: w[1] }), {}), render: by }, 7: { match: Ic(R6), order: 1, parse: (w) => ({ target: `#${t.slugify(w[1])}`, text: w[1] }), render: (w, b, T) => o("a", { key: T.key, href: Eh(w.target) }, o("sup", { key: T.key }, w.text)) }, 8: { match: Ic(L6), order: 1, parse: (w) => ({ completed: w[1].toLowerCase() === "x" }), render: (w, b, T) => o("input", { checked: w.completed, key: T.key, readOnly: !0, type: "checkbox" }) }, 9: { match: Iu(t.enforceAtxHeadings ? HC : BC), order: 1, parse: (w, b, T) => ({ children: Cv(b, w[2], T), id: t.slugify(w[2]), level: w[1].length }), render: (w, b, T) => o(`h${w.level}`, { id: w.id, key: T.key }, b(w.children, T)) }, 10: { match: Iu(WC), order: 0, parse: (w, b, T) => ({ children: Cv(b, w[1], T), level: w[2] === "=" ? 1 : 2, type: "9" }) }, 11: { match: Ng(mb), order: 1, parse(w, b, T) { | |
| const [, R] = w[3].match(aL), D = new RegExp(`^${R}`, "gm"), $ = w[3].replace(D, ""), Y = (Z = $, hL.some((ye) => ye.test(Z)) ? bL : Cv); | |
| var Z; | |
| const ne = w[1].toLowerCase(), te = b6.indexOf(ne) !== -1, ie = { attrs: h(w[2]), noInnerParse: te, tag: (te ? ne : w[1]).trim() }; | |
| return T.inAnchor = T.inAnchor || ne === "a", te ? ie.text = w[3] : ie.children = Y(b, $, T), T.inAnchor = !1, ie; | |
| }, render: (w, b, T) => o(w.tag, Zd({ key: T.key }, w.attrs), w.text || b(w.children, T)) }, 13: { match: Ng(vb), order: 1, parse: (w) => ({ attrs: h(w[2] || ""), tag: w[1].trim() }), render: (w, b, T) => o(w.tag, Zd({}, w.attrs, { key: T.key })) }, 12: { match: Ng(UC), order: 1, parse: () => ({}), render: by }, 14: { match: Tc(fL), order: 1, parse: (w) => ({ alt: w[1], target: Zw(w[2]), title: w[3] }), render: (w, b, T) => o("img", { key: T.key, alt: w.alt || void 0, title: w.title || void 0, src: Eh(w.target) }) }, 15: { match: Ic(dL), order: 3, parse: (w, b, T) => ({ children: yL(b, w[1], T), target: Zw(w[2]), title: w[3] }), render: (w, b, T) => o("a", { key: T.key, href: Eh(w.target), title: w.title }, b(w.children, T)) }, 16: { match: Ic(D6), order: 0, parse: (w) => ({ children: [{ text: w[1], type: "27" }], target: w[1], type: "15" }) }, 17: { match: (w, b) => b.inAnchor ? null : Ic(N6)(w, b), order: 0, parse: (w) => ({ children: [{ text: w[1], type: "27" }], target: w[1], title: void 0, type: "15" }) }, 18: { match: Ic(j6), order: 0, parse(w) { | |
| let b = w[1], T = w[1]; | |
| return w6.test(T) || (T = "mailto:" + T), { children: [{ text: b.replace("mailto:", ""), type: "27" }], target: T, type: "15" }; | |
| } }, 20: Xw(o, 1), 33: Xw(o, 2), 19: { match: Iu(P6), order: 3, parse: yy, render: () => ` | |
| ` }, 21: { match: vL, order: 3, parse: vy, render: (w, b, T) => o("p", { key: T.key }, b(w.children, T)) }, 22: { match: Ic(H6), order: 0, parse: (w) => (p[w[1]] = { target: w[2], title: w[4] }, {}), render: by }, 23: { match: Tc(W6), order: 0, parse: (w) => ({ alt: w[1] || void 0, ref: w[2] }), render: (w, b, T) => p[w.ref] ? o("img", { key: T.key, alt: w.alt, src: Eh(p[w.ref].target), title: p[w.ref].title }) : null }, 24: { match: Ic(U6), order: 0, parse: (w, b, T) => ({ children: b(w[1], T), fallbackChildren: b(w[0].replace($6, "\\$1"), T), ref: w[2] }), render: (w, b, T) => p[w.ref] ? o("a", { key: T.key, href: Eh(p[w.ref].target), title: p[w.ref].title }, b(w.children, T)) : o("span", { key: T.key }, b(w.fallbackChildren, T)) }, 25: { match: Iu($C), order: 1, parse: mL, render: (w, b, T) => o("table", { key: T.key }, o("thead", null, o("tr", null, w.header.map(function(R, D) { | |
| return o("th", { key: D, style: Jw(w, D) }, b(R, T)); | |
| }))), o("tbody", null, w.cells.map(function(R, D) { | |
| return o("tr", { key: D }, R.map(function($, Y) { | |
| return o("td", { key: Y, style: Jw(w, Y) }, b($, T)); | |
| })); | |
| }))) }, 26: { match: function(w, b) { | |
| return b.inTable ? (b.inline = !0, G6.exec(w)) : null; | |
| }, order: 1, parse: function() { | |
| return { type: "26" }; | |
| }, render: () => " | " }, 27: { match: Ng(oL), order: 4, parse: (w) => ({ text: w[0].replace(M6, (b, T) => t.namedCodesToUnicode[T] ? t.namedCodesToUnicode[T] : b) }), render: (w) => w.text }, 28: { match: Tc(Z6), order: 2, parse: (w, b, T) => ({ children: b(w[2], T) }), render: (w, b, T) => o("strong", { key: T.key }, b(w.children, T)) }, 29: { match: Tc(eL), order: 3, parse: (w, b, T) => ({ children: b(w[2], T) }), render: (w, b, T) => o("em", { key: T.key }, b(w.children, T)) }, 30: { match: Tc(nL), order: 1, parse: (w) => ({ text: w[1], type: "27" }) }, 31: { match: Tc(tL), order: 3, parse: vy, render: (w, b, T) => o("mark", { key: T.key }, b(w.children, T)) }, 32: { match: Tc(rL), order: 3, parse: vy, render: (w, b, T) => o("del", { key: T.key }, b(w.children, T)) } }; | |
| t.disableParsingRawHTML === !0 && (delete g[11], delete g[13]); | |
| const m = function(w) { | |
| let b = Object.keys(w); | |
| function T(R, D) { | |
| let $ = [], Y = ""; | |
| for (; R; ) { | |
| let Z = 0; | |
| for (; Z < b.length; ) { | |
| const ne = b[Z], te = w[ne], ie = te.match(R, D, Y); | |
| if (ie) { | |
| const ye = ie[0]; | |
| R = R.substring(ye.length); | |
| const J = te.parse(ie, T, D); | |
| J.type == null && (J.type = ne), $.push(J), Y = ye; | |
| break; | |
| } | |
| Z++; | |
| } | |
| } | |
| return $; | |
| } | |
| return b.sort(function(R, D) { | |
| let $ = w[R].order, Y = w[D].order; | |
| return $ !== Y ? $ - Y : R < D ? -1 : 1; | |
| }), function(R, D) { | |
| return T(function($) { | |
| return $.replace(I6, ` | |
| `).replace(_6, "").replace(q6, " "); | |
| }(R), D); | |
| }; | |
| }(g), E = (S = /* @__PURE__ */ function(w, b) { | |
| return function(T, R, D) { | |
| const $ = w[T.type].render; | |
| return b ? b(() => $(T, R, D), T, R, D) : $(T, R, D); | |
| }; | |
| }(g, t.renderRule), function w(b, T = {}) { | |
| if (Array.isArray(b)) { | |
| const R = T.key, D = []; | |
| let $ = !1; | |
| for (let Y = 0; Y < b.length; Y++) { | |
| T.key = Y; | |
| const Z = w(b[Y], T), ne = typeof Z == "string"; | |
| ne && $ ? D[D.length - 1] += Z : Z !== null && D.push(Z), $ = ne; | |
| } | |
| return T.key = R, D; | |
| } | |
| return S(b, w, T); | |
| }); | |
| var S; | |
| const I = u(e); | |
| return c.length ? o("div", null, I, o("footer", { key: "footer" }, c.map(function(w) { | |
| return o("div", { id: t.slugify(w.identifier), key: w.identifier }, w.identifier, E(m(w.footnote, { inline: !0 }))); | |
| }))) : I; | |
| } | |
| const SL = (e) => { | |
| let { children: t = "", options: r } = e, o = function(u, h) { | |
| if (u == null) return {}; | |
| var c, p, g = {}, m = Object.keys(u); | |
| for (p = 0; p < m.length; p++) h.indexOf(c = m[p]) >= 0 || (g[c] = u[c]); | |
| return g; | |
| }(e, y6); | |
| return V.cloneElement(wL(t, r), o); | |
| }; | |
| var kL = yt(["color:", ";"], function(e) { | |
| return jr(e.colorProp, e.theme); | |
| }), CL = function(t) { | |
| var r = t.size || "medium", o = t.theme.paragraph[r]; | |
| return yt(["font-size:", ";line-height:", ";max-width:", ";"], o ? o.size : r, o ? o.height : "normal", t.fillProp ? "none" : o && o.maxWidth); | |
| }, EL = yt(["font-family:", ";"], function(e) { | |
| return e.theme.paragraph.font.family; | |
| }), OL = function(t) { | |
| return t.maxLines && yt(["display:-webkit-box;-webkit-line-clamp:", ";-webkit-box-orient:vertical;overflow:hidden;"], t.maxLines); | |
| }, PL = xr.p.withConfig(Mn).withConfig({ | |
| displayName: "StyledParagraph", | |
| componentId: "sc-tbetod-0" | |
| })(["", " ", " ", " ", " ", " ", " ", ""], Ks, function(e) { | |
| return OL(e); | |
| }, function(e) { | |
| return CL(e); | |
| }, function(e) { | |
| return e.textAlign && l0; | |
| }, function(e) { | |
| return e.colorProp && kL; | |
| }, function(e) { | |
| return e.theme.paragraph.font && e.theme.paragraph.font.family && EL; | |
| }, function(e) { | |
| return e.theme.paragraph && e.theme.paragraph.extend; | |
| }), IL = {}, TL = IL, r2 = /* @__PURE__ */ V.forwardRef(function(e, t) { | |
| var r, o = e.fill, u = e.size, h = On(), c = h.theme, p = u || "medium", g = c.paragraph[p], m = g ? g.size : p; | |
| return /* @__PURE__ */ le.createElement($t, { | |
| ref: t, | |
| gap: (r = c.paragraph) == null || (r = r.skeleton) == null ? void 0 : r.gap, | |
| width: { | |
| max: o ? "none" : g && g.maxWidth | |
| } | |
| }, /* @__PURE__ */ le.createElement(Kc, { | |
| height: m | |
| }), /* @__PURE__ */ le.createElement(Kc, { | |
| height: m | |
| }), /* @__PURE__ */ le.createElement(Kc, { | |
| height: m, | |
| width: "30%" | |
| })); | |
| }); | |
| r2.displayName = "ParagraphSkeleton"; | |
| var RL = ["children", "color", "fill", "size"]; | |
| function Vv() { | |
| return Vv = Object.assign ? Object.assign.bind() : function(e) { | |
| for (var t = 1; t < arguments.length; t++) { | |
| var r = arguments[t]; | |
| for (var o in r) ({}).hasOwnProperty.call(r, o) && (e[o] = r[o]); | |
| } | |
| return e; | |
| }, Vv.apply(null, arguments); | |
| } | |
| function _L(e, t) { | |
| if (e == null) return {}; | |
| var r = {}; | |
| for (var o in e) if ({}.hasOwnProperty.call(e, o)) { | |
| if (t.indexOf(o) !== -1) continue; | |
| r[o] = e[o]; | |
| } | |
| return r; | |
| } | |
| var ep = /* @__PURE__ */ V.forwardRef(function(e, t) { | |
| var r = e.children, o = e.color, u = e.fill, h = e.size, c = _L(e, RL), p = On(), g = p.passThemeFlag, m = np(), E = V.useMemo(function() { | |
| return { | |
| size: h | |
| }; | |
| }, [h]); | |
| return m ? /* @__PURE__ */ le.createElement(r2, Vv({ | |
| ref: t, | |
| fill: u, | |
| size: h | |
| }, c), r) : /* @__PURE__ */ le.createElement(PL, Vv({ | |
| ref: t, | |
| colorProp: o, | |
| fillProp: u, | |
| size: h | |
| }, g, c), r !== void 0 ? /* @__PURE__ */ le.createElement(b1.Provider, { | |
| value: E | |
| }, r) : void 0); | |
| }); | |
| ep.displayName = "Paragraph"; | |
| ep.prototype = TL; | |
| var AL = {}, LL = AL, ML = ["children", "components", "options", "theme"]; | |
| function Jg() { | |
| return Jg = Object.assign ? Object.assign.bind() : function(e) { | |
| for (var t = 1; t < arguments.length; t++) { | |
| var r = arguments[t]; | |
| for (var o in r) ({}).hasOwnProperty.call(r, o) && (e[o] = r[o]); | |
| } | |
| return e; | |
| }, Jg.apply(null, arguments); | |
| } | |
| function zL(e, t) { | |
| if (e == null) return {}; | |
| var r = {}; | |
| for (var o in e) if ({}.hasOwnProperty.call(e, o)) { | |
| if (t.indexOf(o) !== -1) continue; | |
| r[o] = e[o]; | |
| } | |
| return r; | |
| } | |
| var L1 = /* @__PURE__ */ V.forwardRef(function(e, t) { | |
| var r = e.children, o = e.components, u = e.options; | |
| e.theme; | |
| var h = zL(e, ML), c = [1, 2, 3, 4].reduce(function(g, m) { | |
| var E = Jg({}, g); | |
| return E["h" + m] = { | |
| component: Xl, | |
| props: { | |
| level: m | |
| } | |
| }, E; | |
| }, {}), p = nm({ | |
| a: { | |
| component: ip | |
| }, | |
| img: { | |
| component: w1 | |
| }, | |
| p: { | |
| component: ep | |
| }, | |
| table: { | |
| component: AC | |
| }, | |
| td: { | |
| component: $v, | |
| props: { | |
| plain: !0 | |
| } | |
| }, | |
| tbody: { | |
| component: LC | |
| }, | |
| tfoot: { | |
| component: zC | |
| }, | |
| th: { | |
| component: $v | |
| }, | |
| thead: { | |
| component: MC | |
| }, | |
| tr: { | |
| component: _C | |
| } | |
| }, c, o, u && u.overrides); | |
| return /* @__PURE__ */ le.createElement("div", Jg({ | |
| ref: t | |
| }, h), /* @__PURE__ */ le.createElement(SL, { | |
| children: r, | |
| options: Jg({ | |
| wrapper: V.Fragment | |
| }, u, { | |
| overrides: p | |
| }) | |
| })); | |
| }); | |
| L1.propTypes = LL; | |
| var FL = {}, NL = FL, jL = ["ref", "size"], DL = ["children", "color", "size", "message"], BL = ["size", "color", "border"]; | |
| function rf() { | |
| return rf = Object.assign ? Object.assign.bind() : function(e) { | |
| for (var t = 1; t < arguments.length; t++) { | |
| var r = arguments[t]; | |
| for (var o in r) ({}).hasOwnProperty.call(r, o) && (e[o] = r[o]); | |
| } | |
| return e; | |
| }, rf.apply(null, arguments); | |
| } | |
| function yb(e, t) { | |
| if (e == null) return {}; | |
| var r = {}; | |
| for (var o in e) if ({}.hasOwnProperty.call(e, o)) { | |
| if (t.indexOf(o) !== -1) continue; | |
| r[o] = e[o]; | |
| } | |
| return r; | |
| } | |
| var wy = function(t) { | |
| var r = t.ref, o = t.size, u = yb(t, jL), h = On(), c = h.theme; | |
| return /* @__PURE__ */ le.createElement($t, rf({ | |
| flex: !1, | |
| height: o, | |
| width: o, | |
| ref: r, | |
| responsive: c.spinner.responsive | |
| }, u)); | |
| }, M1 = /* @__PURE__ */ V.forwardRef(function(e, t) { | |
| var r = e.children, o = e.color, u = e.size, h = e.message, c = yb(e, DL), p = On(), g = p.theme, m = V.useContext(op); | |
| V.useEffect(function() { | |
| return h != null && h.start ? m(h.start) : typeof h == "string" && m(h), function() { | |
| return (h == null ? void 0 : h.end) && m(h.end); | |
| }; | |
| }, [m, h]); | |
| var E = g.spinner.container, S = E.size, I = E.color, w = E.border, b = yb(E, BL), T = u || S, R = g.spinner.size[T] || T, D = o || I, $ = g.spinner.icon, Y = [{ | |
| side: "all", | |
| color: "background-contrast", | |
| size: u | |
| }, { | |
| side: "top", | |
| color: D, | |
| size: u | |
| }], Z = Array.isArray(w) ? w.map(function(ne) { | |
| return rf({}, ne, { | |
| color: ne.side === "all" ? ne.color || "background-contrast" : D | |
| }); | |
| }) : w; | |
| return r ? /* @__PURE__ */ le.createElement(wy, rf({ | |
| size: R, | |
| ref: t | |
| }, c), r) : $ ? /* @__PURE__ */ le.createElement(wy, rf({ | |
| size: R, | |
| ref: t | |
| }, b, c), /* @__PURE__ */ V.isValidElement($) ? $ : /* @__PURE__ */ le.createElement($, { | |
| size: R, | |
| color: D | |
| })) : /* @__PURE__ */ le.createElement(wy, rf({ | |
| size: R, | |
| ref: t, | |
| border: typeof w > "u" ? Y : Z | |
| }, b, c)); | |
| }); | |
| M1.displayName = "Spinner"; | |
| M1.propTypes = NL; | |
| var HL = yt(["outline:none;border:none;width:100%;-webkit-appearance:none;"]), WL = function(t) { | |
| return t === "horizontal" ? "resize: horizontal;" : t === "vertical" ? "resize: vertical;" : t ? "resize: both;" : "resize: none;"; | |
| }, UL = xr.textarea.withConfig(Mn).withConfig({ | |
| displayName: "StyledTextArea", | |
| componentId: "sc-17i3mwp-0" | |
| })(["", " ", " ", " ", " ", " ", ";max-width:100%;"], sC, function(e) { | |
| return e.resize !== void 0 && WL(e.resize); | |
| }, function(e) { | |
| return e.fillArg && "height: 100%;"; | |
| }, function(e) { | |
| return e.plain && HL; | |
| }, function(e) { | |
| return e.disabled && a0(e.theme.textArea.disabled && e.theme.textArea.disabled.opacity); | |
| }, function(e) { | |
| return e.theme.textArea && e.theme.textArea.extend; | |
| }), $L = {}, VL = $L, qL = ["a11yTitle", "fill", "focusIndicator", "name", "onBlur", "onChange", "onFocus", "onKeyDown", "value"]; | |
| function bb() { | |
| return bb = Object.assign ? Object.assign.bind() : function(e) { | |
| for (var t = 1; t < arguments.length; t++) { | |
| var r = arguments[t]; | |
| for (var o in r) ({}).hasOwnProperty.call(r, o) && (e[o] = r[o]); | |
| } | |
| return e; | |
| }, bb.apply(null, arguments); | |
| } | |
| function GL(e, t) { | |
| if (e == null) return {}; | |
| var r = {}; | |
| for (var o in e) if ({}.hasOwnProperty.call(e, o)) { | |
| if (t.indexOf(o) !== -1) continue; | |
| r[o] = e[o]; | |
| } | |
| return r; | |
| } | |
| var z1 = /* @__PURE__ */ V.forwardRef(function(e, t) { | |
| var r = e.a11yTitle, o = e.fill, u = e.focusIndicator, h = u === void 0 ? !0 : u, c = e.name, p = e.onBlur, g = e.onChange, m = e.onFocus, E = e.onKeyDown, S = e.value, I = GL(e, qL), w = On(), b = w.passThemeFlag, T = V.useContext(Jc), R = T.useFormInput({ | |
| name: c, | |
| value: S | |
| }), D = R[0], $ = R[1], Y = V.useState(), Z = Y[0], ne = Y[1]; | |
| return /* @__PURE__ */ le.createElement(Ql, { | |
| onEsc: function(ie) { | |
| ie.stopPropagation(), ie.nativeEvent.stopImmediatePropagation(); | |
| }, | |
| onKeyDown: E | |
| }, /* @__PURE__ */ le.createElement(UL, bb({ | |
| "aria-label": r, | |
| ref: t, | |
| name: c, | |
| fillArg: o, | |
| focus: Z, | |
| value: D, | |
| focusIndicator: h | |
| }, b, I, { | |
| onFocus: function(ie) { | |
| ne(!0), m && m(ie); | |
| }, | |
| onBlur: function(ie) { | |
| ne(!1), p && p(ie); | |
| }, | |
| onChange: function(ie) { | |
| $(ie.target.value), g && g(ie); | |
| } | |
| }))); | |
| }); | |
| z1.displayName = "TextArea"; | |
| z1.propTypes = VL; | |
| const ho = { | |
| hpe: { | |
| color: { | |
| background: { | |
| default: "#1d1f27", | |
| back: "#1d1f27", | |
| front: "#292d3a", | |
| floating: "#22252e", | |
| contrast: "rgba(255, 255, 255, 0.06)", | |
| "contrast-hover": "rgba(255, 255, 255, 0.1)", | |
| hover: "rgba(255, 255, 255, 0.06)", | |
| active: "rgba(255, 255, 255, 0.06)", | |
| disabled: "rgba(255, 255, 255, 0.07)", | |
| screenOverlay: "rgba(0, 0, 0, 0.12)", | |
| warning: "#3c361e", | |
| ok: "#093d32", | |
| critical: "#552120", | |
| unknown: "rgba(255, 255, 255, 0.06)", | |
| info: "#2b3547", | |
| "primary-strong": "#05cc93", | |
| "primary-strong-hover": "#00e0af", | |
| "primary-xstrong": "#66ebcf", | |
| "selected-primary-strong": "#05cc93", | |
| "selected-primary-strong-hover": "#00e0af", | |
| "selected-primary": "#093d32", | |
| "selected-primary-hover": "#074738", | |
| "neutral-xstrong": "#f7f7f7", | |
| "neutral-xstrong-hover": "#e6e8e9" | |
| }, | |
| border: { | |
| strong: "rgba(255, 255, 255, 0.72)", | |
| default: "rgba(255, 255, 255, 0.36)", | |
| weak: "rgba(255, 255, 255, 0.12)", | |
| disabled: "rgba(255, 255, 255, 0.12)", | |
| selected: "#05cc93", | |
| critical: "#fc6161", | |
| info: "rgba(255, 255, 255, 0.36)", | |
| ok: "rgba(255, 255, 255, 0.36)", | |
| warning: "rgba(255, 255, 255, 0.36)", | |
| unknown: "rgba(255, 255, 255, 0.36)" | |
| }, | |
| text: { | |
| default: "#e6e8e9", | |
| strong: "#ffffff", | |
| weak: "#b1b9be", | |
| placeholder: "#b1b9be", | |
| disabled: "rgba(255, 255, 255, 0.24)", | |
| onPrimaryStrong: "#292d3a", | |
| primary: "#05cc93", | |
| "primary-hover": "#00e0af", | |
| critical: "#ff7b7b", | |
| info: "#e6e8e9", | |
| ok: "#e6e8e9", | |
| warning: "#e6e8e9", | |
| unknown: "#e6e8e9", | |
| heading: "#ffffff", | |
| anchor: "#05cc93", | |
| "anchor-hover": "#00e0af", | |
| onSelectedPrimaryStrong: "#292d3a", | |
| onSelectedPrimary: "#ffffff", | |
| onStrong: "#292d3a", | |
| "onCritical-strong": "#ffffff", | |
| onCritical: "#e6e8e9", | |
| "onInfo-strong": "#ffffff", | |
| onInfo: "#e6e8e9", | |
| "onOk-strong": "#ffffff", | |
| onOk: "#e6e8e9", | |
| "onUnknown-strong": "#ffffff", | |
| onUnknown: "#e6e8e9", | |
| "onWarning-strong": "#ffffff", | |
| onWarning: "#e6e8e9" | |
| }, | |
| icon: { | |
| default: "#e6e8e9", | |
| strong: "#ffffff", | |
| weak: "#b1b9be", | |
| disabled: "rgba(255, 255, 255, 0.24)", | |
| critical: "#fc6161", | |
| info: "#65aef9", | |
| ok: "#05cc93", | |
| warning: "#ec8c25", | |
| unknown: "#7d8a92", | |
| primary: "#05cc93", | |
| "primary-hover": "#66ebcf", | |
| onPrimaryStrong: "#292d3a", | |
| onSelectedPrimaryStrong: "#292d3a", | |
| onSelectedPrimary: "#ffffff", | |
| onStrong: "#292d3a" | |
| }, | |
| decorative: { | |
| brand: "#01a982", | |
| green: "#068667", | |
| purple: "#7764fc", | |
| cyan: "#00a4b3", | |
| blue: "#0070f8", | |
| neutral: "#b1b9be", | |
| "neutral-hover": "#d4d8db" | |
| }, | |
| dataVis: { | |
| "categorical-10": "#65aef9", | |
| "categorical-20": "#00e0af", | |
| "categorical-30": "#9b84fc", | |
| "categorical-40": "#0070f8", | |
| "categorical-50": "#cc54a4", | |
| "categorical-60": "#00dbe4", | |
| "categorical-70": "#c98ad4", | |
| "categorical-80": "#e5786a" | |
| }, | |
| transparent: "rgba(0, 0, 0, 0)", | |
| focus: "#ffffff", | |
| foreground: { | |
| primary: "#05cc93", | |
| critical: "#fc6161", | |
| warning: "#ec8c25", | |
| unknown: "#7d8a92" | |
| }, | |
| "focus-support": "#292d3a" | |
| }, | |
| shadow: { | |
| small: "0 2px 4px rgba(0, 0, 0, 0.24) ", | |
| medium: "0px 6px 12px 0px rgba(0, 0, 0, 0.36) ", | |
| large: "0px 12px 24px 0px rgba(0, 0, 0, 0.48) " | |
| } | |
| } | |
| }, lo = { | |
| hpe: { | |
| color: { | |
| background: { | |
| default: "#ffffff", | |
| back: "#f7f7f7", | |
| front: "#ffffff", | |
| floating: "#ffffff", | |
| contrast: "rgba(0, 0, 0, 0.04)", | |
| "contrast-hover": "rgba(0, 0, 0, 0.08)", | |
| hover: "rgba(0, 0, 0, 0.04)", | |
| active: "rgba(0, 0, 0, 0.04)", | |
| disabled: "rgba(0, 0, 0, 0.04)", | |
| screenOverlay: "rgba(0, 0, 0, 0.12)", | |
| warning: "#fff3dd", | |
| ok: "#d1ffee", | |
| critical: "#ffecec", | |
| unknown: "rgba(0, 0, 0, 0.04)", | |
| info: "#e3f1ff", | |
| "primary-strong": "#068667", | |
| "primary-strong-hover": "#006750", | |
| "primary-xstrong": "#093d32", | |
| "selected-primary-strong": "#068667", | |
| "selected-primary-strong-hover": "#006750", | |
| "selected-primary": "#d1ffee", | |
| "selected-primary-hover": "#aafade", | |
| "neutral-xstrong": "#292d3a", | |
| "neutral-xstrong-hover": "#3e4550" | |
| }, | |
| border: { | |
| strong: "#3e4550", | |
| default: "#b1b9be", | |
| weak: "#d4d8db", | |
| disabled: "rgba(0, 0, 0, 0.12)", | |
| selected: "#006750", | |
| critical: "#cc1f1a", | |
| info: "#b1b9be", | |
| ok: "#b1b9be", | |
| warning: "#b1b9be", | |
| unknown: "#b1b9be" | |
| }, | |
| text: { | |
| default: "#3e4550", | |
| strong: "#292d3a", | |
| weak: "#606a70", | |
| placeholder: "#606a70", | |
| disabled: "rgba(0, 0, 0, 0.24)", | |
| onPrimaryStrong: "#ffffff", | |
| primary: "#006750", | |
| "primary-hover": "#074738", | |
| critical: "#cc1f1a", | |
| info: "#3e4550", | |
| ok: "#3e4550", | |
| warning: "#3e4550", | |
| unknown: "#3e4550", | |
| heading: "#292d3a", | |
| anchor: "#006750", | |
| "anchor-hover": "#074738", | |
| onSelectedPrimaryStrong: "#ffffff", | |
| onSelectedPrimary: "#292d3a", | |
| onStrong: "#ffffff", | |
| "onCritical-strong": "#292d3a", | |
| onCritical: "#3e4550", | |
| "onInfo-strong": "#292d3a", | |
| onInfo: "#3e4550", | |
| "onOk-strong": "#292d3a", | |
| onOk: "#3e4550", | |
| "onUnknown-strong": "#292d3a", | |
| onUnknown: "#3e4550", | |
| "onWarning-strong": "#292d3a", | |
| onWarning: "#3e4550" | |
| }, | |
| icon: { | |
| default: "#3e4550", | |
| strong: "#292d3a", | |
| weak: "#606a70", | |
| disabled: "rgba(0, 0, 0, 0.24)", | |
| critical: "#ec3331", | |
| info: "#0055da", | |
| ok: "#009a71", | |
| warning: "#d36d00", | |
| unknown: "#606a70", | |
| primary: "#006750", | |
| "primary-hover": "#074738", | |
| onPrimaryStrong: "#ffffff", | |
| onSelectedPrimaryStrong: "#ffffff", | |
| onSelectedPrimary: "#292d3a", | |
| onStrong: "#ffffff" | |
| }, | |
| decorative: { | |
| brand: "#01a982", | |
| green: "#05cc93", | |
| purple: "#7764fc", | |
| cyan: "#62e5f6", | |
| blue: "#0070f8", | |
| neutral: "#7d8a92", | |
| "neutral-hover": "#606a70" | |
| }, | |
| dataVis: { | |
| "categorical-10": "#0070f8", | |
| "categorical-20": "#009a71", | |
| "categorical-30": "#7764fc", | |
| "categorical-40": "#003cae", | |
| "categorical-50": "#cc54a4", | |
| "categorical-60": "#04909d", | |
| "categorical-70": "#6c2b7c", | |
| "categorical-80": "#d25f4b" | |
| }, | |
| transparent: "rgba(0, 0, 0, 0)", | |
| focus: "#292d3a", | |
| foreground: { | |
| primary: "#006750", | |
| critical: "#ec3331", | |
| warning: "#d36d00", | |
| unknown: "#7d8a92" | |
| }, | |
| "focus-support": "#ffffff" | |
| }, | |
| shadow: { | |
| small: "0 2px 4px rgba(0, 0, 0, 0.12) ", | |
| medium: "0px 6px 12px 0px rgba(0, 0, 0, 0.12) ", | |
| large: "0px 12px 24px 0px rgba(0, 0, 0, 0.24) " | |
| } | |
| } | |
| }, n2 = { | |
| hpe: { | |
| element: { | |
| xsmall: { | |
| minHeight: "24px", | |
| textToElementX: "3px", | |
| textToIconX: "3px", | |
| fontSize: "0.75rem", | |
| lineHeight: "1rem", | |
| borderWidth: "default", | |
| paddingY: "3px", | |
| paddingX: { | |
| narrow: "3px", | |
| default: "6px", | |
| wide: "9px" | |
| }, | |
| icon: { | |
| size: "12px" | |
| }, | |
| width: "24px", | |
| height: "24px" | |
| }, | |
| small: { | |
| borderWidth: "1px", | |
| paddingY: "3px", | |
| fontSize: "0.875rem", | |
| lineHeight: "1.25rem", | |
| minHeight: "28px", | |
| width: "28px", | |
| height: "28px", | |
| textToElementX: "12px", | |
| textToIconX: "6px", | |
| paddingX: { | |
| narrow: "3px", | |
| default: "6px", | |
| wide: "12px" | |
| }, | |
| icon: { | |
| size: "14px" | |
| } | |
| }, | |
| medium: { | |
| fontSize: "1rem", | |
| lineHeight: "1.5rem", | |
| minHeight: "36px", | |
| width: "36px", | |
| height: "36px", | |
| textToElementX: "12px", | |
| textToIconX: "6px", | |
| borderWidth: "default", | |
| paddingY: "5px", | |
| paddingX: { | |
| narrow: "5px", | |
| default: "10px", | |
| wide: "18px" | |
| }, | |
| icon: { | |
| size: "16px" | |
| } | |
| }, | |
| large: { | |
| fontSize: "1.125rem", | |
| lineHeight: "1.75rem", | |
| minHeight: "48px", | |
| width: "48px", | |
| height: "48px", | |
| textToElementX: "12px", | |
| textToIconX: "6px", | |
| borderWidth: "default", | |
| paddingY: "9px", | |
| paddingX: { | |
| narrow: "9px", | |
| default: "18px", | |
| wide: "24px" | |
| }, | |
| icon: { | |
| size: "18px" | |
| } | |
| }, | |
| xlarge: { | |
| fontSize: "1.25rem", | |
| lineHeight: "1.875rem", | |
| minHeight: "72px", | |
| width: "72px", | |
| height: "72px", | |
| textToElementX: "12px", | |
| textToIconX: "6px", | |
| borderWidth: "default", | |
| paddingY: "20px", | |
| paddingX: { | |
| narrow: "20px", | |
| default: "24px", | |
| wide: "32px" | |
| }, | |
| icon: { | |
| size: "20px" | |
| } | |
| } | |
| }, | |
| select: { | |
| default: { | |
| medium: { | |
| option: { | |
| paddingX: "12px", | |
| paddingY: "5px", | |
| minHeight: "36px", | |
| borderRadius: "6px", | |
| borderWidth: "1px", | |
| fontSize: "1rem", | |
| lineHeight: "1.5rem", | |
| marker: { | |
| width: "6px", | |
| borderTopLeftRadius: "9999px", | |
| borderTopRightRadius: "0px", | |
| borderBottomLeftRadius: "9999px", | |
| borderBottomRightRadius: "0px", | |
| top: "-1px", | |
| bottom: "-1px", | |
| left: "-1px" | |
| } | |
| }, | |
| drop: { | |
| paddingX: "6px", | |
| paddingY: "6px", | |
| gapY: "6px", | |
| borderRadius: "xsmall", | |
| borderWidth: "0px" | |
| } | |
| }, | |
| option: { | |
| rest: { | |
| background: "transparent", | |
| borderColor: "transparent", | |
| textColor: "text-default", | |
| iconColor: "icon-default", | |
| fontWeight: 500 | |
| }, | |
| hover: { | |
| background: "background-hover", | |
| borderColor: "transparent", | |
| textColor: "text-default", | |
| iconColor: "icon-default", | |
| fontWeight: 500 | |
| }, | |
| disabled: { | |
| rest: { | |
| background: "background-disabled", | |
| borderColor: "transparent", | |
| textColor: "text-disabled", | |
| iconColor: "icon-disabled", | |
| fontWeight: 500 | |
| } | |
| }, | |
| selected: { | |
| rest: { | |
| background: "background-selected-primary", | |
| borderColor: "transparent", | |
| textColor: "text-onSelectedPrimary", | |
| iconColor: "icon-onSelectedPrimary", | |
| fontWeight: 500 | |
| }, | |
| hover: { | |
| background: "background-selected-primary-hover", | |
| borderColor: "transparent", | |
| textColor: "text-onSelectedPrimary", | |
| iconColor: "icon-onSelectedPrimary", | |
| fontWeight: 500 | |
| } | |
| }, | |
| marker: { | |
| rest: { | |
| background: "border-selected" | |
| }, | |
| hover: { | |
| background: "border-selected" | |
| }, | |
| disabled: { | |
| rest: { | |
| background: "border-disabled" | |
| } | |
| } | |
| } | |
| }, | |
| drop: { | |
| background: "background-floating", | |
| borderColor: "transparent" | |
| } | |
| } | |
| }, | |
| button: { | |
| primary: { | |
| rest: { | |
| background: "background-neutral-xstrong", | |
| borderColor: "transparent", | |
| textColor: "text-onStrong", | |
| iconColor: "icon-onStrong", | |
| fontWeight: 500 | |
| }, | |
| disabled: { | |
| rest: { | |
| background: "background-disabled", | |
| borderColor: "transparent", | |
| textColor: "text-disabled", | |
| iconColor: "icon-disabled", | |
| fontWeight: 500 | |
| } | |
| }, | |
| hover: { | |
| background: "background-neutral-xstrong-hover", | |
| borderColor: "transparent", | |
| textColor: "text-onStrong", | |
| iconColor: "icon-onStrong", | |
| fontWeight: 500 | |
| }, | |
| selected: { | |
| rest: { | |
| background: "background-neutral-xstrong", | |
| borderColor: "transparent", | |
| textColor: "text-onStrong", | |
| iconColor: "icon-onStrong", | |
| fontWeight: 500 | |
| }, | |
| hover: { | |
| background: "background-neutral-xstrong-hover", | |
| borderColor: "transparent", | |
| textColor: "text-onStrong", | |
| iconColor: "icon-onStrong", | |
| fontWeight: 500 | |
| } | |
| }, | |
| xsmall: { | |
| paddingX: "12px", | |
| paddingY: "3px", | |
| borderRadius: "9999px", | |
| borderWidth: "default", | |
| minHeight: "24px", | |
| fontSize: "0.75rem", | |
| iconOnly: { | |
| paddingX: "4px", | |
| paddingY: "4px", | |
| borderRadius: "9999px", | |
| borderWidth: "default", | |
| minHeight: "24px", | |
| minWidth: "24px", | |
| fontSize: "0.75rem", | |
| lineHeight: "1rem", | |
| gapX: "3px" | |
| }, | |
| lineHeight: "1rem", | |
| gapX: "3px" | |
| }, | |
| small: { | |
| paddingX: "12px", | |
| paddingY: "3px", | |
| borderRadius: "9999px", | |
| borderWidth: "1px", | |
| minHeight: "28px", | |
| fontSize: "0.875rem", | |
| lineHeight: "1.25rem", | |
| gapX: "6px", | |
| iconOnly: { | |
| paddingX: "5px", | |
| paddingY: "5px", | |
| borderRadius: "9999px", | |
| borderWidth: "1px", | |
| minHeight: "28px", | |
| minWidth: "28px", | |
| fontSize: "0.875rem", | |
| lineHeight: "1.25rem", | |
| gapX: "6px" | |
| } | |
| }, | |
| medium: { | |
| paddingX: "18px", | |
| paddingY: "5px", | |
| borderRadius: "9999px", | |
| borderWidth: "1px", | |
| minHeight: "36px", | |
| fontSize: "1rem", | |
| lineHeight: "1.5rem", | |
| gapX: "6px", | |
| iconOnly: { | |
| paddingX: "9px", | |
| paddingY: "9px", | |
| borderRadius: "9999px", | |
| borderWidth: "1px", | |
| minHeight: "36px", | |
| minWidth: "36px", | |
| fontSize: "1rem", | |
| lineHeight: "1.5rem", | |
| gapX: "6px" | |
| } | |
| }, | |
| large: { | |
| paddingX: "24px", | |
| paddingY: "9px", | |
| borderRadius: "9999px", | |
| borderWidth: "1px", | |
| minHeight: "48px", | |
| fontSize: "1.125rem", | |
| lineHeight: "1.75rem", | |
| gapX: "6px", | |
| iconOnly: { | |
| borderRadius: "9999px", | |
| borderWidth: "1px", | |
| minHeight: "48px", | |
| minWidth: "48px", | |
| fontSize: "1.125rem", | |
| lineHeight: "1.75rem", | |
| gapX: "6px", | |
| paddingX: "12px", | |
| paddingY: "12px" | |
| } | |
| }, | |
| xlarge: { | |
| iconOnly: { | |
| borderRadius: "9999px", | |
| borderWidth: "1px", | |
| minHeight: "72px", | |
| minWidth: "72px", | |
| fontSize: "1.25rem", | |
| lineHeight: "1.875rem", | |
| gapX: "6px", | |
| paddingX: "23px", | |
| paddingY: "23px" | |
| }, | |
| paddingX: "32px", | |
| paddingY: "20px", | |
| borderRadius: "9999px", | |
| borderWidth: "1px", | |
| minHeight: "72px", | |
| fontSize: "1.25rem", | |
| lineHeight: "1.875rem", | |
| gapX: "6px" | |
| } | |
| }, | |
| secondary: { | |
| rest: { | |
| background: "background-contrast", | |
| borderColor: "transparent", | |
| textColor: "text-strong", | |
| iconColor: "icon-strong", | |
| fontWeight: 500 | |
| }, | |
| hover: { | |
| background: "background-contrast-hover", | |
| borderColor: "transparent", | |
| textColor: "text-strong", | |
| iconColor: "icon-strong", | |
| fontWeight: 500 | |
| }, | |
| disabled: { | |
| rest: { | |
| background: "background-disabled", | |
| borderColor: "transparent", | |
| textColor: "text-disabled", | |
| iconColor: "icon-disabled", | |
| fontWeight: 500 | |
| } | |
| }, | |
| selected: { | |
| rest: { | |
| background: "background-selected-primary", | |
| borderColor: "transparent", | |
| textColor: "text-primary", | |
| iconColor: "icon-primary", | |
| fontWeight: 600 | |
| }, | |
| hover: { | |
| background: "background-selected-primary-hover", | |
| borderColor: "transparent", | |
| textColor: "text-primary", | |
| iconColor: "icon-primary", | |
| fontWeight: 600 | |
| } | |
| }, | |
| xsmall: { | |
| paddingX: "12px", | |
| paddingY: "3px", | |
| borderRadius: "9999px", | |
| borderWidth: "default", | |
| minHeight: "24px", | |
| fontSize: "0.75rem", | |
| lineHeight: "1rem", | |
| gapX: "3px", | |
| iconOnly: { | |
| paddingX: "4px", | |
| paddingY: "4px", | |
| borderRadius: "9999px", | |
| borderWidth: "default", | |
| minHeight: "24px", | |
| minWidth: "24px", | |
| fontSize: "0.75rem", | |
| lineHeight: "1rem", | |
| gapX: "3px" | |
| } | |
| }, | |
| small: { | |
| paddingX: "12px", | |
| paddingY: "3px", | |
| borderRadius: "9999px", | |
| borderWidth: "1px", | |
| minHeight: "28px", | |
| fontSize: "0.875rem", | |
| lineHeight: "1.25rem", | |
| gapX: "6px", | |
| iconOnly: { | |
| paddingX: "5px", | |
| paddingY: "5px", | |
| borderRadius: "9999px", | |
| borderWidth: "1px", | |
| minHeight: "28px", | |
| minWidth: "28px", | |
| fontSize: "0.875rem", | |
| lineHeight: "1.25rem", | |
| gapX: "6px" | |
| } | |
| }, | |
| medium: { | |
| paddingX: "18px", | |
| paddingY: "5px", | |
| borderRadius: "9999px", | |
| borderWidth: "1px", | |
| minHeight: "36px", | |
| fontSize: "1rem", | |
| lineHeight: "1.5rem", | |
| gapX: "6px", | |
| iconOnly: { | |
| paddingX: "8px", | |
| paddingY: "8px", | |
| borderRadius: "9999px", | |
| borderWidth: "1px", | |
| minHeight: "36px", | |
| minWidth: "36px", | |
| fontSize: "1rem", | |
| lineHeight: "1.5rem", | |
| gapX: "6px" | |
| } | |
| }, | |
| large: { | |
| paddingX: "24px", | |
| paddingY: "9px", | |
| borderRadius: "9999px", | |
| borderWidth: "1px", | |
| minHeight: "48px", | |
| fontSize: "1.125rem", | |
| lineHeight: "1.75rem", | |
| gapX: "6px", | |
| iconOnly: { | |
| borderRadius: "9999px", | |
| borderWidth: "1px", | |
| minHeight: "48px", | |
| minWidth: "48px", | |
| fontSize: "1.125rem", | |
| lineHeight: "1.75rem", | |
| gapX: "6px", | |
| paddingX: "12px", | |
| paddingY: "12px" | |
| } | |
| }, | |
| xlarge: { | |
| iconOnly: { | |
| borderRadius: "9999px", | |
| borderWidth: "1px", | |
| minHeight: "72px", | |
| minWidth: "72px", | |
| fontSize: "1.25rem", | |
| lineHeight: "1.875rem", | |
| gapX: "6px", | |
| paddingX: "23px", | |
| paddingY: "23px" | |
| }, | |
| paddingX: "32px", | |
| paddingY: "20px", | |
| borderRadius: "9999px", | |
| borderWidth: "1px", | |
| minHeight: "72px", | |
| fontSize: "1.25rem", | |
| lineHeight: "1.875rem", | |
| gapX: "6px" | |
| } | |
| }, | |
| default: { | |
| rest: { | |
| background: "transparent", | |
| borderColor: "transparent", | |
| textColor: "text-strong", | |
| iconColor: "icon-strong", | |
| fontWeight: 500 | |
| }, | |
| disabled: { | |
| rest: { | |
| background: "transparent", | |
| borderColor: "transparent", | |
| textColor: "text-disabled", | |
| iconColor: "icon-disabled", | |
| fontWeight: 500 | |
| } | |
| }, | |
| hover: { | |
| background: "background-hover", | |
| borderColor: "transparent", | |
| textColor: "text-strong", | |
| iconColor: "icon-strong", | |
| fontWeight: 500 | |
| }, | |
| selected: { | |
| rest: { | |
| background: "background-active", | |
| borderColor: "transparent", | |
| textColor: "text-primary", | |
| iconColor: "icon-primary", | |
| fontWeight: 600 | |
| }, | |
| hover: { | |
| background: "background-contrast-hover", | |
| borderColor: "transparent", | |
| textColor: "text-primary", | |
| iconColor: "icon-primary", | |
| fontWeight: 600 | |
| } | |
| }, | |
| xsmall: { | |
| paddingX: "12px", | |
| paddingY: "3px", | |
| borderRadius: "9999px", | |
| borderWidth: "default", | |
| minHeight: "24px", | |
| fontSize: "0.75rem", | |
| lineHeight: "1rem", | |
| gapX: "3px", | |
| iconOnly: { | |
| paddingX: "4px", | |
| paddingY: "4px", | |
| borderRadius: "9999px", | |
| borderWidth: "default", | |
| minHeight: "24px", | |
| minWidth: "24px", | |
| fontSize: "0.75rem", | |
| lineHeight: "1rem", | |
| gapX: "3px" | |
| } | |
| }, | |
| small: { | |
| paddingX: "12px", | |
| paddingY: "3px", | |
| borderRadius: "9999px", | |
| borderWidth: "1px", | |
| minHeight: "28px", | |
| fontSize: "0.875rem", | |
| lineHeight: "1.25rem", | |
| gapX: "6px", | |
| iconOnly: { | |
| paddingX: "5px", | |
| paddingY: "5px", | |
| borderRadius: "9999px", | |
| borderWidth: "1px", | |
| minHeight: "28px", | |
| minWidth: "28px", | |
| fontSize: "0.875rem", | |
| lineHeight: "1.25rem", | |
| gapX: "6px" | |
| } | |
| }, | |
| medium: { | |
| paddingX: "18px", | |
| paddingY: "5px", | |
| borderRadius: "9999px", | |
| borderWidth: "1px", | |
| minHeight: "36px", | |
| fontSize: "1rem", | |
| lineHeight: "1.5rem", | |
| gapX: "6px", | |
| iconOnly: { | |
| paddingX: "9px", | |
| paddingY: "9px", | |
| borderRadius: "9999px", | |
| borderWidth: "1px", | |
| minHeight: "36px", | |
| minWidth: "36px", | |
| fontSize: "1rem", | |
| lineHeight: "1.5rem", | |
| gapX: "6px" | |
| } | |
| }, | |
| large: { | |
| paddingX: "24px", | |
| paddingY: "9px", | |
| borderRadius: "9999px", | |
| borderWidth: "1px", | |
| minHeight: "48px", | |
| fontSize: "1.125rem", | |
| lineHeight: "1.75rem", | |
| gapX: "6px", | |
| iconOnly: { | |
| borderRadius: "9999px", | |
| borderWidth: "1px", | |
| minHeight: "48px", | |
| minWidth: "48px", | |
| fontSize: "1.125rem", | |
| lineHeight: "1.75rem", | |
| gapX: "6px", | |
| paddingX: "12px", | |
| paddingY: "12px" | |
| } | |
| }, | |
| xlarge: { | |
| iconOnly: { | |
| borderRadius: "9999px", | |
| borderWidth: "1px", | |
| minHeight: "72px", | |
| minWidth: "72px", | |
| fontSize: "1.25rem", | |
| lineHeight: "1.875rem", | |
| gapX: "6px", | |
| paddingX: "23px", | |
| paddingY: "23px" | |
| }, | |
| paddingX: "32px", | |
| paddingY: "20px", | |
| borderRadius: "9999px", | |
| borderWidth: "1px", | |
| minHeight: "72px", | |
| fontSize: "1.25rem", | |
| lineHeight: "1.875rem", | |
| gapX: "6px" | |
| } | |
| }, | |
| toolbar: { | |
| rest: { | |
| background: "transparent", | |
| borderColor: "transparent", | |
| textColor: "text-default", | |
| iconColor: "icon-default", | |
| fontWeight: 500 | |
| }, | |
| hover: { | |
| background: "background-hover", | |
| borderColor: "transparent", | |
| textColor: "text-default", | |
| iconColor: "icon-default", | |
| fontWeight: 500 | |
| }, | |
| disabled: { | |
| rest: { | |
| background: "transparent", | |
| borderColor: "transparent", | |
| textColor: "text-disabled", | |
| iconColor: "icon-disabled", | |
| fontWeight: 500 | |
| } | |
| }, | |
| selected: { | |
| rest: { | |
| background: "background-selected-primary", | |
| borderColor: "border-selected", | |
| textColor: "text-primary", | |
| iconColor: "icon-primary", | |
| fontWeight: 500 | |
| }, | |
| hover: { | |
| background: "background-selected-primary-hover", | |
| borderColor: "border-selected", | |
| textColor: "text-primary", | |
| iconColor: "icon-primary", | |
| fontWeight: 500 | |
| } | |
| }, | |
| xsmall: { | |
| paddingX: "6px", | |
| paddingY: "3px", | |
| borderRadius: "6px", | |
| borderWidth: "1px", | |
| minHeight: "24px", | |
| fontSize: "0.75rem", | |
| lineHeight: "1rem", | |
| iconOnly: { | |
| paddingX: "4px", | |
| paddingY: "4px", | |
| borderRadius: "6px", | |
| borderWidth: "1px", | |
| minHeight: "24px", | |
| minWidth: "24px", | |
| fontSize: "0.75rem", | |
| lineHeight: "1rem", | |
| gapX: "3px" | |
| }, | |
| gapX: "3px" | |
| }, | |
| small: { | |
| paddingX: "6px", | |
| paddingY: "3px", | |
| borderRadius: "6px", | |
| borderWidth: "1px", | |
| minHeight: "28px", | |
| fontSize: "0.875rem", | |
| lineHeight: "1.25rem", | |
| gapX: "3px", | |
| iconOnly: { | |
| paddingX: "5px", | |
| paddingY: "5px", | |
| borderRadius: "6px", | |
| borderWidth: "1px", | |
| minHeight: "28px", | |
| minWidth: "28px", | |
| fontSize: "0.875rem", | |
| lineHeight: "1.25rem", | |
| gapX: "3px" | |
| } | |
| }, | |
| medium: { | |
| paddingX: "10px", | |
| paddingY: "5px", | |
| borderRadius: "6px", | |
| borderWidth: "default", | |
| minHeight: "36px", | |
| fontSize: "1rem", | |
| lineHeight: "1.5rem", | |
| gapX: "6px", | |
| iconOnly: { | |
| paddingX: "9px", | |
| paddingY: "9px", | |
| borderRadius: "6px", | |
| borderWidth: "default", | |
| minHeight: "36px", | |
| minWidth: "36px", | |
| fontSize: "1rem", | |
| lineHeight: "1.5rem", | |
| gapX: "6px" | |
| } | |
| }, | |
| large: { | |
| paddingX: "10px", | |
| paddingY: "9px", | |
| borderRadius: "6px", | |
| borderWidth: "default", | |
| minHeight: "48px", | |
| fontSize: "1.125rem", | |
| lineHeight: "1.75rem", | |
| gapX: "6px", | |
| iconOnly: { | |
| borderRadius: "6px", | |
| borderWidth: "default", | |
| minHeight: "48px", | |
| minWidth: "48px", | |
| fontSize: "1.125rem", | |
| lineHeight: "1.75rem", | |
| gapX: "6px", | |
| paddingX: "14px", | |
| paddingY: "12px" | |
| } | |
| }, | |
| xlarge: { | |
| iconOnly: { | |
| borderRadius: "12px", | |
| borderWidth: "1px", | |
| minHeight: "72px", | |
| minWidth: "72px", | |
| fontSize: "1.25rem", | |
| lineHeight: "1.875rem", | |
| gapX: "6px", | |
| paddingX: "23px", | |
| paddingY: "23px" | |
| }, | |
| paddingX: "32px", | |
| paddingY: "20px", | |
| borderRadius: "12px", | |
| borderWidth: "1px", | |
| minHeight: "72px", | |
| fontSize: "1.25rem", | |
| lineHeight: "1.875rem", | |
| gapX: "6px" | |
| } | |
| } | |
| }, | |
| menu: { | |
| default: { | |
| item: { | |
| rest: { | |
| background: "transparent", | |
| borderColor: "transparent", | |
| textColor: "text-strong", | |
| iconColor: "icon-strong", | |
| fontWeight: 500 | |
| }, | |
| hover: { | |
| background: "background-hover", | |
| borderColor: "transparent", | |
| textColor: "text-strong", | |
| iconColor: "icon-strong", | |
| fontWeight: 500 | |
| }, | |
| disabled: { | |
| rest: { | |
| background: "transparent", | |
| borderColor: "transparent", | |
| textColor: "text-disabled", | |
| iconColor: "icon-disabled", | |
| fontWeight: 500 | |
| } | |
| } | |
| }, | |
| drop: { | |
| background: "background-floating", | |
| borderColor: "transparent" | |
| }, | |
| group: { | |
| separator: { | |
| background: "border-default" | |
| } | |
| }, | |
| medium: { | |
| drop: { | |
| paddingX: "none", | |
| paddingY: "none", | |
| gapY: "none", | |
| borderRadius: "xsmall", | |
| borderWidth: "none" | |
| }, | |
| item: { | |
| paddingX: "18px", | |
| paddingY: "5px", | |
| borderRadius: "6px", | |
| borderWidth: "1px", | |
| minHeight: "36px", | |
| fontSize: "1rem", | |
| lineHeight: "1.5rem", | |
| gapX: "6px" | |
| }, | |
| group: { | |
| container: { | |
| paddingY: "6px", | |
| paddingX: "6px", | |
| gapY: "0px" | |
| }, | |
| separator: { | |
| height: "1px" | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| drop: { | |
| default: { | |
| background: "background-floating", | |
| borderRadius: "xsmall", | |
| margin: "6px", | |
| zIndex: 110, | |
| boxShadow: "medium" | |
| } | |
| }, | |
| checkbox: { | |
| default: { | |
| control: { | |
| rest: { | |
| background: "transparent", | |
| borderColor: "border-default" | |
| }, | |
| hover: { | |
| background: "background-hover", | |
| borderColor: "border-strong" | |
| }, | |
| disabled: { | |
| rest: { | |
| background: "transparent", | |
| borderColor: "border-disabled", | |
| iconColor: "icon-disabled" | |
| } | |
| }, | |
| selected: { | |
| rest: { | |
| background: "background-selected-primary-strong", | |
| borderColor: "transparent", | |
| iconColor: "icon-onSelectedPrimaryStrong" | |
| }, | |
| hover: { | |
| background: "background-selected-primary-strong-hover", | |
| borderColor: "transparent", | |
| iconColor: "icon-onSelectedPrimaryStrong" | |
| } | |
| }, | |
| indeterminate: { | |
| rest: { | |
| background: "background-selected-primary-strong", | |
| borderColor: "transparent", | |
| iconColor: "icon-onSelectedPrimaryStrong" | |
| }, | |
| hover: { | |
| background: "background-selected-primary-strong-hover", | |
| borderColor: "transparent", | |
| iconColor: "icon-onSelectedPrimaryStrong" | |
| } | |
| } | |
| }, | |
| label: { | |
| rest: { | |
| textColor: "text-default", | |
| fontWeight: 400 | |
| }, | |
| hover: { | |
| textColor: "text-default", | |
| fontWeight: 400 | |
| }, | |
| disabled: { | |
| rest: { | |
| textColor: "text-disabled", | |
| fontWeight: 400 | |
| } | |
| }, | |
| selected: { | |
| rest: { | |
| textColor: "text-default", | |
| fontWeight: 400 | |
| }, | |
| hover: { | |
| textColor: "text-default", | |
| fontWeight: 400 | |
| } | |
| } | |
| }, | |
| medium: { | |
| gapX: "12px", | |
| label: { | |
| fontSize: "1rem", | |
| lineHeight: "1.5rem" | |
| }, | |
| control: { | |
| height: "24px", | |
| width: "24px", | |
| borderWidth: "default", | |
| borderRadius: "6px" | |
| } | |
| } | |
| } | |
| }, | |
| switch: { | |
| default: { | |
| control: { | |
| track: { | |
| rest: { | |
| background: "decorative-neutral", | |
| borderColor: "transparent" | |
| }, | |
| hover: { | |
| background: "decorative-neutral-hover", | |
| borderColor: "transparent" | |
| }, | |
| disabled: { | |
| rest: { | |
| background: "background-disabled", | |
| borderColor: "transparent" | |
| } | |
| }, | |
| selected: { | |
| rest: { | |
| background: "background-selected-primary-strong", | |
| borderColor: "transparent" | |
| }, | |
| hover: { | |
| background: "background-selected-primary-strong-hover", | |
| borderColor: "transparent" | |
| } | |
| } | |
| }, | |
| handle: { | |
| rest: { | |
| background: "background-front", | |
| borderColor: "transparent", | |
| boxShadow: "small" | |
| }, | |
| hover: { | |
| background: "background-default", | |
| borderColor: "transparent", | |
| boxShadow: "small" | |
| }, | |
| disabled: { | |
| rest: { | |
| background: "background-disabled", | |
| borderColor: "transparent", | |
| boxShadow: "small" | |
| } | |
| }, | |
| selected: { | |
| rest: { | |
| background: "background-default", | |
| borderColor: "transparent", | |
| boxShadow: "small" | |
| }, | |
| hover: { | |
| background: "background-default", | |
| borderColor: "transparent", | |
| boxShadow: "small" | |
| } | |
| } | |
| } | |
| }, | |
| label: { | |
| rest: { | |
| textColor: "text-default", | |
| fontWeight: 400 | |
| }, | |
| hover: { | |
| textColor: "text-default", | |
| fontWeight: 400 | |
| }, | |
| disabled: { | |
| rest: { | |
| textColor: "text-disabled", | |
| fontWeight: 400 | |
| } | |
| }, | |
| selected: { | |
| rest: { | |
| textColor: "text-default", | |
| fontWeight: 400 | |
| }, | |
| hover: { | |
| textColor: "text-default", | |
| fontWeight: 400 | |
| } | |
| } | |
| }, | |
| medium: { | |
| gapX: "12px", | |
| label: { | |
| fontSize: "1rem", | |
| lineHeight: "1.5rem" | |
| }, | |
| control: { | |
| track: { | |
| height: "24px", | |
| width: "48px", | |
| borderWidth: "1px", | |
| borderRadius: "9999px" | |
| }, | |
| handle: { | |
| height: "20px", | |
| width: "20px", | |
| borderWidth: "default", | |
| borderRadius: "9999px" | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| formField: { | |
| default: { | |
| medium: { | |
| input: { | |
| group: { | |
| item: { | |
| paddingX: "8px", | |
| paddingY: "5px", | |
| borderWidth: "default", | |
| minHeight: "36px", | |
| borderRadius: "xsmall", | |
| textToIconX: "6px", | |
| textToElementX: "12px" | |
| }, | |
| container: { | |
| paddingX: "none", | |
| paddingY: "0px", | |
| borderWidth: "default", | |
| borderRadius: "8px" | |
| } | |
| }, | |
| container: { | |
| paddingX: "12px", | |
| paddingY: "5px", | |
| borderWidth: "1px", | |
| borderRadius: "8px", | |
| minHeight: "36px", | |
| textToIconX: "6px", | |
| textToElementX: "12px" | |
| } | |
| }, | |
| label: { | |
| fontSize: "0.75rem", | |
| lineHeight: "1rem", | |
| fontWeight: 500 | |
| }, | |
| placeholder: { | |
| fontSize: "1rem", | |
| lineHeight: "1.5rem", | |
| fontWeight: 400 | |
| }, | |
| help: { | |
| fontSize: "0.75rem", | |
| lineHeight: "1rem", | |
| fontWeight: 400 | |
| }, | |
| info: { | |
| fontSize: "0.75rem", | |
| lineHeight: "1rem", | |
| fontWeight: 400 | |
| }, | |
| error: { | |
| fontSize: "0.75rem", | |
| lineHeight: "1rem", | |
| fontWeight: 400 | |
| }, | |
| value: { | |
| fontSize: "1rem", | |
| lineHeight: "1.5rem", | |
| fontWeight: 400 | |
| } | |
| }, | |
| input: { | |
| group: { | |
| container: { | |
| rest: { | |
| background: "transparent", | |
| borderColor: "transparent" | |
| }, | |
| hover: { | |
| background: "transparent", | |
| borderColor: "transparent" | |
| }, | |
| error: { | |
| rest: { | |
| background: "background-critical", | |
| borderColor: "border-critical" | |
| } | |
| }, | |
| disabled: { | |
| rest: { | |
| background: "transparent", | |
| borderColor: "border-disabled" | |
| } | |
| }, | |
| readOnly: { | |
| rest: { | |
| background: "background-contrast", | |
| borderColor: "border-weak" | |
| } | |
| } | |
| }, | |
| item: { | |
| rest: { | |
| background: "transparent", | |
| borderColor: "transparent" | |
| }, | |
| hover: { | |
| background: "background-hover", | |
| borderColor: "transparent" | |
| }, | |
| disabled: { | |
| rest: { | |
| background: "transparent", | |
| borderColor: "transparent" | |
| } | |
| }, | |
| readOnly: { | |
| rest: { | |
| background: "transparent", | |
| borderColor: "transparent" | |
| } | |
| } | |
| } | |
| }, | |
| container: { | |
| rest: { | |
| background: "transparent", | |
| borderColor: "border-default" | |
| }, | |
| hover: { | |
| background: "transparent", | |
| borderColor: "border-default" | |
| }, | |
| error: { | |
| rest: { | |
| background: "background-critical", | |
| borderColor: "border-critical" | |
| } | |
| }, | |
| disabled: { | |
| rest: { | |
| background: "transparent", | |
| borderColor: "border-disabled" | |
| } | |
| }, | |
| readOnly: { | |
| rest: { | |
| background: "background-contrast", | |
| borderColor: "border-weak" | |
| } | |
| } | |
| } | |
| }, | |
| label: { | |
| rest: { | |
| textColor: "text-strong", | |
| iconColor: "icon-strong" | |
| }, | |
| hover: { | |
| textColor: "text-strong", | |
| iconColor: "icon-strong" | |
| }, | |
| error: { | |
| rest: { | |
| textColor: "text-strong", | |
| iconColor: "icon-strong" | |
| } | |
| }, | |
| disabled: { | |
| rest: { | |
| textColor: "text-disabled", | |
| iconColor: "icon-disabled" | |
| } | |
| }, | |
| readOnly: { | |
| rest: { | |
| textColor: "text-strong", | |
| iconColor: "icon-strong" | |
| } | |
| } | |
| }, | |
| placeholder: { | |
| rest: { | |
| textColor: "text-weak" | |
| }, | |
| hover: { | |
| textColor: "text-weak" | |
| }, | |
| error: { | |
| rest: { | |
| textColor: "text-weak" | |
| } | |
| }, | |
| disabled: { | |
| rest: { | |
| textColor: "text-disabled" | |
| } | |
| }, | |
| readOnly: { | |
| rest: { | |
| textColor: "text-weak" | |
| } | |
| } | |
| }, | |
| help: { | |
| rest: { | |
| textColor: "text-default" | |
| }, | |
| hover: { | |
| textColor: "text-default" | |
| }, | |
| error: { | |
| rest: { | |
| textColor: "text-default" | |
| } | |
| }, | |
| disabled: { | |
| rest: { | |
| textColor: "text-disabled" | |
| } | |
| }, | |
| readOnly: { | |
| rest: { | |
| textColor: "text-default" | |
| } | |
| } | |
| }, | |
| info: { | |
| rest: { | |
| textColor: "text-default" | |
| }, | |
| hover: { | |
| textColor: "text-default" | |
| }, | |
| error: { | |
| rest: { | |
| textColor: "text-default" | |
| } | |
| }, | |
| disabled: { | |
| rest: { | |
| textColor: "text-disabled" | |
| } | |
| }, | |
| readOnly: { | |
| rest: { | |
| textColor: "text-default" | |
| } | |
| } | |
| }, | |
| error: { | |
| rest: { | |
| textColor: "text-critical", | |
| iconColor: "icon-critical" | |
| }, | |
| hover: { | |
| iconColor: "icon-critical", | |
| textColor: "text-critical" | |
| } | |
| }, | |
| value: { | |
| rest: { | |
| textColor: "text-strong" | |
| }, | |
| hover: { | |
| textColor: "text-strong" | |
| }, | |
| error: { | |
| rest: { | |
| textColor: "text-strong" | |
| } | |
| }, | |
| disabled: { | |
| rest: { | |
| textColor: "text-disabled" | |
| } | |
| }, | |
| readOnly: { | |
| rest: { | |
| textColor: "text-strong" | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| dataCell: { | |
| default: { | |
| rest: { | |
| textColor: "text-default", | |
| iconColor: "icon-default", | |
| borderColor: "border-weak", | |
| background: "transparent" | |
| }, | |
| hover: { | |
| textColor: "text-default", | |
| iconColor: "icon-default", | |
| borderColor: "border-weak", | |
| background: "transparent" | |
| }, | |
| disabled: { | |
| rest: { | |
| textColor: "text-disabled", | |
| iconColor: "icon-disabled", | |
| borderColor: "border-weak", | |
| background: "transparent" | |
| } | |
| }, | |
| selected: { | |
| rest: { | |
| textColor: "text-onSelectedPrimary", | |
| iconColor: "icon-onSelectedPrimary", | |
| borderColor: "border-weak", | |
| background: "background-active" | |
| }, | |
| hover: { | |
| textColor: "text-onSelectedPrimary", | |
| iconColor: "icon-onSelectedPrimary", | |
| borderColor: "border-weak", | |
| background: "background-contrast-hover" | |
| } | |
| }, | |
| pinned: { | |
| rest: { | |
| textColor: "text-default", | |
| iconColor: "icon-default", | |
| borderColor: "border-weak", | |
| background: "transparent" | |
| }, | |
| hover: { | |
| textColor: "text-default", | |
| iconColor: "icon-default", | |
| borderColor: "border-weak", | |
| background: "transparent" | |
| } | |
| }, | |
| medium: { | |
| paddingX: "12px", | |
| fontSize: "1rem", | |
| lineHeight: "1.5rem", | |
| fontWeight: 400, | |
| borderBottomWidth: "1px", | |
| paddingTop: "12px", | |
| paddingBottom: "11px", | |
| minHeight: "48px" | |
| } | |
| }, | |
| primary: { | |
| medium: { | |
| paddingX: "12px", | |
| fontSize: "1rem", | |
| lineHeight: "1.5rem", | |
| fontWeight: 500, | |
| borderBottomWidth: "1px", | |
| paddingTop: "12px", | |
| paddingBottom: "11px" | |
| }, | |
| rest: { | |
| textColor: "text-strong", | |
| iconColor: "text-strong", | |
| borderColor: "border-weak", | |
| background: "transparent" | |
| }, | |
| hover: { | |
| textColor: "text-strong", | |
| iconColor: "text-strong", | |
| borderColor: "border-weak", | |
| background: "transparent" | |
| }, | |
| disabled: { | |
| rest: { | |
| textColor: "text-disabled", | |
| iconColor: "icon-disabled", | |
| borderColor: "border-weak", | |
| background: "transparent" | |
| } | |
| }, | |
| selected: { | |
| rest: { | |
| textColor: "text-onSelectedPrimary", | |
| iconColor: "icon-onSelectedPrimary", | |
| borderColor: "border-weak", | |
| background: "background-active" | |
| }, | |
| hover: { | |
| textColor: "text-onSelectedPrimary", | |
| iconColor: "icon-onSelectedPrimary", | |
| borderColor: "border-weak", | |
| background: "background-contrast-hover" | |
| } | |
| }, | |
| pinned: { | |
| rest: { | |
| textColor: "text-default", | |
| iconColor: "icon-default", | |
| borderColor: "border-weak", | |
| background: "transparent" | |
| }, | |
| hover: { | |
| textColor: "text-default", | |
| iconColor: "icon-default", | |
| borderColor: "border-weak", | |
| background: "transparent" | |
| } | |
| } | |
| } | |
| }, | |
| headerCell: { | |
| default: { | |
| rest: { | |
| textColor: "text-strong", | |
| iconColor: "icon-strong", | |
| borderColor: "border-default", | |
| background: "transparent" | |
| }, | |
| hover: { | |
| textColor: "text-strong", | |
| iconColor: "icon-strong", | |
| borderColor: "border-default", | |
| background: "background-hover" | |
| }, | |
| pinned: { | |
| rest: { | |
| textColor: "text-default", | |
| iconColor: "icon-default", | |
| borderColor: "border-weak", | |
| background: "transparent" | |
| } | |
| }, | |
| units: { | |
| rest: { | |
| textColor: "text-weak" | |
| }, | |
| hover: { | |
| textColor: "text-weak" | |
| }, | |
| pinned: { | |
| rest: { | |
| textColor: "text-weak" | |
| }, | |
| hover: { | |
| textColor: "text-weak" | |
| } | |
| } | |
| }, | |
| medium: { | |
| paddingX: "12px", | |
| fontSize: "1rem", | |
| lineHeight: "1.5rem", | |
| fontWeight: 500, | |
| borderBottomWidth: "1px", | |
| paddingTop: "12px", | |
| paddingBottom: "11px", | |
| gapX: "6px", | |
| minHeight: "48px" | |
| } | |
| } | |
| }, | |
| footerCell: { | |
| default: { | |
| rest: { | |
| textColor: "text-default", | |
| iconColor: "icon-default", | |
| borderColor: "border-default", | |
| background: "transparent" | |
| }, | |
| hover: { | |
| textColor: "text-default", | |
| iconColor: "icon-default", | |
| borderColor: "border-default", | |
| background: "transparent" | |
| }, | |
| pinned: { | |
| rest: { | |
| textColor: "text-default", | |
| iconColor: "icon-default", | |
| borderColor: "border-weak", | |
| background: "transparent" | |
| }, | |
| hover: { | |
| textColor: "text-default", | |
| iconColor: "icon-default", | |
| borderColor: "border-weak", | |
| background: "transparent" | |
| } | |
| }, | |
| medium: { | |
| paddingX: "12px", | |
| fontSize: "1rem", | |
| lineHeight: "1.5rem", | |
| fontWeight: 500, | |
| borderTopWidth: "1px", | |
| paddingTop: "11px", | |
| paddingBottom: "12px", | |
| gapX: "6px", | |
| minHeight: "48px" | |
| } | |
| } | |
| }, | |
| radioButton: { | |
| default: { | |
| control: { | |
| rest: { | |
| background: "transparent", | |
| borderColor: "border-default" | |
| }, | |
| hover: { | |
| background: "transparent", | |
| borderColor: "border-strong" | |
| }, | |
| disabled: { | |
| rest: { | |
| background: "background-disabled", | |
| borderColor: "border-disabled" | |
| } | |
| }, | |
| selected: { | |
| rest: { | |
| background: "background-selected-primary-strong", | |
| borderColor: "transparent", | |
| iconColor: "icon-onSelectedPrimaryStrong" | |
| }, | |
| hover: { | |
| background: "background-selected-primary-strong-hover", | |
| borderColor: "transparent", | |
| iconColor: "icon-onSelectedPrimaryStrong" | |
| } | |
| } | |
| }, | |
| label: { | |
| rest: { | |
| textColor: "text-default", | |
| fontWeight: 400 | |
| }, | |
| hover: { | |
| textColor: "text-default", | |
| fontWeight: 400 | |
| }, | |
| disabled: { | |
| rest: { | |
| textColor: "text-disabled", | |
| fontWeight: 400 | |
| } | |
| }, | |
| selected: { | |
| rest: { | |
| textColor: "text-default", | |
| fontWeight: 400 | |
| }, | |
| hover: { | |
| textColor: "text-default", | |
| fontWeight: 400 | |
| } | |
| } | |
| }, | |
| medium: { | |
| gapX: "12px", | |
| label: { | |
| fontSize: "1rem", | |
| lineHeight: "1.5rem" | |
| }, | |
| control: { | |
| height: "24px", | |
| width: "24px", | |
| borderWidth: "default", | |
| borderRadius: "9999px" | |
| } | |
| } | |
| } | |
| }, | |
| anchor: { | |
| default: { | |
| rest: { | |
| textColor: "text-anchor", | |
| fontWeight: 500, | |
| textDecoration: "underline" | |
| }, | |
| hover: { | |
| textColor: "text-anchor-hover", | |
| fontWeight: 500, | |
| textDecoration: "underline" | |
| }, | |
| disabled: { | |
| rest: { | |
| textColor: "text-disabled", | |
| fontWeight: 500, | |
| textDecoration: "underline" | |
| } | |
| }, | |
| xsmall: { | |
| fontSize: "0.75rem", | |
| lineHeight: "1rem", | |
| gapX: "3px" | |
| }, | |
| small: { | |
| fontSize: "0.875rem", | |
| lineHeight: "1.25rem", | |
| gapX: "6px" | |
| }, | |
| medium: { | |
| fontSize: "1rem", | |
| lineHeight: "1.5rem", | |
| gapX: "6px" | |
| }, | |
| large: { | |
| fontSize: "1.125rem", | |
| lineHeight: "1.75rem", | |
| gapX: "6px" | |
| }, | |
| xlarge: { | |
| fontSize: "1.25rem", | |
| lineHeight: "1.875rem", | |
| gapX: "6px" | |
| }, | |
| xxlarge: { | |
| fontSize: "2rem", | |
| lineHeight: "2.5rem", | |
| gapX: "6px" | |
| }, | |
| "3xlarge": { | |
| fontSize: "2.25rem", | |
| lineHeight: "2.875rem", | |
| gapX: "6px" | |
| }, | |
| "4xlarge": { | |
| fontSize: "2.625rem", | |
| lineHeight: "3rem", | |
| gapX: "6px" | |
| }, | |
| "5xlarge": { | |
| fontSize: "4rem", | |
| lineHeight: "4.5rem", | |
| gapX: "6px" | |
| } | |
| } | |
| } | |
| } | |
| }, YL = { | |
| hpe: { | |
| spacing: { | |
| none: "0px", | |
| hair: "1px", | |
| "5xsmall": "3px", | |
| "4xsmall": "4px", | |
| "3xsmall": "6px", | |
| xxsmall: "8px", | |
| xsmall: "12px", | |
| small: "16px", | |
| medium: "24px", | |
| large: "32px", | |
| xlarge: "48px", | |
| xxlarge: "64px", | |
| "3xlarge": "96px" | |
| }, | |
| radius: { | |
| none: "0px", | |
| hair: "1px", | |
| xxsmall: "4px", | |
| xsmall: "6px", | |
| small: "8px", | |
| medium: "12px", | |
| large: "16px", | |
| xlarge: "24px", | |
| xxlarge: "32px", | |
| full: "9999px" | |
| }, | |
| borderWidth: { | |
| none: "0px", | |
| xsmall: "1px", | |
| small: "2px", | |
| medium: "4px", | |
| large: "6px", | |
| default: "1px" | |
| }, | |
| container: { | |
| "5xsmall": "48px", | |
| "4xsmall": "64px", | |
| "3xsmall": "96px", | |
| xxsmall: "128px", | |
| xsmall: "192px", | |
| small: "256px", | |
| medium: "384px", | |
| large: "512px", | |
| xlarge: "768px", | |
| xxlarge: "1024px", | |
| "3xlarge": "1536px" | |
| }, | |
| icon: { | |
| xsmall: { | |
| size: "12px" | |
| }, | |
| small: { | |
| size: "14px" | |
| }, | |
| medium: { | |
| size: "16px" | |
| }, | |
| large: { | |
| size: "18px" | |
| }, | |
| xlarge: { | |
| size: "20px" | |
| }, | |
| xxlarge: { | |
| size: "32px" | |
| } | |
| }, | |
| text: { | |
| xsmall: { | |
| fontSize: "0.75rem", | |
| lineHeight: "1rem", | |
| fontWeight: 400, | |
| maxWidth: "38em" | |
| }, | |
| small: { | |
| fontSize: "0.875rem", | |
| lineHeight: "1.25rem", | |
| fontWeight: 400, | |
| maxWidth: "38em" | |
| }, | |
| medium: { | |
| fontSize: "1rem", | |
| lineHeight: "1.5rem", | |
| fontWeight: 400, | |
| maxWidth: "38em" | |
| }, | |
| large: { | |
| fontSize: "1.125rem", | |
| lineHeight: "1.75rem", | |
| fontWeight: 400, | |
| maxWidth: "38em" | |
| }, | |
| xlarge: { | |
| fontSize: "1.25rem", | |
| lineHeight: "1.875rem", | |
| fontWeight: 400, | |
| maxWidth: "38em" | |
| }, | |
| xxlarge: { | |
| fontSize: "2rem", | |
| lineHeight: "2.5rem", | |
| fontWeight: 400, | |
| maxWidth: "38em" | |
| }, | |
| "3xlarge": { | |
| fontSize: "2.25rem", | |
| lineHeight: "2.875rem", | |
| fontWeight: 400, | |
| maxWidth: "38em" | |
| }, | |
| "4xlarge": { | |
| fontSize: "2.625rem", | |
| lineHeight: "3rem", | |
| fontWeight: 400, | |
| maxWidth: "38em" | |
| }, | |
| "5xlarge": { | |
| fontSize: "4rem", | |
| lineHeight: "4.5rem", | |
| fontWeight: 400, | |
| maxWidth: "38em" | |
| } | |
| }, | |
| heading: { | |
| xlarge: { | |
| fontWeight: 500, | |
| fontSize: "2rem", | |
| lineHeight: "2.5rem" | |
| }, | |
| large: { | |
| fontWeight: 500, | |
| fontSize: "1.5rem", | |
| lineHeight: "2rem" | |
| }, | |
| medium: { | |
| fontSize: "1.375rem", | |
| lineHeight: "1.75rem", | |
| fontWeight: 500 | |
| }, | |
| small: { | |
| fontSize: "1.125rem", | |
| lineHeight: "1.5rem", | |
| fontWeight: 500 | |
| }, | |
| xsmall: { | |
| fontSize: "1rem", | |
| lineHeight: "1.25rem", | |
| fontWeight: 500 | |
| }, | |
| xxsmall: { | |
| fontSize: "0.875rem", | |
| lineHeight: "1.125rem", | |
| fontWeight: 500 | |
| } | |
| } | |
| } | |
| }, KL = { | |
| hpe: { | |
| spacing: { | |
| none: "0px", | |
| hair: "1px", | |
| "5xsmall": "3px", | |
| "4xsmall": "3px", | |
| "3xsmall": "3px", | |
| xxsmall: "4px", | |
| xsmall: "6px", | |
| small: "8px", | |
| medium: "12px", | |
| large: "16px", | |
| xlarge: "24px", | |
| xxlarge: "32px", | |
| "3xlarge": "48px" | |
| }, | |
| radius: { | |
| none: "0px", | |
| hair: "1px", | |
| xxsmall: "1px", | |
| xsmall: "4px", | |
| small: "6px", | |
| medium: "8px", | |
| large: "12px", | |
| xlarge: "16px", | |
| xxlarge: "24px", | |
| full: "9999px" | |
| }, | |
| borderWidth: { | |
| none: "0px", | |
| xsmall: "1px", | |
| small: "1px", | |
| medium: "2px", | |
| large: "4px", | |
| default: "1px" | |
| }, | |
| container: { | |
| "5xsmall": "48px", | |
| "4xsmall": "64px", | |
| "3xsmall": "96px", | |
| xxsmall: "128px", | |
| xsmall: "192px", | |
| small: "256px", | |
| medium: "384px", | |
| large: "512px", | |
| xlarge: "768px", | |
| xxlarge: "1024px", | |
| "3xlarge": "1536px" | |
| }, | |
| icon: { | |
| xsmall: { | |
| size: "12px" | |
| }, | |
| small: { | |
| size: "14px" | |
| }, | |
| medium: { | |
| size: "16px" | |
| }, | |
| large: { | |
| size: "18px" | |
| }, | |
| xlarge: { | |
| size: "20px" | |
| }, | |
| xxlarge: { | |
| size: "32px" | |
| } | |
| }, | |
| text: { | |
| xsmall: { | |
| fontSize: "0.75rem", | |
| lineHeight: "1rem", | |
| fontWeight: 400, | |
| maxWidth: "30em" | |
| }, | |
| small: { | |
| fontSize: "0.875rem", | |
| lineHeight: "1.25rem", | |
| fontWeight: 400, | |
| maxWidth: "30em" | |
| }, | |
| medium: { | |
| fontSize: "1rem", | |
| lineHeight: "1.5rem", | |
| fontWeight: 400, | |
| maxWidth: "30em" | |
| }, | |
| large: { | |
| fontSize: "1.125rem", | |
| lineHeight: "1.75rem", | |
| fontWeight: 400, | |
| maxWidth: "30em" | |
| }, | |
| xlarge: { | |
| fontSize: "1.25rem", | |
| lineHeight: "1.875rem", | |
| fontWeight: 400, | |
| maxWidth: "30em" | |
| }, | |
| xxlarge: { | |
| fontSize: "2rem", | |
| lineHeight: "2.5rem", | |
| fontWeight: 400, | |
| maxWidth: "30em" | |
| }, | |
| "3xlarge": { | |
| fontSize: "2.25rem", | |
| lineHeight: "2.875rem", | |
| fontWeight: 400, | |
| maxWidth: "30em" | |
| }, | |
| "4xlarge": { | |
| fontSize: "2.625rem", | |
| lineHeight: "3rem", | |
| fontWeight: 400, | |
| maxWidth: "30em" | |
| }, | |
| "5xlarge": { | |
| fontSize: "4rem", | |
| lineHeight: "4.5rem", | |
| fontWeight: 400, | |
| maxWidth: "30em" | |
| } | |
| }, | |
| heading: { | |
| xlarge: { | |
| fontWeight: 500, | |
| fontSize: "1.5rem", | |
| lineHeight: "2rem" | |
| }, | |
| large: { | |
| fontWeight: 500, | |
| fontSize: "1.375rem", | |
| lineHeight: "1.75rem" | |
| }, | |
| medium: { | |
| fontSize: "1.125rem", | |
| lineHeight: "1.5rem", | |
| fontWeight: 500 | |
| }, | |
| small: { | |
| fontSize: "1rem", | |
| lineHeight: "1.25rem", | |
| fontWeight: 500 | |
| }, | |
| xsmall: { | |
| fontSize: "0.875rem", | |
| lineHeight: "1.125rem", | |
| fontWeight: 500 | |
| }, | |
| xxsmall: { | |
| fontSize: "1rem", | |
| lineHeight: "1.125rem", | |
| fontWeight: 500 | |
| } | |
| } | |
| } | |
| }, o2 = { | |
| hpe: { | |
| focusIndicator: { | |
| outline: { | |
| color: "focus", | |
| width: "2px", | |
| style: "solid" | |
| }, | |
| outlineOffset: "2px", | |
| boxShadow: { | |
| offsetX: 0, | |
| offsetY: 0, | |
| blur: 0, | |
| spread: "{focusIndicator.outlineOffset}", | |
| color: "{color.focus.support}" | |
| } | |
| }, | |
| fontStack: { | |
| primary: "'Graphik', Arial, sans-serif" | |
| }, | |
| breakpoint: { | |
| xsmall: "576px", | |
| small: "768px", | |
| medium: "1080px", | |
| large: "1440px" | |
| }, | |
| fontWeight: { | |
| thin: 100, | |
| light: 300, | |
| regular: 400, | |
| medium: 500, | |
| semibold: 600, | |
| bold: 700, | |
| black: 900 | |
| } | |
| } | |
| }, i2 = { | |
| hpe: { | |
| base: { | |
| color: { | |
| "purple-100": "#b7a2fc", | |
| "purple-200": "#9b84fc", | |
| "purple-400": "#7764fc", | |
| "purple-700": "#5d45d6", | |
| "purple-900": "#3c3aa1", | |
| "white-100": "#ffffff", | |
| "white-opacity6": "rgba(255, 255, 255, 0.06)", | |
| "white-opacity7": "rgba(255, 255, 255, 0.07)", | |
| "white-opacity10": "rgba(255, 255, 255, 0.1)", | |
| "white-opacity12": "rgba(255, 255, 255, 0.12)", | |
| "white-opacity20": "rgba(255, 255, 255, 0.2)", | |
| "white-opacity24": "rgba(255, 255, 255, 0.24)", | |
| "white-opacity36": "rgba(255, 255, 255, 0.36)", | |
| "white-opacity50": "rgba(255, 255, 255, 0.5)", | |
| "white-opacity72": "rgba(255, 255, 255, 0.72)", | |
| "black-opacity4": "rgba(0, 0, 0, 0.04)", | |
| "black-opacity8": "rgba(0, 0, 0, 0.08)", | |
| "black-opacity12": "rgba(0, 0, 0, 0.12)", | |
| "black-opacity24": "rgba(0, 0, 0, 0.24)", | |
| "black-opacity36": "rgba(0, 0, 0, 0.36)", | |
| "black-opacity48": "rgba(0, 0, 0, 0.48)", | |
| "black-opacity50": "rgba(0, 0, 0, 0.5)", | |
| "black-opacity72": "rgba(0, 0, 0, 0.72)", | |
| "black-opacity100": "#000000", | |
| "fuschia-100": "#fc9ddc", | |
| "fuschia-200": "#db72b8", | |
| "fuschia-300": "#cc54a4", | |
| "fuschia-700": "#ad4089", | |
| "fuschia-900": "#7f245c", | |
| "orange-50": "#fff3dd", | |
| "orange-500": "#ec8c25", | |
| "orange-600": "#d36d00", | |
| "orange-1000": "#3c361e", | |
| "plum-100": "#c98ad4", | |
| "plum-200": "#a455b3", | |
| "plum-600": "#873492", | |
| "plum-700": "#6c2b7c", | |
| "plum-900": "#5e1f68", | |
| "coral-100": "#fc988b", | |
| "coral-200": "#e5786a", | |
| "coral-300": "#d25f4b", | |
| "coral-400": "#c64f3a", | |
| "coral-500": "#b4422a", | |
| "gold-100": "#f9cc61", | |
| "gold-200": "#ecbe4f", | |
| "gold-300": "#deb146", | |
| "gold-400": "#c89e3a", | |
| "gold-500": "#b38a29", | |
| "gold-550": "#b0840d", | |
| "cyan-100": "#99f0f9", | |
| "cyan-200": "#62e5f6", | |
| "cyan-300": "#00dbe4", | |
| "cyan-400": "#00a4b3", | |
| "cyan-500": "#04909d", | |
| "green-100": "#d1ffee", | |
| "green-125": "#aafade", | |
| "green-400": "#00e0af", | |
| "green-450": "#66ebcf", | |
| "green-500": "#00e0af", | |
| "green-550": "#05cc93", | |
| "green-600": "#01a982", | |
| "green-650": "#009a71", | |
| "green-700": "#068667", | |
| "green-800": "#006750", | |
| "green-900": "#074738", | |
| "green-1000": "#093d32", | |
| "grey-50": "#f7f7f7", | |
| "grey-200": "#e6e8e9", | |
| "grey-400": "#d4d8db", | |
| "grey-500": "#b1b9be", | |
| "grey-600": "#7d8a92", | |
| "grey-650": "#606a70", | |
| "grey-700": "#535c66", | |
| "grey-800": "#3e4550", | |
| "grey-1000": "#292d3a", | |
| "grey-1200": "#22252e", | |
| "grey-1300": "#1d1f27", | |
| "blue-50": "#e3f1ff", | |
| "blue-200": "#65aef9", | |
| "blue-300": "#3994f7", | |
| "blue-500": "#0070f8", | |
| "blue-700": "#0055da", | |
| "blue-900": "#003cae", | |
| "blue-1100": "#2b3547", | |
| "red-50": "#ffecec", | |
| "red-400": "#ff7b7b", | |
| "red-500": "#fc6161", | |
| "red-600": "#ec3331", | |
| "red-800": "#cc1f1a", | |
| "red-1000": "#552120" | |
| }, | |
| dimension: { | |
| 0: "0px", | |
| 25: "1px", | |
| 50: "2px", | |
| 75: "3px", | |
| 100: "4px", | |
| 150: "6px", | |
| 200: "8px", | |
| 225: "9px", | |
| 250: "10px", | |
| 300: "12px", | |
| 350: "14px", | |
| 400: "16px", | |
| 450: "18px", | |
| 475: "19px", | |
| 500: "20px", | |
| 550: "22px", | |
| 600: "24px", | |
| 700: "28px", | |
| 800: "32px", | |
| 900: "36px", | |
| 1200: "48px", | |
| 1600: "64px", | |
| 1800: "72px", | |
| 2400: "96px", | |
| 3200: "128px", | |
| 4800: "192px", | |
| 6400: "256px", | |
| 9600: "384px", | |
| 12800: "512px", | |
| 19200: "768px", | |
| 25600: "1024px", | |
| 38400: "1536px" | |
| }, | |
| fontFamily: { | |
| code: "Fira Mono", | |
| primary: "HPE Graphik" | |
| }, | |
| fontSize: { | |
| 80: "0.75rem", | |
| 90: "0.875rem", | |
| 100: "1rem", | |
| 200: "1.125rem", | |
| 300: "1.25rem", | |
| 400: "1.375rem", | |
| 500: "1.5rem", | |
| 600: "2.25rem", | |
| 700: "2.625rem", | |
| 800: "3rem", | |
| 900: "4.5rem" | |
| }, | |
| lineHeight: { | |
| 80: "0.75rem", | |
| 90: "1rem", | |
| 100: "1.25rem", | |
| 200: "1.5rem", | |
| 300: "1.75rem", | |
| 400: "1.875rem", | |
| 500: "2.25rem", | |
| 600: "2.5rem", | |
| 700: "2.875rem", | |
| 800: "3rem", | |
| 900: "4.5rem" | |
| } | |
| }, | |
| static: { | |
| spacing: { | |
| none: "0px", | |
| hair: "1px", | |
| "5xsmall": "3px", | |
| "4xsmall": "4px", | |
| "3xsmall": "6px", | |
| xxsmall: "8px", | |
| xsmall: "12px", | |
| small: "16px", | |
| medium: "24px", | |
| large: "32px", | |
| xlarge: "48px", | |
| xxlarge: "64px", | |
| "3xlarge": "96px", | |
| "4xlarge": "128px" | |
| }, | |
| radius: { | |
| none: "0px", | |
| hair: "1px", | |
| xxsmall: "4px", | |
| xsmall: "6px", | |
| small: "8px", | |
| medium: "12px", | |
| large: "16px", | |
| xlarge: "24px", | |
| xxlarge: "32px", | |
| full: "9999px" | |
| }, | |
| borderWidth: { | |
| none: "0px", | |
| xsmall: "1px", | |
| small: "2px", | |
| medium: "4px", | |
| large: "6px", | |
| default: "1px" | |
| }, | |
| container: { | |
| "5xsmall": "48px", | |
| "4xsmall": "64px", | |
| "3xsmall": "96px", | |
| xxsmall: "128px", | |
| xsmall: "192px", | |
| small: "256px", | |
| medium: "384px", | |
| large: "512px", | |
| xlarge: "768px", | |
| xxlarge: "1024px", | |
| "3xlarge": "1536px" | |
| } | |
| } | |
| } | |
| }, XL = { | |
| global: { | |
| colors: { | |
| icon: { | |
| light: "#555555", | |
| dark: "#FFFFFF" | |
| } | |
| } | |
| }, | |
| icon: { | |
| size: { | |
| small: "14px", | |
| medium: "18px", | |
| large: "24px", | |
| xlarge: "36px" | |
| } | |
| } | |
| }, QL = { | |
| theme: XL | |
| }, Ph = (e = "") => { | |
| var t; | |
| return parseFloat(((t = e.match(/\d+(\.\d+)?/)) == null ? void 0 : t[0]) || "0"); | |
| }, eS = ({ value: e, iconDimension: t }) => `${(e - t) / 2}px`; | |
| function JL(e) { | |
| var m, E, S, I, w, b; | |
| const { height: t, size: r = "medium", width: o } = e, u = V.useContext(ps), h = Ph(((E = (m = u == null ? void 0 : u.icon) == null ? void 0 : m.size) == null ? void 0 : E[r]) || r); | |
| let c = ""; | |
| const p = "16px"; | |
| let g = Ph(p); | |
| if (typeof window < "u" && (g = Ph( | |
| (window == null ? void 0 : window.getComputedStyle(document.body).getPropertyValue("font-size")) || p | |
| )), t && ((I = (S = u == null ? void 0 : u.text) == null ? void 0 : S[t]) != null && I.height)) { | |
| const [T] = u.text[t].height.match( | |
| /(px|rem)/ | |
| ); | |
| let R = Ph(u.text[t].height); | |
| if (T === "rem" && (R *= g), R > h) { | |
| const D = eS({ value: R, iconDimension: h }); | |
| c += `padding-top: ${D}; padding-bottom: ${D};`; | |
| } | |
| } | |
| if (o && ((b = (w = u == null ? void 0 : u.text) == null ? void 0 : w[o]) != null && b.height)) { | |
| const [T] = u.text[o].height.match( | |
| /(px|rem)/ | |
| ); | |
| let R = Ph(u.text[o].height); | |
| if (T === "rem" && (R *= g), R > h) { | |
| const D = eS({ value: R, iconDimension: h }); | |
| c += `padding-left: ${D}; padding-right: ${D};`; | |
| } | |
| } | |
| return c; | |
| } | |
| const a2 = (e, t, r) => { | |
| const o = t.global && t.global.colors[e] !== void 0 ? t.global.colors[e] : e; | |
| let u = o; | |
| return o && (t.dark && o.dark !== void 0 ? u = o.dark : !t.dark && o.light !== void 0 && (u = o.light)), u && t.global && t.global.colors[u] !== void 0 && (u = a2(u, t)), u; | |
| }, tS = (e, t, r, o) => yt` | |
| ${e}: ${a2(t, r)}; | |
| `, ZL = yt` | |
| ${(e) => tS( | |
| "fill", | |
| e.color || e.theme.global.colors.icon, | |
| e.theme | |
| )} | |
| ${(e) => tS( | |
| "stroke", | |
| e.color || e.theme.global.colors.icon, | |
| e.theme | |
| )} | |
| g { | |
| fill: inherit; | |
| stroke: inherit; | |
| } | |
| *:not([stroke]) { | |
| &[fill='none'] { | |
| stroke-width: 0; | |
| } | |
| } | |
| *[stroke*='#'], | |
| *[STROKE*='#'] { | |
| stroke: inherit; | |
| fill: none; | |
| } | |
| *[fill-rule], | |
| *[FILL-RULE], | |
| *[fill*='#'], | |
| *[FILL*='#'] { | |
| fill: inherit; | |
| stroke: none; | |
| } | |
| `, s2 = V.forwardRef( | |
| // Copying implementation from original | |
| // https://github.com/grommet/grommet-icons/blob/master/src/js/StyledIcon.js | |
| // Disabling eslint rule for unused vars. Need to confirm whether | |
| // it was intentional to not pass color, size, theme to the svg. | |
| // eslint-disable-next-line @typescript-eslint/no-unused-vars | |
| ({ a11yTitle: e, color: t, size: r, theme: o, ...u }, h) => /* @__PURE__ */ De.jsx("svg", { ref: h, "aria-label": e, ...u }) | |
| ); | |
| s2.displayName = "Icon"; | |
| const _o = xr(s2).withConfig({ | |
| // don't let height attribute leak to DOM | |
| // https://styled-components.com/docs/api#shouldforwardprop | |
| shouldForwardProp: (e) => !["height", "width"].includes(e) | |
| })` | |
| display: inline-block; | |
| flex: 0 0 auto; | |
| ${({ size: e = "medium", theme: t, viewBox: r }) => { | |
| var m; | |
| const [, , o, u] = (r || "0 0 24 24").split(" "), h = o / u, c = t.icon.size[e] || e, p = Ph(c), g = ((m = c.match(/[a-z]+$/)) == null ? void 0 : m[0]) || "px"; | |
| return o < u ? ` | |
| width: ${p}${g}; | |
| height: ${p / h}${g}; | |
| ` : u < o ? ` | |
| width: ${p * h}${g}; | |
| height: ${p}${g}; | |
| ` : ` | |
| width: ${p}${g}; | |
| height: ${p}${g}; | |
| `; | |
| }} | |
| ${({ color: e }) => e !== "plain" && ZL} | |
| ${(e) => (e.height || e.width) && JL(e)} | |
| ${({ theme: e }) => e && e.icon.extend} | |
| `; | |
| _o.defaultProps = {}; | |
| Object.setPrototypeOf(_o.defaultProps, QL); | |
| const l2 = V.forwardRef((e, t) => /* @__PURE__ */ De.jsx(_o, { ref: t, viewBox: "0 0 24 24", a11yTitle: "Checkmark", ...e, children: /* @__PURE__ */ De.jsx("path", { d: "M19.2618 4.83813C19.6341 4.43028 20.266 4.40145 20.6739 4.77368C21.0817 5.14598 21.1106 5.77789 20.7383 6.18579L9.75591 18.218C9.57161 18.4199 9.3124 18.5382 9.03911 18.5442C8.76568 18.5501 8.50159 18.4431 8.30864 18.2493L3.29106 13.2092C2.90146 12.8178 2.90354 12.1848 3.29497 11.7952C3.68641 11.4056 4.31942 11.4067 4.70903 11.7981L8.9854 16.095L19.2618 4.83813Z", fill: "#000" }) })); | |
| l2.displayName = "Checkmark"; | |
| const _h = V.forwardRef((e, t) => /* @__PURE__ */ De.jsx(_o, { ref: t, viewBox: "0 0 24 24", a11yTitle: "Close", ...e, children: /* @__PURE__ */ De.jsx("path", { d: "M18.2931 4.29308C18.6836 3.90264 19.3166 3.90258 19.7071 4.29308C20.0976 4.68358 20.0975 5.31663 19.7071 5.70714L13.4142 12.0001L19.7071 18.2931C20.0975 18.6836 20.0976 19.3167 19.7071 19.7071C19.3167 20.0976 18.6836 20.0975 18.2931 19.7071L12.0001 13.4142L5.70713 19.7071C5.31662 20.0976 4.68359 20.0976 4.29306 19.7071C3.90255 19.3166 3.90256 18.6836 4.29306 18.2931L10.586 12.0001L4.29306 5.70714C3.90255 5.31662 3.90256 4.6836 4.29306 4.29308C4.68359 3.90255 5.3166 3.90255 5.70713 4.29308L12.0001 10.586L18.2931 4.29308Z", fill: "#000" }) })); | |
| _h.displayName = "Close"; | |
| const u2 = V.forwardRef((e, t) => /* @__PURE__ */ De.jsx(_o, { ref: t, viewBox: "0 0 24 24", a11yTitle: "Filter", ...e, children: /* @__PURE__ */ De.jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M19.6426 1C21.4966 1 23 2.50339 23 4.35742C22.9999 5.24757 22.646 6.10101 22.0166 6.73047L16.1006 12.6465C15.5381 13.209 15.2228 13.9721 15.2227 14.7676V19.7773C15.2227 21.5569 13.7796 23 12 23C10.2204 23 8.77734 21.5569 8.77734 19.7773V14.7676C8.77724 13.9721 8.46188 13.209 7.89941 12.6465L1.9834 6.73047C1.35398 6.10101 1.00011 5.24757 1 4.35742C1 2.50339 2.50339 1 4.35742 1H19.6426ZM4.35742 3C3.60796 3 3 3.60796 3 4.35742C3.00011 4.71714 3.14312 5.06202 3.39746 5.31641L9.31348 11.2324C10.251 12.17 10.7772 13.4417 10.7773 14.7676V19.7773C10.7773 20.4524 11.325 21 12 21C12.675 21 13.2227 20.4524 13.2227 19.7773V14.7676C13.2228 13.4417 13.749 12.17 14.6865 11.2324L20.6025 5.31641L20.6924 5.2168C20.8902 4.97542 20.9999 4.6722 21 4.35742C21 3.60796 20.392 3 19.6426 3H4.35742Z", fill: "#000" }) })); | |
| u2.displayName = "Filter"; | |
| const pf = V.forwardRef((e, t) => /* @__PURE__ */ De.jsx(_o, { ref: t, viewBox: "0 0 24 24", a11yTitle: "Search", ...e, children: /* @__PURE__ */ De.jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M11 1C16.5228 1 21 5.47715 21 11C21 13.4013 20.1529 15.6043 18.7422 17.3281L22.707 21.293C23.0976 21.6835 23.0976 22.3165 22.707 22.707C22.3165 23.0976 21.6835 23.0976 21.293 22.707L17.3281 18.7422C15.6043 20.1529 13.4013 21 11 21C5.47715 21 1 16.5228 1 11C1 5.47715 5.47715 1 11 1ZM11 3C6.58172 3 3 6.58172 3 11C3 15.4183 6.58172 19 11 19C15.4183 19 19 15.4183 19 11C19 6.58172 15.4183 3 11 3Z", fill: "#000" }) })); | |
| pf.displayName = "Search"; | |
| const c2 = V.forwardRef((e, t) => /* @__PURE__ */ De.jsxs(_o, { ref: t, viewBox: "0 0 24 24", a11yTitle: "Descend", ...e, children: [ | |
| /* @__PURE__ */ De.jsx("path", { d: "M17 10C17.5523 10 18 10.4477 18 11V18.6055L20.29 16.2959C20.6789 15.9038 21.3119 15.9013 21.7041 16.29C22.0962 16.6789 22.0987 17.3119 21.71 17.7041L17.7451 21.7041C17.5584 21.8924 17.3043 21.9988 17.0391 22C16.807 22.001 16.5829 21.9214 16.4043 21.7764L16.3311 21.71L12.2959 17.71C11.9038 17.3211 11.9012 16.6881 12.29 16.2959C12.6789 15.9038 13.3119 15.9012 13.7041 16.29L16 18.5664V11C16 10.4477 16.4477 10 17 10Z", fill: "#000" }), | |
| /* @__PURE__ */ De.jsx("path", { d: "M5 14C5.55228 14 6 14.4477 6 15C6 15.5523 5.55228 16 5 16H3C2.44772 16 2 15.5523 2 15C2 14.4477 2.44772 14 3 14H5Z", fill: "#000" }), | |
| /* @__PURE__ */ De.jsx("path", { d: "M9 10C9.55228 10 10 10.4477 10 11C10 11.5523 9.55228 12 9 12H3C2.44772 12 2 11.5523 2 11C2 10.4477 2.44772 10 3 10H9Z", fill: "#000" }), | |
| /* @__PURE__ */ De.jsx("path", { d: "M13 6C13.5523 6 14 6.44772 14 7C14 7.55228 13.5523 8 13 8H3C2.44772 8 2 7.55228 2 7C2 6.44772 2.44772 6 3 6H13Z", fill: "#000" }), | |
| /* @__PURE__ */ De.jsx("path", { d: "M17 2C17.5523 2 18 2.44772 18 3C18 3.55228 17.5523 4 17 4H3C2.44772 4 2 3.55228 2 3C2 2.44772 2.44772 2 3 2H17Z", fill: "#000" }) | |
| ] })); | |
| c2.displayName = "Descend"; | |
| const d2 = V.forwardRef((e, t) => /* @__PURE__ */ De.jsx(_o, { ref: t, viewBox: "0 0 24 24", a11yTitle: "Add", ...e, children: /* @__PURE__ */ De.jsx("path", { d: "M12 1C12.5523 1 13 1.44772 13 2V11H22C22.5523 11 23 11.4477 23 12C23 12.5523 22.5523 13 22 13H13V22C13 22.5523 12.5523 23 12 23C11.4477 23 11 22.5523 11 22V13H2C1.44772 13 1 12.5523 1 12C1 11.4477 1.44772 11 2 11H11V2C11 1.44772 11.4477 1 12 1Z", fill: "#000" }) })); | |
| d2.displayName = "Add"; | |
| const f2 = V.forwardRef((e, t) => /* @__PURE__ */ De.jsx(_o, { ref: t, viewBox: "0 0 24 24", a11yTitle: "Subtract", ...e, children: /* @__PURE__ */ De.jsx("path", { d: "M22 11C22.5523 11 23 11.4477 23 12C23 12.5523 22.5523 13 22 13H2C1.44772 13 1 12.5523 1 12C1 11.4477 1.44772 11 2 11H22Z", fill: "#000" }) })); | |
| f2.displayName = "Subtract"; | |
| const h2 = V.forwardRef((e, t) => /* @__PURE__ */ De.jsxs(_o, { ref: t, viewBox: "0 0 24 24", a11yTitle: "Lock", ...e, children: [ | |
| /* @__PURE__ */ De.jsx("path", { d: "M12 13C12.5523 13 13 13.4477 13 14V18H11V14C11 13.4477 11.4477 13 12 13Z", fill: "#000" }), | |
| /* @__PURE__ */ De.jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M12 1C15.178 1 17.0803 1.90913 18.0879 3.4541C19.0273 4.89485 19 6.66023 19 7.7998V9.41602C20.7659 10.1876 22 11.9497 22 14V18C22 20.7614 19.7614 23 17 23H7C4.23858 23 2 20.7614 2 18V14C2 11.9497 3.23409 10.1876 5 9.41602V7.7998C5 6.66023 4.9727 4.89485 5.91211 3.4541C6.9197 1.90913 8.82196 1 12 1ZM7 11C5.34315 11 4 12.3431 4 14V18C4 19.6569 5.34315 21 7 21H17C18.6569 21 20 19.6569 20 18V14C20 12.3431 18.6569 11 17 11H7ZM12 3C9.17852 3 8.08042 3.79099 7.58789 4.5459C7.02764 5.40495 7 6.53955 7 7.7998V9H17V7.7998C17 6.53955 16.9724 5.40495 16.4121 4.5459C15.9196 3.79099 14.8215 3 12 3Z", fill: "#000" }) | |
| ] })); | |
| h2.displayName = "Lock"; | |
| const p2 = V.forwardRef((e, t) => /* @__PURE__ */ De.jsx(_o, { ref: t, viewBox: "0 0 24 24", a11yTitle: "Splits", ...e, children: /* @__PURE__ */ De.jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M18 1C20.7614 1 23 3.23858 23 6V18C23 20.7614 20.7614 23 18 23H6C3.23858 23 1 20.7614 1 18V6C1 3.23858 3.23858 1 6 1H18ZM6 3C4.34315 3 3 4.34315 3 6V18C3 19.6569 4.34315 21 6 21H8V3H6ZM10 21H14V3H10V21ZM16 21H18C19.6569 21 21 19.6569 21 18V6C21 4.34315 19.6569 3 18 3H16V21Z", fill: "#000" }) })); | |
| p2.displayName = "Splits"; | |
| const g2 = V.forwardRef((e, t) => /* @__PURE__ */ De.jsxs(_o, { ref: t, viewBox: "0 0 24 24", a11yTitle: "Calendar", ...e, children: [ | |
| /* @__PURE__ */ De.jsx("path", { d: "M7 16C7.55228 16 8 16.4477 8 17C8 17.5523 7.55228 18 7 18H6C5.44772 18 5 17.5523 5 17C5 16.4477 5.44772 16 6 16H7Z", fill: "#000" }), | |
| /* @__PURE__ */ De.jsx("path", { d: "M12.5 16C13.0523 16 13.5 16.4477 13.5 17C13.5 17.5523 13.0523 18 12.5 18H11.5C10.9477 18 10.5 17.5523 10.5 17C10.5 16.4477 10.9477 16 11.5 16H12.5Z", fill: "#000" }), | |
| /* @__PURE__ */ De.jsx("path", { d: "M18 16C18.5523 16 19 16.4477 19 17C19 17.5523 18.5523 18 18 18H17C16.4477 18 16 17.5523 16 17C16 16.4477 16.4477 16 17 16H18Z", fill: "#000" }), | |
| /* @__PURE__ */ De.jsx("path", { d: "M7 12C7.55228 12 8 12.4477 8 13C8 13.5523 7.55228 14 7 14H6C5.44772 14 5 13.5523 5 13C5 12.4477 5.44772 12 6 12H7Z", fill: "#000" }), | |
| /* @__PURE__ */ De.jsx("path", { d: "M12.5 12C13.0523 12 13.5 12.4477 13.5 13C13.5 13.5523 13.0523 14 12.5 14H11.5C10.9477 14 10.5 13.5523 10.5 13C10.5 12.4477 10.9477 12 11.5 12H12.5Z", fill: "#000" }), | |
| /* @__PURE__ */ De.jsx("path", { d: "M18 12C18.5523 12 19 12.4477 19 13C19 13.5523 18.5523 14 18 14H17C16.4477 14 16 13.5523 16 13C16 12.4477 16.4477 12 17 12H18Z", fill: "#000" }), | |
| /* @__PURE__ */ De.jsx("path", { d: "M7 8C7.55228 8 8 8.44771 8 9C8 9.55229 7.55228 10 7 10H6C5.44772 10 5 9.55229 5 9C5 8.44771 5.44772 8 6 8H7Z", fill: "#000" }), | |
| /* @__PURE__ */ De.jsx("path", { d: "M12.5 8C13.0523 8 13.5 8.44771 13.5 9C13.5 9.55229 13.0523 10 12.5 10H11.5C10.9477 10 10.5 9.55229 10.5 9C10.5 8.44771 10.9477 8 11.5 8H12.5Z", fill: "#000" }), | |
| /* @__PURE__ */ De.jsx("path", { d: "M18 8C18.5523 8 19 8.44771 19 9C19 9.55229 18.5523 10 18 10H17C16.4477 10 16 9.55229 16 9C16 8.44771 16.4477 8 17 8H18Z", fill: "#000" }), | |
| /* @__PURE__ */ De.jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M16 0C16.5523 0 17 0.447715 17 1H18C20.7614 1 23 3.23858 23 6V18C23 20.7614 20.7614 23 18 23H6C3.23858 23 1 20.7614 1 18V6C1 3.23858 3.23858 1 6 1H7C7 0.447715 7.44772 0 8 0C8.55228 0 9 0.447715 9 1H15C15 0.447715 15.4477 0 16 0ZM6 3C4.34315 3 3 4.34315 3 6V18C3 19.6569 4.34315 21 6 21H18C19.6569 21 21 19.6569 21 18V6C21 4.34315 19.6569 3 18 3H17V4C17 4.55228 16.5523 5 16 5C15.4477 5 15 4.55228 15 4V3H9V4C9 4.55228 8.55228 5 8 5C7.44772 5 7 4.55228 7 4V3H6Z", fill: "#000" }) | |
| ] })); | |
| g2.displayName = "Calendar"; | |
| const om = V.forwardRef((e, t) => /* @__PURE__ */ De.jsxs(_o, { ref: t, viewBox: "0 0 24 24", a11yTitle: "Alert", ...e, children: [ | |
| /* @__PURE__ */ De.jsx("path", { d: "M12 15.9004C12.5523 15.9004 13 16.3481 13 16.9004V17C13 17.5523 12.5523 18 12 18C11.4477 18 11 17.5523 11 17V16.9004C11 16.3481 11.4477 15.9004 12 15.9004Z", fill: "#000" }), | |
| /* @__PURE__ */ De.jsx("path", { d: "M12 6.5C12.5523 6.5 13 6.94772 13 7.5V13.5C13 14.0523 12.5523 14.5 12 14.5C11.4477 14.5 11 14.0523 11 13.5V7.5C11 6.94772 11.4477 6.5 12 6.5Z", fill: "#000" }), | |
| /* @__PURE__ */ De.jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M12 1C18.0751 1 23 5.92487 23 12C23 18.0751 18.0751 23 12 23C5.92487 23 1 18.0751 1 12C1 5.92487 5.92487 1 12 1ZM12 3C7.02944 3 3 7.02944 3 12C3 16.9706 7.02944 21 12 21C16.9706 21 21 16.9706 21 12C21 7.02944 16.9706 3 12 3Z", fill: "#000" }) | |
| ] })); | |
| om.displayName = "Alert"; | |
| const m2 = V.forwardRef((e, t) => /* @__PURE__ */ De.jsx(_o, { ref: t, viewBox: "0 0 24 24", a11yTitle: "Star", ...e, children: /* @__PURE__ */ De.jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M12.0004 1C12.4306 1.00019 12.8125 1.27555 12.9487 1.68359L15.2211 8.5H22.0004C22.4306 8.50019 22.8125 8.77555 22.9487 9.18359C23.0847 9.59179 22.9441 10.0415 22.6 10.2998L17.1996 14.3496L19.9369 21.6484C20.0933 22.0656 19.9545 22.5368 19.5971 22.8027C19.2395 23.0685 18.7485 23.0658 18.394 22.7959L12.0004 17.9248L5.60687 22.7959C5.25247 23.0659 4.76138 23.0684 4.40375 22.8027C4.04608 22.5368 3.90742 22.0657 4.0639 21.6484L6.80023 14.3496L1.40082 10.2998C1.05647 10.0415 0.916069 9.59194 1.05218 9.18359C1.18842 8.77549 1.57014 8.5 2.00042 8.5H8.77972L11.0522 1.68359L11.1137 1.53711C11.2839 1.2109 11.6238 1 12.0004 1ZM10.4487 9.81641C10.3125 10.2244 9.93057 10.4998 9.50043 10.5H4.99945L8.60003 13.2002C8.95506 13.4667 9.09275 13.9359 8.93695 14.3516L7.1557 19.0986L11.394 15.8711L11.5346 15.7822C11.8742 15.6034 12.2937 15.6325 12.6069 15.8711L16.8442 19.0986L15.0639 14.3516C14.908 13.9357 15.0455 13.4667 15.4008 13.2002L19.0014 10.5H14.5004C14.0701 10.5 13.6884 10.2245 13.5522 9.81641L12.0004 5.16113L10.4487 9.81641Z", fill: "#000" }) })); | |
| m2.displayName = "Star"; | |
| const v2 = V.forwardRef((e, t) => /* @__PURE__ */ De.jsx(_o, { ref: t, viewBox: "0 0 24 24", a11yTitle: "StarFill", ...e, children: /* @__PURE__ */ De.jsx("path", { d: "M12.0004 1C12.4305 1.00016 12.8124 1.27553 12.9486 1.68359L15.2211 8.5H22.0004C22.4305 8.50016 22.8124 8.77553 22.9486 9.18359C23.0846 9.59181 22.9441 10.0415 22.6 10.2998L17.1996 14.3496L19.9369 21.6484C20.0933 22.0656 19.9545 22.5368 19.597 22.8027C19.2842 23.0352 18.8697 23.0614 18.5336 22.8838L18.3939 22.7959L12.0004 17.9248L5.60681 22.7959C5.2524 23.0659 4.76133 23.0684 4.40368 22.8027C4.04602 22.5368 3.90736 22.0657 4.06384 21.6484L6.80017 14.3496L1.40075 10.2998C1.05641 10.0415 0.916008 9.59194 1.05212 9.18359C1.18835 8.77547 1.57008 8.5 2.00036 8.5H8.77966L11.0521 1.68359L11.1136 1.53711C11.2839 1.21089 11.6238 1 12.0004 1Z", fill: "#000" }) })); | |
| v2.displayName = "StarFill"; | |
| const xb = V.forwardRef((e, t) => /* @__PURE__ */ De.jsx(_o, { ref: t, viewBox: "0 0 24 24", a11yTitle: "Left", ...e, children: /* @__PURE__ */ De.jsx("path", { d: "M15.7071 17.293C16.0976 17.6835 16.0976 18.3166 15.7071 18.7071C15.3166 19.0976 14.6836 19.0976 14.293 18.7071L8.29304 12.7071C7.90252 12.3166 7.90252 11.6835 8.29304 11.293L14.293 5.29302C14.6836 4.90249 15.3166 4.90249 15.7071 5.29302C16.0976 5.68354 16.0976 6.31655 15.7071 6.70708L10.4141 12L15.7071 17.293Z", fill: "#000" }) })); | |
| xb.displayName = "Left"; | |
| const qv = V.forwardRef((e, t) => /* @__PURE__ */ De.jsx(_o, { ref: t, viewBox: "0 0 24 24", a11yTitle: "Right", ...e, children: /* @__PURE__ */ De.jsx("path", { d: "M8.29302 6.70711C7.90249 6.31658 7.90249 5.68357 8.29302 5.29304C8.68354 4.90252 9.31655 4.90252 9.70708 5.29304L15.7071 11.293C16.0976 11.6836 16.0976 12.3166 15.7071 12.7071L9.70708 18.7071C9.31655 19.0976 8.68354 19.0976 8.29302 18.7071C7.90249 18.3166 7.90249 17.6836 8.29302 17.293L13.586 12.0001L8.29302 6.70711Z", fill: "#000" }) })); | |
| qv.displayName = "Right"; | |
| const y2 = V.forwardRef((e, t) => /* @__PURE__ */ De.jsxs(_o, { ref: t, viewBox: "0 0 24 24", a11yTitle: "Copy", ...e, children: [ | |
| /* @__PURE__ */ De.jsx("path", { d: "M14 15H6V13H14V15Z", fill: "#000" }), | |
| /* @__PURE__ */ De.jsx("path", { d: "M14 11H6V9H14V11Z", fill: "#000" }), | |
| /* @__PURE__ */ De.jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M11.5967 1C12.732 1 13.8341 1.38645 14.7207 2.0957L17.123 4.01855C17.7988 4.55916 18.3139 5.25777 18.6318 6.04004C21.0949 6.35066 23 8.45262 23 11V18C23 20.7614 20.7614 23 18 23H9.75C7.34968 23 5.36599 21.2195 5.0459 18.9072C2.741 18.4617 1 16.435 1 14V6C1 3.23858 3.23858 1 6 1H11.5967ZM19 14C19 16.7614 16.7614 19 14 19H7.10645C7.43316 20.1539 8.4915 21 9.75 21H18C19.6569 21 21 19.6569 21 18V11C21 9.69415 20.1647 8.58594 19 8.17383V14ZM6 3C4.34315 3 3 4.34315 3 6V14C3 15.6569 4.34315 17 6 17H14C15.6569 17 17 15.6569 17 14V8H14C12.3431 8 11 6.65685 11 5V3H6ZM13 5C13 5.55228 13.4477 6 14 6H16.3018C16.1744 5.84757 16.0319 5.70637 15.874 5.58008L13.4707 3.65723C13.3231 3.53919 13.1651 3.43702 13 3.34961V5Z", fill: "#000" }) | |
| ] })); | |
| y2.displayName = "Copy"; | |
| const F1 = V.forwardRef((e, t) => /* @__PURE__ */ De.jsxs(_o, { ref: t, viewBox: "0 0 24 24", a11yTitle: "Like", ...e, children: [ | |
| /* @__PURE__ */ De.jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M13.6602 2.0041C14.3731 1.32119 15.4116 1.08306 16.3584 1.39863L16.5068 1.45234C17.9642 2.03329 18.6105 3.74923 17.8994 5.14765L17.8242 5.28633L16.2412 8.00019H19.6387C21.4346 8.00019 22.8148 9.56231 22.6221 11.3225L22.5986 11.4934L21.5439 17.8215C21.1421 20.2324 19.0555 22.0002 16.6113 22.0002H11.4922C11.1857 22.0002 10.8801 21.9711 10.5791 21.9152L10.2793 21.8508L7.16602 21.0715C6.61985 21.6423 5.85243 22.0002 5 22.0002H2C1.44787 22.0002 1.00025 21.5523 1 21.0002C1.00015 20.448 1.44781 20.0002 2 20.0002H5C5.55213 20.0002 5.99975 19.5523 6 19.0002V11.0002C5.99985 10.448 5.55219 10.0002 5 10.0002H2C1.44787 10.0002 1.00025 9.55227 1 9.00019C1.00015 8.44804 1.44781 8.00019 2 8.00019H5C5.63058 8.00019 6.21529 8.19519 6.69824 8.52754L9.23242 6.68476C9.62747 6.39744 9.99158 6.06934 10.3184 5.70625L13.5225 2.14668L13.6602 2.0041ZM15.7256 3.29609C15.5022 3.22168 15.259 3.26927 15.0811 3.41621L15.0088 3.48457L11.8047 7.04414C11.3846 7.51087 10.917 7.93259 10.4092 8.30195L7.87402 10.1447C7.95455 10.4158 7.99997 10.703 8 11.0002V19.0002C7.99999 19.0727 7.99628 19.1448 7.99121 19.216L10.7646 19.9103L10.9443 19.9494C11.1249 19.983 11.3083 20.0002 11.4922 20.0002H16.6113C18.0777 20.0002 19.329 18.9397 19.5703 17.4934L20.625 11.1643L20.6377 11.051C20.6675 10.4877 20.218 10.0002 19.6387 10.0002H12.7588L16.0967 4.27851L16.1318 4.2082C16.2784 3.87375 16.1305 3.48011 15.7998 3.32539L15.7256 3.29609Z", fill: "#000" }), | |
| /* @__PURE__ */ De.jsx("path", { d: "M4.09961 17.0002C4.6518 17.0002 5.09946 17.448 5.09961 18.0002C5.09936 18.5523 4.65174 19.0002 4.09961 19.0002H4C3.44787 19.0002 3.00025 18.5523 3 18.0002C3.00015 17.448 3.44781 17.0002 4 17.0002H4.09961Z", fill: "#000" }) | |
| ] })); | |
| F1.displayName = "Like"; | |
| const b2 = V.forwardRef((e, t) => /* @__PURE__ */ De.jsxs(_o, { ref: t, viewBox: "0 0 24 24", a11yTitle: "LikeFill", ...e, children: [ | |
| /* @__PURE__ */ De.jsx("path", { d: "M13.6602 2.00424C14.3731 1.32129 15.4116 1.08318 16.3584 1.39877L16.5068 1.45248C17.9642 2.03344 18.6106 3.74935 17.8994 5.14779L17.8242 5.28647L16.2412 8.00033H19.6387C21.4346 8.00033 22.8148 9.56241 22.6221 11.3226L22.5986 11.4935L21.5439 17.8216C21.1421 20.2326 19.0555 22.0003 16.6113 22.0003H11.4922C11.1857 22.0003 10.8801 21.9713 10.5791 21.9154L10.2793 21.8509L7.16602 21.0716C6.61985 21.6425 5.85243 22.0003 5 22.0003H2C1.44786 22.0003 1.00024 21.5524 1 21.0003C1.00009 20.4481 1.44777 20.0003 2 20.0003H5C5.55214 20.0003 5.99976 19.5524 6 19.0003V11.0003L5.99512 10.8978C5.94391 10.3935 5.51777 10.0003 5 10.0003H2C1.44786 10.0003 1.00024 9.55241 1 9.00033C1.0001 8.44813 1.44777 8.00033 2 8.00033H5C5.6306 8.00033 6.21528 8.19531 6.69824 8.52768L9.23242 6.6849L9.52344 6.46225C9.80771 6.23183 10.0733 5.97866 10.3184 5.70639L13.5225 2.14682L13.6602 2.00424Z", fill: "#000" }), | |
| /* @__PURE__ */ De.jsx("path", { d: "M4.20215 17.0052C4.70639 17.0564 5.09952 17.4826 5.09961 18.0003C5.09939 18.5179 4.70629 18.9433 4.20215 18.9945L4.09961 19.0003H4C3.44786 19.0003 3.00024 18.5524 3 18.0003C3.00009 17.4481 3.44777 17.0003 4 17.0003H4.09961L4.20215 17.0052Z", fill: "#000" }) | |
| ] })); | |
| b2.displayName = "LikeFill"; | |
| const N1 = V.forwardRef((e, t) => /* @__PURE__ */ De.jsxs(_o, { ref: t, viewBox: "0 0 24 24", a11yTitle: "Dislike", ...e, children: [ | |
| /* @__PURE__ */ De.jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M12.5083 2C12.9169 2.00005 13.3248 2.05031 13.7212 2.14941L16.8335 2.92871C17.3797 2.35757 18.1478 2 19.0005 2H22.0005C22.5525 2.00026 23.0005 2.44787 23.0005 3C23.0005 3.55213 22.5525 3.99974 22.0005 4H19.0005C18.4482 4 18.0005 4.44772 18.0005 5V13C18.0005 13.5523 18.4482 14 19.0005 14H22.0005C22.5525 14.0003 23.0005 14.4479 23.0005 15C23.0005 15.5521 22.5525 15.9997 22.0005 16H19.0005C18.3696 16 17.7844 15.8043 17.3013 15.4717L14.7681 17.3145C14.4719 17.5299 14.1927 17.7686 13.9341 18.0273L13.6821 18.293L10.478 21.8525C9.81027 22.5944 8.78971 22.8994 7.83251 22.6572L7.64208 22.6016C6.03045 22.0643 5.32025 20.1803 6.17626 18.7129L7.75927 16H4.36181C2.50802 16 1.09714 14.3354 1.40185 12.5068L2.45654 6.17773L2.49951 5.9541C2.98944 3.65849 5.0213 2 7.38915 2H12.5083ZM7.38915 4C6.01436 4 4.8284 4.93192 4.48681 6.24023L4.43017 6.50684L3.37451 12.8359C3.27319 13.4453 3.74401 14 4.36181 14H11.2417L7.9038 19.7207C7.68737 20.0917 7.8674 20.5683 8.2749 20.7041L8.37158 20.7285C8.59888 20.7684 8.83422 20.6896 8.99169 20.5146L12.1958 16.9551L12.519 16.6133C12.8516 16.2805 13.2104 15.9743 13.5913 15.6973L16.1245 13.8535C16.0443 13.5829 16.0005 13.2966 16.0005 13V5C16.0005 4.92676 16.0031 4.85415 16.0083 4.78223L13.2358 4.08984C12.9981 4.03041 12.7534 4.00005 12.5083 4H7.38915Z", fill: "#000" }), | |
| /* @__PURE__ */ De.jsx("path", { d: "M20.0005 5C20.5525 5.00026 21.0005 5.44787 21.0005 6C21.0005 6.55213 20.5525 6.99974 20.0005 7H19.9009C19.3486 7 18.9009 6.55228 18.9009 6C18.9009 5.44772 19.3486 5 19.9009 5H20.0005Z", fill: "#000" }) | |
| ] })); | |
| N1.displayName = "Dislike"; | |
| const x2 = V.forwardRef((e, t) => /* @__PURE__ */ De.jsxs(_o, { ref: t, viewBox: "0 0 24 24", a11yTitle: "DislikeFill", ...e, children: [ | |
| /* @__PURE__ */ De.jsx("path", { d: "M12.5083 2C12.9169 2.00005 13.3248 2.05031 13.7212 2.14941L16.8335 2.92871C17.3797 2.35757 18.1478 2 19.0005 2H22.0005L22.103 2.00488C22.6069 2.05643 23.0005 2.48248 23.0005 3C23.0005 3.51752 22.6069 3.94357 22.103 3.99512L22.0005 4H19.0005C18.4828 4 18.0567 4.39335 18.0054 4.89746L18.0005 5V13C18.0005 13.5523 18.4482 14 19.0005 14H22.0005L22.103 14.0049C22.6069 14.0564 23.0005 14.4825 23.0005 15C23.0005 15.5175 22.6069 15.9436 22.103 15.9951L22.0005 16H19.0005C18.3696 16 17.7843 15.8043 17.3012 15.4717L14.768 17.3145C14.4719 17.5299 14.1927 17.7686 13.9341 18.0273L13.6821 18.293L10.478 21.8525C9.81025 22.5944 8.78969 22.8994 7.8325 22.6572L7.64207 22.6016C6.03044 22.0643 5.32024 20.1803 6.17625 18.7129L7.75926 16H4.3618C2.508 16 1.09712 14.3354 1.40183 12.5068L2.45652 6.17773L2.49949 5.9541C2.98943 3.65849 5.02129 2 7.38914 2H12.5083Z", fill: "#000" }), | |
| /* @__PURE__ */ De.jsx("path", { d: "M20.103 5.00488C20.6069 5.05643 21.0005 5.48248 21.0005 6C21.0005 6.51752 20.6069 6.94357 20.103 6.99512L20.0005 7H19.9009C19.3486 7 18.9009 6.55228 18.9009 6C18.9009 5.44772 19.3486 5 19.9009 5H20.0005L20.103 5.00488Z", fill: "#000" }) | |
| ] })); | |
| x2.displayName = "DislikeFill"; | |
| const w2 = V.forwardRef((e, t) => /* @__PURE__ */ De.jsx(_o, { ref: t, viewBox: "0 0 24 24", a11yTitle: "Ascending", ...e, children: /* @__PURE__ */ De.jsx("path", { d: "M17.507 8.09277C17.8973 8.48325 17.8973 9.11635 17.507 9.50684C17.1165 9.8972 16.4835 9.89714 16.093 9.50684L13.0002 6.41406V20C13.0002 20.5522 12.5523 20.9998 12.0002 21C11.448 20.9998 11.0002 20.5522 11.0002 20V6.41406L7.9074 9.50684C7.51694 9.89731 6.88388 9.89718 6.49334 9.50684C6.10292 9.11631 6.10286 8.48327 6.49334 8.09277L12.0002 2.58594L17.507 8.09277Z", fill: "#000" }) })); | |
| w2.displayName = "Ascending"; | |
| const e9 = (e) => /* @__PURE__ */ De.jsx(_o, { viewBox: "0 0 24 24", "aria-hidden": !0, ...e }), S2 = V.forwardRef((e, t) => /* @__PURE__ */ De.jsx(_o, { ref: t, viewBox: "0 0 24 24", a11yTitle: "Descending", ...e, children: /* @__PURE__ */ De.jsx("path", { d: "M12.0002 3C12.5523 3.00016 13.0002 3.44782 13.0002 4V17.5859L16.0929 14.4932C16.4835 14.1026 17.1165 14.1027 17.507 14.4932C17.8974 14.8837 17.8975 15.5167 17.507 15.9072L12.0002 21.4141L6.49334 15.9072C6.10282 15.5167 6.10283 14.8837 6.49334 14.4932C6.88386 14.1027 7.51691 14.1027 7.9074 14.4932L11.0002 17.5859V4C11.0002 3.44773 11.4479 3.00002 12.0002 3Z", fill: "#000" }) })); | |
| S2.displayName = "Descending"; | |
| const Ah = V.forwardRef((e, t) => /* @__PURE__ */ De.jsx(_o, { ref: t, viewBox: "0 0 24 24", a11yTitle: "Down", ...e, children: /* @__PURE__ */ De.jsx("path", { d: "M17.293 8.29302C17.6835 7.90249 18.3166 7.90249 18.7071 8.29302C19.0976 8.68354 19.0976 9.31655 18.7071 9.70708L12.7071 15.7071C12.3166 16.0976 11.6835 16.0976 11.293 15.7071L5.29302 9.70708C4.90249 9.31655 4.90249 8.68354 5.29302 8.29302C5.68354 7.90249 6.31655 7.90249 6.70708 8.29302L12 13.586L17.293 8.29302Z", fill: "#000" }) })); | |
| Ah.displayName = "Down"; | |
| const k2 = V.forwardRef((e, t) => /* @__PURE__ */ De.jsxs(_o, { ref: t, viewBox: "0 0 24 24", a11yTitle: "Unsorted", ...e, children: [ | |
| /* @__PURE__ */ De.jsx("path", { d: "M17.2004 3C17.7524 3.00027 18.2004 3.44789 18.2004 4V17.5859L21.2931 14.4932C21.6837 14.1027 22.3167 14.1027 22.7072 14.4932C23.0975 14.8837 23.0976 15.5168 22.7072 15.9072L17.2004 21.4141L11.6935 15.9072C11.303 15.5167 11.303 14.8837 11.6935 14.4932C12.0841 14.1028 12.7171 14.1027 13.1076 14.4932L16.2004 17.5859V4C16.2004 3.44772 16.6481 3.00001 17.2004 3Z", fill: "#000" }), | |
| /* @__PURE__ */ De.jsx("path", { d: "M12.3068 8.09277C12.6972 8.48327 12.6972 9.11633 12.3068 9.50684C11.9163 9.89723 11.2833 9.89722 10.8928 9.50684L7.79998 6.41406V20C7.79998 20.5522 7.35217 20.9999 6.79998 21C6.24784 20.9998 5.79999 20.5522 5.79998 20V6.41406L2.70721 9.50684C2.31672 9.89733 1.68368 9.89726 1.29315 9.50684C0.902722 9.11631 0.90266 8.48327 1.29315 8.09277L6.79998 2.58594L12.3068 8.09277Z", fill: "#000" }) | |
| ] })); | |
| k2.displayName = "Unsorted"; | |
| const Zg = V.forwardRef((e, t) => /* @__PURE__ */ De.jsx(_o, { ref: t, viewBox: "0 0 24 24", a11yTitle: "Up", ...e, children: /* @__PURE__ */ De.jsx("path", { d: "M6.70711 15.7071C6.31658 16.0976 5.68357 16.0976 5.29304 15.7071C4.90252 15.3166 4.90252 14.6836 5.29304 14.293L11.293 8.29304C11.6836 7.90252 12.3166 7.90252 12.7071 8.29304L18.7071 14.293C19.0976 14.6836 19.0976 15.3166 18.7071 15.7071C18.3166 16.0976 17.6836 16.0976 17.293 15.7071L12.0001 10.4141L6.70711 15.7071Z", fill: "#000" }) })); | |
| Zg.displayName = "Up"; | |
| var t9 = { | |
| "datawave-green-1": "url(https://d3hq6blov2iije.cloudfront.net/images/textures/AdobeStock-57301038_800_0_72_RGB+19849.jpg)", | |
| "datawave-green-2": "url(https://d3hq6blov2iije.cloudfront.net/images/textures/AdobeStock_222468625_800_0_72_RGB+19870.jpg)", | |
| "datawave-multi-1": "url(https://d3hq6blov2iije.cloudfront.net/images/textures/AdobeStock-257301038_800_0_72_RGB+19842.jpg)", | |
| "datawave-multi-2": "url(https://d3hq6blov2iije.cloudfront.net/images/textures/HPE_data_satin_01_800_0_72_RGB+20062.jpg)", | |
| "datawave-multi-3": "url(https://d3hq6blov2iije.cloudfront.net/images/textures/HPE_data_satin_02_800_0_72_RGB+20061.jpg)", | |
| "datawave-multi-4": "url(https://d3hq6blov2iije.cloudfront.net/images/textures/HPE_data_slice_01_800_0_72_RGB+20107.jpg)", | |
| "datawave-multi-5": "url(https://d3hq6blov2iije.cloudfront.net/images/textures/HPE_data_slice_02_800_0_72_RGB+20106.jpg)", | |
| "datawave-multi-6": "url(https://d3hq6blov2iije.cloudfront.net/images/textures/HPE_data_slice_03_800_0_72_RGB+20105.jpg)", | |
| "datawave-white-1": "url(https://d3hq6blov2iije.cloudfront.net/images/textures/GettyImages-1135685131_800_0_72_RGB+19858.jpg)", | |
| "datawave-white-2": "url(https://d3hq6blov2iije.cloudfront.net/images/textures/GettyImages-1278457196_800_0_72_RGB+19857.jpg)", | |
| "datawave-white-3": "url(https://d3hq6blov2iije.cloudfront.net/images/textures/GettyImages-1304863046_800_0_72_RGB+19856.jpg)", | |
| "datawave-white-4": "url(https://d3hq6blov2iije.cloudfront.net/images/textures/GettyImages-978721396_800_0_72_RGB+19859.jpg)", | |
| "light-shadow-1": "url(https://d3hq6blov2iije.cloudfront.net/images/textures/GettyImages-1135685107_800_0_72_RGB+19853.jpg)", | |
| "light-shadow-2": "url(https://d3hq6blov2iije.cloudfront.net/images/textures/GettyImages-1135685108_800_0_72_RGB+19852.jpg)", | |
| "light-shadow-3": "url(https://d3hq6blov2iije.cloudfront.net/images/textures/GettyImages-1135685118_800_0_72_RGB+19854.jpg)", | |
| "light-shadow-4": "url(https://d3hq6blov2iije.cloudfront.net/images/textures/GettyImages-1190757657_800_0_72_RGB+19855.jpg)", | |
| "orange-yellow": `linear-gradient( | |
| 45deg, | |
| hsl(22deg 100% 50%) 0%, | |
| hsl(34deg 100% 50%) 50%, | |
| hsl(46deg 100% 50%) 100% | |
| );`, | |
| "purple-blue": `linear-gradient( | |
| 45deg, | |
| hsl(281deg 100% 63%) 1%, | |
| hsl(227deg 83% 58%) 50%, | |
| hsl(174deg 69% 53%) 99% | |
| );`, | |
| "purple-blue-yellow": `linear-gradient( | |
| 225deg, | |
| hsl(263deg 82% 55%) 0%, | |
| hsl(196deg 72% 53%) 25%, | |
| hsl(171deg 80% 63%) 50%, | |
| hsl(138deg 93% 68%) 75%, | |
| hsl(47deg 99% 50%) 100% | |
| );`, | |
| "purple-magenta-yellow": `linear-gradient( | |
| 45deg, | |
| hsl(274deg 100% 50%) 0%, | |
| hsl(340deg 100% 50%) 50%, | |
| hsl(46deg 100% 50%) 100% | |
| );` | |
| }; | |
| function wb() { | |
| return wb = Object.assign ? Object.assign.bind() : function(e) { | |
| for (var t = 1; t < arguments.length; t++) { | |
| var r = arguments[t]; | |
| for (var o in r) ({}).hasOwnProperty.call(r, o) && (e[o] = r[o]); | |
| } | |
| return e; | |
| }, wb.apply(null, arguments); | |
| } | |
| var C2 = function(t, r, o) { | |
| return o === void 0 && (o = ""), Object.keys(t).reduce(function(u, h) { | |
| var c = o.length ? "" + o + r : ""; | |
| return typeof t[h] == "object" && t[h] !== null && Object.keys(t[h]).length > 0 && !("$value" in t[h]) ? Object.assign(u, C2(t[h], r, ["hpe", "color"].includes(h) ? "" : c + h)) : u[c + h] = t[h], u; | |
| }, {}); | |
| }, rS = function(t, r) { | |
| return t.split(".").reduce(function(o, u) { | |
| return o[u]; | |
| }, r); | |
| }, r9 = C2(lo, "-"), E2 = {}; | |
| Object.keys(r9).forEach(function(e) { | |
| if (!e.includes("shadow")) { | |
| var t = e.split("-"), r = t[0], o = e.split("-").slice(1).join("-"); | |
| E2[e] = { | |
| light: rS("hpe.color." + r + (o ? "." + o : ""), lo), | |
| dark: rS("hpe.color." + r + (o ? "." + o : ""), ho) | |
| }; | |
| } | |
| }); | |
| var n9 = wb({}, E2, { | |
| // ---- DEPRECATED ---- // | |
| "accent-1": void 0, | |
| "accent-2": void 0, | |
| "accent-3": void 0, | |
| "accent-4": void 0, | |
| "neutral-1": void 0, | |
| "neutral-2": void 0, | |
| "neutral-3": void 0, | |
| "neutral-4": void 0, | |
| "neutral-5": void 0, | |
| "status-error": void 0, | |
| control: "background-primary-strong", | |
| "active-text": "text-strong", | |
| "text-primary-button": n2.hpe.button.primary.rest.textColor, | |
| "background-cta-alternate": "background-contrast", | |
| brand: { | |
| dark: ho.hpe.color.decorative.brand, | |
| light: lo.hpe.color.decorative.brand | |
| }, | |
| "background-layer-overlay": { | |
| dark: ho.hpe.color.background.screenOverlay, | |
| light: lo.hpe.color.background.screenOverlay | |
| }, | |
| "active-background": { | |
| dark: ho.hpe.color.background.active, | |
| light: lo.hpe.color.background.active | |
| }, | |
| background: { | |
| dark: ho.hpe.color.background.default, | |
| light: lo.hpe.color.background.default | |
| }, | |
| text: { | |
| dark: ho.hpe.color.text.default, | |
| light: lo.hpe.color.text.default | |
| }, | |
| // deprecated, remove in next major version | |
| "text-xweak": { | |
| dark: ho.hpe.color.text.weak, | |
| light: lo.hpe.color.text.weak | |
| }, | |
| border: { | |
| dark: ho.hpe.color.border.default, | |
| light: lo.hpe.color.border.default | |
| }, | |
| blue: { | |
| dark: ho.hpe.color.decorative.blue, | |
| light: lo.hpe.color.decorative.blue | |
| }, | |
| "blue!": i2.hpe.base.color["blue-700"], | |
| green: { | |
| dark: ho.hpe.color.decorative.green, | |
| light: lo.hpe.color.decorative.green | |
| }, | |
| "green!": { | |
| dark: ho.hpe.color.decorative.brand, | |
| light: lo.hpe.color.decorative.brand | |
| }, | |
| // teal: { | |
| // dark: dark.hpe.color.decorative.teal, | |
| // light: light.hpe.color.decorative.teal, | |
| // }, | |
| // 'teal!': primitives.hpe.base.color['teal-400'], | |
| purple: { | |
| dark: ho.hpe.color.decorative.purple, | |
| light: lo.hpe.color.decorative.purple | |
| }, | |
| "purple!": "#7630EA", | |
| // red: { | |
| // dark: dark.hpe.color.decorative.red, | |
| // light: light.hpe.color.decorative.red, | |
| // }, | |
| // 'red!': primitives.hpe.base.color['red-750'], | |
| // orange: { | |
| // dark: dark.hpe.color.decorative.orange, | |
| // light: light.hpe.color.decorative.orange, | |
| // }, | |
| // 'orange!': '#FF8300', | |
| // yellow: { | |
| // dark: dark.hpe.color.decorative.yellow, | |
| // light: light.hpe.color.decorative.yellow, | |
| // }, | |
| // 'yellow!': primitives.hpe.base.color['yellow-400'], | |
| "graph-0": { | |
| light: lo.hpe.color.dataVis["categorical-10"], | |
| dark: ho.hpe.color.dataVis["categorical-10"] | |
| }, | |
| "graph-1": { | |
| light: lo.hpe.color.dataVis["categorical-20"], | |
| dark: ho.hpe.color.dataVis["categorical-20"] | |
| }, | |
| "graph-2": { | |
| light: lo.hpe.color.dataVis["categorical-30"], | |
| dark: ho.hpe.color.dataVis["categorical-30"] | |
| }, | |
| "graph-3": { | |
| light: lo.hpe.color.dataVis["categorical-40"], | |
| dark: ho.hpe.color.dataVis["categorical-40"] | |
| }, | |
| "graph-4": { | |
| light: lo.hpe.color.dataVis["categorical-50"], | |
| dark: ho.hpe.color.dataVis["categorical-50"] | |
| }, | |
| "graph-5": { | |
| light: lo.hpe.color.dataVis["categorical-60"], | |
| dark: ho.hpe.color.dataVis["categorical-60"] | |
| }, | |
| "graph-6": { | |
| light: lo.hpe.color.dataVis["categorical-70"], | |
| dark: ho.hpe.color.dataVis["categorical-70"] | |
| }, | |
| "graph-7": { | |
| light: lo.hpe.color.dataVis["categorical-80"], | |
| dark: ho.hpe.color.dataVis["categorical-80"] | |
| }, | |
| "status-critical": { | |
| dark: ho.hpe.color.icon.critical, | |
| light: lo.hpe.color.icon.critical | |
| }, | |
| "status-warning": { | |
| dark: ho.hpe.color.icon.warning, | |
| light: lo.hpe.color.icon.warning | |
| }, | |
| "status-ok": { | |
| dark: ho.hpe.color.icon.ok, | |
| light: lo.hpe.color.icon.ok | |
| }, | |
| "status-unknown": { | |
| dark: ho.hpe.color.icon.unknown, | |
| light: lo.hpe.color.icon.unknown | |
| }, | |
| "status-disabled": "#CCCCCC", | |
| // deprecated, does not support light and dark.hpe. use text-weak instead | |
| "validation-critical": { | |
| light: lo.hpe.color.background.critical, | |
| dark: ho.hpe.color.background.critical | |
| }, | |
| "validation-ok": { | |
| light: lo.hpe.color.background.ok, | |
| dark: ho.hpe.color.background.ok | |
| }, | |
| "validation-warning": { | |
| light: lo.hpe.color.background.warning, | |
| dark: ho.hpe.color.background.warning | |
| }, | |
| icon: { | |
| light: lo.hpe.color.icon.default, | |
| dark: ho.hpe.color.icon.default | |
| }, | |
| "selected-background": "background-selected-strong-enabled", | |
| "selected-text": "text-onSelectedPrimaryStrong", | |
| placeholder: { | |
| light: lo.hpe.color.text.placeholder, | |
| dark: ho.hpe.color.text.placeholder | |
| }, | |
| "disabled-text": "text-disabled" | |
| // deprecate | |
| }), nS, oS, iS, aS, sS; | |
| function da() { | |
| return da = Object.assign ? Object.assign.bind() : function(e) { | |
| for (var t = 1; t < arguments.length; t++) { | |
| var r = arguments[t]; | |
| for (var o in r) ({}).hasOwnProperty.call(r, o) && (e[o] = r[o]); | |
| } | |
| return e; | |
| }, da.apply(null, arguments); | |
| } | |
| function em(e, t) { | |
| return t || (t = e.slice(0)), e.raw = t, e; | |
| } | |
| function lS() { | |
| return /* @__PURE__ */ le.createElement("svg", { | |
| style: { | |
| stroke: "none" | |
| }, | |
| width: "36", | |
| height: "18", | |
| viewBox: "0 0 48 24", | |
| fill: "none", | |
| xmlns: "http://www.w3.org/2000/svg" | |
| }, /* @__PURE__ */ le.createElement("path", { | |
| fillRule: "evenodd", | |
| clipRule: "evenodd", | |
| d: "M2 6H46V18H2V6ZM5 9H43V15H5V9Z", | |
| fill: "#00C781" | |
| })); | |
| } | |
| var hv = 24, o9 = function(t) { | |
| return t && typeof t == "object" && !Array.isArray(t); | |
| }, i9 = function(t) { | |
| return Object.keys(t).forEach(function(r) { | |
| return r && o9(t[r]) && Object.freeze(t[r]); | |
| }), Object.freeze(t); | |
| }, a9 = ["xsmall", "small", "medium", "large", "xlarge"], Sy = ["default", "secondary", "primary", "toolbar"], s9 = ["hover", "active", "disabled"], uS = ["xsmall", "small", "medium", "large", "xlarge", "xxlarge", "3xlarge", "4xlarge", "5xlarge", "6xlarge"], l9 = { | |
| 1: "xlarge", | |
| 2: "large", | |
| 3: "medium", | |
| 4: "small", | |
| 5: "xsmall", | |
| 6: "xxsmall" | |
| }, u9 = function(t, r, o) { | |
| var u = t.hpe.breakpoint.small, h = o === "container" ? yt(nS || (nS = em([` | |
| @container `, ` { | |
| `, ` | |
| } | |
| `])), u && "(max-width: " + u + ")", r) : yt(oS || (oS = em([` | |
| @media only screen `, ` { | |
| `, ` | |
| } | |
| `])), u && "and (max-width: " + u + ")", r); | |
| return h.join(""); | |
| }, mn = function(t, r) { | |
| var o; | |
| return typeof r.global.colors[t] == "string" ? r.global.colors[t] : ((o = r.global.colors[t]) == null ? void 0 : o[r.dark ? "dark" : "light"]) || t; | |
| }, cS = function(t) { | |
| return t === "3xlarge" ? "3xl" : t === "4xlarge" ? "4xl" : t === "5xlarge" ? "5xl" : t === "6xlarge" ? "6xl" : t; | |
| }, c9 = function(t, r) { | |
| var o, u, h, c, p, g, m, E, S, I, w, b, T, R, D, $, Y, Z, ne, te, ie, ye, J, de, ke, se, Re, Ne, Be, Ue, Xe, G, me, ve, Q, fe, Ge, st, lt = t.primitives, Ve = t.light, ft = t.dark, Ce = t.small, Me = t.large, Tt = t.global, B = t.components, Vt = function(xe) { | |
| return { | |
| "5xsmall": xe.hpe.container["5xsmall"], | |
| "4xsmall": xe.hpe.container["4xsmall"], | |
| "3xsmall": xe.hpe.container["3xsmall"], | |
| xxsmall: xe.hpe.container.xxsmall, | |
| xsmall: xe.hpe.container.xsmall, | |
| small: xe.hpe.container.small, | |
| medium: xe.hpe.container.medium, | |
| large: xe.hpe.container.large, | |
| xlarge: xe.hpe.container.xlarge, | |
| xxlarge: xe.hpe.container.xxlarge, | |
| "3xlarge": xe.hpe.container["3xlarge"], | |
| full: "100%" | |
| }; | |
| }, qt = da({}, { | |
| borderSize: { | |
| xsmall: Me.hpe.borderWidth.xsmall, | |
| small: Me.hpe.borderWidth.small, | |
| medium: Me.hpe.borderWidth.medium, | |
| default: Me.hpe.borderWidth.default, | |
| large: Me.hpe.borderWidth.large | |
| }, | |
| edgeSize: { | |
| none: Me.hpe.spacing.none, | |
| hair: Me.hpe.spacing.hair, | |
| "5xsmall": Me.hpe.spacing["5xsmall"], | |
| "4xsmall": Me.hpe.spacing["4xsmall"], | |
| "3xsmall": Me.hpe.spacing["3xsmall"], | |
| xxsmall: Me.hpe.spacing.xxsmall, | |
| xsmall: Me.hpe.spacing.xsmall, | |
| small: Me.hpe.spacing.small, | |
| medium: Me.hpe.spacing.medium, | |
| large: Me.hpe.spacing.large, | |
| xlarge: Me.hpe.spacing.xlarge, | |
| xxlarge: Me.hpe.spacing.xxlarge, | |
| "3xlarge": Me.hpe.spacing["3xlarge"], | |
| responsiveBreakpoint: "small" | |
| }, | |
| radius: { | |
| none: Me.hpe.radius.none, | |
| hair: Me.hpe.radius.hair, | |
| xxsmall: Me.hpe.radius.xxsmall, | |
| xsmall: Me.hpe.radius.xsmall, | |
| small: Me.hpe.radius.small, | |
| medium: Me.hpe.radius.medium, | |
| large: Me.hpe.radius.large, | |
| xlarge: Me.hpe.radius.xlarge, | |
| xxlarge: Me.hpe.radius.xxlarge, | |
| full: Me.hpe.radius.full, | |
| responsiveBreakpoint: "small" | |
| }, | |
| size: Vt(Me) | |
| }, { | |
| breakpoints: { | |
| xsmall: da({}, { | |
| borderSize: { | |
| xsmall: Ce.hpe.borderWidth.xsmall, | |
| small: Ce.hpe.borderWidth.small, | |
| medium: Ce.hpe.borderWidth.medium, | |
| default: Ce.hpe.borderWidth.default, | |
| large: Ce.hpe.borderWidth.large | |
| }, | |
| edgeSize: { | |
| none: Ce.hpe.spacing.none, | |
| hair: Ce.hpe.spacing.hair, | |
| "5xsmall": Ce.hpe.spacing["5xsmall"], | |
| "4xsmall": Ce.hpe.spacing["4xsmall"], | |
| "3xsmall": Ce.hpe.spacing["3xsmall"], | |
| xxsmall: Ce.hpe.spacing.xxsmall, | |
| xsmall: Ce.hpe.spacing.xsmall, | |
| small: Ce.hpe.spacing.small, | |
| medium: Ce.hpe.spacing.medium, | |
| large: Ce.hpe.spacing.large, | |
| xlarge: Ce.hpe.spacing.xlarge, | |
| xxlarge: Ce.hpe.spacing.xxlarge, | |
| "3xlarge": Ce.hpe.spacing["3xlarge"], | |
| responsiveBreakpoint: "small" | |
| }, | |
| radius: { | |
| none: Ce.hpe.radius.none, | |
| hair: Ce.hpe.radius.hair, | |
| xxsmall: Ce.hpe.radius.xxsmall, | |
| xsmall: Ce.hpe.radius.xsmall, | |
| small: Ce.hpe.radius.small, | |
| medium: Ce.hpe.radius.medium, | |
| large: Ce.hpe.radius.large, | |
| xlarge: Ce.hpe.radius.xlarge, | |
| xxlarge: Ce.hpe.radius.xxlarge, | |
| full: Ce.hpe.radius.full, | |
| responsiveBreakpoint: "small" | |
| }, | |
| size: Vt(Ce) | |
| }, { | |
| value: parseInt(Tt.hpe.breakpoint.xsmall, 10) | |
| }), | |
| small: da({}, { | |
| borderSize: { | |
| xsmall: Ce.hpe.borderWidth.xsmall, | |
| small: Ce.hpe.borderWidth.small, | |
| medium: Ce.hpe.borderWidth.medium, | |
| default: Ce.hpe.borderWidth.default, | |
| large: Ce.hpe.borderWidth.large | |
| }, | |
| edgeSize: { | |
| none: Ce.hpe.spacing.none, | |
| hair: Ce.hpe.spacing.hair, | |
| "5xsmall": Ce.hpe.spacing["5xsmall"], | |
| "4xsmall": Ce.hpe.spacing["4xsmall"], | |
| "3xsmall": Ce.hpe.spacing["3xsmall"], | |
| xxsmall: Ce.hpe.spacing.xxsmall, | |
| xsmall: Ce.hpe.spacing.xsmall, | |
| small: Ce.hpe.spacing.small, | |
| medium: Ce.hpe.spacing.medium, | |
| large: Ce.hpe.spacing.large, | |
| xlarge: Ce.hpe.spacing.xlarge, | |
| xxlarge: Ce.hpe.spacing.xxlarge, | |
| "3xlarge": Ce.hpe.spacing["3xlarge"], | |
| responsiveBreakpoint: "small" | |
| }, | |
| radius: { | |
| none: Ce.hpe.radius.none, | |
| hair: Ce.hpe.radius.hair, | |
| xxsmall: Ce.hpe.radius.xxsmall, | |
| xsmall: Ce.hpe.radius.xsmall, | |
| small: Ce.hpe.radius.small, | |
| medium: Ce.hpe.radius.medium, | |
| large: Ce.hpe.radius.large, | |
| xlarge: Ce.hpe.radius.xlarge, | |
| xxlarge: Ce.hpe.radius.xxlarge, | |
| full: Ce.hpe.radius.full, | |
| responsiveBreakpoint: "small" | |
| }, | |
| size: Vt(Ce) | |
| }, { | |
| value: parseInt(Tt.hpe.breakpoint.small, 10) | |
| }), | |
| medium: { | |
| value: parseInt(Tt.hpe.breakpoint.medium, 10) | |
| }, | |
| large: { | |
| value: parseInt(Tt.hpe.breakpoint.large, 10) | |
| }, | |
| xlarge: {} | |
| } | |
| }), br = { | |
| color: B.hpe.select.default.option.rest.textColor, | |
| border: { | |
| radius: qt.edgeSize[B.hpe.select.default.medium.option.borderRadius] || B.hpe.select.default.medium.option.borderRadius, | |
| width: qt.borderSize[B.hpe.select.default.medium.option.borderWidth] || B.hpe.select.default.medium.option.borderWidth, | |
| color: B.hpe.select.default.option.rest.borderColor | |
| }, | |
| pad: { | |
| horizontal: B.hpe.select.default.medium.option.paddingX, | |
| vertical: B.hpe.select.default.medium.option.paddingY | |
| }, | |
| font: { | |
| weight: B.hpe.select.default.option.rest.fontWeight | |
| } | |
| }, Ar = { | |
| vertical: B.hpe.button.default.medium.iconOnly.paddingY, | |
| horizontal: B.hpe.button.default.medium.iconOnly.paddingY | |
| }, Gt = {}; | |
| uS.forEach(function(Ae) { | |
| var xe = Ae === "6xlarge" ? "5xlarge" : Ae, ze = cS(xe); | |
| Gt[ze] = { | |
| color: B.hpe.anchor.default.rest.textColor, | |
| textDecoration: B.hpe.anchor.default.rest.textDecoration, | |
| fontWeight: B.hpe.anchor.default.rest.fontWeight, | |
| gap: B.hpe.anchor.default[xe].gapX | |
| }; | |
| }); | |
| var hr = {}, gt = {}, Yt = {}, Pe = { | |
| size: "0rem", | |
| height: "0rem", | |
| maxWidth: "0rem", | |
| weight: 0 | |
| }; | |
| uS.forEach(function(Ae) { | |
| var xe, ze, Ot, zt, Lt, mr, vr; | |
| if (parseInt((xe = Me.hpe.text) == null || (xe = xe[Ae]) == null ? void 0 : xe.fontSize.replace("rem", ""), 10) > parseInt(Pe.size.replace("rem", ""), 10)) { | |
| var wr, Or, kr, Pr; | |
| Pe.size = (wr = Me.hpe.text) == null || (wr = wr[Ae]) == null ? void 0 : wr.fontSize, Pe.height = (Or = Me.hpe.text) == null || (Or = Or[Ae]) == null ? void 0 : Or.lineHeight, Pe.maxWidth = (kr = Me.hpe.text) == null || (kr = kr[Ae]) == null ? void 0 : kr.maxWidth, Pe.weight = (Pr = Me.hpe.text) == null || (Pr = Pr[Ae]) == null ? void 0 : Pr.fontWeight; | |
| } | |
| var Nt = cS(Ae); | |
| hr[Nt] = { | |
| size: ((ze = Me.hpe.text) == null || (ze = ze[Ae]) == null ? void 0 : ze.fontSize) || Pe.size, | |
| height: ((Ot = Me.hpe.text) == null || (Ot = Ot[Ae]) == null ? void 0 : Ot.lineHeight) || Pe.height, | |
| maxWidth: ((zt = Me.hpe.text) == null || (zt = zt[Ae]) == null ? void 0 : zt.maxWidth) || Pe.maxWidth | |
| }, gt[Nt] = { | |
| size: ((Lt = Me.hpe.text) == null || (Lt = Lt[Ae]) == null ? void 0 : Lt.fontSize) || Pe.size, | |
| height: ((mr = Me.hpe.text) == null || (mr = mr[Ae]) == null ? void 0 : mr.lineHeight) || Pe.height | |
| }, Yt[Nt] = ((vr = Me.hpe.text) == null || (vr = vr[Ae]) == null ? void 0 : vr.fontWeight) || Pe.weight; | |
| }), gt.extend = function(Ae) { | |
| var xe = Ae.size, ze = Ae.weight; | |
| return ze ? ze === "bold" ? "font-weight: 500;" : "" : "font-weight: " + Yt[xe] + ";"; | |
| }, hr.extend = function(Ae) { | |
| var xe = Ae.size, ze = Ae.weight; | |
| return ze ? ze === "bold" ? "font-weight: 500;" : "" : "font-weight: " + Yt[xe] + ";"; | |
| }; | |
| var At = {}; | |
| Sy.forEach(function(Ae) { | |
| var xe, ze, Ot, zt, Lt, mr, vr = (xe = B.hpe.button[Ae]) == null ? void 0 : xe.medium.borderWidth, wr = (ze = B.hpe.button[Ae]) == null ? void 0 : ze.medium.borderRadius; | |
| At[Ae] = { | |
| background: (Ot = B.hpe.button) == null ? void 0 : Ot[Ae].rest.background, | |
| border: { | |
| width: qt.borderSize[vr] || vr, | |
| color: (zt = B.hpe.button) == null ? void 0 : zt[Ae].rest.borderColor, | |
| radius: qt.borderSize[wr] || wr | |
| }, | |
| color: (Lt = B.hpe.button) == null ? void 0 : Lt[Ae].rest.textColor, | |
| font: { | |
| weight: (mr = B.hpe.button) == null ? void 0 : mr[Ae].rest.fontWeight | |
| } | |
| }; | |
| }); | |
| var Et = {}; | |
| s9.forEach(function(Ae) { | |
| Et[Ae] = {}, Sy.forEach(function(xe) { | |
| var ze = Ae; | |
| if (Ae === "active") { | |
| var Ot, zt, Lt, mr, vr, wr, Or, kr; | |
| ze = "selected", Et[Ae][xe] = { | |
| background: { | |
| color: (Ot = B.hpe.button) == null || (Ot = Ot[xe]) == null ? void 0 : Ot[ze].rest.background | |
| }, | |
| border: { | |
| color: (zt = B.hpe.button) == null || (zt = zt[xe]) == null ? void 0 : zt[ze].rest.borderColor | |
| }, | |
| color: (Lt = B.hpe.button) == null || (Lt = Lt[xe]) == null ? void 0 : Lt[ze].rest.textColor, | |
| font: { | |
| weight: (mr = B.hpe.button) == null || (mr = mr[xe]) == null ? void 0 : mr[ze].rest.fontWeight | |
| } | |
| }, "active" in Et.hover || (Et.hover.active = {}), Et.hover[Ae][xe] = { | |
| background: { | |
| color: (vr = B.hpe.button) == null || (vr = vr[xe]) == null || (vr = vr[ze]) == null || (vr = vr.hover) == null ? void 0 : vr.background | |
| }, | |
| border: { | |
| color: (wr = B.hpe.button) == null || (wr = wr[xe]) == null || (wr = wr[ze]) == null || (wr = wr.hover) == null ? void 0 : wr.borderColor | |
| }, | |
| color: (Or = B.hpe.button) == null || (Or = Or[xe]) == null || (Or = Or[ze]) == null || (Or = Or.hover) == null ? void 0 : Or.textColor, | |
| font: { | |
| weight: (kr = B.hpe.button) == null || (kr = kr[xe]) == null || (kr = kr[ze]) == null || (kr = kr.hover) == null ? void 0 : kr.fontWeight | |
| } | |
| }; | |
| } else if (Ae === "disabled") { | |
| var Pr, Nt, Ct, Rt; | |
| Et[Ae][xe] = { | |
| background: { | |
| color: (Pr = B.hpe.button) == null || (Pr = Pr[xe]) == null ? void 0 : Pr[ze].rest.background | |
| }, | |
| border: { | |
| width: "", | |
| color: (Nt = B.hpe.button) == null || (Nt = Nt[xe]) == null ? void 0 : Nt[ze].rest.borderColor | |
| }, | |
| color: (Ct = B.hpe.button) == null || (Ct = Ct[xe]) == null ? void 0 : Ct[ze].rest.textColor, | |
| font: { | |
| weight: (Rt = B.hpe.button) == null || (Rt = Rt[xe]) == null ? void 0 : Rt[ze].rest.fontWeight | |
| } | |
| }; | |
| } else { | |
| var Xt, Lr, Vr, Qt; | |
| Et[Ae][xe] = { | |
| background: { | |
| color: (Xt = B.hpe.button) == null || (Xt = Xt[xe]) == null ? void 0 : Xt[ze].background | |
| }, | |
| border: { | |
| width: "", | |
| color: (Lr = B.hpe.button) == null || (Lr = Lr[xe]) == null ? void 0 : Lr[ze].borderColor | |
| }, | |
| color: (Vr = B.hpe.button) == null || (Vr = Vr[xe]) == null ? void 0 : Vr[ze].textColor, | |
| font: { | |
| weight: (Qt = B.hpe.button) == null || (Qt = Qt[xe]) == null ? void 0 : Qt[ze].fontWeight | |
| } | |
| }; | |
| } | |
| }); | |
| }); | |
| var ot = {}; | |
| return a9.forEach(function(Ae) { | |
| var xe, ze, Ot, zt, Lt, mr = {}; | |
| Sy.forEach(function(vr) { | |
| var wr, Or, kr; | |
| mr[vr] = { | |
| border: { | |
| radius: (wr = B.hpe.button) == null || (wr = wr[vr]) == null || (wr = wr[Ae]) == null ? void 0 : wr.borderRadius | |
| }, | |
| pad: { | |
| vertical: (Or = B.hpe.button) == null || (Or = Or[vr]) == null || (Or = Or[Ae]) == null ? void 0 : Or.paddingY, | |
| horizontal: (kr = B.hpe.button) == null || (kr = kr[vr]) == null || (kr = kr[Ae]) == null ? void 0 : kr.paddingX | |
| } | |
| }; | |
| }), ot[Ae] = da({ | |
| border: { | |
| radius: (xe = B.hpe.button) == null || (xe = xe.default) == null || (xe = xe[Ae]) == null ? void 0 : xe.borderRadius | |
| }, | |
| pad: { | |
| vertical: (ze = B.hpe.button) == null || (ze = ze.default) == null || (ze = ze[Ae]) == null ? void 0 : ze.paddingY, | |
| horizontal: (Ot = B.hpe.button) == null || (Ot = Ot.default) == null || (Ot = Ot[Ae]) == null ? void 0 : Ot.paddingX | |
| }, | |
| iconOnly: { | |
| pad: { | |
| vertical: (zt = B.hpe.button) == null || (zt = zt.default) == null || (zt = zt[Ae]) == null ? void 0 : zt.iconOnly.paddingY, | |
| horizontal: (Lt = B.hpe.button) == null || (Lt = Lt.default) == null || (Lt = Lt[Ae]) == null ? void 0 : Lt.iconOnly.paddingX | |
| } | |
| } | |
| }, mr); | |
| }), i9({ | |
| defaultMode: "light", | |
| global: da({ | |
| backgrounds: t9 | |
| }, qt, { | |
| colors: n9, | |
| control: { | |
| border: { | |
| radius: B.hpe.formField.default.medium.input.container.borderRadius, | |
| color: B.hpe.formField.default.input.container.rest.borderColor | |
| }, | |
| disabled: { | |
| opacity: 0.3 | |
| } | |
| }, | |
| input: { | |
| font: { | |
| height: "inherit", | |
| weight: B.hpe.formField.default.medium.value.fontWeight | |
| }, | |
| padding: { | |
| horizontal: B.hpe.formField.default.medium.input.container.paddingX, | |
| vertical: B.hpe.formField.default.medium.input.container.paddingY | |
| }, | |
| readOnly: { | |
| background: B.hpe.formField.default.input.container.readOnly.rest.background, | |
| border: { | |
| color: B.hpe.formField.default.input.container.readOnly.rest.borderColor | |
| } | |
| }, | |
| extend: function(xe) { | |
| var ze = xe.theme; | |
| return ` | |
| color: ` + mn(B.hpe.formField.default.value.rest.textColor, ze) + `; | |
| &::-webkit-input-placeholder { | |
| font-weight: ` + B.hpe.formField.default.medium.placeholder.fontWeight + `; | |
| } | |
| &::-moz-placeholder { | |
| font-weight: ` + B.hpe.formField.default.medium.placeholder.fontWeight + `; | |
| } | |
| &:-ms-input-placeholder { | |
| font-weight: ` + B.hpe.formField.default.medium.placeholder.fontWeight + `; | |
| } | |
| `; | |
| } | |
| }, | |
| font: { | |
| family: Tt.hpe.fontStack.primary, | |
| face: ` | |
| @font-face { | |
| font-family: "Graphik"; | |
| src: url("https://www.hpe.com/content/dam/hpe/fonts/graphik/HPEGraphik-Regular-Web.woff2") format('woff2'); | |
| } | |
| @font-face { | |
| font-family: "Graphik"; | |
| src: url("https://www.hpe.com/content/dam/hpe/fonts/graphik/HPEGraphik-Regular-Web.woff2") format('woff2'); | |
| font-weight: 400; | |
| } | |
| @font-face { | |
| font-family: "Graphik"; | |
| src: url("https://www.hpe.com/content/dam/hpe/fonts/graphik/HPEGraphik-Bold-Web.woff2") format('woff2'); | |
| font-weight: 700; | |
| } | |
| @font-face { | |
| font-family: "Graphik"; | |
| src: url("https://www.hpe.com/content/dam/hpe/fonts/graphik/HPEGraphik-Semibold-Web.woff2") format('woff2'); | |
| font-weight: 600; | |
| } | |
| @font-face { | |
| font-family: "Graphik"; | |
| src: url("https://www.hpe.com/content/dam/hpe/fonts/graphik/HPEGraphik-Medium-Web.woff2") format('woff2'); | |
| font-weight: 500; | |
| } | |
| @font-face { | |
| font-family: "Graphik"; | |
| src: url("https://www.hpe.com/content/dam/hpe/fonts/graphik/HPEGraphik-Extralight-Web.woff2") format('woff2'); | |
| font-weight: 100; | |
| } | |
| @font-face { | |
| font-family: "GraphikXXCondensed"; | |
| src: url("https://www.hpe.com/content/dam/hpe/fonts/graphik/HPEGraphikXXCondensed-Regular-Web.woff2") format('woff2'); | |
| } | |
| @font-face { | |
| font-family: "GraphikXXCondensed"; | |
| src: url("https://www.hpe.com/content/dam/hpe/fonts/graphik/HPEGraphikXXCondensed-Regular-Web.woff2") format('woff2'); | |
| font-weight: 400; | |
| } | |
| @font-face { | |
| font-family: "GraphikXXCondensed"; | |
| src: url("https://www.hpe.com/content/dam/hpe/fonts/graphik/HPEGraphikXXCondensed-Bold-Web.woff2") format('woff2'); | |
| font-weight: 700; | |
| } | |
| @font-face { | |
| font-family: "GraphikXXCondensed"; | |
| src: url("https://www.hpe.com/content/dam/hpe/fonts/graphik/HPEGraphikXXCondensed-Semibold-Web.woff2") format('woff2'); | |
| font-weight: 600; | |
| } | |
| @font-face { | |
| font-family: "GraphikXXCondensed"; | |
| src: url("https://www.hpe.com/content/dam/hpe/fonts/graphik/HPEGraphikXXCondensed-Medium-Web.woff2") format('woff2'); | |
| font-weight: 500; | |
| } | |
| @font-face { | |
| font-family: "GraphikXXCondensed"; | |
| src: url("https://www.hpe.com/content/dam/hpe/fonts/graphik/HPEGraphikXXCondensed-Extralight-Web.woff2") format('woff2'); | |
| font-weight: 100; | |
| }`, | |
| size: Me.hpe.text.medium.fontSize, | |
| height: Me.hpe.text.medium.lineHeight | |
| }, | |
| focus: { | |
| border: void 0, | |
| outline: { | |
| color: Tt.hpe.focusIndicator.outline.color, | |
| size: Tt.hpe.focusIndicator.outline.width, | |
| offset: Tt.hpe.focusIndicator.outlineOffset | |
| }, | |
| shadow: { | |
| color: Tt.hpe.focusIndicator.boxShadow.color, | |
| size: Tt.hpe.focusIndicator.boxShadow.spread, | |
| blur: "0px" | |
| }, | |
| twoColor: !0, | |
| inset: { | |
| border: void 0, | |
| outline: { | |
| color: Tt.hpe.focusIndicator.outline.color, | |
| size: Tt.hpe.focusIndicator.outline.width, | |
| offset: "-" + Tt.hpe.focusIndicator.outline.width | |
| }, | |
| shadow: { | |
| color: Tt.hpe.focusIndicator.boxShadow.color, | |
| size: "4px", | |
| blur: "0px", | |
| inset: !0 | |
| }, | |
| twoColor: !0 | |
| } | |
| }, | |
| active: { | |
| background: "background-active", | |
| color: "active-text" | |
| }, | |
| drop: { | |
| background: B.hpe.drop.default.background, | |
| border: { | |
| radius: qt.radius[B.hpe.drop.default.borderRadius] || B.hpe.drop.default.borderRadius | |
| }, | |
| margin: B.hpe.drop.default.margin, | |
| intelligentMargin: !0, | |
| shadowSize: "medium", | |
| /* HPE Global Header/Footer Service a.k.a. HPE Common HFWS sets the header | |
| * at a z-index of 101. This adjustment brings Drop in alignment with Layer | |
| * which needs an elevated z-index to sit atop the Global header. */ | |
| zIndex: B.hpe.drop.default.zIndex, | |
| extend: function() { | |
| return ` | |
| [class*=MaskedInput__ContainerBox] { | |
| padding-block: ` + B.hpe.select.default.medium.drop.paddingY + `; | |
| padding-inline: ` + B.hpe.select.default.medium.drop.paddingX + `; | |
| gap: ` + B.hpe.select.default.medium.drop.gapY + `; | |
| display: flex; | |
| flex-direction: column; | |
| } | |
| `; | |
| } | |
| }, | |
| elevation: { | |
| // Elevation values were derived from this Figma file. | |
| // https://www.figma.com/file/eZYR3dtWdb9U90QvJ7p3T9/HPE-Color-Styles?node-id=405%3A25 | |
| // Naming in Figma file is strong/default/weak vs. Grommet t-shirt sizing. | |
| // As defined here, default is currently mapping to medium. | |
| light: { | |
| small: Ve.hpe.shadow.small, | |
| medium: Ve.hpe.shadow.medium, | |
| large: Ve.hpe.shadow.large | |
| }, | |
| dark: { | |
| small: ft.hpe.shadow.small, | |
| medium: ft.hpe.shadow.medium, | |
| large: ft.hpe.shadow.large | |
| } | |
| }, | |
| hover: { | |
| background: "background-hover", | |
| color: "text-default" | |
| }, | |
| selected: { | |
| background: "background-selected-primary-strong", | |
| color: "text-onSelectedPrimaryStrong" | |
| } | |
| }), | |
| accordion: { | |
| panel: { | |
| border: { | |
| side: "horizontal", | |
| color: "border" | |
| } | |
| }, | |
| heading: { | |
| level: 3, | |
| margin: { | |
| vertical: "medium", | |
| horizontal: "3xsmall" | |
| } | |
| }, | |
| hover: { | |
| background: "background-hover", | |
| heading: { | |
| color: void 0 | |
| } | |
| }, | |
| border: void 0, | |
| icons: { | |
| collapse: Zg, | |
| expand: Ah, | |
| color: "text" | |
| }, | |
| icon: { | |
| container: { | |
| pad: { | |
| horizontal: "xsmall" | |
| } | |
| } | |
| }, | |
| label: { | |
| container: { | |
| pad: { | |
| horizontal: "3xsmall" | |
| } | |
| } | |
| } | |
| }, | |
| anchor: { | |
| color: B.hpe.anchor.default.rest.textColor, | |
| textDecoration: B.hpe.anchor.default.rest.textDecoration, | |
| fontWeight: B.hpe.anchor.default.rest.fontWeight, | |
| gap: B.hpe.anchor.default.medium.gapX, | |
| icon: { | |
| color: "icon-primary" | |
| }, | |
| hover: { | |
| textDecoration: B.hpe.anchor.default.hover.textDecoration, | |
| extend: function(xe) { | |
| var ze = xe.theme; | |
| return "color: " + mn(B.hpe.anchor.default.hover.textColor, ze) + ";"; | |
| } | |
| }, | |
| iconOnly: { | |
| pad: "xsmall" | |
| }, | |
| size: Gt | |
| }, | |
| avatar: { | |
| size: { | |
| xsmall: (o = B.hpe.element) == null ? void 0 : o.xsmall.minHeight, | |
| small: (u = B.hpe.element) == null ? void 0 : u.small.minHeight, | |
| // 24px | |
| medium: (h = B.hpe.element) == null ? void 0 : h.medium.minHeight, | |
| // default 48px | |
| large: (c = B.hpe.element) == null ? void 0 : c.large.minHeight, | |
| // 72px | |
| xlarge: (p = B.hpe.element) == null ? void 0 : p.xlarge.minHeight, | |
| // 96px | |
| "2xl": hv * 5 + "px", | |
| "3xl": hv * 6 + "px", | |
| "4xl": hv * 7 + "px", | |
| "5xl": hv * 8 + "px" | |
| }, | |
| text: { | |
| size: { | |
| xsmall: "xsmall", | |
| small: "small", | |
| medium: "medium", | |
| large: "large", | |
| xlarge: "xlarge", | |
| "2xl": "3xl", | |
| "3xl": "4xl", | |
| "4xl": "5xl", | |
| "5xl": "6xl" | |
| } | |
| } | |
| }, | |
| box: { | |
| border: { | |
| offset: "3xsmall" | |
| } | |
| }, | |
| button: da({ | |
| intelligentPad: !1, | |
| color: B.hpe.button.default.rest.textColor, | |
| gap: B.hpe.button.default.medium.gapX, | |
| badge: { | |
| align: "container", | |
| container: { | |
| background: "background-neutral-xstrong" | |
| }, | |
| size: { | |
| medium: "18px" | |
| }, | |
| text: { | |
| size: { | |
| medium: "xsmall" | |
| } | |
| } | |
| }, | |
| busy: { | |
| gap: "xsmall", | |
| icons: { | |
| success: l2 | |
| } | |
| }, | |
| "cta-primary": da({}, At.primary, { | |
| icon: /* @__PURE__ */ le.createElement(lS, null), | |
| reverse: !0 | |
| }), | |
| "cta-alternate": da({}, At.secondary, { | |
| icon: /* @__PURE__ */ le.createElement(lS, null), | |
| reverse: !0 | |
| }) | |
| }, At, { | |
| option: br, | |
| active: da({}, Et.active, { | |
| "cta-primary": Et.active.primary, | |
| "cta-alternate": Et.active.secondary, | |
| extend: function(xe) { | |
| var ze = xe.kind, Ot = xe.theme, zt = xe.keyboard, Lt = ""; | |
| return ze === "option" && (Lt += ` | |
| &[aria-selected="true"] { background: ` + mn(B.hpe.select.default.option.selected.rest.background, Ot) + "; }"), zt && (Lt += ` | |
| position: relative; | |
| &::before { | |
| display: block; | |
| position: absolute; | |
| content: ''; | |
| width: ` + B.hpe.select.default.medium.option.marker.width + `; | |
| border-top-left-radius: ` + B.hpe.select.default.medium.option.marker.borderTopLeftRadius + `; | |
| border-bottom-left-radius: ` + B.hpe.select.default.medium.option.marker.borderBottomLeftRadius + `; | |
| top: ` + B.hpe.select.default.medium.option.marker.top + `; | |
| bottom: ` + B.hpe.select.default.medium.option.marker.bottom + `; | |
| left: ` + B.hpe.select.default.medium.option.marker.left + `; | |
| background: ` + mn("border-selected", Ot) + `; | |
| }`), Lt; | |
| } | |
| }), | |
| disabled: da({}, Et.disabled.default, { | |
| opacity: 1 | |
| }, Et.disabled, { | |
| option: { | |
| background: B.hpe.select.default.option.disabled.rest.background, | |
| border: { | |
| color: B.hpe.select.default.option.disabled.rest.borderColor | |
| }, | |
| color: B.hpe.select.default.option.disabled.rest.textColor, | |
| font: { | |
| weight: B.hpe.select.default.option.disabled.rest.fontWeight | |
| } | |
| }, | |
| "cta-primary": Et.disabled.primary, | |
| "cta-alternate": Et.disabled.secondary | |
| }), | |
| selected: { | |
| option: { | |
| background: B.hpe.select.default.option.selected.rest.background, | |
| border: { | |
| color: B.hpe.select.default.option.selected.rest.borderColor | |
| }, | |
| color: B.hpe.select.default.option.selected.rest.textColor, | |
| font: { | |
| weight: B.hpe.select.default.option.selected.rest.fontWeight | |
| }, | |
| extend: function(xe) { | |
| var ze = xe.theme, Ot = xe.disabled; | |
| return ` | |
| position: relative; | |
| &::before { | |
| display: block; | |
| position: absolute; | |
| content: ''; | |
| width: ` + B.hpe.select.default.medium.option.marker.width + `; | |
| border-top-left-radius: ` + B.hpe.select.default.medium.option.marker.borderTopLeftRadius + `; | |
| border-bottom-left-radius: ` + B.hpe.select.default.medium.option.marker.borderBottomLeftRadius + `; | |
| top: ` + B.hpe.select.default.medium.option.marker.top + `; | |
| bottom: ` + B.hpe.select.default.medium.option.marker.bottom + `; | |
| left: ` + B.hpe.select.default.medium.option.marker.left + `; | |
| background: ` + mn(Ot ? "border-disabled" : B.hpe.select.default.option.marker.rest.background, ze) + `; | |
| } | |
| `; | |
| } | |
| } | |
| }, | |
| hover: da({ | |
| "cta-primary": Et.hover.primary, | |
| "cta-alternate": Et.hover.secondary | |
| }, Et.hover, { | |
| active: da({}, Et.hover.active, { | |
| "cta-primary": Et.hover.active.primary, | |
| "cta-alternate": Et.hover.active.secondary | |
| }), | |
| option: { | |
| background: B.hpe.select.default.option.hover.background, | |
| border: { | |
| color: B.hpe.select.default.option.hover.borderColor | |
| }, | |
| color: B.hpe.select.default.option.hover.textColor, | |
| extend: function(xe) { | |
| return xe["aria-selected"] && ` | |
| background: ` + mn(B.hpe.select.default.option.selected.hover.background, xe.theme) + `; | |
| color: ` + mn(B.hpe.select.default.option.selected.hover.textColor, xe.theme) + ` | |
| `; | |
| } | |
| } | |
| }), | |
| size: da({}, ot, { | |
| medium: da({}, ot.medium, { | |
| option: { | |
| pad: { | |
| horizontal: B.hpe.select.default.medium.option.paddingX, | |
| vertical: B.hpe.select.default.medium.option.paddingY | |
| } | |
| } | |
| }) | |
| }), | |
| extend: function(xe) { | |
| var ze = xe.colorValue, Ot = xe.theme, zt = xe.kind, Lt = xe.disabled, mr = ""; | |
| if ((zt === "primary" || zt === "cta-primary") && !Lt) { | |
| mr += "color: " + mn("text-onStrong", Ot) + " !important;"; | |
| var vr = Ot.dark ? ft.hpe.color.icon.onStrong : Ve.hpe.color.icon.onStrong; | |
| mr += "svg { stroke: " + vr + "; fill: " + vr + "; }"; | |
| } | |
| return ze && (mr += ` | |
| &:hover { background: ` + mn(ze, Ot) + `; } | |
| `), mr; | |
| } | |
| }), | |
| calendar: { | |
| day: { | |
| adjacent: { | |
| color: "text-weak" | |
| }, | |
| hover: { | |
| background: "background-hover", | |
| color: "text-strong" | |
| }, | |
| selected: { | |
| background: "background-selected-primary-strong", | |
| color: "text-onSelectedPrimaryStrong", | |
| hover: { | |
| background: "background-selected-primary-strong-hover" | |
| }, | |
| font: { | |
| weight: Tt.hpe.fontWeight.medium | |
| } | |
| }, | |
| inRange: { | |
| color: "text-onSelectedPrimary", | |
| hover: { | |
| background: "background-selected-primary-hover", | |
| color: "text-onSelectedPrimary" | |
| }, | |
| font: { | |
| weight: Tt.hpe.fontWeight.medium | |
| } | |
| }, | |
| extend: function(xe) { | |
| var ze = xe.isSelected, Ot = xe.theme; | |
| return ( | |
| // grommet logic was incorrectly switching to wrong theme mode | |
| // so overriding in extend | |
| ze ? "color: " + Ot.global.colors["text-onSelectedPrimaryStrong"][Ot.dark ? "dark" : "light"] + ";" : "" | |
| ); | |
| } | |
| }, | |
| range: { | |
| background: "background-selected-primary" | |
| }, | |
| icons: { | |
| next: qv, | |
| previous: xb | |
| }, | |
| small: { | |
| fontSize: "13.6px", | |
| lineHeight: 1.375, | |
| daySize: "27.43px", | |
| day: { | |
| round: "full" | |
| }, | |
| range: { | |
| round: "none", | |
| start: { | |
| round: { | |
| corner: "left", | |
| size: "full" | |
| } | |
| }, | |
| end: { | |
| round: { | |
| corner: "right", | |
| size: "full" | |
| } | |
| } | |
| }, | |
| title: { | |
| size: "medium", | |
| weight: Tt.hpe.fontWeight.normal, | |
| color: "text-strong", | |
| container: { | |
| pad: { | |
| horizontal: "3xsmall" | |
| } | |
| } | |
| } | |
| }, | |
| medium: { | |
| fontSize: "18px", | |
| lineHeight: 1.45, | |
| daySize: "54.86px", | |
| day: { | |
| round: "full" | |
| }, | |
| range: { | |
| round: "none", | |
| start: { | |
| round: { | |
| corner: "left", | |
| size: "full" | |
| } | |
| }, | |
| end: { | |
| round: { | |
| corner: "right", | |
| size: "full" | |
| } | |
| } | |
| }, | |
| title: { | |
| size: "large", | |
| weight: Tt.hpe.fontWeight.normal, | |
| color: "text-strong", | |
| container: { | |
| pad: { | |
| horizontal: "xsmall" | |
| } | |
| } | |
| } | |
| }, | |
| large: { | |
| fontSize: "31.2px", | |
| lineHeight: 1.11, | |
| daySize: "109.71px", | |
| day: { | |
| round: "full" | |
| }, | |
| range: { | |
| round: "none", | |
| start: { | |
| round: { | |
| corner: "left", | |
| size: "full" | |
| } | |
| }, | |
| end: { | |
| round: { | |
| corner: "right", | |
| size: "full" | |
| } | |
| } | |
| }, | |
| title: { | |
| size: "xlarge", | |
| weight: Tt.hpe.fontWeight.normal, | |
| color: "text-strong", | |
| container: { | |
| pad: { | |
| horizontal: "medium" | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| card: { | |
| container: { | |
| background: "background-front", | |
| elevation: "none", | |
| round: "medium", | |
| extend: "transition: box-shadow 0.3s ease-in-out;" | |
| }, | |
| body: { | |
| pad: "medium" | |
| }, | |
| footer: { | |
| pad: { | |
| horizontal: "medium", | |
| vertical: "xsmall" | |
| } | |
| }, | |
| header: { | |
| pad: "medium" | |
| }, | |
| hover: { | |
| container: { | |
| elevation: "medium" | |
| } | |
| } | |
| }, | |
| cards: { | |
| grid: { | |
| columns: "xsmall", | |
| gap: "medium" | |
| } | |
| }, | |
| carousel: { | |
| disabled: { | |
| icons: { | |
| color: "icon-disabled" | |
| } | |
| } | |
| }, | |
| chart: { | |
| height: "xsmall", | |
| thickness: "medium", | |
| width: "medium" | |
| }, | |
| checkBox: { | |
| hover: { | |
| border: { | |
| color: void 0, | |
| width: qt.borderSize[B.hpe.checkbox.default.medium.control.borderWidth] || B.hpe.checkbox.default.medium.control.borderWidth | |
| }, | |
| // applies to container around control and label | |
| background: { | |
| color: void 0 | |
| }, | |
| extend: function(xe) { | |
| var ze = xe.theme, Ot = xe.toggle, zt = xe.checked, Lt; | |
| return Ot ? Lt = mn(B.hpe.switch.default.control.track.hover.borderColor, ze) : zt && (Ot ? Lt = mn(B.hpe.switch.default.control.track.selected.hover.borderColor, ze) : Lt = mn(B.hpe.checkbox.default.control.selected.hover.borderColor, ze)), yt(iS || (iS = em([` | |
| `, ` | |
| `])), zt ? "border-color: " + Lt + ";" : ""); | |
| } | |
| }, | |
| color: B.hpe.switch.default.control.handle.rest.background, | |
| // The stroke color for the CheckBox icon, the toggle handle background when checked, and the border when checked. Setting to handle background since this is the only place to control this. | |
| border: { | |
| color: B.hpe.checkbox.default.control.rest.borderColor, | |
| width: qt.borderSize[B.hpe.checkbox.default.medium.control.borderWidth] || B.hpe.checkbox.default.medium.control.borderWidth | |
| }, | |
| check: { | |
| radius: B.hpe.checkbox.default.medium.control.borderRadius, | |
| thickness: "2px", | |
| // The stroke width of the checked icon. | |
| extend: function(xe) { | |
| var ze = xe.theme, Ot = xe.checked, zt = xe.indeterminate, Lt = xe.disabled, mr = mn(B.hpe.checkbox.default.control.rest.background, ze), vr = mn(B.hpe.checkbox.default.control.hover.background, ze), wr = mn(B.hpe.checkbox.default.control.rest.borderColor, ze); | |
| return (Ot || zt) && (mr = mn(B.hpe.checkbox.default.control.selected.rest.background, ze), wr = mn(B.hpe.checkbox.default.control.selected.rest.borderColor, ze)), (Ot || zt) && (vr = mn(B.hpe.checkbox.default.control.selected.hover.background, ze)), Lt && (mr = mn(B.hpe.checkbox.default.control.disabled.rest.background, ze), wr = mn(B.hpe.checkbox.default.control.disabled.rest.borderColor, ze)), ` | |
| background: ` + mr + `; | |
| border-color: ` + wr + `; | |
| &:hover { | |
| ` + (Lt ? "" : "background: " + vr + ";") + ` | |
| } | |
| `; | |
| } | |
| }, | |
| icon: { | |
| extend: function(xe) { | |
| var ze = xe.theme, Ot = xe.disabled; | |
| return `stroke-width: 2px; | |
| stroke: ` + mn(Ot ? B.hpe.checkbox.default.control.disabled.rest.iconColor : B.hpe.checkbox.default.control.selected.rest.iconColor, ze); | |
| } | |
| }, | |
| gap: B.hpe.checkbox.default.medium.gapX, | |
| label: { | |
| align: "start" | |
| }, | |
| pad: "none", | |
| size: B.hpe.checkbox.default.medium.control.width, | |
| toggle: { | |
| background: B.hpe.switch.default.control.track.rest.background, | |
| color: B.hpe.switch.default.control.handle.rest.background, | |
| size: B.hpe.switch.default.medium.control.track.width, | |
| knob: { | |
| extend: function(xe) { | |
| var ze = xe.theme, Ot = xe.checked, zt = xe.disabled, Lt = qt.borderSize[B.hpe.switch.default.medium.control.handle.borderWidth] || qt.borderSize[B.hpe.switch.default.medium.control.handle.borderWidth]; | |
| return ` | |
| box-shadow: ` + ze.global.elevation[ze.dark ? "dark" : "light"][B.hpe.switch.default.control.handle.rest.boxShadow] + `; | |
| border: ` + qt.borderSize[B.hpe.switch.default.medium.control.handle.borderWidth] + " solid " + mn(zt ? B.hpe.switch.default.control.handle.disabled.rest.borderColor : B.hpe.switch.default.control.handle.rest.borderColor, ze) + `; | |
| width: ` + B.hpe.switch.default.medium.control.handle.width + `; | |
| height: ` + B.hpe.switch.default.medium.control.handle.height + `; | |
| top: ` + Lt + `; | |
| left: ` + (Ot ? "25px" : Lt) + `; | |
| `; | |
| } | |
| }, | |
| // applies to track around handle | |
| extend: function(xe) { | |
| var ze = xe.checked, Ot = xe.theme, zt = xe.disabled, Lt, mr = mn(B.hpe.switch.default.control.track.hover.background, Ot), vr = mn(B.hpe.switch.default.control.track.rest.borderColor, Ot); | |
| return ze && (Lt = mn(B.hpe.switch.default.control.track.selected.rest.background, Ot), mr = mn(B.hpe.switch.default.control.track.selected.hover.background, Ot)), zt && (Lt = mn(B.hpe.switch.default.control.track.disabled.rest.background, Ot), vr = mn(B.hpe.switch.default.control.handle.disabled.rest.borderColor, Ot)), ` | |
| border-color: ` + vr + `; | |
| background: ` + Lt + `; | |
| &:hover { | |
| ` + (zt ? "" : "background: " + mr + ";") + ` | |
| } | |
| `; | |
| } | |
| }, | |
| extend: function(xe) { | |
| var ze = xe.disabled, Ot = xe.theme; | |
| return yt( | |
| aS || (aS = em([` | |
| font-weight: `, `; | |
| width: auto; | |
| border: `, " solid ", `; | |
| & input:checked + span[class*=CheckBoxToggle] > span[class*=CheckBoxKnob] { | |
| left: 25px; | |
| } | |
| `, ` | |
| }; | |
| `])), | |
| B.hpe.checkbox.default.label.rest.fontWeight, | |
| B.hpe.formField.default.medium.input.container.borderWidth, | |
| mn(B.hpe.formField.default.input.group.item.rest.borderColor, Ot), | |
| // override built in disabled opacity: 0.5 from grommet | |
| ze && `opacity: 1; | |
| color: ` + mn(B.hpe.checkbox.default.label.disabled.rest.textColor, Ot) + ";" | |
| ); | |
| } | |
| }, | |
| checkBoxGroup: { | |
| container: { | |
| cssGap: !0, | |
| gap: "xsmall", | |
| margin: "none" | |
| } | |
| }, | |
| data: { | |
| button: { | |
| kind: "toolbar" | |
| }, | |
| toolbar: { | |
| gap: "medium" | |
| } | |
| }, | |
| dataChart: { | |
| gap: "xsmall", | |
| granularity: { | |
| y: { | |
| "5xsmall": { | |
| fine: 2, | |
| medium: 2 | |
| }, | |
| "4xsmall": { | |
| fine: 2, | |
| medium: 2 | |
| }, | |
| "3xsmall": { | |
| fine: 3, | |
| medium: 2 | |
| }, | |
| xxsmall: { | |
| fine: 3, | |
| medium: 2 | |
| }, | |
| xsmall: { | |
| fine: 5, | |
| medium: 3 | |
| }, | |
| small: { | |
| fine: 5, | |
| medium: 3 | |
| }, | |
| medium: { | |
| fine: 7, | |
| medium: 5 | |
| }, | |
| large: { | |
| fine: 7, | |
| medium: 5 | |
| }, | |
| xlarge: { | |
| fine: 9, | |
| medium: 5 | |
| }, | |
| xxlarge: { | |
| fine: 9, | |
| medium: 5 | |
| }, | |
| "3xlarge": { | |
| fine: 11, | |
| medium: 5 | |
| } | |
| } | |
| }, | |
| detail: { | |
| gap: "3xsmall", | |
| pad: "xsmall" | |
| }, | |
| halfPad: { | |
| "3xlarge": "xlarge", | |
| xxlarge: "large", | |
| xlarge: "medium", | |
| large: "small", | |
| medium: "xsmall", | |
| small: "xxsmall", | |
| xsmall: "3xsmall", | |
| xxsmall: "4xsmall", | |
| "3xsmall": "5xsmall", | |
| "4xsmall": "2px", | |
| "5xsmall": "hair" | |
| }, | |
| legend: { | |
| margin: { | |
| top: "xsmall" | |
| }, | |
| gap: "xsmall", | |
| item: { | |
| gap: "3xsmall", | |
| pad: { | |
| horizontal: "xsmall", | |
| vertical: "3xsmall" | |
| } | |
| } | |
| }, | |
| orderedSizes: ["3xlarge", "xxlarge", "xlarge", "large", "medium", "small", "xsmall", "xxsmall", "3xsmall", "4xsmall", "5xsmall"], | |
| size: { | |
| height: "xsmall" | |
| }, | |
| thickness: { | |
| veryDense: "hair", | |
| dense: "3xsmall", | |
| heavy: "xsmall", | |
| moderate: "medium", | |
| light: "xlarge", | |
| sparse: "3xlarge" | |
| }, | |
| thicknessPad: { | |
| xlarge: "xlarge", | |
| large: "medium", | |
| medium: "xsmall", | |
| small: "3xsmall", | |
| xsmall: "5xsmall" | |
| } | |
| }, | |
| dataFilter: { | |
| rangeSelector: { | |
| size: "full", | |
| round: "medium" | |
| }, | |
| selectMultiple: { | |
| dropHeight: "medium" | |
| } | |
| }, | |
| dataFilters: { | |
| clearControl: { | |
| margin: { | |
| start: "xsmall" | |
| } | |
| }, | |
| footer: { | |
| actions: { | |
| margin: { | |
| top: "medium" | |
| }, | |
| gap: "xsmall" | |
| } | |
| }, | |
| icons: { | |
| close: _h, | |
| filter: u2 | |
| }, | |
| pad: "medium", | |
| width: { | |
| min: "medium" | |
| } | |
| }, | |
| dateInput: { | |
| container: { | |
| round: B.hpe.formField.default.medium.input.container.borderRadius | |
| }, | |
| icon: { | |
| calendar: g2, | |
| size: "small" | |
| }, | |
| button: { | |
| margin: "xsmall" | |
| } | |
| }, | |
| dataSearch: { | |
| icons: { | |
| search: pf | |
| } | |
| }, | |
| dataSort: { | |
| icons: { | |
| control: c2 | |
| } | |
| }, | |
| dataSummary: { | |
| margin: { | |
| vertical: "3xsmall" | |
| }, | |
| separator: { | |
| margin: { | |
| horizontal: "xsmall" | |
| } | |
| } | |
| }, | |
| dataTable: { | |
| body: { | |
| extend: function(xe) { | |
| var ze = xe.theme; | |
| return ` | |
| /* Margin and padding allow room for focus on table body */ | |
| margin: ` + ze.global.edgeSize["5xsmall"] + ` 0px; | |
| padding: 0px ` + ze.global.edgeSize["5xsmall"] + `; | |
| `; | |
| }, | |
| selected: { | |
| background: (g = B.hpe.dataCell.default.selected) == null || (g = g.rest) == null ? void 0 : g.background | |
| }, | |
| row: { | |
| extend: `&:last-child td { | |
| border-color: transparent; | |
| } | |
| &:last-child th { | |
| border-color: transparent; | |
| }` | |
| } | |
| }, | |
| expand: { | |
| size: "5xsmall" | |
| }, | |
| icons: { | |
| ascending: function() { | |
| return /* @__PURE__ */ le.createElement(S2, { | |
| size: "large" | |
| }); | |
| }, | |
| descending: function() { | |
| return /* @__PURE__ */ le.createElement(w2, { | |
| size: "large" | |
| }); | |
| }, | |
| contract: function() { | |
| return /* @__PURE__ */ le.createElement(Zg, { | |
| height: "medium" | |
| }); | |
| }, | |
| expand: function() { | |
| return /* @__PURE__ */ le.createElement(Ah, { | |
| height: "medium" | |
| }); | |
| }, | |
| sortable: function() { | |
| return /* @__PURE__ */ le.createElement(k2, { | |
| size: "large" | |
| }); | |
| }, | |
| resizeIncrease: d2, | |
| resizeDecrease: f2, | |
| search: pf | |
| }, | |
| groupHeader: { | |
| // background: undefined, | |
| // border: undefined, | |
| // pad: undefined, | |
| }, | |
| groupEnd: { | |
| border: { | |
| side: "bottom", | |
| size: "xsmall" | |
| } | |
| }, | |
| header: { | |
| border: { | |
| side: "bottom" | |
| }, | |
| color: B.hpe.headerCell.default.rest.textColor, | |
| extend: function(xe) { | |
| var ze = xe.column, Ot = xe.sort, zt = xe.sortable, Lt = xe.theme; | |
| return ` | |
| ` + (Ot && Ot.property === ze && ` | |
| background: ` + Lt.global.colors["background-active"][Lt.dark ? "dark" : "light"] + ` | |
| `) + `; | |
| ` + (zt && Ot && Ot.property !== ze && ` | |
| svg { | |
| opacity: 0; | |
| } | |
| &:hover { | |
| svg { | |
| opacity: 1; | |
| } | |
| } | |
| `) + `; | |
| `; | |
| }, | |
| font: { | |
| weight: B.hpe.headerCell.default.medium.fontWeight | |
| }, | |
| gap: B.hpe.headerCell.default.medium.gapX, | |
| hover: { | |
| background: { | |
| color: B.hpe.headerCell.default.hover.background | |
| } | |
| }, | |
| units: { | |
| color: B.hpe.headerCell.default.units.rest.textColor, | |
| margin: { | |
| left: "3xsmall" | |
| } | |
| } | |
| }, | |
| pinned: { | |
| header: { | |
| background: { | |
| opacity: "strong" | |
| }, | |
| extend: "backdrop-filter: blur(12px);" | |
| }, | |
| body: { | |
| background: { | |
| opacity: "strong" | |
| }, | |
| extend: "backdrop-filter: blur(12px);" | |
| }, | |
| footer: { | |
| background: { | |
| opacity: "strong" | |
| }, | |
| extend: "backdrop-filter: blur(12px);" | |
| } | |
| }, | |
| primary: { | |
| weight: B.hpe.dataCell.primary.medium.fontWeight, | |
| color: B.hpe.dataCell.primary.rest.textColor | |
| }, | |
| resize: { | |
| border: { | |
| color: "border", | |
| side: "end" | |
| }, | |
| hover: { | |
| border: { | |
| color: "border-strong", | |
| size: "small" | |
| } | |
| }, | |
| padding: { | |
| vertical: "3xsmall" | |
| } | |
| }, | |
| search: { | |
| pad: { | |
| left: "xsmall" | |
| }, | |
| text: { | |
| pad: { | |
| horizontal: "xsmall" | |
| } | |
| } | |
| }, | |
| sort: { | |
| gap: "3xsmall" | |
| } | |
| }, | |
| distribution: { | |
| gap: "3xsmall" | |
| }, | |
| dataTableColumns: { | |
| icons: { | |
| control: p2, | |
| pinned: h2, | |
| search: pf | |
| }, | |
| tabs: { | |
| pad: "xsmall" | |
| }, | |
| selectColumns: { | |
| pad: { | |
| vertical: "xsmall" | |
| }, | |
| gap: "3xsmall" | |
| }, | |
| orderColumns: { | |
| pad: { | |
| top: "xsmall" | |
| } | |
| } | |
| }, | |
| fileInput: { | |
| anchor: { | |
| margin: "xsmall" | |
| }, | |
| border: { | |
| color: B.hpe.formField.default.input.container.rest.borderColor, | |
| side: "all", | |
| style: "solid", | |
| size: B.hpe.formField.default.medium.input.container.borderWidth | |
| }, | |
| button: { | |
| background: B.hpe.button.secondary.rest.background, | |
| border: { | |
| radius: B.hpe.button.default.medium.borderRadius | |
| }, | |
| pad: { | |
| vertical: B.hpe.button.default.medium.paddingY, | |
| horizontal: B.hpe.button.default.medium.paddingX | |
| }, | |
| color: B.hpe.button.secondary.rest.textColor, | |
| font: { | |
| weight: B.hpe.button.secondary.rest.fontWeight | |
| }, | |
| hover: { | |
| background: B.hpe.button.secondary.hover.background, | |
| color: B.hpe.button.secondary.hover.textColor | |
| } | |
| }, | |
| dragOver: { | |
| background: "background-hover", | |
| border: "none" | |
| }, | |
| hover: { | |
| border: { | |
| color: "border" | |
| } | |
| }, | |
| icons: { | |
| error: om, | |
| remove: _h | |
| }, | |
| label: { | |
| margin: "xsmall", | |
| gap: "3xsmall" | |
| }, | |
| message: { | |
| color: "placeholder", | |
| margin: "xsmall" | |
| }, | |
| pad: { | |
| horizontal: "3xsmall" | |
| }, | |
| extend: "border-radius: " + B.hpe.formField.default.medium.input.container.borderRadius + ";" | |
| }, | |
| footer: { | |
| gap: "medium" | |
| }, | |
| formField: { | |
| extend: function(xe) { | |
| var ze = xe.theme; | |
| return ` | |
| [class*="ContentBox"] { | |
| label { | |
| padding-block: ` + B.hpe.formField.default.medium.input.group.item.paddingY + `; | |
| padding-inline: ` + B.hpe.formField.default.medium.input.group.item.paddingX + `; | |
| &:hover:not([disabled]) { | |
| background: ` + mn(B.hpe.formField.default.input.container.hover.background, ze) + `; | |
| } | |
| } | |
| [role="group"], [role="radiogroup"] { | |
| gap: 0; | |
| padding-block: ` + B.hpe.formField.default.medium.input.group.container.paddingY + `; | |
| padding-inline: ` + B.hpe.formField.default.medium.input.group.container.paddingX + `; | |
| label { | |
| border: ` + (qt.borderSize[B.hpe.formField.default.medium.input.group.item.borderWidth] || B.hpe.formField.default.medium.input.group.item.borderWidth) + " solid " + mn(B.hpe.formField.default.input.group.item.rest.borderColor, ze) + `; | |
| padding-block: ` + B.hpe.formField.default.medium.input.group.item.paddingY + `; | |
| padding-inline: ` + B.hpe.formField.default.medium.input.group.item.paddingX + `; | |
| border-radius: ` + qt.radius[B.hpe.formField.default.medium.input.group.item.borderRadius] + `; | |
| &:hover:not([disabled]) { | |
| background: ` + mn(B.hpe.formField.default.input.group.item.hover.background, ze) + `; | |
| } | |
| } | |
| } | |
| } | |
| `; | |
| }, | |
| content: { | |
| margin: { | |
| vertical: "3xsmall" | |
| }, | |
| pad: "none" | |
| }, | |
| border: { | |
| error: { | |
| color: B.hpe.formField.default.input.container.error.rest.borderColor | |
| }, | |
| color: B.hpe.formField.default.input.container.rest.borderColor, | |
| side: "all" | |
| }, | |
| checkBox: { | |
| pad: { | |
| horizontal: B.hpe.formField.default.medium.input.group.item.paddingX, | |
| vertical: B.hpe.formField.default.medium.input.group.item.paddingY | |
| }, | |
| container: { | |
| extend: function(xe) { | |
| var ze = xe.error; | |
| return "border-color: " + (ze ? B.hpe.formField.default.input.group.container.error.rest.borderColor : B.hpe.formField.default.input.group.container.rest.borderColor) + "; "; | |
| } | |
| } | |
| }, | |
| checkBoxGroup: { | |
| container: { | |
| extend: function(xe) { | |
| var ze = xe.error; | |
| return "border-color: " + (ze ? B.hpe.formField.default.input.group.container.error.rest.borderColor : B.hpe.formField.default.input.group.container.rest.borderColor) + "; "; | |
| } | |
| } | |
| }, | |
| radioButtonGroup: { | |
| container: { | |
| extend: function(xe) { | |
| var ze = xe.error; | |
| return "border-color: " + (ze ? B.hpe.formField.default.input.group.container.error.rest.borderColor : B.hpe.formField.default.input.group.container.rest.borderColor) + "; "; | |
| } | |
| } | |
| }, | |
| thumbsRating: { | |
| container: { | |
| extend: function(xe) { | |
| var ze = xe.error; | |
| return "border-color: " + (ze ? B.hpe.formField.default.input.group.container.error.rest.borderColor : B.hpe.formField.default.input.group.container.rest.borderColor) + "; "; | |
| } | |
| }, | |
| icons: { | |
| like: F1, | |
| likeSelected: b2, | |
| dislike: N1, | |
| dislikeSelected: x2 | |
| } | |
| }, | |
| starRating: { | |
| container: { | |
| extend: function(xe) { | |
| var ze = xe.error; | |
| return "border-color: " + (ze ? B.hpe.formField.default.input.group.container.error.rest.borderColor : B.hpe.formField.default.input.group.container.rest.borderColor) + "; "; | |
| } | |
| } | |
| }, | |
| disabled: { | |
| background: B.hpe.formField.default.input.group.container.disabled.rest.background, | |
| border: { | |
| color: B.hpe.formField.default.input.container.disabled.rest.borderColor | |
| }, | |
| label: { | |
| color: B.hpe.formField.default.label.disabled.rest.textColor | |
| }, | |
| help: { | |
| color: B.hpe.formField.default.help.disabled.rest.textColor | |
| }, | |
| info: { | |
| color: B.hpe.formField.default.info.disabled.rest.textColor | |
| } | |
| }, | |
| error: { | |
| background: { | |
| color: B.hpe.formField.default.input.container.error.rest.background | |
| }, | |
| container: { | |
| gap: "3xsmall" | |
| }, | |
| icon: /* @__PURE__ */ le.createElement(om, { | |
| size: "small", | |
| color: Ve.hpe.color.icon.critical | |
| }), | |
| size: "xsmall", | |
| color: B.hpe.formField.default.error.rest.textColor, | |
| margin: { | |
| bottom: "3xsmall", | |
| top: "none", | |
| horizontal: "none" | |
| } | |
| }, | |
| focus: { | |
| containerFocus: !1, | |
| background: void 0, | |
| // Intentionally not carrying this style through to tokens to rely on global focus indicator | |
| border: { | |
| color: void 0 | |
| // Intentionally not carrying this style through to tokens to rely on global focus indicator | |
| } | |
| }, | |
| help: { | |
| size: "xsmall", | |
| color: B.hpe.formField.default.help.rest.color, | |
| margin: "none" | |
| }, | |
| icons: { | |
| selected: v2, | |
| unselected: m2 | |
| }, | |
| info: { | |
| size: "xsmall", | |
| color: B.hpe.formField.default.info.rest.color, | |
| margin: { | |
| bottom: "3xsmall", | |
| top: "none", | |
| horizontal: "none" | |
| } | |
| }, | |
| label: { | |
| size: "xsmall", | |
| color: B.hpe.formField.default.label.rest.textColor, | |
| margin: { | |
| bottom: "none", | |
| top: "3xsmall", | |
| horizontal: "none" | |
| }, | |
| requiredIndicator: !0, | |
| weight: B.hpe.formField.default.medium.label.fontWeight | |
| }, | |
| margin: { | |
| bottom: "none" | |
| }, | |
| round: B.hpe.formField.default.medium.input.container.borderRadius, | |
| survey: { | |
| label: { | |
| margin: { | |
| bottom: "none" | |
| }, | |
| size: "medium", | |
| weight: 500 | |
| } | |
| } | |
| }, | |
| header: { | |
| gap: "medium" | |
| }, | |
| heading: { | |
| color: "text-heading", | |
| weight: Me.hpe.heading.xlarge.fontWeight, | |
| // medium size object per level is the default styling for the level | |
| // and will apply when no `size` prop is applied to heading. | |
| // if size prop is applied, we will apply the standardized heading size tokens. | |
| level: { | |
| 1: { | |
| font: { | |
| weight: Me.hpe.heading.xlarge.fontWeight | |
| }, | |
| xsmall: void 0, | |
| small: void 0, | |
| medium: { | |
| size: Me.hpe.heading.xlarge.fontSize, | |
| height: Me.hpe.heading.xlarge.lineHeight | |
| }, | |
| large: void 0, | |
| xlarge: void 0 | |
| }, | |
| 2: { | |
| font: { | |
| weight: Me.hpe.heading.large.fontWeight | |
| }, | |
| xsmall: void 0, | |
| small: void 0, | |
| medium: { | |
| size: Me.hpe.heading.large.fontSize, | |
| height: Me.hpe.heading.large.lineHeight | |
| }, | |
| large: void 0, | |
| xlarge: void 0 | |
| }, | |
| 3: { | |
| font: { | |
| weight: Me.hpe.heading.medium.fontWeight | |
| }, | |
| xsmall: void 0, | |
| small: void 0, | |
| medium: { | |
| size: Me.hpe.heading.medium.fontSize, | |
| height: Me.hpe.heading.medium.lineHeight | |
| }, | |
| large: void 0, | |
| xlarge: void 0 | |
| }, | |
| 4: { | |
| font: { | |
| weight: Me.hpe.heading.small.fontWeight | |
| }, | |
| xsmall: void 0, | |
| small: void 0, | |
| medium: { | |
| size: Me.hpe.heading.small.fontSize, | |
| height: Me.hpe.heading.small.lineHeight | |
| }, | |
| large: void 0, | |
| xlarge: void 0 | |
| }, | |
| 5: { | |
| font: { | |
| weight: Me.hpe.heading.xsmall.fontWeight | |
| }, | |
| xsmall: void 0, | |
| small: void 0, | |
| medium: { | |
| size: Me.hpe.heading.xsmall.fontSize, | |
| height: Me.hpe.heading.xsmall.lineHeight | |
| }, | |
| large: void 0, | |
| xlarge: void 0 | |
| }, | |
| 6: { | |
| font: { | |
| weight: Me.hpe.heading.xxsmall.fontWeight | |
| }, | |
| xsmall: void 0, | |
| small: void 0, | |
| medium: { | |
| size: Me.hpe.heading.xxsmall.fontSize, | |
| height: Me.hpe.heading.xxsmall.lineHeight | |
| }, | |
| large: void 0, | |
| xlarge: void 0 | |
| } | |
| }, | |
| extend: function(xe) { | |
| var ze, Ot, zt, Lt = xe.size, mr = xe.level, vr = xe.weight, wr = xe.responsive, Or = "", kr = "", Pr = "", Nt = ""; | |
| if (kr = (ze = Me.hpe.heading[Lt]) == null ? void 0 : ze.fontSize, Pr = (Ot = Me.hpe.heading[Lt]) == null ? void 0 : Ot.lineHeight, Nt = (zt = Me.hpe.heading[Lt]) == null ? void 0 : zt.fontWeight, Nt && !vr && (Or += "font-weight: " + Nt + ";"), kr && (Or += "font-size: " + kr + ";"), Pr && (Or += "line-height: " + Pr + ";"), vr === "bold" && (Or += "font-weight: 500;"), Vt) { | |
| var Ct = Lt || l9[mr || 1]; | |
| Or += u9(o2, ` | |
| font-size: ` + Ce.hpe.heading[Ct].fontSize + `; | |
| line-height: ` + Ce.hpe.heading[Ct].lineHeight + `; | |
| ` + (vr ? "" : "font-weight: " + Ce.hpe.heading[Ct].fontWeight) + `; | |
| `, wr); | |
| } | |
| return Or; | |
| } | |
| }, | |
| icon: { | |
| disableScaleDown: !0, | |
| matchSize: !0, | |
| size: { | |
| xsmall: Me.hpe.icon.xsmall.size, | |
| small: Me.hpe.icon.small.size, | |
| medium: Me.hpe.icon.medium.size, | |
| large: Me.hpe.icon.large.size, | |
| xlarge: Me.hpe.icon.xlarge.size, | |
| xxlarge: Me.hpe.icon.xxlarge.size | |
| } | |
| }, | |
| layer: { | |
| background: "background-floating", | |
| border: { | |
| radius: "medium", | |
| intelligentRounding: !0 | |
| }, | |
| container: { | |
| elevation: "large", | |
| height: { | |
| min: "5xsmall" | |
| } | |
| }, | |
| overlay: { | |
| background: "background-screenOverlay" | |
| }, | |
| /* HPE Global Header/Footer Service a.k.a. HPE Common HFWS sets the header | |
| * at a z-index of 101. This adjustment allows for Layer modals and side-drawers | |
| * to sit atop the Global header. */ | |
| zIndex: "110" | |
| }, | |
| list: { | |
| container: { | |
| // any box props | |
| gap: "3xsmall" | |
| // extend: undefined, | |
| }, | |
| item: { | |
| border: void 0, | |
| disabled: { | |
| color: "text-disabled", | |
| cursor: "default" | |
| }, | |
| pinned: { | |
| background: "background-active", | |
| icon: { | |
| pad: Ar | |
| } | |
| }, | |
| pad: { | |
| horizontal: "medium", | |
| vertical: "xsmall" | |
| }, | |
| gap: "medium" | |
| }, | |
| primaryKey: { | |
| weight: Tt.hpe.fontWeight.medium | |
| } | |
| }, | |
| maskedInput: { | |
| container: { | |
| extend: function(xe) { | |
| var ze = xe.theme; | |
| return ` | |
| svg { | |
| fill: ` + ze.global.colors["text-strong"][ze.dark ? "dark" : "light"] + `; | |
| stroke: ` + ze.global.colors["text-strong"][ze.dark ? "dark" : "light"] + `; | |
| } | |
| `; | |
| } | |
| } | |
| }, | |
| menu: { | |
| drop: { | |
| align: { | |
| top: "bottom", | |
| left: "left" | |
| } | |
| }, | |
| container: { | |
| pad: { | |
| vertical: B.hpe.menu.default.medium.group.container.paddingY, | |
| horizontal: B.hpe.menu.default.medium.group.container.paddingX | |
| }, | |
| gap: B.hpe.menu.default.medium.group.container.gapY | |
| }, | |
| group: { | |
| drop: {}, | |
| container: { | |
| pad: { | |
| horizontal: B.hpe.menu.default.medium.group.container.paddingX, | |
| vertical: B.hpe.menu.default.medium.group.container.paddingY | |
| }, | |
| gap: B.hpe.menu.default.medium.group.container.gapY | |
| }, | |
| separator: { | |
| color: B.hpe.menu.default.group.separator.background, | |
| size: B.hpe.menu.default.medium.group.separator.height, | |
| pad: "none" | |
| } | |
| }, | |
| icons: { | |
| color: B.hpe.menu.default.item.rest.iconColor, | |
| down: Ah | |
| }, | |
| item: { | |
| pad: { | |
| horizontal: B.hpe.menu.default.medium.item.paddingX, | |
| vertical: B.hpe.menu.default.medium.item.paddingY | |
| } | |
| } | |
| }, | |
| meter: { | |
| gap: "5xsmall" | |
| }, | |
| nameValueList: { | |
| gap: { | |
| column: "xlarge", | |
| row: "xsmall" | |
| }, | |
| pair: { | |
| column: { | |
| gap: { | |
| column: "xlarge", | |
| row: "medium" | |
| } | |
| } | |
| }, | |
| name: { | |
| width: "xsmall" | |
| }, | |
| value: { | |
| width: "medium" | |
| } | |
| }, | |
| nameValuePair: { | |
| column: { | |
| gap: "5xsmall" | |
| }, | |
| name: { | |
| color: "text-strong", | |
| weight: Tt.hpe.fontWeight.medium | |
| } | |
| }, | |
| nav: { | |
| gap: "medium" | |
| }, | |
| notification: { | |
| close: { | |
| icon: _h | |
| }, | |
| container: { | |
| round: "xsmall", | |
| pad: { | |
| horizontal: "xsmall", | |
| vertical: "3xsmall" | |
| } | |
| }, | |
| direction: "column", | |
| gap: "xsmall", | |
| global: { | |
| direction: "row", | |
| container: { | |
| round: "none", | |
| pad: { | |
| horizontal: "xlarge", | |
| vertical: "3xsmall" | |
| } | |
| } | |
| }, | |
| iconContainer: { | |
| pad: { | |
| right: "xsmall" | |
| } | |
| }, | |
| textContainer: { | |
| // any box props | |
| gap: "medium" | |
| }, | |
| message: { | |
| color: "text", | |
| fill: !0, | |
| text: { | |
| margin: { | |
| right: "3xsmall" | |
| } | |
| } | |
| }, | |
| title: { | |
| // any text props | |
| color: "text-strong", | |
| weight: Tt.hpe.fontWeight.medium | |
| }, | |
| critical: { | |
| background: "background-critical", | |
| color: "icon-critical", | |
| message: { | |
| color: "text-onCritical" | |
| }, | |
| title: { | |
| color: "text-onCritical-strong" | |
| }, | |
| global: { | |
| background: "background-critical", | |
| message: { | |
| color: "text-onCritical" | |
| }, | |
| title: { | |
| color: "text-onCritical-strong" | |
| } | |
| }, | |
| toast: { | |
| background: "background-front", | |
| message: { | |
| color: "text" | |
| }, | |
| title: { | |
| color: "text-strong" | |
| } | |
| } | |
| }, | |
| warning: { | |
| background: "background-warning", | |
| color: "icon-warning", | |
| message: { | |
| color: "text-onWarning" | |
| }, | |
| title: { | |
| color: "text-onWarning-strong" | |
| }, | |
| global: { | |
| background: "background-warning", | |
| message: { | |
| color: "text-onWarning" | |
| }, | |
| title: { | |
| color: "text-onWarning-strong" | |
| } | |
| }, | |
| toast: { | |
| background: "background-front", | |
| message: { | |
| color: "text" | |
| }, | |
| title: { | |
| color: "text-strong" | |
| } | |
| } | |
| }, | |
| normal: { | |
| background: "background-ok", | |
| color: "icon-ok", | |
| message: { | |
| color: "text-onOk" | |
| }, | |
| title: { | |
| color: "text-onOk-strong" | |
| }, | |
| global: { | |
| background: "background-ok", | |
| message: { | |
| color: "text-onOk" | |
| }, | |
| title: { | |
| color: "text-onOk-strong" | |
| } | |
| }, | |
| toast: { | |
| background: "background-front", | |
| message: { | |
| color: "text" | |
| }, | |
| title: { | |
| color: "text-strong" | |
| } | |
| } | |
| }, | |
| unknown: { | |
| background: "background-unknown", | |
| color: "icon-unknown", | |
| message: { | |
| color: "text-onUnknown" | |
| }, | |
| title: { | |
| color: "text-onUnknown-strong" | |
| }, | |
| global: { | |
| background: "background-unknown", | |
| message: { | |
| color: "text-onUnknown" | |
| }, | |
| title: { | |
| color: "text-onUnknown-strong" | |
| } | |
| }, | |
| toast: { | |
| background: "background-front", | |
| message: { | |
| color: "text" | |
| }, | |
| title: { | |
| color: "text-strong" | |
| } | |
| } | |
| }, | |
| info: { | |
| background: "background-info", | |
| color: "icon-info", | |
| message: { | |
| color: "text-onInfo" | |
| }, | |
| title: { | |
| color: "text-onInfo-strong" | |
| }, | |
| global: { | |
| background: "background-info", | |
| message: { | |
| color: "text-onInfo" | |
| }, | |
| title: { | |
| color: "text-onInfo-strong" | |
| } | |
| }, | |
| toast: { | |
| background: "background-front", | |
| message: { | |
| color: "text" | |
| }, | |
| title: { | |
| color: "text-strong" | |
| } | |
| } | |
| }, | |
| undefined: { | |
| background: "background-unknown", | |
| message: { | |
| color: "text-onUnknown" | |
| }, | |
| title: { | |
| color: "text-onUnknown-strong" | |
| }, | |
| global: { | |
| background: "background-ok", | |
| message: { | |
| color: "text-onUnknown" | |
| }, | |
| title: { | |
| color: "text-onUnknown-strong" | |
| } | |
| }, | |
| toast: { | |
| background: "background-front", | |
| message: { | |
| color: "text" | |
| }, | |
| title: { | |
| color: "text-strong" | |
| } | |
| } | |
| }, | |
| actions: { | |
| margin: { | |
| right: "3xsmall" | |
| } | |
| } | |
| }, | |
| page: { | |
| wide: { | |
| width: { | |
| min: "336px", | |
| // 336 + 24 (margin) + 24 (margin) = 384 (e.g. 'medium') | |
| max: "3xlarge" | |
| }, | |
| xsmall: { | |
| pad: { | |
| horizontal: "xlarge" | |
| } | |
| }, | |
| small: { | |
| pad: { | |
| horizontal: "xlarge" | |
| } | |
| }, | |
| medium: { | |
| pad: { | |
| horizontal: "medium" | |
| } | |
| }, | |
| large: { | |
| pad: { | |
| horizontal: "xlarge" | |
| } | |
| }, | |
| xlarge: { | |
| pad: { | |
| horizontal: "xlarge" | |
| } | |
| } | |
| }, | |
| narrow: { | |
| width: { | |
| min: "336px", | |
| // 336 + 24 (margin) + 24 (margin) = 384 (e.g. 'medium') | |
| max: "xlarge" | |
| }, | |
| xsmall: { | |
| pad: { | |
| horizontal: "xlarge" | |
| } | |
| }, | |
| small: { | |
| pad: { | |
| horizontal: "xlarge" | |
| } | |
| }, | |
| medium: { | |
| pad: { | |
| horizontal: "medium" | |
| } | |
| }, | |
| large: { | |
| pad: { | |
| horizontal: "xlarge" | |
| } | |
| }, | |
| xlarge: { | |
| pad: { | |
| horizontal: "xlarge" | |
| } | |
| } | |
| }, | |
| full: { | |
| width: { | |
| min: "336px", | |
| // 336 + 24 (margin) + 24 (margin) = 384 (e.g. 'medium') | |
| max: "100%" | |
| }, | |
| xsmall: { | |
| pad: { | |
| horizontal: "xlarge" | |
| } | |
| }, | |
| small: { | |
| pad: { | |
| horizontal: "xlarge" | |
| } | |
| }, | |
| medium: { | |
| pad: { | |
| horizontal: "medium" | |
| } | |
| }, | |
| large: { | |
| pad: { | |
| horizontal: "xlarge" | |
| } | |
| }, | |
| xlarge: { | |
| pad: { | |
| horizontal: "xlarge" | |
| } | |
| } | |
| } | |
| }, | |
| pageHeader: { | |
| pad: { | |
| top: "xlarge", | |
| bottom: "medium" | |
| }, | |
| responsive: { | |
| actions: { | |
| // any box props | |
| pad: { | |
| top: "xsmall" | |
| } | |
| }, | |
| breakpoints: ["xsmall", "small"] | |
| }, | |
| // title: { | |
| // size: undefined, | |
| // }, | |
| subtitle: { | |
| size: "large" | |
| }, | |
| size: { | |
| small: { | |
| pad: { | |
| top: "medium", | |
| bottom: "xsmall" | |
| }, | |
| subtitle: { | |
| size: "small" | |
| }, | |
| title: { | |
| size: "small" | |
| } | |
| }, | |
| // medium: { | |
| // // pad: undefined, | |
| // // subtitle: {}, | |
| // // title: {}, | |
| // }, | |
| large: { | |
| pad: { | |
| top: "3xlarge", | |
| bottom: "xlarge" | |
| }, | |
| subtitle: { | |
| size: "large" | |
| }, | |
| title: { | |
| size: "large" | |
| } | |
| } | |
| }, | |
| xsmall: { | |
| areas: [["parent", "parent"], ["title", "actions"], ["subtitle", "actions"]], | |
| columns: [["xsmall", "flex"], "auto"], | |
| rows: ["auto", "auto", "auto"], | |
| gap: { | |
| row: "3xsmall", | |
| column: "medium" | |
| } | |
| }, | |
| small: { | |
| areas: [["parent", "parent"], ["title", "actions"], ["subtitle", "actions"]], | |
| columns: [["xsmall", "flex"], "auto"], | |
| rows: ["auto", "auto", "auto"], | |
| gap: { | |
| row: "3xsmall", | |
| column: "xlarge" | |
| } | |
| }, | |
| medium: { | |
| areas: [["parent", "parent"], ["title", "actions"], ["subtitle", "actions"]], | |
| columns: [["medium", "flex"], "auto"], | |
| rows: ["auto", "auto", "auto"], | |
| gap: { | |
| row: "3xsmall", | |
| column: "medium" | |
| } | |
| }, | |
| large: { | |
| areas: [["parent", "parent"], ["title", "actions"], ["subtitle", "actions"]], | |
| columns: [["medium", "flex"], "auto"], | |
| rows: ["auto", "auto", "auto"], | |
| gap: { | |
| row: "3xsmall", | |
| column: "xlarge" | |
| } | |
| }, | |
| xlarge: { | |
| areas: [["parent", "parent"], ["title", "actions"], ["subtitle", "actions"]], | |
| columns: [["medium", "xlarge"], "auto"], | |
| rows: ["auto", "auto", "auto"], | |
| gap: { | |
| row: "3xsmall", | |
| column: "xlarge" | |
| } | |
| } | |
| }, | |
| pagination: { | |
| button: { | |
| color: B.hpe.button.default.rest.textColor, | |
| border: { | |
| radius: B.hpe.button.default.medium.borderRadius | |
| }, | |
| font: { | |
| weight: B.hpe.button.default.rest.fontWeight | |
| }, | |
| active: { | |
| background: B.hpe.button.default.selected.rest.background, | |
| border: { | |
| radius: B.hpe.button.default.medium.borderRadius | |
| }, | |
| color: B.hpe.button.default.selected.rest.textColor, | |
| font: { | |
| weight: B.hpe.button.default.selected.rest.fontWeight | |
| } | |
| }, | |
| hover: { | |
| background: B.hpe.button.default.hover.background, | |
| border: { | |
| radius: B.hpe.button.default.medium.borderRadius | |
| }, | |
| color: B.hpe.button.default.hover.textColor, | |
| font: { | |
| weight: B.hpe.button.default.hover.fontWeight | |
| }, | |
| active: { | |
| background: B.hpe.button.default.selected.hover.background, | |
| color: B.hpe.button.default.selected.hover.textColor, | |
| font: { | |
| weight: B.hpe.button.default.selected.hover.fontWeight | |
| } | |
| } | |
| }, | |
| disabled: { | |
| background: B.hpe.button.default.disabled.rest.background, | |
| border: { | |
| radius: B.hpe.button.default.medium.borderRadius | |
| }, | |
| color: B.hpe.button.default.disabled.rest.textColor, | |
| font: { | |
| weight: B.hpe.button.default.disabled.rest.fontWeight | |
| } | |
| }, | |
| size: { | |
| small: { | |
| border: { | |
| radius: B.hpe.button.default.small.borderRadius, | |
| width: qt.borderSize[B.hpe.button.default.small.borderWidth] || B.hpe.button.default.small.borderWidth | |
| }, | |
| pad: { | |
| vertical: "4px", | |
| horizontal: "4px" | |
| }, | |
| font: { | |
| size: (m = B.hpe.element) == null ? void 0 : m.small.fontSize, | |
| height: (E = B.hpe.element) == null ? void 0 : E.small.lineHeight | |
| }, | |
| height: (S = B.hpe.element) == null ? void 0 : S.small.minHeight, | |
| width: (I = B.hpe.element) == null ? void 0 : I.small.minHeight | |
| }, | |
| medium: { | |
| border: { | |
| radius: B.hpe.button.default.medium.borderRadius, | |
| width: qt.borderSize[B.hpe.button.default.medium.borderWidth] || B.hpe.button.default.medium.borderWidth | |
| }, | |
| pad: { | |
| vertical: "4px", | |
| horizontal: "4px" | |
| }, | |
| font: { | |
| size: (w = B.hpe.element) == null ? void 0 : w.medium.fontSize, | |
| height: (b = B.hpe.element) == null ? void 0 : b.medium.lineHeight | |
| }, | |
| height: (T = B.hpe.element) == null ? void 0 : T.medium.minHeight, | |
| width: (R = B.hpe.element) == null ? void 0 : R.medium.minHeight | |
| }, | |
| large: { | |
| border: { | |
| radius: B.hpe.button.default.large.borderRadius, | |
| width: qt.borderSize[B.hpe.button.default.large.borderWidth] || B.hpe.button.default.large.borderWidth | |
| }, | |
| pad: { | |
| vertical: "4px", | |
| horizontal: "4px" | |
| }, | |
| font: { | |
| size: (D = B.hpe.element) == null ? void 0 : D.large.fontSize, | |
| height: ($ = B.hpe.element) == null ? void 0 : $.large.lineHeight | |
| }, | |
| height: (Y = B.hpe.element) == null ? void 0 : Y.large.minHeight, | |
| width: (Z = B.hpe.element) == null ? void 0 : Z.large.minHeight | |
| } | |
| } | |
| }, | |
| container: { | |
| gap: { | |
| column: "3xsmall", | |
| row: "xsmall" | |
| } | |
| }, | |
| controls: { | |
| gap: "5xsmall" | |
| }, | |
| step: { | |
| container: { | |
| gap: "3xsmall" | |
| } | |
| } | |
| }, | |
| paragraph: da({}, hr, { | |
| skeleton: { | |
| gap: "3xsmall" | |
| } | |
| }), | |
| radioButton: { | |
| border: { | |
| color: B.hpe.radioButton.default.control.rest.borderColor, | |
| width: B.hpe.radioButton.default.medium.control.borderWidth | |
| }, | |
| check: { | |
| background: { | |
| color: B.hpe.radioButton.default.control.selected.rest.background | |
| } | |
| }, | |
| color: B.hpe.radioButton.default.control.selected.rest.borderColor, | |
| container: { | |
| extend: function(xe) { | |
| var ze = xe.theme; | |
| return ` | |
| width: auto; | |
| &:has(input[checked]) { | |
| & div:has(> svg[aria-hidden="true"]) { | |
| background: ` + mn(B.hpe.radioButton.default.control.selected.rest.background, ze) + `; | |
| border-color: ` + mn(B.hpe.radioButton.default.control.selected.rest.borderColor, ze) + `; | |
| } | |
| } | |
| &:has(input[checked]):hover:not([disabled]) { | |
| & div:has(> svg[aria-hidden="true"]) { | |
| background: ` + mn(B.hpe.radioButton.default.control.selected.hover.background, ze) + `; | |
| border-color: ` + mn(B.hpe.radioButton.default.control.selected.hover.borderColor, ze) + `; | |
| } | |
| } | |
| `; | |
| } | |
| }, | |
| gap: B.hpe.radioButton.default.medium.gapX, | |
| hover: { | |
| background: { | |
| color: "transparent" | |
| }, | |
| border: { | |
| color: B.hpe.radioButton.default.control.hover.borderColor | |
| } | |
| }, | |
| size: B.hpe.radioButton.default.medium.control.height, | |
| font: { | |
| weight: B.hpe.radioButton.default.label.rest.fontWeight | |
| }, | |
| icons: { | |
| circle: function() { | |
| return /* @__PURE__ */ le.createElement(e9, { | |
| preserveAspectRatio: "xMidYMid meet", | |
| color: B.hpe.radioButton.default.control.selected.rest.iconColor, | |
| size: B.hpe.radioButton.default.medium.control.width | |
| // width and height are identical, so choosing one. | |
| }, /* @__PURE__ */ le.createElement("circle", { | |
| cx: 12, | |
| cy: 12, | |
| r: 6 | |
| })); | |
| } | |
| } | |
| }, | |
| radioButtonGroup: { | |
| container: { | |
| cssGap: !0, | |
| gap: "xsmall", | |
| margin: "none" | |
| } | |
| }, | |
| rangeInput: { | |
| thumb: { | |
| color: "background-primary-strong", | |
| extend: "border-color: transparent;" | |
| // fix for FireFox | |
| }, | |
| track: { | |
| lower: { | |
| color: "background-primary-strong" | |
| }, | |
| upper: { | |
| // hard-coding opaque version of 'border-weak' due to unresolved grommet bug | |
| // https://github.com/grommet/grommet/issues/6739 | |
| color: { | |
| light: "#e0e0e0", | |
| dark: "#616161" | |
| } | |
| }, | |
| extend: function(xe) { | |
| var ze = xe.theme; | |
| return ` | |
| border-radius: ` + Me.hpe.radius.full + `; | |
| // firefox only selector, since pseudo-element | |
| // isn't supported | |
| @-moz-document url-prefix() { | |
| border: 1px solid ` + mn("border-strong", ze) + `; | |
| }`; | |
| } | |
| }, | |
| disabled: { | |
| opacity: 1, | |
| track: { | |
| color: "background-disabled" | |
| }, | |
| thumb: { | |
| // opaque version of background-front + background-disabled | |
| // to avoid stacking transparencies | |
| color: { | |
| light: "rgb(245, 245, 245)", | |
| dark: "rgb(44, 44, 44)" | |
| } | |
| } | |
| }, | |
| // primitives.hpe.base.dimension[100] = 4px which meets WCAG minimum size | |
| // for visual indicator (minimum 3px) | |
| extend: function(xe) { | |
| var ze = xe.disabled, Ot = xe.theme; | |
| return ` | |
| &::before { | |
| display: block; | |
| position: absolute; | |
| content: ''; | |
| width: ` + lt.hpe.base.dimension[100] + `; | |
| height: ` + lt.hpe.base.dimension[100] + `; | |
| border-radius: ` + Me.hpe.radius.full + `; | |
| right: 0; | |
| top: 50%; | |
| transform: translateY(-50%); | |
| background: ` + mn(ze ? "background-disabled" : "background-neutral-xstrong", Ot) + `; | |
| } | |
| `; | |
| } | |
| }, | |
| rangeSelector: { | |
| edge: { | |
| size: "" + lt.hpe.base.dimension[600] | |
| }, | |
| label: { | |
| margin: { | |
| horizontal: "xsmall" | |
| } | |
| } | |
| }, | |
| select: { | |
| clear: { | |
| container: { | |
| background: "transparent", | |
| pad: B.hpe.select.default.medium.drop.paddingX | |
| }, | |
| text: void 0, | |
| button: { | |
| border: { | |
| radius: B.hpe.select.default.medium.option.borderRadius, | |
| size: B.hpe.select.default.medium.option.borderWidth | |
| }, | |
| padding: { | |
| horizontal: B.hpe.select.default.medium.option.paddingX, | |
| vertical: B.hpe.select.default.medium.option.paddingY | |
| }, | |
| hover: { | |
| background: B.hpe.select.default.option.hover.background, | |
| color: "text-strong" | |
| }, | |
| color: "text-strong", | |
| font: { | |
| weight: B.hpe.select.default.option.rest.fontWeight | |
| } | |
| } | |
| }, | |
| container: { | |
| extend: function() { | |
| return ` | |
| div:has(input[type="search"]) { | |
| padding-bottom: 0; | |
| } | |
| `; | |
| } | |
| }, | |
| control: { | |
| extend: function(xe) { | |
| var ze = xe.disabled; | |
| return yt(sS || (sS = em([` | |
| `, ` | |
| &[class*="SelectMultiple"] [role="listbox"] { | |
| padding-block: `, `; | |
| padding-inline: `, `; | |
| & [role='option'] { | |
| border-radius: `, `; | |
| } | |
| } | |
| `])), ze && ` | |
| opacity: 0.3; | |
| input { | |
| cursor: default; | |
| }`, B.hpe.select.default.medium.drop.paddingY, B.hpe.select.default.medium.drop.paddingX, qt.edgeSize[B.hpe.select.default.medium.option.borderRadius] || B.hpe.select.default.medium.option.borderRadius); | |
| } | |
| }, | |
| emptySearchMessage: { | |
| container: { | |
| pad: br.pad | |
| } | |
| }, | |
| icons: { | |
| color: "icon", | |
| down: Ah, | |
| margin: { | |
| left: "xsmall", | |
| // setting right margin to 12px because on small | |
| // screens, Select responsive padding sizes down | |
| // which brings the icon too tight with edge of | |
| // control. | |
| right: "12px" | |
| }, | |
| up: Zg | |
| }, | |
| options: void 0, | |
| listbox: { | |
| // only apply paddingY to paddingTop because gap caused by Infinite Scroll | |
| // adds an addition 6px on the bottom | |
| extend: function() { | |
| return ` | |
| padding-top: ` + B.hpe.select.default.medium.drop.paddingY + `; | |
| padding-inline: ` + B.hpe.select.default.medium.drop.paddingX + `; | |
| display: flex; | |
| flex-direction: column; | |
| gap: ` + B.hpe.select.default.medium.drop.gapY + `; | |
| [role="option"] { | |
| border-radius: ` + B.hpe.select.default.medium.option.borderRadius + `; | |
| } | |
| `; | |
| } | |
| }, | |
| search: { | |
| pad: "3xsmall" | |
| } | |
| }, | |
| selectMultiple: { | |
| help: { | |
| container: { | |
| pad: "3xsmall" | |
| } | |
| }, | |
| listbox: { | |
| extend: function() { | |
| return ` | |
| padding-block: ` + B.hpe.select.default.medium.drop.paddingY + `; | |
| padding-inline: ` + B.hpe.select.default.medium.drop.paddingX + `; | |
| display: flex; | |
| flex-direction: column; | |
| [role="option"] { | |
| border-radius: ` + (qt.edgeSize[B.hpe.select.default.medium.option.borderRadius] || B.hpe.select.default.medium.option.borderRadius) + `; | |
| } | |
| } | |
| `; | |
| } | |
| }, | |
| option: { | |
| pad: "3xsmall" | |
| }, | |
| search: { | |
| pad: "3xsmall" | |
| }, | |
| showMore: { | |
| pad: { | |
| horizontal: "xsmall", | |
| bottom: "xsmall", | |
| top: "3xsmall" | |
| } | |
| }, | |
| summary: { | |
| gap: "xsmall", | |
| height: { | |
| min: "5xsmall" | |
| }, | |
| pad: "3xsmall", | |
| showSelectedInline: { | |
| pad: { | |
| left: "3xsmall", | |
| vertical: "3xsmall" | |
| } | |
| } | |
| } | |
| }, | |
| sidebar: { | |
| gap: "xlarge", | |
| pad: "xsmall" | |
| }, | |
| spinner: { | |
| container: { | |
| pad: "none", | |
| color: "foreground-primary", | |
| border: [{ | |
| color: "transparent", | |
| side: "all", | |
| size: "medium" | |
| }, { | |
| color: "transparent", | |
| side: "right", | |
| size: "medium" | |
| }, { | |
| color: "transparent", | |
| side: "top", | |
| size: "medium" | |
| }, { | |
| color: "transparent", | |
| side: "left", | |
| size: "medium" | |
| }] | |
| }, | |
| responsive: !1, | |
| size: { | |
| xsmall: (ne = B.hpe.element) == null ? void 0 : ne.xsmall.minHeight, | |
| small: (te = B.hpe.element) == null ? void 0 : te.small.minHeight, | |
| medium: (ie = B.hpe.element) == null ? void 0 : ie.medium.minHeight, | |
| large: (ye = B.hpe.element) == null ? void 0 : ye.large.minHeight, | |
| xlarge: (J = B.hpe.element) == null ? void 0 : J.xlarge.minHeight | |
| } | |
| }, | |
| starRating: { | |
| color: "background-selected-primary-strong" | |
| }, | |
| tab: { | |
| color: "text", | |
| active: { | |
| background: void 0, | |
| color: "text-primary", | |
| weight: 600 | |
| }, | |
| hover: { | |
| background: "transparent", | |
| color: "text-strong" | |
| }, | |
| border: { | |
| side: "all", | |
| color: "transparent", | |
| size: B.hpe.element.medium.borderWidth, | |
| active: { | |
| color: void 0 | |
| }, | |
| disabled: { | |
| color: void 0 | |
| }, | |
| hover: { | |
| color: void 0 | |
| } | |
| }, | |
| disabled: { | |
| background: "background-disabled", | |
| color: "text-disabled" | |
| }, | |
| pad: { | |
| bottom: (de = B.hpe.element) == null ? void 0 : de.medium.paddingY, | |
| top: (ke = B.hpe.element) == null ? void 0 : ke.medium.paddingY, | |
| horizontal: (se = B.hpe.element) == null || (se = se.medium) == null || (se = se.paddingX) == null ? void 0 : se.narrow | |
| }, | |
| margin: { | |
| vertical: "none", | |
| horizontal: "none" | |
| }, | |
| extend: "font-weight: 500;", | |
| gap: "xsmall" | |
| }, | |
| tabs: { | |
| gap: "small", | |
| header: { | |
| border: void 0, | |
| // padding-bottom ensures the marker is not cut off by subsequent | |
| // page elements. | |
| extend: function(xe) { | |
| var ze = xe.theme; | |
| return ` | |
| padding-bottom: ` + Me.hpe.borderWidth.medium + `; | |
| & button { | |
| border-radius: ` + Me.hpe.radius.xsmall + `; // radius on focus | |
| } | |
| & button[aria-selected="true"] { | |
| position: relative; | |
| &::before { | |
| display: block; | |
| position: absolute; | |
| content: ''; | |
| height: ` + Me.hpe.borderWidth.medium + `; | |
| border-radius: ` + Me.hpe.radius.full + `; | |
| bottom: -` + Me.hpe.borderWidth.medium + `; | |
| left: 0; | |
| right: 0; | |
| background: ` + mn("border-selected", ze) + `; | |
| } | |
| }`; | |
| }, | |
| previousButton: { | |
| icon: xb, | |
| pad: { | |
| vertical: "3xsmall", | |
| horizontal: "xsmall" | |
| } | |
| }, | |
| nextButton: { | |
| icon: qv, | |
| pad: { | |
| vertical: "3xsmall", | |
| horizontal: "xsmall" | |
| } | |
| } | |
| }, | |
| nextButton: { | |
| pad: { | |
| horizontal: "xsmall", | |
| vertical: "3xsmall" | |
| } | |
| }, | |
| previousButton: { | |
| pad: { | |
| horizontal: "xsmall", | |
| vertical: "3xsmall" | |
| } | |
| }, | |
| step: { | |
| xsmall: 1, | |
| xlarge: 3 | |
| } | |
| }, | |
| table: { | |
| caption: { | |
| margin: { | |
| bottom: "5xsmall" | |
| } | |
| }, | |
| header: { | |
| border: { | |
| side: "bottom", | |
| color: B.hpe.headerCell.default.rest.borderColor | |
| }, | |
| pad: { | |
| horizontal: B.hpe.headerCell.default.medium.paddingX, | |
| top: B.hpe.headerCell.default.medium.paddingTop, | |
| bottom: B.hpe.headerCell.default.medium.paddingBottom | |
| }, | |
| extend: ` | |
| > div { | |
| height: 100%; | |
| justify-content: center; | |
| } | |
| // align onSelect checkbox to center of header cell | |
| label { | |
| justify-content: center; | |
| } | |
| ` | |
| }, | |
| body: { | |
| pad: { | |
| top: B.hpe.dataCell.default.medium.paddingTop, | |
| bottom: B.hpe.dataCell.default.medium.paddingBottom, | |
| horizontal: B.hpe.dataCell.default.medium.paddingX | |
| }, | |
| border: { | |
| side: "bottom", | |
| color: B.hpe.dataCell.default.rest.borderColor | |
| } | |
| }, | |
| row: { | |
| hover: { | |
| background: "background-hover" | |
| } | |
| }, | |
| footer: { | |
| pad: { | |
| horizontal: B.hpe.footerCell.default.medium.paddingX, | |
| top: B.hpe.footerCell.default.medium.paddingTop, | |
| bottom: B.hpe.footerCell.default.medium.paddingBottom | |
| }, | |
| extend: ` | |
| font-weight: ` + B.hpe.footerCell.default.fontWeight + `; | |
| ` | |
| }, | |
| extend: function() { | |
| return `& tbody tr:last-child td { | |
| border-color: transparent; | |
| } | |
| & tbody tr:last-child th { | |
| border-color: transparent; | |
| }`; | |
| } | |
| }, | |
| tag: { | |
| border: { | |
| color: "border-weak" | |
| }, | |
| icons: { | |
| remove: _h | |
| }, | |
| pad: { | |
| horizontal: (Re = B.hpe.element) == null || (Re = Re.medium) == null || (Re = Re.paddingX) == null ? void 0 : Re.default, | |
| vertical: (Ne = B.hpe.element) == null ? void 0 : Ne.medium.paddingY | |
| }, | |
| remove: { | |
| kind: "default", | |
| margin: { | |
| right: "3xsmall" | |
| } | |
| }, | |
| value: { | |
| weight: Tt.hpe.fontWeight.medium | |
| }, | |
| round: "xsmall", | |
| size: { | |
| xsmall: { | |
| icon: void 0, | |
| pad: { | |
| vertical: (Be = B.hpe.element) == null ? void 0 : Be.small.paddingY, | |
| horizontal: (Ue = B.hpe.element) == null || (Ue = Ue.small) == null || (Ue = Ue.paddingX) == null ? void 0 : Ue.default | |
| }, | |
| remove: { | |
| size: "xsmall", | |
| margin: { | |
| right: "none", | |
| vertical: "-1px" | |
| // account for border | |
| } | |
| } | |
| }, | |
| small: { | |
| icon: void 0, | |
| pad: { | |
| vertical: (Xe = B.hpe.element) == null ? void 0 : Xe.small.paddingY, | |
| horizontal: (G = B.hpe.element) == null || (G = G.small) == null || (G = G.paddingX) == null ? void 0 : G.default | |
| }, | |
| remove: { | |
| size: "xsmall", | |
| margin: { | |
| right: "2px" | |
| } | |
| } | |
| }, | |
| medium: { | |
| icon: void 0, | |
| pad: { | |
| vertical: (me = B.hpe.element) == null ? void 0 : me.medium.paddingY, | |
| horizontal: (ve = B.hpe.element) == null || (ve = ve.medium) == null || (ve = ve.paddingX) == null ? void 0 : ve.default | |
| }, | |
| remove: { | |
| size: "small", | |
| margin: { | |
| right: "5xsmall" | |
| } | |
| } | |
| }, | |
| large: { | |
| icon: void 0, | |
| pad: { | |
| vertical: (Q = B.hpe.element) == null ? void 0 : Q.large.paddingY, | |
| horizontal: (fe = B.hpe.element) == null || (fe = fe.large) == null || (fe = fe.paddingX) == null ? void 0 : fe.default | |
| }, | |
| remove: { | |
| size: "medium", | |
| margin: { | |
| right: "5xsmall" | |
| } | |
| } | |
| }, | |
| xlarge: { | |
| icon: void 0, | |
| pad: { | |
| vertical: (Ge = B.hpe.element) == null ? void 0 : Ge.xlarge.paddingY, | |
| horizontal: (st = B.hpe.element) == null || (st = st.xlarge) == null || (st = st.paddingX) == null ? void 0 : st.default | |
| }, | |
| remove: { | |
| size: "large", | |
| margin: { | |
| right: "3xsmall" | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| text: da({}, gt, { | |
| skeleton: { | |
| margin: { | |
| vertical: "3xsmall" | |
| } | |
| } | |
| }), | |
| textInput: { | |
| container: { | |
| extend: function(xe) { | |
| var ze = xe.theme; | |
| return ` | |
| svg { | |
| fill: ` + ze.global.colors["icon-strong"][ze.dark ? "dark" : "light"] + `; | |
| stroke: ` + ze.global.colors["icon-strong"][ze.dark ? "dark" : "light"] + `; | |
| } | |
| `; | |
| } | |
| }, | |
| icons: { | |
| copy: y2 | |
| }, | |
| suggestions: { | |
| extend: function(xe) { | |
| var ze = xe.theme; | |
| return ` | |
| padding-block: ` + B.hpe.select.default.medium.drop.paddingY + `; | |
| padding-inline: ` + B.hpe.select.default.medium.drop.paddingX + `; | |
| gap: ` + B.hpe.select.default.medium.drop.gapY + `; | |
| display: flex; | |
| flex-direction: column; | |
| [role="option"]:hover { | |
| background: ` + mn(B.hpe.select.default.option.hover.background, ze) + `; | |
| } | |
| `; | |
| } | |
| } | |
| }, | |
| tip: { | |
| content: { | |
| background: "background-floating", | |
| border: { | |
| color: "border-weak" | |
| }, | |
| margin: "5xsmall", | |
| elevation: "small", | |
| pad: { | |
| vertical: "none", | |
| horizontal: "xsmall" | |
| }, | |
| round: B.hpe.drop.default.borderRadius | |
| } | |
| }, | |
| thumbsRating: { | |
| like: { | |
| color: "background-selected-primary-strong" | |
| }, | |
| dislike: { | |
| color: "background-selected-primary-strong" | |
| } | |
| }, | |
| toggleGroup: { | |
| button: { | |
| kind: "toolbar" | |
| }, | |
| container: { | |
| border: !1, | |
| round: "xsmall", | |
| extend: function(xe) { | |
| var ze = xe.theme; | |
| return ` | |
| gap: ` + (qt.edgeSize[Me.hpe.spacing["5xsmall"]] || Me.hpe.spacing["5xsmall"]) + `; | |
| &:hover { | |
| background: ` + mn("background-hover", ze) + `; | |
| }`; | |
| } | |
| }, | |
| divider: !1 | |
| }, | |
| toolbar: { | |
| gap: "xsmall", | |
| small: { | |
| gap: "xsmall" | |
| } | |
| }, | |
| video: { | |
| scrubber: { | |
| thickness: "xsmall" | |
| }, | |
| time: { | |
| container: { | |
| pad: { | |
| horizontal: "xsmall" | |
| } | |
| } | |
| } | |
| }, | |
| // Theme-Designer only parameters | |
| name: "HPE 1", | |
| rounding: 4, | |
| scale: 1.1, | |
| spacing: 24 | |
| }); | |
| }, O2 = c9({ | |
| primitives: i2, | |
| light: lo, | |
| dark: ho, | |
| small: KL, | |
| large: YL, | |
| global: o2, | |
| components: n2 | |
| }), Rc = {}, Xd = {}; | |
| /** | |
| * @license React | |
| * react-dom-server-legacy.browser.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 dS; | |
| function d9() { | |
| if (dS) return Xd; | |
| dS = 1; | |
| var e = oo(); | |
| function t(A) { | |
| for (var W = "https://reactjs.org/docs/error-decoder.html?invariant=" + A, re = 1; re < arguments.length; re++) W += "&args[]=" + encodeURIComponent(arguments[re]); | |
| return "Minified React error #" + A + "; visit " + W + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings."; | |
| } | |
| var r = Object.prototype.hasOwnProperty, o = /^[: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]*$/, u = {}, h = {}; | |
| function c(A) { | |
| return r.call(h, A) ? !0 : r.call(u, A) ? !1 : o.test(A) ? h[A] = !0 : (u[A] = !0, !1); | |
| } | |
| function p(A, W, re, ge, rt, Je, dt) { | |
| this.acceptsBooleans = W === 2 || W === 3 || W === 4, this.attributeName = ge, this.attributeNamespace = rt, this.mustUseProperty = re, this.propertyName = A, this.type = W, this.sanitizeURL = Je, this.removeEmptyString = dt; | |
| } | |
| var g = {}; | |
| "children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(A) { | |
| g[A] = new p(A, 0, !1, A, null, !1, !1); | |
| }), [["acceptCharset", "accept-charset"], ["className", "class"], ["htmlFor", "for"], ["httpEquiv", "http-equiv"]].forEach(function(A) { | |
| var W = A[0]; | |
| g[W] = new p(W, 1, !1, A[1], null, !1, !1); | |
| }), ["contentEditable", "draggable", "spellCheck", "value"].forEach(function(A) { | |
| g[A] = new p(A, 2, !1, A.toLowerCase(), null, !1, !1); | |
| }), ["autoReverse", "externalResourcesRequired", "focusable", "preserveAlpha"].forEach(function(A) { | |
| g[A] = new p(A, 2, !1, A, 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(A) { | |
| g[A] = new p(A, 3, !1, A.toLowerCase(), null, !1, !1); | |
| }), ["checked", "multiple", "muted", "selected"].forEach(function(A) { | |
| g[A] = new p(A, 3, !0, A, null, !1, !1); | |
| }), ["capture", "download"].forEach(function(A) { | |
| g[A] = new p(A, 4, !1, A, null, !1, !1); | |
| }), ["cols", "rows", "size", "span"].forEach(function(A) { | |
| g[A] = new p(A, 6, !1, A, null, !1, !1); | |
| }), ["rowSpan", "start"].forEach(function(A) { | |
| g[A] = new p(A, 5, !1, A.toLowerCase(), null, !1, !1); | |
| }); | |
| var m = /[\-:]([a-z])/g; | |
| function E(A) { | |
| return A[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(A) { | |
| var W = A.replace( | |
| m, | |
| E | |
| ); | |
| g[W] = new p(W, 1, !1, A, null, !1, !1); | |
| }), "xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(A) { | |
| var W = A.replace(m, E); | |
| g[W] = new p(W, 1, !1, A, "http://www.w3.org/1999/xlink", !1, !1); | |
| }), ["xml:base", "xml:lang", "xml:space"].forEach(function(A) { | |
| var W = A.replace(m, E); | |
| g[W] = new p(W, 1, !1, A, "http://www.w3.org/XML/1998/namespace", !1, !1); | |
| }), ["tabIndex", "crossOrigin"].forEach(function(A) { | |
| g[A] = new p(A, 1, !1, A.toLowerCase(), null, !1, !1); | |
| }), g.xlinkHref = new p("xlinkHref", 1, !1, "xlink:href", "http://www.w3.org/1999/xlink", !0, !1), ["src", "href", "action", "formAction"].forEach(function(A) { | |
| g[A] = new p(A, 1, !1, A.toLowerCase(), null, !0, !0); | |
| }); | |
| var S = { | |
| 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 | |
| }, I = ["Webkit", "ms", "Moz", "O"]; | |
| Object.keys(S).forEach(function(A) { | |
| I.forEach(function(W) { | |
| W = W + A.charAt(0).toUpperCase() + A.substring(1), S[W] = S[A]; | |
| }); | |
| }); | |
| var w = /["'&<>]/; | |
| function b(A) { | |
| if (typeof A == "boolean" || typeof A == "number") return "" + A; | |
| A = "" + A; | |
| var W = w.exec(A); | |
| if (W) { | |
| var re = "", ge, rt = 0; | |
| for (ge = W.index; ge < A.length; ge++) { | |
| switch (A.charCodeAt(ge)) { | |
| case 34: | |
| W = """; | |
| break; | |
| case 38: | |
| W = "&"; | |
| break; | |
| case 39: | |
| W = "'"; | |
| break; | |
| case 60: | |
| W = "<"; | |
| break; | |
| case 62: | |
| W = ">"; | |
| break; | |
| default: | |
| continue; | |
| } | |
| rt !== ge && (re += A.substring(rt, ge)), rt = ge + 1, re += W; | |
| } | |
| A = rt !== ge ? re + A.substring(rt, ge) : re; | |
| } | |
| return A; | |
| } | |
| var T = /([A-Z])/g, R = /^ms-/, D = Array.isArray; | |
| function $(A, W) { | |
| return { insertionMode: A, selectedValue: W }; | |
| } | |
| function Y(A, W, re) { | |
| switch (W) { | |
| case "select": | |
| return $(1, re.value != null ? re.value : re.defaultValue); | |
| case "svg": | |
| return $(2, null); | |
| case "math": | |
| return $(3, null); | |
| case "foreignObject": | |
| return $(1, null); | |
| case "table": | |
| return $(4, null); | |
| case "thead": | |
| case "tbody": | |
| case "tfoot": | |
| return $(5, null); | |
| case "colgroup": | |
| return $(7, null); | |
| case "tr": | |
| return $(6, null); | |
| } | |
| return 4 <= A.insertionMode || A.insertionMode === 0 ? $(1, null) : A; | |
| } | |
| var Z = /* @__PURE__ */ new Map(); | |
| function ne(A, W, re) { | |
| if (typeof re != "object") throw Error(t(62)); | |
| W = !0; | |
| for (var ge in re) if (r.call(re, ge)) { | |
| var rt = re[ge]; | |
| if (rt != null && typeof rt != "boolean" && rt !== "") { | |
| if (ge.indexOf("--") === 0) { | |
| var Je = b(ge); | |
| rt = b(("" + rt).trim()); | |
| } else { | |
| Je = ge; | |
| var dt = Z.get(Je); | |
| dt !== void 0 || (dt = b(Je.replace(T, "-$1").toLowerCase().replace(R, "-ms-")), Z.set(Je, dt)), Je = dt, rt = typeof rt == "number" ? rt === 0 || r.call(S, ge) ? "" + rt : rt + "px" : b(("" + rt).trim()); | |
| } | |
| W ? (W = !1, A.push(' style="', Je, ":", rt)) : A.push(";", Je, ":", rt); | |
| } | |
| } | |
| W || A.push('"'); | |
| } | |
| function te(A, W, re, ge) { | |
| switch (re) { | |
| case "style": | |
| ne(A, W, ge); | |
| return; | |
| case "defaultValue": | |
| case "defaultChecked": | |
| case "innerHTML": | |
| case "suppressContentEditableWarning": | |
| case "suppressHydrationWarning": | |
| return; | |
| } | |
| if (!(2 < re.length) || re[0] !== "o" && re[0] !== "O" || re[1] !== "n" && re[1] !== "N") { | |
| if (W = g.hasOwnProperty(re) ? g[re] : null, W !== null) { | |
| switch (typeof ge) { | |
| case "function": | |
| case "symbol": | |
| return; | |
| case "boolean": | |
| if (!W.acceptsBooleans) return; | |
| } | |
| switch (re = W.attributeName, W.type) { | |
| case 3: | |
| ge && A.push(" ", re, '=""'); | |
| break; | |
| case 4: | |
| ge === !0 ? A.push(" ", re, '=""') : ge !== !1 && A.push(" ", re, '="', b(ge), '"'); | |
| break; | |
| case 5: | |
| isNaN(ge) || A.push(" ", re, '="', b(ge), '"'); | |
| break; | |
| case 6: | |
| !isNaN(ge) && 1 <= ge && A.push(" ", re, '="', b(ge), '"'); | |
| break; | |
| default: | |
| W.sanitizeURL && (ge = "" + ge), A.push(" ", re, '="', b(ge), '"'); | |
| } | |
| } else if (c(re)) { | |
| switch (typeof ge) { | |
| case "function": | |
| case "symbol": | |
| return; | |
| case "boolean": | |
| if (W = re.toLowerCase().slice(0, 5), W !== "data-" && W !== "aria-") return; | |
| } | |
| A.push(" ", re, '="', b(ge), '"'); | |
| } | |
| } | |
| } | |
| function ie(A, W, re) { | |
| if (W != null) { | |
| if (re != null) throw Error(t(60)); | |
| if (typeof W != "object" || !("__html" in W)) throw Error(t(61)); | |
| W = W.__html, W != null && A.push("" + W); | |
| } | |
| } | |
| function ye(A) { | |
| var W = ""; | |
| return e.Children.forEach(A, function(re) { | |
| re != null && (W += re); | |
| }), W; | |
| } | |
| function J(A, W, re, ge) { | |
| A.push(se(re)); | |
| var rt = re = null, Je; | |
| for (Je in W) if (r.call(W, Je)) { | |
| var dt = W[Je]; | |
| if (dt != null) switch (Je) { | |
| case "children": | |
| re = dt; | |
| break; | |
| case "dangerouslySetInnerHTML": | |
| rt = dt; | |
| break; | |
| default: | |
| te(A, ge, Je, dt); | |
| } | |
| } | |
| return A.push(">"), ie(A, rt, re), typeof re == "string" ? (A.push(b(re)), null) : re; | |
| } | |
| var de = /^[a-zA-Z][a-zA-Z:_\.\-\d]*$/, ke = /* @__PURE__ */ new Map(); | |
| function se(A) { | |
| var W = ke.get(A); | |
| if (W === void 0) { | |
| if (!de.test(A)) throw Error(t(65, A)); | |
| W = "<" + A, ke.set(A, W); | |
| } | |
| return W; | |
| } | |
| function Re(A, W, re, ge, rt) { | |
| switch (W) { | |
| case "select": | |
| A.push(se("select")); | |
| var Je = null, dt = null; | |
| for (ue in re) if (r.call(re, ue)) { | |
| var N = re[ue]; | |
| if (N != null) switch (ue) { | |
| case "children": | |
| Je = N; | |
| break; | |
| case "dangerouslySetInnerHTML": | |
| dt = N; | |
| break; | |
| case "defaultValue": | |
| case "value": | |
| break; | |
| default: | |
| te(A, ge, ue, N); | |
| } | |
| } | |
| return A.push(">"), ie(A, dt, Je), Je; | |
| case "option": | |
| dt = rt.selectedValue, A.push(se("option")); | |
| var q = N = null, ae = null, ue = null; | |
| for (Je in re) if (r.call(re, Je)) { | |
| var Fe = re[Je]; | |
| if (Fe != null) switch (Je) { | |
| case "children": | |
| N = Fe; | |
| break; | |
| case "selected": | |
| ae = Fe; | |
| break; | |
| case "dangerouslySetInnerHTML": | |
| ue = Fe; | |
| break; | |
| case "value": | |
| q = Fe; | |
| default: | |
| te(A, ge, Je, Fe); | |
| } | |
| } | |
| if (dt != null) if (re = q !== null ? "" + q : ye(N), D(dt)) { | |
| for (ge = 0; ge < dt.length; ge++) | |
| if ("" + dt[ge] === re) { | |
| A.push(' selected=""'); | |
| break; | |
| } | |
| } else "" + dt === re && A.push(' selected=""'); | |
| else ae && A.push(' selected=""'); | |
| return A.push(">"), ie(A, ue, N), N; | |
| case "textarea": | |
| A.push(se("textarea")), ue = dt = Je = null; | |
| for (N in re) if (r.call(re, N) && (q = re[N], q != null)) switch (N) { | |
| case "children": | |
| ue = q; | |
| break; | |
| case "value": | |
| Je = q; | |
| break; | |
| case "defaultValue": | |
| dt = q; | |
| break; | |
| case "dangerouslySetInnerHTML": | |
| throw Error(t(91)); | |
| default: | |
| te( | |
| A, | |
| ge, | |
| N, | |
| q | |
| ); | |
| } | |
| if (Je === null && dt !== null && (Je = dt), A.push(">"), ue != null) { | |
| if (Je != null) throw Error(t(92)); | |
| if (D(ue) && 1 < ue.length) throw Error(t(93)); | |
| Je = "" + ue; | |
| } | |
| return typeof Je == "string" && Je[0] === ` | |
| ` && A.push(` | |
| `), Je !== null && A.push(b("" + Je)), null; | |
| case "input": | |
| A.push(se("input")), q = ue = N = Je = null; | |
| for (dt in re) if (r.call(re, dt) && (ae = re[dt], ae != null)) switch (dt) { | |
| case "children": | |
| case "dangerouslySetInnerHTML": | |
| throw Error(t(399, "input")); | |
| case "defaultChecked": | |
| q = ae; | |
| break; | |
| case "defaultValue": | |
| N = ae; | |
| break; | |
| case "checked": | |
| ue = ae; | |
| break; | |
| case "value": | |
| Je = ae; | |
| break; | |
| default: | |
| te(A, ge, dt, ae); | |
| } | |
| return ue !== null ? te(A, ge, "checked", ue) : q !== null && te(A, ge, "checked", q), Je !== null ? te(A, ge, "value", Je) : N !== null && te(A, ge, "value", N), A.push("/>"), null; | |
| case "menuitem": | |
| A.push(se("menuitem")); | |
| for (var Ye in re) if (r.call(re, Ye) && (Je = re[Ye], Je != null)) switch (Ye) { | |
| case "children": | |
| case "dangerouslySetInnerHTML": | |
| throw Error(t(400)); | |
| default: | |
| te(A, ge, Ye, Je); | |
| } | |
| return A.push(">"), null; | |
| case "title": | |
| A.push(se("title")), Je = null; | |
| for (Fe in re) if (r.call(re, Fe) && (dt = re[Fe], dt != null)) switch (Fe) { | |
| case "children": | |
| Je = dt; | |
| break; | |
| case "dangerouslySetInnerHTML": | |
| throw Error(t(434)); | |
| default: | |
| te(A, ge, Fe, dt); | |
| } | |
| return A.push(">"), Je; | |
| case "listing": | |
| case "pre": | |
| A.push(se(W)), dt = Je = null; | |
| for (q in re) if (r.call(re, q) && (N = re[q], N != null)) switch (q) { | |
| case "children": | |
| Je = N; | |
| break; | |
| case "dangerouslySetInnerHTML": | |
| dt = N; | |
| break; | |
| default: | |
| te(A, ge, q, N); | |
| } | |
| if (A.push(">"), dt != null) { | |
| if (Je != null) throw Error(t(60)); | |
| if (typeof dt != "object" || !("__html" in dt)) throw Error(t(61)); | |
| re = dt.__html, re != null && (typeof re == "string" && 0 < re.length && re[0] === ` | |
| ` ? A.push(` | |
| `, re) : A.push("" + re)); | |
| } | |
| return typeof Je == "string" && Je[0] === ` | |
| ` && A.push(` | |
| `), Je; | |
| case "area": | |
| case "base": | |
| case "br": | |
| case "col": | |
| case "embed": | |
| case "hr": | |
| case "img": | |
| case "keygen": | |
| case "link": | |
| case "meta": | |
| case "param": | |
| case "source": | |
| case "track": | |
| case "wbr": | |
| A.push(se(W)); | |
| for (var $e in re) if (r.call(re, $e) && (Je = re[$e], Je != null)) switch ($e) { | |
| case "children": | |
| case "dangerouslySetInnerHTML": | |
| throw Error(t(399, W)); | |
| default: | |
| te(A, ge, $e, Je); | |
| } | |
| return A.push("/>"), null; | |
| 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 J( | |
| A, | |
| re, | |
| W, | |
| ge | |
| ); | |
| case "html": | |
| return rt.insertionMode === 0 && A.push("<!DOCTYPE html>"), J(A, re, W, ge); | |
| default: | |
| if (W.indexOf("-") === -1 && typeof re.is != "string") return J(A, re, W, ge); | |
| A.push(se(W)), dt = Je = null; | |
| for (ae in re) if (r.call(re, ae) && (N = re[ae], N != null)) switch (ae) { | |
| case "children": | |
| Je = N; | |
| break; | |
| case "dangerouslySetInnerHTML": | |
| dt = N; | |
| break; | |
| case "style": | |
| ne(A, ge, N); | |
| break; | |
| case "suppressContentEditableWarning": | |
| case "suppressHydrationWarning": | |
| break; | |
| default: | |
| c(ae) && typeof N != "function" && typeof N != "symbol" && A.push(" ", ae, '="', b(N), '"'); | |
| } | |
| return A.push(">"), ie(A, dt, Je), Je; | |
| } | |
| } | |
| function Ne(A, W, re) { | |
| if (A.push('<!--$?--><template id="'), re === null) throw Error(t(395)); | |
| return A.push(re), A.push('"></template>'); | |
| } | |
| function Be(A, W, re, ge) { | |
| switch (re.insertionMode) { | |
| case 0: | |
| case 1: | |
| return A.push('<div hidden id="'), A.push(W.segmentPrefix), W = ge.toString(16), A.push(W), A.push('">'); | |
| case 2: | |
| return A.push('<svg aria-hidden="true" style="display:none" id="'), A.push(W.segmentPrefix), W = ge.toString(16), A.push(W), A.push('">'); | |
| case 3: | |
| return A.push('<math aria-hidden="true" style="display:none" id="'), A.push(W.segmentPrefix), W = ge.toString(16), A.push(W), A.push('">'); | |
| case 4: | |
| return A.push('<table hidden id="'), A.push(W.segmentPrefix), W = ge.toString(16), A.push(W), A.push('">'); | |
| case 5: | |
| return A.push('<table hidden><tbody id="'), A.push(W.segmentPrefix), W = ge.toString(16), A.push(W), A.push('">'); | |
| case 6: | |
| return A.push('<table hidden><tr id="'), A.push(W.segmentPrefix), W = ge.toString(16), A.push(W), A.push('">'); | |
| case 7: | |
| return A.push('<table hidden><colgroup id="'), A.push(W.segmentPrefix), W = ge.toString(16), A.push(W), A.push('">'); | |
| default: | |
| throw Error(t(397)); | |
| } | |
| } | |
| function Ue(A, W) { | |
| switch (W.insertionMode) { | |
| case 0: | |
| case 1: | |
| return A.push("</div>"); | |
| case 2: | |
| return A.push("</svg>"); | |
| case 3: | |
| return A.push("</math>"); | |
| case 4: | |
| return A.push("</table>"); | |
| case 5: | |
| return A.push("</tbody></table>"); | |
| case 6: | |
| return A.push("</tr></table>"); | |
| case 7: | |
| return A.push("</colgroup></table>"); | |
| default: | |
| throw Error(t(397)); | |
| } | |
| } | |
| var Xe = /[<\u2028\u2029]/g; | |
| function G(A) { | |
| return JSON.stringify(A).replace(Xe, function(W) { | |
| switch (W) { | |
| case "<": | |
| return "\\u003c"; | |
| case "\u2028": | |
| return "\\u2028"; | |
| case "\u2029": | |
| return "\\u2029"; | |
| default: | |
| throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React"); | |
| } | |
| }); | |
| } | |
| function me(A, W) { | |
| return W = W === void 0 ? "" : W, { bootstrapChunks: [], startInlineScript: "<script>", placeholderPrefix: W + "P:", segmentPrefix: W + "S:", boundaryPrefix: W + "B:", idPrefix: W, nextSuspenseID: 0, sentCompleteSegmentFunction: !1, sentCompleteBoundaryFunction: !1, sentClientRenderFunction: !1, generateStaticMarkup: A }; | |
| } | |
| function ve(A, W, re, ge) { | |
| return re.generateStaticMarkup ? (A.push(b(W)), !1) : (W === "" ? A = ge : (ge && A.push("<!-- -->"), A.push(b(W)), A = !0), A); | |
| } | |
| var Q = Object.assign, fe = Symbol.for("react.element"), Ge = Symbol.for("react.portal"), st = Symbol.for("react.fragment"), lt = Symbol.for("react.strict_mode"), Ve = Symbol.for("react.profiler"), ft = Symbol.for("react.provider"), Ce = Symbol.for("react.context"), Me = Symbol.for("react.forward_ref"), Tt = Symbol.for("react.suspense"), B = Symbol.for("react.suspense_list"), Vt = Symbol.for("react.memo"), qt = Symbol.for("react.lazy"), br = Symbol.for("react.scope"), Ar = Symbol.for("react.debug_trace_mode"), Gt = Symbol.for("react.legacy_hidden"), hr = Symbol.for("react.default_value"), gt = Symbol.iterator; | |
| function Yt(A) { | |
| if (A == null) return null; | |
| if (typeof A == "function") return A.displayName || A.name || null; | |
| if (typeof A == "string") return A; | |
| switch (A) { | |
| case st: | |
| return "Fragment"; | |
| case Ge: | |
| return "Portal"; | |
| case Ve: | |
| return "Profiler"; | |
| case lt: | |
| return "StrictMode"; | |
| case Tt: | |
| return "Suspense"; | |
| case B: | |
| return "SuspenseList"; | |
| } | |
| if (typeof A == "object") switch (A.$$typeof) { | |
| case Ce: | |
| return (A.displayName || "Context") + ".Consumer"; | |
| case ft: | |
| return (A._context.displayName || "Context") + ".Provider"; | |
| case Me: | |
| var W = A.render; | |
| return A = A.displayName, A || (A = W.displayName || W.name || "", A = A !== "" ? "ForwardRef(" + A + ")" : "ForwardRef"), A; | |
| case Vt: | |
| return W = A.displayName || null, W !== null ? W : Yt(A.type) || "Memo"; | |
| case qt: | |
| W = A._payload, A = A._init; | |
| try { | |
| return Yt(A(W)); | |
| } catch { | |
| } | |
| } | |
| return null; | |
| } | |
| var Pe = {}; | |
| function At(A, W) { | |
| if (A = A.contextTypes, !A) return Pe; | |
| var re = {}, ge; | |
| for (ge in A) re[ge] = W[ge]; | |
| return re; | |
| } | |
| var Et = null; | |
| function ot(A, W) { | |
| if (A !== W) { | |
| A.context._currentValue2 = A.parentValue, A = A.parent; | |
| var re = W.parent; | |
| if (A === null) { | |
| if (re !== null) throw Error(t(401)); | |
| } else { | |
| if (re === null) throw Error(t(401)); | |
| ot(A, re); | |
| } | |
| W.context._currentValue2 = W.value; | |
| } | |
| } | |
| function Ae(A) { | |
| A.context._currentValue2 = A.parentValue, A = A.parent, A !== null && Ae(A); | |
| } | |
| function xe(A) { | |
| var W = A.parent; | |
| W !== null && xe(W), A.context._currentValue2 = A.value; | |
| } | |
| function ze(A, W) { | |
| if (A.context._currentValue2 = A.parentValue, A = A.parent, A === null) throw Error(t(402)); | |
| A.depth === W.depth ? ot(A, W) : ze(A, W); | |
| } | |
| function Ot(A, W) { | |
| var re = W.parent; | |
| if (re === null) throw Error(t(402)); | |
| A.depth === re.depth ? ot(A, re) : Ot(A, re), W.context._currentValue2 = W.value; | |
| } | |
| function zt(A) { | |
| var W = Et; | |
| W !== A && (W === null ? xe(A) : A === null ? Ae(W) : W.depth === A.depth ? ot(W, A) : W.depth > A.depth ? ze(W, A) : Ot(W, A), Et = A); | |
| } | |
| var Lt = { isMounted: function() { | |
| return !1; | |
| }, enqueueSetState: function(A, W) { | |
| A = A._reactInternals, A.queue !== null && A.queue.push(W); | |
| }, enqueueReplaceState: function(A, W) { | |
| A = A._reactInternals, A.replace = !0, A.queue = [W]; | |
| }, enqueueForceUpdate: function() { | |
| } }; | |
| function mr(A, W, re, ge) { | |
| var rt = A.state !== void 0 ? A.state : null; | |
| A.updater = Lt, A.props = re, A.state = rt; | |
| var Je = { queue: [], replace: !1 }; | |
| A._reactInternals = Je; | |
| var dt = W.contextType; | |
| if (A.context = typeof dt == "object" && dt !== null ? dt._currentValue2 : ge, dt = W.getDerivedStateFromProps, typeof dt == "function" && (dt = dt(re, rt), rt = dt == null ? rt : Q({}, rt, dt), A.state = rt), typeof W.getDerivedStateFromProps != "function" && typeof A.getSnapshotBeforeUpdate != "function" && (typeof A.UNSAFE_componentWillMount == "function" || typeof A.componentWillMount == "function")) if (W = A.state, typeof A.componentWillMount == "function" && A.componentWillMount(), typeof A.UNSAFE_componentWillMount == "function" && A.UNSAFE_componentWillMount(), W !== A.state && Lt.enqueueReplaceState(A, A.state, null), Je.queue !== null && 0 < Je.queue.length) if (W = Je.queue, dt = Je.replace, Je.queue = null, Je.replace = !1, dt && W.length === 1) A.state = W[0]; | |
| else { | |
| for (Je = dt ? W[0] : A.state, rt = !0, dt = dt ? 1 : 0; dt < W.length; dt++) { | |
| var N = W[dt]; | |
| N = typeof N == "function" ? N.call(A, Je, re, ge) : N, N != null && (rt ? (rt = !1, Je = Q({}, Je, N)) : Q(Je, N)); | |
| } | |
| A.state = Je; | |
| } | |
| else Je.queue = null; | |
| } | |
| var vr = { id: 1, overflow: "" }; | |
| function wr(A, W, re) { | |
| var ge = A.id; | |
| A = A.overflow; | |
| var rt = 32 - Or(ge) - 1; | |
| ge &= ~(1 << rt), re += 1; | |
| var Je = 32 - Or(W) + rt; | |
| if (30 < Je) { | |
| var dt = rt - rt % 5; | |
| return Je = (ge & (1 << dt) - 1).toString(32), ge >>= dt, rt -= dt, { id: 1 << 32 - Or(W) + rt | re << rt | ge, overflow: Je + A }; | |
| } | |
| return { id: 1 << Je | re << rt | ge, overflow: A }; | |
| } | |
| var Or = Math.clz32 ? Math.clz32 : Nt, kr = Math.log, Pr = Math.LN2; | |
| function Nt(A) { | |
| return A >>>= 0, A === 0 ? 32 : 31 - (kr(A) / Pr | 0) | 0; | |
| } | |
| function Ct(A, W) { | |
| return A === W && (A !== 0 || 1 / A === 1 / W) || A !== A && W !== W; | |
| } | |
| var Rt = typeof Object.is == "function" ? Object.is : Ct, Xt = null, Lr = null, Vr = null, Qt = null, Jr = !1, hn = !1, Ur = 0, pn = null, nn = 0; | |
| function cn() { | |
| if (Xt === null) throw Error(t(321)); | |
| return Xt; | |
| } | |
| function zn() { | |
| if (0 < nn) throw Error(t(312)); | |
| return { memoizedState: null, queue: null, next: null }; | |
| } | |
| function Ir() { | |
| return Qt === null ? Vr === null ? (Jr = !1, Vr = Qt = zn()) : (Jr = !0, Qt = Vr) : Qt.next === null ? (Jr = !1, Qt = Qt.next = zn()) : (Jr = !0, Qt = Qt.next), Qt; | |
| } | |
| function Sn() { | |
| Lr = Xt = null, hn = !1, Vr = null, nn = 0, Qt = pn = null; | |
| } | |
| function Pn(A, W) { | |
| return typeof W == "function" ? W(A) : W; | |
| } | |
| function gn(A, W, re) { | |
| if (Xt = cn(), Qt = Ir(), Jr) { | |
| var ge = Qt.queue; | |
| if (W = ge.dispatch, pn !== null && (re = pn.get(ge), re !== void 0)) { | |
| pn.delete(ge), ge = Qt.memoizedState; | |
| do | |
| ge = A(ge, re.action), re = re.next; | |
| while (re !== null); | |
| return Qt.memoizedState = ge, [ge, W]; | |
| } | |
| return [Qt.memoizedState, W]; | |
| } | |
| return A = A === Pn ? typeof W == "function" ? W() : W : re !== void 0 ? re(W) : W, Qt.memoizedState = A, A = Qt.queue = { last: null, dispatch: null }, A = A.dispatch = In.bind(null, Xt, A), [Qt.memoizedState, A]; | |
| } | |
| function to(A, W) { | |
| if (Xt = cn(), Qt = Ir(), W = W === void 0 ? null : W, Qt !== null) { | |
| var re = Qt.memoizedState; | |
| if (re !== null && W !== null) { | |
| var ge = re[1]; | |
| e: if (ge === null) ge = !1; | |
| else { | |
| for (var rt = 0; rt < ge.length && rt < W.length; rt++) if (!Rt(W[rt], ge[rt])) { | |
| ge = !1; | |
| break e; | |
| } | |
| ge = !0; | |
| } | |
| if (ge) return re[0]; | |
| } | |
| } | |
| return A = A(), Qt.memoizedState = [A, W], A; | |
| } | |
| function In(A, W, re) { | |
| if (25 <= nn) throw Error(t(301)); | |
| if (A === Xt) if (hn = !0, A = { action: re, next: null }, pn === null && (pn = /* @__PURE__ */ new Map()), re = pn.get(W), re === void 0) pn.set(W, A); | |
| else { | |
| for (W = re; W.next !== null; ) W = W.next; | |
| W.next = A; | |
| } | |
| } | |
| function Zr() { | |
| throw Error(t(394)); | |
| } | |
| function sn() { | |
| } | |
| var $n = { readContext: function(A) { | |
| return A._currentValue2; | |
| }, useContext: function(A) { | |
| return cn(), A._currentValue2; | |
| }, useMemo: to, useReducer: gn, useRef: function(A) { | |
| Xt = cn(), Qt = Ir(); | |
| var W = Qt.memoizedState; | |
| return W === null ? (A = { current: A }, Qt.memoizedState = A) : W; | |
| }, useState: function(A) { | |
| return gn(Pn, A); | |
| }, useInsertionEffect: sn, useLayoutEffect: function() { | |
| }, useCallback: function(A, W) { | |
| return to(function() { | |
| return A; | |
| }, W); | |
| }, useImperativeHandle: sn, useEffect: sn, useDebugValue: sn, useDeferredValue: function(A) { | |
| return cn(), A; | |
| }, useTransition: function() { | |
| return cn(), [ | |
| !1, | |
| Zr | |
| ]; | |
| }, useId: function() { | |
| var A = Lr.treeContext, W = A.overflow; | |
| A = A.id, A = (A & ~(1 << 32 - Or(A) - 1)).toString(32) + W; | |
| var re = go; | |
| if (re === null) throw Error(t(404)); | |
| return W = Ur++, A = ":" + re.idPrefix + "R" + A, 0 < W && (A += "H" + W.toString(32)), A + ":"; | |
| }, useMutableSource: function(A, W) { | |
| return cn(), W(A._source); | |
| }, useSyncExternalStore: function(A, W, re) { | |
| if (re === void 0) throw Error(t(407)); | |
| return re(); | |
| } }, go = null, ii = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher; | |
| function zo(A) { | |
| return console.error(A), null; | |
| } | |
| function mo() { | |
| } | |
| function Ai(A, W, re, ge, rt, Je, dt, N, q) { | |
| var ae = [], ue = /* @__PURE__ */ new Set(); | |
| return W = { destination: null, responseState: W, progressiveChunkSize: ge === void 0 ? 12800 : ge, status: 0, fatalError: null, nextSegmentId: 0, allPendingTasks: 0, pendingRootTasks: 0, completedRootSegment: null, abortableTasks: ue, pingedTasks: ae, clientRenderedBoundaries: [], completedBoundaries: [], partialBoundaries: [], onError: rt === void 0 ? zo : rt, onAllReady: mo, onShellReady: dt === void 0 ? mo : dt, onShellError: mo, onFatalError: mo }, re = mi(W, 0, null, re, !1, !1), re.parentFlushed = !0, A = Oo(W, A, null, re, ue, Pe, null, vr), ae.push(A), W; | |
| } | |
| function Oo(A, W, re, ge, rt, Je, dt, N) { | |
| A.allPendingTasks++, re === null ? A.pendingRootTasks++ : re.pendingTasks++; | |
| var q = { node: W, ping: function() { | |
| var ae = A.pingedTasks; | |
| ae.push(q), ae.length === 1 && Do(A); | |
| }, blockedBoundary: re, blockedSegment: ge, abortSet: rt, legacyContext: Je, context: dt, treeContext: N }; | |
| return rt.add(q), q; | |
| } | |
| function mi(A, W, re, ge, rt, Je) { | |
| return { status: 0, id: -1, index: W, parentFlushed: !1, chunks: [], children: [], formatContext: ge, boundary: re, lastPushedText: rt, textEmbedded: Je }; | |
| } | |
| function Gi(A, W) { | |
| if (A = A.onError(W), A != null && typeof A != "string") throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "' + typeof A + '" instead'); | |
| return A; | |
| } | |
| function Li(A, W) { | |
| var re = A.onShellError; | |
| re(W), re = A.onFatalError, re(W), A.destination !== null ? (A.status = 2, A.destination.destroy(W)) : (A.status = 1, A.fatalError = W); | |
| } | |
| function Yi(A, W, re, ge, rt) { | |
| for (Xt = {}, Lr = W, Ur = 0, A = re(ge, rt); hn; ) hn = !1, Ur = 0, nn += 1, Qt = null, A = re(ge, rt); | |
| return Sn(), A; | |
| } | |
| function io(A, W, re, ge) { | |
| var rt = re.render(), Je = ge.childContextTypes; | |
| if (Je != null) { | |
| var dt = W.legacyContext; | |
| if (typeof re.getChildContext != "function") ge = dt; | |
| else { | |
| re = re.getChildContext(); | |
| for (var N in re) if (!(N in Je)) throw Error(t(108, Yt(ge) || "Unknown", N)); | |
| ge = Q({}, dt, re); | |
| } | |
| W.legacyContext = ge, Po(A, W, rt), W.legacyContext = dt; | |
| } else Po(A, W, rt); | |
| } | |
| function yn(A, W) { | |
| if (A && A.defaultProps) { | |
| W = Q({}, W), A = A.defaultProps; | |
| for (var re in A) W[re] === void 0 && (W[re] = A[re]); | |
| return W; | |
| } | |
| return W; | |
| } | |
| function Fn(A, W, re, ge, rt) { | |
| if (typeof re == "function") if (re.prototype && re.prototype.isReactComponent) { | |
| rt = At(re, W.legacyContext); | |
| var Je = re.contextType; | |
| Je = new re(ge, typeof Je == "object" && Je !== null ? Je._currentValue2 : rt), mr(Je, re, ge, rt), io(A, W, Je, re); | |
| } else { | |
| Je = At(re, W.legacyContext), rt = Yi(A, W, re, ge, Je); | |
| var dt = Ur !== 0; | |
| if (typeof rt == "object" && rt !== null && typeof rt.render == "function" && rt.$$typeof === void 0) mr(rt, re, ge, Je), io(A, W, rt, re); | |
| else if (dt) { | |
| ge = W.treeContext, W.treeContext = wr(ge, 1, 0); | |
| try { | |
| Po(A, W, rt); | |
| } finally { | |
| W.treeContext = ge; | |
| } | |
| } else Po(A, W, rt); | |
| } | |
| else if (typeof re == "string") { | |
| switch (rt = W.blockedSegment, Je = Re(rt.chunks, re, ge, A.responseState, rt.formatContext), rt.lastPushedText = !1, dt = rt.formatContext, rt.formatContext = Y(dt, re, ge), ta(A, W, Je), rt.formatContext = dt, re) { | |
| case "area": | |
| case "base": | |
| case "br": | |
| case "col": | |
| case "embed": | |
| case "hr": | |
| case "img": | |
| case "input": | |
| case "keygen": | |
| case "link": | |
| case "meta": | |
| case "param": | |
| case "source": | |
| case "track": | |
| case "wbr": | |
| break; | |
| default: | |
| rt.chunks.push("</", re, ">"); | |
| } | |
| rt.lastPushedText = !1; | |
| } else { | |
| switch (re) { | |
| case Gt: | |
| case Ar: | |
| case lt: | |
| case Ve: | |
| case st: | |
| Po(A, W, ge.children); | |
| return; | |
| case B: | |
| Po(A, W, ge.children); | |
| return; | |
| case br: | |
| throw Error(t(343)); | |
| case Tt: | |
| e: { | |
| re = W.blockedBoundary, rt = W.blockedSegment, Je = ge.fallback, ge = ge.children, dt = /* @__PURE__ */ new Set(); | |
| var N = { id: null, rootSegmentID: -1, parentFlushed: !1, pendingTasks: 0, forceClientRender: !1, completedSegments: [], byteSize: 0, fallbackAbortableTasks: dt, errorDigest: null }, q = mi(A, rt.chunks.length, N, rt.formatContext, !1, !1); | |
| rt.children.push(q), rt.lastPushedText = !1; | |
| var ae = mi(A, 0, null, rt.formatContext, !1, !1); | |
| ae.parentFlushed = !0, W.blockedBoundary = N, W.blockedSegment = ae; | |
| try { | |
| if (ta( | |
| A, | |
| W, | |
| ge | |
| ), A.responseState.generateStaticMarkup || ae.lastPushedText && ae.textEmbedded && ae.chunks.push("<!-- -->"), ae.status = 1, zi(N, ae), N.pendingTasks === 0) break e; | |
| } catch (ue) { | |
| ae.status = 4, N.forceClientRender = !0, N.errorDigest = Gi(A, ue); | |
| } finally { | |
| W.blockedBoundary = re, W.blockedSegment = rt; | |
| } | |
| W = Oo(A, Je, re, q, dt, W.legacyContext, W.context, W.treeContext), A.pingedTasks.push(W); | |
| } | |
| return; | |
| } | |
| if (typeof re == "object" && re !== null) switch (re.$$typeof) { | |
| case Me: | |
| if (ge = Yi(A, W, re.render, ge, rt), Ur !== 0) { | |
| re = W.treeContext, W.treeContext = wr(re, 1, 0); | |
| try { | |
| Po(A, W, ge); | |
| } finally { | |
| W.treeContext = re; | |
| } | |
| } else Po(A, W, ge); | |
| return; | |
| case Vt: | |
| re = re.type, ge = yn(re, ge), Fn(A, W, re, ge, rt); | |
| return; | |
| case ft: | |
| if (rt = ge.children, re = re._context, ge = ge.value, Je = re._currentValue2, re._currentValue2 = ge, dt = Et, Et = ge = { parent: dt, depth: dt === null ? 0 : dt.depth + 1, context: re, parentValue: Je, value: ge }, W.context = ge, Po(A, W, rt), A = Et, A === null) throw Error(t(403)); | |
| ge = A.parentValue, A.context._currentValue2 = ge === hr ? A.context._defaultValue : ge, A = Et = A.parent, W.context = A; | |
| return; | |
| case Ce: | |
| ge = ge.children, ge = ge(re._currentValue2), Po(A, W, ge); | |
| return; | |
| case qt: | |
| rt = re._init, re = rt(re._payload), ge = yn(re, ge), Fn( | |
| A, | |
| W, | |
| re, | |
| ge, | |
| void 0 | |
| ); | |
| return; | |
| } | |
| throw Error(t(130, re == null ? re : typeof re, "")); | |
| } | |
| } | |
| function Po(A, W, re) { | |
| if (W.node = re, typeof re == "object" && re !== null) { | |
| switch (re.$$typeof) { | |
| case fe: | |
| Fn(A, W, re.type, re.props, re.ref); | |
| return; | |
| case Ge: | |
| throw Error(t(257)); | |
| case qt: | |
| var ge = re._init; | |
| re = ge(re._payload), Po(A, W, re); | |
| return; | |
| } | |
| if (D(re)) { | |
| xa(A, W, re); | |
| return; | |
| } | |
| if (re === null || typeof re != "object" ? ge = null : (ge = gt && re[gt] || re["@@iterator"], ge = typeof ge == "function" ? ge : null), ge && (ge = ge.call(re))) { | |
| if (re = ge.next(), !re.done) { | |
| var rt = []; | |
| do | |
| rt.push(re.value), re = ge.next(); | |
| while (!re.done); | |
| xa(A, W, rt); | |
| } | |
| return; | |
| } | |
| throw A = Object.prototype.toString.call(re), Error(t(31, A === "[object Object]" ? "object with keys {" + Object.keys(re).join(", ") + "}" : A)); | |
| } | |
| typeof re == "string" ? (ge = W.blockedSegment, ge.lastPushedText = ve(W.blockedSegment.chunks, re, A.responseState, ge.lastPushedText)) : typeof re == "number" && (ge = W.blockedSegment, ge.lastPushedText = ve(W.blockedSegment.chunks, "" + re, A.responseState, ge.lastPushedText)); | |
| } | |
| function xa(A, W, re) { | |
| for (var ge = re.length, rt = 0; rt < ge; rt++) { | |
| var Je = W.treeContext; | |
| W.treeContext = wr(Je, ge, rt); | |
| try { | |
| ta(A, W, re[rt]); | |
| } finally { | |
| W.treeContext = Je; | |
| } | |
| } | |
| } | |
| function ta(A, W, re) { | |
| var ge = W.blockedSegment.formatContext, rt = W.legacyContext, Je = W.context; | |
| try { | |
| return Po(A, W, re); | |
| } catch (q) { | |
| if (Sn(), typeof q == "object" && q !== null && typeof q.then == "function") { | |
| re = q; | |
| var dt = W.blockedSegment, N = mi(A, dt.chunks.length, null, dt.formatContext, dt.lastPushedText, !0); | |
| dt.children.push(N), dt.lastPushedText = !1, A = Oo(A, W.node, W.blockedBoundary, N, W.abortSet, W.legacyContext, W.context, W.treeContext).ping, re.then(A, A), W.blockedSegment.formatContext = ge, W.legacyContext = rt, W.context = Je, zt(Je); | |
| } else throw W.blockedSegment.formatContext = ge, W.legacyContext = rt, W.context = Je, zt(Je), q; | |
| } | |
| } | |
| function Mi(A) { | |
| var W = A.blockedBoundary; | |
| A = A.blockedSegment, A.status = 3, Oi(this, W, A); | |
| } | |
| function gs(A, W, re) { | |
| var ge = A.blockedBoundary; | |
| A.blockedSegment.status = 3, ge === null ? (W.allPendingTasks--, W.status !== 2 && (W.status = 2, W.destination !== null && W.destination.push(null))) : (ge.pendingTasks--, ge.forceClientRender || (ge.forceClientRender = !0, A = re === void 0 ? Error(t(432)) : re, ge.errorDigest = W.onError(A), ge.parentFlushed && W.clientRenderedBoundaries.push(ge)), ge.fallbackAbortableTasks.forEach(function(rt) { | |
| return gs(rt, W, re); | |
| }), ge.fallbackAbortableTasks.clear(), W.allPendingTasks--, W.allPendingTasks === 0 && (ge = W.onAllReady, ge())); | |
| } | |
| function zi(A, W) { | |
| if (W.chunks.length === 0 && W.children.length === 1 && W.children[0].boundary === null) { | |
| var re = W.children[0]; | |
| re.id = W.id, re.parentFlushed = !0, re.status === 1 && zi(A, re); | |
| } else A.completedSegments.push(W); | |
| } | |
| function Oi(A, W, re) { | |
| if (W === null) { | |
| if (re.parentFlushed) { | |
| if (A.completedRootSegment !== null) throw Error(t(389)); | |
| A.completedRootSegment = re; | |
| } | |
| A.pendingRootTasks--, A.pendingRootTasks === 0 && (A.onShellError = mo, W = A.onShellReady, W()); | |
| } else W.pendingTasks--, W.forceClientRender || (W.pendingTasks === 0 ? (re.parentFlushed && re.status === 1 && zi(W, re), W.parentFlushed && A.completedBoundaries.push(W), W.fallbackAbortableTasks.forEach(Mi, A), W.fallbackAbortableTasks.clear()) : re.parentFlushed && re.status === 1 && (zi(W, re), W.completedSegments.length === 1 && W.parentFlushed && A.partialBoundaries.push(W))); | |
| A.allPendingTasks--, A.allPendingTasks === 0 && (A = A.onAllReady, A()); | |
| } | |
| function Do(A) { | |
| if (A.status !== 2) { | |
| var W = Et, re = ii.current; | |
| ii.current = $n; | |
| var ge = go; | |
| go = A.responseState; | |
| try { | |
| var rt = A.pingedTasks, Je; | |
| for (Je = 0; Je < rt.length; Je++) { | |
| var dt = rt[Je], N = A, q = dt.blockedSegment; | |
| if (q.status === 0) { | |
| zt(dt.context); | |
| try { | |
| Po(N, dt, dt.node), N.responseState.generateStaticMarkup || q.lastPushedText && q.textEmbedded && q.chunks.push("<!-- -->"), dt.abortSet.delete(dt), q.status = 1, Oi(N, dt.blockedBoundary, q); | |
| } catch (xt) { | |
| if (Sn(), typeof xt == "object" && xt !== null && typeof xt.then == "function") { | |
| var ae = dt.ping; | |
| xt.then(ae, ae); | |
| } else { | |
| dt.abortSet.delete(dt), q.status = 4; | |
| var ue = dt.blockedBoundary, Fe = xt, Ye = Gi(N, Fe); | |
| if (ue === null ? Li(N, Fe) : (ue.pendingTasks--, ue.forceClientRender || (ue.forceClientRender = !0, ue.errorDigest = Ye, ue.parentFlushed && N.clientRenderedBoundaries.push(ue))), N.allPendingTasks--, N.allPendingTasks === 0) { | |
| var $e = N.onAllReady; | |
| $e(); | |
| } | |
| } | |
| } finally { | |
| } | |
| } | |
| } | |
| rt.splice(0, Je), A.destination !== null && Fi(A, A.destination); | |
| } catch (xt) { | |
| Gi(A, xt), Li(A, xt); | |
| } finally { | |
| go = ge, ii.current = re, re === $n && zt(W); | |
| } | |
| } | |
| } | |
| function ra(A, W, re) { | |
| switch (re.parentFlushed = !0, re.status) { | |
| case 0: | |
| var ge = re.id = A.nextSegmentId++; | |
| return re.lastPushedText = !1, re.textEmbedded = !1, A = A.responseState, W.push('<template id="'), W.push(A.placeholderPrefix), A = ge.toString(16), W.push(A), W.push('"></template>'); | |
| case 1: | |
| re.status = 2; | |
| var rt = !0; | |
| ge = re.chunks; | |
| var Je = 0; | |
| re = re.children; | |
| for (var dt = 0; dt < re.length; dt++) { | |
| for (rt = re[dt]; Je < rt.index; Je++) W.push(ge[Je]); | |
| rt = Io(A, W, rt); | |
| } | |
| for (; Je < ge.length - 1; Je++) W.push(ge[Je]); | |
| return Je < ge.length && (rt = W.push(ge[Je])), rt; | |
| default: | |
| throw Error(t(390)); | |
| } | |
| } | |
| function Io(A, W, re) { | |
| var ge = re.boundary; | |
| if (ge === null) return ra(A, W, re); | |
| if (ge.parentFlushed = !0, ge.forceClientRender) return A.responseState.generateStaticMarkup || (ge = ge.errorDigest, W.push("<!--$!-->"), W.push("<template"), ge && (W.push(' data-dgst="'), ge = b(ge), W.push(ge), W.push('"')), W.push("></template>")), ra(A, W, re), A = A.responseState.generateStaticMarkup ? !0 : W.push("<!--/$-->"), A; | |
| if (0 < ge.pendingTasks) { | |
| ge.rootSegmentID = A.nextSegmentId++, 0 < ge.completedSegments.length && A.partialBoundaries.push(ge); | |
| var rt = A.responseState, Je = rt.nextSuspenseID++; | |
| return rt = rt.boundaryPrefix + Je.toString(16), ge = ge.id = rt, Ne(W, A.responseState, ge), ra(A, W, re), W.push("<!--/$-->"); | |
| } | |
| if (ge.byteSize > A.progressiveChunkSize) return ge.rootSegmentID = A.nextSegmentId++, A.completedBoundaries.push(ge), Ne(W, A.responseState, ge.id), ra(A, W, re), W.push("<!--/$-->"); | |
| if (A.responseState.generateStaticMarkup || W.push("<!--$-->"), re = ge.completedSegments, re.length !== 1) throw Error(t(391)); | |
| return Io(A, W, re[0]), A = A.responseState.generateStaticMarkup ? !0 : W.push("<!--/$-->"), A; | |
| } | |
| function Da(A, W, re) { | |
| return Be(W, A.responseState, re.formatContext, re.id), Io(A, W, re), Ue(W, re.formatContext); | |
| } | |
| function wa(A, W, re) { | |
| for (var ge = re.completedSegments, rt = 0; rt < ge.length; rt++) Ba(A, W, re, ge[rt]); | |
| if (ge.length = 0, A = A.responseState, ge = re.id, re = re.rootSegmentID, W.push(A.startInlineScript), A.sentCompleteBoundaryFunction ? W.push('$RC("') : (A.sentCompleteBoundaryFunction = !0, W.push('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("')), ge === null) throw Error(t(395)); | |
| return re = re.toString(16), W.push(ge), W.push('","'), W.push(A.segmentPrefix), W.push(re), W.push('")<\/script>'); | |
| } | |
| function Ba(A, W, re, ge) { | |
| if (ge.status === 2) return !0; | |
| var rt = ge.id; | |
| if (rt === -1) { | |
| if ((ge.id = re.rootSegmentID) === -1) throw Error(t(392)); | |
| return Da(A, W, ge); | |
| } | |
| return Da(A, W, ge), A = A.responseState, W.push(A.startInlineScript), A.sentCompleteSegmentFunction ? W.push('$RS("') : (A.sentCompleteSegmentFunction = !0, W.push('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("')), W.push(A.segmentPrefix), rt = rt.toString(16), W.push(rt), W.push('","'), W.push(A.placeholderPrefix), W.push(rt), W.push('")<\/script>'); | |
| } | |
| function Fi(A, W) { | |
| try { | |
| var re = A.completedRootSegment; | |
| if (re !== null && A.pendingRootTasks === 0) { | |
| Io(A, W, re), A.completedRootSegment = null; | |
| var ge = A.responseState.bootstrapChunks; | |
| for (re = 0; re < ge.length - 1; re++) W.push(ge[re]); | |
| re < ge.length && W.push(ge[re]); | |
| } | |
| var rt = A.clientRenderedBoundaries, Je; | |
| for (Je = 0; Je < rt.length; Je++) { | |
| var dt = rt[Je]; | |
| ge = W; | |
| var N = A.responseState, q = dt.id, ae = dt.errorDigest, ue = dt.errorMessage, Fe = dt.errorComponentStack; | |
| if (ge.push(N.startInlineScript), N.sentClientRenderFunction ? ge.push('$RX("') : (N.sentClientRenderFunction = !0, ge.push('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("')), q === null) throw Error(t(395)); | |
| if (ge.push(q), ge.push('"'), ae || ue || Fe) { | |
| ge.push(","); | |
| var Ye = G(ae || ""); | |
| ge.push(Ye); | |
| } | |
| if (ue || Fe) { | |
| ge.push(","); | |
| var $e = G(ue || ""); | |
| ge.push($e); | |
| } | |
| if (Fe) { | |
| ge.push(","); | |
| var xt = G(Fe); | |
| ge.push(xt); | |
| } | |
| if (!ge.push(")<\/script>")) { | |
| A.destination = null, Je++, rt.splice(0, Je); | |
| return; | |
| } | |
| } | |
| rt.splice(0, Je); | |
| var Ht = A.completedBoundaries; | |
| for (Je = 0; Je < Ht.length; Je++) if (!wa(A, W, Ht[Je])) { | |
| A.destination = null, Je++, Ht.splice(0, Je); | |
| return; | |
| } | |
| Ht.splice(0, Je); | |
| var Pt = A.partialBoundaries; | |
| for (Je = 0; Je < Pt.length; Je++) { | |
| var mt = Pt[Je]; | |
| e: { | |
| rt = A, dt = W; | |
| var lr = mt.completedSegments; | |
| for (N = 0; N < lr.length; N++) if (!Ba(rt, dt, mt, lr[N])) { | |
| N++, lr.splice(0, N); | |
| var er = !1; | |
| break e; | |
| } | |
| lr.splice(0, N), er = !0; | |
| } | |
| if (!er) { | |
| A.destination = null, Je++, Pt.splice(0, Je); | |
| return; | |
| } | |
| } | |
| Pt.splice(0, Je); | |
| var dr = A.completedBoundaries; | |
| for (Je = 0; Je < dr.length; Je++) if (!wa(A, W, dr[Je])) { | |
| A.destination = null, Je++, dr.splice(0, Je); | |
| return; | |
| } | |
| dr.splice(0, Je); | |
| } finally { | |
| A.allPendingTasks === 0 && A.pingedTasks.length === 0 && A.clientRenderedBoundaries.length === 0 && A.completedBoundaries.length === 0 && W.push(null); | |
| } | |
| } | |
| function Sa(A, W) { | |
| try { | |
| var re = A.abortableTasks; | |
| re.forEach(function(ge) { | |
| return gs(ge, A, W); | |
| }), re.clear(), A.destination !== null && Fi(A, A.destination); | |
| } catch (ge) { | |
| Gi(A, ge), Li(A, ge); | |
| } | |
| } | |
| function Bo() { | |
| } | |
| function vo(A, W, re, ge) { | |
| var rt = !1, Je = null, dt = "", N = { push: function(ae) { | |
| return ae !== null && (dt += ae), !0; | |
| }, destroy: function(ae) { | |
| rt = !0, Je = ae; | |
| } }, q = !1; | |
| if (A = Ai(A, me(re, W ? W.identifierPrefix : void 0), { insertionMode: 1, selectedValue: null }, 1 / 0, Bo, void 0, function() { | |
| q = !0; | |
| }), Do(A), Sa(A, ge), A.status === 1) A.status = 2, N.destroy(A.fatalError); | |
| else if (A.status !== 2 && A.destination === null) { | |
| A.destination = N; | |
| try { | |
| Fi(A, N); | |
| } catch (ae) { | |
| Gi(A, ae), Li(A, ae); | |
| } | |
| } | |
| if (rt) throw Je; | |
| if (!q) throw Error(t(426)); | |
| return dt; | |
| } | |
| return Xd.renderToNodeStream = function() { | |
| throw Error(t(207)); | |
| }, Xd.renderToStaticMarkup = function(A, W) { | |
| return vo(A, W, !0, 'The server used "renderToStaticMarkup" which does not support Suspense. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server'); | |
| }, Xd.renderToStaticNodeStream = function() { | |
| throw Error(t(208)); | |
| }, Xd.renderToString = function(A, W) { | |
| return vo(A, W, !1, 'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server'); | |
| }, Xd.version = "18.3.1", Xd; | |
| } | |
| var pv = {}; | |
| /** | |
| * @license React | |
| * react-dom-server.browser.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 fS; | |
| function f9() { | |
| if (fS) return pv; | |
| fS = 1; | |
| var e = oo(); | |
| function t(L) { | |
| for (var H = "https://reactjs.org/docs/error-decoder.html?invariant=" + L, ee = 1; ee < arguments.length; ee++) H += "&args[]=" + encodeURIComponent(arguments[ee]); | |
| return "Minified React error #" + L + "; visit " + H + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings."; | |
| } | |
| var r = null, o = 0; | |
| function u(L, H) { | |
| if (H.length !== 0) if (512 < H.length) 0 < o && (L.enqueue(new Uint8Array(r.buffer, 0, o)), r = new Uint8Array(512), o = 0), L.enqueue(H); | |
| else { | |
| var ee = r.length - o; | |
| ee < H.length && (ee === 0 ? L.enqueue(r) : (r.set(H.subarray(0, ee), o), L.enqueue(r), H = H.subarray(ee)), r = new Uint8Array(512), o = 0), r.set(H, o), o += H.length; | |
| } | |
| } | |
| function h(L, H) { | |
| return u(L, H), !0; | |
| } | |
| function c(L) { | |
| r && 0 < o && (L.enqueue(new Uint8Array(r.buffer, 0, o)), r = null, o = 0); | |
| } | |
| var p = new TextEncoder(); | |
| function g(L) { | |
| return p.encode(L); | |
| } | |
| function m(L) { | |
| return p.encode(L); | |
| } | |
| function E(L, H) { | |
| typeof L.error == "function" ? L.error(H) : L.close(); | |
| } | |
| var S = Object.prototype.hasOwnProperty, I = /^[: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]*$/, w = {}, b = {}; | |
| function T(L) { | |
| return S.call(b, L) ? !0 : S.call(w, L) ? !1 : I.test(L) ? b[L] = !0 : (w[L] = !0, !1); | |
| } | |
| function R(L, H, ee, pe, nt, Ze, St) { | |
| this.acceptsBooleans = H === 2 || H === 3 || H === 4, this.attributeName = pe, this.attributeNamespace = nt, this.mustUseProperty = ee, this.propertyName = L, this.type = H, this.sanitizeURL = Ze, this.removeEmptyString = St; | |
| } | |
| var D = {}; | |
| "children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(L) { | |
| D[L] = new R(L, 0, !1, L, null, !1, !1); | |
| }), [["acceptCharset", "accept-charset"], ["className", "class"], ["htmlFor", "for"], ["httpEquiv", "http-equiv"]].forEach(function(L) { | |
| var H = L[0]; | |
| D[H] = new R(H, 1, !1, L[1], null, !1, !1); | |
| }), ["contentEditable", "draggable", "spellCheck", "value"].forEach(function(L) { | |
| D[L] = new R(L, 2, !1, L.toLowerCase(), null, !1, !1); | |
| }), ["autoReverse", "externalResourcesRequired", "focusable", "preserveAlpha"].forEach(function(L) { | |
| D[L] = new R(L, 2, !1, L, 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(L) { | |
| D[L] = new R(L, 3, !1, L.toLowerCase(), null, !1, !1); | |
| }), ["checked", "multiple", "muted", "selected"].forEach(function(L) { | |
| D[L] = new R(L, 3, !0, L, null, !1, !1); | |
| }), ["capture", "download"].forEach(function(L) { | |
| D[L] = new R(L, 4, !1, L, null, !1, !1); | |
| }), ["cols", "rows", "size", "span"].forEach(function(L) { | |
| D[L] = new R(L, 6, !1, L, null, !1, !1); | |
| }), ["rowSpan", "start"].forEach(function(L) { | |
| D[L] = new R(L, 5, !1, L.toLowerCase(), null, !1, !1); | |
| }); | |
| var $ = /[\-:]([a-z])/g; | |
| function Y(L) { | |
| return L[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(L) { | |
| var H = L.replace( | |
| $, | |
| Y | |
| ); | |
| D[H] = new R(H, 1, !1, L, null, !1, !1); | |
| }), "xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(L) { | |
| var H = L.replace($, Y); | |
| D[H] = new R(H, 1, !1, L, "http://www.w3.org/1999/xlink", !1, !1); | |
| }), ["xml:base", "xml:lang", "xml:space"].forEach(function(L) { | |
| var H = L.replace($, Y); | |
| D[H] = new R(H, 1, !1, L, "http://www.w3.org/XML/1998/namespace", !1, !1); | |
| }), ["tabIndex", "crossOrigin"].forEach(function(L) { | |
| D[L] = new R(L, 1, !1, L.toLowerCase(), null, !1, !1); | |
| }), D.xlinkHref = new R("xlinkHref", 1, !1, "xlink:href", "http://www.w3.org/1999/xlink", !0, !1), ["src", "href", "action", "formAction"].forEach(function(L) { | |
| D[L] = new R(L, 1, !1, L.toLowerCase(), null, !0, !0); | |
| }); | |
| var Z = { | |
| 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 | |
| }, ne = ["Webkit", "ms", "Moz", "O"]; | |
| Object.keys(Z).forEach(function(L) { | |
| ne.forEach(function(H) { | |
| H = H + L.charAt(0).toUpperCase() + L.substring(1), Z[H] = Z[L]; | |
| }); | |
| }); | |
| var te = /["'&<>]/; | |
| function ie(L) { | |
| if (typeof L == "boolean" || typeof L == "number") return "" + L; | |
| L = "" + L; | |
| var H = te.exec(L); | |
| if (H) { | |
| var ee = "", pe, nt = 0; | |
| for (pe = H.index; pe < L.length; pe++) { | |
| switch (L.charCodeAt(pe)) { | |
| case 34: | |
| H = """; | |
| break; | |
| case 38: | |
| H = "&"; | |
| break; | |
| case 39: | |
| H = "'"; | |
| break; | |
| case 60: | |
| H = "<"; | |
| break; | |
| case 62: | |
| H = ">"; | |
| break; | |
| default: | |
| continue; | |
| } | |
| nt !== pe && (ee += L.substring(nt, pe)), nt = pe + 1, ee += H; | |
| } | |
| L = nt !== pe ? ee + L.substring(nt, pe) : ee; | |
| } | |
| return L; | |
| } | |
| var ye = /([A-Z])/g, J = /^ms-/, de = Array.isArray, ke = m("<script>"), se = m("<\/script>"), Re = m('<script src="'), Ne = m('<script type="module" src="'), Be = m('" async=""><\/script>'), Ue = /(<\/|<)(s)(cript)/gi; | |
| function Xe(L, H, ee, pe) { | |
| return "" + H + (ee === "s" ? "\\u0073" : "\\u0053") + pe; | |
| } | |
| function G(L, H, ee, pe, nt) { | |
| L = L === void 0 ? "" : L, H = H === void 0 ? ke : m('<script nonce="' + ie(H) + '">'); | |
| var Ze = []; | |
| if (ee !== void 0 && Ze.push(H, g(("" + ee).replace(Ue, Xe)), se), pe !== void 0) for (ee = 0; ee < pe.length; ee++) Ze.push(Re, g(ie(pe[ee])), Be); | |
| if (nt !== void 0) for (pe = 0; pe < nt.length; pe++) Ze.push(Ne, g(ie(nt[pe])), Be); | |
| return { bootstrapChunks: Ze, startInlineScript: H, placeholderPrefix: m(L + "P:"), segmentPrefix: m(L + "S:"), boundaryPrefix: L + "B:", idPrefix: L, nextSuspenseID: 0, sentCompleteSegmentFunction: !1, sentCompleteBoundaryFunction: !1, sentClientRenderFunction: !1 }; | |
| } | |
| function me(L, H) { | |
| return { insertionMode: L, selectedValue: H }; | |
| } | |
| function ve(L) { | |
| return me(L === "http://www.w3.org/2000/svg" ? 2 : L === "http://www.w3.org/1998/Math/MathML" ? 3 : 0, null); | |
| } | |
| function Q(L, H, ee) { | |
| switch (H) { | |
| case "select": | |
| return me(1, ee.value != null ? ee.value : ee.defaultValue); | |
| case "svg": | |
| return me(2, null); | |
| case "math": | |
| return me(3, null); | |
| case "foreignObject": | |
| return me(1, null); | |
| case "table": | |
| return me(4, null); | |
| case "thead": | |
| case "tbody": | |
| case "tfoot": | |
| return me(5, null); | |
| case "colgroup": | |
| return me(7, null); | |
| case "tr": | |
| return me(6, null); | |
| } | |
| return 4 <= L.insertionMode || L.insertionMode === 0 ? me(1, null) : L; | |
| } | |
| var fe = m("<!-- -->"); | |
| function Ge(L, H, ee, pe) { | |
| return H === "" ? pe : (pe && L.push(fe), L.push(g(ie(H))), !0); | |
| } | |
| var st = /* @__PURE__ */ new Map(), lt = m(' style="'), Ve = m(":"), ft = m(";"); | |
| function Ce(L, H, ee) { | |
| if (typeof ee != "object") throw Error(t(62)); | |
| H = !0; | |
| for (var pe in ee) if (S.call(ee, pe)) { | |
| var nt = ee[pe]; | |
| if (nt != null && typeof nt != "boolean" && nt !== "") { | |
| if (pe.indexOf("--") === 0) { | |
| var Ze = g(ie(pe)); | |
| nt = g(ie(("" + nt).trim())); | |
| } else { | |
| Ze = pe; | |
| var St = st.get(Ze); | |
| St !== void 0 || (St = m(ie(Ze.replace(ye, "-$1").toLowerCase().replace(J, "-ms-"))), st.set(Ze, St)), Ze = St, nt = typeof nt == "number" ? nt === 0 || S.call(Z, pe) ? g("" + nt) : g(nt + "px") : g(ie(("" + nt).trim())); | |
| } | |
| H ? (H = !1, L.push(lt, Ze, Ve, nt)) : L.push(ft, Ze, Ve, nt); | |
| } | |
| } | |
| H || L.push(B); | |
| } | |
| var Me = m(" "), Tt = m('="'), B = m('"'), Vt = m('=""'); | |
| function qt(L, H, ee, pe) { | |
| switch (ee) { | |
| case "style": | |
| Ce(L, H, pe); | |
| return; | |
| case "defaultValue": | |
| case "defaultChecked": | |
| case "innerHTML": | |
| case "suppressContentEditableWarning": | |
| case "suppressHydrationWarning": | |
| return; | |
| } | |
| if (!(2 < ee.length) || ee[0] !== "o" && ee[0] !== "O" || ee[1] !== "n" && ee[1] !== "N") { | |
| if (H = D.hasOwnProperty(ee) ? D[ee] : null, H !== null) { | |
| switch (typeof pe) { | |
| case "function": | |
| case "symbol": | |
| return; | |
| case "boolean": | |
| if (!H.acceptsBooleans) return; | |
| } | |
| switch (ee = g(H.attributeName), H.type) { | |
| case 3: | |
| pe && L.push(Me, ee, Vt); | |
| break; | |
| case 4: | |
| pe === !0 ? L.push(Me, ee, Vt) : pe !== !1 && L.push(Me, ee, Tt, g(ie(pe)), B); | |
| break; | |
| case 5: | |
| isNaN(pe) || L.push(Me, ee, Tt, g(ie(pe)), B); | |
| break; | |
| case 6: | |
| !isNaN(pe) && 1 <= pe && L.push(Me, ee, Tt, g(ie(pe)), B); | |
| break; | |
| default: | |
| H.sanitizeURL && (pe = "" + pe), L.push(Me, ee, Tt, g(ie(pe)), B); | |
| } | |
| } else if (T(ee)) { | |
| switch (typeof pe) { | |
| case "function": | |
| case "symbol": | |
| return; | |
| case "boolean": | |
| if (H = ee.toLowerCase().slice(0, 5), H !== "data-" && H !== "aria-") return; | |
| } | |
| L.push(Me, g(ee), Tt, g(ie(pe)), B); | |
| } | |
| } | |
| } | |
| var br = m(">"), Ar = m("/>"); | |
| function Gt(L, H, ee) { | |
| if (H != null) { | |
| if (ee != null) throw Error(t(60)); | |
| if (typeof H != "object" || !("__html" in H)) throw Error(t(61)); | |
| H = H.__html, H != null && L.push(g("" + H)); | |
| } | |
| } | |
| function hr(L) { | |
| var H = ""; | |
| return e.Children.forEach(L, function(ee) { | |
| ee != null && (H += ee); | |
| }), H; | |
| } | |
| var gt = m(' selected=""'); | |
| function Yt(L, H, ee, pe) { | |
| L.push(ot(ee)); | |
| var nt = ee = null, Ze; | |
| for (Ze in H) if (S.call(H, Ze)) { | |
| var St = H[Ze]; | |
| if (St != null) switch (Ze) { | |
| case "children": | |
| ee = St; | |
| break; | |
| case "dangerouslySetInnerHTML": | |
| nt = St; | |
| break; | |
| default: | |
| qt(L, pe, Ze, St); | |
| } | |
| } | |
| return L.push(br), Gt(L, nt, ee), typeof ee == "string" ? (L.push(g(ie(ee))), null) : ee; | |
| } | |
| var Pe = m(` | |
| `), At = /^[a-zA-Z][a-zA-Z:_\.\-\d]*$/, Et = /* @__PURE__ */ new Map(); | |
| function ot(L) { | |
| var H = Et.get(L); | |
| if (H === void 0) { | |
| if (!At.test(L)) throw Error(t(65, L)); | |
| H = m("<" + L), Et.set(L, H); | |
| } | |
| return H; | |
| } | |
| var Ae = m("<!DOCTYPE html>"); | |
| function xe(L, H, ee, pe, nt) { | |
| switch (H) { | |
| case "select": | |
| L.push(ot("select")); | |
| var Ze = null, St = null; | |
| for (on in ee) if (S.call(ee, on)) { | |
| var Zt = ee[on]; | |
| if (Zt != null) switch (on) { | |
| case "children": | |
| Ze = Zt; | |
| break; | |
| case "dangerouslySetInnerHTML": | |
| St = Zt; | |
| break; | |
| case "defaultValue": | |
| case "value": | |
| break; | |
| default: | |
| qt(L, pe, on, Zt); | |
| } | |
| } | |
| return L.push(br), Gt(L, St, Ze), Ze; | |
| case "option": | |
| St = nt.selectedValue, L.push(ot("option")); | |
| var Hr = Zt = null, qr = null, on = null; | |
| for (Ze in ee) if (S.call(ee, Ze)) { | |
| var Qn = ee[Ze]; | |
| if (Qn != null) switch (Ze) { | |
| case "children": | |
| Zt = Qn; | |
| break; | |
| case "selected": | |
| qr = Qn; | |
| break; | |
| case "dangerouslySetInnerHTML": | |
| on = Qn; | |
| break; | |
| case "value": | |
| Hr = Qn; | |
| default: | |
| qt(L, pe, Ze, Qn); | |
| } | |
| } | |
| if (St != null) if (ee = Hr !== null ? "" + Hr : hr(Zt), de(St)) { | |
| for (pe = 0; pe < St.length; pe++) | |
| if ("" + St[pe] === ee) { | |
| L.push(gt); | |
| break; | |
| } | |
| } else "" + St === ee && L.push(gt); | |
| else qr && L.push(gt); | |
| return L.push(br), Gt(L, on, Zt), Zt; | |
| case "textarea": | |
| L.push(ot("textarea")), on = St = Ze = null; | |
| for (Zt in ee) if (S.call(ee, Zt) && (Hr = ee[Zt], Hr != null)) switch (Zt) { | |
| case "children": | |
| on = Hr; | |
| break; | |
| case "value": | |
| Ze = Hr; | |
| break; | |
| case "defaultValue": | |
| St = Hr; | |
| break; | |
| case "dangerouslySetInnerHTML": | |
| throw Error(t(91)); | |
| default: | |
| qt(L, pe, Zt, Hr); | |
| } | |
| if (Ze === null && St !== null && (Ze = St), L.push(br), on != null) { | |
| if (Ze != null) throw Error(t(92)); | |
| if (de(on) && 1 < on.length) throw Error(t(93)); | |
| Ze = "" + on; | |
| } | |
| return typeof Ze == "string" && Ze[0] === ` | |
| ` && L.push(Pe), Ze !== null && L.push(g(ie("" + Ze))), null; | |
| case "input": | |
| L.push(ot("input")), Hr = on = Zt = Ze = null; | |
| for (St in ee) if (S.call(ee, St) && (qr = ee[St], qr != null)) switch (St) { | |
| case "children": | |
| case "dangerouslySetInnerHTML": | |
| throw Error(t(399, "input")); | |
| case "defaultChecked": | |
| Hr = qr; | |
| break; | |
| case "defaultValue": | |
| Zt = qr; | |
| break; | |
| case "checked": | |
| on = qr; | |
| break; | |
| case "value": | |
| Ze = qr; | |
| break; | |
| default: | |
| qt(L, pe, St, qr); | |
| } | |
| return on !== null ? qt( | |
| L, | |
| pe, | |
| "checked", | |
| on | |
| ) : Hr !== null && qt(L, pe, "checked", Hr), Ze !== null ? qt(L, pe, "value", Ze) : Zt !== null && qt(L, pe, "value", Zt), L.push(Ar), null; | |
| case "menuitem": | |
| L.push(ot("menuitem")); | |
| for (var ji in ee) if (S.call(ee, ji) && (Ze = ee[ji], Ze != null)) switch (ji) { | |
| case "children": | |
| case "dangerouslySetInnerHTML": | |
| throw Error(t(400)); | |
| default: | |
| qt(L, pe, ji, Ze); | |
| } | |
| return L.push(br), null; | |
| case "title": | |
| L.push(ot("title")), Ze = null; | |
| for (Qn in ee) if (S.call(ee, Qn) && (St = ee[Qn], St != null)) switch (Qn) { | |
| case "children": | |
| Ze = St; | |
| break; | |
| case "dangerouslySetInnerHTML": | |
| throw Error(t(434)); | |
| default: | |
| qt(L, pe, Qn, St); | |
| } | |
| return L.push(br), Ze; | |
| case "listing": | |
| case "pre": | |
| L.push(ot(H)), St = Ze = null; | |
| for (Hr in ee) if (S.call(ee, Hr) && (Zt = ee[Hr], Zt != null)) switch (Hr) { | |
| case "children": | |
| Ze = Zt; | |
| break; | |
| case "dangerouslySetInnerHTML": | |
| St = Zt; | |
| break; | |
| default: | |
| qt(L, pe, Hr, Zt); | |
| } | |
| if (L.push(br), St != null) { | |
| if (Ze != null) throw Error(t(60)); | |
| if (typeof St != "object" || !("__html" in St)) throw Error(t(61)); | |
| ee = St.__html, ee != null && (typeof ee == "string" && 0 < ee.length && ee[0] === ` | |
| ` ? L.push(Pe, g(ee)) : L.push(g("" + ee))); | |
| } | |
| return typeof Ze == "string" && Ze[0] === ` | |
| ` && L.push(Pe), Ze; | |
| case "area": | |
| case "base": | |
| case "br": | |
| case "col": | |
| case "embed": | |
| case "hr": | |
| case "img": | |
| case "keygen": | |
| case "link": | |
| case "meta": | |
| case "param": | |
| case "source": | |
| case "track": | |
| case "wbr": | |
| L.push(ot(H)); | |
| for (var aa in ee) if (S.call(ee, aa) && (Ze = ee[aa], Ze != null)) switch (aa) { | |
| case "children": | |
| case "dangerouslySetInnerHTML": | |
| throw Error(t(399, H)); | |
| default: | |
| qt(L, pe, aa, Ze); | |
| } | |
| return L.push(Ar), null; | |
| 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 Yt(L, ee, H, pe); | |
| case "html": | |
| return nt.insertionMode === 0 && L.push(Ae), Yt(L, ee, H, pe); | |
| default: | |
| if (H.indexOf("-") === -1 && typeof ee.is != "string") return Yt(L, ee, H, pe); | |
| L.push(ot(H)), St = Ze = null; | |
| for (qr in ee) if (S.call(ee, qr) && (Zt = ee[qr], Zt != null)) switch (qr) { | |
| case "children": | |
| Ze = Zt; | |
| break; | |
| case "dangerouslySetInnerHTML": | |
| St = Zt; | |
| break; | |
| case "style": | |
| Ce(L, pe, Zt); | |
| break; | |
| case "suppressContentEditableWarning": | |
| case "suppressHydrationWarning": | |
| break; | |
| default: | |
| T(qr) && typeof Zt != "function" && typeof Zt != "symbol" && L.push(Me, g(qr), Tt, g(ie(Zt)), B); | |
| } | |
| return L.push(br), Gt(L, St, Ze), Ze; | |
| } | |
| } | |
| var ze = m("</"), Ot = m(">"), zt = m('<template id="'), Lt = m('"></template>'), mr = m("<!--$-->"), vr = m('<!--$?--><template id="'), wr = m('"></template>'), Or = m("<!--$!-->"), kr = m("<!--/$-->"), Pr = m("<template"), Nt = m('"'), Ct = m(' data-dgst="'); | |
| m(' data-msg="'), m(' data-stck="'); | |
| var Rt = m("></template>"); | |
| function Xt(L, H, ee) { | |
| if (u(L, vr), ee === null) throw Error(t(395)); | |
| return u(L, ee), h(L, wr); | |
| } | |
| var Lr = m('<div hidden id="'), Vr = m('">'), Qt = m("</div>"), Jr = m('<svg aria-hidden="true" style="display:none" id="'), hn = m('">'), Ur = m("</svg>"), pn = m('<math aria-hidden="true" style="display:none" id="'), nn = m('">'), cn = m("</math>"), zn = m('<table hidden id="'), Ir = m('">'), Sn = m("</table>"), Pn = m('<table hidden><tbody id="'), gn = m('">'), to = m("</tbody></table>"), In = m('<table hidden><tr id="'), Zr = m('">'), sn = m("</tr></table>"), $n = m('<table hidden><colgroup id="'), go = m('">'), ii = m("</colgroup></table>"); | |
| function zo(L, H, ee, pe) { | |
| switch (ee.insertionMode) { | |
| case 0: | |
| case 1: | |
| return u(L, Lr), u(L, H.segmentPrefix), u(L, g(pe.toString(16))), h(L, Vr); | |
| case 2: | |
| return u(L, Jr), u(L, H.segmentPrefix), u(L, g(pe.toString(16))), h(L, hn); | |
| case 3: | |
| return u(L, pn), u(L, H.segmentPrefix), u(L, g(pe.toString(16))), h(L, nn); | |
| case 4: | |
| return u(L, zn), u(L, H.segmentPrefix), u(L, g(pe.toString(16))), h(L, Ir); | |
| case 5: | |
| return u(L, Pn), u(L, H.segmentPrefix), u(L, g(pe.toString(16))), h(L, gn); | |
| case 6: | |
| return u(L, In), u(L, H.segmentPrefix), u(L, g(pe.toString(16))), h(L, Zr); | |
| case 7: | |
| return u( | |
| L, | |
| $n | |
| ), u(L, H.segmentPrefix), u(L, g(pe.toString(16))), h(L, go); | |
| default: | |
| throw Error(t(397)); | |
| } | |
| } | |
| function mo(L, H) { | |
| switch (H.insertionMode) { | |
| case 0: | |
| case 1: | |
| return h(L, Qt); | |
| case 2: | |
| return h(L, Ur); | |
| case 3: | |
| return h(L, cn); | |
| case 4: | |
| return h(L, Sn); | |
| case 5: | |
| return h(L, to); | |
| case 6: | |
| return h(L, sn); | |
| case 7: | |
| return h(L, ii); | |
| default: | |
| throw Error(t(397)); | |
| } | |
| } | |
| var Ai = m('function $RS(a,b){a=document.getElementById(a);b |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment