UNPKG

@graphql-yoga/graphiql

Version:

This the GraphiQL used by GraphQL Yoga. This package is currently not published to npm and only contains the React component `GraphQLYoga`.

1,630 lines • 2.07 MB
var WV = Object.defineProperty; var YV = (e, t, n) => t in e ? WV(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n; var tn = (e, t, n) => YV(e, typeof t != "symbol" ? t + "" : t, n); function QV(e, t) { for (var n = 0; n < t.length; n++) { const r = t[n]; if (typeof r != "string" && !Array.isArray(r)) { for (const i in r) if (i !== "default" && !(i in e)) { const o = Object.getOwnPropertyDescriptor(r, i); o && Object.defineProperty(e, i, o.get ? o : { enumerable: !0, get: () => r[i] }); } } } return Object.freeze(Object.defineProperty(e, Symbol.toStringTag, { value: "Module" })); } var iA = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}; function Jc(e) { return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e; } function sM(e) { if (Object.prototype.hasOwnProperty.call(e, "__esModule")) return e; var t = e.default; if (typeof t == "function") { var n = function r() { return this instanceof r ? Reflect.construct(t, arguments, this.constructor) : t.apply(this, arguments); }; n.prototype = t.prototype; } else n = {}; return Object.defineProperty(n, "__esModule", { value: !0 }), Object.keys(e).forEach(function(r) { var i = Object.getOwnPropertyDescriptor(e, r); Object.defineProperty(n, r, i.get ? i : { enumerable: !0, get: function() { return e[r]; } }); }), n; } var VE = { exports: {} }, pg = {}; /** * @license React * react-jsx-runtime.production.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ var oA; function KV() { if (oA) return pg; oA = 1; var e = Symbol.for("react.transitional.element"), t = Symbol.for("react.fragment"); function n(r, i, o) { var l = null; if (o !== void 0 && (l = "" + o), i.key !== void 0 && (l = "" + i.key), "key" in i) { o = {}; for (var c in i) c !== "key" && (o[c] = i[c]); } else o = i; return i = o.ref, { $$typeof: e, type: r, key: l, ref: i !== void 0 ? i : null, props: o }; } return pg.Fragment = t, pg.jsx = n, pg.jsxs = n, pg; } var aA; function XV() { return aA || (aA = 1, VE.exports = KV()), VE.exports; } var W = XV(), UE = { exports: {} }, Kt = {}; /** * @license React * react.production.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ var sA; function ZV() { if (sA) return Kt; sA = 1; var e = Symbol.for("react.transitional.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), o = Symbol.for("react.consumer"), l = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), p = Symbol.for("react.suspense"), d = Symbol.for("react.memo"), m = Symbol.for("react.lazy"), E = Symbol.iterator; function b(Z) { return Z === null || typeof Z != "object" ? null : (Z = E && Z[E] || Z["@@iterator"], typeof Z == "function" ? Z : null); } var y = { isMounted: function() { return !1; }, enqueueForceUpdate: function() { }, enqueueReplaceState: function() { }, enqueueSetState: function() { } }, x = Object.assign, w = {}; function k(Z, he, se) { this.props = Z, this.context = he, this.refs = w, this.updater = se || y; } k.prototype.isReactComponent = {}, k.prototype.setState = function(Z, he) { if (typeof Z != "object" && typeof Z != "function" && Z != null) throw Error( "takes an object of state variables to update or a function which returns an object of state variables." ); this.updater.enqueueSetState(this, Z, he, "setState"); }, k.prototype.forceUpdate = function(Z) { this.updater.enqueueForceUpdate(this, Z, "forceUpdate"); }; function N() { } N.prototype = k.prototype; function A(Z, he, se) { this.props = Z, this.context = he, this.refs = w, this.updater = se || y; } var O = A.prototype = new N(); O.constructor = A, x(O, k.prototype), O.isPureReactComponent = !0; var _ = Array.isArray, M = { H: null, A: null, T: null, S: null, V: null }, j = Object.prototype.hasOwnProperty; function P(Z, he, se, pe, ce, me) { return se = me.ref, { $$typeof: e, type: Z, key: he, ref: se !== void 0 ? se : null, props: me }; } function F(Z, he) { return P( Z.type, he, void 0, void 0, void 0, Z.props ); } function V(Z) { return typeof Z == "object" && Z !== null && Z.$$typeof === e; } function q(Z) { var he = { "=": "=0", ":": "=2" }; return "$" + Z.replace(/[=:]/g, function(se) { return he[se]; }); } var K = /\/+/g; function ee(Z, he) { return typeof Z == "object" && Z !== null && Z.key != null ? q("" + Z.key) : he.toString(36); } function J() { } function Y(Z) { switch (Z.status) { case "fulfilled": return Z.value; case "rejected": throw Z.reason; default: switch (typeof Z.status == "string" ? Z.then(J, J) : (Z.status = "pending", Z.then( function(he) { Z.status === "pending" && (Z.status = "fulfilled", Z.value = he); }, function(he) { Z.status === "pending" && (Z.status = "rejected", Z.reason = he); } )), Z.status) { case "fulfilled": return Z.value; case "rejected": throw Z.reason; } } throw Z; } function B(Z, he, se, pe, ce) { var me = typeof Z; (me === "undefined" || me === "boolean") && (Z = null); var Se = !1; if (Z === null) Se = !0; else switch (me) { case "bigint": case "string": case "number": Se = !0; break; case "object": switch (Z.$$typeof) { case e: case t: Se = !0; break; case m: return Se = Z._init, B( Se(Z._payload), he, se, pe, ce ); } } if (Se) return ce = ce(Z), Se = pe === "" ? "." + ee(Z, 0) : pe, _(ce) ? (se = "", Se != null && (se = Se.replace(K, "$&/") + "/"), B(ce, he, se, "", function(We) { return We; })) : ce != null && (V(ce) && (ce = F( ce, se + (ce.key == null || Z && Z.key === ce.key ? "" : ("" + ce.key).replace( K, "$&/" ) + "/") + Se )), he.push(ce)), 1; Se = 0; var Pe = pe === "" ? "." : pe + ":"; if (_(Z)) for (var Ge = 0; Ge < Z.length; Ge++) pe = Z[Ge], me = Pe + ee(pe, Ge), Se += B( pe, he, se, me, ce ); else if (Ge = b(Z), typeof Ge == "function") for (Z = Ge.call(Z), Ge = 0; !(pe = Z.next()).done; ) pe = pe.value, me = Pe + ee(pe, Ge++), Se += B( pe, he, se, me, ce ); else if (me === "object") { if (typeof Z.then == "function") return B( Y(Z), he, se, pe, ce ); throw he = String(Z), Error( "Objects are not valid as a React child (found: " + (he === "[object Object]" ? "object with keys {" + Object.keys(Z).join(", ") + "}" : he) + "). If you meant to render a collection of children, use an array instead." ); } return Se; } function te(Z, he, se) { if (Z == null) return Z; var pe = [], ce = 0; return B(Z, pe, "", "", function(me) { return he.call(se, me, ce++); }), pe; } function re(Z) { if (Z._status === -1) { var he = Z._result; he = he(), he.then( function(se) { (Z._status === 0 || Z._status === -1) && (Z._status = 1, Z._result = se); }, function(se) { (Z._status === 0 || Z._status === -1) && (Z._status = 2, Z._result = se); } ), Z._status === -1 && (Z._status = 0, Z._result = he); } if (Z._status === 1) return Z._result.default; throw Z._result; } var ae = typeof reportError == "function" ? reportError : function(Z) { if (typeof window == "object" && typeof window.ErrorEvent == "function") { var he = new window.ErrorEvent("error", { bubbles: !0, cancelable: !0, message: typeof Z == "object" && Z !== null && typeof Z.message == "string" ? String(Z.message) : String(Z), error: Z }); if (!window.dispatchEvent(he)) return; } else if (typeof process == "object" && typeof process.emit == "function") { process.emit("uncaughtException", Z); return; } console.error(Z); }; function fe() { } return Kt.Children = { map: te, forEach: function(Z, he, se) { te( Z, function() { he.apply(this, arguments); }, se ); }, count: function(Z) { var he = 0; return te(Z, function() { he++; }), he; }, toArray: function(Z) { return te(Z, function(he) { return he; }) || []; }, only: function(Z) { if (!V(Z)) throw Error( "React.Children.only expected to receive a single React element child." ); return Z; } }, Kt.Component = k, Kt.Fragment = n, Kt.Profiler = i, Kt.PureComponent = A, Kt.StrictMode = r, Kt.Suspense = p, Kt.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = M, Kt.__COMPILER_RUNTIME = { __proto__: null, c: function(Z) { return M.H.useMemoCache(Z); } }, Kt.cache = function(Z) { return function() { return Z.apply(null, arguments); }; }, Kt.cloneElement = function(Z, he, se) { if (Z == null) throw Error( "The argument must be a React element, but you passed " + Z + "." ); var pe = x({}, Z.props), ce = Z.key, me = void 0; if (he != null) for (Se in he.ref !== void 0 && (me = void 0), he.key !== void 0 && (ce = "" + he.key), he) !j.call(he, Se) || Se === "key" || Se === "__self" || Se === "__source" || Se === "ref" && he.ref === void 0 || (pe[Se] = he[Se]); var Se = arguments.length - 2; if (Se === 1) pe.children = se; else if (1 < Se) { for (var Pe = Array(Se), Ge = 0; Ge < Se; Ge++) Pe[Ge] = arguments[Ge + 2]; pe.children = Pe; } return P(Z.type, ce, void 0, void 0, me, pe); }, Kt.createContext = function(Z) { return Z = { $$typeof: l, _currentValue: Z, _currentValue2: Z, _threadCount: 0, Provider: null, Consumer: null }, Z.Provider = Z, Z.Consumer = { $$typeof: o, _context: Z }, Z; }, Kt.createElement = function(Z, he, se) { var pe, ce = {}, me = null; if (he != null) for (pe in he.key !== void 0 && (me = "" + he.key), he) j.call(he, pe) && pe !== "key" && pe !== "__self" && pe !== "__source" && (ce[pe] = he[pe]); var Se = arguments.length - 2; if (Se === 1) ce.children = se; else if (1 < Se) { for (var Pe = Array(Se), Ge = 0; Ge < Se; Ge++) Pe[Ge] = arguments[Ge + 2]; ce.children = Pe; } if (Z && Z.defaultProps) for (pe in Se = Z.defaultProps, Se) ce[pe] === void 0 && (ce[pe] = Se[pe]); return P(Z, me, void 0, void 0, null, ce); }, Kt.createRef = function() { return { current: null }; }, Kt.forwardRef = function(Z) { return { $$typeof: c, render: Z }; }, Kt.isValidElement = V, Kt.lazy = function(Z) { return { $$typeof: m, _payload: { _status: -1, _result: Z }, _init: re }; }, Kt.memo = function(Z, he) { return { $$typeof: d, type: Z, compare: he === void 0 ? null : he }; }, Kt.startTransition = function(Z) { var he = M.T, se = {}; M.T = se; try { var pe = Z(), ce = M.S; ce !== null && ce(se, pe), typeof pe == "object" && pe !== null && typeof pe.then == "function" && pe.then(fe, ae); } catch (me) { ae(me); } finally { M.T = he; } }, Kt.unstable_useCacheRefresh = function() { return M.H.useCacheRefresh(); }, Kt.use = function(Z) { return M.H.use(Z); }, Kt.useActionState = function(Z, he, se) { return M.H.useActionState(Z, he, se); }, Kt.useCallback = function(Z, he) { return M.H.useCallback(Z, he); }, Kt.useContext = function(Z) { return M.H.useContext(Z); }, Kt.useDebugValue = function() { }, Kt.useDeferredValue = function(Z, he) { return M.H.useDeferredValue(Z, he); }, Kt.useEffect = function(Z, he, se) { var pe = M.H; if (typeof se == "function") throw Error( "useEffect CRUD overload is not enabled in this build of React." ); return pe.useEffect(Z, he); }, Kt.useId = function() { return M.H.useId(); }, Kt.useImperativeHandle = function(Z, he, se) { return M.H.useImperativeHandle(Z, he, se); }, Kt.useInsertionEffect = function(Z, he) { return M.H.useInsertionEffect(Z, he); }, Kt.useLayoutEffect = function(Z, he) { return M.H.useLayoutEffect(Z, he); }, Kt.useMemo = function(Z, he) { return M.H.useMemo(Z, he); }, Kt.useOptimistic = function(Z, he) { return M.H.useOptimistic(Z, he); }, Kt.useReducer = function(Z, he, se) { return M.H.useReducer(Z, he, se); }, Kt.useRef = function(Z) { return M.H.useRef(Z); }, Kt.useState = function(Z) { return M.H.useState(Z); }, Kt.useSyncExternalStore = function(Z, he, se) { return M.H.useSyncExternalStore( Z, he, se ); }, Kt.useTransition = function() { return M.H.useTransition(); }, Kt.version = "19.1.0", Kt; } var lA; function $b() { return lA || (lA = 1, UE.exports = ZV()), UE.exports; } var L = $b(); const Ae = /* @__PURE__ */ Jc(L), F0 = /* @__PURE__ */ QV({ __proto__: null, default: Ae }, [L]); var BE = { exports: {} }, hg = {}, $E = { exports: {} }, qE = {}; /** * @license React * scheduler.production.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ var uA; function JV() { return uA || (uA = 1, function(e) { function t(te, re) { var ae = te.length; te.push(re); e: for (; 0 < ae; ) { var fe = ae - 1 >>> 1, Z = te[fe]; if (0 < i(Z, re)) te[fe] = re, te[ae] = Z, ae = fe; else break e; } } function n(te) { return te.length === 0 ? null : te[0]; } function r(te) { if (te.length === 0) return null; var re = te[0], ae = te.pop(); if (ae !== re) { te[0] = ae; e: for (var fe = 0, Z = te.length, he = Z >>> 1; fe < he; ) { var se = 2 * (fe + 1) - 1, pe = te[se], ce = se + 1, me = te[ce]; if (0 > i(pe, ae)) ce < Z && 0 > i(me, pe) ? (te[fe] = me, te[ce] = ae, fe = ce) : (te[fe] = pe, te[se] = ae, fe = se); else if (ce < Z && 0 > i(me, ae)) te[fe] = me, te[ce] = ae, fe = ce; else break e; } } return re; } function i(te, re) { var ae = te.sortIndex - re.sortIndex; return ae !== 0 ? ae : te.id - re.id; } if (e.unstable_now = void 0, typeof performance == "object" && typeof performance.now == "function") { var o = performance; e.unstable_now = function() { return o.now(); }; } else { var l = Date, c = l.now(); e.unstable_now = function() { return l.now() - c; }; } var p = [], d = [], m = 1, E = null, b = 3, y = !1, x = !1, w = !1, k = !1, N = typeof setTimeout == "function" ? setTimeout : null, A = typeof clearTimeout == "function" ? clearTimeout : null, O = typeof setImmediate < "u" ? setImmediate : null; function _(te) { for (var re = n(d); re !== null; ) { if (re.callback === null) r(d); else if (re.startTime <= te) r(d), re.sortIndex = re.expirationTime, t(p, re); else break; re = n(d); } } function M(te) { if (w = !1, _(te), !x) if (n(p) !== null) x = !0, j || (j = !0, ee()); else { var re = n(d); re !== null && B(M, re.startTime - te); } } var j = !1, P = -1, F = 5, V = -1; function q() { return k ? !0 : !(e.unstable_now() - V < F); } function K() { if (k = !1, j) { var te = e.unstable_now(); V = te; var re = !0; try { e: { x = !1, w && (w = !1, A(P), P = -1), y = !0; var ae = b; try { t: { for (_(te), E = n(p); E !== null && !(E.expirationTime > te && q()); ) { var fe = E.callback; if (typeof fe == "function") { E.callback = null, b = E.priorityLevel; var Z = fe( E.expirationTime <= te ); if (te = e.unstable_now(), typeof Z == "function") { E.callback = Z, _(te), re = !0; break t; } E === n(p) && r(p), _(te); } else r(p); E = n(p); } if (E !== null) re = !0; else { var he = n(d); he !== null && B( M, he.startTime - te ), re = !1; } } break e; } finally { E = null, b = ae, y = !1; } re = void 0; } } finally { re ? ee() : j = !1; } } } var ee; if (typeof O == "function") ee = function() { O(K); }; else if (typeof MessageChannel < "u") { var J = new MessageChannel(), Y = J.port2; J.port1.onmessage = K, ee = function() { Y.postMessage(null); }; } else ee = function() { N(K, 0); }; function B(te, re) { P = N(function() { te(e.unstable_now()); }, re); } 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(te) { te.callback = null; }, e.unstable_forceFrameRate = function(te) { 0 > te || 125 < te ? console.error( "forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported" ) : F = 0 < te ? Math.floor(1e3 / te) : 5; }, e.unstable_getCurrentPriorityLevel = function() { return b; }, e.unstable_next = function(te) { switch (b) { case 1: case 2: case 3: var re = 3; break; default: re = b; } var ae = b; b = re; try { return te(); } finally { b = ae; } }, e.unstable_requestPaint = function() { k = !0; }, e.unstable_runWithPriority = function(te, re) { switch (te) { case 1: case 2: case 3: case 4: case 5: break; default: te = 3; } var ae = b; b = te; try { return re(); } finally { b = ae; } }, e.unstable_scheduleCallback = function(te, re, ae) { var fe = e.unstable_now(); switch (typeof ae == "object" && ae !== null ? (ae = ae.delay, ae = typeof ae == "number" && 0 < ae ? fe + ae : fe) : ae = fe, te) { case 1: var Z = -1; break; case 2: Z = 250; break; case 5: Z = 1073741823; break; case 4: Z = 1e4; break; default: Z = 5e3; } return Z = ae + Z, te = { id: m++, callback: re, priorityLevel: te, startTime: ae, expirationTime: Z, sortIndex: -1 }, ae > fe ? (te.sortIndex = ae, t(d, te), n(p) === null && te === n(d) && (w ? (A(P), P = -1) : w = !0, B(M, ae - fe))) : (te.sortIndex = Z, t(p, te), x || y || (x = !0, j || (j = !0, ee()))), te; }, e.unstable_shouldYield = q, e.unstable_wrapCallback = function(te) { var re = b; return function() { var ae = b; b = re; try { return te.apply(this, arguments); } finally { b = ae; } }; }; }(qE)), qE; } var cA; function e6() { return cA || (cA = 1, $E.exports = JV()), $E.exports; } var zE = { exports: {} }, eo = {}; /** * @license React * react-dom.production.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ var fA; function t6() { if (fA) return eo; fA = 1; var e = $b(); function t(p) { var d = "https://react.dev/errors/" + p; if (1 < arguments.length) { d += "?args[]=" + encodeURIComponent(arguments[1]); for (var m = 2; m < arguments.length; m++) d += "&args[]=" + encodeURIComponent(arguments[m]); } return "Minified React error #" + p + "; visit " + d + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings."; } function n() { } var r = { d: { f: n, r: function() { throw Error(t(522)); }, D: n, C: n, L: n, m: n, X: n, S: n, M: n }, p: 0, findDOMNode: null }, i = Symbol.for("react.portal"); function o(p, d, m) { var E = 3 < arguments.length && arguments[3] !== void 0 ? arguments[3] : null; return { $$typeof: i, key: E == null ? null : "" + E, children: p, containerInfo: d, implementation: m }; } var l = e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE; function c(p, d) { if (p === "font") return ""; if (typeof d == "string") return d === "use-credentials" ? d : ""; } return eo.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = r, eo.createPortal = function(p, d) { var m = 2 < arguments.length && arguments[2] !== void 0 ? arguments[2] : null; if (!d || d.nodeType !== 1 && d.nodeType !== 9 && d.nodeType !== 11) throw Error(t(299)); return o(p, d, null, m); }, eo.flushSync = function(p) { var d = l.T, m = r.p; try { if (l.T = null, r.p = 2, p) return p(); } finally { l.T = d, r.p = m, r.d.f(); } }, eo.preconnect = function(p, d) { typeof p == "string" && (d ? (d = d.crossOrigin, d = typeof d == "string" ? d === "use-credentials" ? d : "" : void 0) : d = null, r.d.C(p, d)); }, eo.prefetchDNS = function(p) { typeof p == "string" && r.d.D(p); }, eo.preinit = function(p, d) { if (typeof p == "string" && d && typeof d.as == "string") { var m = d.as, E = c(m, d.crossOrigin), b = typeof d.integrity == "string" ? d.integrity : void 0, y = typeof d.fetchPriority == "string" ? d.fetchPriority : void 0; m === "style" ? r.d.S( p, typeof d.precedence == "string" ? d.precedence : void 0, { crossOrigin: E, integrity: b, fetchPriority: y } ) : m === "script" && r.d.X(p, { crossOrigin: E, integrity: b, fetchPriority: y, nonce: typeof d.nonce == "string" ? d.nonce : void 0 }); } }, eo.preinitModule = function(p, d) { if (typeof p == "string") if (typeof d == "object" && d !== null) { if (d.as == null || d.as === "script") { var m = c( d.as, d.crossOrigin ); r.d.M(p, { crossOrigin: m, integrity: typeof d.integrity == "string" ? d.integrity : void 0, nonce: typeof d.nonce == "string" ? d.nonce : void 0 }); } } else d == null && r.d.M(p); }, eo.preload = function(p, d) { if (typeof p == "string" && typeof d == "object" && d !== null && typeof d.as == "string") { var m = d.as, E = c(m, d.crossOrigin); r.d.L(p, m, { crossOrigin: E, integrity: typeof d.integrity == "string" ? d.integrity : void 0, nonce: typeof d.nonce == "string" ? d.nonce : void 0, type: typeof d.type == "string" ? d.type : void 0, fetchPriority: typeof d.fetchPriority == "string" ? d.fetchPriority : void 0, referrerPolicy: typeof d.referrerPolicy == "string" ? d.referrerPolicy : void 0, imageSrcSet: typeof d.imageSrcSet == "string" ? d.imageSrcSet : void 0, imageSizes: typeof d.imageSizes == "string" ? d.imageSizes : void 0, media: typeof d.media == "string" ? d.media : void 0 }); } }, eo.preloadModule = function(p, d) { if (typeof p == "string") if (d) { var m = c(d.as, d.crossOrigin); r.d.m(p, { as: typeof d.as == "string" && d.as !== "script" ? d.as : void 0, crossOrigin: m, integrity: typeof d.integrity == "string" ? d.integrity : void 0 }); } else r.d.m(p); }, eo.requestFormReset = function(p) { r.d.r(p); }, eo.unstable_batchedUpdates = function(p, d) { return p(d); }, eo.useFormState = function(p, d, m) { return l.H.useFormState(p, d, m); }, eo.useFormStatus = function() { return l.H.useHostTransitionStatus(); }, eo.version = "19.1.0", eo; } var dA; function lM() { if (dA) return zE.exports; dA = 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(), zE.exports = t6(), zE.exports; } /** * @license React * react-dom-client.production.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ var pA; function n6() { if (pA) return hg; pA = 1; var e = e6(), t = $b(), n = lM(); function r(a) { var u = "https://react.dev/errors/" + a; if (1 < arguments.length) { u += "?args[]=" + encodeURIComponent(arguments[1]); for (var h = 2; h < arguments.length; h++) u += "&args[]=" + encodeURIComponent(arguments[h]); } return "Minified React error #" + a + "; visit " + u + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings."; } function i(a) { return !(!a || a.nodeType !== 1 && a.nodeType !== 9 && a.nodeType !== 11); } function o(a) { var u = a, h = a; if (a.alternate) for (; u.return; ) u = u.return; else { a = u; do u = a, (u.flags & 4098) !== 0 && (h = u.return), a = u.return; while (a); } return u.tag === 3 ? h : null; } function l(a) { if (a.tag === 13) { var u = a.memoizedState; if (u === null && (a = a.alternate, a !== null && (u = a.memoizedState)), u !== null) return u.dehydrated; } return null; } function c(a) { if (o(a) !== a) throw Error(r(188)); } function p(a) { var u = a.alternate; if (!u) { if (u = o(a), u === null) throw Error(r(188)); return u !== a ? null : a; } for (var h = a, S = u; ; ) { var C = h.return; if (C === null) break; var R = C.alternate; if (R === null) { if (S = C.return, S !== null) { h = S; continue; } break; } if (C.child === R.child) { for (R = C.child; R; ) { if (R === h) return c(C), a; if (R === S) return c(C), u; R = R.sibling; } throw Error(r(188)); } if (h.return !== S.return) h = C, S = R; else { for (var G = !1, ne = C.child; ne; ) { if (ne === h) { G = !0, h = C, S = R; break; } if (ne === S) { G = !0, S = C, h = R; break; } ne = ne.sibling; } if (!G) { for (ne = R.child; ne; ) { if (ne === h) { G = !0, h = R, S = C; break; } if (ne === S) { G = !0, S = R, h = C; break; } ne = ne.sibling; } if (!G) throw Error(r(189)); } } if (h.alternate !== S) throw Error(r(190)); } if (h.tag !== 3) throw Error(r(188)); return h.stateNode.current === h ? a : u; } function d(a) { var u = a.tag; if (u === 5 || u === 26 || u === 27 || u === 6) return a; for (a = a.child; a !== null; ) { if (u = d(a), u !== null) return u; a = a.sibling; } return null; } var m = Object.assign, E = Symbol.for("react.element"), b = Symbol.for("react.transitional.element"), y = Symbol.for("react.portal"), x = Symbol.for("react.fragment"), w = Symbol.for("react.strict_mode"), k = Symbol.for("react.profiler"), N = Symbol.for("react.provider"), A = Symbol.for("react.consumer"), O = Symbol.for("react.context"), _ = Symbol.for("react.forward_ref"), M = Symbol.for("react.suspense"), j = Symbol.for("react.suspense_list"), P = Symbol.for("react.memo"), F = Symbol.for("react.lazy"), V = Symbol.for("react.activity"), q = Symbol.for("react.memo_cache_sentinel"), K = Symbol.iterator; function ee(a) { return a === null || typeof a != "object" ? null : (a = K && a[K] || a["@@iterator"], typeof a == "function" ? a : null); } var J = Symbol.for("react.client.reference"); function Y(a) { if (a == null) return null; if (typeof a == "function") return a.$$typeof === J ? null : a.displayName || a.name || null; if (typeof a == "string") return a; switch (a) { case x: return "Fragment"; case k: return "Profiler"; case w: return "StrictMode"; case M: return "Suspense"; case j: return "SuspenseList"; case V: return "Activity"; } if (typeof a == "object") switch (a.$$typeof) { case y: return "Portal"; case O: return (a.displayName || "Context") + ".Provider"; case A: return (a._context.displayName || "Context") + ".Consumer"; case _: var u = a.render; return a = a.displayName, a || (a = u.displayName || u.name || "", a = a !== "" ? "ForwardRef(" + a + ")" : "ForwardRef"), a; case P: return u = a.displayName || null, u !== null ? u : Y(a.type) || "Memo"; case F: u = a._payload, a = a._init; try { return Y(a(u)); } catch { } } return null; } var B = Array.isArray, te = t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, re = n.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, ae = { pending: !1, data: null, method: null, action: null }, fe = [], Z = -1; function he(a) { return { current: a }; } function se(a) { 0 > Z || (a.current = fe[Z], fe[Z] = null, Z--); } function pe(a, u) { Z++, fe[Z] = a.current, a.current = u; } var ce = he(null), me = he(null), Se = he(null), Pe = he(null); function Ge(a, u) { switch (pe(Se, u), pe(me, a), pe(ce, null), u.nodeType) { case 9: case 11: a = (a = u.documentElement) && (a = a.namespaceURI) ? RN(a) : 0; break; default: if (a = u.tagName, u = u.namespaceURI) u = RN(u), a = MN(u, a); else switch (a) { case "svg": a = 1; break; case "math": a = 2; break; default: a = 0; } } se(ce), pe(ce, a); } function We() { se(ce), se(me), se(Se); } function Ot(a) { a.memoizedState !== null && pe(Pe, a); var u = ce.current, h = MN(u, a.type); u !== h && (pe(me, a), pe(ce, h)); } function gt(a) { me.current === a && (se(ce), se(me)), Pe.current === a && (se(Pe), lg._currentValue = ae); } var ot = Object.prototype.hasOwnProperty, Oe = e.unstable_scheduleCallback, ye = e.unstable_cancelCallback, Le = e.unstable_shouldYield, be = e.unstable_requestPaint, oe = e.unstable_now, Fe = e.unstable_getCurrentPriorityLevel, Je = e.unstable_ImmediatePriority, ct = e.unstable_UserBlockingPriority, Ye = e.unstable_NormalPriority, xe = e.unstable_LowPriority, qe = e.unstable_IdlePriority, nt = e.log, ht = e.unstable_setDisableYieldValue, Dt = null, Pt = null; function dt(a) { if (typeof nt == "function" && ht(a), Pt && typeof Pt.setStrictMode == "function") try { Pt.setStrictMode(Dt, a); } catch { } } var bt = Math.clz32 ? Math.clz32 : jt, pt = Math.log, Wt = Math.LN2; function jt(a) { return a >>>= 0, a === 0 ? 32 : 31 - (pt(a) / Wt | 0) | 0; } var Zt = 256, at = 4194304; function Bn(a) { var u = a & 42; if (u !== 0) return u; switch (a & -a) { 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: return 64; case 128: return 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 a & 4194048; case 4194304: case 8388608: case 16777216: case 33554432: return a & 62914560; case 67108864: return 67108864; case 134217728: return 134217728; case 268435456: return 268435456; case 536870912: return 536870912; case 1073741824: return 0; default: return a; } } function hn(a, u, h) { var S = a.pendingLanes; if (S === 0) return 0; var C = 0, R = a.suspendedLanes, G = a.pingedLanes; a = a.warmLanes; var ne = S & 134217727; return ne !== 0 ? (S = ne & ~R, S !== 0 ? C = Bn(S) : (G &= ne, G !== 0 ? C = Bn(G) : h || (h = ne & ~a, h !== 0 && (C = Bn(h))))) : (ne = S & ~R, ne !== 0 ? C = Bn(ne) : G !== 0 ? C = Bn(G) : h || (h = S & ~a, h !== 0 && (C = Bn(h)))), C === 0 ? 0 : u !== 0 && u !== C && (u & R) === 0 && (R = C & -C, h = u & -u, R >= h || R === 32 && (h & 4194048) !== 0) ? u : C; } function mt(a, u) { return (a.pendingLanes & ~(a.suspendedLanes & ~a.pingedLanes) & u) === 0; } function mn(a, u) { switch (a) { case 1: case 2: case 4: case 8: case 64: return u + 250; case 16: case 32: 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 u + 5e3; case 4194304: case 8388608: case 16777216: case 33554432: return -1; case 67108864: case 134217728: case 268435456: case 536870912: case 1073741824: return -1; default: return -1; } } function oi() { var a = Zt; return Zt <<= 1, (Zt & 4194048) === 0 && (Zt = 256), a; } function rn() { var a = at; return at <<= 1, (at & 62914560) === 0 && (at = 4194304), a; } function Rr(a) { for (var u = [], h = 0; 31 > h; h++) u.push(a); return u; } function Nn(a, u) { a.pendingLanes |= u, u !== 268435456 && (a.suspendedLanes = 0, a.pingedLanes = 0, a.warmLanes = 0); } function Hi(a, u, h, S, C, R) { var G = a.pendingLanes; a.pendingLanes = h, a.suspendedLanes = 0, a.pingedLanes = 0, a.warmLanes = 0, a.expiredLanes &= h, a.entangledLanes &= h, a.errorRecoveryDisabledLanes &= h, a.shellSuspendCounter = 0; var ne = a.entanglements, de = a.expirationTimes, _e = a.hiddenUpdates; for (h = G & ~h; 0 < h; ) { var Ue = 31 - bt(h), He = 1 << Ue; ne[Ue] = 0, de[Ue] = -1; var De = _e[Ue]; if (De !== null) for (_e[Ue] = null, Ue = 0; Ue < De.length; Ue++) { var Re = De[Ue]; Re !== null && (Re.lane &= -536870913); } h &= ~He; } S !== 0 && wt(a, S, 0), R !== 0 && C === 0 && a.tag !== 0 && (a.suspendedLanes |= R & ~(G & ~u)); } function wt(a, u, h) { a.pendingLanes |= u, a.suspendedLanes &= ~u; var S = 31 - bt(u); a.entangledLanes |= u, a.entanglements[S] = a.entanglements[S] | 1073741824 | h & 4194090; } function Bt(a, u) { var h = a.entangledLanes |= u; for (a = a.entanglements; h; ) { var S = 31 - bt(h), C = 1 << S; C & u | a[S] & u && (a[S] |= u), h &= ~C; } } function un(a) { switch (a) { case 2: a = 1; break; case 8: a = 4; break; case 32: a = 16; break; 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: a = 128; break; case 268435456: a = 134217728; break; default: a = 0; } return a; } function Rn(a) { return a &= -a, 2 < a ? 8 < a ? (a & 134217727) !== 0 ? 32 : 268435456 : 8 : 2; } function Zn() { var a = re.p; return a !== 0 ? a : (a = window.event, a === void 0 ? 32 : ZN(a.type)); } function It(a, u) { var h = re.p; try { return re.p = a, u(); } finally { re.p = h; } } var cn = Math.random().toString(36).slice(2), Gt = "__reactFiber$" + cn, En = "__reactProps$" + cn, Oi = "__reactContainer$" + cn, Bo = "__reactEvents$" + cn, $o = "__reactListeners$" + cn, xo = "__reactHandles$" + cn, yr = "__reactResources$" + cn, $n = "__reactMarker$" + cn; function Mr(a) { delete a[Gt], delete a[En], delete a[Bo], delete a[$o], delete a[xo]; } function Di(a) { var u = a[Gt]; if (u) return u; for (var h = a.parentNode; h; ) { if (u = h[Oi] || h[Gt]) { if (h = u.alternate, u.child !== null || h !== null && h.child !== null) for (a = PN(a); a !== null; ) { if (h = a[Gt]) return h; a = PN(a); } return u; } a = h, h = a.parentNode; } return null; } function Ur(a) { if (a = a[Gt] || a[Oi]) { var u = a.tag; if (u === 5 || u === 6 || u === 13 || u === 26 || u === 27 || u === 3) return a; } return null; } function wo(a) { var u = a.tag; if (u === 5 || u === 26 || u === 27 || u === 6) return a.stateNode; throw Error(r(33)); } function so(a) { var u = a[yr]; return u || (u = a[yr] = { hoistableStyles: /* @__PURE__ */ new Map(), hoistableScripts: /* @__PURE__ */ new Map() }), u; } function Mn(a) { a[$n] = !0; } var Gi = /* @__PURE__ */ new Set(), ki = {}; function lo(a, u) { Co(a, u), Co(a + "Capture", u); } function Co(a, u) { for (ki[a] = u, a = 0; a < u.length; a++) Gi.add(u[a]); } var Jn = RegExp( "^[: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]*$" ), ft = {}, uo = {}; function Dl(a) { return ot.call(uo, a) ? !0 : ot.call(ft, a) ? !1 : Jn.test(a) ? uo[a] = !0 : (ft[a] = !0, !1); } function Br(a, u, h) { if (Dl(u)) if (h === null) a.removeAttribute(u); else { switch (typeof h) { case "undefined": case "function": case "symbol": a.removeAttribute(u); return; case "boolean": var S = u.toLowerCase().slice(0, 5); if (S !== "data-" && S !== "aria-") { a.removeAttribute(u); return; } } a.setAttribute(u, "" + h); } } function on(a, u, h) { if (h === null) a.removeAttribute(u); else { switch (typeof h) { case "undefined": case "function": case "symbol": case "boolean": a.removeAttribute(u); return; } a.setAttribute(u, "" + h); } } function Lr(a, u, h, S) { if (S === null) a.removeAttribute(h); else { switch (typeof S) { case "undefined": case "function": case "symbol": case "boolean": a.removeAttribute(h); return; } a.setAttributeNS(u, h, "" + S); } } var qo, Vs; function ze(a) { if (qo === void 0) try { throw Error(); } catch (h) { var u = h.stack.trim().match(/\n( *(at )?)/); qo = u && u[1] || "", Vs = -1 < h.stack.indexOf(` at`) ? " (<anonymous>)" : -1 < h.stack.indexOf("@") ? "@unknown:0:0" : ""; } return ` ` + qo + a + Vs; } var Q = !1; function ue(a, u) { if (!a || Q) return ""; Q = !0; var h = Error.prepareStackTrace; Error.prepareStackTrace = void 0; try { var S = { DetermineComponentFrameRoot: function() { try { if (u) { var He = function() { throw Error(); }; if (Object.defineProperty(He.prototype, "props", { set: function() { throw Error(); } }), typeof Reflect == "object" && Reflect.construct) { try { Reflect.construct(He, []); } catch (Re) { var De = Re; } Reflect.construct(a, [], He); } else { try { He.call(); } catch (Re) { De = Re; } a.call(He.prototype); } } else { try { throw Error(); } catch (Re) { De = Re; } (He = a()) && typeof He.catch == "function" && He.catch(function() { }); } } catch (Re) { if (Re && De && typeof Re.stack == "string") return [Re.stack, De.stack]; } return [null, null]; } }; S.DetermineComponentFrameRoot.displayName = "DetermineComponentFrameRoot"; var C = Object.getOwnPropertyDescriptor( S.DetermineComponentFrameRoot, "name" ); C && C.configurable && Object.defineProperty( S.DetermineComponentFrameRoot, "name", { value: "DetermineComponentFrameRoot" } ); var R = S.DetermineComponentFrameRoot(), G = R[0], ne = R[1]; if (G && ne) { var de = G.split(` `), _e = ne.split(` `); for (C = S = 0; S < de.length && !de[S].includes("DetermineComponentFrameRoot"); ) S++; for (; C < _e.length && !_e[C].includes( "DetermineComponentFrameRoot" ); ) C++; if (S === de.length || C === _e.length) for (S = de.length - 1, C = _e.length - 1; 1 <= S && 0 <= C && de[S] !== _e[C]; ) C--; for (; 1 <= S && 0 <= C; S--, C--) if (de[S] !== _e[C]) { if (S !== 1 || C !== 1) do if (S--, C--, 0 > C || de[S] !== _e[C]) { var Ue = ` ` + de[S].replace(" at new ", " at "); return a.displayName && Ue.includes("<anonymous>") && (Ue = Ue.replace("<anonymous>", a.displayName)), Ue; } while (1 <= S && 0 <= C); break; } } } finally { Q = !1, Error.prepareStackTrace = h; } return (h = a ? a.displayName || a.name : "") ? ze(h) : ""; } function Ie(a) { switch (a.tag) { case 26: case 27: case 5: return ze(a.type); case 16: return ze("Lazy"); case 13: return ze("Suspense"); case 19: return ze("SuspenseList"); case 0: case 15: return ue(a.type, !1); case 11: return ue(a.type.render, !1); case 1: return ue(a.type, !0); case 31: return ze("Activity"); default: return ""; } } function Qe(a) { try { var u = ""; do u += Ie(a), a = a.return; while (a); return u; } catch (h) { return ` Error generating stack: ` + h.message + ` ` + h.stack; } } function Et(a) { switch (typeof a) { case "bigint": case "boolean": case "number": case "string": case "undefined": return a; case "object": return a; default: return ""; } } function Jt(a) { var u = a.type; return (a = a.nodeName) && a.toLowerCase() === "input" && (u === "checkbox" || u === "radio"); } function st(a) { var u = Jt(a) ? "checked" : "value", h = Object.getOwnPropertyDescriptor( a.constructor.prototype, u ), S = "" + a[u]; if (!a.hasOwnProperty(u) && typeof h < "u" && typeof h.get == "function" && typeof h.set == "function") { var C = h.get, R = h.set; return Object.defineProperty(a, u, { configurable: !0, get: function() { return C.call(this); }, set: function(G) { S = "" + G, R.call(this, G); } }), Object.defineProperty(a, u, { enumerable: h.enumerable }), { getValue: function() { return S; }, setValue: function(G) { S = "" + G; }, stopTracking: function() { a._valueTracker = null, delete a[u]; } }; } } function wr(a) { a._valueTracker || (a._valueTracker = st(a)); } function Ri(a) { if (!a) return !1; var u = a._valueTracker; if (!u) return !0; var h = u.getValue(), S = ""; return a && (S = Jt(a) ? a.checked ? "true" : "false" : a.value), a = S, a !== h ? (u.setValue(a), !0) : !1; } function Ja(a) { if (a = a || (typeof document < "u" ? document : void 0), typeof a > "u") return null; try { return a.activeElement || a.body; } catch { return a.body; } } var ga = /[\n"\\]/g; function Wi(a) { return a.replace( ga, function(u) { return "\\" + u.charCodeAt(0).toString(16) + " "; } ); } function df(a, u, h, S, C, R, G, ne) { a.name = "", G != null && typeof G != "function" && typeof G != "symbol" && typeof G != "boolean" ? a.type = G : a.removeAttribute("type"), u != null ? G === "number" ? (u === 0 && a.value === "" || a.value != u) && (a.value = "" + Et(u)) : a.value !== "" + Et(u) && (a.value = "" + Et(u)) : G !== "submit" && G !== "reset" || a.removeAttribute("value"), u != null ? ku(a, G, Et(u)) : h != null ? ku(a, G, Et(h)) : S != null && a.removeAttribute("value"), C == null && R != null && (a.defaultChecked = !!R), C != null && (a.checked = C && typeof C != "function" && typeof C != "symbol"), ne != null && typeof ne != "function" && typeof ne != "symbol" && typeof ne != "boolean" ? a.name = "" + Et(ne) : a.removeAttribute("name"); } function kl(a, u, h, S, C, R, G, ne) { if (R != null && typeof R != "function" && typeof R != "symbol" && typeof R != "boolean" && (a.type = R), u != null || h != null) { if (!(R !== "submit" && R !== "reset" || u != null)) return; h = h != null ? "" + Et(h) : "", u = u != null ? "" + Et(u) : h, ne || u === a.value || (a.value = u), a.defaultValue = u; } S = S ?? C, S = typeof S != "function" && typeof S != "symbol" && !!S, a.checked = ne ? a.checked : !!S, a.defaultChecked = !!S, G != null && typeof G != "function" && typeof G != "symbol" && typeof G != "boolean" && (a.name = G); } function ku(a, u, h) { u === "number" && Ja(a.ownerDocument) === a || a.defaultValue === "" + h || (a.defaultValue = "" + h); } function Us(a, u, h, S) { if (a = a.options, u) { u = {}; for (var C = 0; C < h.length; C++) u["$" + h[C]] = !0; for (h = 0; h < a.length; h++) C = u.hasOwnProperty("$" + a[h].value), a[h].selected !== C && (a[h].selected = C), C && S && (a[h].defaultSelected = !0); } else { for (h = "" + Et(h), u = null, C = 0; C < a.length; C++) { if (a[C].value === h) { a[C].selected = !0, S && (a[C].defaultSelected = !0); return; } u !== null || a