UNPKG

storybook

Version:

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

1,335 lines (1,330 loc) • 3.15 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__ */ ((x2) => typeof require < "u" ? require : typeof Proxy < "u" ? new Proxy(x2, { get: (a2, b2) => (typeof require < "u" ? require : a2)[b2] }) : x2)(function(x2) { if (typeof require < "u") return require.apply(this, arguments); throw Error('Dynamic require of "' + x2 + '" 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 l2 = Symbol.for("react.element"), n2 = Symbol.for("react.portal"), p2 = Symbol.for("react.fragment"), q = Symbol.for("react.strict_mode"), r3 = Symbol.for("react.profiler"), t2 = Symbol.for("react.provider"), u3 = Symbol.for("react.context"), v2 = Symbol.for("react.forward_ref"), w2 = Symbol.for("react.suspense"), x2 = Symbol.for("react.memo"), y2 = Symbol.for("react.lazy"), z = Symbol.iterator; function A3(a2) { return a2 === null || typeof a2 != "object" ? null : (a2 = z && a2[z] || a2["@@iterator"], typeof a2 == "function" ? a2 : null); } var B2 = { isMounted: function() { return !1; }, enqueueForceUpdate: function() { }, enqueueReplaceState: function() { }, enqueueSetState: function() { } }, C2 = Object.assign, D2 = {}; function E2(a2, b2, e2) { this.props = a2, this.context = b2, this.refs = D2, this.updater = e2 || B2; } E2.prototype.isReactComponent = {}; E2.prototype.setState = function(a2, b2) { if (typeof a2 != "object" && typeof a2 != "function" && a2 != 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, a2, b2, "setState"); }; E2.prototype.forceUpdate = function(a2) { this.updater.enqueueForceUpdate(this, a2, "forceUpdate"); }; function F() { } F.prototype = E2.prototype; function G(a2, b2, e2) { this.props = a2, this.context = b2, this.refs = D2, this.updater = e2 || B2; } var H = G.prototype = new F(); H.constructor = G; C2(H, E2.prototype); H.isPureReactComponent = !0; var I = Array.isArray, J = Object.prototype.hasOwnProperty, K3 = { current: null }, L = { key: !0, ref: !0, __self: !0, __source: !0 }; function M2(a2, b2, e2) { var d, c2 = {}, k2 = null, h3 = null; if (b2 != null) for (d in b2.ref !== void 0 && (h3 = b2.ref), b2.key !== void 0 && (k2 = "" + b2.key), b2) J.call(b2, d) && !L.hasOwnProperty(d) && (c2[d] = b2[d]); var g2 = arguments.length - 2; if (g2 === 1) c2.children = e2; else if (1 < g2) { for (var f4 = Array(g2), m3 = 0; m3 < g2; m3++) f4[m3] = arguments[m3 + 2]; c2.children = f4; } if (a2 && a2.defaultProps) for (d in g2 = a2.defaultProps, g2) c2[d] === void 0 && (c2[d] = g2[d]); return { $$typeof: l2, type: a2, key: k2, ref: h3, props: c2, _owner: K3.current }; } function N(a2, b2) { return { $$typeof: l2, type: a2.type, key: b2, ref: a2.ref, props: a2.props, _owner: a2._owner }; } function O(a2) { return typeof a2 == "object" && a2 !== null && a2.$$typeof === l2; } function escape4(a2) { var b2 = { "=": "=0", ":": "=2" }; return "$" + a2.replace(/[=:]/g, function(a3) { return b2[a3]; }); } var P4 = /\/+/g; function Q(a2, b2) { return typeof a2 == "object" && a2 !== null && a2.key != null ? escape4("" + a2.key) : b2.toString(36); } function R2(a2, b2, e2, d, c2) { var k2 = typeof a2; (k2 === "undefined" || k2 === "boolean") && (a2 = null); var h3 = !1; if (a2 === null) h3 = !0; else switch (k2) { case "string": case "number": h3 = !0; break; case "object": switch (a2.$$typeof) { case l2: case n2: h3 = !0; } } if (h3) return h3 = a2, c2 = c2(h3), a2 = d === "" ? "." + Q(h3, 0) : d, I(c2) ? (e2 = "", a2 != null && (e2 = a2.replace(P4, "$&/") + "/"), R2(c2, b2, e2, "", function(a3) { return a3; })) : c2 != null && (O(c2) && (c2 = N(c2, e2 + (!c2.key || h3 && h3.key === c2.key ? "" : ("" + c2.key).replace(P4, "$&/") + "/") + a2)), b2.push(c2)), 1; if (h3 = 0, d = d === "" ? "." : d + ":", I(a2)) for (var g2 = 0; g2 < a2.length; g2++) { k2 = a2[g2]; var f4 = d + Q(k2, g2); h3 += R2(k2, b2, e2, f4, c2); } else if (f4 = A3(a2), typeof f4 == "function") for (a2 = f4.call(a2), g2 = 0; !(k2 = a2.next()).done; ) k2 = k2.value, f4 = d + Q(k2, g2++), h3 += R2(k2, b2, e2, f4, c2); else if (k2 === "object") throw b2 = String(a2), Error("Objects are not valid as a React child (found: " + (b2 === "[object Object]" ? "object with keys {" + Object.keys(a2).join(", ") + "}" : b2) + "). If you meant to render a collection of children, use an array instead."); return h3; } function S2(a2, b2, e2) { if (a2 == null) return a2; var d = [], c2 = 0; return R2(a2, d, "", "", function(a3) { return b2.call(e2, a3, c2++); }), d; } function T3(a2) { if (a2._status === -1) { var b2 = a2._result; b2 = b2(), b2.then(function(b3) { (a2._status === 0 || a2._status === -1) && (a2._status = 1, a2._result = b3); }, function(b3) { (a2._status === 0 || a2._status === -1) && (a2._status = 2, a2._result = b3); }), a2._status === -1 && (a2._status = 0, a2._result = b2); } if (a2._status === 1) return a2._result.default; throw a2._result; } var U = { current: null }, V = { transition: null }, W = { ReactCurrentDispatcher: U, ReactCurrentBatchConfig: V, ReactCurrentOwner: K3 }; function X() { throw Error("act(...) is not supported in production builds of React."); } exports.Children = { map: S2, forEach: function(a2, b2, e2) { S2(a2, function() { b2.apply(this, arguments); }, e2); }, count: function(a2) { var b2 = 0; return S2(a2, function() { b2++; }), b2; }, toArray: function(a2) { return S2(a2, function(a3) { return a3; }) || []; }, only: function(a2) { if (!O(a2)) throw Error("React.Children.only expected to receive a single React element child."); return a2; } }; exports.Component = E2; exports.Fragment = p2; exports.Profiler = r3; exports.PureComponent = G; exports.StrictMode = q; exports.Suspense = w2; exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = W; exports.act = X; exports.cloneElement = function(a2, b2, e2) { if (a2 == null) throw Error("React.cloneElement(...): The argument must be a React element, but you passed " + a2 + "."); var d = C2({}, a2.props), c2 = a2.key, k2 = a2.ref, h3 = a2._owner; if (b2 != null) { if (b2.ref !== void 0 && (k2 = b2.ref, h3 = K3.current), b2.key !== void 0 && (c2 = "" + b2.key), a2.type && a2.type.defaultProps) var g2 = a2.type.defaultProps; for (f4 in b2) J.call(b2, f4) && !L.hasOwnProperty(f4) && (d[f4] = b2[f4] === void 0 && g2 !== void 0 ? g2[f4] : b2[f4]); } var f4 = arguments.length - 2; if (f4 === 1) d.children = e2; else if (1 < f4) { g2 = Array(f4); for (var m3 = 0; m3 < f4; m3++) g2[m3] = arguments[m3 + 2]; d.children = g2; } return { $$typeof: l2, type: a2.type, key: c2, ref: k2, props: d, _owner: h3 }; }; exports.createContext = function(a2) { return a2 = { $$typeof: u3, _currentValue: a2, _currentValue2: a2, _threadCount: 0, Provider: null, Consumer: null, _defaultValue: null, _globalName: null }, a2.Provider = { $$typeof: t2, _context: a2 }, a2.Consumer = a2; }; exports.createElement = M2; exports.createFactory = function(a2) { var b2 = M2.bind(null, a2); return b2.type = a2, b2; }; exports.createRef = function() { return { current: null }; }; exports.forwardRef = function(a2) { return { $$typeof: v2, render: a2 }; }; exports.isValidElement = O; exports.lazy = function(a2) { return { $$typeof: y2, _payload: { _status: -1, _result: a2 }, _init: T3 }; }; exports.memo = function(a2, b2) { return { $$typeof: x2, type: a2, compare: b2 === void 0 ? null : b2 }; }; exports.startTransition = function(a2) { var b2 = V.transition; V.transition = {}; try { a2(); } finally { V.transition = b2; } }; exports.unstable_act = X; exports.useCallback = function(a2, b2) { return U.current.useCallback(a2, b2); }; exports.useContext = function(a2) { return U.current.useContext(a2); }; exports.useDebugValue = function() { }; exports.useDeferredValue = function(a2) { return U.current.useDeferredValue(a2); }; exports.useEffect = function(a2, b2) { return U.current.useEffect(a2, b2); }; exports.useId = function() { return U.current.useId(); }; exports.useImperativeHandle = function(a2, b2, e2) { return U.current.useImperativeHandle(a2, b2, e2); }; exports.useInsertionEffect = function(a2, b2) { return U.current.useInsertionEffect(a2, b2); }; exports.useLayoutEffect = function(a2, b2) { return U.current.useLayoutEffect(a2, b2); }; exports.useMemo = function(a2, b2) { return U.current.useMemo(a2, b2); }; exports.useReducer = function(a2, b2, e2) { return U.current.useReducer(a2, b2, e2); }; exports.useRef = function(a2) { return U.current.useRef(a2); }; exports.useState = function(a2) { return U.current.useState(a2); }; exports.useSyncExternalStore = function(a2, b2, e2) { return U.current.useSyncExternalStore(a2, b2, e2); }; 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(a2, b2) { var c2 = a2.length; a2.push(b2); a: for (; 0 < c2; ) { var d = c2 - 1 >>> 1, e2 = a2[d]; if (0 < g2(e2, b2)) a2[d] = b2, a2[c2] = e2, c2 = d; else break a; } } function h3(a2) { return a2.length === 0 ? null : a2[0]; } function k2(a2) { if (a2.length === 0) return null; var b2 = a2[0], c2 = a2.pop(); if (c2 !== b2) { a2[0] = c2; a: for (var d = 0, e2 = a2.length, w2 = e2 >>> 1; d < w2; ) { var m3 = 2 * (d + 1) - 1, C2 = a2[m3], n2 = m3 + 1, x2 = a2[n2]; if (0 > g2(C2, c2)) n2 < e2 && 0 > g2(x2, C2) ? (a2[d] = x2, a2[n2] = c2, d = n2) : (a2[d] = C2, a2[m3] = c2, d = m3); else if (n2 < e2 && 0 > g2(x2, c2)) a2[d] = x2, a2[n2] = c2, d = n2; else break a; } } return b2; } function g2(a2, b2) { var c2 = a2.sortIndex - b2.sortIndex; return c2 !== 0 ? c2 : a2.id - b2.id; } typeof performance == "object" && typeof performance.now == "function" ? (l2 = performance, exports.unstable_now = function() { return l2.now(); }) : (p2 = Date, q = p2.now(), exports.unstable_now = function() { return p2.now() - q; }); var l2, p2, q, r3 = [], t2 = [], u3 = 1, v2 = null, y2 = 3, z = !1, A3 = !1, B2 = !1, D2 = typeof setTimeout == "function" ? setTimeout : null, E2 = 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(a2) { for (var b2 = h3(t2); b2 !== null; ) { if (b2.callback === null) k2(t2); else if (b2.startTime <= a2) k2(t2), b2.sortIndex = b2.expirationTime, f4(r3, b2); else break; b2 = h3(t2); } } function H(a2) { if (B2 = !1, G(a2), !A3) if (h3(r3) !== null) A3 = !0, I(J); else { var b2 = h3(t2); b2 !== null && K3(H, b2.startTime - a2); } } function J(a2, b2) { A3 = !1, B2 && (B2 = !1, E2(L), L = -1), z = !0; var c2 = y2; try { for (G(b2), v2 = h3(r3); v2 !== null && (!(v2.expirationTime > b2) || a2 && !M2()); ) { var d = v2.callback; if (typeof d == "function") { v2.callback = null, y2 = v2.priorityLevel; var e2 = d(v2.expirationTime <= b2); b2 = exports.unstable_now(), typeof e2 == "function" ? v2.callback = e2 : v2 === h3(r3) && k2(r3), G(b2); } else k2(r3); v2 = h3(r3); } if (v2 !== null) var w2 = !0; else { var m3 = h3(t2); m3 !== null && K3(H, m3.startTime - b2), w2 = !1; } return w2; } finally { v2 = null, y2 = c2, z = !1; } } var N = !1, O = null, L = -1, P4 = 5, Q = -1; function M2() { return !(exports.unstable_now() - Q < P4); } function R2() { if (O !== null) { var a2 = exports.unstable_now(); Q = a2; var b2 = !0; try { b2 = O(!0, a2); } finally { b2 ? S2() : (N = !1, O = null); } } else N = !1; } var S2; typeof F == "function" ? S2 = function() { F(R2); } : typeof MessageChannel < "u" ? (T3 = new MessageChannel(), U = T3.port2, T3.port1.onmessage = R2, S2 = function() { U.postMessage(null); }) : S2 = function() { D2(R2, 0); }; var T3, U; function I(a2) { O = a2, N || (N = !0, S2()); } function K3(a2, b2) { L = D2(function() { a2(exports.unstable_now()); }, b2); } 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(a2) { a2.callback = null; }; exports.unstable_continueExecution = function() { A3 || z || (A3 = !0, I(J)); }; exports.unstable_forceFrameRate = function(a2) { 0 > a2 || 125 < a2 ? console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported") : P4 = 0 < a2 ? Math.floor(1e3 / a2) : 5; }; exports.unstable_getCurrentPriorityLevel = function() { return y2; }; exports.unstable_getFirstCallbackNode = function() { return h3(r3); }; exports.unstable_next = function(a2) { switch (y2) { case 1: case 2: case 3: var b2 = 3; break; default: b2 = y2; } var c2 = y2; y2 = b2; try { return a2(); } finally { y2 = c2; } }; exports.unstable_pauseExecution = function() { }; exports.unstable_requestPaint = function() { }; exports.unstable_runWithPriority = function(a2, b2) { switch (a2) { case 1: case 2: case 3: case 4: case 5: break; default: a2 = 3; } var c2 = y2; y2 = a2; try { return b2(); } finally { y2 = c2; } }; exports.unstable_scheduleCallback = function(a2, b2, c2) { var d = exports.unstable_now(); switch (typeof c2 == "object" && c2 !== null ? (c2 = c2.delay, c2 = typeof c2 == "number" && 0 < c2 ? d + c2 : d) : c2 = d, a2) { case 1: var e2 = -1; break; case 2: e2 = 250; break; case 5: e2 = 1073741823; break; case 4: e2 = 1e4; break; default: e2 = 5e3; } return e2 = c2 + e2, a2 = { id: u3++, callback: b2, priorityLevel: a2, startTime: c2, expirationTime: e2, sortIndex: -1 }, c2 > d ? (a2.sortIndex = c2, f4(t2, a2), h3(r3) === null && a2 === h3(t2) && (B2 ? (E2(L), L = -1) : B2 = !0, K3(H, c2 - d))) : (a2.sortIndex = e2, f4(r3, a2), A3 || z || (A3 = !0, I(J))), a2; }; exports.unstable_shouldYield = M2; exports.unstable_wrapCallback = function(a2) { var b2 = y2; return function() { var c2 = y2; y2 = b2; try { return a2.apply(this, arguments); } finally { y2 = c2; } }; }; } }); // ../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 p2(a2) { for (var b2 = "https://reactjs.org/docs/error-decoder.html?invariant=" + a2, c2 = 1; c2 < arguments.length; c2++) b2 += "&args[]=" + encodeURIComponent(arguments[c2]); return "Minified React error #" + a2 + "; visit " + b2 + " 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(a2, b2) { ha(a2, b2), ha(a2 + "Capture", b2); } function ha(a2, b2) { for (ea[a2] = b2, a2 = 0; a2 < b2.length; a2++) da.add(b2[a2]); } 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(a2) { return ja.call(ma, a2) ? !0 : ja.call(la, a2) ? !1 : ka.test(a2) ? ma[a2] = !0 : (la[a2] = !0, !1); } function pa(a2, b2, c2, d) { if (c2 !== null && c2.type === 0) return !1; switch (typeof b2) { case "function": case "symbol": return !0; case "boolean": return d ? !1 : c2 !== null ? !c2.acceptsBooleans : (a2 = a2.toLowerCase().slice(0, 5), a2 !== "data-" && a2 !== "aria-"); default: return !1; } } function qa(a2, b2, c2, d) { if (b2 === null || typeof b2 > "u" || pa(a2, b2, c2, d)) return !0; if (d) return !1; if (c2 !== null) switch (c2.type) { case 3: return !b2; case 4: return b2 === !1; case 5: return isNaN(b2); case 6: return isNaN(b2) || 1 > b2; } return !1; } function v2(a2, b2, c2, d, e2, f4, g2) { this.acceptsBooleans = b2 === 2 || b2 === 3 || b2 === 4, this.attributeName = d, this.attributeNamespace = e2, this.mustUseProperty = c2, this.propertyName = a2, this.type = b2, this.sanitizeURL = f4, this.removeEmptyString = g2; } var z = {}; "children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(a2) { z[a2] = new v2(a2, 0, !1, a2, null, !1, !1); }); [["acceptCharset", "accept-charset"], ["className", "class"], ["htmlFor", "for"], ["httpEquiv", "http-equiv"]].forEach(function(a2) { var b2 = a2[0]; z[b2] = new v2(b2, 1, !1, a2[1], null, !1, !1); }); ["contentEditable", "draggable", "spellCheck", "value"].forEach(function(a2) { z[a2] = new v2(a2, 2, !1, a2.toLowerCase(), null, !1, !1); }); ["autoReverse", "externalResourcesRequired", "focusable", "preserveAlpha"].forEach(function(a2) { z[a2] = new v2(a2, 2, !1, a2, 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(a2) { z[a2] = new v2(a2, 3, !1, a2.toLowerCase(), null, !1, !1); }); ["checked", "multiple", "muted", "selected"].forEach(function(a2) { z[a2] = new v2(a2, 3, !0, a2, null, !1, !1); }); ["capture", "download"].forEach(function(a2) { z[a2] = new v2(a2, 4, !1, a2, null, !1, !1); }); ["cols", "rows", "size", "span"].forEach(function(a2) { z[a2] = new v2(a2, 6, !1, a2, null, !1, !1); }); ["rowSpan", "start"].forEach(function(a2) { z[a2] = new v2(a2, 5, !1, a2.toLowerCase(), null, !1, !1); }); var ra = /[\-:]([a-z])/g; function sa(a2) { return a2[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(a2) { var b2 = a2.replace( ra, sa ); z[b2] = new v2(b2, 1, !1, a2, null, !1, !1); }); "xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(a2) { var b2 = a2.replace(ra, sa); z[b2] = new v2(b2, 1, !1, a2, "http://www.w3.org/1999/xlink", !1, !1); }); ["xml:base", "xml:lang", "xml:space"].forEach(function(a2) { var b2 = a2.replace(ra, sa); z[b2] = new v2(b2, 1, !1, a2, "http://www.w3.org/XML/1998/namespace", !1, !1); }); ["tabIndex", "crossOrigin"].forEach(function(a2) { z[a2] = new v2(a2, 1, !1, a2.toLowerCase(), null, !1, !1); }); z.xlinkHref = new v2("xlinkHref", 1, !1, "xlink:href", "http://www.w3.org/1999/xlink", !0, !1); ["src", "href", "action", "formAction"].forEach(function(a2) { z[a2] = new v2(a2, 1, !1, a2.toLowerCase(), null, !0, !0); }); function ta(a2, b2, c2, d) { var e2 = z.hasOwnProperty(b2) ? z[b2] : null; (e2 !== null ? e2.type !== 0 : d || !(2 < b2.length) || b2[0] !== "o" && b2[0] !== "O" || b2[1] !== "n" && b2[1] !== "N") && (qa(b2, c2, e2, d) && (c2 = null), d || e2 === null ? oa(b2) && (c2 === null ? a2.removeAttribute(b2) : a2.setAttribute(b2, "" + c2)) : e2.mustUseProperty ? a2[e2.propertyName] = c2 === null ? e2.type === 3 ? !1 : "" : c2 : (b2 = e2.attributeName, d = e2.attributeNamespace, c2 === null ? a2.removeAttribute(b2) : (e2 = e2.type, c2 = e2 === 3 || e2 === 4 && c2 === !0 ? "" : "" + c2, d ? a2.setAttributeNS(d, b2, c2) : a2.setAttribute(b2, c2)))); } 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(a2) { return a2 === null || typeof a2 != "object" ? null : (a2 = Ja && a2[Ja] || a2["@@iterator"], typeof a2 == "function" ? a2 : null); } var A3 = Object.assign, La; function Ma(a2) { if (La === void 0) try { throw Error(); } catch (c2) { var b2 = c2.stack.trim().match(/\n( *(at )?)/); La = b2 && b2[1] || ""; } return ` ` + La + a2; } var Na = !1; function Oa(a2, b2) { if (!a2 || Na) return ""; Na = !0; var c2 = Error.prepareStackTrace; Error.prepareStackTrace = void 0; try { if (b2) if (b2 = function() { throw Error(); }, Object.defineProperty(b2.prototype, "props", { set: function() { throw Error(); } }), typeof Reflect == "object" && Reflect.construct) { try { Reflect.construct(b2, []); } catch (l2) { var d = l2; } Reflect.construct(a2, [], b2); } else { try { b2.call(); } catch (l2) { d = l2; } a2.call(b2.prototype); } else { try { throw Error(); } catch (l2) { d = l2; } a2(); } } catch (l2) { if (l2 && d && typeof l2.stack == "string") { for (var e2 = l2.stack.split(` `), f4 = d.stack.split(` `), g2 = e2.length - 1, h3 = f4.length - 1; 1 <= g2 && 0 <= h3 && e2[g2] !== f4[h3]; ) h3--; for (; 1 <= g2 && 0 <= h3; g2--, h3--) if (e2[g2] !== f4[h3]) { if (g2 !== 1 || h3 !== 1) do if (g2--, h3--, 0 > h3 || e2[g2] !== f4[h3]) { var k2 = ` ` + e2[g2].replace(" at new ", " at "); return a2.displayName && k2.includes("<anonymous>") && (k2 = k2.replace("<anonymous>", a2.displayName)), k2; } while (1 <= g2 && 0 <= h3); break; } } } finally { Na = !1, Error.prepareStackTrace = c2; } return (a2 = a2 ? a2.displayName || a2.name : "") ? Ma(a2) : ""; } function Pa(a2) { switch (a2.tag) { case 5: return Ma(a2.type); case 16: return Ma("Lazy"); case 13: return Ma("Suspense"); case 19: return Ma("SuspenseList"); case 0: case 2: case 15: return a2 = Oa(a2.type, !1), a2; case 11: return a2 = Oa(a2.type.render, !1), a2; case 1: return a2 = Oa(a2.type, !0), a2; default: return ""; } } function Qa(a2) { if (a2 == null) return null; if (typeof a2 == "function") return a2.displayName || a2.name || null; if (typeof a2 == "string") return a2; switch (a2) { 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 a2 == "object") switch (a2.$$typeof) { case Ca: return (a2.displayName || "Context") + ".Consumer"; case Ba: return (a2._context.displayName || "Context") + ".Provider"; case Da: var b2 = a2.render; return a2 = a2.displayName, a2 || (a2 = b2.displayName || b2.name || "", a2 = a2 !== "" ? "ForwardRef(" + a2 + ")" : "ForwardRef"), a2; case Ga: return b2 = a2.displayName || null, b2 !== null ? b2 : Qa(a2.type) || "Memo"; case Ha: b2 = a2._payload, a2 = a2._init; try { return Qa(a2(b2)); } catch { } } return null; } function Ra(a2) { var b2 = a2.type; switch (a2.tag) { case 24: return "Cache"; case 9: return (b2.displayName || "Context") + ".Consumer"; case 10: return (b2._context.displayName || "Context") + ".Provider"; case 18: return "DehydratedFragment"; case 11: return a2 = b2.render, a2 = a2.displayName || a2.name || "", b2.displayName || (a2 !== "" ? "ForwardRef(" + a2 + ")" : "ForwardRef"); case 7: return "Fragment"; case 5: return b2; case 4: return "Portal"; case 3: return "Root"; case 6: return "Text"; case 16: return Qa(b2); case 8: return b2 === 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 b2 == "function") return b2.displayName || b2.name || null; if (typeof b2 == "string") return b2; } return null; } function Sa(a2) { switch (typeof a2) { case "boolean": case "number": case "string": case "undefined": return a2; case "object": return a2; default: return ""; } } function Ta(a2) { var b2 = a2.type; return (a2 = a2.nodeName) && a2.toLowerCase() === "input" && (b2 === "checkbox" || b2 === "radio"); } function Ua(a2) { var b2 = Ta(a2) ? "checked" : "value", c2 = Object.getOwnPropertyDescriptor(a2.constructor.prototype, b2), d = "" + a2[b2]; if (!a2.hasOwnProperty(b2) && typeof c2 < "u" && typeof c2.get == "function" && typeof c2.set == "function") { var e2 = c2.get, f4 = c2.set; return Object.defineProperty(a2, b2, { configurable: !0, get: function() { return e2.call(this); }, set: function(a3) { d = "" + a3, f4.call(this, a3); } }), Object.defineProperty(a2, b2, { enumerable: c2.enumerable }), { getValue: function() { return d; }, setValue: function(a3) { d = "" + a3; }, stopTracking: function() { a2._valueTracker = null, delete a2[b2]; } }; } } function Va(a2) { a2._valueTracker || (a2._valueTracker = Ua(a2)); } function Wa(a2) { if (!a2) return !1; var b2 = a2._valueTracker; if (!b2) return !0; var c2 = b2.getValue(), d = ""; return a2 && (d = Ta(a2) ? a2.checked ? "true" : "false" : a2.value), a2 = d, a2 !== c2 ? (b2.setValue(a2), !0) : !1; } function Xa(a2) { if (a2 = a2 || (typeof document < "u" ? document : void 0), typeof a2 > "u") return null; try { return a2.activeElement || a2.body; } catch { return a2.body; } } function Ya(a2, b2) { var c2 = b2.checked; return A3({}, b2, { defaultChecked: void 0, defaultValue: void 0, value: void 0, checked: c2 ?? a2._wrapperState.initialChecked }); } function Za(a2, b2) { var c2 = b2.defaultValue == null ? "" : b2.defaultValue, d = b2.checked != null ? b2.checked : b2.defaultChecked; c2 = Sa(b2.value != null ? b2.value : c2), a2._wrapperState = { initialChecked: d, initialValue: c2, controlled: b2.type === "checkbox" || b2.type === "radio" ? b2.checked != null : b2.value != null }; } function ab(a2, b2) { b2 = b2.checked, b2 != null && ta(a2, "checked", b2, !1); } function bb(a2, b2) { ab(a2, b2); var c2 = Sa(b2.value), d = b2.type; if (c2 != null) d === "number" ? (c2 === 0 && a2.value === "" || a2.value != c2) && (a2.value = "" + c2) : a2.value !== "" + c2 && (a2.value = "" + c2); else if (d === "submit" || d === "reset") { a2.removeAttribute("value"); return; } b2.hasOwnProperty("value") ? cb(a2, b2.type, c2) : b2.hasOwnProperty("defaultValue") && cb(a2, b2.type, Sa(b2.defaultValue)), b2.checked == null && b2.defaultChecked != null && (a2.defaultChecked = !!b2.defaultChecked); } function db(a2, b2, c2) { if (b2.hasOwnProperty("value") || b2.hasOwnProperty("defaultValue")) { var d = b2.type; if (!(d !== "submit" && d !== "reset" || b2.value !== void 0 && b2.value !== null)) return; b2 = "" + a2._wrapperState.initialValue, c2 || b2 === a2.value || (a2.value = b2), a2.defaultValue = b2; } c2 = a2.name, c2 !== "" && (a2.name = ""), a2.defaultChecked = !!a2._wrapperState.initialChecked, c2 !== "" && (a2.name = c2); } function cb(a2, b2, c2) { (b2 !== "number" || Xa(a2.ownerDocument) !== a2) && (c2 == null ? a2.defaultValue = "" + a2._wrapperState.initialValue : a2.defaultValue !== "" + c2 && (a2.defaultValue = "" + c2)); } var eb = Array.isArray; function fb(a2, b2, c2, d) { if (a2 = a2.options, b2) { b2 = {}; for (var e2 = 0; e2 < c2.length; e2++) b2["$" + c2[e2]] = !0; for (c2 = 0; c2 < a2.length; c2++) e2 = b2.hasOwnProperty("$" + a2[c2].value), a2[c2].selected !== e2 && (a2[c2].selected = e2), e2 && d && (a2[c2].defaultSelected = !0); } else { for (c2 = "" + Sa(c2), b2 = null, e2 = 0; e2 < a2.length; e2++) { if (a2[e2].value === c2) { a2[e2].selected = !0, d && (a2[e2].defaultSelected = !0); return; } b2 !== null || a2[e2].disabled || (b2 = a2[e2]); } b2 !== null && (b2.selected = !0); } } function gb(a2, b2) { if (b2.dangerouslySetInnerHTML != null) throw Error(p2(91)); return A3({}, b2, { value: void 0, defaultValue: void 0, children: "" + a2._wrapperState.initialValue }); } function hb(a2, b2) { var c2 = b2.value; if (c2 == null) { if (c2 = b2.children, b2 = b2.defaultValue, c2 != null) { if (b2 != null) throw Error(p2(92)); if (eb(c2)) { if (1 < c2.length) throw Error(p2(93)); c2 = c2[0]; } b2 = c2; } b2 == null && (b2 = ""), c2 = b2; } a2._wrapperState = { initialValue: Sa(c2) }; } function ib(a2, b2) { var c2 = Sa(b2.value), d = Sa(b2.defaultValue); c2 != null && (c2 = "" + c2, c2 !== a2.value && (a2.value = c2), b2.defaultValue == null && a2.defaultValue !== c2 && (a2.defaultValue = c2)), d != null && (a2.defaultValue = "" + d); } function jb(a2) { var b2 = a2.textContent; b2 === a2._wrapperState.initialValue && b2 !== "" && b2 !== null && (a2.value = b2); } function kb(a2) { switch (a2) { 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(a2, b2) { return a2 == null || a2 === "http://www.w3.org/1999/xhtml" ? kb(b2) : a2 === "http://www.w3.org/2000/svg" && b2 === "foreignObject" ? "http://www.w3.org/1999/xhtml" : a2; } var mb, nb = (function(a2) { return typeof MSApp < "u" && MSApp.execUnsafeLocalFunction ? function(b2, c2, d, e2) { MSApp.execUnsafeLocalFunction(function() { return a2(b2, c2, d, e2); }); } : a2; })(function(a2, b2) { if (a2.namespaceURI !== "http://www.w3.org/2000/svg" || "innerHTML" in a2) a2.innerHTML = b2; else { for (mb = mb || document.createElement("div"), mb.innerHTML = "<svg>" + b2.valueOf().toString() + "</svg>", b2 = mb.firstChild; a2.firstChild; ) a2.removeChild(a2.firstChild); for (; b2.firstChild; ) a2.appendChild(b2.firstChild); } }); function ob(a2, b2) { if (b2) { var c2 = a2.firstChild; if (c2 && c2 === a2.lastChild && c2.nodeType === 3) { c2.nodeValue = b2; return; } } a2.textContent = b2; } 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(a2) { qb.forEach(function(b2) { b2 = b2 + a2.charAt(0).toUpperCase() + a2.substring(1), pb[b2] = pb[a2]; }); }); function rb(a2, b2, c2) { return b2 == null || typeof b2 == "boolean" || b2 === "" ? "" : c2 || typeof b2 != "number" || b2 === 0 || pb.hasOwnProperty(a2) && pb[a2] ? ("" + b2).trim() : b2 + "px"; } function sb2(a2, b2) { a2 = a2.style; for (var c2 in b2) if (b2.hasOwnProperty(c2)) { var d = c2.indexOf("--") === 0, e2 = rb(c2, b2[c2], d); c2 === "float" && (c2 = "cssFloat"), d ? a2.setProperty(c2, e2) : a2[c2] = e2; } } 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(a2, b2) { if (b2) { if (tb[a2] && (b2.children != null || b2.dangerouslySetInnerHTML != null)) throw Error(p2(137, a2)); if (b2.dangerouslySetInnerHTML != null) { if (b2.children != null) throw Error(p2(60)); if (typeof b2.dangerouslySetInnerHTML != "object" || !("__html" in b2.dangerouslySetInnerHTML)) throw Error(p2(61)); } if (b2.style != null && typeof b2.style != "object") throw Error(p2(62)); } } function vb(a2, b2) { if (a2.indexOf("-") === -1) return typeof b2.is == "string"; switch (a2) { 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(a2) { return a2 = a2.target || a2.srcElement || window, a2.correspondingUseElement && (a2 = a2.correspondingUseElement), a2.nodeType === 3 ? a2.parentNode : a2; } var yb = null, zb = null, Ab = null; function Bb(a2) { if (a2 = Cb(a2)) { if (typeof yb != "function") throw Error(p2(280)); var b2 = a2.stateNode; b2 && (b2 = Db(b2), yb(a2.stateNode, a2.type, b2)); } } function Eb(a2) { zb ? Ab ? Ab.push(a2) : Ab = [a2] : zb = a2; } function Fb() { if (zb) { var a2 = zb, b2 = Ab; if (Ab = zb = null, Bb(a2), b2) for (a2 = 0; a2 < b2.length; a2++) Bb(b2[a2]); } } function Gb(a2, b2) { return a2(b2); } function Hb() { } var Ib = !1; function Jb(a2, b2, c2) { if (Ib) return a2(b2, c2); Ib = !0; try { return Gb(a2, b2, c2); } finally { Ib = !1, (zb !== null || Ab !== null) && (Hb(), Fb()); } } function Kb(a2, b2) { var c2 = a2.stateNode; if (c2 === null) return null; var d = Db(c2); if (d === null) return null; c2 = d[b2]; a: switch (b2) { 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) || (a2 = a2.type, d = !(a2 === "button" || a2 === "input" || a2 === "select" || a2 === "textarea")), a2 = !d; break a; default: a2 = !1; } if (a2) return null; if (c2 && typeof c2 != "function") throw Error(p2(231, b2, typeof c2)); return c2; } 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(a2, b2, c2, d, e2, f4, g2, h3, k2) { var l2 = Array.prototype.slice.call(arguments, 3); try { b2.apply(c2, l2); } catch (m3) { this.onError(m3); } } var Ob = !1, Pb = null, Qb = !1, Rb = null, Sb = { onError: function(a2) { Ob = !0, Pb = a2; } }; function Tb(a2, b2, c2, d, e2, f4, g2, h3, k2) { Ob = !1, Pb = null, Nb.apply(Sb, arguments); } function Ub(a2, b2, c2, d, e2, f4, g2, h3, k2) { if (Tb.apply(this, arguments), Ob) { if (Ob) { var l2 = Pb; Ob = !1, Pb = null; } else throw Error(p2(198)); Qb || (Qb = !0, Rb = l2); } } function Vb(a2) { var b2 = a2, c2 = a2; if (a2.alternate) for (; b2.return; ) b2 = b2.return; else { a2 = b2; do b2 = a2, (b2.flags & 4098) !== 0 && (c2 = b2.return), a2 = b2.return; while (a2); } return b2.tag === 3 ? c2 : null; } function Wb(a2) { if (a2.tag === 13) { var b2 = a2.memoizedState; if (b2 === null && (a2 = a2.alternate, a2 !== null && (b2 = a2.memoizedState)), b2 !== null) return b2.dehydrated; } return null; } function Xb(a2) { if (Vb(a2) !== a2) throw Error(p2(188)); } function Yb(a2) { var b2 = a2.alternate; if (!b2) { if (b2 = Vb(a2), b2 === null) throw Error(p2(188)); return b2 !== a2 ? null : a2; } for (var c2 = a2, d = b2; ; ) { var e2 = c2.return; if (e2 === null) break; var f4 = e2.alternate; if (f4 === null) { if (d = e2.return, d !== null) { c2 = d; continue; } break; } if (e2.child === f4.child) { for (f4 = e2.child; f4; ) { if (f4 === c2) return Xb(e2), a2; if (f4 === d) return Xb(e2), b2; f4 = f4.sibling; } throw Error(p2(188)); } if (c2.return !== d.return) c2 = e2, d = f4; else { for (var g2 = !1, h3 = e2.child; h3; ) { if (h3 === c2) { g2 = !0, c2 = e2, d = f4; break; } if (h3 === d) { g2 = !0, d = e2, c2 = f4; break; } h3 = h3.sibling; } if (!g2) { for (h3 = f4.child; h3; ) { if (h3 === c2) { g2 = !0, c2 = f4, d = e2; break; } if (h3 === d) { g2 = !0, d = f4, c2 = e2; break; } h3 = h3.sibling; } if (!g2) throw Error(p2(189)); } } if (c2.alternate !== d) throw Error(p2(190)); } if (c2.tag !== 3) throw Error(p2(188)); return c2.stateNode.current === c2 ? a2 : b2; } function Zb(a2) { return a2 = Yb(a2), a2 !== null ? $b(a2) : null; } function $b(a2) { if (a2.tag === 5 || a2.tag === 6) return a2; for (a2 = a2.child; a2 !== null; ) { var b2 = $b(a2); if (b2 !== null) return b2; a2 = a2.sibling; } return null; } var ac = ca.unstable_scheduleCallback, bc = ca.unstable_cancelCallback, cc = ca.unstable_shouldYield, dc = ca.unstable_requestPaint, B2 = 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(a2) { if (lc && typeof lc.onCommitFiberRoot == "function") try { lc.onCommitFiberRoot(kc, a2, void 0, (a2.current.flags & 128) === 128); } catch { } } var oc = Math.clz32 ? Math.clz32 : nc, pc = Math.log, qc = Math.LN2; function nc(a2) { return a2 >>>= 0, a2 === 0 ? 32 : 31 - (pc(a2) / qc | 0) | 0; } var rc = 64, sc = 4194304; function tc(a2) { switch (a2 & -a2) { 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 a2 & 4194240; case 4194304: case 8388608: case 16777216: case 33554432: case 67108864: return a2 & 130023424; case 134217728: return 134217728; case 268435456: return 268435456; case 536870912: return 536870912; case 1073741824: return 1073741824; default: return a2; } } function uc(a2, b2) { var c2 = a2.pendingLanes; if (c2 === 0) return 0; var d = 0, e2 = a2.suspendedLanes, f4 = a2.pingedLanes, g2 = c2 & 268435455; if (g2 !== 0) { var h3 = g2 & ~e2; h3 !== 0 ? d = tc(h3) : (f4 &= g2, f4 !== 0 && (d = tc(f4))); } else g2 = c2 & ~e2, g2 !== 0 ? d = tc(g2) : f4 !== 0 && (d = tc(f4)); if (d === 0) return 0; if (b2 !== 0 && b2 !== d && (b2 & e2) === 0 && (e2 = d & -d, f4 = b2 & -b2, e2 >= f4 || e2 === 16 && (f4 & 4194240) !== 0)) return b2; if ((d & 4) !== 0 && (d |= c2 & 16), b2 = a2.entangledLanes, b2 !== 0) for (a2 = a2.entanglements, b2 &= d; 0 < b2; ) c2 = 31 - oc(b2), e2 = 1 << c2, d |= a2[c2], b2 &= ~e2; return d; } function vc(a2, b2) { switch (a2) { case 1: case 2: case 4: return b2 + 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 b2 + 5e3; case 4194304: case 8388608: case 16777216: case 33554432: case