@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,638 lines • 2.06 MB
JavaScript
function XV(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 nA = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
function Zc(e) {
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
}
function aM(e) {
if (Object.prototype.hasOwnProperty.call(e, "__esModule")) return e;
var t = e.default;
if (typeof t == "function") {
var n = function r() {
var i = !1;
try {
i = this instanceof r;
} catch {
}
return i ? 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 UE = { exports: {} }, dg = {};
/**
* @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 rA;
function KV() {
if (rA) return dg;
rA = 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 dg.Fragment = t, dg.jsx = n, dg.jsxs = n, dg;
}
var iA;
function ZV() {
return iA || (iA = 1, UE.exports = KV()), UE.exports;
}
var W = ZV(), BE = { exports: {} }, Xt = {};
/**
* @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 oA;
function JV() {
if (oA) return Xt;
oA = 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"), b = Symbol.iterator;
function E(Z) {
return Z === null || typeof Z != "object" ? null : (Z = b && Z[b] || 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, ge, ae) {
this.props = Z, this.context = ge, this.refs = w, this.updater = ae || y;
}
k.prototype.isReactComponent = {}, k.prototype.setState = function(Z, ge) {
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, ge, "setState");
}, k.prototype.forceUpdate = function(Z) {
this.updater.enqueueForceUpdate(this, Z, "forceUpdate");
};
function N() {
}
N.prototype = k.prototype;
function D(Z, ge, ae) {
this.props = Z, this.context = ge, this.refs = w, this.updater = ae || y;
}
var A = D.prototype = new N();
A.constructor = D, x(A, k.prototype), A.isPureReactComponent = !0;
var _ = Array.isArray, L = { H: null, A: null, T: null, S: null, V: null }, V = Object.prototype.hasOwnProperty;
function P(Z, ge, ae, pe, ce, he) {
return ae = he.ref, {
$$typeof: e,
type: Z,
key: ge,
ref: ae !== void 0 ? ae : null,
props: he
};
}
function F(Z, ge) {
return P(
Z.type,
ge,
void 0,
void 0,
void 0,
Z.props
);
}
function j(Z) {
return typeof Z == "object" && Z !== null && Z.$$typeof === e;
}
function q(Z) {
var ge = { "=": "=0", ":": "=2" };
return "$" + Z.replace(/[=:]/g, function(ae) {
return ge[ae];
});
}
var K = /\/+/g;
function J(Z, ge) {
return typeof Z == "object" && Z !== null && Z.key != null ? q("" + Z.key) : ge.toString(36);
}
function ee() {
}
function X(Z) {
switch (Z.status) {
case "fulfilled":
return Z.value;
case "rejected":
throw Z.reason;
default:
switch (typeof Z.status == "string" ? Z.then(ee, ee) : (Z.status = "pending", Z.then(
function(ge) {
Z.status === "pending" && (Z.status = "fulfilled", Z.value = ge);
},
function(ge) {
Z.status === "pending" && (Z.status = "rejected", Z.reason = ge);
}
)), Z.status) {
case "fulfilled":
return Z.value;
case "rejected":
throw Z.reason;
}
}
throw Z;
}
function $(Z, ge, ae, pe, ce) {
var he = typeof Z;
(he === "undefined" || he === "boolean") && (Z = null);
var Se = !1;
if (Z === null) Se = !0;
else
switch (he) {
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, $(
Se(Z._payload),
ge,
ae,
pe,
ce
);
}
}
if (Se)
return ce = ce(Z), Se = pe === "" ? "." + J(Z, 0) : pe, _(ce) ? (ae = "", Se != null && (ae = Se.replace(K, "$&/") + "/"), $(ce, ge, ae, "", function(Ke) {
return Ke;
})) : ce != null && (j(ce) && (ce = F(
ce,
ae + (ce.key == null || Z && Z.key === ce.key ? "" : ("" + ce.key).replace(
K,
"$&/"
) + "/") + Se
)), ge.push(ce)), 1;
Se = 0;
var Ie = pe === "" ? "." : pe + ":";
if (_(Z))
for (var Ge = 0; Ge < Z.length; Ge++)
pe = Z[Ge], he = Ie + J(pe, Ge), Se += $(
pe,
ge,
ae,
he,
ce
);
else if (Ge = E(Z), typeof Ge == "function")
for (Z = Ge.call(Z), Ge = 0; !(pe = Z.next()).done; )
pe = pe.value, he = Ie + J(pe, Ge++), Se += $(
pe,
ge,
ae,
he,
ce
);
else if (he === "object") {
if (typeof Z.then == "function")
return $(
X(Z),
ge,
ae,
pe,
ce
);
throw ge = String(Z), Error(
"Objects are not valid as a React child (found: " + (ge === "[object Object]" ? "object with keys {" + Object.keys(Z).join(", ") + "}" : ge) + "). If you meant to render a collection of children, use an array instead."
);
}
return Se;
}
function ne(Z, ge, ae) {
if (Z == null) return Z;
var pe = [], ce = 0;
return $(Z, pe, "", "", function(he) {
return ge.call(ae, he, ce++);
}), pe;
}
function re(Z) {
if (Z._status === -1) {
var ge = Z._result;
ge = ge(), ge.then(
function(ae) {
(Z._status === 0 || Z._status === -1) && (Z._status = 1, Z._result = ae);
},
function(ae) {
(Z._status === 0 || Z._status === -1) && (Z._status = 2, Z._result = ae);
}
), Z._status === -1 && (Z._status = 0, Z._result = ge);
}
if (Z._status === 1) return Z._result.default;
throw Z._result;
}
var se = typeof reportError == "function" ? reportError : function(Z) {
if (typeof window == "object" && typeof window.ErrorEvent == "function") {
var ge = 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(ge)) return;
} else if (typeof process == "object" && typeof process.emit == "function") {
process.emit("uncaughtException", Z);
return;
}
console.error(Z);
};
function fe() {
}
return Xt.Children = {
map: ne,
forEach: function(Z, ge, ae) {
ne(
Z,
function() {
ge.apply(this, arguments);
},
ae
);
},
count: function(Z) {
var ge = 0;
return ne(Z, function() {
ge++;
}), ge;
},
toArray: function(Z) {
return ne(Z, function(ge) {
return ge;
}) || [];
},
only: function(Z) {
if (!j(Z))
throw Error(
"React.Children.only expected to receive a single React element child."
);
return Z;
}
}, Xt.Component = k, Xt.Fragment = n, Xt.Profiler = i, Xt.PureComponent = D, Xt.StrictMode = r, Xt.Suspense = p, Xt.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = L, Xt.__COMPILER_RUNTIME = {
__proto__: null,
c: function(Z) {
return L.H.useMemoCache(Z);
}
}, Xt.cache = function(Z) {
return function() {
return Z.apply(null, arguments);
};
}, Xt.cloneElement = function(Z, ge, ae) {
if (Z == null)
throw Error(
"The argument must be a React element, but you passed " + Z + "."
);
var pe = x({}, Z.props), ce = Z.key, he = void 0;
if (ge != null)
for (Se in ge.ref !== void 0 && (he = void 0), ge.key !== void 0 && (ce = "" + ge.key), ge)
!V.call(ge, Se) || Se === "key" || Se === "__self" || Se === "__source" || Se === "ref" && ge.ref === void 0 || (pe[Se] = ge[Se]);
var Se = arguments.length - 2;
if (Se === 1) pe.children = ae;
else if (1 < Se) {
for (var Ie = Array(Se), Ge = 0; Ge < Se; Ge++)
Ie[Ge] = arguments[Ge + 2];
pe.children = Ie;
}
return P(Z.type, ce, void 0, void 0, he, pe);
}, Xt.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;
}, Xt.createElement = function(Z, ge, ae) {
var pe, ce = {}, he = null;
if (ge != null)
for (pe in ge.key !== void 0 && (he = "" + ge.key), ge)
V.call(ge, pe) && pe !== "key" && pe !== "__self" && pe !== "__source" && (ce[pe] = ge[pe]);
var Se = arguments.length - 2;
if (Se === 1) ce.children = ae;
else if (1 < Se) {
for (var Ie = Array(Se), Ge = 0; Ge < Se; Ge++)
Ie[Ge] = arguments[Ge + 2];
ce.children = Ie;
}
if (Z && Z.defaultProps)
for (pe in Se = Z.defaultProps, Se)
ce[pe] === void 0 && (ce[pe] = Se[pe]);
return P(Z, he, void 0, void 0, null, ce);
}, Xt.createRef = function() {
return { current: null };
}, Xt.forwardRef = function(Z) {
return { $$typeof: c, render: Z };
}, Xt.isValidElement = j, Xt.lazy = function(Z) {
return {
$$typeof: m,
_payload: { _status: -1, _result: Z },
_init: re
};
}, Xt.memo = function(Z, ge) {
return {
$$typeof: d,
type: Z,
compare: ge === void 0 ? null : ge
};
}, Xt.startTransition = function(Z) {
var ge = L.T, ae = {};
L.T = ae;
try {
var pe = Z(), ce = L.S;
ce !== null && ce(ae, pe), typeof pe == "object" && pe !== null && typeof pe.then == "function" && pe.then(fe, se);
} catch (he) {
se(he);
} finally {
L.T = ge;
}
}, Xt.unstable_useCacheRefresh = function() {
return L.H.useCacheRefresh();
}, Xt.use = function(Z) {
return L.H.use(Z);
}, Xt.useActionState = function(Z, ge, ae) {
return L.H.useActionState(Z, ge, ae);
}, Xt.useCallback = function(Z, ge) {
return L.H.useCallback(Z, ge);
}, Xt.useContext = function(Z) {
return L.H.useContext(Z);
}, Xt.useDebugValue = function() {
}, Xt.useDeferredValue = function(Z, ge) {
return L.H.useDeferredValue(Z, ge);
}, Xt.useEffect = function(Z, ge, ae) {
var pe = L.H;
if (typeof ae == "function")
throw Error(
"useEffect CRUD overload is not enabled in this build of React."
);
return pe.useEffect(Z, ge);
}, Xt.useId = function() {
return L.H.useId();
}, Xt.useImperativeHandle = function(Z, ge, ae) {
return L.H.useImperativeHandle(Z, ge, ae);
}, Xt.useInsertionEffect = function(Z, ge) {
return L.H.useInsertionEffect(Z, ge);
}, Xt.useLayoutEffect = function(Z, ge) {
return L.H.useLayoutEffect(Z, ge);
}, Xt.useMemo = function(Z, ge) {
return L.H.useMemo(Z, ge);
}, Xt.useOptimistic = function(Z, ge) {
return L.H.useOptimistic(Z, ge);
}, Xt.useReducer = function(Z, ge, ae) {
return L.H.useReducer(Z, ge, ae);
}, Xt.useRef = function(Z) {
return L.H.useRef(Z);
}, Xt.useState = function(Z) {
return L.H.useState(Z);
}, Xt.useSyncExternalStore = function(Z, ge, ae) {
return L.H.useSyncExternalStore(
Z,
ge,
ae
);
}, Xt.useTransition = function() {
return L.H.useTransition();
}, Xt.version = "19.1.1", Xt;
}
var aA;
function $b() {
return aA || (aA = 1, BE.exports = JV()), BE.exports;
}
var M = $b();
const Ae = /* @__PURE__ */ Zc(M), I0 = /* @__PURE__ */ XV({
__proto__: null,
default: Ae
}, [M]);
var $E = { exports: {} }, pg = {}, qE = { exports: {} }, zE = {};
/**
* @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 sA;
function e6() {
return sA || (sA = 1, (function(e) {
function t(ne, re) {
var se = ne.length;
ne.push(re);
e: for (; 0 < se; ) {
var fe = se - 1 >>> 1, Z = ne[fe];
if (0 < i(Z, re))
ne[fe] = re, ne[se] = Z, se = fe;
else break e;
}
}
function n(ne) {
return ne.length === 0 ? null : ne[0];
}
function r(ne) {
if (ne.length === 0) return null;
var re = ne[0], se = ne.pop();
if (se !== re) {
ne[0] = se;
e: for (var fe = 0, Z = ne.length, ge = Z >>> 1; fe < ge; ) {
var ae = 2 * (fe + 1) - 1, pe = ne[ae], ce = ae + 1, he = ne[ce];
if (0 > i(pe, se))
ce < Z && 0 > i(he, pe) ? (ne[fe] = he, ne[ce] = se, fe = ce) : (ne[fe] = pe, ne[ae] = se, fe = ae);
else if (ce < Z && 0 > i(he, se))
ne[fe] = he, ne[ce] = se, fe = ce;
else break e;
}
}
return re;
}
function i(ne, re) {
var se = ne.sortIndex - re.sortIndex;
return se !== 0 ? se : ne.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, b = null, E = 3, y = !1, x = !1, w = !1, k = !1, N = typeof setTimeout == "function" ? setTimeout : null, D = typeof clearTimeout == "function" ? clearTimeout : null, A = typeof setImmediate < "u" ? setImmediate : null;
function _(ne) {
for (var re = n(d); re !== null; ) {
if (re.callback === null) r(d);
else if (re.startTime <= ne)
r(d), re.sortIndex = re.expirationTime, t(p, re);
else break;
re = n(d);
}
}
function L(ne) {
if (w = !1, _(ne), !x)
if (n(p) !== null)
x = !0, V || (V = !0, J());
else {
var re = n(d);
re !== null && $(L, re.startTime - ne);
}
}
var V = !1, P = -1, F = 5, j = -1;
function q() {
return k ? !0 : !(e.unstable_now() - j < F);
}
function K() {
if (k = !1, V) {
var ne = e.unstable_now();
j = ne;
var re = !0;
try {
e: {
x = !1, w && (w = !1, D(P), P = -1), y = !0;
var se = E;
try {
t: {
for (_(ne), b = n(p); b !== null && !(b.expirationTime > ne && q()); ) {
var fe = b.callback;
if (typeof fe == "function") {
b.callback = null, E = b.priorityLevel;
var Z = fe(
b.expirationTime <= ne
);
if (ne = e.unstable_now(), typeof Z == "function") {
b.callback = Z, _(ne), re = !0;
break t;
}
b === n(p) && r(p), _(ne);
} else r(p);
b = n(p);
}
if (b !== null) re = !0;
else {
var ge = n(d);
ge !== null && $(
L,
ge.startTime - ne
), re = !1;
}
}
break e;
} finally {
b = null, E = se, y = !1;
}
re = void 0;
}
} finally {
re ? J() : V = !1;
}
}
}
var J;
if (typeof A == "function")
J = function() {
A(K);
};
else if (typeof MessageChannel < "u") {
var ee = new MessageChannel(), X = ee.port2;
ee.port1.onmessage = K, J = function() {
X.postMessage(null);
};
} else
J = function() {
N(K, 0);
};
function $(ne, re) {
P = N(function() {
ne(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(ne) {
ne.callback = null;
}, e.unstable_forceFrameRate = function(ne) {
0 > ne || 125 < ne ? console.error(
"forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"
) : F = 0 < ne ? Math.floor(1e3 / ne) : 5;
}, e.unstable_getCurrentPriorityLevel = function() {
return E;
}, e.unstable_next = function(ne) {
switch (E) {
case 1:
case 2:
case 3:
var re = 3;
break;
default:
re = E;
}
var se = E;
E = re;
try {
return ne();
} finally {
E = se;
}
}, e.unstable_requestPaint = function() {
k = !0;
}, e.unstable_runWithPriority = function(ne, re) {
switch (ne) {
case 1:
case 2:
case 3:
case 4:
case 5:
break;
default:
ne = 3;
}
var se = E;
E = ne;
try {
return re();
} finally {
E = se;
}
}, e.unstable_scheduleCallback = function(ne, re, se) {
var fe = e.unstable_now();
switch (typeof se == "object" && se !== null ? (se = se.delay, se = typeof se == "number" && 0 < se ? fe + se : fe) : se = fe, ne) {
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 = se + Z, ne = {
id: m++,
callback: re,
priorityLevel: ne,
startTime: se,
expirationTime: Z,
sortIndex: -1
}, se > fe ? (ne.sortIndex = se, t(d, ne), n(p) === null && ne === n(d) && (w ? (D(P), P = -1) : w = !0, $(L, se - fe))) : (ne.sortIndex = Z, t(p, ne), x || y || (x = !0, V || (V = !0, J()))), ne;
}, e.unstable_shouldYield = q, e.unstable_wrapCallback = function(ne) {
var re = E;
return function() {
var se = E;
E = re;
try {
return ne.apply(this, arguments);
} finally {
E = se;
}
};
};
})(zE)), zE;
}
var lA;
function t6() {
return lA || (lA = 1, qE.exports = e6()), qE.exports;
}
var HE = { exports: {} }, Ji = {};
/**
* @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 uA;
function n6() {
if (uA) return Ji;
uA = 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 b = 3 < arguments.length && arguments[3] !== void 0 ? arguments[3] : null;
return {
$$typeof: i,
key: b == null ? null : "" + b,
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 Ji.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = r, Ji.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);
}, Ji.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();
}
}, Ji.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));
}, Ji.prefetchDNS = function(p) {
typeof p == "string" && r.d.D(p);
}, Ji.preinit = function(p, d) {
if (typeof p == "string" && d && typeof d.as == "string") {
var m = d.as, b = c(m, d.crossOrigin), E = 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: b,
integrity: E,
fetchPriority: y
}
) : m === "script" && r.d.X(p, {
crossOrigin: b,
integrity: E,
fetchPriority: y,
nonce: typeof d.nonce == "string" ? d.nonce : void 0
});
}
}, Ji.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);
}, Ji.preload = function(p, d) {
if (typeof p == "string" && typeof d == "object" && d !== null && typeof d.as == "string") {
var m = d.as, b = c(m, d.crossOrigin);
r.d.L(p, m, {
crossOrigin: b,
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
});
}
}, Ji.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);
}, Ji.requestFormReset = function(p) {
r.d.r(p);
}, Ji.unstable_batchedUpdates = function(p, d) {
return p(d);
}, Ji.useFormState = function(p, d, m) {
return l.H.useFormState(p, d, m);
}, Ji.useFormStatus = function() {
return l.H.useHostTransitionStatus();
}, Ji.version = "19.1.1", Ji;
}
var cA;
function sM() {
if (cA) return HE.exports;
cA = 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(), HE.exports = n6(), HE.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 fA;
function r6() {
if (fA) return pg;
fA = 1;
var e = t6(), t = $b(), n = sM();
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, te = C.child; te; ) {
if (te === h) {
G = !0, h = C, S = R;
break;
}
if (te === S) {
G = !0, S = C, h = R;
break;
}
te = te.sibling;
}
if (!G) {
for (te = R.child; te; ) {
if (te === h) {
G = !0, h = R, S = C;
break;
}
if (te === S) {
G = !0, S = R, h = C;
break;
}
te = te.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, b = Symbol.for("react.element"), E = 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"), D = Symbol.for("react.consumer"), A = Symbol.for("react.context"), _ = Symbol.for("react.forward_ref"), L = Symbol.for("react.suspense"), V = Symbol.for("react.suspense_list"), P = Symbol.for("react.memo"), F = Symbol.for("react.lazy"), j = Symbol.for("react.activity"), q = Symbol.for("react.memo_cache_sentinel"), K = Symbol.iterator;
function J(a) {
return a === null || typeof a != "object" ? null : (a = K && a[K] || a["@@iterator"], typeof a == "function" ? a : null);
}
var ee = Symbol.for("react.client.reference");
function X(a) {
if (a == null) return null;
if (typeof a == "function")
return a.$$typeof === ee ? 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 L:
return "Suspense";
case V:
return "SuspenseList";
case j:
return "Activity";
}
if (typeof a == "object")
switch (a.$$typeof) {
case y:
return "Portal";
case A:
return (a.displayName || "Context") + ".Provider";
case D:
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 : X(a.type) || "Memo";
case F:
u = a._payload, a = a._init;
try {
return X(a(u));
} catch {
}
}
return null;
}
var $ = Array.isArray, ne = 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, se = {
pending: !1,
data: null,
method: null,
action: null
}, fe = [], Z = -1;
function ge(a) {
return { current: a };
}
function ae(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 = ge(null), he = ge(null), Se = ge(null), Ie = ge(null);
function Ge(a, u) {
switch (pe(Se, u), pe(he, a), pe(ce, null), u.nodeType) {
case 9:
case 11:
a = (a = u.documentElement) && (a = a.namespaceURI) ? DN(a) : 0;
break;
default:
if (a = u.tagName, u = u.namespaceURI)
u = DN(u), a = kN(u, a);
else
switch (a) {
case "svg":
a = 1;
break;
case "math":
a = 2;
break;
default:
a = 0;
}
}
ae(ce), pe(ce, a);
}
function Ke() {
ae(ce), ae(he), ae(Se);
}
function Lt(a) {
a.memoizedState !== null && pe(Ie, a);
var u = ce.current, h = kN(u, a.type);
u !== h && (pe(he, a), pe(ce, h));
}
function gt(a) {
he.current === a && (ae(ce), ae(he)), Ie.current === a && (ae(Ie), sg._currentValue = se);
}
var at = Object.prototype.hasOwnProperty, Oe = e.unstable_scheduleCallback, be = e.unstable_cancelCallback, Le = e.unstable_shouldYield, Ee = e.unstable_requestPaint, oe = e.unstable_now, Pe = e.unstable_getCurrentPriorityLevel, et = e.unstable_ImmediatePriority, ct = e.unstable_UserBlockingPriority, We = e.unstable_NormalPriority, xe = e.unstable_LowPriority, qe = e.unstable_IdlePriority, nt = e.log, ht = e.unstable_setDisableYieldValue, Ot = null, Pt = null;
function dt(a) {
if (typeof nt == "function" && ht(a), Pt && typeof Pt.setStrictMode == "function")
try {
Pt.setStrictMode(Ot, 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, ot = 4194304;
function Un(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 te = S & 134217727;
return te !== 0 ? (S = te & ~R, S !== 0 ? C = Un(S) : (G &= te, G !== 0 ? C = Un(G) : h || (h = te & ~a, h !== 0 && (C = Un(h))))) : (te = S & ~R, te !== 0 ? C = Un(te) : G !== 0 ? C = Un(G) : h || (h = S & ~a, h !== 0 && (C = Un(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 ii() {
var a = Zt;
return Zt <<= 1, (Zt & 4194048) === 0 && (Zt = 256), a;
}
function nn() {
var a = ot;
return ot <<= 1, (ot & 62914560) === 0 && (ot = 4194304), a;
}
function kr(a) {
for (var u = [], h = 0; 31 > h; h++) u.push(a);
return u;
}
function _n(a, u) {
a.pendingLanes |= u, u !== 268435456 && (a.suspendedLanes = 0, a.pingedLanes = 0, a.warmLanes = 0);
}
function zi(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 te = a.entanglements, de = a.expirationTimes, _e = a.hiddenUpdates;
for (h = G & ~h; 0 < h; ) {
var Ue = 31 - bt(h), He = 1 << Ue;
te[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 ln(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 kn(a) {
return a &= -a, 2 < a ? 8 < a ? (a & 134217727) !== 0 ? 32 : 268435456 : 8 : 2;
}
function Kn() {
var a = re.p;
return a !== 0 ? a : (a = window.event, a === void 0 ? 32 : XN(a.type));
}
function It(a, u) {
var h = re.p;
try {
return re.p = a, u();
} finally {
re.p = h;
}
}
var un = Math.random().toString(36).slice(2), Gt = "__reactFiber$" + un, bn = "__reactProps$" + un, Ai = "__reactContainer$" + un, Uo = "__reactEvents$" + un, Bo = "__reactListeners$" + un, To = "__reactHandles$" + un, vr = "__reactResources$" + un, Bn = "__reactMarker$" + un;
function Rr(a) {
delete a[Gt], delete a[bn], delete a[Uo], delete a[Bo], delete a[To];
}
function Oi(a) {
var u = a[Gt];
if (u) return u;
for (var h = a.parentNode; h; ) {
if (u = h[Ai] || h[Gt]) {
if (h = u.alternate, u.child !== null || h !== null && h.child !== null)
for (a = IN(a); a !== null; ) {
if (h = a[Gt]) return h;
a = IN(a);
}
return u;
}
a = h, h = a.parentNode;
}
return null;
}
function Vr(a) {
if (a = a[Gt] || a[Ai]) {
var u = a.tag;
if (u === 5 || u === 6 || u === 13 || u === 26 || u === 27 || u === 3)
return a;
}
return null;
}
function xo(a) {
var u = a.tag;
if (u === 5 || u === 26 || u === 27 || u === 6) return a.stateNode;
throw Error(r(33));
}
function ao(a) {
var u = a[vr];
return u || (u = a[vr] = { hoistableStyles: /* @__PURE__ */ new Map(), hoistableScripts: /* @__PURE__ */ new Map() }), u;
}
function Rn(a) {
a[Bn] = !0;
}
var Hi = /* @__PURE__ */ new Set(), Di = {};
function so(a, u) {
wo(a, u), wo(a + "Capture", u);
}
function wo(a, u) {
for (Di[a] = u, a = 0; a < u.length; a++)
Hi.add(u[a]);
}
var Zn = 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 = {}, lo = {};
function Al(a) {
return at.call(lo, a) ? !0 : at.call(ft, a) ? !1 : Zn.test(a) ? lo[a] = !0 : (ft[a] = !0, !1);
}
function Ur(a, u, h) {
if (Al(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 rn(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 Mr(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 $o, Ps;
function ze(a) {
if ($o === void 0)
try {
throw Error();
} catch (h) {
var u = h.stack.trim().match(/\n( *(at )?)/);
$o = u && u[1] || "", Ps = -1 < h.stack.indexOf(`
at`) ? " (<anonymous>)" : -1 < h.stack.indexOf("@") ? "@unknown:0:0" : "";
}
return `
` + $o + a + Ps;
}
var Y = !1;
function ue(a, u) {
if (!a || Y) return "";
Y = !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], te = R[1];
if (G && te) {
var de = G.split(`
`), _e = te.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 {
Y = !1, Error.prepareStackTrace = h;
}
return (h = a ? a.displayName || a.name : "") ? ze(h) : "";
}
function Fe(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 Ye(a) {
try {
var u = "";
do
u += Fe(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 Tr(a) {
a._valueTracker || (a._valueTracker = st(a));
}
function ki(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 Za(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 ha = /[\n"\\]/g;
function Gi(a) {
return a.replace(
ha,
function(u) {
return "\\" + u.charCodeAt(0).toString(16) + " ";
}
);
}
function ff(a, u, h, S, C, R, G, te) {
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 ? Du(a, G, Et(u)) : h != null ? Du(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"), te != null && typeof te != "function" && typeof te != "symbol" && typeof te != "boolean" ? a.name = "" + Et(te) : a.removeAttribute("name");
}
function Ol(a, u, h, S, C, R, G, te) {
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, te || u === a.value || (a.value = u), a.defaultValue = u;
}
S = S ?? C, S = typeof S != "function" && typeof S != "symbol" && !!S, a.checked = te ? a.checked : !!S, a.defaultChecked = !!S, G != null && typeof G != "function" && typeof G != "symbol" && typeof G != "boolean" && (a.name = G);
}
function Du(a, u, h) {
u === "number" && Za(a.ownerDocument) === a || a.defaultValue === "" + h || (a.defaultValue = "" + h);
}
function js(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[C].disabled || (u = a[C]);
}
u !== null && (u.selected = !0);
}
}
function df(a, u, h) {
if (u != null && (u = "" + Et(u)