UNPKG

storybook

Version:

Storybook: Develop, document, and test UI components in isolation

1,363 lines (1,358 loc) • 3.18 MB
var __create = Object.create; var __defProp = Object.defineProperty; var __getOwnPropDesc = Object.getOwnPropertyDescriptor; var __getOwnPropNames = Object.getOwnPropertyNames; var __getProtoOf = Object.getPrototypeOf, __hasOwnProp = Object.prototype.hasOwnProperty; var __require = /* @__PURE__ */ ((x) => typeof require < "u" ? require : typeof Proxy < "u" ? new Proxy(x, { get: (a3, b) => (typeof require < "u" ? require : a3)[b] }) : x)(function(x) { if (typeof require < "u") return require.apply(this, arguments); throw Error('Dynamic require of "' + x + '" is not supported'); }); var __esm = (fn4, res) => function() { return fn4 && (res = (0, fn4[__getOwnPropNames(fn4)[0]])(fn4 = 0)), res; }; var __commonJS = (cb, mod) => function() { return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports; }; var __export = (target, all) => { for (var name in all) __defProp(target, name, { get: all[name], enumerable: !0 }); }, __copyProps = (to, from2, except, desc) => { if (from2 && typeof from2 == "object" || typeof from2 == "function") for (let key of __getOwnPropNames(from2)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from2[key], enumerable: !(desc = __getOwnPropDesc(from2, key)) || desc.enumerable }); return to; }; var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps( // If the importer is in node compatibility mode or this is not an ESM // file that has been converted to a CommonJS file using a Babel- // compatible transform (i.e. "__esModule" has not been set), then set // "default" to the CommonJS "module.exports" for node compatibility. isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: !0 }) : target, mod )); // ../../node_modules/react/cjs/react.production.min.js var require_react_production_min = __commonJS({ "../../node_modules/react/cjs/react.production.min.js"(exports) { "use strict"; var l = Symbol.for("react.element"), n = Symbol.for("react.portal"), p3 = Symbol.for("react.fragment"), q = Symbol.for("react.strict_mode"), r2 = Symbol.for("react.profiler"), t = Symbol.for("react.provider"), u2 = Symbol.for("react.context"), v = Symbol.for("react.forward_ref"), w = Symbol.for("react.suspense"), x = Symbol.for("react.memo"), y = Symbol.for("react.lazy"), z = Symbol.iterator; function A3(a3) { return a3 === null || typeof a3 != "object" ? null : (a3 = z && a3[z] || a3["@@iterator"], typeof a3 == "function" ? a3 : null); } var B3 = { isMounted: function() { return !1; }, enqueueForceUpdate: function() { }, enqueueReplaceState: function() { }, enqueueSetState: function() { } }, C3 = Object.assign, D = {}; function E(a3, b, e) { this.props = a3, this.context = b, this.refs = D, this.updater = e || B3; } E.prototype.isReactComponent = {}; E.prototype.setState = function(a3, b) { if (typeof a3 != "object" && typeof a3 != "function" && a3 != 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, a3, b, "setState"); }; E.prototype.forceUpdate = function(a3) { this.updater.enqueueForceUpdate(this, a3, "forceUpdate"); }; function F() { } F.prototype = E.prototype; function G(a3, b, e) { this.props = a3, this.context = b, this.refs = D, this.updater = e || B3; } var H = G.prototype = new F(); H.constructor = G; C3(H, E.prototype); H.isPureReactComponent = !0; var I = Array.isArray, J = Object.prototype.hasOwnProperty, K2 = { current: null }, L = { key: !0, ref: !0, __self: !0, __source: !0 }; function M(a3, b, e) { var d, c = {}, k = null, h3 = null; if (b != null) for (d in b.ref !== void 0 && (h3 = b.ref), b.key !== void 0 && (k = "" + b.key), b) J.call(b, d) && !L.hasOwnProperty(d) && (c[d] = b[d]); var g2 = arguments.length - 2; if (g2 === 1) c.children = e; else if (1 < g2) { for (var f4 = Array(g2), m3 = 0; m3 < g2; m3++) f4[m3] = arguments[m3 + 2]; c.children = f4; } if (a3 && a3.defaultProps) for (d in g2 = a3.defaultProps, g2) c[d] === void 0 && (c[d] = g2[d]); return { $$typeof: l, type: a3, key: k, ref: h3, props: c, _owner: K2.current }; } function N(a3, b) { return { $$typeof: l, type: a3.type, key: b, ref: a3.ref, props: a3.props, _owner: a3._owner }; } function O(a3) { return typeof a3 == "object" && a3 !== null && a3.$$typeof === l; } function escape4(a3) { var b = { "=": "=0", ":": "=2" }; return "$" + a3.replace(/[=:]/g, function(a4) { return b[a4]; }); } var P3 = /\/+/g; function Q(a3, b) { return typeof a3 == "object" && a3 !== null && a3.key != null ? escape4("" + a3.key) : b.toString(36); } function R(a3, b, e, d, c) { var k = typeof a3; (k === "undefined" || k === "boolean") && (a3 = null); var h3 = !1; if (a3 === null) h3 = !0; else switch (k) { case "string": case "number": h3 = !0; break; case "object": switch (a3.$$typeof) { case l: case n: h3 = !0; } } if (h3) return h3 = a3, c = c(h3), a3 = d === "" ? "." + Q(h3, 0) : d, I(c) ? (e = "", a3 != null && (e = a3.replace(P3, "$&/") + "/"), R(c, b, e, "", function(a4) { return a4; })) : c != null && (O(c) && (c = N(c, e + (!c.key || h3 && h3.key === c.key ? "" : ("" + c.key).replace(P3, "$&/") + "/") + a3)), b.push(c)), 1; if (h3 = 0, d = d === "" ? "." : d + ":", I(a3)) for (var g2 = 0; g2 < a3.length; g2++) { k = a3[g2]; var f4 = d + Q(k, g2); h3 += R(k, b, e, f4, c); } else if (f4 = A3(a3), typeof f4 == "function") for (a3 = f4.call(a3), g2 = 0; !(k = a3.next()).done; ) k = k.value, f4 = d + Q(k, g2++), h3 += R(k, b, e, f4, c); else if (k === "object") throw b = String(a3), Error("Objects are not valid as a React child (found: " + (b === "[object Object]" ? "object with keys {" + Object.keys(a3).join(", ") + "}" : b) + "). If you meant to render a collection of children, use an array instead."); return h3; } function S(a3, b, e) { if (a3 == null) return a3; var d = [], c = 0; return R(a3, d, "", "", function(a4) { return b.call(e, a4, c++); }), d; } function T2(a3) { if (a3._status === -1) { var b = a3._result; b = b(), b.then(function(b2) { (a3._status === 0 || a3._status === -1) && (a3._status = 1, a3._result = b2); }, function(b2) { (a3._status === 0 || a3._status === -1) && (a3._status = 2, a3._result = b2); }), a3._status === -1 && (a3._status = 0, a3._result = b); } if (a3._status === 1) return a3._result.default; throw a3._result; } var U = { current: null }, V = { transition: null }, W = { ReactCurrentDispatcher: U, ReactCurrentBatchConfig: V, ReactCurrentOwner: K2 }; function X() { throw Error("act(...) is not supported in production builds of React."); } exports.Children = { map: S, forEach: function(a3, b, e) { S(a3, function() { b.apply(this, arguments); }, e); }, count: function(a3) { var b = 0; return S(a3, function() { b++; }), b; }, toArray: function(a3) { return S(a3, function(a4) { return a4; }) || []; }, only: function(a3) { if (!O(a3)) throw Error("React.Children.only expected to receive a single React element child."); return a3; } }; exports.Component = E; exports.Fragment = p3; exports.Profiler = r2; exports.PureComponent = G; exports.StrictMode = q; exports.Suspense = w; exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = W; exports.act = X; exports.cloneElement = function(a3, b, e) { if (a3 == null) throw Error("React.cloneElement(...): The argument must be a React element, but you passed " + a3 + "."); var d = C3({}, a3.props), c = a3.key, k = a3.ref, h3 = a3._owner; if (b != null) { if (b.ref !== void 0 && (k = b.ref, h3 = K2.current), b.key !== void 0 && (c = "" + b.key), a3.type && a3.type.defaultProps) var g2 = a3.type.defaultProps; for (f4 in b) J.call(b, f4) && !L.hasOwnProperty(f4) && (d[f4] = b[f4] === void 0 && g2 !== void 0 ? g2[f4] : b[f4]); } var f4 = arguments.length - 2; if (f4 === 1) d.children = e; else if (1 < f4) { g2 = Array(f4); for (var m3 = 0; m3 < f4; m3++) g2[m3] = arguments[m3 + 2]; d.children = g2; } return { $$typeof: l, type: a3.type, key: c, ref: k, props: d, _owner: h3 }; }; exports.createContext = function(a3) { return a3 = { $$typeof: u2, _currentValue: a3, _currentValue2: a3, _threadCount: 0, Provider: null, Consumer: null, _defaultValue: null, _globalName: null }, a3.Provider = { $$typeof: t, _context: a3 }, a3.Consumer = a3; }; exports.createElement = M; exports.createFactory = function(a3) { var b = M.bind(null, a3); return b.type = a3, b; }; exports.createRef = function() { return { current: null }; }; exports.forwardRef = function(a3) { return { $$typeof: v, render: a3 }; }; exports.isValidElement = O; exports.lazy = function(a3) { return { $$typeof: y, _payload: { _status: -1, _result: a3 }, _init: T2 }; }; exports.memo = function(a3, b) { return { $$typeof: x, type: a3, compare: b === void 0 ? null : b }; }; exports.startTransition = function(a3) { var b = V.transition; V.transition = {}; try { a3(); } finally { V.transition = b; } }; exports.unstable_act = X; exports.useCallback = function(a3, b) { return U.current.useCallback(a3, b); }; exports.useContext = function(a3) { return U.current.useContext(a3); }; exports.useDebugValue = function() { }; exports.useDeferredValue = function(a3) { return U.current.useDeferredValue(a3); }; exports.useEffect = function(a3, b) { return U.current.useEffect(a3, b); }; exports.useId = function() { return U.current.useId(); }; exports.useImperativeHandle = function(a3, b, e) { return U.current.useImperativeHandle(a3, b, e); }; exports.useInsertionEffect = function(a3, b) { return U.current.useInsertionEffect(a3, b); }; exports.useLayoutEffect = function(a3, b) { return U.current.useLayoutEffect(a3, b); }; exports.useMemo = function(a3, b) { return U.current.useMemo(a3, b); }; exports.useReducer = function(a3, b, e) { return U.current.useReducer(a3, b, e); }; exports.useRef = function(a3) { return U.current.useRef(a3); }; exports.useState = function(a3) { return U.current.useState(a3); }; exports.useSyncExternalStore = function(a3, b, e) { return U.current.useSyncExternalStore(a3, b, e); }; exports.useTransition = function() { return U.current.useTransition(); }; exports.version = "18.3.1"; } }); // ../../node_modules/react/index.js var require_react = __commonJS({ "../../node_modules/react/index.js"(exports, module2) { "use strict"; module2.exports = require_react_production_min(); } }); // ../../node_modules/scheduler/cjs/scheduler.production.min.js var require_scheduler_production_min = __commonJS({ "../../node_modules/scheduler/cjs/scheduler.production.min.js"(exports) { "use strict"; function f4(a3, b) { var c = a3.length; a3.push(b); a: for (; 0 < c; ) { var d = c - 1 >>> 1, e = a3[d]; if (0 < g2(e, b)) a3[d] = b, a3[c] = e, c = d; else break a; } } function h3(a3) { return a3.length === 0 ? null : a3[0]; } function k(a3) { if (a3.length === 0) return null; var b = a3[0], c = a3.pop(); if (c !== b) { a3[0] = c; a: for (var d = 0, e = a3.length, w = e >>> 1; d < w; ) { var m3 = 2 * (d + 1) - 1, C3 = a3[m3], n = m3 + 1, x = a3[n]; if (0 > g2(C3, c)) n < e && 0 > g2(x, C3) ? (a3[d] = x, a3[n] = c, d = n) : (a3[d] = C3, a3[m3] = c, d = m3); else if (n < e && 0 > g2(x, c)) a3[d] = x, a3[n] = c, d = n; else break a; } } return b; } function g2(a3, b) { var c = a3.sortIndex - b.sortIndex; return c !== 0 ? c : a3.id - b.id; } typeof performance == "object" && typeof performance.now == "function" ? (l = performance, exports.unstable_now = function() { return l.now(); }) : (p3 = Date, q = p3.now(), exports.unstable_now = function() { return p3.now() - q; }); var l, p3, q, r2 = [], t = [], u2 = 1, v = null, y = 3, z = !1, A3 = !1, B3 = !1, D = typeof setTimeout == "function" ? setTimeout : null, E = typeof clearTimeout == "function" ? clearTimeout : null, F = typeof setImmediate < "u" ? setImmediate : null; typeof navigator < "u" && navigator.scheduling !== void 0 && navigator.scheduling.isInputPending !== void 0 && navigator.scheduling.isInputPending.bind(navigator.scheduling); function G(a3) { for (var b = h3(t); b !== null; ) { if (b.callback === null) k(t); else if (b.startTime <= a3) k(t), b.sortIndex = b.expirationTime, f4(r2, b); else break; b = h3(t); } } function H(a3) { if (B3 = !1, G(a3), !A3) if (h3(r2) !== null) A3 = !0, I(J); else { var b = h3(t); b !== null && K2(H, b.startTime - a3); } } function J(a3, b) { A3 = !1, B3 && (B3 = !1, E(L), L = -1), z = !0; var c = y; try { for (G(b), v = h3(r2); v !== null && (!(v.expirationTime > b) || a3 && !M()); ) { var d = v.callback; if (typeof d == "function") { v.callback = null, y = v.priorityLevel; var e = d(v.expirationTime <= b); b = exports.unstable_now(), typeof e == "function" ? v.callback = e : v === h3(r2) && k(r2), G(b); } else k(r2); v = h3(r2); } if (v !== null) var w = !0; else { var m3 = h3(t); m3 !== null && K2(H, m3.startTime - b), w = !1; } return w; } finally { v = null, y = c, z = !1; } } var N = !1, O = null, L = -1, P3 = 5, Q = -1; function M() { return !(exports.unstable_now() - Q < P3); } function R() { if (O !== null) { var a3 = exports.unstable_now(); Q = a3; var b = !0; try { b = O(!0, a3); } finally { b ? S() : (N = !1, O = null); } } else N = !1; } var S; typeof F == "function" ? S = function() { F(R); } : typeof MessageChannel < "u" ? (T2 = new MessageChannel(), U = T2.port2, T2.port1.onmessage = R, S = function() { U.postMessage(null); }) : S = function() { D(R, 0); }; var T2, U; function I(a3) { O = a3, N || (N = !0, S()); } function K2(a3, b) { L = D(function() { a3(exports.unstable_now()); }, b); } exports.unstable_IdlePriority = 5; exports.unstable_ImmediatePriority = 1; exports.unstable_LowPriority = 4; exports.unstable_NormalPriority = 3; exports.unstable_Profiling = null; exports.unstable_UserBlockingPriority = 2; exports.unstable_cancelCallback = function(a3) { a3.callback = null; }; exports.unstable_continueExecution = function() { A3 || z || (A3 = !0, I(J)); }; exports.unstable_forceFrameRate = function(a3) { 0 > a3 || 125 < a3 ? console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported") : P3 = 0 < a3 ? Math.floor(1e3 / a3) : 5; }; exports.unstable_getCurrentPriorityLevel = function() { return y; }; exports.unstable_getFirstCallbackNode = function() { return h3(r2); }; exports.unstable_next = function(a3) { switch (y) { case 1: case 2: case 3: var b = 3; break; default: b = y; } var c = y; y = b; try { return a3(); } finally { y = c; } }; exports.unstable_pauseExecution = function() { }; exports.unstable_requestPaint = function() { }; exports.unstable_runWithPriority = function(a3, b) { switch (a3) { case 1: case 2: case 3: case 4: case 5: break; default: a3 = 3; } var c = y; y = a3; try { return b(); } finally { y = c; } }; exports.unstable_scheduleCallback = function(a3, b, c) { var d = exports.unstable_now(); switch (typeof c == "object" && c !== null ? (c = c.delay, c = typeof c == "number" && 0 < c ? d + c : d) : c = d, a3) { case 1: var e = -1; break; case 2: e = 250; break; case 5: e = 1073741823; break; case 4: e = 1e4; break; default: e = 5e3; } return e = c + e, a3 = { id: u2++, callback: b, priorityLevel: a3, startTime: c, expirationTime: e, sortIndex: -1 }, c > d ? (a3.sortIndex = c, f4(t, a3), h3(r2) === null && a3 === h3(t) && (B3 ? (E(L), L = -1) : B3 = !0, K2(H, c - d))) : (a3.sortIndex = e, f4(r2, a3), A3 || z || (A3 = !0, I(J))), a3; }; exports.unstable_shouldYield = M; exports.unstable_wrapCallback = function(a3) { var b = y; return function() { var c = y; y = b; try { return a3.apply(this, arguments); } finally { y = c; } }; }; } }); // ../../node_modules/scheduler/index.js var require_scheduler = __commonJS({ "../../node_modules/scheduler/index.js"(exports, module2) { "use strict"; module2.exports = require_scheduler_production_min(); } }); // ../../node_modules/react-dom/cjs/react-dom.production.min.js var require_react_dom_production_min = __commonJS({ "../../node_modules/react-dom/cjs/react-dom.production.min.js"(exports) { "use strict"; var aa = require_react(), ca = require_scheduler(); function p3(a3) { for (var b = "https://reactjs.org/docs/error-decoder.html?invariant=" + a3, c = 1; c < arguments.length; c++) b += "&args[]=" + encodeURIComponent(arguments[c]); return "Minified React error #" + a3 + "; visit " + b + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings."; } var da = /* @__PURE__ */ new Set(), ea = {}; function fa(a3, b) { ha(a3, b), ha(a3 + "Capture", b); } function ha(a3, b) { for (ea[a3] = b, a3 = 0; a3 < b.length; a3++) da.add(b[a3]); } var ia = !(typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u"), ja = Object.prototype.hasOwnProperty, ka = /^[: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]*$/, la = {}, ma = {}; function oa(a3) { return ja.call(ma, a3) ? !0 : ja.call(la, a3) ? !1 : ka.test(a3) ? ma[a3] = !0 : (la[a3] = !0, !1); } function pa(a3, b, c, d) { if (c !== null && c.type === 0) return !1; switch (typeof b) { case "function": case "symbol": return !0; case "boolean": return d ? !1 : c !== null ? !c.acceptsBooleans : (a3 = a3.toLowerCase().slice(0, 5), a3 !== "data-" && a3 !== "aria-"); default: return !1; } } function qa(a3, b, c, d) { if (b === null || typeof b > "u" || pa(a3, b, c, d)) return !0; if (d) return !1; if (c !== null) switch (c.type) { case 3: return !b; case 4: return b === !1; case 5: return isNaN(b); case 6: return isNaN(b) || 1 > b; } return !1; } function v(a3, b, c, d, e, f4, g2) { this.acceptsBooleans = b === 2 || b === 3 || b === 4, this.attributeName = d, this.attributeNamespace = e, this.mustUseProperty = c, this.propertyName = a3, this.type = b, this.sanitizeURL = f4, this.removeEmptyString = g2; } var z = {}; "children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(a3) { z[a3] = new v(a3, 0, !1, a3, null, !1, !1); }); [["acceptCharset", "accept-charset"], ["className", "class"], ["htmlFor", "for"], ["httpEquiv", "http-equiv"]].forEach(function(a3) { var b = a3[0]; z[b] = new v(b, 1, !1, a3[1], null, !1, !1); }); ["contentEditable", "draggable", "spellCheck", "value"].forEach(function(a3) { z[a3] = new v(a3, 2, !1, a3.toLowerCase(), null, !1, !1); }); ["autoReverse", "externalResourcesRequired", "focusable", "preserveAlpha"].forEach(function(a3) { z[a3] = new v(a3, 2, !1, a3, 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(a3) { z[a3] = new v(a3, 3, !1, a3.toLowerCase(), null, !1, !1); }); ["checked", "multiple", "muted", "selected"].forEach(function(a3) { z[a3] = new v(a3, 3, !0, a3, null, !1, !1); }); ["capture", "download"].forEach(function(a3) { z[a3] = new v(a3, 4, !1, a3, null, !1, !1); }); ["cols", "rows", "size", "span"].forEach(function(a3) { z[a3] = new v(a3, 6, !1, a3, null, !1, !1); }); ["rowSpan", "start"].forEach(function(a3) { z[a3] = new v(a3, 5, !1, a3.toLowerCase(), null, !1, !1); }); var ra = /[\-:]([a-z])/g; function sa(a3) { return a3[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(a3) { var b = a3.replace( ra, sa ); z[b] = new v(b, 1, !1, a3, null, !1, !1); }); "xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(a3) { var b = a3.replace(ra, sa); z[b] = new v(b, 1, !1, a3, "http://www.w3.org/1999/xlink", !1, !1); }); ["xml:base", "xml:lang", "xml:space"].forEach(function(a3) { var b = a3.replace(ra, sa); z[b] = new v(b, 1, !1, a3, "http://www.w3.org/XML/1998/namespace", !1, !1); }); ["tabIndex", "crossOrigin"].forEach(function(a3) { z[a3] = new v(a3, 1, !1, a3.toLowerCase(), null, !1, !1); }); z.xlinkHref = new v("xlinkHref", 1, !1, "xlink:href", "http://www.w3.org/1999/xlink", !0, !1); ["src", "href", "action", "formAction"].forEach(function(a3) { z[a3] = new v(a3, 1, !1, a3.toLowerCase(), null, !0, !0); }); function ta(a3, b, c, d) { var e = z.hasOwnProperty(b) ? z[b] : null; (e !== null ? e.type !== 0 : d || !(2 < b.length) || b[0] !== "o" && b[0] !== "O" || b[1] !== "n" && b[1] !== "N") && (qa(b, c, e, d) && (c = null), d || e === null ? oa(b) && (c === null ? a3.removeAttribute(b) : a3.setAttribute(b, "" + c)) : e.mustUseProperty ? a3[e.propertyName] = c === null ? e.type === 3 ? !1 : "" : c : (b = e.attributeName, d = e.attributeNamespace, c === null ? a3.removeAttribute(b) : (e = e.type, c = e === 3 || e === 4 && c === !0 ? "" : "" + c, d ? a3.setAttributeNS(d, b, c) : a3.setAttribute(b, c)))); } var ua = aa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, va = Symbol.for("react.element"), wa = Symbol.for("react.portal"), ya = Symbol.for("react.fragment"), za = Symbol.for("react.strict_mode"), Aa = Symbol.for("react.profiler"), Ba = Symbol.for("react.provider"), Ca = Symbol.for("react.context"), Da = Symbol.for("react.forward_ref"), Ea = Symbol.for("react.suspense"), Fa = Symbol.for("react.suspense_list"), Ga = Symbol.for("react.memo"), Ha = Symbol.for("react.lazy"); Symbol.for("react.scope"); Symbol.for("react.debug_trace_mode"); var Ia = Symbol.for("react.offscreen"); Symbol.for("react.legacy_hidden"); Symbol.for("react.cache"); Symbol.for("react.tracing_marker"); var Ja = Symbol.iterator; function Ka(a3) { return a3 === null || typeof a3 != "object" ? null : (a3 = Ja && a3[Ja] || a3["@@iterator"], typeof a3 == "function" ? a3 : null); } var A3 = Object.assign, La; function Ma(a3) { if (La === void 0) try { throw Error(); } catch (c) { var b = c.stack.trim().match(/\n( *(at )?)/); La = b && b[1] || ""; } return ` ` + La + a3; } var Na = !1; function Oa(a3, b) { if (!a3 || Na) return ""; Na = !0; var c = Error.prepareStackTrace; Error.prepareStackTrace = void 0; try { if (b) if (b = function() { throw Error(); }, Object.defineProperty(b.prototype, "props", { set: function() { throw Error(); } }), typeof Reflect == "object" && Reflect.construct) { try { Reflect.construct(b, []); } catch (l) { var d = l; } Reflect.construct(a3, [], b); } else { try { b.call(); } catch (l) { d = l; } a3.call(b.prototype); } else { try { throw Error(); } catch (l) { d = l; } a3(); } } catch (l) { if (l && d && typeof l.stack == "string") { for (var e = l.stack.split(` `), f4 = d.stack.split(` `), g2 = e.length - 1, h3 = f4.length - 1; 1 <= g2 && 0 <= h3 && e[g2] !== f4[h3]; ) h3--; for (; 1 <= g2 && 0 <= h3; g2--, h3--) if (e[g2] !== f4[h3]) { if (g2 !== 1 || h3 !== 1) do if (g2--, h3--, 0 > h3 || e[g2] !== f4[h3]) { var k = ` ` + e[g2].replace(" at new ", " at "); return a3.displayName && k.includes("<anonymous>") && (k = k.replace("<anonymous>", a3.displayName)), k; } while (1 <= g2 && 0 <= h3); break; } } } finally { Na = !1, Error.prepareStackTrace = c; } return (a3 = a3 ? a3.displayName || a3.name : "") ? Ma(a3) : ""; } function Pa(a3) { switch (a3.tag) { case 5: return Ma(a3.type); case 16: return Ma("Lazy"); case 13: return Ma("Suspense"); case 19: return Ma("SuspenseList"); case 0: case 2: case 15: return a3 = Oa(a3.type, !1), a3; case 11: return a3 = Oa(a3.type.render, !1), a3; case 1: return a3 = Oa(a3.type, !0), a3; default: return ""; } } function Qa(a3) { if (a3 == null) return null; if (typeof a3 == "function") return a3.displayName || a3.name || null; if (typeof a3 == "string") return a3; switch (a3) { case ya: return "Fragment"; case wa: return "Portal"; case Aa: return "Profiler"; case za: return "StrictMode"; case Ea: return "Suspense"; case Fa: return "SuspenseList"; } if (typeof a3 == "object") switch (a3.$$typeof) { case Ca: return (a3.displayName || "Context") + ".Consumer"; case Ba: return (a3._context.displayName || "Context") + ".Provider"; case Da: var b = a3.render; return a3 = a3.displayName, a3 || (a3 = b.displayName || b.name || "", a3 = a3 !== "" ? "ForwardRef(" + a3 + ")" : "ForwardRef"), a3; case Ga: return b = a3.displayName || null, b !== null ? b : Qa(a3.type) || "Memo"; case Ha: b = a3._payload, a3 = a3._init; try { return Qa(a3(b)); } catch { } } return null; } function Ra(a3) { var b = a3.type; switch (a3.tag) { case 24: return "Cache"; case 9: return (b.displayName || "Context") + ".Consumer"; case 10: return (b._context.displayName || "Context") + ".Provider"; case 18: return "DehydratedFragment"; case 11: return a3 = b.render, a3 = a3.displayName || a3.name || "", b.displayName || (a3 !== "" ? "ForwardRef(" + a3 + ")" : "ForwardRef"); case 7: return "Fragment"; case 5: return b; case 4: return "Portal"; case 3: return "Root"; case 6: return "Text"; case 16: return Qa(b); case 8: return b === za ? "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 b == "function") return b.displayName || b.name || null; if (typeof b == "string") return b; } return null; } function Sa(a3) { switch (typeof a3) { case "boolean": case "number": case "string": case "undefined": return a3; case "object": return a3; default: return ""; } } function Ta(a3) { var b = a3.type; return (a3 = a3.nodeName) && a3.toLowerCase() === "input" && (b === "checkbox" || b === "radio"); } function Ua(a3) { var b = Ta(a3) ? "checked" : "value", c = Object.getOwnPropertyDescriptor(a3.constructor.prototype, b), d = "" + a3[b]; if (!a3.hasOwnProperty(b) && typeof c < "u" && typeof c.get == "function" && typeof c.set == "function") { var e = c.get, f4 = c.set; return Object.defineProperty(a3, b, { configurable: !0, get: function() { return e.call(this); }, set: function(a4) { d = "" + a4, f4.call(this, a4); } }), Object.defineProperty(a3, b, { enumerable: c.enumerable }), { getValue: function() { return d; }, setValue: function(a4) { d = "" + a4; }, stopTracking: function() { a3._valueTracker = null, delete a3[b]; } }; } } function Va(a3) { a3._valueTracker || (a3._valueTracker = Ua(a3)); } function Wa(a3) { if (!a3) return !1; var b = a3._valueTracker; if (!b) return !0; var c = b.getValue(), d = ""; return a3 && (d = Ta(a3) ? a3.checked ? "true" : "false" : a3.value), a3 = d, a3 !== c ? (b.setValue(a3), !0) : !1; } function Xa(a3) { if (a3 = a3 || (typeof document < "u" ? document : void 0), typeof a3 > "u") return null; try { return a3.activeElement || a3.body; } catch { return a3.body; } } function Ya(a3, b) { var c = b.checked; return A3({}, b, { defaultChecked: void 0, defaultValue: void 0, value: void 0, checked: c ?? a3._wrapperState.initialChecked }); } function Za(a3, b) { var c = b.defaultValue == null ? "" : b.defaultValue, d = b.checked != null ? b.checked : b.defaultChecked; c = Sa(b.value != null ? b.value : c), a3._wrapperState = { initialChecked: d, initialValue: c, controlled: b.type === "checkbox" || b.type === "radio" ? b.checked != null : b.value != null }; } function ab(a3, b) { b = b.checked, b != null && ta(a3, "checked", b, !1); } function bb(a3, b) { ab(a3, b); var c = Sa(b.value), d = b.type; if (c != null) d === "number" ? (c === 0 && a3.value === "" || a3.value != c) && (a3.value = "" + c) : a3.value !== "" + c && (a3.value = "" + c); else if (d === "submit" || d === "reset") { a3.removeAttribute("value"); return; } b.hasOwnProperty("value") ? cb(a3, b.type, c) : b.hasOwnProperty("defaultValue") && cb(a3, b.type, Sa(b.defaultValue)), b.checked == null && b.defaultChecked != null && (a3.defaultChecked = !!b.defaultChecked); } function db(a3, b, c) { if (b.hasOwnProperty("value") || b.hasOwnProperty("defaultValue")) { var d = b.type; if (!(d !== "submit" && d !== "reset" || b.value !== void 0 && b.value !== null)) return; b = "" + a3._wrapperState.initialValue, c || b === a3.value || (a3.value = b), a3.defaultValue = b; } c = a3.name, c !== "" && (a3.name = ""), a3.defaultChecked = !!a3._wrapperState.initialChecked, c !== "" && (a3.name = c); } function cb(a3, b, c) { (b !== "number" || Xa(a3.ownerDocument) !== a3) && (c == null ? a3.defaultValue = "" + a3._wrapperState.initialValue : a3.defaultValue !== "" + c && (a3.defaultValue = "" + c)); } var eb = Array.isArray; function fb(a3, b, c, d) { if (a3 = a3.options, b) { b = {}; for (var e = 0; e < c.length; e++) b["$" + c[e]] = !0; for (c = 0; c < a3.length; c++) e = b.hasOwnProperty("$" + a3[c].value), a3[c].selected !== e && (a3[c].selected = e), e && d && (a3[c].defaultSelected = !0); } else { for (c = "" + Sa(c), b = null, e = 0; e < a3.length; e++) { if (a3[e].value === c) { a3[e].selected = !0, d && (a3[e].defaultSelected = !0); return; } b !== null || a3[e].disabled || (b = a3[e]); } b !== null && (b.selected = !0); } } function gb(a3, b) { if (b.dangerouslySetInnerHTML != null) throw Error(p3(91)); return A3({}, b, { value: void 0, defaultValue: void 0, children: "" + a3._wrapperState.initialValue }); } function hb(a3, b) { var c = b.value; if (c == null) { if (c = b.children, b = b.defaultValue, c != null) { if (b != null) throw Error(p3(92)); if (eb(c)) { if (1 < c.length) throw Error(p3(93)); c = c[0]; } b = c; } b == null && (b = ""), c = b; } a3._wrapperState = { initialValue: Sa(c) }; } function ib(a3, b) { var c = Sa(b.value), d = Sa(b.defaultValue); c != null && (c = "" + c, c !== a3.value && (a3.value = c), b.defaultValue == null && a3.defaultValue !== c && (a3.defaultValue = c)), d != null && (a3.defaultValue = "" + d); } function jb(a3) { var b = a3.textContent; b === a3._wrapperState.initialValue && b !== "" && b !== null && (a3.value = b); } function kb(a3) { switch (a3) { 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 lb(a3, b) { return a3 == null || a3 === "http://www.w3.org/1999/xhtml" ? kb(b) : a3 === "http://www.w3.org/2000/svg" && b === "foreignObject" ? "http://www.w3.org/1999/xhtml" : a3; } var mb, nb = (function(a3) { return typeof MSApp < "u" && MSApp.execUnsafeLocalFunction ? function(b, c, d, e) { MSApp.execUnsafeLocalFunction(function() { return a3(b, c, d, e); }); } : a3; })(function(a3, b) { if (a3.namespaceURI !== "http://www.w3.org/2000/svg" || "innerHTML" in a3) a3.innerHTML = b; else { for (mb = mb || document.createElement("div"), mb.innerHTML = "<svg>" + b.valueOf().toString() + "</svg>", b = mb.firstChild; a3.firstChild; ) a3.removeChild(a3.firstChild); for (; b.firstChild; ) a3.appendChild(b.firstChild); } }); function ob(a3, b) { if (b) { var c = a3.firstChild; if (c && c === a3.lastChild && c.nodeType === 3) { c.nodeValue = b; return; } } a3.textContent = b; } var pb = { 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 }, qb = ["Webkit", "ms", "Moz", "O"]; Object.keys(pb).forEach(function(a3) { qb.forEach(function(b) { b = b + a3.charAt(0).toUpperCase() + a3.substring(1), pb[b] = pb[a3]; }); }); function rb(a3, b, c) { return b == null || typeof b == "boolean" || b === "" ? "" : c || typeof b != "number" || b === 0 || pb.hasOwnProperty(a3) && pb[a3] ? ("" + b).trim() : b + "px"; } function sb2(a3, b) { a3 = a3.style; for (var c in b) if (b.hasOwnProperty(c)) { var d = c.indexOf("--") === 0, e = rb(c, b[c], d); c === "float" && (c = "cssFloat"), d ? a3.setProperty(c, e) : a3[c] = e; } } var tb = A3({ 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 ub(a3, b) { if (b) { if (tb[a3] && (b.children != null || b.dangerouslySetInnerHTML != null)) throw Error(p3(137, a3)); if (b.dangerouslySetInnerHTML != null) { if (b.children != null) throw Error(p3(60)); if (typeof b.dangerouslySetInnerHTML != "object" || !("__html" in b.dangerouslySetInnerHTML)) throw Error(p3(61)); } if (b.style != null && typeof b.style != "object") throw Error(p3(62)); } } function vb(a3, b) { if (a3.indexOf("-") === -1) return typeof b.is == "string"; switch (a3) { 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 wb = null; function xb(a3) { return a3 = a3.target || a3.srcElement || window, a3.correspondingUseElement && (a3 = a3.correspondingUseElement), a3.nodeType === 3 ? a3.parentNode : a3; } var yb = null, zb = null, Ab = null; function Bb(a3) { if (a3 = Cb(a3)) { if (typeof yb != "function") throw Error(p3(280)); var b = a3.stateNode; b && (b = Db(b), yb(a3.stateNode, a3.type, b)); } } function Eb(a3) { zb ? Ab ? Ab.push(a3) : Ab = [a3] : zb = a3; } function Fb() { if (zb) { var a3 = zb, b = Ab; if (Ab = zb = null, Bb(a3), b) for (a3 = 0; a3 < b.length; a3++) Bb(b[a3]); } } function Gb(a3, b) { return a3(b); } function Hb() { } var Ib = !1; function Jb(a3, b, c) { if (Ib) return a3(b, c); Ib = !0; try { return Gb(a3, b, c); } finally { Ib = !1, (zb !== null || Ab !== null) && (Hb(), Fb()); } } function Kb(a3, b) { var c = a3.stateNode; if (c === null) return null; var d = Db(c); if (d === null) return null; c = d[b]; a: switch (b) { case "onClick": case "onClickCapture": case "onDoubleClick": case "onDoubleClickCapture": case "onMouseDown": case "onMouseDownCapture": case "onMouseMove": case "onMouseMoveCapture": case "onMouseUp": case "onMouseUpCapture": case "onMouseEnter": (d = !d.disabled) || (a3 = a3.type, d = !(a3 === "button" || a3 === "input" || a3 === "select" || a3 === "textarea")), a3 = !d; break a; default: a3 = !1; } if (a3) return null; if (c && typeof c != "function") throw Error(p3(231, b, typeof c)); return c; } var Lb = !1; if (ia) try { Mb = {}, Object.defineProperty(Mb, "passive", { get: function() { Lb = !0; } }), window.addEventListener("test", Mb, Mb), window.removeEventListener("test", Mb, Mb); } catch { Lb = !1; } var Mb; function Nb(a3, b, c, d, e, f4, g2, h3, k) { var l = Array.prototype.slice.call(arguments, 3); try { b.apply(c, l); } catch (m3) { this.onError(m3); } } var Ob = !1, Pb = null, Qb = !1, Rb = null, Sb = { onError: function(a3) { Ob = !0, Pb = a3; } }; function Tb(a3, b, c, d, e, f4, g2, h3, k) { Ob = !1, Pb = null, Nb.apply(Sb, arguments); } function Ub(a3, b, c, d, e, f4, g2, h3, k) { if (Tb.apply(this, arguments), Ob) { if (Ob) { var l = Pb; Ob = !1, Pb = null; } else throw Error(p3(198)); Qb || (Qb = !0, Rb = l); } } function Vb(a3) { var b = a3, c = a3; if (a3.alternate) for (; b.return; ) b = b.return; else { a3 = b; do b = a3, (b.flags & 4098) !== 0 && (c = b.return), a3 = b.return; while (a3); } return b.tag === 3 ? c : null; } function Wb(a3) { if (a3.tag === 13) { var b = a3.memoizedState; if (b === null && (a3 = a3.alternate, a3 !== null && (b = a3.memoizedState)), b !== null) return b.dehydrated; } return null; } function Xb(a3) { if (Vb(a3) !== a3) throw Error(p3(188)); } function Yb(a3) { var b = a3.alternate; if (!b) { if (b = Vb(a3), b === null) throw Error(p3(188)); return b !== a3 ? null : a3; } for (var c = a3, d = b; ; ) { var e = c.return; if (e === null) break; var f4 = e.alternate; if (f4 === null) { if (d = e.return, d !== null) { c = d; continue; } break; } if (e.child === f4.child) { for (f4 = e.child; f4; ) { if (f4 === c) return Xb(e), a3; if (f4 === d) return Xb(e), b; f4 = f4.sibling; } throw Error(p3(188)); } if (c.return !== d.return) c = e, d = f4; else { for (var g2 = !1, h3 = e.child; h3; ) { if (h3 === c) { g2 = !0, c = e, d = f4; break; } if (h3 === d) { g2 = !0, d = e, c = f4; break; } h3 = h3.sibling; } if (!g2) { for (h3 = f4.child; h3; ) { if (h3 === c) { g2 = !0, c = f4, d = e; break; } if (h3 === d) { g2 = !0, d = f4, c = e; break; } h3 = h3.sibling; } if (!g2) throw Error(p3(189)); } } if (c.alternate !== d) throw Error(p3(190)); } if (c.tag !== 3) throw Error(p3(188)); return c.stateNode.current === c ? a3 : b; } function Zb(a3) { return a3 = Yb(a3), a3 !== null ? $b(a3) : null; } function $b(a3) { if (a3.tag === 5 || a3.tag === 6) return a3; for (a3 = a3.child; a3 !== null; ) { var b = $b(a3); if (b !== null) return b; a3 = a3.sibling; } return null; } var ac = ca.unstable_scheduleCallback, bc = ca.unstable_cancelCallback, cc = ca.unstable_shouldYield, dc = ca.unstable_requestPaint, B3 = ca.unstable_now, ec = ca.unstable_getCurrentPriorityLevel, fc = ca.unstable_ImmediatePriority, gc = ca.unstable_UserBlockingPriority, hc = ca.unstable_NormalPriority, ic = ca.unstable_LowPriority, jc = ca.unstable_IdlePriority, kc = null, lc = null; function mc(a3) { if (lc && typeof lc.onCommitFiberRoot == "function") try { lc.onCommitFiberRoot(kc, a3, void 0, (a3.current.flags & 128) === 128); } catch { } } var oc = Math.clz32 ? Math.clz32 : nc, pc = Math.log, qc = Math.LN2; function nc(a3) { return a3 >>>= 0, a3 === 0 ? 32 : 31 - (pc(a3) / qc | 0) | 0; } var rc = 64, sc = 4194304; function tc(a3) { switch (a3 & -a3) { 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 a3 & 4194240; case 4194304: case 8388608: case 16777216: case 33554432: case 67108864: return a3 & 130023424; case 134217728: return 134217728; case 268435456: return 268435456; case 536870912: return 536870912; case 1073741824: return 1073741824; default: return a3; } } function uc(a3, b) { var c = a3.pendingLanes; if (c === 0) return 0; var d = 0, e = a3.suspendedLanes, f4 = a3.pingedLanes, g2 = c & 268435455; if (g2 !== 0) { var h3 = g2 & ~e; h3 !== 0 ? d = tc(h3) : (f4 &= g2, f4 !== 0 && (d = tc(f4))); } else g2 = c & ~e, g2 !== 0 ? d = tc(g2) : f4 !== 0 && (d = tc(f4)); if (d === 0) return 0; if (b !== 0 && b !== d && (b & e) === 0 && (e = d & -d, f4 = b & -b, e >= f4 || e === 16 && (f4 & 4194240) !== 0)) return b; if ((d & 4) !== 0 && (d |= c & 16), b = a3.entangledLanes, b !== 0) for (a3 = a3.entanglements, b &= d; 0 < b; ) c = 31 - oc(b), e = 1 << c, d |= a3[c], b &= ~e; return d; } function vc(a3, b) { switch (a3) { case 1: case 2: case 4: return b + 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 b + 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 wc(a3, b) { for (var c = a3.suspendedLanes, d = a3.pingedLanes, e = a3.expirationTimes, f4 = a3.pendingLanes; 0 < f4; ) { var g2 = 31 - oc(f4), h3 = 1 << g2, k = e[g2]; k === -1 ? ((h3 & c) === 0 || (h3 & d) !== 0) && (e[g2] = vc(h3, b)) : k <= b && (a3.expiredLanes |= h3), f4 &= ~h3; } } function xc(a3) { return a3 = a3.pendingLanes & -1073741825, a3 !== 0 ? a3 : a3 & 1073741824 ? 1073741824 : 0; } function yc() { var a3 = rc; return rc <<= 1, (rc & 4194240) === 0 && (rc = 64), a3; } function zc(a3) { for (var b = [], c = 0; 31 > c; c++) b.push(a3); return b; } function Ac(a3, b, c) {