Created
May 28, 2023 19:26
-
-
Save PoSayDone/6d1b4678f7070e84d491498bc085f3cc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*! For license information please see 13d8353ccc05358f.js.LICENSE.txt */ | |
(self.webpackChunk_keybr_keybr_com = self.webpackChunk_keybr_keybr_com || []).push([ | |
[699], | |
{ | |
5741: (e, t, n) => { | |
"use strict"; | |
n.d(t, { kG: () => r }); | |
function r(e, t, n) { | |
if ((void 0 === n && (n = Error), !e)) throw new n(t); | |
} | |
}, | |
5610: (e, t, n) => { | |
"use strict"; | |
function r(e, t) { | |
var n = t && t.cache ? t.cache : c, | |
r = t && t.serializer ? t.serializer : u; | |
return (t && t.strategy ? t.strategy : l)(e, { cache: n, serializer: r }); | |
} | |
function a(e, t, n, r) { | |
var a, | |
o = null == (a = r) || "number" == typeof a || "boolean" == typeof a ? r : n(r), | |
i = t.get(o); | |
return void 0 === i && ((i = e.call(this, r)), t.set(o, i)), i; | |
} | |
function o(e, t, n) { | |
var r = Array.prototype.slice.call(arguments, 3), | |
a = n(r), | |
o = t.get(a); | |
return void 0 === o && ((o = e.apply(this, r)), t.set(a, o)), o; | |
} | |
function i(e, t, n, r, a) { | |
return n.bind(t, e, r, a); | |
} | |
function l(e, t) { | |
return i(e, this, 1 === e.length ? a : o, t.cache.create(), t.serializer); | |
} | |
n.d(t, { A: () => f, Z: () => r }); | |
var u = function () { | |
return JSON.stringify(arguments); | |
}; | |
function s() { | |
this.cache = Object.create(null); | |
} | |
(s.prototype.get = function (e) { | |
return this.cache[e]; | |
}), | |
(s.prototype.set = function (e, t) { | |
this.cache[e] = t; | |
}); | |
var c = { | |
create: function () { | |
return new s(); | |
}, | |
}, | |
f = { | |
variadic: function (e, t) { | |
return i(e, this, o, t.cache.create(), t.serializer); | |
}, | |
monadic: function (e, t) { | |
return i(e, this, a, t.cache.create(), t.serializer); | |
}, | |
}; | |
}, | |
6996: (e, t, n) => { | |
"use strict"; | |
n.d(t, { wD: () => a, VG: () => u, rp: () => c, Ii: () => g, O4: () => l, uf: () => s, Wh: () => m, Jo: () => h, yx: () => p, Wi: () => d, HI: () => A, pe: () => f, Qc: () => oe }); | |
var r, | |
a, | |
o, | |
i = n(3940); | |
function l(e) { | |
return e.type === a.literal; | |
} | |
function u(e) { | |
return e.type === a.argument; | |
} | |
function s(e) { | |
return e.type === a.number; | |
} | |
function c(e) { | |
return e.type === a.date; | |
} | |
function f(e) { | |
return e.type === a.time; | |
} | |
function d(e) { | |
return e.type === a.select; | |
} | |
function h(e) { | |
return e.type === a.plural; | |
} | |
function p(e) { | |
return e.type === a.pound; | |
} | |
function A(e) { | |
return e.type === a.tag; | |
} | |
function m(e) { | |
return !(!e || "object" != typeof e || e.type !== o.number); | |
} | |
function g(e) { | |
return !(!e || "object" != typeof e || e.type !== o.dateTime); | |
} | |
!(function (e) { | |
(e[(e.EXPECT_ARGUMENT_CLOSING_BRACE = 1)] = "EXPECT_ARGUMENT_CLOSING_BRACE"), | |
(e[(e.EMPTY_ARGUMENT = 2)] = "EMPTY_ARGUMENT"), | |
(e[(e.MALFORMED_ARGUMENT = 3)] = "MALFORMED_ARGUMENT"), | |
(e[(e.EXPECT_ARGUMENT_TYPE = 4)] = "EXPECT_ARGUMENT_TYPE"), | |
(e[(e.INVALID_ARGUMENT_TYPE = 5)] = "INVALID_ARGUMENT_TYPE"), | |
(e[(e.EXPECT_ARGUMENT_STYLE = 6)] = "EXPECT_ARGUMENT_STYLE"), | |
(e[(e.INVALID_NUMBER_SKELETON = 7)] = "INVALID_NUMBER_SKELETON"), | |
(e[(e.INVALID_DATE_TIME_SKELETON = 8)] = "INVALID_DATE_TIME_SKELETON"), | |
(e[(e.EXPECT_NUMBER_SKELETON = 9)] = "EXPECT_NUMBER_SKELETON"), | |
(e[(e.EXPECT_DATE_TIME_SKELETON = 10)] = "EXPECT_DATE_TIME_SKELETON"), | |
(e[(e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11)] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE"), | |
(e[(e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12)] = "EXPECT_SELECT_ARGUMENT_OPTIONS"), | |
(e[(e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13)] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE"), | |
(e[(e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14)] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE"), | |
(e[(e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15)] = "EXPECT_SELECT_ARGUMENT_SELECTOR"), | |
(e[(e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16)] = "EXPECT_PLURAL_ARGUMENT_SELECTOR"), | |
(e[(e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17)] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT"), | |
(e[(e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18)] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT"), | |
(e[(e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19)] = "INVALID_PLURAL_ARGUMENT_SELECTOR"), | |
(e[(e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20)] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR"), | |
(e[(e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21)] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR"), | |
(e[(e.MISSING_OTHER_CLAUSE = 22)] = "MISSING_OTHER_CLAUSE"), | |
(e[(e.INVALID_TAG = 23)] = "INVALID_TAG"), | |
(e[(e.INVALID_TAG_NAME = 25)] = "INVALID_TAG_NAME"), | |
(e[(e.UNMATCHED_CLOSING_TAG = 26)] = "UNMATCHED_CLOSING_TAG"), | |
(e[(e.UNCLOSED_TAG = 27)] = "UNCLOSED_TAG"); | |
})(r || (r = {})), | |
(function (e) { | |
(e[(e.literal = 0)] = "literal"), | |
(e[(e.argument = 1)] = "argument"), | |
(e[(e.number = 2)] = "number"), | |
(e[(e.date = 3)] = "date"), | |
(e[(e.time = 4)] = "time"), | |
(e[(e.select = 5)] = "select"), | |
(e[(e.plural = 6)] = "plural"), | |
(e[(e.pound = 7)] = "pound"), | |
(e[(e.tag = 8)] = "tag"); | |
})(a || (a = {})), | |
(function (e) { | |
(e[(e.number = 0)] = "number"), (e[(e.dateTime = 1)] = "dateTime"); | |
})(o || (o = {})); | |
var y = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, | |
v = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g; | |
function b(e) { | |
var t = {}; | |
return ( | |
e.replace(v, function (e) { | |
var n = e.length; | |
switch (e[0]) { | |
case "G": | |
t.era = 4 === n ? "long" : 5 === n ? "narrow" : "short"; | |
break; | |
case "y": | |
t.year = 2 === n ? "2-digit" : "numeric"; | |
break; | |
case "Y": | |
case "u": | |
case "U": | |
case "r": | |
throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead"); | |
case "q": | |
case "Q": | |
throw new RangeError("`q/Q` (quarter) patterns are not supported"); | |
case "M": | |
case "L": | |
t.month = ["numeric", "2-digit", "short", "long", "narrow"][n - 1]; | |
break; | |
case "w": | |
case "W": | |
throw new RangeError("`w/W` (week) patterns are not supported"); | |
case "d": | |
t.day = ["numeric", "2-digit"][n - 1]; | |
break; | |
case "D": | |
case "F": | |
case "g": | |
throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead"); | |
case "E": | |
t.weekday = 4 === n ? "short" : 5 === n ? "narrow" : "short"; | |
break; | |
case "e": | |
if (n < 4) throw new RangeError("`e..eee` (weekday) patterns are not supported"); | |
t.weekday = ["short", "long", "narrow", "short"][n - 4]; | |
break; | |
case "c": | |
if (n < 4) throw new RangeError("`c..ccc` (weekday) patterns are not supported"); | |
t.weekday = ["short", "long", "narrow", "short"][n - 4]; | |
break; | |
case "a": | |
t.hour12 = !0; | |
break; | |
case "b": | |
case "B": | |
throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead"); | |
case "h": | |
(t.hourCycle = "h12"), (t.hour = ["numeric", "2-digit"][n - 1]); | |
break; | |
case "H": | |
(t.hourCycle = "h23"), (t.hour = ["numeric", "2-digit"][n - 1]); | |
break; | |
case "K": | |
(t.hourCycle = "h11"), (t.hour = ["numeric", "2-digit"][n - 1]); | |
break; | |
case "k": | |
(t.hourCycle = "h24"), (t.hour = ["numeric", "2-digit"][n - 1]); | |
break; | |
case "j": | |
case "J": | |
case "C": | |
throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead"); | |
case "m": | |
t.minute = ["numeric", "2-digit"][n - 1]; | |
break; | |
case "s": | |
t.second = ["numeric", "2-digit"][n - 1]; | |
break; | |
case "S": | |
case "A": | |
throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead"); | |
case "z": | |
t.timeZoneName = n < 4 ? "short" : "long"; | |
break; | |
case "Z": | |
case "O": | |
case "v": | |
case "V": | |
case "X": | |
case "x": | |
throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead"); | |
} | |
return ""; | |
}), | |
t | |
); | |
} | |
var E = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i; | |
var w = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, | |
S = /^(@+)?(\+|#+)?[rs]?$/g, | |
T = /(\*)(0+)|(#+)(0+)|(0+)/g, | |
_ = /^(0+)$/; | |
function k(e) { | |
var t = {}; | |
return ( | |
"r" === e[e.length - 1] ? (t.roundingPriority = "morePrecision") : "s" === e[e.length - 1] && (t.roundingPriority = "lessPrecision"), | |
e.replace(S, function (e, n, r) { | |
return ( | |
"string" != typeof r | |
? ((t.minimumSignificantDigits = n.length), (t.maximumSignificantDigits = n.length)) | |
: "+" === r | |
? (t.minimumSignificantDigits = n.length) | |
: "#" === n[0] | |
? (t.maximumSignificantDigits = n.length) | |
: ((t.minimumSignificantDigits = n.length), (t.maximumSignificantDigits = n.length + ("string" == typeof r ? r.length : 0))), | |
"" | |
); | |
}), | |
t | |
); | |
} | |
function C(e) { | |
switch (e) { | |
case "sign-auto": | |
return { signDisplay: "auto" }; | |
case "sign-accounting": | |
case "()": | |
return { currencySign: "accounting" }; | |
case "sign-always": | |
case "+!": | |
return { signDisplay: "always" }; | |
case "sign-accounting-always": | |
case "()!": | |
return { signDisplay: "always", currencySign: "accounting" }; | |
case "sign-except-zero": | |
case "+?": | |
return { signDisplay: "exceptZero" }; | |
case "sign-accounting-except-zero": | |
case "()?": | |
return { signDisplay: "exceptZero", currencySign: "accounting" }; | |
case "sign-never": | |
case "+_": | |
return { signDisplay: "never" }; | |
} | |
} | |
function N(e) { | |
var t; | |
if (("E" === e[0] && "E" === e[1] ? ((t = { notation: "engineering" }), (e = e.slice(2))) : "E" === e[0] && ((t = { notation: "scientific" }), (e = e.slice(1))), t)) { | |
var n = e.slice(0, 2); | |
if (("+!" === n ? ((t.signDisplay = "always"), (e = e.slice(2))) : "+?" === n && ((t.signDisplay = "exceptZero"), (e = e.slice(2))), !_.test(e))) throw new Error("Malformed concise eng/scientific notation"); | |
t.minimumIntegerDigits = e.length; | |
} | |
return t; | |
} | |
function P(e) { | |
var t = C(e); | |
return t || {}; | |
} | |
function R(e) { | |
for (var t = {}, n = 0, r = e; n < r.length; n++) { | |
var a = r[n]; | |
switch (a.stem) { | |
case "percent": | |
case "%": | |
t.style = "percent"; | |
continue; | |
case "%x100": | |
(t.style = "percent"), (t.scale = 100); | |
continue; | |
case "currency": | |
(t.style = "currency"), (t.currency = a.options[0]); | |
continue; | |
case "group-off": | |
case ",_": | |
t.useGrouping = !1; | |
continue; | |
case "precision-integer": | |
case ".": | |
t.maximumFractionDigits = 0; | |
continue; | |
case "measure-unit": | |
case "unit": | |
(t.style = "unit"), (t.unit = a.options[0].replace(/^(.*?)-/, "")); | |
continue; | |
case "compact-short": | |
case "K": | |
(t.notation = "compact"), (t.compactDisplay = "short"); | |
continue; | |
case "compact-long": | |
case "KK": | |
(t.notation = "compact"), (t.compactDisplay = "long"); | |
continue; | |
case "scientific": | |
t = (0, i.pi)( | |
(0, i.pi)((0, i.pi)({}, t), { notation: "scientific" }), | |
a.options.reduce(function (e, t) { | |
return (0, i.pi)((0, i.pi)({}, e), P(t)); | |
}, {}) | |
); | |
continue; | |
case "engineering": | |
t = (0, i.pi)( | |
(0, i.pi)((0, i.pi)({}, t), { notation: "engineering" }), | |
a.options.reduce(function (e, t) { | |
return (0, i.pi)((0, i.pi)({}, e), P(t)); | |
}, {}) | |
); | |
continue; | |
case "notation-simple": | |
t.notation = "standard"; | |
continue; | |
case "unit-width-narrow": | |
(t.currencyDisplay = "narrowSymbol"), (t.unitDisplay = "narrow"); | |
continue; | |
case "unit-width-short": | |
(t.currencyDisplay = "code"), (t.unitDisplay = "short"); | |
continue; | |
case "unit-width-full-name": | |
(t.currencyDisplay = "name"), (t.unitDisplay = "long"); | |
continue; | |
case "unit-width-iso-code": | |
t.currencyDisplay = "symbol"; | |
continue; | |
case "scale": | |
t.scale = parseFloat(a.options[0]); | |
continue; | |
case "integer-width": | |
if (a.options.length > 1) throw new RangeError("integer-width stems only accept a single optional option"); | |
a.options[0].replace(T, function (e, n, r, a, o, i) { | |
if (n) t.minimumIntegerDigits = r.length; | |
else { | |
if (a && o) throw new Error("We currently do not support maximum integer digits"); | |
if (i) throw new Error("We currently do not support exact integer digits"); | |
} | |
return ""; | |
}); | |
continue; | |
} | |
if (_.test(a.stem)) t.minimumIntegerDigits = a.stem.length; | |
else if (w.test(a.stem)) { | |
if (a.options.length > 1) throw new RangeError("Fraction-precision stems only accept a single optional option"); | |
a.stem.replace(w, function (e, n, r, a, o, i) { | |
return ( | |
"*" === r | |
? (t.minimumFractionDigits = n.length) | |
: a && "#" === a[0] | |
? (t.maximumFractionDigits = a.length) | |
: o && i | |
? ((t.minimumFractionDigits = o.length), (t.maximumFractionDigits = o.length + i.length)) | |
: ((t.minimumFractionDigits = n.length), (t.maximumFractionDigits = n.length)), | |
"" | |
); | |
}); | |
var o = a.options[0]; | |
"w" === o ? (t = (0, i.pi)((0, i.pi)({}, t), { trailingZeroDisplay: "stripIfInteger" })) : o && (t = (0, i.pi)((0, i.pi)({}, t), k(o))); | |
} else if (S.test(a.stem)) t = (0, i.pi)((0, i.pi)({}, t), k(a.stem)); | |
else { | |
var l = C(a.stem); | |
l && (t = (0, i.pi)((0, i.pi)({}, t), l)); | |
var u = N(a.stem); | |
u && (t = (0, i.pi)((0, i.pi)({}, t), u)); | |
} | |
} | |
return t; | |
} | |
var O, | |
L = { | |
AX: ["H"], | |
BQ: ["H"], | |
CP: ["H"], | |
CZ: ["H"], | |
DK: ["H"], | |
FI: ["H"], | |
ID: ["H"], | |
IS: ["H"], | |
ML: ["H"], | |
NE: ["H"], | |
RU: ["H"], | |
SE: ["H"], | |
SJ: ["H"], | |
SK: ["H"], | |
AS: ["h", "H"], | |
BT: ["h", "H"], | |
DJ: ["h", "H"], | |
ER: ["h", "H"], | |
GH: ["h", "H"], | |
IN: ["h", "H"], | |
LS: ["h", "H"], | |
PG: ["h", "H"], | |
PW: ["h", "H"], | |
SO: ["h", "H"], | |
TO: ["h", "H"], | |
VU: ["h", "H"], | |
WS: ["h", "H"], | |
"001": ["H", "h"], | |
AL: ["h", "H", "hB"], | |
TD: ["h", "H", "hB"], | |
"ca-ES": ["H", "h", "hB"], | |
CF: ["H", "h", "hB"], | |
CM: ["H", "h", "hB"], | |
"fr-CA": ["H", "h", "hB"], | |
"gl-ES": ["H", "h", "hB"], | |
"it-CH": ["H", "h", "hB"], | |
"it-IT": ["H", "h", "hB"], | |
LU: ["H", "h", "hB"], | |
NP: ["H", "h", "hB"], | |
PF: ["H", "h", "hB"], | |
SC: ["H", "h", "hB"], | |
SM: ["H", "h", "hB"], | |
SN: ["H", "h", "hB"], | |
TF: ["H", "h", "hB"], | |
VA: ["H", "h", "hB"], | |
CY: ["h", "H", "hb", "hB"], | |
GR: ["h", "H", "hb", "hB"], | |
CO: ["h", "H", "hB", "hb"], | |
DO: ["h", "H", "hB", "hb"], | |
KP: ["h", "H", "hB", "hb"], | |
KR: ["h", "H", "hB", "hb"], | |
NA: ["h", "H", "hB", "hb"], | |
PA: ["h", "H", "hB", "hb"], | |
PR: ["h", "H", "hB", "hb"], | |
VE: ["h", "H", "hB", "hb"], | |
AC: ["H", "h", "hb", "hB"], | |
AI: ["H", "h", "hb", "hB"], | |
BW: ["H", "h", "hb", "hB"], | |
BZ: ["H", "h", "hb", "hB"], | |
CC: ["H", "h", "hb", "hB"], | |
CK: ["H", "h", "hb", "hB"], | |
CX: ["H", "h", "hb", "hB"], | |
DG: ["H", "h", "hb", "hB"], | |
FK: ["H", "h", "hb", "hB"], | |
GB: ["H", "h", "hb", "hB"], | |
GG: ["H", "h", "hb", "hB"], | |
GI: ["H", "h", "hb", "hB"], | |
IE: ["H", "h", "hb", "hB"], | |
IM: ["H", "h", "hb", "hB"], | |
IO: ["H", "h", "hb", "hB"], | |
JE: ["H", "h", "hb", "hB"], | |
LT: ["H", "h", "hb", "hB"], | |
MK: ["H", "h", "hb", "hB"], | |
MN: ["H", "h", "hb", "hB"], | |
MS: ["H", "h", "hb", "hB"], | |
NF: ["H", "h", "hb", "hB"], | |
NG: ["H", "h", "hb", "hB"], | |
NR: ["H", "h", "hb", "hB"], | |
NU: ["H", "h", "hb", "hB"], | |
PN: ["H", "h", "hb", "hB"], | |
SH: ["H", "h", "hb", "hB"], | |
SX: ["H", "h", "hb", "hB"], | |
TA: ["H", "h", "hb", "hB"], | |
ZA: ["H", "h", "hb", "hB"], | |
"af-ZA": ["H", "h", "hB", "hb"], | |
AR: ["H", "h", "hB", "hb"], | |
CL: ["H", "h", "hB", "hb"], | |
CR: ["H", "h", "hB", "hb"], | |
CU: ["H", "h", "hB", "hb"], | |
EA: ["H", "h", "hB", "hb"], | |
"es-BO": ["H", "h", "hB", "hb"], | |
"es-BR": ["H", "h", "hB", "hb"], | |
"es-EC": ["H", "h", "hB", "hb"], | |
"es-ES": ["H", "h", "hB", "hb"], | |
"es-GQ": ["H", "h", "hB", "hb"], | |
"es-PE": ["H", "h", "hB", "hb"], | |
GT: ["H", "h", "hB", "hb"], | |
HN: ["H", "h", "hB", "hb"], | |
IC: ["H", "h", "hB", "hb"], | |
KG: ["H", "h", "hB", "hb"], | |
KM: ["H", "h", "hB", "hb"], | |
LK: ["H", "h", "hB", "hb"], | |
MA: ["H", "h", "hB", "hb"], | |
MX: ["H", "h", "hB", "hb"], | |
NI: ["H", "h", "hB", "hb"], | |
PY: ["H", "h", "hB", "hb"], | |
SV: ["H", "h", "hB", "hb"], | |
UY: ["H", "h", "hB", "hb"], | |
JP: ["H", "h", "K"], | |
AD: ["H", "hB"], | |
AM: ["H", "hB"], | |
AO: ["H", "hB"], | |
AT: ["H", "hB"], | |
AW: ["H", "hB"], | |
BE: ["H", "hB"], | |
BF: ["H", "hB"], | |
BJ: ["H", "hB"], | |
BL: ["H", "hB"], | |
BR: ["H", "hB"], | |
CG: ["H", "hB"], | |
CI: ["H", "hB"], | |
CV: ["H", "hB"], | |
DE: ["H", "hB"], | |
EE: ["H", "hB"], | |
FR: ["H", "hB"], | |
GA: ["H", "hB"], | |
GF: ["H", "hB"], | |
GN: ["H", "hB"], | |
GP: ["H", "hB"], | |
GW: ["H", "hB"], | |
HR: ["H", "hB"], | |
IL: ["H", "hB"], | |
IT: ["H", "hB"], | |
KZ: ["H", "hB"], | |
MC: ["H", "hB"], | |
MD: ["H", "hB"], | |
MF: ["H", "hB"], | |
MQ: ["H", "hB"], | |
MZ: ["H", "hB"], | |
NC: ["H", "hB"], | |
NL: ["H", "hB"], | |
PM: ["H", "hB"], | |
PT: ["H", "hB"], | |
RE: ["H", "hB"], | |
RO: ["H", "hB"], | |
SI: ["H", "hB"], | |
SR: ["H", "hB"], | |
ST: ["H", "hB"], | |
TG: ["H", "hB"], | |
TR: ["H", "hB"], | |
WF: ["H", "hB"], | |
YT: ["H", "hB"], | |
BD: ["h", "hB", "H"], | |
PK: ["h", "hB", "H"], | |
AZ: ["H", "hB", "h"], | |
BA: ["H", "hB", "h"], | |
BG: ["H", "hB", "h"], | |
CH: ["H", "hB", "h"], | |
GE: ["H", "hB", "h"], | |
LI: ["H", "hB", "h"], | |
ME: ["H", "hB", "h"], | |
RS: ["H", "hB", "h"], | |
UA: ["H", "hB", "h"], | |
UZ: ["H", "hB", "h"], | |
XK: ["H", "hB", "h"], | |
AG: ["h", "hb", "H", "hB"], | |
AU: ["h", "hb", "H", "hB"], | |
BB: ["h", "hb", "H", "hB"], | |
BM: ["h", "hb", "H", "hB"], | |
BS: ["h", "hb", "H", "hB"], | |
CA: ["h", "hb", "H", "hB"], | |
DM: ["h", "hb", "H", "hB"], | |
"en-001": ["h", "hb", "H", "hB"], | |
FJ: ["h", "hb", "H", "hB"], | |
FM: ["h", "hb", "H", "hB"], | |
GD: ["h", "hb", "H", "hB"], | |
GM: ["h", "hb", "H", "hB"], | |
GU: ["h", "hb", "H", "hB"], | |
GY: ["h", "hb", "H", "hB"], | |
JM: ["h", "hb", "H", "hB"], | |
KI: ["h", "hb", "H", "hB"], | |
KN: ["h", "hb", "H", "hB"], | |
KY: ["h", "hb", "H", "hB"], | |
LC: ["h", "hb", "H", "hB"], | |
LR: ["h", "hb", "H", "hB"], | |
MH: ["h", "hb", "H", "hB"], | |
MP: ["h", "hb", "H", "hB"], | |
MW: ["h", "hb", "H", "hB"], | |
NZ: ["h", "hb", "H", "hB"], | |
SB: ["h", "hb", "H", "hB"], | |
SG: ["h", "hb", "H", "hB"], | |
SL: ["h", "hb", "H", "hB"], | |
SS: ["h", "hb", "H", "hB"], | |
SZ: ["h", "hb", "H", "hB"], | |
TC: ["h", "hb", "H", "hB"], | |
TT: ["h", "hb", "H", "hB"], | |
UM: ["h", "hb", "H", "hB"], | |
US: ["h", "hb", "H", "hB"], | |
VC: ["h", "hb", "H", "hB"], | |
VG: ["h", "hb", "H", "hB"], | |
VI: ["h", "hb", "H", "hB"], | |
ZM: ["h", "hb", "H", "hB"], | |
BO: ["H", "hB", "h", "hb"], | |
EC: ["H", "hB", "h", "hb"], | |
ES: ["H", "hB", "h", "hb"], | |
GQ: ["H", "hB", "h", "hb"], | |
PE: ["H", "hB", "h", "hb"], | |
AE: ["h", "hB", "hb", "H"], | |
"ar-001": ["h", "hB", "hb", "H"], | |
BH: ["h", "hB", "hb", "H"], | |
DZ: ["h", "hB", "hb", "H"], | |
EG: ["h", "hB", "hb", "H"], | |
EH: ["h", "hB", "hb", "H"], | |
HK: ["h", "hB", "hb", "H"], | |
IQ: ["h", "hB", "hb", "H"], | |
JO: ["h", "hB", "hb", "H"], | |
KW: ["h", "hB", "hb", "H"], | |
LB: ["h", "hB", "hb", "H"], | |
LY: ["h", "hB", "hb", "H"], | |
MO: ["h", "hB", "hb", "H"], | |
MR: ["h", "hB", "hb", "H"], | |
OM: ["h", "hB", "hb", "H"], | |
PH: ["h", "hB", "hb", "H"], | |
PS: ["h", "hB", "hb", "H"], | |
QA: ["h", "hB", "hb", "H"], | |
SA: ["h", "hB", "hb", "H"], | |
SD: ["h", "hB", "hb", "H"], | |
SY: ["h", "hB", "hb", "H"], | |
TN: ["h", "hB", "hb", "H"], | |
YE: ["h", "hB", "hb", "H"], | |
AF: ["H", "hb", "hB", "h"], | |
LA: ["H", "hb", "hB", "h"], | |
CN: ["H", "hB", "hb", "h"], | |
LV: ["H", "hB", "hb", "h"], | |
TL: ["H", "hB", "hb", "h"], | |
"zu-ZA": ["H", "hB", "hb", "h"], | |
CD: ["hB", "H"], | |
IR: ["hB", "H"], | |
"hi-IN": ["hB", "h", "H"], | |
"kn-IN": ["hB", "h", "H"], | |
"ml-IN": ["hB", "h", "H"], | |
"te-IN": ["hB", "h", "H"], | |
KH: ["hB", "h", "H", "hb"], | |
"ta-IN": ["hB", "h", "hb", "H"], | |
BN: ["hb", "hB", "h", "H"], | |
MY: ["hb", "hB", "h", "H"], | |
ET: ["hB", "hb", "h", "H"], | |
"gu-IN": ["hB", "hb", "h", "H"], | |
"mr-IN": ["hB", "hb", "h", "H"], | |
"pa-IN": ["hB", "hb", "h", "H"], | |
TW: ["hB", "hb", "h", "H"], | |
KE: ["hB", "hb", "H", "h"], | |
MM: ["hB", "hb", "H", "h"], | |
TZ: ["hB", "hb", "H", "h"], | |
UG: ["hB", "hb", "H", "h"], | |
}; | |
function x(e) { | |
var t = e.hourCycle; | |
if ((void 0 === t && e.hourCycles && e.hourCycles.length && (t = e.hourCycles[0]), t)) | |
switch (t) { | |
case "h24": | |
return "k"; | |
case "h23": | |
return "H"; | |
case "h12": | |
return "h"; | |
case "h11": | |
return "K"; | |
default: | |
throw new Error("Invalid hourCycle"); | |
} | |
var n, | |
r = e.language; | |
return "root" !== r && (n = e.maximize().region), (L[n || ""] || L[r || ""] || L["".concat(r, "-001")] || L["001"])[0]; | |
} | |
var I = new RegExp("^".concat(y.source, "*")), | |
D = new RegExp("".concat(y.source, "*$")); | |
function M(e, t) { | |
return { start: e, end: t }; | |
} | |
var B = !!String.prototype.startsWith, | |
H = !!String.fromCodePoint, | |
F = !!Object.fromEntries, | |
U = !!String.prototype.codePointAt, | |
z = !!String.prototype.trimStart, | |
j = !!String.prototype.trimEnd, | |
G = !!Number.isSafeInteger | |
? Number.isSafeInteger | |
: function (e) { | |
return "number" == typeof e && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991; | |
}, | |
V = !0; | |
try { | |
V = "a" === (null === (O = K("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu").exec("a")) || void 0 === O ? void 0 : O[0]); | |
} catch (e) { | |
V = !1; | |
} | |
var $, | |
Z = B | |
? function (e, t, n) { | |
return e.startsWith(t, n); | |
} | |
: function (e, t, n) { | |
return e.slice(n, n + t.length) === t; | |
}, | |
W = H | |
? String.fromCodePoint | |
: function () { | |
for (var e = [], t = 0; t < arguments.length; t++) e[t] = arguments[t]; | |
for (var n, r = "", a = e.length, o = 0; a > o; ) { | |
if ((n = e[o++]) > 1114111) throw RangeError(n + " is not a valid code point"); | |
r += n < 65536 ? String.fromCharCode(n) : String.fromCharCode(55296 + ((n -= 65536) >> 10), (n % 1024) + 56320); | |
} | |
return r; | |
}, | |
Q = F | |
? Object.fromEntries | |
: function (e) { | |
for (var t = {}, n = 0, r = e; n < r.length; n++) { | |
var a = r[n], | |
o = a[0], | |
i = a[1]; | |
t[o] = i; | |
} | |
return t; | |
}, | |
q = U | |
? function (e, t) { | |
return e.codePointAt(t); | |
} | |
: function (e, t) { | |
var n = e.length; | |
if (!(t < 0 || t >= n)) { | |
var r, | |
a = e.charCodeAt(t); | |
return a < 55296 || a > 56319 || t + 1 === n || (r = e.charCodeAt(t + 1)) < 56320 || r > 57343 ? a : r - 56320 + ((a - 55296) << 10) + 65536; | |
} | |
}, | |
Y = z | |
? function (e) { | |
return e.trimStart(); | |
} | |
: function (e) { | |
return e.replace(I, ""); | |
}, | |
J = j | |
? function (e) { | |
return e.trimEnd(); | |
} | |
: function (e) { | |
return e.replace(D, ""); | |
}; | |
function K(e, t) { | |
return new RegExp(e, t); | |
} | |
if (V) { | |
var X = K("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu"); | |
$ = function (e, t) { | |
var n; | |
return (X.lastIndex = t), null !== (n = X.exec(e)[1]) && void 0 !== n ? n : ""; | |
}; | |
} else | |
$ = function (e, t) { | |
for (var n = []; ; ) { | |
var r = q(e, t); | |
if (void 0 === r || ne(r) || re(r)) break; | |
n.push(r), (t += r >= 65536 ? 2 : 1); | |
} | |
return W.apply(void 0, n); | |
}; | |
var ee = (function () { | |
function e(e, t) { | |
void 0 === t && (t = {}), | |
(this.message = e), | |
(this.position = { offset: 0, line: 1, column: 1 }), | |
(this.ignoreTag = !!t.ignoreTag), | |
(this.locale = t.locale), | |
(this.requiresOtherClause = !!t.requiresOtherClause), | |
(this.shouldParseSkeletons = !!t.shouldParseSkeletons); | |
} | |
return ( | |
(e.prototype.parse = function () { | |
if (0 !== this.offset()) throw Error("parser can only be used once"); | |
return this.parseMessage(0, "", !1); | |
}), | |
(e.prototype.parseMessage = function (e, t, n) { | |
for (var o = []; !this.isEOF(); ) { | |
var i = this.char(); | |
if (123 === i) { | |
if ((l = this.parseArgument(e, n)).err) return l; | |
o.push(l.val); | |
} else { | |
if (125 === i && e > 0) break; | |
if (35 !== i || ("plural" !== t && "selectordinal" !== t)) { | |
if (60 === i && !this.ignoreTag && 47 === this.peek()) { | |
if (n) break; | |
return this.error(r.UNMATCHED_CLOSING_TAG, M(this.clonePosition(), this.clonePosition())); | |
} | |
if (60 === i && !this.ignoreTag && te(this.peek() || 0)) { | |
if ((l = this.parseTag(e, t)).err) return l; | |
o.push(l.val); | |
} else { | |
var l; | |
if ((l = this.parseLiteral(e, t)).err) return l; | |
o.push(l.val); | |
} | |
} else { | |
var u = this.clonePosition(); | |
this.bump(), o.push({ type: a.pound, location: M(u, this.clonePosition()) }); | |
} | |
} | |
} | |
return { val: o, err: null }; | |
}), | |
(e.prototype.parseTag = function (e, t) { | |
var n = this.clonePosition(); | |
this.bump(); | |
var o = this.parseTagName(); | |
if ((this.bumpSpace(), this.bumpIf("/>"))) return { val: { type: a.literal, value: "<".concat(o, "/>"), location: M(n, this.clonePosition()) }, err: null }; | |
if (this.bumpIf(">")) { | |
var i = this.parseMessage(e + 1, t, !0); | |
if (i.err) return i; | |
var l = i.val, | |
u = this.clonePosition(); | |
if (this.bumpIf("</")) { | |
if (this.isEOF() || !te(this.char())) return this.error(r.INVALID_TAG, M(u, this.clonePosition())); | |
var s = this.clonePosition(); | |
return o !== this.parseTagName() | |
? this.error(r.UNMATCHED_CLOSING_TAG, M(s, this.clonePosition())) | |
: (this.bumpSpace(), this.bumpIf(">") ? { val: { type: a.tag, value: o, children: l, location: M(n, this.clonePosition()) }, err: null } : this.error(r.INVALID_TAG, M(u, this.clonePosition()))); | |
} | |
return this.error(r.UNCLOSED_TAG, M(n, this.clonePosition())); | |
} | |
return this.error(r.INVALID_TAG, M(n, this.clonePosition())); | |
}), | |
(e.prototype.parseTagName = function () { | |
var e, | |
t = this.offset(); | |
for ( | |
this.bump(); | |
!this.isEOF() && | |
(45 === (e = this.char()) || | |
46 === e || | |
(e >= 48 && e <= 57) || | |
95 === e || | |
(e >= 97 && e <= 122) || | |
(e >= 65 && e <= 90) || | |
183 == e || | |
(e >= 192 && e <= 214) || | |
(e >= 216 && e <= 246) || | |
(e >= 248 && e <= 893) || | |
(e >= 895 && e <= 8191) || | |
(e >= 8204 && e <= 8205) || | |
(e >= 8255 && e <= 8256) || | |
(e >= 8304 && e <= 8591) || | |
(e >= 11264 && e <= 12271) || | |
(e >= 12289 && e <= 55295) || | |
(e >= 63744 && e <= 64975) || | |
(e >= 65008 && e <= 65533) || | |
(e >= 65536 && e <= 983039)); | |
) | |
this.bump(); | |
return this.message.slice(t, this.offset()); | |
}), | |
(e.prototype.parseLiteral = function (e, t) { | |
for (var n = this.clonePosition(), r = ""; ; ) { | |
var o = this.tryParseQuote(t); | |
if (o) r += o; | |
else { | |
var i = this.tryParseUnquoted(e, t); | |
if (i) r += i; | |
else { | |
var l = this.tryParseLeftAngleBracket(); | |
if (!l) break; | |
r += l; | |
} | |
} | |
} | |
var u = M(n, this.clonePosition()); | |
return { val: { type: a.literal, value: r, location: u }, err: null }; | |
}), | |
(e.prototype.tryParseLeftAngleBracket = function () { | |
return this.isEOF() || 60 !== this.char() || (!this.ignoreTag && (te((e = this.peek() || 0)) || 47 === e)) ? null : (this.bump(), "<"); | |
var e; | |
}), | |
(e.prototype.tryParseQuote = function (e) { | |
if (this.isEOF() || 39 !== this.char()) return null; | |
switch (this.peek()) { | |
case 39: | |
return this.bump(), this.bump(), "'"; | |
case 123: | |
case 60: | |
case 62: | |
case 125: | |
break; | |
case 35: | |
if ("plural" === e || "selectordinal" === e) break; | |
return null; | |
default: | |
return null; | |
} | |
this.bump(); | |
var t = [this.char()]; | |
for (this.bump(); !this.isEOF(); ) { | |
var n = this.char(); | |
if (39 === n) { | |
if (39 !== this.peek()) { | |
this.bump(); | |
break; | |
} | |
t.push(39), this.bump(); | |
} else t.push(n); | |
this.bump(); | |
} | |
return W.apply(void 0, t); | |
}), | |
(e.prototype.tryParseUnquoted = function (e, t) { | |
if (this.isEOF()) return null; | |
var n = this.char(); | |
return 60 === n || 123 === n || (35 === n && ("plural" === t || "selectordinal" === t)) || (125 === n && e > 0) ? null : (this.bump(), W(n)); | |
}), | |
(e.prototype.parseArgument = function (e, t) { | |
var n = this.clonePosition(); | |
if ((this.bump(), this.bumpSpace(), this.isEOF())) return this.error(r.EXPECT_ARGUMENT_CLOSING_BRACE, M(n, this.clonePosition())); | |
if (125 === this.char()) return this.bump(), this.error(r.EMPTY_ARGUMENT, M(n, this.clonePosition())); | |
var o = this.parseIdentifierIfPossible().value; | |
if (!o) return this.error(r.MALFORMED_ARGUMENT, M(n, this.clonePosition())); | |
if ((this.bumpSpace(), this.isEOF())) return this.error(r.EXPECT_ARGUMENT_CLOSING_BRACE, M(n, this.clonePosition())); | |
switch (this.char()) { | |
case 125: | |
return this.bump(), { val: { type: a.argument, value: o, location: M(n, this.clonePosition()) }, err: null }; | |
case 44: | |
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(r.EXPECT_ARGUMENT_CLOSING_BRACE, M(n, this.clonePosition())) : this.parseArgumentOptions(e, t, o, n); | |
default: | |
return this.error(r.MALFORMED_ARGUMENT, M(n, this.clonePosition())); | |
} | |
}), | |
(e.prototype.parseIdentifierIfPossible = function () { | |
var e = this.clonePosition(), | |
t = this.offset(), | |
n = $(this.message, t), | |
r = t + n.length; | |
return this.bumpTo(r), { value: n, location: M(e, this.clonePosition()) }; | |
}), | |
(e.prototype.parseArgumentOptions = function (e, t, n, l) { | |
var u, | |
s = this.clonePosition(), | |
c = this.parseIdentifierIfPossible().value, | |
f = this.clonePosition(); | |
switch (c) { | |
case "": | |
return this.error(r.EXPECT_ARGUMENT_TYPE, M(s, f)); | |
case "number": | |
case "date": | |
case "time": | |
this.bumpSpace(); | |
var d = null; | |
if (this.bumpIf(",")) { | |
this.bumpSpace(); | |
var h = this.clonePosition(); | |
if ((w = this.parseSimpleArgStyleIfPossible()).err) return w; | |
if (0 === (g = J(w.val)).length) return this.error(r.EXPECT_ARGUMENT_STYLE, M(this.clonePosition(), this.clonePosition())); | |
d = { style: g, styleLocation: M(h, this.clonePosition()) }; | |
} | |
if ((S = this.tryParseArgumentClose(l)).err) return S; | |
var p = M(l, this.clonePosition()); | |
if (d && Z(null == d ? void 0 : d.style, "::", 0)) { | |
var A = Y(d.style.slice(2)); | |
if ("number" === c) return (w = this.parseNumberSkeletonFromString(A, d.styleLocation)).err ? w : { val: { type: a.number, value: n, location: p, style: w.val }, err: null }; | |
if (0 === A.length) return this.error(r.EXPECT_DATE_TIME_SKELETON, p); | |
var m = A; | |
this.locale && | |
(m = (function (e, t) { | |
for (var n = "", r = 0; r < e.length; r++) { | |
var a = e.charAt(r); | |
if ("j" === a) { | |
for (var o = 0; r + 1 < e.length && e.charAt(r + 1) === a; ) o++, r++; | |
var i = 1 + (1 & o), | |
l = o < 2 ? 1 : 3 + (o >> 1), | |
u = x(t); | |
for (("H" != u && "k" != u) || (l = 0); l-- > 0; ) n += "a"; | |
for (; i-- > 0; ) n = u + n; | |
} else n += "J" === a ? "H" : a; | |
} | |
return n; | |
})(A, this.locale)); | |
var g = { type: o.dateTime, pattern: m, location: d.styleLocation, parsedOptions: this.shouldParseSkeletons ? b(m) : {} }; | |
return { val: { type: "date" === c ? a.date : a.time, value: n, location: p, style: g }, err: null }; | |
} | |
return { val: { type: "number" === c ? a.number : "date" === c ? a.date : a.time, value: n, location: p, style: null !== (u = null == d ? void 0 : d.style) && void 0 !== u ? u : null }, err: null }; | |
case "plural": | |
case "selectordinal": | |
case "select": | |
var y = this.clonePosition(); | |
if ((this.bumpSpace(), !this.bumpIf(","))) return this.error(r.EXPECT_SELECT_ARGUMENT_OPTIONS, M(y, (0, i.pi)({}, y))); | |
this.bumpSpace(); | |
var v = this.parseIdentifierIfPossible(), | |
E = 0; | |
if ("select" !== c && "offset" === v.value) { | |
if (!this.bumpIf(":")) return this.error(r.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, M(this.clonePosition(), this.clonePosition())); | |
var w; | |
if ((this.bumpSpace(), (w = this.tryParseDecimalInteger(r.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, r.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)) return w; | |
this.bumpSpace(), (v = this.parseIdentifierIfPossible()), (E = w.val); | |
} | |
var S, | |
T = this.tryParsePluralOrSelectOptions(e, c, t, v); | |
if (T.err) return T; | |
if ((S = this.tryParseArgumentClose(l)).err) return S; | |
var _ = M(l, this.clonePosition()); | |
return "select" === c | |
? { val: { type: a.select, value: n, options: Q(T.val), location: _ }, err: null } | |
: { val: { type: a.plural, value: n, options: Q(T.val), offset: E, pluralType: "plural" === c ? "cardinal" : "ordinal", location: _ }, err: null }; | |
default: | |
return this.error(r.INVALID_ARGUMENT_TYPE, M(s, f)); | |
} | |
}), | |
(e.prototype.tryParseArgumentClose = function (e) { | |
return this.isEOF() || 125 !== this.char() ? this.error(r.EXPECT_ARGUMENT_CLOSING_BRACE, M(e, this.clonePosition())) : (this.bump(), { val: !0, err: null }); | |
}), | |
(e.prototype.parseSimpleArgStyleIfPossible = function () { | |
for (var e = 0, t = this.clonePosition(); !this.isEOF(); ) { | |
switch (this.char()) { | |
case 39: | |
this.bump(); | |
var n = this.clonePosition(); | |
if (!this.bumpUntil("'")) return this.error(r.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, M(n, this.clonePosition())); | |
this.bump(); | |
break; | |
case 123: | |
(e += 1), this.bump(); | |
break; | |
case 125: | |
if (!(e > 0)) return { val: this.message.slice(t.offset, this.offset()), err: null }; | |
e -= 1; | |
break; | |
default: | |
this.bump(); | |
} | |
} | |
return { val: this.message.slice(t.offset, this.offset()), err: null }; | |
}), | |
(e.prototype.parseNumberSkeletonFromString = function (e, t) { | |
var n = []; | |
try { | |
n = (function (e) { | |
if (0 === e.length) throw new Error("Number skeleton cannot be empty"); | |
for ( | |
var t = [], | |
n = 0, | |
r = e.split(E).filter(function (e) { | |
return e.length > 0; | |
}); | |
n < r.length; | |
n++ | |
) { | |
var a = r[n].split("/"); | |
if (0 === a.length) throw new Error("Invalid number skeleton"); | |
for (var o = a[0], i = a.slice(1), l = 0, u = i; l < u.length; l++) if (0 === u[l].length) throw new Error("Invalid number skeleton"); | |
t.push({ stem: o, options: i }); | |
} | |
return t; | |
})(e); | |
} catch (e) { | |
return this.error(r.INVALID_NUMBER_SKELETON, t); | |
} | |
return { val: { type: o.number, tokens: n, location: t, parsedOptions: this.shouldParseSkeletons ? R(n) : {} }, err: null }; | |
}), | |
(e.prototype.tryParsePluralOrSelectOptions = function (e, t, n, a) { | |
for (var o, i = !1, l = [], u = new Set(), s = a.value, c = a.location; ; ) { | |
if (0 === s.length) { | |
var f = this.clonePosition(); | |
if ("select" === t || !this.bumpIf("=")) break; | |
var d = this.tryParseDecimalInteger(r.EXPECT_PLURAL_ARGUMENT_SELECTOR, r.INVALID_PLURAL_ARGUMENT_SELECTOR); | |
if (d.err) return d; | |
(c = M(f, this.clonePosition())), (s = this.message.slice(f.offset, this.offset())); | |
} | |
if (u.has(s)) return this.error("select" === t ? r.DUPLICATE_SELECT_ARGUMENT_SELECTOR : r.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, c); | |
"other" === s && (i = !0), this.bumpSpace(); | |
var h = this.clonePosition(); | |
if (!this.bumpIf("{")) return this.error("select" === t ? r.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : r.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, M(this.clonePosition(), this.clonePosition())); | |
var p = this.parseMessage(e + 1, t, n); | |
if (p.err) return p; | |
var A = this.tryParseArgumentClose(h); | |
if (A.err) return A; | |
l.push([s, { value: p.val, location: M(h, this.clonePosition()) }]), u.add(s), this.bumpSpace(), (s = (o = this.parseIdentifierIfPossible()).value), (c = o.location); | |
} | |
return 0 === l.length | |
? this.error("select" === t ? r.EXPECT_SELECT_ARGUMENT_SELECTOR : r.EXPECT_PLURAL_ARGUMENT_SELECTOR, M(this.clonePosition(), this.clonePosition())) | |
: this.requiresOtherClause && !i | |
? this.error(r.MISSING_OTHER_CLAUSE, M(this.clonePosition(), this.clonePosition())) | |
: { val: l, err: null }; | |
}), | |
(e.prototype.tryParseDecimalInteger = function (e, t) { | |
var n = 1, | |
r = this.clonePosition(); | |
this.bumpIf("+") || (this.bumpIf("-") && (n = -1)); | |
for (var a = !1, o = 0; !this.isEOF(); ) { | |
var i = this.char(); | |
if (!(i >= 48 && i <= 57)) break; | |
(a = !0), (o = 10 * o + (i - 48)), this.bump(); | |
} | |
var l = M(r, this.clonePosition()); | |
return a ? (G((o *= n)) ? { val: o, err: null } : this.error(t, l)) : this.error(e, l); | |
}), | |
(e.prototype.offset = function () { | |
return this.position.offset; | |
}), | |
(e.prototype.isEOF = function () { | |
return this.offset() === this.message.length; | |
}), | |
(e.prototype.clonePosition = function () { | |
return { offset: this.position.offset, line: this.position.line, column: this.position.column }; | |
}), | |
(e.prototype.char = function () { | |
var e = this.position.offset; | |
if (e >= this.message.length) throw Error("out of bound"); | |
var t = q(this.message, e); | |
if (void 0 === t) throw Error("Offset ".concat(e, " is at invalid UTF-16 code unit boundary")); | |
return t; | |
}), | |
(e.prototype.error = function (e, t) { | |
return { val: null, err: { kind: e, message: this.message, location: t } }; | |
}), | |
(e.prototype.bump = function () { | |
if (!this.isEOF()) { | |
var e = this.char(); | |
10 === e ? ((this.position.line += 1), (this.position.column = 1), (this.position.offset += 1)) : ((this.position.column += 1), (this.position.offset += e < 65536 ? 1 : 2)); | |
} | |
}), | |
(e.prototype.bumpIf = function (e) { | |
if (Z(this.message, e, this.offset())) { | |
for (var t = 0; t < e.length; t++) this.bump(); | |
return !0; | |
} | |
return !1; | |
}), | |
(e.prototype.bumpUntil = function (e) { | |
var t = this.offset(), | |
n = this.message.indexOf(e, t); | |
return n >= 0 ? (this.bumpTo(n), !0) : (this.bumpTo(this.message.length), !1); | |
}), | |
(e.prototype.bumpTo = function (e) { | |
if (this.offset() > e) throw Error("targetOffset ".concat(e, " must be greater than or equal to the current offset ").concat(this.offset())); | |
for (e = Math.min(e, this.message.length); ; ) { | |
var t = this.offset(); | |
if (t === e) break; | |
if (t > e) throw Error("targetOffset ".concat(e, " is at invalid UTF-16 code unit boundary")); | |
if ((this.bump(), this.isEOF())) break; | |
} | |
}), | |
(e.prototype.bumpSpace = function () { | |
for (; !this.isEOF() && ne(this.char()); ) this.bump(); | |
}), | |
(e.prototype.peek = function () { | |
if (this.isEOF()) return null; | |
var e = this.char(), | |
t = this.offset(), | |
n = this.message.charCodeAt(t + (e >= 65536 ? 2 : 1)); | |
return null != n ? n : null; | |
}), | |
e | |
); | |
})(); | |
function te(e) { | |
return (e >= 97 && e <= 122) || (e >= 65 && e <= 90); | |
} | |
function ne(e) { | |
return (e >= 9 && e <= 13) || 32 === e || 133 === e || (e >= 8206 && e <= 8207) || 8232 === e || 8233 === e; | |
} | |
function re(e) { | |
return ( | |
(e >= 33 && e <= 35) || | |
36 === e || | |
(e >= 37 && e <= 39) || | |
40 === e || | |
41 === e || | |
42 === e || | |
43 === e || | |
44 === e || | |
45 === e || | |
(e >= 46 && e <= 47) || | |
(e >= 58 && e <= 59) || | |
(e >= 60 && e <= 62) || | |
(e >= 63 && e <= 64) || | |
91 === e || | |
92 === e || | |
93 === e || | |
94 === e || | |
96 === e || | |
123 === e || | |
124 === e || | |
125 === e || | |
126 === e || | |
161 === e || | |
(e >= 162 && e <= 165) || | |
166 === e || | |
167 === e || | |
169 === e || | |
171 === e || | |
172 === e || | |
174 === e || | |
176 === e || | |
177 === e || | |
182 === e || | |
187 === e || | |
191 === e || | |
215 === e || | |
247 === e || | |
(e >= 8208 && e <= 8213) || | |
(e >= 8214 && e <= 8215) || | |
8216 === e || | |
8217 === e || | |
8218 === e || | |
(e >= 8219 && e <= 8220) || | |
8221 === e || | |
8222 === e || | |
8223 === e || | |
(e >= 8224 && e <= 8231) || | |
(e >= 8240 && e <= 8248) || | |
8249 === e || | |
8250 === e || | |
(e >= 8251 && e <= 8254) || | |
(e >= 8257 && e <= 8259) || | |
8260 === e || | |
8261 === e || | |
8262 === e || | |
(e >= 8263 && e <= 8273) || | |
8274 === e || | |
8275 === e || | |
(e >= 8277 && e <= 8286) || | |
(e >= 8592 && e <= 8596) || | |
(e >= 8597 && e <= 8601) || | |
(e >= 8602 && e <= 8603) || | |
(e >= 8604 && e <= 8607) || | |
8608 === e || | |
(e >= 8609 && e <= 8610) || | |
8611 === e || | |
(e >= 8612 && e <= 8613) || | |
8614 === e || | |
(e >= 8615 && e <= 8621) || | |
8622 === e || | |
(e >= 8623 && e <= 8653) || | |
(e >= 8654 && e <= 8655) || | |
(e >= 8656 && e <= 8657) || | |
8658 === e || | |
8659 === e || | |
8660 === e || | |
(e >= 8661 && e <= 8691) || | |
(e >= 8692 && e <= 8959) || | |
(e >= 8960 && e <= 8967) || | |
8968 === e || | |
8969 === e || | |
8970 === e || | |
8971 === e || | |
(e >= 8972 && e <= 8991) || | |
(e >= 8992 && e <= 8993) || | |
(e >= 8994 && e <= 9e3) || | |
9001 === e || | |
9002 === e || | |
(e >= 9003 && e <= 9083) || | |
9084 === e || | |
(e >= 9085 && e <= 9114) || | |
(e >= 9115 && e <= 9139) || | |
(e >= 9140 && e <= 9179) || | |
(e >= 9180 && e <= 9185) || | |
(e >= 9186 && e <= 9254) || | |
(e >= 9255 && e <= 9279) || | |
(e >= 9280 && e <= 9290) || | |
(e >= 9291 && e <= 9311) || | |
(e >= 9472 && e <= 9654) || | |
9655 === e || | |
(e >= 9656 && e <= 9664) || | |
9665 === e || | |
(e >= 9666 && e <= 9719) || | |
(e >= 9720 && e <= 9727) || | |
(e >= 9728 && e <= 9838) || | |
9839 === e || | |
(e >= 9840 && e <= 10087) || | |
10088 === e || | |
10089 === e || | |
10090 === e || | |
10091 === e || | |
10092 === e || | |
10093 === e || | |
10094 === e || | |
10095 === e || | |
10096 === e || | |
10097 === e || | |
10098 === e || | |
10099 === e || | |
10100 === e || | |
10101 === e || | |
(e >= 10132 && e <= 10175) || | |
(e >= 10176 && e <= 10180) || | |
10181 === e || | |
10182 === e || | |
(e >= 10183 && e <= 10213) || | |
10214 === e || | |
10215 === e || | |
10216 === e || | |
10217 === e || | |
10218 === e || | |
10219 === e || | |
10220 === e || | |
10221 === e || | |
10222 === e || | |
10223 === e || | |
(e >= 10224 && e <= 10239) || | |
(e >= 10240 && e <= 10495) || | |
(e >= 10496 && e <= 10626) || | |
10627 === e || | |
10628 === e || | |
10629 === e || | |
10630 === e || | |
10631 === e || | |
10632 === e || | |
10633 === e || | |
10634 === e || | |
10635 === e || | |
10636 === e || | |
10637 === e || | |
10638 === e || | |
10639 === e || | |
10640 === e || | |
10641 === e || | |
10642 === e || | |
10643 === e || | |
10644 === e || | |
10645 === e || | |
10646 === e || | |
10647 === e || | |
10648 === e || | |
(e >= 10649 && e <= 10711) || | |
10712 === e || | |
10713 === e || | |
10714 === e || | |
10715 === e || | |
(e >= 10716 && e <= 10747) || | |
10748 === e || | |
10749 === e || | |
(e >= 10750 && e <= 11007) || | |
(e >= 11008 && e <= 11055) || | |
(e >= 11056 && e <= 11076) || | |
(e >= 11077 && e <= 11078) || | |
(e >= 11079 && e <= 11084) || | |
(e >= 11085 && e <= 11123) || | |
(e >= 11124 && e <= 11125) || | |
(e >= 11126 && e <= 11157) || | |
11158 === e || | |
(e >= 11159 && e <= 11263) || | |
(e >= 11776 && e <= 11777) || | |
11778 === e || | |
11779 === e || | |
11780 === e || | |
11781 === e || | |
(e >= 11782 && e <= 11784) || | |
11785 === e || | |
11786 === e || | |
11787 === e || | |
11788 === e || | |
11789 === e || | |
(e >= 11790 && e <= 11798) || | |
11799 === e || | |
(e >= 11800 && e <= 11801) || | |
11802 === e || | |
11803 === e || | |
11804 === e || | |
11805 === e || | |
(e >= 11806 && e <= 11807) || | |
11808 === e || | |
11809 === e || | |
11810 === e || | |
11811 === e || | |
11812 === e || | |
11813 === e || | |
11814 === e || | |
11815 === e || | |
11816 === e || | |
11817 === e || | |
(e >= 11818 && e <= 11822) || | |
11823 === e || | |
(e >= 11824 && e <= 11833) || | |
(e >= 11834 && e <= 11835) || | |
(e >= 11836 && e <= 11839) || | |
11840 === e || | |
11841 === e || | |
11842 === e || | |
(e >= 11843 && e <= 11855) || | |
(e >= 11856 && e <= 11857) || | |
11858 === e || | |
(e >= 11859 && e <= 11903) || | |
(e >= 12289 && e <= 12291) || | |
12296 === e || | |
12297 === e || | |
12298 === e || | |
12299 === e || | |
12300 === e || | |
12301 === e || | |
12302 === e || | |
12303 === e || | |
12304 === e || | |
12305 === e || | |
(e >= 12306 && e <= 12307) || | |
12308 === e || | |
12309 === e || | |
12310 === e || | |
12311 === e || | |
12312 === e || | |
12313 === e || | |
12314 === e || | |
12315 === e || | |
12316 === e || | |
12317 === e || | |
(e >= 12318 && e <= 12319) || | |
12320 === e || | |
12336 === e || | |
64830 === e || | |
64831 === e || | |
(e >= 65093 && e <= 65094) | |
); | |
} | |
function ae(e) { | |
e.forEach(function (e) { | |
if ((delete e.location, d(e) || h(e))) for (var t in e.options) delete e.options[t].location, ae(e.options[t].value); | |
else (s(e) && m(e.style)) || ((c(e) || f(e)) && g(e.style)) ? delete e.style.location : A(e) && ae(e.children); | |
}); | |
} | |
function oe(e, t) { | |
void 0 === t && (t = {}), (t = (0, i.pi)({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t)); | |
var n = new ee(e, t).parse(); | |
if (n.err) { | |
var a = SyntaxError(r[n.err.kind]); | |
throw ((a.location = n.err.location), (a.originalMessage = n.err.message), a); | |
} | |
return (null == t ? void 0 : t.captureLocation) || ae(n.val), n.val; | |
} | |
}, | |
9937: (e, t, n) => { | |
"use strict"; | |
n.d(t, { $6: () => f, OV: () => l, Qe: () => s, Rw: () => o, X9: () => c, bc: () => r, gb: () => u, wI: () => i }); | |
var r, | |
a = n(3940); | |
!(function (e) { | |
(e.FORMAT_ERROR = "FORMAT_ERROR"), (e.UNSUPPORTED_FORMATTER = "UNSUPPORTED_FORMATTER"), (e.INVALID_CONFIG = "INVALID_CONFIG"), (e.MISSING_DATA = "MISSING_DATA"), (e.MISSING_TRANSLATION = "MISSING_TRANSLATION"); | |
})(r || (r = {})); | |
var o = (function (e) { | |
function t(n, r, a) { | |
var o = this, | |
i = a ? (a instanceof Error ? a : new Error(String(a))) : void 0; | |
return ( | |
((o = | |
e.call( | |
this, | |
"[@formatjs/intl Error " | |
.concat(n, "] ") | |
.concat(r, "\n") | |
.concat(i ? "\n".concat(i.message, "\n").concat(i.stack) : "") | |
) || this).code = n), | |
"function" == typeof Error.captureStackTrace && Error.captureStackTrace(o, t), | |
o | |
); | |
} | |
return (0, a.ZT)(t, e), t; | |
})(Error), | |
i = (function (e) { | |
function t(t, n) { | |
return e.call(this, r.UNSUPPORTED_FORMATTER, t, n) || this; | |
} | |
return (0, a.ZT)(t, e), t; | |
})(o), | |
l = (function (e) { | |
function t(t, n) { | |
return e.call(this, r.INVALID_CONFIG, t, n) || this; | |
} | |
return (0, a.ZT)(t, e), t; | |
})(o), | |
u = (function (e) { | |
function t(t, n) { | |
return e.call(this, r.MISSING_DATA, t, n) || this; | |
} | |
return (0, a.ZT)(t, e), t; | |
})(o), | |
s = (function (e) { | |
function t(t, n, a) { | |
return e.call(this, r.FORMAT_ERROR, "".concat(t, "\nLocale: ").concat(n, "\n"), a) || this; | |
} | |
return (0, a.ZT)(t, e), t; | |
})(o), | |
c = (function (e) { | |
function t(t, n, r, a) { | |
var o = | |
e.call( | |
this, | |
"" | |
.concat(t, "\nMessageID: ") | |
.concat(null == r ? void 0 : r.id, "\nDefault Message: ") | |
.concat(null == r ? void 0 : r.defaultMessage, "\nDescription: ") | |
.concat(null == r ? void 0 : r.description, "\n"), | |
n, | |
a | |
) || this; | |
return (o.descriptor = r), o; | |
} | |
return (0, a.ZT)(t, e), t; | |
})(s), | |
f = (function (e) { | |
function t(t, n) { | |
var a = | |
e.call( | |
this, | |
r.MISSING_TRANSLATION, | |
'Missing message: "' | |
.concat(t.id, '" for locale "') | |
.concat(n, '", using ') | |
.concat( | |
t.defaultMessage | |
? "default message (".concat( | |
"string" == typeof t.defaultMessage | |
? t.defaultMessage | |
: t.defaultMessage | |
.map(function (e) { | |
var t; | |
return null !== (t = e.value) && void 0 !== t ? t : JSON.stringify(e); | |
}) | |
.join(), | |
")" | |
) | |
: "id", | |
" as fallback." | |
) | |
) || this; | |
return (a.descriptor = t), a; | |
} | |
return (0, a.ZT)(t, e), t; | |
})(o); | |
}, | |
3293: (e, t, n) => { | |
"use strict"; | |
n.d(t, { L6: () => l, Sn: () => s, TB: () => d, Z0: () => u, ax: () => f }); | |
var r = n(3940), | |
a = n(4986), | |
o = n(5610), | |
i = n(9937); | |
function l(e, t, n) { | |
return ( | |
void 0 === n && (n = {}), | |
t.reduce(function (t, r) { | |
return r in e ? (t[r] = e[r]) : r in n && (t[r] = n[r]), t; | |
}, {}) | |
); | |
} | |
var u = { | |
formats: {}, | |
messages: {}, | |
timeZone: void 0, | |
defaultLocale: "en", | |
defaultFormats: {}, | |
fallbackOnEmptyString: !0, | |
onError: function (e) { | |
0; | |
}, | |
onWarn: function (e) { | |
0; | |
}, | |
}; | |
function s() { | |
return { dateTime: {}, number: {}, message: {}, relativeTime: {}, pluralRules: {}, list: {}, displayNames: {} }; | |
} | |
function c(e) { | |
return { | |
create: function () { | |
return { | |
get: function (t) { | |
return e[t]; | |
}, | |
set: function (t, n) { | |
e[t] = n; | |
}, | |
}; | |
}, | |
}; | |
} | |
function f(e) { | |
void 0 === e && (e = { dateTime: {}, number: {}, message: {}, relativeTime: {}, pluralRules: {}, list: {}, displayNames: {} }); | |
var t = Intl.RelativeTimeFormat, | |
n = Intl.ListFormat, | |
i = Intl.DisplayNames, | |
l = (0, o.Z)( | |
function () { | |
for (var e, t = [], n = 0; n < arguments.length; n++) t[n] = arguments[n]; | |
return new ((e = Intl.DateTimeFormat).bind.apply(e, (0, r.ev)([void 0], t, !1)))(); | |
}, | |
{ cache: c(e.dateTime), strategy: o.A.variadic } | |
), | |
u = (0, o.Z)( | |
function () { | |
for (var e, t = [], n = 0; n < arguments.length; n++) t[n] = arguments[n]; | |
return new ((e = Intl.NumberFormat).bind.apply(e, (0, r.ev)([void 0], t, !1)))(); | |
}, | |
{ cache: c(e.number), strategy: o.A.variadic } | |
), | |
s = (0, o.Z)( | |
function () { | |
for (var e, t = [], n = 0; n < arguments.length; n++) t[n] = arguments[n]; | |
return new ((e = Intl.PluralRules).bind.apply(e, (0, r.ev)([void 0], t, !1)))(); | |
}, | |
{ cache: c(e.pluralRules), strategy: o.A.variadic } | |
); | |
return { | |
getDateTimeFormat: l, | |
getNumberFormat: u, | |
getMessageFormat: (0, o.Z)( | |
function (e, t, n, o) { | |
return new a.C(e, t, n, (0, r.pi)({ formatters: { getNumberFormat: u, getDateTimeFormat: l, getPluralRules: s } }, o || {})); | |
}, | |
{ cache: c(e.message), strategy: o.A.variadic } | |
), | |
getRelativeTimeFormat: (0, o.Z)( | |
function () { | |
for (var e = [], n = 0; n < arguments.length; n++) e[n] = arguments[n]; | |
return new (t.bind.apply(t, (0, r.ev)([void 0], e, !1)))(); | |
}, | |
{ cache: c(e.relativeTime), strategy: o.A.variadic } | |
), | |
getPluralRules: s, | |
getListFormat: (0, o.Z)( | |
function () { | |
for (var e = [], t = 0; t < arguments.length; t++) e[t] = arguments[t]; | |
return new (n.bind.apply(n, (0, r.ev)([void 0], e, !1)))(); | |
}, | |
{ cache: c(e.list), strategy: o.A.variadic } | |
), | |
getDisplayNames: (0, o.Z)( | |
function () { | |
for (var e = [], t = 0; t < arguments.length; t++) e[t] = arguments[t]; | |
return new (i.bind.apply(i, (0, r.ev)([void 0], e, !1)))(); | |
}, | |
{ cache: c(e.displayNames), strategy: o.A.variadic } | |
), | |
}; | |
} | |
function d(e, t, n, r) { | |
var a, | |
o = e && e[t]; | |
if ((o && (a = o[n]), a)) return a; | |
r(new i.wI("No ".concat(t, " format named: ").concat(n))); | |
} | |
}, | |
4026: (e, t, n) => { | |
"use strict"; | |
n.d(t, { eC: () => r }); | |
const r = (e, t) => { | |
((e, t) => { | |
e instanceof HTMLInputElement && t.setAttribute("value", e.value), e instanceof HTMLTextAreaElement && (t.textContent = e.value); | |
})(e, t), | |
((e) => { | |
if (e instanceof SVGElement && (e.setAttribute("xmlns", "http://www.w3.org/2000/svg"), e instanceof SVGRectElement)) | |
for (const t of ["width", "height"]) { | |
const n = e.getAttribute(t); | |
n && e.style.setProperty(t, n); | |
} | |
})(t); | |
}; | |
}, | |
9994: (e, t, n) => { | |
"use strict"; | |
var r; | |
n.d(t, { SE: () => _ }), | |
(function (e) { | |
(e.options = { cache: "force-cache" }), | |
(e.setOptions = (t) => { | |
e.options = { ...t }; | |
}), | |
(e.getRequest = (t) => ({ cache: e.options.cache ?? void 0, credentials: e.options.credentials ?? void 0, mode: e.options.mode ?? void 0, redirect: e.options.redirect ?? void 0 })), | |
(e.load = async (t) => { | |
const n = await fetch(t, { ...e.getRequest(t), method: "get" }); | |
if (n.ok) return await n.blob(); | |
throw new Error(`Cannot load asset [${t}]: ${n.status} ${n.statusText}`); | |
}), | |
(e.mimeTypes = { | |
gif: "image/gif", | |
jpg: "image/jpeg", | |
jpeg: "image/jpeg", | |
png: "image/png", | |
svg: "image/svg+xml", | |
tiff: "image/tiff", | |
ttf: "application/font-truetype", | |
woff: "application/font-woff", | |
woff2: "application/font-woff", | |
}), | |
(e.parsePathExt = (e) => { | |
let t; | |
return (t = e.indexOf("#")), -1 !== t && (e = e.substring(0, t)), (t = e.indexOf("?")), -1 !== t && (e = e.substring(0, t)), (t = e.lastIndexOf(".")), -1 !== t ? e.substring(t + 1).toLowerCase() : ""; | |
}), | |
(e.getMimeType = (t, n = null) => e.mimeTypes[e.parsePathExt(t)] ?? n ?? "application/octet-stream"); | |
})(r || (r = {})); | |
const a = ((e = 8) => { | |
const t = []; | |
for (let e = 0; e < 10; e++) t.push(48 + e); | |
for (let e = 0; e < 26; e++) t.push(65 + e); | |
for (let e = 0; e < 26; e++) t.push(97 + e); | |
const n = new Array(e).fill(0), | |
r = () => t[Math.floor(Math.random() * t.length)]; | |
return () => String.fromCodePoint(...n.map(r)); | |
})(), | |
o = (e) => e.startsWith("data:"), | |
i = ({ mimeType: e = "text/plain", encoding: t = "ascii", data: n }) => { | |
let r = "", | |
a = ""; | |
return null != e && "text/plain" !== e && (r = e), "base64" === t && (a = ";base64"), `data:${r}${a},${n}`; | |
}, | |
l = /url\(['"]?([^'"]+?)['"]?\)/g, | |
u = (e) => -1 !== e.search(l), | |
s = (e) => e.replace(/([.*+?^${}()|[\]/\\])/g, "\\$1"), | |
c = (e) => e.style, | |
f = (e) => | |
new Promise((t, n) => { | |
const r = new FileReader(); | |
(r.onload = () => { | |
t( | |
((e) => { | |
if (!o(e)) throw new Error("Not a data url."); | |
const t = e.indexOf(","); | |
if (-1 === t) throw new Error("Not a data url."); | |
const n = e.substring(t + 1); | |
let r, | |
a, | |
i = e.substring(5, t); | |
return i.endsWith(";base64") ? ((i = i.substring(0, i.length - 7)), (a = "base64")) : (a = "ascii"), (r = "" !== i ? i : "text/plain"), { mimeType: r, encoding: a, data: n }; | |
})(r.result) | |
); | |
}), | |
(r.onerror = () => { | |
n(new Error("readBlobAsDataUrl")); | |
}), | |
r.readAsDataURL(e); | |
}), | |
d = (e) => | |
new Promise((t, n) => { | |
const a = new Image(); | |
(a.onload = () => { | |
t(a); | |
}), | |
(a.onerror = () => { | |
n(new Error("makeImage")); | |
}); | |
const { options: o } = r; | |
null != o.crossOrigin && (a.crossOrigin = o.crossOrigin), (a.src = e); | |
}); | |
var h = n(4026); | |
const p = (e, t = null) => | |
((e) => { | |
const t = new Map(), | |
{ length: n } = e; | |
for (let r = 0; r < n; r++) { | |
const n = e.item(r); | |
t.set(n, e.getPropertyValue(n)); | |
} | |
return t; | |
})(getComputedStyle(e, t)), | |
A = new Map(), | |
m = (e, t = null) => { | |
const n = `${e.tagName}${t ?? ""}`; | |
let r = A.get(n); | |
if (null == r) { | |
const e = new Document(), | |
a = e.createElement(n); | |
e.appendChild(a), A.set(n, (r = p(a, t))); | |
} | |
return r; | |
}, | |
g = new Set(["IFRAME", "OBJECT", "EMBED", "VIDEO", "AUDIO"]); | |
async function y(e, t) { | |
const n = await (async function (e, t) { | |
const { cloner: n, filter: r } = t; | |
if (null != n) { | |
const t = await n(e); | |
if (null != t) return t; | |
} | |
if (null != r && !r(e)) return null; | |
if (g.has(e.nodeName)) return null; | |
if (e instanceof HTMLCanvasElement) return await d(e.toDataURL()); | |
return e.cloneNode(!1); | |
})(e, t); | |
return ( | |
null != n && | |
(v(e, n, ":before"), | |
v(e, n, ":after"), | |
await (async function (e, t, n) { | |
for (const r of e.childNodes) | |
if (r.nodeType === Node.ELEMENT_NODE) { | |
const e = await y(r, n); | |
null != e && t.appendChild(e); | |
} else t.appendChild(r.cloneNode(!1)); | |
})(e, n, t), | |
((e, t) => { | |
t.removeAttribute("class"), t.removeAttribute("style"); | |
const n = m(e), | |
r = p(e), | |
a = c(t); | |
for (const [e, t] of r) t !== n.get(e) && a.setProperty(e, t); | |
})(e, n), | |
(0, h.eC)(e, n)), | |
n | |
); | |
} | |
function v(e, t, n) { | |
const r = p(e, n); | |
if ("" === (r.get("content") ?? "")) return; | |
const o = `cls-${a()}`; | |
t.classList.add(o); | |
const i = `.${o}${n} { ${[...r.entries()].map(([e, t]) => `${e}:${t}`).join("; ")} }`, | |
l = document.createElement("style"); | |
l.appendChild(document.createTextNode(i)), t.appendChild(l); | |
} | |
const b = async (e, t = null) => { | |
const n = async (e, n) => { | |
const a = t ? ((e, t) => String(new URL(e, t)))(n, t) : n, | |
o = await r.load(a), | |
{ mimeType: l, encoding: u, data: c } = await f(o), | |
d = i({ mimeType: r.getMimeType(n, l), encoding: u, data: c }); | |
return e.replace(new RegExp(`(url\\(['"]?)(${s(n)})(['"]?\\))`, "g"), `$1${d}$3`); | |
}; | |
if (u(e)) | |
for (const t of ((e) => { | |
const t = []; | |
let n; | |
for (; null != (n = l.exec(e)); ) { | |
const e = n[1]; | |
o(e) || t.push(e); | |
} | |
return t; | |
})(e)) | |
e = await n(e, t); | |
return e; | |
}; | |
async function E(e) { | |
const t = await (async function () { | |
const e = []; | |
for (const t of (function (e) { | |
const t = []; | |
for (const n of e) for (const e of n.cssRules) e instanceof CSSFontFaceRule && u(e.style.getPropertyValue("src")) && t.push(e); | |
return t; | |
})([...document.styleSheets])) { | |
const n = t.cssText, | |
r = t.parentStyleSheet?.href ?? null; | |
e.push(await b(n, r)); | |
} | |
return e.join("\n"); | |
})(), | |
n = document.createElement("style"); | |
e.appendChild(n), n.appendChild(document.createTextNode(t)); | |
} | |
async function w(e) { | |
if ( | |
(await (async function (e) { | |
const t = c(e), | |
{ length: n } = t; | |
for (let e = 0; e < n; e++) { | |
const n = t.item(e), | |
r = t.getPropertyValue(n); | |
"" !== r && t.setProperty(n, await b(r)); | |
} | |
})(e), | |
e instanceof HTMLImageElement) | |
) | |
return await (async function (e) { | |
const t = e.src; | |
if (!o(t)) { | |
const n = await r.load(t), | |
{ mimeType: a, encoding: o, data: l } = await f(n), | |
u = i({ mimeType: r.getMimeType(t, a), encoding: o, data: l }); | |
return new Promise((n, r) => { | |
(e.onload = () => { | |
n(); | |
}), | |
(e.onerror = () => { | |
r(new Error(`Cannot load image [${t}].`)); | |
}), | |
(e.src = u); | |
}); | |
} | |
})(e); | |
for (const t of e.childNodes) t.nodeType === Node.ELEMENT_NODE && (await w(t)); | |
} | |
const S = async (e, t) => { | |
const n = await y(e, t); | |
if (null == n) throw new Error("Cannot clone the root element."); | |
await w(n), await E(n); | |
const r = c(n); | |
return ( | |
((e) => { | |
for (const t of ["inset", "inset-block", "inset-block-start", "inset-block-end", "inset-inline", "inset-inline-start", "inset-inline-end", "left", "right", "top", "bottom"]) e.removeProperty(t); | |
e.setProperty("inset", "0px"); | |
})(r), | |
((e, { width: t, height: n, backgroundColor: r, style: a }) => { | |
null != t && (e.width = `${t}px`), null != n && (e.height = `${n}px`), null != r && (e.backgroundColor = r), null != a && Object.assign(e, a); | |
})(r, t), | |
n | |
); | |
}, | |
T = async (e, t) => { | |
const n = ((e) => { | |
if ("string" == typeof e) { | |
const t = document.querySelector(e); | |
if (null == t) throw new Error(`Element [${e}] not found.`); | |
return t; | |
} | |
return e; | |
})(e), | |
[r, a] = ((e) => { | |
const { scrollWidth: t, scrollHeight: n } = e, | |
r = getComputedStyle(e), | |
a = (e) => { | |
const t = r.getPropertyValue(e); | |
return "" !== t && t.endsWith("px") ? Number.parseFloat(t.substring(0, t.length - 2)) : 0; | |
}; | |
return [t + a("border-left-width") + a("border-right-width"), n + a("border-top-width") + a("border-bottom-width")]; | |
})(n), | |
o = t.width ?? r, | |
l = t.height ?? a, | |
u = t.scale ?? 1, | |
s = t.backgroundColor ?? null, | |
c = await S(n, t), | |
f = await d( | |
((e, t, n) => { | |
e.setAttribute("xmlns", "http://www.w3.org/1999/xhtml"); | |
let r = new XMLSerializer().serializeToString(e).replace(/%/g, "%25").replace(/#/g, "%23").replace(/\n/g, "%0A"); | |
return ( | |
(r = `<foreignObject x="0" y="0" width="100%" height="100%">${r}</foreignObject>`), | |
(r = `<svg xmlns="http://www.w3.org/2000/svg" width="${t}" height="${n}">${r}</svg>`), | |
i({ mimeType: "image/svg+xml", data: r }) | |
); | |
})(c, o, l) | |
), | |
h = document.createElement("canvas"); | |
(h.width = o * u), (h.height = l * u); | |
const p = h.getContext("2d"); | |
return p.scale(u, u), null != s && ((p.fillStyle = s), p.fillRect(0, 0, h.width, h.height)), p.drawImage(f, 0, 0), h; | |
}, | |
_ = async (e, t, n, r) => | |
await ((e, t, n) => | |
new Promise((r, a) => { | |
e.toBlob( | |
(e) => { | |
null != e ? r(e) : a(new Error("canvasToBlob")); | |
}, | |
t, | |
n | |
); | |
}))(await T(e, t), n, r); | |
}, | |
6041: (e) => { | |
e.exports = [8232]; | |
}, | |
2643: (e, t, n) => { | |
e.exports = n(6394).flatMap((e) => Array.from(e.keys())); | |
}, | |
6394: (e, t, n) => { | |
e.exports = n(2581)( | |
"hhZg5AgoXAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAACBAAABACBDABACCBABAAAAABAABAABACAAABBBCFABABAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAABBAAACAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGBABBAADAAAAAAAAhEAajAAAACACCRAagiABCCAAAAAAAAAAAAAAAAAAAAAAAEAABABBgygvAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgvgowtGgqBCr3FwiBIh2grg-MAghhlAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIHFJHHHHFJHHHHNBHHHHHHEABFACCABHDBBHHJCABkRACBCAaADADABBHDDAg0AwqqgvAACBAAAAAADAABAFEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGAAADALglAAEA3kSAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAASAAAAAAAAAAAAAAAAAAAAAAAAAAAiGAAAAAAAAAAAACAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAAABAAAAAAAAADAAABAACAAAAAAAAAAAAAAAAAAAAEAEAAAAAAAAAAAAAAADAAAFAAAAAAAAAbACAs0gqEIGhP08_GLEwQoZwTMgniHgjiaKAOAGABwcCgywvMf1V_f2WZZZGARZZZDAAAGAKZZZZZZZZZZZZZZZZZbbYAFZYAFZYAFZYAFZYAFAAwczJATwoCgh" | |
); | |
}, | |
2617: (e, t, n) => { | |
e.exports = n(5878).flatMap((e) => Array.from(e.keys())); | |
}, | |
5878: (e, t, n) => { | |
e.exports = n(2581)( | |
"gwJh3BEABCwWgJiFJjFJmbJh1JDFhrJh1Jh1JBFhtMhyJHGhmJhnGGShsJhfJh1JhFTkLJhFJrOTtwCjuJFJVJkrJh_KikJFJi1JhVJiFJFJwQVACFFJjFgyBErVg7hNVp1dwVoAsIAYINClWDiJJdHAOfJgmO3NfJi7Jk_FiZJglJjFJVJhVJmVJ1MVJnsgsLg4QBlUagjDcAHAiFEjJJutHYGgmIhKEVFifBBPBgtg_IgzBdChKEhnHXHgoGlJFgvJkleidJgpDhvGiFdh_Jg7JiPJGTj6JlVJh1Jl1JhlJhlLmjShcJr1cjiJhFJoVUwQqhu0XwJhVJiFJAGsdW2RIThrYwRUgxwk_JmlJwXMIh_JsWg6ACADhLgsAOvBMwriJ" | |
); | |
}, | |
449: (e) => { | |
e.exports = [8233]; | |
}, | |
4573: (e, t, n) => { | |
e.exports = n(1240).flatMap((e) => Array.from(e.keys())); | |
}, | |
1240: (e, t, n) => { | |
e.exports = n(2581)("ggAh-AxXeAwl-KgjAguAw-fA"); | |
}, | |
1225: (e, t, n) => { | |
e.exports = n(9042).flatMap((e) => Array.from(e.keys())); | |
}, | |
9042: (e, t, n) => { | |
e.exports = n(2581)( | |
"hBZhkWAGggAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAACBAAABACBDABACCBABAAAAABAABAABACAAABCAGABABABAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAABABAACAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGBABBAADAAAAAAAAkgAAACAHAFAACAAABAQAIgiABCCAAAAAAAAAAAAAAAAAAAAAAAEABAABBgygvAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABglwtIglAAEArRhVwiZgqBCk_AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIHHFJHHHHFKAAAAAAAHHhHDLDLDLEKDkFADACCBCBACEFAAAAAADBDJBEAg8Awp7gvgvAACBAAAAAADAABAHCAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAADA3lMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAASAAAAAAAAAAAAAAAAAAAAAAAAAAAiGAAAAAAAAAAAAACAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAJAAAABAAAAAAAADAAABAAACAAAAAAAAAAAAAAAAAAAAEAEAAAAAAAAAAAAAAADAAFAEAAAbA1cqZwTEgniHgjibKAOAGABwbpgywvsf1V_f2WfZZZZZZAABBABBBDAHZZZBADBHAGaBADAEAACGaZZZZZZZZZZZdYggYggYggYggYggAxE0gh" | |
); | |
}, | |
2581: (e) => { | |
const t = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_", | |
n = Object.freeze(Object.fromEntries(Array.from(t, (e, t) => [e, t]))); | |
class r { | |
constructor(e, t) { | |
(this.begin = e), (this.end = t), (this.length = t - e); | |
} | |
*keys() { | |
const { begin: e, end: t } = this; | |
for (let n = e; n < t; ++n) yield n; | |
} | |
*values() { | |
const { begin: e, end: t } = this; | |
for (let n = e; n < t; ++n) yield String.fromCodePoint(n); | |
} | |
} | |
e.exports = Object.defineProperty( | |
function (e) { | |
const t = (function (e) { | |
const t = []; | |
for (let r = 0; r < e.length; ) { | |
let a = n[e[r++]]; | |
switch (56 & a) { | |
case 32: | |
case 40: | |
(a = (15 & a) << 6), (a |= n[e[r++]]); | |
break; | |
case 48: | |
(a = (7 & a) << 12), (a |= n[e[r++]] << 6), (a |= n[e[r++]]); | |
break; | |
case 56: | |
(a = (7 & a) << 18), (a |= n[e[r++]] << 12), (a |= n[e[r++]] << 6), (a |= n[e[r++]]); | |
} | |
t.push(a); | |
} | |
return t; | |
})(e), | |
a = []; | |
for (let e = -1, n = 1; n < t.length; n += 2) { | |
const o = e + 1 + t[n - 1]; | |
(e = o + (1 + t[n])), a.push(new r(o, e)); | |
} | |
return a; | |
}, | |
"encode", | |
{ | |
value: function (e) { | |
const n = []; | |
for (let t = -1, r = 0; r < e.length; ) { | |
const a = e[r]; | |
for (console.assert(a > t, `code point ${a} out of order`), n.push(a - t - 1), t = a + 1; ++r < e.length && e[r] === t; ) ++t; | |
n.push(t - a - 1); | |
} | |
return (function (e) { | |
const n = []; | |
for (let t = 0; t < e.length; ++t) { | |
const r = e[t]; | |
r >> 5 == 0 | |
? n.push(r) | |
: r >> 10 == 0 | |
? n.push(32 + (r >> 6), r) | |
: r >> 15 == 0 | |
? n.push(48 + (r >> 12), r >> 6, r) | |
: (console.assert(r >> 21 == 0, `delta ${r} out of range`), n.push(56 + (r >> 18), r >> 12, r >> 6, r)); | |
} | |
return n.map((e) => t[63 & e]).join(""); | |
})(n); | |
}, | |
} | |
); | |
}, | |
8215: (e, t, n) => { | |
"use strict"; | |
n.d(t, { Ir: () => g, Vj: () => S, WM: () => k, DD: () => p, I1: () => N, R8: () => h.R }); | |
const r = s("ERR_INVALID_HEADER_NAME", "Invalid header name."), | |
a = s("ERR_INVALID_HEADER_VALUE", "Invalid header value."), | |
o = s("ERR_INVALID_COOKIE_HEADER", "Invalid Cookie header."), | |
i = s("ERR_INVALID_SET_COOKIE_HEADER", "Invalid Set-Cookie header."), | |
l = s("ERR_INVALID_MEDIA_TYPE", "Invalid media type."), | |
u = s("ERR_INVALID_ACCEPT", "Invalid accept."); | |
s("ERR_INVALID_ACCEPT_ENCODING", "Invalid accept encoding."), s("ERR_CACHE_CONTROL", "Invalid Cache-Control header."); | |
function s(e, t, n = 500, r = TypeError) { | |
if ("" === e) throw new TypeError("Error code must not be empty."); | |
if ("" === t) throw new TypeError("Error message must not be empty."); | |
return class extends r { | |
constructor() { | |
super(`${e}: ${t}`), Object.defineProperty(this, "name", { value: `HeaderError [${e}]` }), Object.defineProperty(this, "code", { value: e }), Object.defineProperty(this, "status", { value: n }); | |
} | |
get [Symbol.toStringTag]() { | |
return "HeaderError"; | |
} | |
}; | |
} | |
const c = Symbol("kList"); | |
class f { | |
constructor() { | |
Object.defineProperty(this, c, { value: [] }); | |
} | |
static from(e) { | |
return "string" == typeof e ? f.parse(e) : e; | |
} | |
static parse(e) { | |
const t = new f(), | |
n = new Scanner(e); | |
for (; n.hasNext(); ) { | |
const e = n.readToken(); | |
if (null == e) throw new InvalidAcceptEncodingError(); | |
const r = n.readParams(); | |
if ((null != r ? t.add(e, findQualityParam(r)) : t.add(e), !n.readSeparator(44))) break; | |
} | |
return t; | |
} | |
static identity() { | |
return new f().add("identity"); | |
} | |
[Symbol.iterator]() { | |
return this[c][Symbol.iterator](); | |
} | |
get empty() { | |
return 0 === this[c].length; | |
} | |
add(e, t = null) { | |
const n = new Entry(e, t), | |
r = this[c], | |
{ length: a } = r; | |
for (let e = 0; e < a; e++) { | |
const t = r[e]; | |
if (null == n.q && null != t.q) return r.splice(e, 0, n), this; | |
if (null != n.q && null != t.q && n.q > t.q) return r.splice(e, 0, n), this; | |
} | |
return r.push(n), this; | |
} | |
accepts(e) { | |
if ("identity" === e) return !0; | |
for (const t of this[c]) if (t.value === e) return t.q ?? !0; | |
return !1; | |
} | |
select(...e) { | |
let t = null, | |
n = 0; | |
for (const t of e) { | |
const e = this.accepts(t); | |
(!0 === e || e > n) && (t, Number(e)); | |
} | |
return t; | |
} | |
toString() { | |
return this[c].map((e) => String(e)).join(", "); | |
} | |
get [Symbol.toStringTag]() { | |
return "AcceptEncoding"; | |
} | |
} | |
var d = n(2494), | |
h = n(4130); | |
class p { | |
constructor(e, t, n = null) { | |
(this.name = e + "/" + t), (this.type = e), (this.subtype = t); | |
const r = new Map(); | |
if (null != n) for (const [e, t] of (0, h.v)(n)) r.set(e.toLowerCase(), t); | |
this.parameters = r; | |
} | |
static from(e) { | |
return "string" == typeof e ? p.parse(e) : e; | |
} | |
static parse(e) { | |
switch (e) { | |
case "*/*": | |
return p.ANY; | |
case "application/octet-stream": | |
return p.APPLICATION_OCTET_STREAM; | |
case "application/json": | |
return p.APPLICATION_JSON; | |
case "text/plain": | |
return p.TEXT_PLAIN; | |
case "text/html": | |
return p.TEXT_HTML; | |
case "text/xml": | |
return p.TEXT_XML; | |
case "application/x-www-form-urlencoded": | |
return p.APPLICATION_FORM_URLENCODED_TYPE; | |
case "multipart/form-data": | |
return p.MULTIPART_FORM_DATA; | |
} | |
const t = new d.ZY(e), | |
n = t.readToken(); | |
if (null == n) throw new l(); | |
if (!t.readSeparator(47)) throw new l(); | |
const r = t.readToken(); | |
if (null == r) throw new l(); | |
return new p(n.toLowerCase(), r.toLowerCase(), t.readParams()); | |
} | |
matches(e) { | |
return (e = p.from(e)), !(("*" !== this.type && "*" !== e.type && this.type !== e.type) || ("*" !== this.subtype && "*" !== e.subtype && this.subtype !== e.subtype)); | |
} | |
toString() { | |
const e = []; | |
e.push(`${this.type}/${this.subtype}`); | |
for (const [t, n] of this.parameters) e.push(`${t}=${(0, d.CZ)(n)}`); | |
return e.join("; "); | |
} | |
get [Symbol.toStringTag]() { | |
return "MediaType"; | |
} | |
} | |
(p.APPLICATION_OCTET_STREAM = new p("application", "octet-stream")), | |
(p.ANY = new p("*", "*")), | |
(p.APPLICATION_JSON = new p("application", "json")), | |
(p.TEXT_PLAIN = new p("text", "plain")), | |
(p.TEXT_HTML = new p("text", "html")), | |
(p.TEXT_XML = new p("text", "xml")), | |
(p.APPLICATION_FORM_URLENCODED_TYPE = new p("application", "x-www-form-urlencoded")), | |
(p.MULTIPART_FORM_DATA = new p("multipart", "form-data")); | |
const A = Symbol("kList"); | |
class m { | |
constructor(e, t = null) { | |
(this.value = e), (this.q = t); | |
} | |
toString() { | |
return null != this.q ? `${this.value}; q=${this.q}` : this.value; | |
} | |
} | |
class g { | |
constructor() { | |
Object.defineProperty(this, A, { value: [] }); | |
} | |
static from(e) { | |
return "string" == typeof e ? g.parse(e) : e; | |
} | |
static parse(e) { | |
const t = new g(), | |
n = new d.ZY(e); | |
for (; n.hasNext(); ) { | |
const e = n.readToken(); | |
if (null == e) throw new u(); | |
if (!n.readSeparator(47)) throw new u(); | |
const r = n.readToken(); | |
if (null == r) throw new u(); | |
const a = n.readParams(); | |
if ((null != a ? t.add(`${e}/${r}`, (0, d.XD)(a)) : t.add(`${e}/${r}`), n.hasNext() && !n.readSeparator(44))) throw new u(); | |
} | |
return t; | |
} | |
static any() { | |
return new g().add("*/*"); | |
} | |
[Symbol.iterator]() { | |
return this[A][Symbol.iterator](); | |
} | |
get empty() { | |
return 0 === this[A].length; | |
} | |
add(e, t = null) { | |
const n = new m(e, t), | |
r = this[A], | |
{ length: a } = r; | |
for (let e = 0; e < a; e++) { | |
const t = r[e]; | |
if (null == n.q && null != t.q) return r.splice(e, 0, n), this; | |
if (null != n.q && null != t.q && n.q > t.q) return r.splice(e, 0, n), this; | |
} | |
return r.push(n), this; | |
} | |
accepts(e) { | |
if (0 === this[A].length) return !0; | |
for (const t of this[A]) if (p.from(t.value).matches(e)) return t.q ?? !0; | |
return !1; | |
} | |
select(...e) { | |
let t = null, | |
n = 0; | |
for (const r of e) { | |
const e = this.accepts(r); | |
(!0 === e || e > n) && ((t = r), (n = Number(e))); | |
} | |
return t; | |
} | |
toString() { | |
return this[A].map((e) => String(e)).join(", "); | |
} | |
get [Symbol.toStringTag]() { | |
return "Accept"; | |
} | |
} | |
class y { | |
constructor({ isPublic: e = !1, isPrivate: t = !1, noCache: n = !1, noStore: r = !1, noTransform: a = !1, mustRevalidate: o = !1, proxyRevalidate: i = !1, immutable: l = !1, maxAge: u = null, sMaxAge: s = null } = {}) { | |
(this.maxAge = null), | |
(this.sMaxAge = null), | |
(this.isPublic = e), | |
(this.isPrivate = t), | |
(this.noCache = n), | |
(this.noStore = r), | |
(this.noTransform = a), | |
(this.mustRevalidate = o), | |
(this.proxyRevalidate = i), | |
(this.immutable = l), | |
(this.maxAge = u), | |
(this.sMaxAge = s); | |
} | |
static from(e) { | |
return "string" == typeof e ? y.parse(e) : e; | |
} | |
static parse(e) { | |
let t = !1, | |
n = !1, | |
r = !1, | |
a = !1, | |
o = !1, | |
i = !1, | |
l = !1, | |
u = !1, | |
s = null, | |
c = null; | |
const f = new Scanner(e); | |
for (; f.hasNext(); ) { | |
const e = f.readToken(); | |
if (null == e) throw new InvalidCacheControlHeaderError(); | |
switch (e.toLowerCase()) { | |
case "public": | |
!0; | |
break; | |
case "private": | |
!0; | |
break; | |
case "no-cache": | |
!0; | |
break; | |
case "no-store": | |
!0; | |
break; | |
case "no-transform": | |
!0; | |
break; | |
case "must-revalidate": | |
!0; | |
break; | |
case "proxy-revalidate": | |
!0; | |
break; | |
case "immutable": | |
!0; | |
break; | |
case "max-age": | |
if (!f.readSeparator(61)) throw new InvalidCacheControlHeaderError(); | |
{ | |
const e = f.readTokenOrQuotedString(); | |
if (!e) throw new InvalidCacheControlHeaderError(); | |
Number(e); | |
} | |
break; | |
case "s-maxage": | |
if (!f.readSeparator(61)) throw new InvalidCacheControlHeaderError(); | |
{ | |
const e = f.readTokenOrQuotedString(); | |
if (!e) throw new InvalidCacheControlHeaderError(); | |
Number(e); | |
} | |
} | |
if (!f.readSeparator(44)) break; | |
} | |
return new y({ isPublic: t, isPrivate: n, noCache: r, noStore: a, noTransform: o, mustRevalidate: i, proxyRevalidate: l, immutable: u, maxAge: s, sMaxAge: c }); | |
} | |
toString() { | |
const e = []; | |
return ( | |
this.isPublic && e.push("public"), | |
this.isPrivate && e.push("private"), | |
this.noCache && e.push("no-cache"), | |
this.noStore && e.push("no-store"), | |
this.noTransform && e.push("no-transform"), | |
this.mustRevalidate && e.push("must-revalidate"), | |
this.proxyRevalidate && e.push("proxy-revalidate"), | |
this.immutable && e.push("immutable"), | |
null != this.maxAge && e.push(`max-age=${Math.max(0, Math.floor(this.maxAge))}`), | |
null != this.sMaxAge && e.push(`s-maxage=${Math.max(0, Math.floor(this.sMaxAge))}`), | |
e.join(", ") | |
); | |
} | |
get [Symbol.toStringTag]() { | |
return "CacheControl"; | |
} | |
} | |
let v = new (class { | |
encode(e) { | |
return encodeURIComponent(e); | |
} | |
decode(e) { | |
try { | |
return decodeURIComponent(e); | |
} catch { | |
return e; | |
} | |
} | |
})(); | |
class b { | |
static setDelegate(e) { | |
v = e; | |
} | |
static encode(e) { | |
return v.encode(e); | |
} | |
static decode(e) { | |
return v.decode( | |
(function (e) { | |
return e.length >= 2 && e.startsWith('"') && e.endsWith('"') ? e.substring(1, e.length - 1) : e; | |
})(e) | |
); | |
} | |
} | |
var E = n(5288); | |
const w = Symbol("kMap"); | |
class S { | |
constructor(e = null) { | |
const t = new Map(); | |
if (null != e) | |
for (const [n, r] of (0, h.v)(e)) { | |
if (!(0, d.hD)(n)) throw new o(); | |
t.set(n, r); | |
} | |
Object.defineProperty(this, w, { value: t }); | |
} | |
static from(e) { | |
return "string" == typeof e ? S.parse(e) : e; | |
} | |
static parse(e) { | |
const t = new S(), | |
n = new d.ZY(e); | |
for (; n.hasNext(); ) { | |
const e = n.readUntil(59, !1), | |
[r, a] = (0, E.U)(e, 61); | |
if (((0, d.hD)(r) && (0, d.Aw)(a) && t[w].set(r, b.decode(a)), !n.readSeparator(59))) break; | |
} | |
return t; | |
} | |
*[Symbol.iterator]() { | |
for (const [e, t] of this[w]) yield [e, t]; | |
} | |
keys() { | |
return this[w].keys(); | |
} | |
values() { | |
return this[w].values(); | |
} | |
entries() { | |
return this[w].entries(); | |
} | |
has(e) { | |
if (!(0, d.hD)(e)) throw new o(); | |
return this[w].has(e); | |
} | |
get(e) { | |
if (!(0, d.hD)(e)) throw new o(); | |
return this[w].get(e) ?? null; | |
} | |
set(e, t) { | |
if (!(0, d.hD)(e)) throw new o(); | |
return this[w].set(e, String(t)), this; | |
} | |
delete(e) { | |
if (!(0, d.hD)(e)) throw new o(); | |
return this[w].delete(e), this; | |
} | |
clear() { | |
return this[w].clear(), this; | |
} | |
toString() { | |
const e = []; | |
for (const [t, n] of this[w]) e.push(`${t}=${b.encode(n)}`); | |
return e.join("; "); | |
} | |
get [Symbol.toStringTag]() { | |
return "Cookie"; | |
} | |
} | |
class T { | |
constructor(e, t = !1) { | |
e.startsWith("W/") && (!0, e.substring(2)), e.length >= 2 && e.startsWith('"') && e.endsWith('"') && e.substring(1, e.length - 1), (this.value = e), (this.weak = t); | |
} | |
static from(e) { | |
return "string" == typeof e ? new T(e) : e; | |
} | |
static parse(e) { | |
return new T(e); | |
} | |
toString() { | |
return `${this.weak ? "W/" : ""}"${this.value}"`; | |
} | |
get [Symbol.toStringTag]() { | |
return "ETag"; | |
} | |
} | |
const _ = Symbol("kMap"); | |
class k { | |
constructor(e = null) { | |
if ((Object.defineProperty(this, _, { value: new Map() }), null != e)) | |
if (e instanceof k) for (const [t, n] of e) this.append(t, n); | |
else for (const [t, n] of (0, h.R)(e)) this.append(t, n); | |
} | |
static parse(e) { | |
const t = new k(); | |
for (const n of (0, E.u)(e)) { | |
const [e, r] = (0, E.U)(n, ":"); | |
e && r && t.append(e, r); | |
} | |
return t; | |
} | |
*[Symbol.iterator]() { | |
for (const { name: e, value: t } of this[_].values()) yield [e, t]; | |
} | |
set(e, t) { | |
if (!(0, d.hD)(e)) throw new r(); | |
let n; | |
if (null == t || !(0, d.lI)((n = String(t)))) throw new a(); | |
const o = e.toLowerCase(), | |
i = this[_].get(o); | |
return null != i ? i.set(n) : this[_].set(o, new C(e, o, n)), this; | |
} | |
append(e, t) { | |
if (!(0, d.hD)(e)) throw new r(); | |
let n; | |
if (null == t || !(0, d.lI)((n = String(t)))) throw new a(); | |
const o = e.toLowerCase(), | |
i = this[_].get(o); | |
return null != i ? i.append(n) : this[_].set(o, new C(e, o, n)), this; | |
} | |
delete(e) { | |
if (!(0, d.hD)(e)) throw new r(); | |
const t = e.toLowerCase(); | |
return this[_].delete(t), this; | |
} | |
clear() { | |
return this[_].clear(), this; | |
} | |
has(e) { | |
if (!(0, d.hD)(e)) throw new r(); | |
const t = e.toLowerCase(); | |
return this[_].has(t); | |
} | |
get(e) { | |
if (!(0, d.hD)(e)) throw new r(); | |
const t = e.toLowerCase(), | |
n = this[_].get(t); | |
return null != n ? n.get() : null; | |
} | |
map(e, t) { | |
const n = this.get(e); | |
return null != n ? t(n) : null; | |
} | |
toJSON() { | |
return Object.fromEntries(this); | |
} | |
toString() { | |
const e = []; | |
for (const t of this[_].values()) { | |
const { name: n, value: r } = t; | |
e.push(`${n}: ${r}`); | |
} | |
return e.join("\n") + "\n"; | |
} | |
get [Symbol.toStringTag]() { | |
return "HttpHeaders"; | |
} | |
} | |
class C { | |
constructor(e, t, n) { | |
(this.name = e), (this.nameLc = t), this.set(n); | |
} | |
set(e) { | |
this.value = e; | |
} | |
append(e) { | |
this.value += ", " + e; | |
} | |
get() { | |
return this.value; | |
} | |
} | |
class N { | |
constructor(e, t, { path: n = null, domain: r = null, maxAge: a = null, expires: o = null, sameSite: l = null, secure: u = !1, httpOnly: s = !1 } = {}) { | |
if (!(0, d.hD)(e)) throw new i(); | |
(this.name = e), (this.value = t), (this.path = n), (this.domain = r), (this.maxAge = a), (this.expires = o), (this.sameSite = l), (this.secure = u), (this.httpOnly = s); | |
} | |
static from(e) { | |
return "string" == typeof e ? N.parse(e) : e; | |
} | |
static parse(e) { | |
const t = new d.ZY(e), | |
n = t.readUntil(59, !1), | |
[r, a] = (0, E.U)(n, 61); | |
if (!(0, d.hD)(r)) return null; | |
if (!(0, d.Aw)(a)) return null; | |
let o = null, | |
i = null, | |
l = null, | |
u = null, | |
s = null, | |
c = null, | |
f = null; | |
for (; t.readSeparator(59); ) { | |
const e = t.readToken(); | |
if (null == e) break; | |
switch (e.toLowerCase()) { | |
case "path": | |
if (null != o) return null; | |
if (!t.readSeparator(61)) return null; | |
{ | |
const e = t.readUntil(59, !0); | |
if (!e) return null; | |
o = e; | |
} | |
break; | |
case "domain": | |
if (null != i) return null; | |
if (!t.readSeparator(61)) return null; | |
{ | |
const e = t.readUntil(59, !0); | |
if (!e) return null; | |
i = e; | |
} | |
break; | |
case "max-age": | |
if (null != l) return null; | |
if (!t.readSeparator(61)) return null; | |
{ | |
const e = t.readUntil(59, !0); | |
if (!e) return null; | |
l = Number(e); | |
} | |
break; | |
case "expires": | |
if (null != u) return null; | |
if (!t.readSeparator(61)) return null; | |
{ | |
const e = t.readUntil(59, !0); | |
if (!e) return null; | |
u = (0, d.sG)(e); | |
} | |
break; | |
case "samesite": | |
if (null != s) return null; | |
if (!t.readSeparator(61)) return null; | |
switch (t.readUntil(59, !0).toLowerCase()) { | |
case "strict": | |
s = "Strict"; | |
break; | |
case "lax": | |
s = "Lax"; | |
break; | |
case "none": | |
s = "None"; | |
break; | |
default: | |
return null; | |
} | |
break; | |
case "secure": | |
if (null != c) return null; | |
if (t.readSeparator(61)) return null; | |
c = !0; | |
break; | |
case "httponly": | |
if (null != f) return null; | |
if (t.readSeparator(61)) return null; | |
f = !0; | |
break; | |
default: | |
t.readSeparator(61) && t.readUntil(59, !0); | |
} | |
} | |
return new N(r, b.decode(a), { path: o, domain: i, maxAge: l, expires: u, sameSite: s, secure: null != c, httpOnly: null != f }); | |
} | |
toString() { | |
const { name: e, value: t, path: n, domain: r, maxAge: a, expires: o, sameSite: i, secure: l, httpOnly: u } = this, | |
s = []; | |
return ( | |
s.push(`${e}=${b.encode(t)}`), | |
null != n && s.push(`Path=${n}`), | |
null != r && s.push(`Domain=${r}`), | |
null != a && s.push(`Max-Age=${a}`), | |
null != o && s.push(`Expires=${o.toUTCString()}`), | |
null != i && s.push(`SameSite=${i}`), | |
l && s.push("Secure"), | |
u && s.push("HttpOnly"), | |
s.join("; ") | |
); | |
} | |
get [Symbol.toStringTag]() { | |
return "SetCookie"; | |
} | |
} | |
}, | |
5288: (e, t, n) => { | |
"use strict"; | |
function r(e, t) { | |
"string" == typeof t && (t = t.charCodeAt(0)); | |
const { length: n } = e; | |
let r = 0; | |
for (; r < n; ) { | |
if (e.charCodeAt(r) === t) { | |
return [o(e, 0, r), o(e, r + 1)]; | |
} | |
r += 1; | |
} | |
return [o(e, 0), ""]; | |
} | |
function a(e) { | |
const t = [], | |
{ length: n } = e; | |
let r = 0, | |
a = 0; | |
for (; a < n; ) { | |
const n = e.charCodeAt(a); | |
if (10 === n || 13 === n) { | |
if (a > r) { | |
const n = o(e, r, a); | |
n.length > 0 && t.push(n); | |
} | |
r = a + 1; | |
} | |
a += 1; | |
} | |
if (a > r) { | |
const n = o(e, r, a); | |
n.length > 0 && t.push(n); | |
} | |
return t; | |
} | |
function o(e, t, n = e.length) { | |
for (; t < n; ) { | |
if (32 !== e.charCodeAt(t)) break; | |
t += 1; | |
} | |
for (; n > t; ) { | |
if (32 !== e.charCodeAt(n - 1)) break; | |
n -= 1; | |
} | |
return e.substring(t, n); | |
} | |
n.d(t, { U: () => r, u: () => a }); | |
}, | |
2494: (e, t, n) => { | |
"use strict"; | |
n.d(t, { Aw: () => l, CZ: () => o, XD: () => s, ZY: () => u, hD: () => a, lI: () => i, sG: () => c }); | |
const r = [ | |
1, | |
1, | |
1, | |
1, | |
1, | |
1, | |
1, | |
1, | |
1, | |
2, | |
2, | |
1, | |
1, | |
2, | |
1, | |
1, | |
1, | |
1, | |
1, | |
1, | |
1, | |
1, | |
1, | |
1, | |
1, | |
1, | |
1, | |
1, | |
1, | |
1, | |
1, | |
1, | |
2, | |
4, | |
5, | |
4, | |
4, | |
4, | |
4, | |
4, | |
3, | |
3, | |
4, | |
4, | |
3, | |
4, | |
4, | |
3, | |
4, | |
4, | |
4, | |
4, | |
4, | |
4, | |
4, | |
4, | |
4, | |
4, | |
3, | |
3, | |
3, | |
3, | |
3, | |
3, | |
3, | |
4, | |
4, | |
4, | |
4, | |
4, | |
4, | |
4, | |
4, | |
4, | |
4, | |
4, | |
4, | |
4, | |
4, | |
4, | |
4, | |
4, | |
4, | |
4, | |
4, | |
4, | |
4, | |
4, | |
4, | |
4, | |
4, | |
3, | |
3, | |
3, | |
4, | |
4, | |
4, | |
4, | |
4, | |
4, | |
4, | |
4, | |
4, | |
4, | |
4, | |
4, | |
4, | |
4, | |
4, | |
4, | |
4, | |
4, | |
4, | |
4, | |
4, | |
4, | |
4, | |
4, | |
4, | |
4, | |
4, | |
4, | |
4, | |
3, | |
4, | |
3, | |
4, | |
]; | |
function a(e) { | |
const { length: t } = e; | |
if (0 === t) return !1; | |
for (let n = 0; n < t; n++) if (4 !== r[e.charCodeAt(n)]) return !1; | |
return !0; | |
} | |
function o(e) { | |
if (a(e)) return e; | |
{ | |
const { length: t } = e, | |
n = []; | |
n.push(34); | |
for (let r = 0; r < t; r++) { | |
const t = e.charCodeAt(r); | |
switch (t) { | |
case 92: | |
n.push(92), n.push(92); | |
break; | |
case 34: | |
n.push(92), n.push(34); | |
break; | |
default: | |
n.push(t); | |
} | |
} | |
return n.push(34), String.fromCharCode(...n); | |
} | |
} | |
function i(e) { | |
const { length: t } = e; | |
for (let n = 0; n < t; n++) { | |
const t = e.charCodeAt(n); | |
if (0 === t || 10 === t || 13 === t) return !1; | |
} | |
return !0; | |
} | |
function l(e) { | |
const { length: t } = e; | |
let n = 0, | |
r = t; | |
t >= 2 && e.startsWith('"') && e.endsWith('"') && ((n += 1), (r -= 1)); | |
for (let t = n; t < r; t++) { | |
const n = e.charCodeAt(t); | |
if (!(33 === n || (n >= 35 && n <= 43) || (n >= 45 && n <= 58) || (n >= 60 && n <= 91) || (n >= 93 && n <= 126))) return !1; | |
} | |
return !0; | |
} | |
class u { | |
constructor(e, t = 0) { | |
(this.input = e), (this.length = e.length), (this.pos = t); | |
} | |
hasNext() { | |
return this.skipWs(), this.pos < this.length; | |
} | |
readSeparator(e) { | |
return this.skipWs(), this.readChar(e); | |
} | |
readToken() { | |
this.skipWs(); | |
const e = this.pos; | |
for (; this.pos < this.length && this.readCharType(4); ); | |
return this.pos > e ? this.input.substring(e, this.pos) : null; | |
} | |
readQuotedString() { | |
if ((this.skipWs(), !this.readChar(34))) return null; | |
const e = new Array(); | |
for (; this.pos < this.length && !this.readChar(34); ) { | |
if (this.readChar(92) && this.pos === this.length) { | |
e.push(92); | |
break; | |
} | |
e.push(this.input.charCodeAt(this.pos)), (this.pos += 1); | |
} | |
return String.fromCharCode(...e); | |
} | |
readTokenOrQuotedString() { | |
return this.readQuotedString() ?? this.readToken(); | |
} | |
readParams() { | |
if ((this.skipWs(), this.readSeparator(59))) { | |
const e = []; | |
for (;;) { | |
const t = this.readToken(); | |
if (null == t) break; | |
if (!this.readSeparator(61)) break; | |
const n = this.readTokenOrQuotedString(); | |
if (null == n) break; | |
if ((e.push([t, n]), !this.readSeparator(59))) break; | |
} | |
return e; | |
} | |
return null; | |
} | |
readUntil(e, t) { | |
let n = this.pos; | |
for (; this.pos < this.length && this.input.charCodeAt(this.pos) !== e; ) this.pos += 1; | |
let a = this.pos; | |
if (t) { | |
for (; n < a && 2 === r[this.input.charCodeAt(n)]; ) n += 1; | |
for (; n < a && 2 === r[this.input.charCodeAt(a - 1)]; ) a -= 1; | |
} | |
return this.input.substring(n, a); | |
} | |
skipWs() { | |
for (; this.pos < this.length && this.readCharType(2); ); | |
} | |
readChar(e) { | |
return this.input.charCodeAt(this.pos) === e && ((this.pos += 1), !0); | |
} | |
readCharType(e) { | |
return r[this.input.charCodeAt(this.pos)] === e && ((this.pos += 1), !0); | |
} | |
} | |
function s(e) { | |
for (const [t, n] of e) | |
if ("q" === t) { | |
const e = Number(n); | |
if (e >= 0 && e <= 1) return e; | |
break; | |
} | |
return null; | |
} | |
function c(e) { | |
return new Date(e); | |
} | |
}, | |
4130: (e, t, n) => { | |
"use strict"; | |
function* r(e) { | |
if (e instanceof Map) yield* a(e); | |
else if (Array.isArray(e)) yield* a(e); | |
else { | |
if ("object" != typeof e || null == e) throw new TypeError(); | |
yield* a(Object.entries(e)); | |
} | |
} | |
function* a(e) { | |
for (const [t, n] of e) yield [t, String(n)]; | |
} | |
function* o(e) { | |
if (e instanceof Map) yield* i(e); | |
else if (Array.isArray(e)) yield* i(e); | |
else { | |
if ("object" != typeof e || null == e) throw new TypeError(); | |
yield* i(Object.entries(e)); | |
} | |
} | |
function* i(e) { | |
for (const [t, n] of e) | |
if (Array.isArray(n)) for (const e of n) yield [t, String(e)]; | |
else yield [t, String(n)]; | |
} | |
n.d(t, { R: () => o, v: () => r }); | |
}, | |
2893: () => { | |
"use strict"; | |
function e(e, t, n) { | |
void 0 === e[t] && Object.defineProperty(e, t, { value: n, writable: !0, enumerable: !0, configurable: !0 }); | |
} | |
function t() { | |
const e = new FileReader(), | |
t = r(e); | |
return e.readAsArrayBuffer(this), t; | |
} | |
function n() { | |
const e = new FileReader(), | |
t = r(e); | |
return e.readAsText(this), t; | |
} | |
function r(e) { | |
return new Promise((t, n) => { | |
(e.onerror = () => { | |
n(e.error); | |
}), | |
(e.onload = () => { | |
t(e.result); | |
}); | |
}); | |
} | |
e(Blob.prototype, "arrayBuffer", t), e(Blob.prototype, "text", n); | |
}, | |
3324: (e, t, n) => { | |
"use strict"; | |
n.d(t, { wj: () => T, dS: () => _, WY: () => y }); | |
var r = n(8215); | |
const a = JSON.parse( | |
'{"100":"Continue","101":"Switching Protocols","102":"Processing","103":"Early Hints","200":"OK","201":"Created","202":"Accepted","203":"Non-Authoritative Information","204":"No Content","205":"Reset Content","206":"Partial Content","207":"Multi-Status","208":"Already Reported","226":"IM Used","300":"Multiple Choices","301":"Moved Permanently","302":"Found","303":"See Other","304":"Not Modified","305":"Use Proxy","306":"(Unused)","307":"Temporary Redirect","308":"Permanent Redirect","400":"Bad Request","401":"Unauthorized","402":"Payment Required","403":"Forbidden","404":"Not Found","405":"Method Not Allowed","406":"Not Acceptable","407":"Proxy Authentication Required","408":"Request Timeout","409":"Conflict","410":"Gone","411":"Length Required","412":"Precondition Failed","413":"Payload Too Large","414":"URI Too Long","415":"Unsupported Media Type","416":"Range Not Satisfiable","417":"Expectation Failed","418":"I\'m a teapot","421":"Misdirected Request","422":"Unprocessable Entity","423":"Locked","424":"Failed Dependency","425":"Unordered Collection","426":"Upgrade Required","428":"Precondition Required","429":"Too Many Requests","431":"Request Header Fields Too Large","451":"Unavailable For Legal Reasons","500":"Internal Server Error","501":"Not Implemented","502":"Bad Gateway","503":"Service Unavailable","504":"Gateway Timeout","505":"HTTP Version Not Supported","506":"Variant Also Negotiates","507":"Insufficient Storage","508":"Loop Detected","509":"Bandwidth Limit Exceeded","510":"Not Extended","511":"Network Authentication Required"}' | |
); | |
var o; | |
!(function (e) { | |
(e[(e.CONTINUE = 100)] = "CONTINUE"), | |
(e[(e.SWITCHING_PROTOCOLS = 101)] = "SWITCHING_PROTOCOLS"), | |
(e[(e.PROCESSING = 102)] = "PROCESSING"), | |
(e[(e.OK = 200)] = "OK"), | |
(e[(e.CREATED = 201)] = "CREATED"), | |
(e[(e.ACCEPTED = 202)] = "ACCEPTED"), | |
(e[(e.NON_AUTHORITATIVE_INFORMATION = 203)] = "NON_AUTHORITATIVE_INFORMATION"), | |
(e[(e.NO_CONTENT = 204)] = "NO_CONTENT"), | |
(e[(e.RESET_CONTENT = 205)] = "RESET_CONTENT"), | |
(e[(e.PARTIAL_CONTENT = 206)] = "PARTIAL_CONTENT"), | |
(e[(e.AMBIGUOUS = 300)] = "AMBIGUOUS"), | |
(e[(e.MOVED_PERMANENTLY = 301)] = "MOVED_PERMANENTLY"), | |
(e[(e.FOUND = 302)] = "FOUND"), | |
(e[(e.SEE_OTHER = 303)] = "SEE_OTHER"), | |
(e[(e.NOT_MODIFIED = 304)] = "NOT_MODIFIED"), | |
(e[(e.TEMPORARY_REDIRECT = 307)] = "TEMPORARY_REDIRECT"), | |
(e[(e.PERMANENT_REDIRECT = 308)] = "PERMANENT_REDIRECT"), | |
(e[(e.BAD_REQUEST = 400)] = "BAD_REQUEST"), | |
(e[(e.UNAUTHORIZED = 401)] = "UNAUTHORIZED"), | |
(e[(e.PAYMENT_REQUIRED = 402)] = "PAYMENT_REQUIRED"), | |
(e[(e.FORBIDDEN = 403)] = "FORBIDDEN"), | |
(e[(e.NOT_FOUND = 404)] = "NOT_FOUND"), | |
(e[(e.METHOD_NOT_ALLOWED = 405)] = "METHOD_NOT_ALLOWED"), | |
(e[(e.NOT_ACCEPTABLE = 406)] = "NOT_ACCEPTABLE"), | |
(e[(e.PROXY_AUTHENTICATION_REQUIRED = 407)] = "PROXY_AUTHENTICATION_REQUIRED"), | |
(e[(e.REQUEST_TIMEOUT = 408)] = "REQUEST_TIMEOUT"), | |
(e[(e.CONFLICT = 409)] = "CONFLICT"), | |
(e[(e.GONE = 410)] = "GONE"), | |
(e[(e.LENGTH_REQUIRED = 411)] = "LENGTH_REQUIRED"), | |
(e[(e.PRECONDITION_FAILED = 412)] = "PRECONDITION_FAILED"), | |
(e[(e.PAYLOAD_TOO_LARGE = 413)] = "PAYLOAD_TOO_LARGE"), | |
(e[(e.URI_TOO_LONG = 414)] = "URI_TOO_LONG"), | |
(e[(e.UNSUPPORTED_MEDIA_TYPE = 415)] = "UNSUPPORTED_MEDIA_TYPE"), | |
(e[(e.REQUESTED_RANGE_NOT_SATISFIABLE = 416)] = "REQUESTED_RANGE_NOT_SATISFIABLE"), | |
(e[(e.EXPECTATION_FAILED = 417)] = "EXPECTATION_FAILED"), | |
(e[(e.I_AM_A_TEAPOT = 418)] = "I_AM_A_TEAPOT"), | |
(e[(e.UNPROCESSABLE_ENTITY = 422)] = "UNPROCESSABLE_ENTITY"), | |
(e[(e.FAILED_DEPENDENCY = 424)] = "FAILED_DEPENDENCY"), | |
(e[(e.UPGRADE_REQUIRED = 426)] = "UPGRADE_REQUIRED"), | |
(e[(e.TOO_MANY_REQUESTS = 429)] = "TOO_MANY_REQUESTS"), | |
(e[(e.INTERNAL_SERVER_ERROR = 500)] = "INTERNAL_SERVER_ERROR"), | |
(e[(e.NOT_IMPLEMENTED = 501)] = "NOT_IMPLEMENTED"), | |
(e[(e.BAD_GATEWAY = 502)] = "BAD_GATEWAY"), | |
(e[(e.SERVICE_UNAVAILABLE = 503)] = "SERVICE_UNAVAILABLE"), | |
(e[(e.GATEWAY_TIMEOUT = 504)] = "GATEWAY_TIMEOUT"), | |
(e[(e.HTTP_VERSION_NOT_SUPPORTED = 505)] = "HTTP_VERSION_NOT_SUPPORTED"); | |
})(o || (o = {})); | |
const i = (e) => e >= 200 && e < 300, | |
l = (e) => e >= 400 && e < 500, | |
u = (e) => e >= 500 && e < 600, | |
s = "upload-progress", | |
c = "download-progress"; | |
n(2893); | |
async function f(e) { | |
const { url: t, method: n, headers: a, body: o, eventEmitter: l, signal: u, options: d } = e, | |
{ timeout: h, cache: p, credentials: A, redirect: m } = d ?? {}; | |
if (null != u && u.aborted) throw new DOMException("Request aborted", "AbortError"); | |
const g = (n ?? "GET").toUpperCase(); | |
switch (g) { | |
case "HEAD": | |
case "GET": | |
if (null != o) throw new TypeError("HEAD or GET Request cannot have a body."); | |
} | |
const y = new XMLHttpRequest(); | |
y.open(g, t, !0), (y.responseType = "blob"); | |
for (const [e, t] of a ?? []) y.setRequestHeader(e, t); | |
return ( | |
null != u && | |
u.addEventListener("abort", () => { | |
y.abort(); | |
}), | |
null != h && (y.timeout = h), | |
null != A && (y.withCredentials = "include" === A), | |
null != l && | |
(function (e, t) { | |
e.upload.addEventListener("progress", (e) => { | |
t.emit(s, { type: "upload", loaded: e.loaded, total: e.lengthComputable ? e.total : null }); | |
}), | |
e.addEventListener("progress", (e) => { | |
t.emit(c, { type: "download", loaded: e.loaded, total: e.lengthComputable ? e.total : null }); | |
}); | |
})(y, l), | |
new Promise((e, t) => { | |
v(t), | |
(y.onreadystatechange = () => { | |
if (y.readyState === XMLHttpRequest.HEADERS_RECEIVED) { | |
const t = new Promise((e, t) => { | |
v(t), | |
(y.onload = () => { | |
e(y.response); | |
}); | |
}); | |
e( | |
(function (e, t) { | |
const { status: n, statusText: a, responseURL: o } = e, | |
l = r.WM.parse(e.getAllResponseHeaders()), | |
u = i(n); | |
let s = !1; | |
return new (class { | |
constructor() { | |
(this.ok = u), (this.status = n), (this.statusText = a), (this.url = o), (this.headers = l); | |
} | |
blob() { | |
return c(); | |
} | |
async arrayBuffer() { | |
return await (await c()).arrayBuffer(); | |
} | |
async text() { | |
return await (await c()).text(); | |
} | |
async formData() { | |
const e = await c(), | |
t = l.map("Content-Type", r.DD.parse) ?? r.DD.APPLICATION_OCTET_STREAM; | |
switch (t.name) { | |
case "application/x-www-form-urlencoded": | |
return (function (e) { | |
const t = new FormData(); | |
for (const [n, r] of new URLSearchParams(e)) t.append(n, r); | |
return t; | |
})(await e.text()); | |
case "multipart/form-data": | |
return f.parseMultipartFormData(t, e); | |
default: | |
throw new TypeError(`Invalid content type ${t}`); | |
} | |
} | |
async json() { | |
return JSON.parse(await (await c()).text()); | |
} | |
abort() { | |
e.abort(); | |
} | |
get bodyUsed() { | |
return s; | |
} | |
})(); | |
function c() { | |
if (s) throw new TypeError("Body has already been consumed."); | |
return (s = !0), t; | |
} | |
})(y, t) | |
); | |
} | |
}), | |
y.send(o); | |
}) | |
); | |
function v(e) { | |
(y.onerror = () => { | |
e(new TypeError("Network error")); | |
}), | |
(y.onabort = () => { | |
e(new DOMException("Request aborted", "AbortError")); | |
}), | |
(y.ontimeout = () => { | |
e(new DOMException("Request timeout", "TimeoutError")); | |
}); | |
} | |
} | |
f.parseMultipartFormData = (e, t) => { | |
throw new Error(void 0); | |
}; | |
const { URL: d, URLSearchParams: h } = window; | |
var p = n(5939), | |
A = n(7959); | |
class m { | |
constructor(e, t, n) { | |
(this._query = new URLSearchParams()), | |
(this._headers = new r.WM()), | |
(this._accept = new r.Ir()), | |
(this._eventEmitter = new p.EventEmitter()), | |
(this._signal = null), | |
(this._options = {}), | |
(this.adapter = e), | |
(this.method = t.toUpperCase()), | |
(this.url = String(n)); | |
} | |
query(...e) { | |
const { length: t } = e, | |
[n, a] = e; | |
if (2 === t && "string" == typeof n && null != a) return this._query.append(n, String(a)), this; | |
if (1 === t) { | |
if (n instanceof URLSearchParams) { | |
for (const [e, t] of n) this._query.append(e, String(t)); | |
return this; | |
} | |
for (const [e, t] of (0, r.R8)(n)) this._query.append(e, String(t)); | |
return this; | |
} | |
throw new TypeError(); | |
} | |
header(...e) { | |
const { length: t } = e, | |
[n, a] = e; | |
if (2 === t && "string" == typeof n && null != a) return this._headers.append(n, String(a)), this; | |
if (1 === t) { | |
if (n instanceof r.WM) { | |
for (const [e, t] of n) this._headers.append(e, t); | |
return this; | |
} | |
for (const [e, t] of (0, r.R8)(n)) this._headers.append(e, String(t)); | |
return this; | |
} | |
throw new TypeError(); | |
} | |
accept(e, t = null) { | |
return this._accept.add(String(e), t), this; | |
} | |
on(e, t) { | |
return this._eventEmitter.on(e, t), this; | |
} | |
signal(e) { | |
return (this._signal = e), this; | |
} | |
options(e) { | |
return Object.assign(this._options, e), this; | |
} | |
send(e = null, t = null) { | |
let n; | |
return ( | |
(n = | |
null == e | |
? this._makeRequest(null, null) | |
: this._makeRequest( | |
...(function (e, t) { | |
if (null != e) { | |
if ("string" == typeof e) return [e, t]; | |
if (e instanceof FormData) { | |
if (null != t) throw new TypeError(void 0); | |
return [e, null]; | |
} | |
if (e instanceof URLSearchParams) { | |
if (null != t) throw new TypeError(void 0); | |
return [e, null]; | |
} | |
if (e instanceof Blob) return [e, t ?? (e.type || "application/octet-stream")]; | |
if (e instanceof ArrayBuffer || ArrayBuffer.isView(e)) return [e, t ?? "application/octet-stream"]; | |
if ((0, A.p)(e)) return [JSON.stringify(e), t ?? "application/json"]; | |
} | |
throw new TypeError("Invalid body object."); | |
})(e, t) | |
)), | |
this._send(n) | |
); | |
} | |
sendForm(e) { | |
return this._send( | |
this._makeRequest( | |
(function (e) { | |
if (null == e) throw new TypeError(); | |
return e instanceof FormData || e instanceof URLSearchParams ? e : new URLSearchParams([...(0, r.R8)(e)]); | |
})(e) | |
) | |
); | |
} | |
_makeRequest(e, t = null) { | |
const n = (function (e, t) { | |
const n = Array.isArray(t) ? t : [...t]; | |
if (0 === n.length) return e; | |
let r, a; | |
const o = e.indexOf("?"); | |
-1 !== o ? ((r = e.substring(0, o)), (a = new h(e.substring(o + 1)))) : ((r = e), (a = new h())); | |
for (const [e, t] of n) a.append(e, String(t)); | |
return `${r}?${a}`; | |
})(this.url, this._query); | |
return ( | |
null != e && null != t ? this._headers.set("Content-Type", t) : this._headers.delete("Content-Type"), | |
this._accept.empty || this._headers.set("Accept", this._accept), | |
{ method: this.method, url: n, headers: this._headers, body: e, eventEmitter: this._eventEmitter, signal: this._signal, options: this._options } | |
); | |
} | |
_send(e) { | |
return this.adapter(e); | |
} | |
static extend(e) { | |
const t = (t) => e(t); | |
return ( | |
(t.use = (t) => m.extend((n) => t(n, e))), | |
(t.method = (t, n) => new m(e, t, n)), | |
(t.get = (t) => new m(e, "GET", t)), | |
(t.head = (t) => new m(e, "HEAD", t)), | |
(t.post = (t) => new m(e, "POST", t)), | |
(t.put = (t) => new m(e, "PUT", t)), | |
(t.patch = (t) => new m(e, "PATCH", t)), | |
(t.delete = (t) => new m(e, "DELETE", t)), | |
t | |
); | |
} | |
} | |
let g = f; | |
const y = m.extend((e) => g(e)); | |
const v = new Map(); | |
class b extends Error { | |
constructor(e, t) { | |
super(t ?? a[e] ?? `${e}`), S(e), (this.name = `HttpError [${e}]`), (this.status = e), (this.expose = l(e)); | |
} | |
get [Symbol.toStringTag]() { | |
return "HttpError"; | |
} | |
} | |
function E(e) { | |
S(e); | |
let t = v.get(e); | |
return ( | |
null == t && | |
((t = class extends b { | |
constructor(t) { | |
super(e, t); | |
} | |
}), | |
v.set(e, t)), | |
t | |
); | |
} | |
E(400), E(401), E(402), E(403), E(404), E(405), E(406), E(408), E(411), E(413); | |
const w = E(415); | |
E(426), E(500), E(501), E(502), E(503); | |
function S(e) { | |
if (!l(e) && !u(e)) throw new TypeError(`Invalid HTTP error status code ${e}.`); | |
} | |
function T(...e) { | |
const t = new r.Ir(); | |
for (const n of e) t.add(String(n)); | |
return async (e, n) => { | |
const a = await n({ ...e, headers: new r.WM(e.headers).set("Accept", t) }); | |
if (!i(a.status)) return a; | |
const o = a.headers.map("Content-Type", r.DD.parse) ?? r.DD.APPLICATION_OCTET_STREAM; | |
if (t.accepts(o.name)) return a; | |
throw (a.abort(), new w()); | |
}; | |
} | |
function _({ okOnly: e = !0 } = {}) { | |
return async (t, n) => { | |
const r = await n(t), | |
{ status: a, statusText: o } = r; | |
if ( | |
((l(a) || u(a)) && | |
(r.abort(), | |
(function (e, t) { | |
throw new (E(e))(t); | |
})(a, o)), | |
e && !i(a)) | |
) | |
throw (r.abort(), new TypeError(`Excepted successful HTTP status but got ${a}.`)); | |
return r; | |
}; | |
} | |
function k(e = {}) { | |
const { maxRetries: t = 3, shouldRetry: n = k.shouldRetry } = e; | |
return async (e, r) => { | |
let a = 0; | |
for (;;) { | |
const o = await r(e); | |
if (!n(o)) return o; | |
if (a === t) return o; | |
a += 1; | |
} | |
}; | |
} | |
k.shouldRetry = (e) => { | |
const { status: t } = e; | |
return 501 !== t && u(t); | |
}; | |
}, | |
7959: (e, t, n) => { | |
"use strict"; | |
function r(e) { | |
return ( | |
null != e && | |
"object" == typeof e && | |
((function (e) { | |
if ("[object Object]" === Object.prototype.toString.call(e)) { | |
const t = Object.getPrototypeOf(e); | |
return null == t || t === Object.prototype; | |
} | |
return !1; | |
})(e) || | |
Array.isArray(e) || | |
"function" == typeof e.toJSON) | |
); | |
} | |
n.d(t, { p: () => r }); | |
}, | |
3060: (e, t, n) => { | |
"use strict"; | |
function r(e) { | |
var t, | |
n, | |
a = ""; | |
if ("string" == typeof e || "number" == typeof e) a += e; | |
else if ("object" == typeof e) | |
if (Array.isArray(e)) for (t = 0; t < e.length; t++) e[t] && (n = r(e[t])) && (a && (a += " "), (a += n)); | |
else for (t in e) e[t] && (a && (a += " "), (a += t)); | |
return a; | |
} | |
function a() { | |
for (var e, t, n = 0, a = ""; n < arguments.length; ) (e = arguments[n++]) && (t = r(e)) && (a && (a += " "), (a += t)); | |
return a; | |
} | |
n.d(t, { W: () => a }); | |
}, | |
5939: (e) => { | |
"use strict"; | |
var t, | |
n = "object" == typeof Reflect ? Reflect : null, | |
r = | |
n && "function" == typeof n.apply | |
? n.apply | |
: function (e, t, n) { | |
return Function.prototype.apply.call(e, t, n); | |
}; | |
t = | |
n && "function" == typeof n.ownKeys | |
? n.ownKeys | |
: Object.getOwnPropertySymbols | |
? function (e) { | |
return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e)); | |
} | |
: function (e) { | |
return Object.getOwnPropertyNames(e); | |
}; | |
var a = | |
Number.isNaN || | |
function (e) { | |
return e != e; | |
}; | |
function o() { | |
o.init.call(this); | |
} | |
(e.exports = o), | |
(e.exports.once = function (e, t) { | |
return new Promise(function (n, r) { | |
function a(n) { | |
e.removeListener(t, o), r(n); | |
} | |
function o() { | |
"function" == typeof e.removeListener && e.removeListener("error", a), n([].slice.call(arguments)); | |
} | |
A(e, t, o, { once: !0 }), | |
"error" !== t && | |
(function (e, t, n) { | |
"function" == typeof e.on && A(e, "error", t, n); | |
})(e, a, { once: !0 }); | |
}); | |
}), | |
(o.EventEmitter = o), | |
(o.prototype._events = void 0), | |
(o.prototype._eventsCount = 0), | |
(o.prototype._maxListeners = void 0); | |
var i = 10; | |
function l(e) { | |
if ("function" != typeof e) throw new TypeError('The "listener" argument must be of type Function. Received type ' + typeof e); | |
} | |
function u(e) { | |
return void 0 === e._maxListeners ? o.defaultMaxListeners : e._maxListeners; | |
} | |
function s(e, t, n, r) { | |
var a, o, i, s; | |
if ( | |
(l(n), | |
void 0 === (o = e._events) ? ((o = e._events = Object.create(null)), (e._eventsCount = 0)) : (void 0 !== o.newListener && (e.emit("newListener", t, n.listener ? n.listener : n), (o = e._events)), (i = o[t])), | |
void 0 === i) | |
) | |
(i = o[t] = n), ++e._eventsCount; | |
else if (("function" == typeof i ? (i = o[t] = r ? [n, i] : [i, n]) : r ? i.unshift(n) : i.push(n), (a = u(e)) > 0 && i.length > a && !i.warned)) { | |
i.warned = !0; | |
var c = new Error("Possible EventEmitter memory leak detected. " + i.length + " " + String(t) + " listeners added. Use emitter.setMaxListeners() to increase limit"); | |
(c.name = "MaxListenersExceededWarning"), (c.emitter = e), (c.type = t), (c.count = i.length), (s = c), console && console.warn && console.warn(s); | |
} | |
return e; | |
} | |
function c() { | |
if (!this.fired) return this.target.removeListener(this.type, this.wrapFn), (this.fired = !0), 0 === arguments.length ? this.listener.call(this.target) : this.listener.apply(this.target, arguments); | |
} | |
function f(e, t, n) { | |
var r = { fired: !1, wrapFn: void 0, target: e, type: t, listener: n }, | |
a = c.bind(r); | |
return (a.listener = n), (r.wrapFn = a), a; | |
} | |
function d(e, t, n) { | |
var r = e._events; | |
if (void 0 === r) return []; | |
var a = r[t]; | |
return void 0 === a | |
? [] | |
: "function" == typeof a | |
? n | |
? [a.listener || a] | |
: [a] | |
: n | |
? (function (e) { | |
for (var t = new Array(e.length), n = 0; n < t.length; ++n) t[n] = e[n].listener || e[n]; | |
return t; | |
})(a) | |
: p(a, a.length); | |
} | |
function h(e) { | |
var t = this._events; | |
if (void 0 !== t) { | |
var n = t[e]; | |
if ("function" == typeof n) return 1; | |
if (void 0 !== n) return n.length; | |
} | |
return 0; | |
} | |
function p(e, t) { | |
for (var n = new Array(t), r = 0; r < t; ++r) n[r] = e[r]; | |
return n; | |
} | |
function A(e, t, n, r) { | |
if ("function" == typeof e.on) r.once ? e.once(t, n) : e.on(t, n); | |
else { | |
if ("function" != typeof e.addEventListener) throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type ' + typeof e); | |
e.addEventListener(t, function a(o) { | |
r.once && e.removeEventListener(t, a), n(o); | |
}); | |
} | |
} | |
Object.defineProperty(o, "defaultMaxListeners", { | |
enumerable: !0, | |
get: function () { | |
return i; | |
}, | |
set: function (e) { | |
if ("number" != typeof e || e < 0 || a(e)) throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received ' + e + "."); | |
i = e; | |
}, | |
}), | |
(o.init = function () { | |
(void 0 !== this._events && this._events !== Object.getPrototypeOf(this)._events) || ((this._events = Object.create(null)), (this._eventsCount = 0)), (this._maxListeners = this._maxListeners || void 0); | |
}), | |
(o.prototype.setMaxListeners = function (e) { | |
if ("number" != typeof e || e < 0 || a(e)) throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received ' + e + "."); | |
return (this._maxListeners = e), this; | |
}), | |
(o.prototype.getMaxListeners = function () { | |
return u(this); | |
}), | |
(o.prototype.emit = function (e) { | |
for (var t = [], n = 1; n < arguments.length; n++) t.push(arguments[n]); | |
var a = "error" === e, | |
o = this._events; | |
if (void 0 !== o) a = a && void 0 === o.error; | |
else if (!a) return !1; | |
if (a) { | |
var i; | |
if ((t.length > 0 && (i = t[0]), i instanceof Error)) throw i; | |
var l = new Error("Unhandled error." + (i ? " (" + i.message + ")" : "")); | |
throw ((l.context = i), l); | |
} | |
var u = o[e]; | |
if (void 0 === u) return !1; | |
if ("function" == typeof u) r(u, this, t); | |
else { | |
var s = u.length, | |
c = p(u, s); | |
for (n = 0; n < s; ++n) r(c[n], this, t); | |
} | |
return !0; | |
}), | |
(o.prototype.addListener = function (e, t) { | |
return s(this, e, t, !1); | |
}), | |
(o.prototype.on = o.prototype.addListener), | |
(o.prototype.prependListener = function (e, t) { | |
return s(this, e, t, !0); | |
}), | |
(o.prototype.once = function (e, t) { | |
return l(t), this.on(e, f(this, e, t)), this; | |
}), | |
(o.prototype.prependOnceListener = function (e, t) { | |
return l(t), this.prependListener(e, f(this, e, t)), this; | |
}), | |
(o.prototype.removeListener = function (e, t) { | |
var n, r, a, o, i; | |
if ((l(t), void 0 === (r = this._events))) return this; | |
if (void 0 === (n = r[e])) return this; | |
if (n === t || n.listener === t) 0 == --this._eventsCount ? (this._events = Object.create(null)) : (delete r[e], r.removeListener && this.emit("removeListener", e, n.listener || t)); | |
else if ("function" != typeof n) { | |
for (a = -1, o = n.length - 1; o >= 0; o--) | |
if (n[o] === t || n[o].listener === t) { | |
(i = n[o].listener), (a = o); | |
break; | |
} | |
if (a < 0) return this; | |
0 === a | |
? n.shift() | |
: (function (e, t) { | |
for (; t + 1 < e.length; t++) e[t] = e[t + 1]; | |
e.pop(); | |
})(n, a), | |
1 === n.length && (r[e] = n[0]), | |
void 0 !== r.removeListener && this.emit("removeListener", e, i || t); | |
} | |
return this; | |
}), | |
(o.prototype.off = o.prototype.removeListener), | |
(o.prototype.removeAllListeners = function (e) { | |
var t, n, r; | |
if (void 0 === (n = this._events)) return this; | |
if (void 0 === n.removeListener) | |
return 0 === arguments.length ? ((this._events = Object.create(null)), (this._eventsCount = 0)) : void 0 !== n[e] && (0 == --this._eventsCount ? (this._events = Object.create(null)) : delete n[e]), this; | |
if (0 === arguments.length) { | |
var a, | |
o = Object.keys(n); | |
for (r = 0; r < o.length; ++r) "removeListener" !== (a = o[r]) && this.removeAllListeners(a); | |
return this.removeAllListeners("removeListener"), (this._events = Object.create(null)), (this._eventsCount = 0), this; | |
} | |
if ("function" == typeof (t = n[e])) this.removeListener(e, t); | |
else if (void 0 !== t) for (r = t.length - 1; r >= 0; r--) this.removeListener(e, t[r]); | |
return this; | |
}), | |
(o.prototype.listeners = function (e) { | |
return d(this, e, !0); | |
}), | |
(o.prototype.rawListeners = function (e) { | |
return d(this, e, !1); | |
}), | |
(o.listenerCount = function (e, t) { | |
return "function" == typeof e.listenerCount ? e.listenerCount(t) : h.call(e, t); | |
}), | |
(o.prototype.listenerCount = h), | |
(o.prototype.eventNames = function () { | |
return this._eventsCount > 0 ? t(this._events) : []; | |
}); | |
}, | |
1281: (e, t, n) => { | |
"use strict"; | |
var r = n(1892), | |
a = { childContextTypes: !0, contextType: !0, contextTypes: !0, defaultProps: !0, displayName: !0, getDefaultProps: !0, getDerivedStateFromError: !0, getDerivedStateFromProps: !0, mixins: !0, propTypes: !0, type: !0 }, | |
o = { name: !0, length: !0, prototype: !0, caller: !0, callee: !0, arguments: !0, arity: !0 }, | |
i = { $$typeof: !0, compare: !0, defaultProps: !0, displayName: !0, propTypes: !0, type: !0 }, | |
l = {}; | |
function u(e) { | |
return r.isMemo(e) ? i : l[e.$$typeof] || a; | |
} | |
(l[r.ForwardRef] = { $$typeof: !0, render: !0, defaultProps: !0, displayName: !0, propTypes: !0 }), (l[r.Memo] = i); | |
var s = Object.defineProperty, | |
c = Object.getOwnPropertyNames, | |
f = Object.getOwnPropertySymbols, | |
d = Object.getOwnPropertyDescriptor, | |
h = Object.getPrototypeOf, | |
p = Object.prototype; | |
e.exports = function e(t, n, r) { | |
if ("string" != typeof n) { | |
if (p) { | |
var a = h(n); | |
a && a !== p && e(t, a, r); | |
} | |
var i = c(n); | |
f && (i = i.concat(f(n))); | |
for (var l = u(t), A = u(n), m = 0; m < i.length; ++m) { | |
var g = i[m]; | |
if (!(o[g] || (r && r[g]) || (A && A[g]) || (l && l[g]))) { | |
var y = d(n, g); | |
try { | |
s(t, g, y); | |
} catch (e) {} | |
} | |
} | |
} | |
return t; | |
}; | |
}, | |
7651: (e, t) => { | |
"use strict"; | |
var n = "function" == typeof Symbol && Symbol.for, | |
r = n ? Symbol.for("react.element") : 60103, | |
a = n ? Symbol.for("react.portal") : 60106, | |
o = n ? Symbol.for("react.fragment") : 60107, | |
i = n ? Symbol.for("react.strict_mode") : 60108, | |
l = n ? Symbol.for("react.profiler") : 60114, | |
u = n ? Symbol.for("react.provider") : 60109, | |
s = n ? Symbol.for("react.context") : 60110, | |
c = n ? Symbol.for("react.async_mode") : 60111, | |
f = n ? Symbol.for("react.concurrent_mode") : 60111, | |
d = n ? Symbol.for("react.forward_ref") : 60112, | |
h = n ? Symbol.for("react.suspense") : 60113, | |
p = n ? Symbol.for("react.suspense_list") : 60120, | |
A = n ? Symbol.for("react.memo") : 60115, | |
m = n ? Symbol.for("react.lazy") : 60116, | |
g = n ? Symbol.for("react.block") : 60121, | |
y = n ? Symbol.for("react.fundamental") : 60117, | |
v = n ? Symbol.for("react.responder") : 60118, | |
b = n ? Symbol.for("react.scope") : 60119; | |
function E(e) { | |
if ("object" == typeof e && null !== e) { | |
var t = e.$$typeof; | |
switch (t) { | |
case r: | |
switch ((e = e.type)) { | |
case c: | |
case f: | |
case o: | |
case l: | |
case i: | |
case h: | |
return e; | |
default: | |
switch ((e = e && e.$$typeof)) { | |
case s: | |
case d: | |
case m: | |
case A: | |
case u: | |
return e; | |
default: | |
return t; | |
} | |
} | |
case a: | |
return t; | |
} | |
} | |
} | |
function w(e) { | |
return E(e) === f; | |
} | |
(t.AsyncMode = c), | |
(t.ConcurrentMode = f), | |
(t.ContextConsumer = s), | |
(t.ContextProvider = u), | |
(t.Element = r), | |
(t.ForwardRef = d), | |
(t.Fragment = o), | |
(t.Lazy = m), | |
(t.Memo = A), | |
(t.Portal = a), | |
(t.Profiler = l), | |
(t.StrictMode = i), | |
(t.Suspense = h), | |
(t.isAsyncMode = function (e) { | |
return w(e) || E(e) === c; | |
}), | |
(t.isConcurrentMode = w), | |
(t.isContextConsumer = function (e) { | |
return E(e) === s; | |
}), | |
(t.isContextProvider = function (e) { | |
return E(e) === u; | |
}), | |
(t.isElement = function (e) { | |
return "object" == typeof e && null !== e && e.$$typeof === r; | |
}), | |
(t.isForwardRef = function (e) { | |
return E(e) === d; | |
}), | |
(t.isFragment = function (e) { | |
return E(e) === o; | |
}), | |
(t.isLazy = function (e) { | |
return E(e) === m; | |
}), | |
(t.isMemo = function (e) { | |
return E(e) === A; | |
}), | |
(t.isPortal = function (e) { | |
return E(e) === a; | |
}), | |
(t.isProfiler = function (e) { | |
return E(e) === l; | |
}), | |
(t.isStrictMode = function (e) { | |
return E(e) === i; | |
}), | |
(t.isSuspense = function (e) { | |
return E(e) === h; | |
}), | |
(t.isValidElementType = function (e) { | |
return ( | |
"string" == typeof e || | |
"function" == typeof e || | |
e === o || | |
e === f || | |
e === l || | |
e === i || | |
e === h || | |
e === p || | |
("object" == typeof e && | |
null !== e && | |
(e.$$typeof === m || e.$$typeof === A || e.$$typeof === u || e.$$typeof === s || e.$$typeof === d || e.$$typeof === y || e.$$typeof === v || e.$$typeof === b || e.$$typeof === g)) | |
); | |
}), | |
(t.typeOf = E); | |
}, | |
1892: (e, t, n) => { | |
"use strict"; | |
e.exports = n(7651); | |
}, | |
4986: (e, t, n) => { | |
"use strict"; | |
n.d(t, { C: () => s }); | |
var r = n(3940), | |
a = n(6996), | |
o = n(5610), | |
i = n(9036); | |
function l(e, t) { | |
return t | |
? Object.keys(e).reduce(function (n, a) { | |
var o, i; | |
return ( | |
(n[a] = | |
((o = e[a]), | |
(i = t[a]) | |
? (0, r.pi)( | |
(0, r.pi)((0, r.pi)({}, o || {}), i || {}), | |
Object.keys(o).reduce(function (e, t) { | |
return (e[t] = (0, r.pi)((0, r.pi)({}, o[t]), i[t] || {})), e; | |
}, {}) | |
) | |
: o)), | |
n | |
); | |
}, (0, r.pi)({}, e)) | |
: e; | |
} | |
function u(e) { | |
return { | |
create: function () { | |
return { | |
get: function (t) { | |
return e[t]; | |
}, | |
set: function (t, n) { | |
e[t] = n; | |
}, | |
}; | |
}, | |
}; | |
} | |
var s = (function () { | |
function e(t, n, a, s) { | |
void 0 === n && (n = e.defaultLocale); | |
var c, | |
f = this; | |
if ( | |
((this.formatterCache = { number: {}, dateTime: {}, pluralRules: {} }), | |
(this.format = function (e) { | |
var t = f.formatToParts(e); | |
if (1 === t.length) return t[0].value; | |
var n = t.reduce(function (e, t) { | |
return e.length && t.type === i.du.literal && "string" == typeof e[e.length - 1] ? (e[e.length - 1] += t.value) : e.push(t.value), e; | |
}, []); | |
return n.length <= 1 ? n[0] || "" : n; | |
}), | |
(this.formatToParts = function (e) { | |
return (0, i.FK)(f.ast, f.locales, f.formatters, f.formats, e, void 0, f.message); | |
}), | |
(this.resolvedOptions = function () { | |
var e; | |
return { locale: (null === (e = f.resolvedLocale) || void 0 === e ? void 0 : e.toString()) || Intl.NumberFormat.supportedLocalesOf(f.locales)[0] }; | |
}), | |
(this.getAst = function () { | |
return f.ast; | |
}), | |
(this.locales = n), | |
(this.resolvedLocale = e.resolveLocale(n)), | |
"string" == typeof t) | |
) { | |
if (((this.message = t), !e.__parse)) throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`"); | |
this.ast = e.__parse(t, { ignoreTag: null == s ? void 0 : s.ignoreTag, locale: this.resolvedLocale }); | |
} else this.ast = t; | |
if (!Array.isArray(this.ast)) throw new TypeError("A message must be provided as a String or AST."); | |
(this.formats = l(e.formats, a)), | |
(this.formatters = | |
(s && s.formatters) || | |
(void 0 === (c = this.formatterCache) && (c = { number: {}, dateTime: {}, pluralRules: {} }), | |
{ | |
getNumberFormat: (0, o.Z)( | |
function () { | |
for (var e, t = [], n = 0; n < arguments.length; n++) t[n] = arguments[n]; | |
return new ((e = Intl.NumberFormat).bind.apply(e, (0, r.ev)([void 0], t, !1)))(); | |
}, | |
{ cache: u(c.number), strategy: o.A.variadic } | |
), | |
getDateTimeFormat: (0, o.Z)( | |
function () { | |
for (var e, t = [], n = 0; n < arguments.length; n++) t[n] = arguments[n]; | |
return new ((e = Intl.DateTimeFormat).bind.apply(e, (0, r.ev)([void 0], t, !1)))(); | |
}, | |
{ cache: u(c.dateTime), strategy: o.A.variadic } | |
), | |
getPluralRules: (0, o.Z)( | |
function () { | |
for (var e, t = [], n = 0; n < arguments.length; n++) t[n] = arguments[n]; | |
return new ((e = Intl.PluralRules).bind.apply(e, (0, r.ev)([void 0], t, !1)))(); | |
}, | |
{ cache: u(c.pluralRules), strategy: o.A.variadic } | |
), | |
})); | |
} | |
return ( | |
Object.defineProperty(e, "defaultLocale", { | |
get: function () { | |
return e.memoizedDefaultLocale || (e.memoizedDefaultLocale = new Intl.NumberFormat().resolvedOptions().locale), e.memoizedDefaultLocale; | |
}, | |
enumerable: !1, | |
configurable: !0, | |
}), | |
(e.memoizedDefaultLocale = null), | |
(e.resolveLocale = function (e) { | |
if (void 0 !== Intl.Locale) { | |
var t = Intl.NumberFormat.supportedLocalesOf(e); | |
return t.length > 0 ? new Intl.Locale(t[0]) : new Intl.Locale("string" == typeof e ? e : e[0]); | |
} | |
}), | |
(e.__parse = a.Qc), | |
(e.formats = { | |
number: { integer: { maximumFractionDigits: 0 }, currency: { style: "currency" }, percent: { style: "percent" } }, | |
date: { | |
short: { month: "numeric", day: "numeric", year: "2-digit" }, | |
medium: { month: "short", day: "numeric", year: "numeric" }, | |
long: { month: "long", day: "numeric", year: "numeric" }, | |
full: { weekday: "long", month: "long", day: "numeric", year: "numeric" }, | |
}, | |
time: { | |
short: { hour: "numeric", minute: "numeric" }, | |
medium: { hour: "numeric", minute: "numeric", second: "numeric" }, | |
long: { hour: "numeric", minute: "numeric", second: "numeric", timeZoneName: "short" }, | |
full: { hour: "numeric", minute: "numeric", second: "numeric", timeZoneName: "short" }, | |
}, | |
}), | |
e | |
); | |
})(); | |
}, | |
6225: (e, t, n) => { | |
"use strict"; | |
n.d(t, { C8: () => i, HR: () => u, YR: () => l, jK: () => r, u_: () => o }); | |
var r, | |
a = n(3940); | |
!(function (e) { | |
(e.MISSING_VALUE = "MISSING_VALUE"), (e.INVALID_VALUE = "INVALID_VALUE"), (e.MISSING_INTL_API = "MISSING_INTL_API"); | |
})(r || (r = {})); | |
var o = (function (e) { | |
function t(t, n, r) { | |
var a = e.call(this, t) || this; | |
return (a.code = n), (a.originalMessage = r), a; | |
} | |
return ( | |
(0, a.ZT)(t, e), | |
(t.prototype.toString = function () { | |
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message); | |
}), | |
t | |
); | |
})(Error), | |
i = (function (e) { | |
function t(t, n, a, o) { | |
return e.call(this, 'Invalid values for "'.concat(t, '": "').concat(n, '". Options are "').concat(Object.keys(a).join('", "'), '"'), r.INVALID_VALUE, o) || this; | |
} | |
return (0, a.ZT)(t, e), t; | |
})(o), | |
l = (function (e) { | |
function t(t, n, a) { | |
return e.call(this, 'Value for "'.concat(t, '" must be of type ').concat(n), r.INVALID_VALUE, a) || this; | |
} | |
return (0, a.ZT)(t, e), t; | |
})(o), | |
u = (function (e) { | |
function t(t, n) { | |
return e.call(this, 'The intl string context variable "'.concat(t, '" was not provided to the string "').concat(n, '"'), r.MISSING_VALUE, n) || this; | |
} | |
return (0, a.ZT)(t, e), t; | |
})(o); | |
}, | |
9036: (e, t, n) => { | |
"use strict"; | |
n.d(t, { FK: () => l, Gt: () => i, du: () => r }); | |
var r, | |
a = n(6996), | |
o = n(6225); | |
function i(e) { | |
return "function" == typeof e; | |
} | |
function l(e, t, n, u, s, c, f) { | |
if (1 === e.length && (0, a.O4)(e[0])) return [{ type: r.literal, value: e[0].value }]; | |
for (var d = [], h = 0, p = e; h < p.length; h++) { | |
var A = p[h]; | |
if ((0, a.O4)(A)) d.push({ type: r.literal, value: A.value }); | |
else if ((0, a.yx)(A)) "number" == typeof c && d.push({ type: r.literal, value: n.getNumberFormat(t).format(c) }); | |
else { | |
var m = A.value; | |
if (!s || !(m in s)) throw new o.HR(m, f); | |
var g = s[m]; | |
if ((0, a.VG)(A)) (g && "string" != typeof g && "number" != typeof g) || (g = "string" == typeof g || "number" == typeof g ? String(g) : ""), d.push({ type: "string" == typeof g ? r.literal : r.object, value: g }); | |
else if ((0, a.rp)(A)) { | |
var y = "string" == typeof A.style ? u.date[A.style] : (0, a.Ii)(A.style) ? A.style.parsedOptions : void 0; | |
d.push({ type: r.literal, value: n.getDateTimeFormat(t, y).format(g) }); | |
} else if ((0, a.pe)(A)) { | |
y = "string" == typeof A.style ? u.time[A.style] : (0, a.Ii)(A.style) ? A.style.parsedOptions : u.time.medium; | |
d.push({ type: r.literal, value: n.getDateTimeFormat(t, y).format(g) }); | |
} else if ((0, a.uf)(A)) { | |
(y = "string" == typeof A.style ? u.number[A.style] : (0, a.Wh)(A.style) ? A.style.parsedOptions : void 0) && y.scale && (g *= y.scale || 1), d.push({ type: r.literal, value: n.getNumberFormat(t, y).format(g) }); | |
} else { | |
if ((0, a.HI)(A)) { | |
var v = A.children, | |
b = A.value, | |
E = s[b]; | |
if (!i(E)) throw new o.YR(b, "function", f); | |
var w = E( | |
l(v, t, n, u, s, c).map(function (e) { | |
return e.value; | |
}) | |
); | |
Array.isArray(w) || (w = [w]), | |
d.push.apply( | |
d, | |
w.map(function (e) { | |
return { type: "string" == typeof e ? r.literal : r.object, value: e }; | |
}) | |
); | |
} | |
if ((0, a.Wi)(A)) { | |
if (!(S = A.options[g] || A.options.other)) throw new o.C8(A.value, g, Object.keys(A.options), f); | |
d.push.apply(d, l(S.value, t, n, u, s)); | |
} else if ((0, a.Jo)(A)) { | |
var S; | |
if (!(S = A.options["=".concat(g)])) { | |
if (!Intl.PluralRules) throw new o.u_('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n', o.jK.MISSING_INTL_API, f); | |
var T = n.getPluralRules(t, { type: A.pluralType }).select(g - (A.offset || 0)); | |
S = A.options[T] || A.options.other; | |
} | |
if (!S) throw new o.C8(A.value, g, Object.keys(A.options), f); | |
d.push.apply(d, l(S.value, t, n, u, s, g - (A.offset || 0))); | |
} else; | |
} | |
} | |
} | |
return (function (e) { | |
return e.length < 2 | |
? e | |
: e.reduce(function (e, t) { | |
var n = e[e.length - 1]; | |
return n && n.type === r.literal && t.type === r.literal ? (n.value += t.value) : e.push(t), e; | |
}, []); | |
})(d); | |
} | |
!(function (e) { | |
(e[(e.literal = 0)] = "literal"), (e[(e.object = 1)] = "object"); | |
})(r || (r = {})); | |
}, | |
4937: (e, t, n) => { | |
var r = n(158).Symbol; | |
e.exports = r; | |
}, | |
7041: (e) => { | |
e.exports = function (e, t) { | |
for (var n = -1, r = null == e ? 0 : e.length, a = Array(r); ++n < r; ) a[n] = t(e[n], n, e); | |
return a; | |
}; | |
}, | |
7049: (e) => { | |
e.exports = function (e, t, n) { | |
return e == e && (void 0 !== n && (e = e <= n ? e : n), void 0 !== t && (e = e >= t ? e : t)), e; | |
}; | |
}, | |
194: (e, t, n) => { | |
var r = n(4937), | |
a = n(5401), | |
o = n(2445), | |
i = r ? r.toStringTag : void 0; | |
e.exports = function (e) { | |
return null == e ? (void 0 === e ? "[object Undefined]" : "[object Null]") : i && i in Object(e) ? a(e) : o(e); | |
}; | |
}, | |
430: (e, t, n) => { | |
var r = n(4937), | |
a = n(7041), | |
o = n(3706), | |
i = n(1878), | |
l = r ? r.prototype : void 0, | |
u = l ? l.toString : void 0; | |
e.exports = function e(t) { | |
if ("string" == typeof t) return t; | |
if (o(t)) return a(t, e) + ""; | |
if (i(t)) return u ? u.call(t) : ""; | |
var n = t + ""; | |
return "0" == n && 1 / t == -Infinity ? "-0" : n; | |
}; | |
}, | |
2383: (e, t, n) => { | |
var r = n(8725), | |
a = /^\s+/; | |
e.exports = function (e) { | |
return e ? e.slice(0, r(e) + 1).replace(a, "") : e; | |
}; | |
}, | |
7899: (e, t, n) => { | |
var r = n(158), | |
a = n(8306), | |
o = n(5053), | |
i = n(3270), | |
l = r.isFinite, | |
u = Math.min; | |
e.exports = function (e) { | |
var t = Math[e]; | |
return function (e, n) { | |
if (((e = o(e)), (n = null == n ? 0 : u(a(n), 292)) && l(e))) { | |
var r = (i(e) + "e").split("e"), | |
s = t(r[0] + "e" + (+r[1] + n)); | |
return +((r = (i(s) + "e").split("e"))[0] + "e" + (+r[1] - n)); | |
} | |
return t(e); | |
}; | |
}; | |
}, | |
4528: (e, t, n) => { | |
var r = "object" == typeof n.g && n.g && n.g.Object === Object && n.g; | |
e.exports = r; | |
}, | |
4669: (e, t, n) => { | |
var r = n(8579)(Object.getPrototypeOf, Object); | |
e.exports = r; | |
}, | |
5401: (e, t, n) => { | |
var r = n(4937), | |
a = Object.prototype, | |
o = a.hasOwnProperty, | |
i = a.toString, | |
l = r ? r.toStringTag : void 0; | |
e.exports = function (e) { | |
var t = o.call(e, l), | |
n = e[l]; | |
try { | |
e[l] = void 0; | |
var r = !0; | |
} catch (e) {} | |
var a = i.call(e); | |
return r && (t ? (e[l] = n) : delete e[l]), a; | |
}; | |
}, | |
2445: (e) => { | |
var t = Object.prototype.toString; | |
e.exports = function (e) { | |
return t.call(e); | |
}; | |
}, | |
8579: (e) => { | |
e.exports = function (e, t) { | |
return function (n) { | |
return e(t(n)); | |
}; | |
}; | |
}, | |
158: (e, t, n) => { | |
var r = n(4528), | |
a = "object" == typeof self && self && self.Object === Object && self, | |
o = r || a || Function("return this")(); | |
e.exports = o; | |
}, | |
8725: (e) => { | |
var t = /\s/; | |
e.exports = function (e) { | |
for (var n = e.length; n-- && t.test(e.charAt(n)); ); | |
return n; | |
}; | |
}, | |
9086: (e, t, n) => { | |
var r = n(7049), | |
a = n(5053); | |
e.exports = function (e, t, n) { | |
return void 0 === n && ((n = t), (t = void 0)), void 0 !== n && (n = (n = a(n)) == n ? n : 0), void 0 !== t && (t = (t = a(t)) == t ? t : 0), r(a(e), t, n); | |
}; | |
}, | |
6897: (e, t, n) => { | |
var r = n(3619), | |
a = n(8253), | |
o = n(5053), | |
i = Math.max, | |
l = Math.min; | |
e.exports = function (e, t, n) { | |
var u, | |
s, | |
c, | |
f, | |
d, | |
h, | |
p = 0, | |
A = !1, | |
m = !1, | |
g = !0; | |
if ("function" != typeof e) throw new TypeError("Expected a function"); | |
function y(t) { | |
var n = u, | |
r = s; | |
return (u = s = void 0), (p = t), (f = e.apply(r, n)); | |
} | |
function v(e) { | |
return (p = e), (d = setTimeout(E, t)), A ? y(e) : f; | |
} | |
function b(e) { | |
var n = e - h; | |
return void 0 === h || n >= t || n < 0 || (m && e - p >= c); | |
} | |
function E() { | |
var e = a(); | |
if (b(e)) return w(e); | |
d = setTimeout( | |
E, | |
(function (e) { | |
var n = t - (e - h); | |
return m ? l(n, c - (e - p)) : n; | |
})(e) | |
); | |
} | |
function w(e) { | |
return (d = void 0), g && u ? y(e) : ((u = s = void 0), f); | |
} | |
function S() { | |
var e = a(), | |
n = b(e); | |
if (((u = arguments), (s = this), (h = e), n)) { | |
if (void 0 === d) return v(h); | |
if (m) return clearTimeout(d), (d = setTimeout(E, t)), y(h); | |
} | |
return void 0 === d && (d = setTimeout(E, t)), f; | |
} | |
return ( | |
(t = o(t) || 0), | |
r(n) && ((A = !!n.leading), (c = (m = "maxWait" in n) ? i(o(n.maxWait) || 0, t) : c), (g = "trailing" in n ? !!n.trailing : g)), | |
(S.cancel = function () { | |
void 0 !== d && clearTimeout(d), (p = 0), (u = h = s = d = void 0); | |
}), | |
(S.flush = function () { | |
return void 0 === d ? f : w(a()); | |
}), | |
S | |
); | |
}; | |
}, | |
1316: (e) => { | |
e.exports = function (e, t) { | |
return e === t || (e != e && t != t); | |
}; | |
}, | |
3706: (e) => { | |
var t = Array.isArray; | |
e.exports = t; | |
}, | |
3079: (e, t, n) => { | |
var r = n(194), | |
a = n(1653); | |
e.exports = function (e) { | |
return !0 === e || !1 === e || (a(e) && "[object Boolean]" == r(e)); | |
}; | |
}, | |
7315: (e, t, n) => { | |
var r = n(194), | |
a = n(1653); | |
e.exports = function (e) { | |
return "number" == typeof e || (a(e) && "[object Number]" == r(e)); | |
}; | |
}, | |
3619: (e) => { | |
e.exports = function (e) { | |
var t = typeof e; | |
return null != e && ("object" == t || "function" == t); | |
}; | |
}, | |
1653: (e) => { | |
e.exports = function (e) { | |
return null != e && "object" == typeof e; | |
}; | |
}, | |
2678: (e, t, n) => { | |
var r = n(194), | |
a = n(4669), | |
o = n(1653), | |
i = Function.prototype, | |
l = Object.prototype, | |
u = i.toString, | |
s = l.hasOwnProperty, | |
c = u.call(Object); | |
e.exports = function (e) { | |
if (!o(e) || "[object Object]" != r(e)) return !1; | |
var t = a(e); | |
if (null === t) return !0; | |
var n = s.call(t, "constructor") && t.constructor; | |
return "function" == typeof n && n instanceof n && u.call(n) == c; | |
}; | |
}, | |
2139: (e, t, n) => { | |
var r = n(194), | |
a = n(3706), | |
o = n(1653); | |
e.exports = function (e) { | |
return "string" == typeof e || (!a(e) && o(e) && "[object String]" == r(e)); | |
}; | |
}, | |
1878: (e, t, n) => { | |
var r = n(194), | |
a = n(1653); | |
e.exports = function (e) { | |
return "symbol" == typeof e || (a(e) && "[object Symbol]" == r(e)); | |
}; | |
}, | |
8253: (e, t, n) => { | |
var r = n(158); | |
e.exports = function () { | |
return r.Date.now(); | |
}; | |
}, | |
9293: (e, t, n) => { | |
var r = n(7899)("round"); | |
e.exports = r; | |
}, | |
8024: (e, t, n) => { | |
var r = n(5053), | |
a = 1 / 0; | |
e.exports = function (e) { | |
return e ? ((e = r(e)) === a || e === -1 / 0 ? 17976931348623157e292 * (e < 0 ? -1 : 1) : e == e ? e : 0) : 0 === e ? e : 0; | |
}; | |
}, | |
8306: (e, t, n) => { | |
var r = n(8024); | |
e.exports = function (e) { | |
var t = r(e), | |
n = t % 1; | |
return t == t ? (n ? t - n : t) : 0; | |
}; | |
}, | |
5053: (e, t, n) => { | |
var r = n(2383), | |
a = n(3619), | |
o = n(1878), | |
i = /^[-+]0x[0-9a-f]+$/i, | |
l = /^0b[01]+$/i, | |
u = /^0o[0-7]+$/i, | |
s = parseInt; | |
e.exports = function (e) { | |
if ("number" == typeof e) return e; | |
if (o(e)) return NaN; | |
if (a(e)) { | |
var t = "function" == typeof e.valueOf ? e.valueOf() : e; | |
e = a(t) ? t + "" : t; | |
} | |
if ("string" != typeof e) return 0 === e ? e : +e; | |
e = r(e); | |
var n = l.test(e); | |
return n || u.test(e) ? s(e.slice(2), n ? 2 : 8) : i.test(e) ? NaN : +e; | |
}; | |
}, | |
3270: (e, t, n) => { | |
var r = n(430); | |
e.exports = function (e) { | |
return null == e ? "" : r(e); | |
}; | |
}, | |
7799: (e, t, n) => { | |
"use strict"; | |
var r = n(9526), | |
a = n(2851); | |
function o(e) { | |
for (var t = "https://reactjs.org/docs/error-decoder.html?invariant=" + e, n = 1; n < arguments.length; n++) t += "&args[]=" + encodeURIComponent(arguments[n]); | |
return "Minified React error #" + e + "; visit " + t + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings."; | |
} | |
var i = new Set(), | |
l = {}; | |
function u(e, t) { | |
s(e, t), s(e + "Capture", t); | |
} | |
function s(e, t) { | |
for (l[e] = t, e = 0; e < t.length; e++) i.add(t[e]); | |
} | |
var c = !(void 0 === window.document || void 0 === window.document.createElement), | |
f = Object.prototype.hasOwnProperty, | |
d = /^[: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]*$/, | |
h = {}, | |
p = {}; | |
function A(e, t, n, r, a, o, i) { | |
(this.acceptsBooleans = 2 === t || 3 === t || 4 === t), | |
(this.attributeName = r), | |
(this.attributeNamespace = a), | |
(this.mustUseProperty = n), | |
(this.propertyName = e), | |
(this.type = t), | |
(this.sanitizeURL = o), | |
(this.removeEmptyString = i); | |
} | |
var m = {}; | |
"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function (e) { | |
m[e] = new A(e, 0, !1, e, null, !1, !1); | |
}), | |
[ | |
["acceptCharset", "accept-charset"], | |
["className", "class"], | |
["htmlFor", "for"], | |
["httpEquiv", "http-equiv"], | |
].forEach(function (e) { | |
var t = e[0]; | |
m[t] = new A(t, 1, !1, e[1], null, !1, !1); | |
}), | |
["contentEditable", "draggable", "spellCheck", "value"].forEach(function (e) { | |
m[e] = new A(e, 2, !1, e.toLowerCase(), null, !1, !1); | |
}), | |
["autoReverse", "externalResourcesRequired", "focusable", "preserveAlpha"].forEach(function (e) { | |
m[e] = new A(e, 2, !1, e, 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 (e) { | |
m[e] = new A(e, 3, !1, e.toLowerCase(), null, !1, !1); | |
}), | |
["checked", "multiple", "muted", "selected"].forEach(function (e) { | |
m[e] = new A(e, 3, !0, e, null, !1, !1); | |
}), | |
["capture", "download"].forEach(function (e) { | |
m[e] = new A(e, 4, !1, e, null, !1, !1); | |
}), | |
["cols", "rows", "size", "span"].forEach(function (e) { | |
m[e] = new A(e, 6, !1, e, null, !1, !1); | |
}), | |
["rowSpan", "start"].forEach(function (e) { | |
m[e] = new A(e, 5, !1, e.toLowerCase(), null, !1, !1); | |
}); | |
var g = /[\-:]([a-z])/g; | |
function y(e) { | |
return e[1].toUpperCase(); | |
} | |
function v(e, t, n, r) { | |
var a = m.hasOwnProperty(t) ? m[t] : null; | |
(null !== a ? 0 !== a.type : r || !(2 < t.length) || ("o" !== t[0] && "O" !== t[0]) || ("n" !== t[1] && "N" !== t[1])) && | |
((function (e, t, n, r) { | |
if ( | |
null == t || | |
(function (e, t, n, r) { | |
if (null !== n && 0 === n.type) return !1; | |
switch (typeof t) { | |
case "function": | |
case "symbol": | |
return !0; | |
case "boolean": | |
return !r && (null !== n ? !n.acceptsBooleans : "data-" !== (e = e.toLowerCase().slice(0, 5)) && "aria-" !== e); | |
default: | |
return !1; | |
} | |
})(e, t, n, r) | |
) | |
return !0; | |
if (r) return !1; | |
if (null !== n) | |
switch (n.type) { | |
case 3: | |
return !t; | |
case 4: | |
return !1 === t; | |
case 5: | |
return isNaN(t); | |
case 6: | |
return isNaN(t) || 1 > t; | |
} | |
return !1; | |
})(t, n, a, r) && (n = null), | |
r || null === a | |
? (function (e) { | |
return !!f.call(p, e) || (!f.call(h, e) && (d.test(e) ? (p[e] = !0) : ((h[e] = !0), !1))); | |
})(t) && (null === n ? e.removeAttribute(t) : e.setAttribute(t, "" + n)) | |
: a.mustUseProperty | |
? (e[a.propertyName] = null === n ? 3 !== a.type && "" : n) | |
: ((t = a.attributeName), (r = a.attributeNamespace), null === n ? e.removeAttribute(t) : ((n = 3 === (a = a.type) || (4 === a && !0 === n) ? "" : "" + n), r ? e.setAttributeNS(r, t, n) : e.setAttribute(t, n)))); | |
} | |
"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 (e) { | |
var t = e.replace(g, y); | |
m[t] = new A(t, 1, !1, e, null, !1, !1); | |
}), | |
"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function (e) { | |
var t = e.replace(g, y); | |
m[t] = new A(t, 1, !1, e, "http://www.w3.org/1999/xlink", !1, !1); | |
}), | |
["xml:base", "xml:lang", "xml:space"].forEach(function (e) { | |
var t = e.replace(g, y); | |
m[t] = new A(t, 1, !1, e, "http://www.w3.org/XML/1998/namespace", !1, !1); | |
}), | |
["tabIndex", "crossOrigin"].forEach(function (e) { | |
m[e] = new A(e, 1, !1, e.toLowerCase(), null, !1, !1); | |
}), | |
(m.xlinkHref = new A("xlinkHref", 1, !1, "xlink:href", "http://www.w3.org/1999/xlink", !0, !1)), | |
["src", "href", "action", "formAction"].forEach(function (e) { | |
m[e] = new A(e, 1, !1, e.toLowerCase(), null, !0, !0); | |
}); | |
var b = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, | |
E = Symbol.for("react.element"), | |
w = Symbol.for("react.portal"), | |
S = Symbol.for("react.fragment"), | |
T = Symbol.for("react.strict_mode"), | |
_ = Symbol.for("react.profiler"), | |
k = Symbol.for("react.provider"), | |
C = Symbol.for("react.context"), | |
N = Symbol.for("react.forward_ref"), | |
P = Symbol.for("react.suspense"), | |
R = Symbol.for("react.suspense_list"), | |
O = Symbol.for("react.memo"), | |
L = Symbol.for("react.lazy"); | |
Symbol.for("react.scope"), Symbol.for("react.debug_trace_mode"); | |
var x = Symbol.for("react.offscreen"); | |
Symbol.for("react.legacy_hidden"), Symbol.for("react.cache"), Symbol.for("react.tracing_marker"); | |
var I = Symbol.iterator; | |
function D(e) { | |
return null === e || "object" != typeof e ? null : "function" == typeof (e = (I && e[I]) || e["@@iterator"]) ? e : null; | |
} | |
var M, | |
B = Object.assign; | |
function H(e) { | |
if (void 0 === M) | |
try { | |
throw Error(); | |
} catch (e) { | |
var t = e.stack.trim().match(/\n( *(at )?)/); | |
M = (t && t[1]) || ""; | |
} | |
return "\n" + M + e; | |
} | |
var F = !1; | |
function U(e, t) { | |
if (!e || F) return ""; | |
F = !0; | |
var n = Error.prepareStackTrace; | |
Error.prepareStackTrace = void 0; | |
try { | |
if (t) | |
if ( | |
((t = function () { | |
throw Error(); | |
}), | |
Object.defineProperty(t.prototype, "props", { | |
set: function () { | |
throw Error(); | |
}, | |
}), | |
"object" == typeof Reflect && Reflect.construct) | |
) { | |
try { | |
Reflect.construct(t, []); | |
} catch (e) { | |
var r = e; | |
} | |
Reflect.construct(e, [], t); | |
} else { | |
try { | |
t.call(); | |
} catch (e) { | |
r = e; | |
} | |
e.call(t.prototype); | |
} | |
else { | |
try { | |
throw Error(); | |
} catch (e) { | |
r = e; | |
} | |
e(); | |
} | |
} catch (t) { | |
if (t && r && "string" == typeof t.stack) { | |
for (var a = t.stack.split("\n"), o = r.stack.split("\n"), i = a.length - 1, l = o.length - 1; 1 <= i && 0 <= l && a[i] !== o[l]; ) l--; | |
for (; 1 <= i && 0 <= l; i--, l--) | |
if (a[i] !== o[l]) { | |
if (1 !== i || 1 !== l) | |
do { | |
if ((i--, 0 > --l || a[i] !== o[l])) { | |
var u = "\n" + a[i].replace(" at new ", " at "); | |
return e.displayName && u.includes("<anonymous>") && (u = u.replace("<anonymous>", e.displayName)), u; | |
} | |
} while (1 <= i && 0 <= l); | |
break; | |
} | |
} | |
} finally { | |
(F = !1), (Error.prepareStackTrace = n); | |
} | |
return (e = e ? e.displayName || e.name : "") ? H(e) : ""; | |
} | |
function z(e) { | |
switch (e.tag) { | |
case 5: | |
return H(e.type); | |
case 16: | |
return H("Lazy"); | |
case 13: | |
return H("Suspense"); | |
case 19: | |
return H("SuspenseList"); | |
case 0: | |
case 2: | |
case 15: | |
return (e = U(e.type, !1)); | |
case 11: | |
return (e = U(e.type.render, !1)); | |
case 1: | |
return (e = U(e.type, !0)); | |
default: | |
return ""; | |
} | |
} | |
function j(e) { | |
if (null == e) return null; | |
if ("function" == typeof e) return e.displayName || e.name || null; | |
if ("string" == typeof e) return e; | |
switch (e) { | |
case S: | |
return "Fragment"; | |
case w: | |
return "Portal"; | |
case _: | |
return "Profiler"; | |
case T: | |
return "StrictMode"; | |
case P: | |
return "Suspense"; | |
case R: | |
return "SuspenseList"; | |
} | |
if ("object" == typeof e) | |
switch (e.$$typeof) { | |
case C: | |
return (e.displayName || "Context") + ".Consumer"; | |
case k: | |
return (e._context.displayName || "Context") + ".Provider"; | |
case N: | |
var t = e.render; | |
return (e = e.displayName) || (e = "" !== (e = t.displayName || t.name || "") ? "ForwardRef(" + e + ")" : "ForwardRef"), e; | |
case O: | |
return null !== (t = e.displayName || null) ? t : j(e.type) || "Memo"; | |
case L: | |
(t = e._payload), (e = e._init); | |
try { | |
return j(e(t)); | |
} catch (e) {} | |
} | |
return null; | |
} | |
function G(e) { | |
var t = e.type; | |
switch (e.tag) { | |
case 24: | |
return "Cache"; | |
case 9: | |
return (t.displayName || "Context") + ".Consumer"; | |
case 10: | |
return (t._context.displayName || "Context") + ".Provider"; | |
case 18: | |
return "DehydratedFragment"; | |
case 11: | |
return (e = (e = t.render).displayName || e.name || ""), t.displayName || ("" !== e ? "ForwardRef(" + e + ")" : "ForwardRef"); | |
case 7: | |
return "Fragment"; | |
case 5: | |
return t; | |
case 4: | |
return "Portal"; | |
case 3: | |
return "Root"; | |
case 6: | |
return "Text"; | |
case 16: | |
return j(t); | |
case 8: | |
return t === T ? "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 ("function" == typeof t) return t.displayName || t.name || null; | |
if ("string" == typeof t) return t; | |
} | |
return null; | |
} | |
function V(e) { | |
switch (typeof e) { | |
case "boolean": | |
case "number": | |
case "string": | |
case "undefined": | |
case "object": | |
return e; | |
default: | |
return ""; | |
} | |
} | |
function $(e) { | |
var t = e.type; | |
return (e = e.nodeName) && "input" === e.toLowerCase() && ("checkbox" === t || "radio" === t); | |
} | |
function Z(e) { | |
e._valueTracker || | |
(e._valueTracker = (function (e) { | |
var t = $(e) ? "checked" : "value", | |
n = Object.getOwnPropertyDescriptor(e.constructor.prototype, t), | |
r = "" + e[t]; | |
if (!e.hasOwnProperty(t) && void 0 !== n && "function" == typeof n.get && "function" == typeof n.set) { | |
var a = n.get, | |
o = n.set; | |
return ( | |
Object.defineProperty(e, t, { | |
configurable: !0, | |
get: function () { | |
return a.call(this); | |
}, | |
set: function (e) { | |
(r = "" + e), o.call(this, e); | |
}, | |
}), | |
Object.defineProperty(e, t, { enumerable: n.enumerable }), | |
{ | |
getValue: function () { | |
return r; | |
}, | |
setValue: function (e) { | |
r = "" + e; | |
}, | |
stopTracking: function () { | |
(e._valueTracker = null), delete e[t]; | |
}, | |
} | |
); | |
} | |
})(e)); | |
} | |
function W(e) { | |
if (!e) return !1; | |
var t = e._valueTracker; | |
if (!t) return !0; | |
var n = t.getValue(), | |
r = ""; | |
return e && (r = $(e) ? (e.checked ? "true" : "false") : e.value), (e = r) !== n && (t.setValue(e), !0); | |
} | |
function Q(e) { | |
if (void 0 === (e = e || ("undefined" != typeof document ? document : void 0))) return null; | |
try { | |
return e.activeElement || e.body; | |
} catch (t) { | |
return e.body; | |
} | |
} | |
function q(e, t) { | |
var n = t.checked; | |
return B({}, t, { defaultChecked: void 0, defaultValue: void 0, value: void 0, checked: null != n ? n : e._wrapperState.initialChecked }); | |
} | |
function Y(e, t) { | |
var n = null == t.defaultValue ? "" : t.defaultValue, | |
r = null != t.checked ? t.checked : t.defaultChecked; | |
(n = V(null != t.value ? t.value : n)), (e._wrapperState = { initialChecked: r, initialValue: n, controlled: "checkbox" === t.type || "radio" === t.type ? null != t.checked : null != t.value }); | |
} | |
function J(e, t) { | |
null != (t = t.checked) && v(e, "checked", t, !1); | |
} | |
function K(e, t) { | |
J(e, t); | |
var n = V(t.value), | |
r = t.type; | |
if (null != n) "number" === r ? ((0 === n && "" === e.value) || e.value != n) && (e.value = "" + n) : e.value !== "" + n && (e.value = "" + n); | |
else if ("submit" === r || "reset" === r) return void e.removeAttribute("value"); | |
t.hasOwnProperty("value") ? ee(e, t.type, n) : t.hasOwnProperty("defaultValue") && ee(e, t.type, V(t.defaultValue)), null == t.checked && null != t.defaultChecked && (e.defaultChecked = !!t.defaultChecked); | |
} | |
function X(e, t, n) { | |
if (t.hasOwnProperty("value") || t.hasOwnProperty("defaultValue")) { | |
var r = t.type; | |
if (!(("submit" !== r && "reset" !== r) || (void 0 !== t.value && null !== t.value))) return; | |
(t = "" + e._wrapperState.initialValue), n || t === e.value || (e.value = t), (e.defaultValue = t); | |
} | |
"" !== (n = e.name) && (e.name = ""), (e.defaultChecked = !!e._wrapperState.initialChecked), "" !== n && (e.name = n); | |
} | |
function ee(e, t, n) { | |
("number" === t && Q(e.ownerDocument) === e) || (null == n ? (e.defaultValue = "" + e._wrapperState.initialValue) : e.defaultValue !== "" + n && (e.defaultValue = "" + n)); | |
} | |
var te = Array.isArray; | |
function ne(e, t, n, r) { | |
if (((e = e.options), t)) { | |
t = {}; | |
for (var a = 0; a < n.length; a++) t["$" + n[a]] = !0; | |
for (n = 0; n < e.length; n++) (a = t.hasOwnProperty("$" + e[n].value)), e[n].selected !== a && (e[n].selected = a), a && r && (e[n].defaultSelected = !0); | |
} else { | |
for (n = "" + V(n), t = null, a = 0; a < e.length; a++) { | |
if (e[a].value === n) return (e[a].selected = !0), void (r && (e[a].defaultSelected = !0)); | |
null !== t || e[a].disabled || (t = e[a]); | |
} | |
null !== t && (t.selected = !0); | |
} | |
} | |
function re(e, t) { | |
if (null != t.dangerouslySetInnerHTML) throw Error(o(91)); | |
return B({}, t, { value: void 0, defaultValue: void 0, children: "" + e._wrapperState.initialValue }); | |
} | |
function ae(e, t) { | |
var n = t.value; | |
if (null == n) { | |
if (((n = t.children), (t = t.defaultValue), null != n)) { | |
if (null != t) throw Error(o(92)); | |
if (te(n)) { | |
if (1 < n.length) throw Error(o(93)); | |
n = n[0]; | |
} | |
t = n; | |
} | |
null == t && (t = ""), (n = t); | |
} | |
e._wrapperState = { initialValue: V(n) }; | |
} | |
function oe(e, t) { | |
var n = V(t.value), | |
r = V(t.defaultValue); | |
null != n && ((n = "" + n) !== e.value && (e.value = n), null == t.defaultValue && e.defaultValue !== n && (e.defaultValue = n)), null != r && (e.defaultValue = "" + r); | |
} | |
function ie(e) { | |
var t = e.textContent; | |
t === e._wrapperState.initialValue && "" !== t && null !== t && (e.value = t); | |
} | |
function le(e) { | |
switch (e) { | |
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 ue(e, t) { | |
return null == e || "http://www.w3.org/1999/xhtml" === e ? le(t) : "http://www.w3.org/2000/svg" === e && "foreignObject" === t ? "http://www.w3.org/1999/xhtml" : e; | |
} | |
var se, | |
ce, | |
fe = | |
((ce = function (e, t) { | |
if ("http://www.w3.org/2000/svg" !== e.namespaceURI || "innerHTML" in e) e.innerHTML = t; | |
else { | |
for ((se = se || document.createElement("div")).innerHTML = "<svg>" + t.valueOf().toString() + "</svg>", t = se.firstChild; e.firstChild; ) e.removeChild(e.firstChild); | |
for (; t.firstChild; ) e.appendChild(t.firstChild); | |
} | |
}), | |
"undefined" != typeof MSApp && MSApp.execUnsafeLocalFunction | |
? function (e, t, n, r) { | |
MSApp.execUnsafeLocalFunction(function () { | |
return ce(e, t); | |
}); | |
} | |
: ce); | |
function de(e, t) { | |
if (t) { | |
var n = e.firstChild; | |
if (n && n === e.lastChild && 3 === n.nodeType) return void (n.nodeValue = t); | |
} | |
e.textContent = t; | |
} | |
var he = { | |
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, | |
}, | |
pe = ["Webkit", "ms", "Moz", "O"]; | |
function Ae(e, t, n) { | |
return null == t || "boolean" == typeof t || "" === t ? "" : n || "number" != typeof t || 0 === t || (he.hasOwnProperty(e) && he[e]) ? ("" + t).trim() : t + "px"; | |
} | |
function me(e, t) { | |
for (var n in ((e = e.style), t)) | |
if (t.hasOwnProperty(n)) { | |
var r = 0 === n.indexOf("--"), | |
a = Ae(n, t[n], r); | |
"float" === n && (n = "cssFloat"), r ? e.setProperty(n, a) : (e[n] = a); | |
} | |
} | |
Object.keys(he).forEach(function (e) { | |
pe.forEach(function (t) { | |
(t = t + e.charAt(0).toUpperCase() + e.substring(1)), (he[t] = he[e]); | |
}); | |
}); | |
var ge = B({ 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 ye(e, t) { | |
if (t) { | |
if (ge[e] && (null != t.children || null != t.dangerouslySetInnerHTML)) throw Error(o(137, e)); | |
if (null != t.dangerouslySetInnerHTML) { | |
if (null != t.children) throw Error(o(60)); | |
if ("object" != typeof t.dangerouslySetInnerHTML || !("__html" in t.dangerouslySetInnerHTML)) throw Error(o(61)); | |
} | |
if (null != t.style && "object" != typeof t.style) throw Error(o(62)); | |
} | |
} | |
function ve(e, t) { | |
if (-1 === e.indexOf("-")) return "string" == typeof t.is; | |
switch (e) { | |
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 be = null; | |
function Ee(e) { | |
return (e = e.target || e.srcElement || window).correspondingUseElement && (e = e.correspondingUseElement), 3 === e.nodeType ? e.parentNode : e; | |
} | |
var we = null, | |
Se = null, | |
Te = null; | |
function _e(e) { | |
if ((e = va(e))) { | |
if ("function" != typeof we) throw Error(o(280)); | |
var t = e.stateNode; | |
t && ((t = Ea(t)), we(e.stateNode, e.type, t)); | |
} | |
} | |
function ke(e) { | |
Se ? (Te ? Te.push(e) : (Te = [e])) : (Se = e); | |
} | |
function Ce() { | |
if (Se) { | |
var e = Se, | |
t = Te; | |
if (((Te = Se = null), _e(e), t)) for (e = 0; e < t.length; e++) _e(t[e]); | |
} | |
} | |
function Ne(e, t) { | |
return e(t); | |
} | |
function Pe() {} | |
var Re = !1; | |
function Oe(e, t, n) { | |
if (Re) return e(t, n); | |
Re = !0; | |
try { | |
return Ne(e, t, n); | |
} finally { | |
(Re = !1), (null !== Se || null !== Te) && (Pe(), Ce()); | |
} | |
} | |
function Le(e, t) { | |
var n = e.stateNode; | |
if (null === n) return null; | |
var r = Ea(n); | |
if (null === r) return null; | |
n = r[t]; | |
e: switch (t) { | |
case "onClick": | |
case "onClickCapture": | |
case "onDoubleClick": | |
case "onDoubleClickCapture": | |
case "onMouseDown": | |
case "onMouseDownCapture": | |
case "onMouseMove": | |
case "onMouseMoveCapture": | |
case "onMouseUp": | |
case "onMouseUpCapture": | |
case "onMouseEnter": | |
(r = !r.disabled) || (r = !("button" === (e = e.type) || "input" === e || "select" === e || "textarea" === e)), (e = !r); | |
break e; | |
default: | |
e = !1; | |
} | |
if (e) return null; | |
if (n && "function" != typeof n) throw Error(o(231, t, typeof n)); | |
return n; | |
} | |
var xe = !1; | |
if (c) | |
try { | |
var Ie = {}; | |
Object.defineProperty(Ie, "passive", { | |
get: function () { | |
xe = !0; | |
}, | |
}), | |
window.addEventListener("test", Ie, Ie), | |
window.removeEventListener("test", Ie, Ie); | |
} catch (ce) { | |
xe = !1; | |
} | |
function De(e, t, n, r, a, o, i, l, u) { | |
var s = Array.prototype.slice.call(arguments, 3); | |
try { | |
t.apply(n, s); | |
} catch (e) { | |
this.onError(e); | |
} | |
} | |
var Me = !1, | |
Be = null, | |
He = !1, | |
Fe = null, | |
Ue = { | |
onError: function (e) { | |
(Me = !0), (Be = e); | |
}, | |
}; | |
function ze(e, t, n, r, a, o, i, l, u) { | |
(Me = !1), (Be = null), De.apply(Ue, arguments); | |
} | |
function je(e) { | |
var t = e, | |
n = e; | |
if (e.alternate) for (; t.return; ) t = t.return; | |
else { | |
e = t; | |
do { | |
0 != (4098 & (t = e).flags) && (n = t.return), (e = t.return); | |
} while (e); | |
} | |
return 3 === t.tag ? n : null; | |
} | |
function Ge(e) { | |
if (13 === e.tag) { | |
var t = e.memoizedState; | |
if ((null === t && null !== (e = e.alternate) && (t = e.memoizedState), null !== t)) return t.dehydrated; | |
} | |
return null; | |
} | |
function Ve(e) { | |
if (je(e) !== e) throw Error(o(188)); | |
} | |
function $e(e) { | |
return null !== | |
(e = (function (e) { | |
var t = e.alternate; | |
if (!t) { | |
if (null === (t = je(e))) throw Error(o(188)); | |
return t !== e ? null : e; | |
} | |
for (var n = e, r = t; ; ) { | |
var a = n.return; | |
if (null === a) break; | |
var i = a.alternate; | |
if (null === i) { | |
if (null !== (r = a.return)) { | |
n = r; | |
continue; | |
} | |
break; | |
} | |
if (a.child === i.child) { | |
for (i = a.child; i; ) { | |
if (i === n) return Ve(a), e; | |
if (i === r) return Ve(a), t; | |
i = i.sibling; | |
} | |
throw Error(o(188)); | |
} | |
if (n.return !== r.return) (n = a), (r = i); | |
else { | |
for (var l = !1, u = a.child; u; ) { | |
if (u === n) { | |
(l = !0), (n = a), (r = i); | |
break; | |
} | |
if (u === r) { | |
(l = !0), (r = a), (n = i); | |
break; | |
} | |
u = u.sibling; | |
} | |
if (!l) { | |
for (u = i.child; u; ) { | |
if (u === n) { | |
(l = !0), (n = i), (r = a); | |
break; | |
} | |
if (u === r) { | |
(l = !0), (r = i), (n = a); | |
break; | |
} | |
u = u.sibling; | |
} | |
if (!l) throw Error(o(189)); | |
} | |
} | |
if (n.alternate !== r) throw Error(o(190)); | |
} | |
if (3 !== n.tag) throw Error(o(188)); | |
return n.stateNode.current === n ? e : t; | |
})(e)) | |
? Ze(e) | |
: null; | |
} | |
function Ze(e) { | |
if (5 === e.tag || 6 === e.tag) return e; | |
for (e = e.child; null !== e; ) { | |
var t = Ze(e); | |
if (null !== t) return t; | |
e = e.sibling; | |
} | |
return null; | |
} | |
var We = a.unstable_scheduleCallback, | |
Qe = a.unstable_cancelCallback, | |
qe = a.unstable_shouldYield, | |
Ye = a.unstable_requestPaint, | |
Je = a.unstable_now, | |
Ke = a.unstable_getCurrentPriorityLevel, | |
Xe = a.unstable_ImmediatePriority, | |
et = a.unstable_UserBlockingPriority, | |
tt = a.unstable_NormalPriority, | |
nt = a.unstable_LowPriority, | |
rt = a.unstable_IdlePriority, | |
at = null, | |
ot = null; | |
var it = Math.clz32 | |
? Math.clz32 | |
: function (e) { | |
return 0 === (e >>>= 0) ? 32 : (31 - ((lt(e) / ut) | 0)) | 0; | |
}, | |
lt = Math.log, | |
ut = Math.LN2; | |
var st = 64, | |
ct = 4194304; | |
function ft(e) { | |
switch (e & -e) { | |
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 4194240 & e; | |
case 4194304: | |
case 8388608: | |
case 16777216: | |
case 33554432: | |
case 67108864: | |
return 130023424 & e; | |
case 134217728: | |
return 134217728; | |
case 268435456: | |
return 268435456; | |
case 536870912: | |
return 536870912; | |
case 1073741824: | |
return 1073741824; | |
default: | |
return e; | |
} | |
} | |
function dt(e, t) { | |
var n = e.pendingLanes; | |
if (0 === n) return 0; | |
var r = 0, | |
a = e.suspendedLanes, | |
o = e.pingedLanes, | |
i = 268435455 & n; | |
if (0 !== i) { | |
var l = i & ~a; | |
0 !== l ? (r = ft(l)) : 0 !== (o &= i) && (r = ft(o)); | |
} else 0 !== (i = n & ~a) ? (r = ft(i)) : 0 !== o && (r = ft(o)); | |
if (0 === r) return 0; | |
if (0 !== t && t !== r && 0 == (t & a) && ((a = r & -r) >= (o = t & -t) || (16 === a && 0 != (4194240 & o)))) return t; | |
if ((0 != (4 & r) && (r |= 16 & n), 0 !== (t = e.entangledLanes))) for (e = e.entanglements, t &= r; 0 < t; ) (a = 1 << (n = 31 - it(t))), (r |= e[n]), (t &= ~a); | |
return r; | |
} | |
function ht(e, t) { | |
switch (e) { | |
case 1: | |
case 2: | |
case 4: | |
return t + 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 t + 5e3; | |
default: | |
return -1; | |
} | |
} | |
function pt(e) { | |
return 0 !== (e = -1073741825 & e.pendingLanes) ? e : 1073741824 & e ? 1073741824 : 0; | |
} | |
function At() { | |
var e = st; | |
return 0 == (4194240 & (st <<= 1)) && (st = 64), e; | |
} | |
function mt(e) { | |
for (var t = [], n = 0; 31 > n; n++) t.push(e); | |
return t; | |
} | |
function gt(e, t, n) { | |
(e.pendingLanes |= t), 536870912 !== t && ((e.suspendedLanes = 0), (e.pingedLanes = 0)), ((e = e.eventTimes)[(t = 31 - it(t))] = n); | |
} | |
function yt(e, t) { | |
var n = (e.entangledLanes |= t); | |
for (e = e.entanglements; n; ) { | |
var r = 31 - it(n), | |
a = 1 << r; | |
(a & t) | (e[r] & t) && (e[r] |= t), (n &= ~a); | |
} | |
} | |
var vt = 0; | |
function bt(e) { | |
return 1 < (e &= -e) ? (4 < e ? (0 != (268435455 & e) ? 16 : 536870912) : 4) : 1; | |
} | |
var Et, | |
wt, | |
St, | |
Tt, | |
_t, | |
kt = !1, | |
Ct = [], | |
Nt = null, | |
Pt = null, | |
Rt = null, | |
Ot = new Map(), | |
Lt = new Map(), | |
xt = [], | |
It = "mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split( | |
" " | |
); | |
function Dt(e, t) { | |
switch (e) { | |
case "focusin": | |
case "focusout": | |
Nt = null; | |
break; | |
case "dragenter": | |
case "dragleave": | |
Pt = null; | |
break; | |
case "mouseover": | |
case "mouseout": | |
Rt = null; | |
break; | |
case "pointerover": | |
case "pointerout": | |
Ot.delete(t.pointerId); | |
break; | |
case "gotpointercapture": | |
case "lostpointercapture": | |
Lt.delete(t.pointerId); | |
} | |
} | |
function Mt(e, t, n, r, a, o) { | |
return null === e || e.nativeEvent !== o | |
? ((e = { blockedOn: t, domEventName: n, eventSystemFlags: r, nativeEvent: o, targetContainers: [a] }), null !== t && null !== (t = va(t)) && wt(t), e) | |
: ((e.eventSystemFlags |= r), (t = e.targetContainers), null !== a && -1 === t.indexOf(a) && t.push(a), e); | |
} | |
function Bt(e) { | |
var t = ya(e.target); | |
if (null !== t) { | |
var n = je(t); | |
if (null !== n) | |
if (13 === (t = n.tag)) { | |
if (null !== (t = Ge(n))) | |
return ( | |
(e.blockedOn = t), | |
void _t(e.priority, function () { | |
St(n); | |
}) | |
); | |
} else if (3 === t && n.stateNode.current.memoizedState.isDehydrated) return void (e.blockedOn = 3 === n.tag ? n.stateNode.containerInfo : null); | |
} | |
e.blockedOn = null; | |
} | |
function Ht(e) { | |
if (null !== e.blockedOn) return !1; | |
for (var t = e.targetContainers; 0 < t.length; ) { | |
var n = qt(e.domEventName, e.eventSystemFlags, t[0], e.nativeEvent); | |
if (null !== n) return null !== (t = va(n)) && wt(t), (e.blockedOn = n), !1; | |
var r = new (n = e.nativeEvent).constructor(n.type, n); | |
(be = r), n.target.dispatchEvent(r), (be = null), t.shift(); | |
} | |
return !0; | |
} | |
function Ft(e, t, n) { | |
Ht(e) && n.delete(t); | |
} | |
function Ut() { | |
(kt = !1), null !== Nt && Ht(Nt) && (Nt = null), null !== Pt && Ht(Pt) && (Pt = null), null !== Rt && Ht(Rt) && (Rt = null), Ot.forEach(Ft), Lt.forEach(Ft); | |
} | |
function zt(e, t) { | |
e.blockedOn === t && ((e.blockedOn = null), kt || ((kt = !0), a.unstable_scheduleCallback(a.unstable_NormalPriority, Ut))); | |
} | |
function jt(e) { | |
function t(t) { | |
return zt(t, e); | |
} | |
if (0 < Ct.length) { | |
zt(Ct[0], e); | |
for (var n = 1; n < Ct.length; n++) { | |
var r = Ct[n]; | |
r.blockedOn === e && (r.blockedOn = null); | |
} | |
} | |
for (null !== Nt && zt(Nt, e), null !== Pt && zt(Pt, e), null !== Rt && zt(Rt, e), Ot.forEach(t), Lt.forEach(t), n = 0; n < xt.length; n++) (r = xt[n]).blockedOn === e && (r.blockedOn = null); | |
for (; 0 < xt.length && null === (n = xt[0]).blockedOn; ) Bt(n), null === n.blockedOn && xt.shift(); | |
} | |
var Gt = b.ReactCurrentBatchConfig, | |
Vt = !0; | |
function $t(e, t, n, r) { | |
var a = vt, | |
o = Gt.transition; | |
Gt.transition = null; | |
try { | |
(vt = 1), Wt(e, t, n, r); | |
} finally { | |
(vt = a), (Gt.transition = o); | |
} | |
} | |
function Zt(e, t, n, r) { | |
var a = vt, | |
o = Gt.transition; | |
Gt.transition = null; | |
try { | |
(vt = 4), Wt(e, t, n, r); | |
} finally { | |
(vt = a), (Gt.transition = o); | |
} | |
} | |
function Wt(e, t, n, r) { | |
if (Vt) { | |
var a = qt(e, t, n, r); | |
if (null === a) Vr(e, t, r, Qt, n), Dt(e, r); | |
else if ( | |
(function (e, t, n, r, a) { | |
switch (t) { | |
case "focusin": | |
return (Nt = Mt(Nt, e, t, n, r, a)), !0; | |
case "dragenter": | |
return (Pt = Mt(Pt, e, t, n, r, a)), !0; | |
case "mouseover": | |
return (Rt = Mt(Rt, e, t, n, r, a)), !0; | |
case "pointerover": | |
var o = a.pointerId; | |
return Ot.set(o, Mt(Ot.get(o) || null, e, t, n, r, a)), !0; | |
case "gotpointercapture": | |
return (o = a.pointerId), Lt.set(o, Mt(Lt.get(o) || null, e, t, n, r, a)), !0; | |
} | |
return !1; | |
})(a, e, t, n, r) | |
) | |
r.stopPropagation(); | |
else if ((Dt(e, r), 4 & t && -1 < It.indexOf(e))) { | |
for (; null !== a; ) { | |
var o = va(a); | |
if ((null !== o && Et(o), null === (o = qt(e, t, n, r)) && Vr(e, t, r, Qt, n), o === a)) break; | |
a = o; | |
} | |
null !== a && r.stopPropagation(); | |
} else Vr(e, t, r, null, n); | |
} | |
} | |
var Qt = null; | |
function qt(e, t, n, r) { | |
if (((Qt = null), null !== (e = ya((e = Ee(r)))))) | |
if (null === (t = je(e))) e = null; | |
else if (13 === (n = t.tag)) { | |
if (null !== (e = Ge(t))) return e; | |
e = null; | |
} else if (3 === n) { | |
if (t.stateNode.current.memoizedState.isDehydrated) return 3 === t.tag ? t.stateNode.containerInfo : null; | |
e = null; | |
} else t !== e && (e = null); | |
return (Qt = e), null; | |
} | |
function Yt(e) { | |
switch (e) { | |
case "cancel": | |
case "click": | |
case "close": | |
case "contextmenu": | |
case "copy": | |
case "cut": | |
case "auxclick": | |
case "dblclick": | |
case "dragend": | |
case "dragstart": | |
case "drop": | |
case "focusin": | |
case "focusout": | |
case "input": | |
case "invalid": | |
case "keydown": | |
case "keypress": | |
case "keyup": | |
case "mousedown": | |
case "mouseup": | |
case "paste": | |
case "pause": | |
case "play": | |
case "pointercancel": | |
case "pointerdown": | |
case "pointerup": | |
case "ratechange": | |
case "reset": | |
case "resize": | |
case "seeked": | |
case "submit": | |
case "touchcancel": | |
case "touchend": | |
case "touchstart": | |
case "volumechange": | |
case "change": | |
case "selectionchange": | |
case "textInput": | |
case "compositionstart": | |
case "compositionend": | |
case "compositionupdate": | |
case "beforeblur": | |
case "afterblur": | |
case "beforeinput": | |
case "blur": | |
case "fullscreenchange": | |
case "focus": | |
case "hashchange": | |
case "popstate": | |
case "select": | |
case "selectstart": | |
return 1; | |
case "drag": | |
case "dragenter": | |
case "dragexit": | |
case "dragleave": | |
case "dragover": | |
case "mousemove": | |
case "mouseout": | |
case "mouseover": | |
case "pointermove": | |
case "pointerout": | |
case "pointerover": | |
case "scroll": | |
case "toggle": | |
case "touchmove": | |
case "wheel": | |
case "mouseenter": | |
case "mouseleave": | |
case "pointerenter": | |
case "pointerleave": | |
return 4; | |
case "message": | |
switch (Ke()) { | |
case Xe: | |
return 1; | |
case et: | |
return 4; | |
case tt: | |
case nt: | |
return 16; | |
case rt: | |
return 536870912; | |
default: | |
return 16; | |
} | |
default: | |
return 16; | |
} | |
} | |
var Jt = null, | |
Kt = null, | |
Xt = null; | |
function en() { | |
if (Xt) return Xt; | |
var e, | |
t, | |
n = Kt, | |
r = n.length, | |
a = "value" in Jt ? Jt.value : Jt.textContent, | |
o = a.length; | |
for (e = 0; e < r && n[e] === a[e]; e++); | |
var i = r - e; | |
for (t = 1; t <= i && n[r - t] === a[o - t]; t++); | |
return (Xt = a.slice(e, 1 < t ? 1 - t : void 0)); | |
} | |
function tn(e) { | |
var t = e.keyCode; | |
return "charCode" in e ? 0 === (e = e.charCode) && 13 === t && (e = 13) : (e = t), 10 === e && (e = 13), 32 <= e || 13 === e ? e : 0; | |
} | |
function nn() { | |
return !0; | |
} | |
function rn() { | |
return !1; | |
} | |
function an(e) { | |
function t(t, n, r, a, o) { | |
for (var i in ((this._reactName = t), (this._targetInst = r), (this.type = n), (this.nativeEvent = a), (this.target = o), (this.currentTarget = null), e)) e.hasOwnProperty(i) && ((t = e[i]), (this[i] = t ? t(a) : a[i])); | |
return (this.isDefaultPrevented = (null != a.defaultPrevented ? a.defaultPrevented : !1 === a.returnValue) ? nn : rn), (this.isPropagationStopped = rn), this; | |
} | |
return ( | |
B(t.prototype, { | |
preventDefault: function () { | |
this.defaultPrevented = !0; | |
var e = this.nativeEvent; | |
e && (e.preventDefault ? e.preventDefault() : "unknown" != typeof e.returnValue && (e.returnValue = !1), (this.isDefaultPrevented = nn)); | |
}, | |
stopPropagation: function () { | |
var e = this.nativeEvent; | |
e && (e.stopPropagation ? e.stopPropagation() : "unknown" != typeof e.cancelBubble && (e.cancelBubble = !0), (this.isPropagationStopped = nn)); | |
}, | |
persist: function () {}, | |
isPersistent: nn, | |
}), | |
t | |
); | |
} | |
var on, | |
ln, | |
un, | |
sn = { | |
eventPhase: 0, | |
bubbles: 0, | |
cancelable: 0, | |
timeStamp: function (e) { | |
return e.timeStamp || Date.now(); | |
}, | |
defaultPrevented: 0, | |
isTrusted: 0, | |
}, | |
cn = an(sn), | |
fn = B({}, sn, { view: 0, detail: 0 }), | |
dn = an(fn), | |
hn = B({}, fn, { | |
screenX: 0, | |
screenY: 0, | |
clientX: 0, | |
clientY: 0, | |
pageX: 0, | |
pageY: 0, | |
ctrlKey: 0, | |
shiftKey: 0, | |
altKey: 0, | |
metaKey: 0, | |
getModifierState: _n, | |
button: 0, | |
buttons: 0, | |
relatedTarget: function (e) { | |
return void 0 === e.relatedTarget ? (e.fromElement === e.srcElement ? e.toElement : e.fromElement) : e.relatedTarget; | |
}, | |
movementX: function (e) { | |
return "movementX" in e ? e.movementX : (e !== un && (un && "mousemove" === e.type ? ((on = e.screenX - un.screenX), (ln = e.screenY - un.screenY)) : (ln = on = 0), (un = e)), on); | |
}, | |
movementY: function (e) { | |
return "movementY" in e ? e.movementY : ln; | |
}, | |
}), | |
pn = an(hn), | |
An = an(B({}, hn, { dataTransfer: 0 })), | |
mn = an(B({}, fn, { relatedTarget: 0 })), | |
gn = an(B({}, sn, { animationName: 0, elapsedTime: 0, pseudoElement: 0 })), | |
yn = B({}, sn, { | |
clipboardData: function (e) { | |
return "clipboardData" in e ? e.clipboardData : window.clipboardData; | |
}, | |
}), | |
vn = an(yn), | |
bn = an(B({}, sn, { data: 0 })), | |
En = { | |
Esc: "Escape", | |
Spacebar: " ", | |
Left: "ArrowLeft", | |
Up: "ArrowUp", | |
Right: "ArrowRight", | |
Down: "ArrowDown", | |
Del: "Delete", | |
Win: "OS", | |
Menu: "ContextMenu", | |
Apps: "ContextMenu", | |
Scroll: "ScrollLock", | |
MozPrintableKey: "Unidentified", | |
}, | |
wn = { | |
8: "Backspace", | |
9: "Tab", | |
12: "Clear", | |
13: "Enter", | |
16: "Shift", | |
17: "Control", | |
18: "Alt", | |
19: "Pause", | |
20: "CapsLock", | |
27: "Escape", | |
32: " ", | |
33: "PageUp", | |
34: "PageDown", | |
35: "End", | |
36: "Home", | |
37: "ArrowLeft", | |
38: "ArrowUp", | |
39: "ArrowRight", | |
40: "ArrowDown", | |
45: "Insert", | |
46: "Delete", | |
112: "F1", | |
113: "F2", | |
114: "F3", | |
115: "F4", | |
116: "F5", | |
117: "F6", | |
118: "F7", | |
119: "F8", | |
120: "F9", | |
121: "F10", | |
122: "F11", | |
123: "F12", | |
144: "NumLock", | |
145: "ScrollLock", | |
224: "Meta", | |
}, | |
Sn = { Alt: "altKey", Control: "ctrlKey", Meta: "metaKey", Shift: "shiftKey" }; | |
function Tn(e) { | |
var t = this.nativeEvent; | |
return t.getModifierState ? t.getModifierState(e) : !!(e = Sn[e]) && !!t[e]; | |
} | |
function _n() { | |
return Tn; | |
} | |
var kn = B({}, fn, { | |
key: function (e) { | |
if (e.key) { | |
var t = En[e.key] || e.key; | |
if ("Unidentified" !== t) return t; | |
} | |
return "keypress" === e.type ? (13 === (e = tn(e)) ? "Enter" : String.fromCharCode(e)) : "keydown" === e.type || "keyup" === e.type ? wn[e.keyCode] || "Unidentified" : ""; | |
}, | |
code: 0, | |
location: 0, | |
ctrlKey: 0, | |
shiftKey: 0, | |
altKey: 0, | |
metaKey: 0, | |
repeat: 0, | |
locale: 0, | |
getModifierState: _n, | |
charCode: function (e) { | |
return "keypress" === e.type ? tn(e) : 0; | |
}, | |
keyCode: function (e) { | |
return "keydown" === e.type || "keyup" === e.type ? e.keyCode : 0; | |
}, | |
which: function (e) { | |
return "keypress" === e.type ? tn(e) : "keydown" === e.type || "keyup" === e.type ? e.keyCode : 0; | |
}, | |
}), | |
Cn = an(kn), | |
Nn = an(B({}, hn, { pointerId: 0, width: 0, height: 0, pressure: 0, tangentialPressure: 0, tiltX: 0, tiltY: 0, twist: 0, pointerType: 0, isPrimary: 0 })), | |
Pn = an(B({}, fn, { touches: 0, targetTouches: 0, changedTouches: 0, altKey: 0, metaKey: 0, ctrlKey: 0, shiftKey: 0, getModifierState: _n })), | |
Rn = an(B({}, sn, { propertyName: 0, elapsedTime: 0, pseudoElement: 0 })), | |
On = B({}, hn, { | |
deltaX: function (e) { | |
return "deltaX" in e ? e.deltaX : "wheelDeltaX" in e ? -e.wheelDeltaX : 0; | |
}, | |
deltaY: function (e) { | |
return "deltaY" in e ? e.deltaY : "wheelDeltaY" in e ? -e.wheelDeltaY : "wheelDelta" in e ? -e.wheelDelta : 0; | |
}, | |
deltaZ: 0, | |
deltaMode: 0, | |
}), | |
Ln = an(On), | |
xn = [9, 13, 27, 32], | |
In = c && "CompositionEvent" in window, | |
Dn = null; | |
c && "documentMode" in document && (Dn = document.documentMode); | |
var Mn = c && "TextEvent" in window && !Dn, | |
Bn = c && (!In || (Dn && 8 < Dn && 11 >= Dn)), | |
Hn = String.fromCharCode(32), | |
Fn = !1; | |
function Un(e, t) { | |
switch (e) { | |
case "keyup": | |
return -1 !== xn.indexOf(t.keyCode); | |
case "keydown": | |
return 229 !== t.keyCode; | |
case "keypress": | |
case "mousedown": | |
case "focusout": | |
return !0; | |
default: | |
return !1; | |
} | |
} | |
function zn(e) { | |
return "object" == typeof (e = e.detail) && "data" in e ? e.data : null; | |
} | |
var jn = !1; | |
var Gn = { color: !0, date: !0, datetime: !0, "datetime-local": !0, email: !0, month: !0, number: !0, password: !0, range: !0, search: !0, tel: !0, text: !0, time: !0, url: !0, week: !0 }; | |
function Vn(e) { | |
var t = e && e.nodeName && e.nodeName.toLowerCase(); | |
return "input" === t ? !!Gn[e.type] : "textarea" === t; | |
} | |
function $n(e, t, n, r) { | |
ke(r), 0 < (t = Zr(t, "onChange")).length && ((n = new cn("onChange", "change", null, n, r)), e.push({ event: n, listeners: t })); | |
} | |
var Zn = null, | |
Wn = null; | |
function Qn(e) { | |
Hr(e, 0); | |
} | |
function qn(e) { | |
if (W(ba(e))) return e; | |
} | |
function Yn(e, t) { | |
if ("change" === e) return t; | |
} | |
var Jn = !1; | |
if (c) { | |
var Kn; | |
if (c) { | |
var Xn = "oninput" in document; | |
if (!Xn) { | |
var er = document.createElement("div"); | |
er.setAttribute("oninput", "return;"), (Xn = "function" == typeof er.oninput); | |
} | |
Kn = Xn; | |
} else Kn = !1; | |
Jn = Kn && (!document.documentMode || 9 < document.documentMode); | |
} | |
function tr() { | |
Zn && (Zn.detachEvent("onpropertychange", nr), (Wn = Zn = null)); | |
} | |
function nr(e) { | |
if ("value" === e.propertyName && qn(Wn)) { | |
var t = []; | |
$n(t, Wn, e, Ee(e)), Oe(Qn, t); | |
} | |
} | |
function rr(e, t, n) { | |
"focusin" === e ? (tr(), (Wn = n), (Zn = t).attachEvent("onpropertychange", nr)) : "focusout" === e && tr(); | |
} | |
function ar(e) { | |
if ("selectionchange" === e || "keyup" === e || "keydown" === e) return qn(Wn); | |
} | |
function or(e, t) { | |
if ("click" === e) return qn(t); | |
} | |
function ir(e, t) { | |
if ("input" === e || "change" === e) return qn(t); | |
} | |
var lr = | |
"function" == typeof Object.is | |
? Object.is | |
: function (e, t) { | |
return (e === t && (0 !== e || 1 / e == 1 / t)) || (e != e && t != t); | |
}; | |
function ur(e, t) { | |
if (lr(e, t)) return !0; | |
if ("object" != typeof e || null === e || "object" != typeof t || null === t) return !1; | |
var n = Object.keys(e), | |
r = Object.keys(t); | |
if (n.length !== r.length) return !1; | |
for (r = 0; r < n.length; r++) { | |
var a = n[r]; | |
if (!f.call(t, a) || !lr(e[a], t[a])) return !1; | |
} | |
return !0; | |
} | |
function sr(e) { | |
for (; e && e.firstChild; ) e = e.firstChild; | |
return e; | |
} | |
function cr(e, t) { | |
var n, | |
r = sr(e); | |
for (e = 0; r; ) { | |
if (3 === r.nodeType) { | |
if (((n = e + r.textContent.length), e <= t && n >= t)) return { node: r, offset: t - e }; | |
e = n; | |
} | |
e: { | |
for (; r; ) { | |
if (r.nextSibling) { | |
r = r.nextSibling; | |
break e; | |
} | |
r = r.parentNode; | |
} | |
r = void 0; | |
} | |
r = sr(r); | |
} | |
} | |
function fr(e, t) { | |
return !(!e || !t) && (e === t || ((!e || 3 !== e.nodeType) && (t && 3 === t.nodeType ? fr(e, t.parentNode) : "contains" in e ? e.contains(t) : !!e.compareDocumentPosition && !!(16 & e.compareDocumentPosition(t))))); | |
} | |
function dr() { | |
for (var e = window, t = Q(); t instanceof e.HTMLIFrameElement; ) { | |
try { | |
var n = "string" == typeof t.contentWindow.location.href; | |
} catch (e) { | |
n = !1; | |
} | |
if (!n) break; | |
t = Q((e = t.contentWindow).document); | |
} | |
return t; | |
} | |
function hr(e) { | |
var t = e && e.nodeName && e.nodeName.toLowerCase(); | |
return t && (("input" === t && ("text" === e.type || "search" === e.type || "tel" === e.type || "url" === e.type || "password" === e.type)) || "textarea" === t || "true" === e.contentEditable); | |
} | |
function pr(e) { | |
var t = dr(), | |
n = e.focusedElem, | |
r = e.selectionRange; | |
if (t !== n && n && n.ownerDocument && fr(n.ownerDocument.documentElement, n)) { | |
if (null !== r && hr(n)) | |
if (((t = r.start), void 0 === (e = r.end) && (e = t), "selectionStart" in n)) (n.selectionStart = t), (n.selectionEnd = Math.min(e, n.value.length)); | |
else if ((e = ((t = n.ownerDocument || document) && t.defaultView) || window).getSelection) { | |
e = e.getSelection(); | |
var a = n.textContent.length, | |
o = Math.min(r.start, a); | |
(r = void 0 === r.end ? o : Math.min(r.end, a)), !e.extend && o > r && ((a = r), (r = o), (o = a)), (a = cr(n, o)); | |
var i = cr(n, r); | |
a && | |
i && | |
(1 !== e.rangeCount || e.anchorNode !== a.node || e.anchorOffset !== a.offset || e.focusNode !== i.node || e.focusOffset !== i.offset) && | |
((t = t.createRange()).setStart(a.node, a.offset), e.removeAllRanges(), o > r ? (e.addRange(t), e.extend(i.node, i.offset)) : (t.setEnd(i.node, i.offset), e.addRange(t))); | |
} | |
for (t = [], e = n; (e = e.parentNode); ) 1 === e.nodeType && t.push({ element: e, left: e.scrollLeft, top: e.scrollTop }); | |
for ("function" == typeof n.focus && n.focus(), n = 0; n < t.length; n++) ((e = t[n]).element.scrollLeft = e.left), (e.element.scrollTop = e.top); | |
} | |
} | |
var Ar = c && "documentMode" in document && 11 >= document.documentMode, | |
mr = null, | |
gr = null, | |
yr = null, | |
vr = !1; | |
function br(e, t, n) { | |
var r = n.window === n ? n.document : 9 === n.nodeType ? n : n.ownerDocument; | |
vr || | |
null == mr || | |
mr !== Q(r) || | |
("selectionStart" in (r = mr) && hr(r) | |
? (r = { start: r.selectionStart, end: r.selectionEnd }) | |
: (r = { anchorNode: (r = ((r.ownerDocument && r.ownerDocument.defaultView) || window).getSelection()).anchorNode, anchorOffset: r.anchorOffset, focusNode: r.focusNode, focusOffset: r.focusOffset }), | |
(yr && ur(yr, r)) || ((yr = r), 0 < (r = Zr(gr, "onSelect")).length && ((t = new cn("onSelect", "select", null, t, n)), e.push({ event: t, listeners: r }), (t.target = mr)))); | |
} | |
function Er(e, t) { | |
var n = {}; | |
return (n[e.toLowerCase()] = t.toLowerCase()), (n["Webkit" + e] = "webkit" + t), (n["Moz" + e] = "moz" + t), n; | |
} | |
var wr = { animationend: Er("Animation", "AnimationEnd"), animationiteration: Er("Animation", "AnimationIteration"), animationstart: Er("Animation", "AnimationStart"), transitionend: Er("Transition", "TransitionEnd") }, | |
Sr = {}, | |
Tr = {}; | |
function _r(e) { | |
if (Sr[e]) return Sr[e]; | |
if (!wr[e]) return e; | |
var t, | |
n = wr[e]; | |
for (t in n) if (n.hasOwnProperty(t) && t in Tr) return (Sr[e] = n[t]); | |
return e; | |
} | |
c && | |
((Tr = document.createElement("div").style), | |
"AnimationEvent" in window || (delete wr.animationend.animation, delete wr.animationiteration.animation, delete wr.animationstart.animation), | |
"TransitionEvent" in window || delete wr.transitionend.transition); | |
var kr = _r("animationend"), | |
Cr = _r("animationiteration"), | |
Nr = _r("animationstart"), | |
Pr = _r("transitionend"), | |
Rr = new Map(), | |
Or = "abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split( | |
" " | |
); | |
function Lr(e, t) { | |
Rr.set(e, t), u(t, [e]); | |
} | |
for (var xr = 0; xr < Or.length; xr++) { | |
var Ir = Or[xr]; | |
Lr(Ir.toLowerCase(), "on" + (Ir[0].toUpperCase() + Ir.slice(1))); | |
} | |
Lr(kr, "onAnimationEnd"), | |
Lr(Cr, "onAnimationIteration"), | |
Lr(Nr, "onAnimationStart"), | |
Lr("dblclick", "onDoubleClick"), | |
Lr("focusin", "onFocus"), | |
Lr("focusout", "onBlur"), | |
Lr(Pr, "onTransitionEnd"), | |
s("onMouseEnter", ["mouseout", "mouseover"]), | |
s("onMouseLeave", ["mouseout", "mouseover"]), | |
s("onPointerEnter", ["pointerout", "pointerover"]), | |
s("onPointerLeave", ["pointerout", "pointerover"]), | |
u("onChange", "change click focusin focusout input keydown keyup selectionchange".split(" ")), | |
u("onSelect", "focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")), | |
u("onBeforeInput", ["compositionend", "keypress", "textInput", "paste"]), | |
u("onCompositionEnd", "compositionend focusout keydown keypress keyup mousedown".split(" ")), | |
u("onCompositionStart", "compositionstart focusout keydown keypress keyup mousedown".split(" ")), | |
u("onCompositionUpdate", "compositionupdate focusout keydown keypress keyup mousedown".split(" ")); | |
var Dr = "abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split( | |
" " | |
), | |
Mr = new Set("cancel close invalid load scroll toggle".split(" ").concat(Dr)); | |
function Br(e, t, n) { | |
var r = e.type || "unknown-event"; | |
(e.currentTarget = n), | |
(function (e, t, n, r, a, i, l, u, s) { | |
if ((ze.apply(this, arguments), Me)) { | |
if (!Me) throw Error(o(198)); | |
var c = Be; | |
(Me = !1), (Be = null), He || ((He = !0), (Fe = c)); | |
} | |
})(r, t, void 0, e), | |
(e.currentTarget = null); | |
} | |
function Hr(e, t) { | |
t = 0 != (4 & t); | |
for (var n = 0; n < e.length; n++) { | |
var r = e[n], | |
a = r.event; | |
r = r.listeners; | |
e: { | |
var o = void 0; | |
if (t) | |
for (var i = r.length - 1; 0 <= i; i--) { | |
var l = r[i], | |
u = l.instance, | |
s = l.currentTarget; | |
if (((l = l.listener), u !== o && a.isPropagationStopped())) break e; | |
Br(a, l, s), (o = u); | |
} | |
else | |
for (i = 0; i < r.length; i++) { | |
if (((u = (l = r[i]).instance), (s = l.currentTarget), (l = l.listener), u !== o && a.isPropagationStopped())) break e; | |
Br(a, l, s), (o = u); | |
} | |
} | |
} | |
if (He) throw ((e = Fe), (He = !1), (Fe = null), e); | |
} | |
function Fr(e, t) { | |
var n = t[Aa]; | |
void 0 === n && (n = t[Aa] = new Set()); | |
var r = e + "__bubble"; | |
n.has(r) || (Gr(t, e, 2, !1), n.add(r)); | |
} | |
function Ur(e, t, n) { | |
var r = 0; | |
t && (r |= 4), Gr(n, e, r, t); | |
} | |
var zr = "_reactListening" + Math.random().toString(36).slice(2); | |
function jr(e) { | |
if (!e[zr]) { | |
(e[zr] = !0), | |
i.forEach(function (t) { | |
"selectionchange" !== t && (Mr.has(t) || Ur(t, !1, e), Ur(t, !0, e)); | |
}); | |
var t = 9 === e.nodeType ? e : e.ownerDocument; | |
null === t || t[zr] || ((t[zr] = !0), Ur("selectionchange", !1, t)); | |
} | |
} | |
function Gr(e, t, n, r) { | |
switch (Yt(t)) { | |
case 1: | |
var a = $t; | |
break; | |
case 4: | |
a = Zt; | |
break; | |
default: | |
a = Wt; | |
} | |
(n = a.bind(null, t, n, e)), | |
(a = void 0), | |
!xe || ("touchstart" !== t && "touchmove" !== t && "wheel" !== t) || (a = !0), | |
r ? (void 0 !== a ? e.addEventListener(t, n, { capture: !0, passive: a }) : e.addEventListener(t, n, !0)) : void 0 !== a ? e.addEventListener(t, n, { passive: a }) : e.addEventListener(t, n, !1); | |
} | |
function Vr(e, t, n, r, a) { | |
var o = r; | |
if (0 == (1 & t) && 0 == (2 & t) && null !== r) | |
e: for (;;) { | |
if (null === r) return; | |
var i = r.tag; | |
if (3 === i || 4 === i) { | |
var l = r.stateNode.containerInfo; | |
if (l === a || (8 === l.nodeType && l.parentNode === a)) break; | |
if (4 === i) | |
for (i = r.return; null !== i; ) { | |
var u = i.tag; | |
if ((3 === u || 4 === u) && ((u = i.stateNode.containerInfo) === a || (8 === u.nodeType && u.parentNode === a))) return; | |
i = i.return; | |
} | |
for (; null !== l; ) { | |
if (null === (i = ya(l))) return; | |
if (5 === (u = i.tag) || 6 === u) { | |
r = o = i; | |
continue e; | |
} | |
l = l.parentNode; | |
} | |
} | |
r = r.return; | |
} | |
Oe(function () { | |
var r = o, | |
a = Ee(n), | |
i = []; | |
e: { | |
var l = Rr.get(e); | |
if (void 0 !== l) { | |
var u = cn, | |
s = e; | |
switch (e) { | |
case "keypress": | |
if (0 === tn(n)) break e; | |
case "keydown": | |
case "keyup": | |
u = Cn; | |
break; | |
case "focusin": | |
(s = "focus"), (u = mn); | |
break; | |
case "focusout": | |
(s = "blur"), (u = mn); | |
break; | |
case "beforeblur": | |
case "afterblur": | |
u = mn; | |
break; | |
case "click": | |
if (2 === n.button) break e; | |
case "auxclick": | |
case "dblclick": | |
case "mousedown": | |
case "mousemove": | |
case "mouseup": | |
case "mouseout": | |
case "mouseover": | |
case "contextmenu": | |
u = pn; | |
break; | |
case "drag": | |
case "dragend": | |
case "dragenter": | |
case "dragexit": | |
case "dragleave": | |
case "dragover": | |
case "dragstart": | |
case "drop": | |
u = An; | |
break; | |
case "touchcancel": | |
case "touchend": | |
case "touchmove": | |
case "touchstart": | |
u = Pn; | |
break; | |
case kr: | |
case Cr: | |
case Nr: | |
u = gn; | |
break; | |
case Pr: | |
u = Rn; | |
break; | |
case "scroll": | |
u = dn; | |
break; | |
case "wheel": | |
u = Ln; | |
break; | |
case "copy": | |
case "cut": | |
case "paste": | |
u = vn; | |
break; | |
case "gotpointercapture": | |
case "lostpointercapture": | |
case "pointercancel": | |
case "pointerdown": | |
case "pointermove": | |
case "pointerout": | |
case "pointerover": | |
case "pointerup": | |
u = Nn; | |
} | |
var c = 0 != (4 & t), | |
f = !c && "scroll" === e, | |
d = c ? (null !== l ? l + "Capture" : null) : l; | |
c = []; | |
for (var h, p = r; null !== p; ) { | |
var A = (h = p).stateNode; | |
if ((5 === h.tag && null !== A && ((h = A), null !== d && null != (A = Le(p, d)) && c.push($r(p, A, h))), f)) break; | |
p = p.return; | |
} | |
0 < c.length && ((l = new u(l, s, null, n, a)), i.push({ event: l, listeners: c })); | |
} | |
} | |
if (0 == (7 & t)) { | |
if ( | |
((u = "mouseout" === e || "pointerout" === e), | |
(!(l = "mouseover" === e || "pointerover" === e) || n === be || !(s = n.relatedTarget || n.fromElement) || (!ya(s) && !s[pa])) && | |
(u || l) && | |
((l = a.window === a ? a : (l = a.ownerDocument) ? l.defaultView || l.parentWindow : window), | |
u ? ((u = r), null !== (s = (s = n.relatedTarget || n.toElement) ? ya(s) : null) && (s !== (f = je(s)) || (5 !== s.tag && 6 !== s.tag)) && (s = null)) : ((u = null), (s = r)), | |
u !== s)) | |
) { | |
if ( | |
((c = pn), | |
(A = "onMouseLeave"), | |
(d = "onMouseEnter"), | |
(p = "mouse"), | |
("pointerout" !== e && "pointerover" !== e) || ((c = Nn), (A = "onPointerLeave"), (d = "onPointerEnter"), (p = "pointer")), | |
(f = null == u ? l : ba(u)), | |
(h = null == s ? l : ba(s)), | |
((l = new c(A, p + "leave", u, n, a)).target = f), | |
(l.relatedTarget = h), | |
(A = null), | |
ya(a) === r && (((c = new c(d, p + "enter", s, n, a)).target = h), (c.relatedTarget = f), (A = c)), | |
(f = A), | |
u && s) | |
) | |
e: { | |
for (d = s, p = 0, h = c = u; h; h = Wr(h)) p++; | |
for (h = 0, A = d; A; A = Wr(A)) h++; | |
for (; 0 < p - h; ) (c = Wr(c)), p--; | |
for (; 0 < h - p; ) (d = Wr(d)), h--; | |
for (; p--; ) { | |
if (c === d || (null !== d && c === d.alternate)) break e; | |
(c = Wr(c)), (d = Wr(d)); | |
} | |
c = null; | |
} | |
else c = null; | |
null !== u && Qr(i, l, u, c, !1), null !== s && null !== f && Qr(i, f, s, c, !0); | |
} | |
if ("select" === (u = (l = r ? ba(r) : window).nodeName && l.nodeName.toLowerCase()) || ("input" === u && "file" === l.type)) var m = Yn; | |
else if (Vn(l)) | |
if (Jn) m = ir; | |
else { | |
m = ar; | |
var g = rr; | |
} | |
else (u = l.nodeName) && "input" === u.toLowerCase() && ("checkbox" === l.type || "radio" === l.type) && (m = or); | |
switch ((m && (m = m(e, r)) ? $n(i, m, n, a) : (g && g(e, l, r), "focusout" === e && (g = l._wrapperState) && g.controlled && "number" === l.type && ee(l, "number", l.value)), (g = r ? ba(r) : window), e)) { | |
case "focusin": | |
(Vn(g) || "true" === g.contentEditable) && ((mr = g), (gr = r), (yr = null)); | |
break; | |
case "focusout": | |
yr = gr = mr = null; | |
break; | |
case "mousedown": | |
vr = !0; | |
break; | |
case "contextmenu": | |
case "mouseup": | |
case "dragend": | |
(vr = !1), br(i, n, a); | |
break; | |
case "selectionchange": | |
if (Ar) break; | |
case "keydown": | |
case "keyup": | |
br(i, n, a); | |
} | |
var y; | |
if (In) | |
e: { | |
switch (e) { | |
case "compositionstart": | |
var v = "onCompositionStart"; | |
break e; | |
case "compositionend": | |
v = "onCompositionEnd"; | |
break e; | |
case "compositionupdate": | |
v = "onCompositionUpdate"; | |
break e; | |
} | |
v = void 0; | |
} | |
else jn ? Un(e, n) && (v = "onCompositionEnd") : "keydown" === e && 229 === n.keyCode && (v = "onCompositionStart"); | |
v && | |
(Bn && "ko" !== n.locale && (jn || "onCompositionStart" !== v ? "onCompositionEnd" === v && jn && (y = en()) : ((Kt = "value" in (Jt = a) ? Jt.value : Jt.textContent), (jn = !0))), | |
0 < (g = Zr(r, v)).length && ((v = new bn(v, e, null, n, a)), i.push({ event: v, listeners: g }), y ? (v.data = y) : null !== (y = zn(n)) && (v.data = y))), | |
(y = Mn | |
? (function (e, t) { | |
switch (e) { | |
case "compositionend": | |
return zn(t); | |
case "keypress": | |
return 32 !== t.which ? null : ((Fn = !0), Hn); | |
case "textInput": | |
return (e = t.data) === Hn && Fn ? null : e; | |
default: | |
return null; | |
} | |
})(e, n) | |
: (function (e, t) { | |
if (jn) return "compositionend" === e || (!In && Un(e, t)) ? ((e = en()), (Xt = Kt = Jt = null), (jn = !1), e) : null; | |
switch (e) { | |
case "paste": | |
default: | |
return null; | |
case "keypress": | |
if (!(t.ctrlKey || t.altKey || t.metaKey) || (t.ctrlKey && t.altKey)) { | |
if (t.char && 1 < t.char.length) return t.char; | |
if (t.which) return String.fromCharCode(t.which); | |
} | |
return null; | |
case "compositionend": | |
return Bn && "ko" !== t.locale ? null : t.data; | |
} | |
})(e, n)) && | |
0 < (r = Zr(r, "onBeforeInput")).length && | |
((a = new bn("onBeforeInput", "beforeinput", null, n, a)), i.push({ event: a, listeners: r }), (a.data = y)); | |
} | |
Hr(i, t); | |
}); | |
} | |
function $r(e, t, n) { | |
return { instance: e, listener: t, currentTarget: n }; | |
} | |
function Zr(e, t) { | |
for (var n = t + "Capture", r = []; null !== e; ) { | |
var a = e, | |
o = a.stateNode; | |
5 === a.tag && null !== o && ((a = o), null != (o = Le(e, n)) && r.unshift($r(e, o, a)), null != (o = Le(e, t)) && r.push($r(e, o, a))), (e = e.return); | |
} | |
return r; | |
} | |
function Wr(e) { | |
if (null === e) return null; | |
do { | |
e = e.return; | |
} while (e && 5 !== e.tag); | |
return e || null; | |
} | |
function Qr(e, t, n, r, a) { | |
for (var o = t._reactName, i = []; null !== n && n !== r; ) { | |
var l = n, | |
u = l.alternate, | |
s = l.stateNode; | |
if (null !== u && u === r) break; | |
5 === l.tag && null !== s && ((l = s), a ? null != (u = Le(n, o)) && i.unshift($r(n, u, l)) : a || (null != (u = Le(n, o)) && i.push($r(n, u, l)))), (n = n.return); | |
} | |
0 !== i.length && e.push({ event: t, listeners: i }); | |
} | |
var qr = /\r\n?/g, | |
Yr = /\u0000|\uFFFD/g; | |
function Jr(e) { | |
return ("string" == typeof e ? e : "" + e).replace(qr, "\n").replace(Yr, ""); | |
} | |
function Kr(e, t, n) { | |
if (((t = Jr(t)), Jr(e) !== t && n)) throw Error(o(425)); | |
} | |
function Xr() {} | |
var ea = null, | |
ta = null; | |
function na(e, t) { | |
return ( | |
"textarea" === e || | |
"noscript" === e || | |
"string" == typeof t.children || | |
"number" == typeof t.children || | |
("object" == typeof t.dangerouslySetInnerHTML && null !== t.dangerouslySetInnerHTML && null != t.dangerouslySetInnerHTML.__html) | |
); | |
} | |
var ra = "function" == typeof setTimeout ? setTimeout : void 0, | |
aa = "function" == typeof clearTimeout ? clearTimeout : void 0, | |
oa = "function" == typeof Promise ? Promise : void 0, | |
ia = | |
"function" == typeof queueMicrotask | |
? queueMicrotask | |
: void 0 !== oa | |
? function (e) { | |
return oa.resolve(null).then(e).catch(la); | |
} | |
: ra; | |
function la(e) { | |
setTimeout(function () { | |
throw e; | |
}); | |
} | |
function ua(e, t) { | |
var n = t, | |
r = 0; | |
do { | |
var a = n.nextSibling; | |
if ((e.removeChild(n), a && 8 === a.nodeType)) | |
if ("/$" === (n = a.data)) { | |
if (0 === r) return e.removeChild(a), void jt(t); | |
r--; | |
} else ("$" !== n && "$?" !== n && "$!" !== n) || r++; | |
n = a; | |
} while (n); | |
jt(t); | |
} | |
function sa(e) { | |
for (; null != e; e = e.nextSibling) { | |
var t = e.nodeType; | |
if (1 === t || 3 === t) break; | |
if (8 === t) { | |
if ("$" === (t = e.data) || "$!" === t || "$?" === t) break; | |
if ("/$" === t) return null; | |
} | |
} | |
return e; | |
} | |
function ca(e) { | |
e = e.previousSibling; | |
for (var t = 0; e; ) { | |
if (8 === e.nodeType) { | |
var n = e.data; | |
if ("$" === n || "$!" === n || "$?" === n) { | |
if (0 === t) return e; | |
t--; | |
} else "/$" === n && t++; | |
} | |
e = e.previousSibling; | |
} | |
return null; | |
} | |
var fa = Math.random().toString(36).slice(2), | |
da = "__reactFiber$" + fa, | |
ha = "__reactProps$" + fa, | |
pa = "__reactContainer$" + fa, | |
Aa = "__reactEvents$" + fa, | |
ma = "__reactListeners$" + fa, | |
ga = "__reactHandles$" + fa; | |
function ya(e) { | |
var t = e[da]; | |
if (t) return t; | |
for (var n = e.parentNode; n; ) { | |
if ((t = n[pa] || n[da])) { | |
if (((n = t.alternate), null !== t.child || (null !== n && null !== n.child))) | |
for (e = ca(e); null !== e; ) { | |
if ((n = e[da])) return n; | |
e = ca(e); | |
} | |
return t; | |
} | |
n = (e = n).parentNode; | |
} | |
return null; | |
} | |
function va(e) { | |
return !(e = e[da] || e[pa]) || (5 !== e.tag && 6 !== e.tag && 13 !== e.tag && 3 !== e.tag) ? null : e; | |
} | |
function ba(e) { | |
if (5 === e.tag || 6 === e.tag) return e.stateNode; | |
throw Error(o(33)); | |
} | |
function Ea(e) { | |
return e[ha] || null; | |
} | |
var wa = [], | |
Sa = -1; | |
function Ta(e) { | |
return { current: e }; | |
} | |
function _a(e) { | |
0 > Sa || ((e.current = wa[Sa]), (wa[Sa] = null), Sa--); | |
} | |
function ka(e, t) { | |
Sa++, (wa[Sa] = e.current), (e.current = t); | |
} | |
var Ca = {}, | |
Na = Ta(Ca), | |
Pa = Ta(!1), | |
Ra = Ca; | |
function Oa(e, t) { | |
var n = e.type.contextTypes; | |
if (!n) return Ca; | |
var r = e.stateNode; | |
if (r && r.__reactInternalMemoizedUnmaskedChildContext === t) return r.__reactInternalMemoizedMaskedChildContext; | |
var a, | |
o = {}; | |
for (a in n) o[a] = t[a]; | |
return r && (((e = e.stateNode).__reactInternalMemoizedUnmaskedChildContext = t), (e.__reactInternalMemoizedMaskedChildContext = o)), o; | |
} | |
function La(e) { | |
return null != (e = e.childContextTypes); | |
} | |
function xa() { | |
_a(Pa), _a(Na); | |
} | |
function Ia(e, t, n) { | |
if (Na.current !== Ca) throw Error(o(168)); | |
ka(Na, t), ka(Pa, n); | |
} | |
function Da(e, t, n) { | |
var r = e.stateNode; | |
if (((t = t.childContextTypes), "function" != typeof r.getChildContext)) return n; | |
for (var a in (r = r.getChildContext())) if (!(a in t)) throw Error(o(108, G(e) || "Unknown", a)); | |
return B({}, n, r); | |
} | |
function Ma(e) { | |
return (e = ((e = e.stateNode) && e.__reactInternalMemoizedMergedChildContext) || Ca), (Ra = Na.current), ka(Na, e), ka(Pa, Pa.current), !0; | |
} | |
function Ba(e, t, n) { | |
var r = e.stateNode; | |
if (!r) throw Error(o(169)); | |
n ? ((e = Da(e, t, Ra)), (r.__reactInternalMemoizedMergedChildContext = e), _a(Pa), _a(Na), ka(Na, e)) : _a(Pa), ka(Pa, n); | |
} | |
var Ha = null, | |
Fa = !1, | |
Ua = !1; | |
function za(e) { | |
null === Ha ? (Ha = [e]) : Ha.push(e); | |
} | |
function ja() { | |
if (!Ua && null !== Ha) { | |
Ua = !0; | |
var e = 0, | |
t = vt; | |
try { | |
var n = Ha; | |
for (vt = 1; e < n.length; e++) { | |
var r = n[e]; | |
do { | |
r = r(!0); | |
} while (null !== r); | |
} | |
(Ha = null), (Fa = !1); | |
} catch (t) { | |
throw (null !== Ha && (Ha = Ha.slice(e + 1)), We(Xe, ja), t); | |
} finally { | |
(vt = t), (Ua = !1); | |
} | |
} | |
return null; | |
} | |
var Ga = [], | |
Va = 0, | |
$a = null, | |
Za = 0, | |
Wa = [], | |
Qa = 0, | |
qa = null, | |
Ya = 1, | |
Ja = ""; | |
function Ka(e, t) { | |
(Ga[Va++] = Za), (Ga[Va++] = $a), ($a = e), (Za = t); | |
} | |
function Xa(e, t, n) { | |
(Wa[Qa++] = Ya), (Wa[Qa++] = Ja), (Wa[Qa++] = qa), (qa = e); | |
var r = Ya; | |
e = Ja; | |
var a = 32 - it(r) - 1; | |
(r &= ~(1 << a)), (n += 1); | |
var o = 32 - it(t) + a; | |
if (30 < o) { | |
var i = a - (a % 5); | |
(o = (r & ((1 << i) - 1)).toString(32)), (r >>= i), (a -= i), (Ya = (1 << (32 - it(t) + a)) | (n << a) | r), (Ja = o + e); | |
} else (Ya = (1 << o) | (n << a) | r), (Ja = e); | |
} | |
function eo(e) { | |
null !== e.return && (Ka(e, 1), Xa(e, 1, 0)); | |
} | |
function to(e) { | |
for (; e === $a; ) ($a = Ga[--Va]), (Ga[Va] = null), (Za = Ga[--Va]), (Ga[Va] = null); | |
for (; e === qa; ) (qa = Wa[--Qa]), (Wa[Qa] = null), (Ja = Wa[--Qa]), (Wa[Qa] = null), (Ya = Wa[--Qa]), (Wa[Qa] = null); | |
} | |
var no = null, | |
ro = null, | |
ao = !1, | |
oo = null; | |
function io(e, t) { | |
var n = Os(5, null, null, 0); | |
(n.elementType = "DELETED"), (n.stateNode = t), (n.return = e), null === (t = e.deletions) ? ((e.deletions = [n]), (e.flags |= 16)) : t.push(n); | |
} | |
function lo(e, t) { | |
switch (e.tag) { | |
case 5: | |
var n = e.type; | |
return null !== (t = 1 !== t.nodeType || n.toLowerCase() !== t.nodeName.toLowerCase() ? null : t) && ((e.stateNode = t), (no = e), (ro = sa(t.firstChild)), !0); | |
case 6: | |
return null !== (t = "" === e.pendingProps || 3 !== t.nodeType ? null : t) && ((e.stateNode = t), (no = e), (ro = null), !0); | |
case 13: | |
return ( | |
null !== (t = 8 !== t.nodeType ? null : t) && | |
((n = null !== qa ? { id: Ya, overflow: Ja } : null), | |
(e.memoizedState = { dehydrated: t, treeContext: n, retryLane: 1073741824 }), | |
((n = Os(18, null, null, 0)).stateNode = t), | |
(n.return = e), | |
(e.child = n), | |
(no = e), | |
(ro = null), | |
!0) | |
); | |
default: | |
return !1; | |
} | |
} | |
function uo(e) { | |
return 0 != (1 & e.mode) && 0 == (128 & e.flags); | |
} | |
function so(e) { | |
if (ao) { | |
var t = ro; | |
if (t) { | |
var n = t; | |
if (!lo(e, t)) { | |
if (uo(e)) throw Error(o(418)); | |
t = sa(n.nextSibling); | |
var r = no; | |
t && lo(e, t) ? io(r, n) : ((e.flags = (-4097 & e.flags) | 2), (ao = !1), (no = e)); | |
} | |
} else { | |
if (uo(e)) throw Error(o(418)); | |
(e.flags = (-4097 & e.flags) | 2), (ao = !1), (no = e); | |
} | |
} | |
} | |
function co(e) { | |
for (e = e.return; null !== e && 5 !== e.tag && 3 !== e.tag && 13 !== e.tag; ) e = e.return; | |
no = e; | |
} | |
function fo(e) { | |
if (e !== no) return !1; | |
if (!ao) return co(e), (ao = !0), !1; | |
var t; | |
if (((t = 3 !== e.tag) && !(t = 5 !== e.tag) && (t = "head" !== (t = e.type) && "body" !== t && !na(e.type, e.memoizedProps)), t && (t = ro))) { | |
if (uo(e)) throw (ho(), Error(o(418))); | |
for (; t; ) io(e, t), (t = sa(t.nextSibling)); | |
} | |
if ((co(e), 13 === e.tag)) { | |
if (!(e = null !== (e = e.memoizedState) ? e.dehydrated : null)) throw Error(o(317)); | |
e: { | |
for (e = e.nextSibling, t = 0; e; ) { | |
if (8 === e.nodeType) { | |
var n = e.data; | |
if ("/$" === n) { | |
if (0 === t) { | |
ro = sa(e.nextSibling); | |
break e; | |
} | |
t--; | |
} else ("$" !== n && "$!" !== n && "$?" !== n) || t++; | |
} | |
e = e.nextSibling; | |
} | |
ro = null; | |
} | |
} else ro = no ? sa(e.stateNode.nextSibling) : null; | |
return !0; | |
} | |
function ho() { | |
for (var e = ro; e; ) e = sa(e.nextSibling); | |
} | |
function po() { | |
(ro = no = null), (ao = !1); | |
} | |
function Ao(e) { | |
null === oo ? (oo = [e]) : oo.push(e); | |
} | |
var mo = b.ReactCurrentBatchConfig; | |
function go(e, t) { | |
if (e && e.defaultProps) { | |
for (var n in ((t = B({}, t)), (e = e.defaultProps))) void 0 === t[n] && (t[n] = e[n]); | |
return t; | |
} | |
return t; | |
} | |
var yo = Ta(null), | |
vo = null, | |
bo = null, | |
Eo = null; | |
function wo() { | |
Eo = bo = vo = null; | |
} | |
function So(e) { | |
var t = yo.current; | |
_a(yo), (e._currentValue = t); | |
} | |
function To(e, t, n) { | |
for (; null !== e; ) { | |
var r = e.alternate; | |
if (((e.childLanes & t) !== t ? ((e.childLanes |= t), null !== r && (r.childLanes |= t)) : null !== r && (r.childLanes & t) !== t && (r.childLanes |= t), e === n)) break; | |
e = e.return; | |
} | |
} | |
function _o(e, t) { | |
(vo = e), (Eo = bo = null), null !== (e = e.dependencies) && null !== e.firstContext && (0 != (e.lanes & t) && (bl = !0), (e.firstContext = null)); | |
} | |
function ko(e) { | |
var t = e._currentValue; | |
if (Eo !== e) | |
if (((e = { context: e, memoizedValue: t, next: null }), null === bo)) { | |
if (null === vo) throw Error(o(308)); | |
(bo = e), (vo.dependencies = { lanes: 0, firstContext: e }); | |
} else bo = bo.next = e; | |
return t; | |
} | |
var Co = null; | |
function No(e) { | |
null === Co ? (Co = [e]) : Co.push(e); | |
} | |
function Po(e, t, n, r) { | |
var a = t.interleaved; | |
return null === a ? ((n.next = n), No(t)) : ((n.next = a.next), (a.next = n)), (t.interleaved = n), Ro(e, r); | |
} | |
function Ro(e, t) { | |
e.lanes |= t; | |
var n = e.alternate; | |
for (null !== n && (n.lanes |= t), n = e, e = e.return; null !== e; ) (e.childLanes |= t), null !== (n = e.alternate) && (n.childLanes |= t), (n = e), (e = e.return); | |
return 3 === n.tag ? n.stateNode : null; | |
} | |
var Oo = !1; | |
function Lo(e) { | |
e.updateQueue = { baseState: e.memoizedState, firstBaseUpdate: null, lastBaseUpdate: null, shared: { pending: null, interleaved: null, lanes: 0 }, effects: null }; | |
} | |
function xo(e, t) { | |
(e = e.updateQueue), t.updateQueue === e && (t.updateQueue = { baseState: e.baseState, firstBaseUpdate: e.firstBaseUpdate, lastBaseUpdate: e.lastBaseUpdate, shared: e.shared, effects: e.effects }); | |
} | |
function Io(e, t) { | |
return { eventTime: e, lane: t, tag: 0, payload: null, callback: null, next: null }; | |
} | |
function Do(e, t, n) { | |
var r = e.updateQueue; | |
if (null === r) return null; | |
if (((r = r.shared), 0 != (2 & Nu))) { | |
var a = r.pending; | |
return null === a ? (t.next = t) : ((t.next = a.next), (a.next = t)), (r.pending = t), Ro(e, n); | |
} | |
return null === (a = r.interleaved) ? ((t.next = t), No(r)) : ((t.next = a.next), (a.next = t)), (r.interleaved = t), Ro(e, n); | |
} | |
function Mo(e, t, n) { | |
if (null !== (t = t.updateQueue) && ((t = t.shared), 0 != (4194240 & n))) { | |
var r = t.lanes; | |
(n |= r &= e.pendingLanes), (t.lanes = n), yt(e, n); | |
} | |
} | |
function Bo(e, t) { | |
var n = e.updateQueue, | |
r = e.alternate; | |
if (null !== r && n === (r = r.updateQueue)) { | |
var a = null, | |
o = null; | |
if (null !== (n = n.firstBaseUpdate)) { | |
do { | |
var i = { eventTime: n.eventTime, lane: n.lane, tag: n.tag, payload: n.payload, callback: n.callback, next: null }; | |
null === o ? (a = o = i) : (o = o.next = i), (n = n.next); | |
} while (null !== n); | |
null === o ? (a = o = t) : (o = o.next = t); | |
} else a = o = t; | |
return (n = { baseState: r.baseState, firstBaseUpdate: a, lastBaseUpdate: o, shared: r.shared, effects: r.effects }), void (e.updateQueue = n); | |
} | |
null === (e = n.lastBaseUpdate) ? (n.firstBaseUpdate = t) : (e.next = t), (n.lastBaseUpdate = t); | |
} | |
function Ho(e, t, n, r) { | |
var a = e.updateQueue; | |
Oo = !1; | |
var o = a.firstBaseUpdate, | |
i = a.lastBaseUpdate, | |
l = a.shared.pending; | |
if (null !== l) { | |
a.shared.pending = null; | |
var u = l, | |
s = u.next; | |
(u.next = null), null === i ? (o = s) : (i.next = s), (i = u); | |
var c = e.alternate; | |
null !== c && (l = (c = c.updateQueue).lastBaseUpdate) !== i && (null === l ? (c.firstBaseUpdate = s) : (l.next = s), (c.lastBaseUpdate = u)); | |
} | |
if (null !== o) { | |
var f = a.baseState; | |
for (i = 0, c = s = u = null, l = o; ; ) { | |
var d = l.lane, | |
h = l.eventTime; | |
if ((r & d) === d) { | |
null !== c && (c = c.next = { eventTime: h, lane: 0, tag: l.tag, payload: l.payload, callback: l.callback, next: null }); | |
e: { | |
var p = e, | |
A = l; | |
switch (((d = t), (h = n), A.tag)) { | |
case 1: | |
if ("function" == typeof (p = A.payload)) { | |
f = p.call(h, f, d); | |
break e; | |
} | |
f = p; | |
break e; | |
case 3: | |
p.flags = (-65537 & p.flags) | 128; | |
case 0: | |
if (null == (d = "function" == typeof (p = A.payload) ? p.call(h, f, d) : p)) break e; | |
f = B({}, f, d); | |
break e; | |
case 2: | |
Oo = !0; | |
} | |
} | |
null !== l.callback && 0 !== l.lane && ((e.flags |= 64), null === (d = a.effects) ? (a.effects = [l]) : d.push(l)); | |
} else (h = { eventTime: h, lane: d, tag: l.tag, payload: l.payload, callback: l.callback, next: null }), null === c ? ((s = c = h), (u = f)) : (c = c.next = h), (i |= d); | |
if (null === (l = l.next)) { | |
if (null === (l = a.shared.pending)) break; | |
(l = (d = l).next), (d.next = null), (a.lastBaseUpdate = d), (a.shared.pending = null); | |
} | |
} | |
if ((null === c && (u = f), (a.baseState = u), (a.firstBaseUpdate = s), (a.lastBaseUpdate = c), null !== (t = a.shared.interleaved))) { | |
a = t; | |
do { | |
(i |= a.lane), (a = a.next); | |
} while (a !== t); | |
} else null === o && (a.shared.lanes = 0); | |
(Mu |= i), (e.lanes = i), (e.memoizedState = f); | |
} | |
} | |
function Fo(e, t, n) { | |
if (((e = t.effects), (t.effects = null), null !== e)) | |
for (t = 0; t < e.length; t++) { | |
var r = e[t], | |
a = r.callback; | |
if (null !== a) { | |
if (((r.callback = null), (r = n), "function" != typeof a)) throw Error(o(191, a)); | |
a.call(r); | |
} | |
} | |
} | |
var Uo = new r.Component().refs; | |
function zo(e, t, n, r) { | |
(n = null == (n = n(r, (t = e.memoizedState))) ? t : B({}, t, n)), (e.memoizedState = n), 0 === e.lanes && (e.updateQueue.baseState = n); | |
} | |
var jo = { | |
isMounted: function (e) { | |
return !!(e = e._reactInternals) && je(e) === e; | |
}, | |
enqueueSetState: function (e, t, n) { | |
e = e._reactInternals; | |
var r = es(), | |
a = ts(e), | |
o = Io(r, a); | |
(o.payload = t), null != n && (o.callback = n), null !== (t = Do(e, o, a)) && (ns(t, e, a, r), Mo(t, e, a)); | |
}, | |
enqueueReplaceState: function (e, t, n) { | |
e = e._reactInternals; | |
var r = es(), | |
a = ts(e), | |
o = Io(r, a); | |
(o.tag = 1), (o.payload = t), null != n && (o.callback = n), null !== (t = Do(e, o, a)) && (ns(t, e, a, r), Mo(t, e, a)); | |
}, | |
enqueueForceUpdate: function (e, t) { | |
e = e._reactInternals; | |
var n = es(), | |
r = ts(e), | |
a = Io(n, r); | |
(a.tag = 2), null != t && (a.callback = t), null !== (t = Do(e, a, r)) && (ns(t, e, r, n), Mo(t, e, r)); | |
}, | |
}; | |
function Go(e, t, n, r, a, o, i) { | |
return "function" == typeof (e = e.stateNode).shouldComponentUpdate ? e.shouldComponentUpdate(r, o, i) : !t.prototype || !t.prototype.isPureReactComponent || !ur(n, r) || !ur(a, o); | |
} | |
function Vo(e, t, n) { | |
var r = !1, | |
a = Ca, | |
o = t.contextType; | |
return ( | |
"object" == typeof o && null !== o ? (o = ko(o)) : ((a = La(t) ? Ra : Na.current), (o = (r = null != (r = t.contextTypes)) ? Oa(e, a) : Ca)), | |
(t = new t(n, o)), | |
(e.memoizedState = null !== t.state && void 0 !== t.state ? t.state : null), | |
(t.updater = jo), | |
(e.stateNode = t), | |
(t._reactInternals = e), | |
r && (((e = e.stateNode).__reactInternalMemoizedUnmaskedChildContext = a), (e.__reactInternalMemoizedMaskedChildContext = o)), | |
t | |
); | |
} | |
function $o(e, t, n, r) { | |
(e = t.state), | |
"function" == typeof t.componentWillReceiveProps && t.componentWillReceiveProps(n, r), | |
"function" == typeof t.UNSAFE_componentWillReceiveProps && t.UNSAFE_componentWillReceiveProps(n, r), | |
t.state !== e && jo.enqueueReplaceState(t, t.state, null); | |
} | |
function Zo(e, t, n, r) { | |
var a = e.stateNode; | |
(a.props = n), (a.state = e.memoizedState), (a.refs = Uo), Lo(e); | |
var o = t.contextType; | |
"object" == typeof o && null !== o ? (a.context = ko(o)) : ((o = La(t) ? Ra : Na.current), (a.context = Oa(e, o))), | |
(a.state = e.memoizedState), | |
"function" == typeof (o = t.getDerivedStateFromProps) && (zo(e, t, o, n), (a.state = e.memoizedState)), | |
"function" == typeof t.getDerivedStateFromProps || | |
"function" == typeof a.getSnapshotBeforeUpdate || | |
("function" != typeof a.UNSAFE_componentWillMount && "function" != typeof a.componentWillMount) || | |
((t = a.state), | |
"function" == typeof a.componentWillMount && a.componentWillMount(), | |
"function" == typeof a.UNSAFE_componentWillMount && a.UNSAFE_componentWillMount(), | |
t !== a.state && jo.enqueueReplaceState(a, a.state, null), | |
Ho(e, n, a, r), | |
(a.state = e.memoizedState)), | |
"function" == typeof a.componentDidMount && (e.flags |= 4194308); | |
} | |
function Wo(e, t, n) { | |
if (null !== (e = n.ref) && "function" != typeof e && "object" != typeof e) { | |
if (n._owner) { | |
if ((n = n._owner)) { | |
if (1 !== n.tag) throw Error(o(309)); | |
var r = n.stateNode; | |
} | |
if (!r) throw Error(o(147, e)); | |
var a = r, | |
i = "" + e; | |
return null !== t && null !== t.ref && "function" == typeof t.ref && t.ref._stringRef === i | |
? t.ref | |
: ((t = function (e) { | |
var t = a.refs; | |
t === Uo && (t = a.refs = {}), null === e ? delete t[i] : (t[i] = e); | |
}), | |
(t._stringRef = i), | |
t); | |
} | |
if ("string" != typeof e) throw Error(o(284)); | |
if (!n._owner) throw Error(o(290, e)); | |
} | |
return e; | |
} | |
function Qo(e, t) { | |
throw ((e = Object.prototype.toString.call(t)), Error(o(31, "[object Object]" === e ? "object with keys {" + Object.keys(t).join(", ") + "}" : e))); | |
} | |
function qo(e) { | |
return (0, e._init)(e._payload); | |
} | |
function Yo(e) { | |
function t(t, n) { | |
if (e) { | |
var r = t.deletions; | |
null === r ? ((t.deletions = [n]), (t.flags |= 16)) : r.push(n); | |
} | |
} | |
function n(n, r) { | |
if (!e) return null; | |
for (; null !== r; ) t(n, r), (r = r.sibling); | |
return null; | |
} | |
function r(e, t) { | |
for (e = new Map(); null !== t; ) null !== t.key ? e.set(t.key, t) : e.set(t.index, t), (t = t.sibling); | |
return e; | |
} | |
function a(e, t) { | |
return ((e = xs(e, t)).index = 0), (e.sibling = null), e; | |
} | |
function i(t, n, r) { | |
return (t.index = r), e ? (null !== (r = t.alternate) ? ((r = r.index) < n ? ((t.flags |= 2), n) : r) : ((t.flags |= 2), n)) : ((t.flags |= 1048576), n); | |
} | |
function l(t) { | |
return e && null === t.alternate && (t.flags |= 2), t; | |
} | |
function u(e, t, n, r) { | |
return null === t || 6 !== t.tag ? (((t = Bs(n, e.mode, r)).return = e), t) : (((t = a(t, n)).return = e), t); | |
} | |
function s(e, t, n, r) { | |
var o = n.type; | |
return o === S | |
? f(e, t, n.props.children, r, n.key) | |
: null !== t && (t.elementType === o || ("object" == typeof o && null !== o && o.$$typeof === L && qo(o) === t.type)) | |
? (((r = a(t, n.props)).ref = Wo(e, t, n)), (r.return = e), r) | |
: (((r = Is(n.type, n.key, n.props, null, e.mode, r)).ref = Wo(e, t, n)), (r.return = e), r); | |
} | |
function c(e, t, n, r) { | |
return null === t || 4 !== t.tag || t.stateNode.containerInfo !== n.containerInfo || t.stateNode.implementation !== n.implementation | |
? (((t = Hs(n, e.mode, r)).return = e), t) | |
: (((t = a(t, n.children || [])).return = e), t); | |
} | |
function f(e, t, n, r, o) { | |
return null === t || 7 !== t.tag ? (((t = Ds(n, e.mode, r, o)).return = e), t) : (((t = a(t, n)).return = e), t); | |
} | |
function d(e, t, n) { | |
if (("string" == typeof t && "" !== t) || "number" == typeof t) return ((t = Bs("" + t, e.mode, n)).return = e), t; | |
if ("object" == typeof t && null !== t) { | |
switch (t.$$typeof) { | |
case E: | |
return ((n = Is(t.type, t.key, t.props, null, e.mode, n)).ref = Wo(e, null, t)), (n.return = e), n; | |
case w: | |
return ((t = Hs(t, e.mode, n)).return = e), t; | |
case L: | |
return d(e, (0, t._init)(t._payload), n); | |
} | |
if (te(t) || D(t)) return ((t = Ds(t, e.mode, n, null)).return = e), t; | |
Qo(e, t); | |
} | |
return null; | |
} | |
function h(e, t, n, r) { | |
var a = null !== t ? t.key : null; | |
if (("string" == typeof n && "" !== n) || "number" == typeof n) return null !== a ? null : u(e, t, "" + n, r); | |
if ("object" == typeof n && null !== n) { | |
switch (n.$$typeof) { | |
case E: | |
return n.key === a ? s(e, t, n, r) : null; | |
case w: | |
return n.key === a ? c(e, t, n, r) : null; | |
case L: | |
return h(e, t, (a = n._init)(n._payload), r); | |
} | |
if (te(n) || D(n)) return null !== a ? null : f(e, t, n, r, null); | |
Qo(e, n); | |
} | |
return null; | |
} | |
function p(e, t, n, r, a) { | |
if (("string" == typeof r && "" !== r) || "number" == typeof r) return u(t, (e = e.get(n) || null), "" + r, a); | |
if ("object" == typeof r && null !== r) { | |
switch (r.$$typeof) { | |
case E: | |
return s(t, (e = e.get(null === r.key ? n : r.key) || null), r, a); | |
case w: | |
return c(t, (e = e.get(null === r.key ? n : r.key) || null), r, a); | |
case L: | |
return p(e, t, n, (0, r._init)(r._payload), a); | |
} | |
if (te(r) || D(r)) return f(t, (e = e.get(n) || null), r, a, null); | |
Qo(t, r); | |
} | |
return null; | |
} | |
function A(a, o, l, u) { | |
for (var s = null, c = null, f = o, A = (o = 0), m = null; null !== f && A < l.length; A++) { | |
f.index > A ? ((m = f), (f = null)) : (m = f.sibling); | |
var g = h(a, f, l[A], u); | |
if (null === g) { | |
null === f && (f = m); | |
break; | |
} | |
e && f && null === g.alternate && t(a, f), (o = i(g, o, A)), null === c ? (s = g) : (c.sibling = g), (c = g), (f = m); | |
} | |
if (A === l.length) return n(a, f), ao && Ka(a, A), s; | |
if (null === f) { | |
for (; A < l.length; A++) null !== (f = d(a, l[A], u)) && ((o = i(f, o, A)), null === c ? (s = f) : (c.sibling = f), (c = f)); | |
return ao && Ka(a, A), s; | |
} | |
for (f = r(a, f); A < l.length; A++) null !== (m = p(f, a, A, l[A], u)) && (e && null !== m.alternate && f.delete(null === m.key ? A : m.key), (o = i(m, o, A)), null === c ? (s = m) : (c.sibling = m), (c = m)); | |
return ( | |
e && | |
f.forEach(function (e) { | |
return t(a, e); | |
}), | |
ao && Ka(a, A), | |
s | |
); | |
} | |
function m(a, l, u, s) { | |
var c = D(u); | |
if ("function" != typeof c) throw Error(o(150)); | |
if (null == (u = c.call(u))) throw Error(o(151)); | |
for (var f = (c = null), A = l, m = (l = 0), g = null, y = u.next(); null !== A && !y.done; m++, y = u.next()) { | |
A.index > m ? ((g = A), (A = null)) : (g = A.sibling); | |
var v = h(a, A, y.value, s); | |
if (null === v) { | |
null === A && (A = g); | |
break; | |
} | |
e && A && null === v.alternate && t(a, A), (l = i(v, l, m)), null === f ? (c = v) : (f.sibling = v), (f = v), (A = g); | |
} | |
if (y.done) return n(a, A), ao && Ka(a, m), c; | |
if (null === A) { | |
for (; !y.done; m++, y = u.next()) null !== (y = d(a, y.value, s)) && ((l = i(y, l, m)), null === f ? (c = y) : (f.sibling = y), (f = y)); | |
return ao && Ka(a, m), c; | |
} | |
for (A = r(a, A); !y.done; m++, y = u.next()) | |
null !== (y = p(A, a, m, y.value, s)) && (e && null !== y.alternate && A.delete(null === y.key ? m : y.key), (l = i(y, l, m)), null === f ? (c = y) : (f.sibling = y), (f = y)); | |
return ( | |
e && | |
A.forEach(function (e) { | |
return t(a, e); | |
}), | |
ao && Ka(a, m), | |
c | |
); | |
} | |
return function e(r, o, i, u) { | |
if (("object" == typeof i && null !== i && i.type === S && null === i.key && (i = i.props.children), "object" == typeof i && null !== i)) { | |
switch (i.$$typeof) { | |
case E: | |
e: { | |
for (var s = i.key, c = o; null !== c; ) { | |
if (c.key === s) { | |
if ((s = i.type) === S) { | |
if (7 === c.tag) { | |
n(r, c.sibling), ((o = a(c, i.props.children)).return = r), (r = o); | |
break e; | |
} | |
} else if (c.elementType === s || ("object" == typeof s && null !== s && s.$$typeof === L && qo(s) === c.type)) { | |
n(r, c.sibling), ((o = a(c, i.props)).ref = Wo(r, c, i)), (o.return = r), (r = o); | |
break e; | |
} | |
n(r, c); | |
break; | |
} | |
t(r, c), (c = c.sibling); | |
} | |
i.type === S ? (((o = Ds(i.props.children, r.mode, u, i.key)).return = r), (r = o)) : (((u = Is(i.type, i.key, i.props, null, r.mode, u)).ref = Wo(r, o, i)), (u.return = r), (r = u)); | |
} | |
return l(r); | |
case w: | |
e: { | |
for (c = i.key; null !== o; ) { | |
if (o.key === c) { | |
if (4 === o.tag && o.stateNode.containerInfo === i.containerInfo && o.stateNode.implementation === i.implementation) { | |
n(r, o.sibling), ((o = a(o, i.children || [])).return = r), (r = o); | |
break e; | |
} | |
n(r, o); | |
break; | |
} | |
t(r, o), (o = o.sibling); | |
} | |
((o = Hs(i, r.mode, u)).return = r), (r = o); | |
} | |
return l(r); | |
case L: | |
return e(r, o, (c = i._init)(i._payload), u); | |
} | |
if (te(i)) return A(r, o, i, u); | |
if (D(i)) return m(r, o, i, u); | |
Qo(r, i); | |
} | |
return ("string" == typeof i && "" !== i) || "number" == typeof i | |
? ((i = "" + i), null !== o && 6 === o.tag ? (n(r, o.sibling), ((o = a(o, i)).return = r), (r = o)) : (n(r, o), ((o = Bs(i, r.mode, u)).return = r), (r = o)), l(r)) | |
: n(r, o); | |
}; | |
} | |
var Jo = Yo(!0), | |
Ko = Yo(!1), | |
Xo = {}, | |
ei = Ta(Xo), | |
ti = Ta(Xo), | |
ni = Ta(Xo); | |
function ri(e) { | |
if (e === Xo) throw Error(o(174)); | |
return e; | |
} | |
function ai(e, t) { | |
switch ((ka(ni, t), ka(ti, e), ka(ei, Xo), (e = t.nodeType))) { | |
case 9: | |
case 11: | |
t = (t = t.documentElement) ? t.namespaceURI : ue(null, ""); | |
break; | |
default: | |
t = ue((t = (e = 8 === e ? t.parentNode : t).namespaceURI || null), (e = e.tagName)); | |
} | |
_a(ei), ka(ei, t); | |
} | |
function oi() { | |
_a(ei), _a(ti), _a(ni); | |
} | |
function ii(e) { | |
ri(ni.current); | |
var t = ri(ei.current), | |
n = ue(t, e.type); | |
t !== n && (ka(ti, e), ka(ei, n)); | |
} | |
function li(e) { | |
ti.current === e && (_a(ei), _a(ti)); | |
} | |
var ui = Ta(0); | |
function si(e) { | |
for (var t = e; null !== t; ) { | |
if (13 === t.tag) { | |
var n = t.memoizedState; | |
if (null !== n && (null === (n = n.dehydrated) || "$?" === n.data || "$!" === n.data)) return t; | |
} else if (19 === t.tag && void 0 !== t.memoizedProps.revealOrder) { | |
if (0 != (128 & t.flags)) return t; | |
} else if (null !== t.child) { | |
(t.child.return = t), (t = t.child); | |
continue; | |
} | |
if (t === e) break; | |
for (; null === t.sibling; ) { | |
if (null === t.return || t.return === e) return null; | |
t = t.return; | |
} | |
(t.sibling.return = t.return), (t = t.sibling); | |
} | |
return null; | |
} | |
var ci = []; | |
function fi() { | |
for (var e = 0; e < ci.length; e++) ci[e]._workInProgressVersionPrimary = null; | |
ci.length = 0; | |
} | |
var di = b.ReactCurrentDispatcher, | |
hi = b.ReactCurrentBatchConfig, | |
pi = 0, | |
Ai = null, | |
mi = null, | |
gi = null, | |
yi = !1, | |
vi = !1, | |
bi = 0, | |
Ei = 0; | |
function wi() { | |
throw Error(o(321)); | |
} | |
function Si(e, t) { | |
if (null === t) return !1; | |
for (var n = 0; n < t.length && n < e.length; n++) if (!lr(e[n], t[n])) return !1; | |
return !0; | |
} | |
function Ti(e, t, n, r, a, i) { | |
if (((pi = i), (Ai = t), (t.memoizedState = null), (t.updateQueue = null), (t.lanes = 0), (di.current = null === e || null === e.memoizedState ? ll : ul), (e = n(r, a)), vi)) { | |
i = 0; | |
do { | |
if (((vi = !1), (bi = 0), 25 <= i)) throw Error(o(301)); | |
(i += 1), (gi = mi = null), (t.updateQueue = null), (di.current = sl), (e = n(r, a)); | |
} while (vi); | |
} | |
if (((di.current = il), (t = null !== mi && null !== mi.next), (pi = 0), (gi = mi = Ai = null), (yi = !1), t)) throw Error(o(300)); | |
return e; | |
} | |
function _i() { | |
var e = 0 !== bi; | |
return (bi = 0), e; | |
} | |
function ki() { | |
var e = { memoizedState: null, baseState: null, baseQueue: null, queue: null, next: null }; | |
return null === gi ? (Ai.memoizedState = gi = e) : (gi = gi.next = e), gi; | |
} | |
function Ci() { | |
if (null === mi) { | |
var e = Ai.alternate; | |
e = null !== e ? e.memoizedState : null; | |
} else e = mi.next; | |
var t = null === gi ? Ai.memoizedState : gi.next; | |
if (null !== t) (gi = t), (mi = e); | |
else { | |
if (null === e) throw Error(o(310)); | |
(e = { memoizedState: (mi = e).memoizedState, baseState: mi.baseState, baseQueue: mi.baseQueue, queue: mi.queue, next: null }), null === gi ? (Ai.memoizedState = gi = e) : (gi = gi.next = e); | |
} | |
return gi; | |
} | |
function Ni(e, t) { | |
return "function" == typeof t ? t(e) : t; | |
} | |
function Pi(e) { | |
var t = Ci(), | |
n = t.queue; | |
if (null === n) throw Error(o(311)); | |
n.lastRenderedReducer = e; | |
var r = mi, | |
a = r.baseQueue, | |
i = n.pending; | |
if (null !== i) { | |
if (null !== a) { | |
var l = a.next; | |
(a.next = i.next), (i.next = l); | |
} | |
(r.baseQueue = a = i), (n.pending = null); | |
} | |
if (null !== a) { | |
(i = a.next), (r = r.baseState); | |
var u = (l = null), | |
s = null, | |
c = i; | |
do { | |
var f = c.lane; | |
if ((pi & f) === f) null !== s && (s = s.next = { lane: 0, action: c.action, hasEagerState: c.hasEagerState, eagerState: c.eagerState, next: null }), (r = c.hasEagerState ? c.eagerState : e(r, c.action)); | |
else { | |
var d = { lane: f, action: c.action, hasEagerState: c.hasEagerState, eagerState: c.eagerState, next: null }; | |
null === s ? ((u = s = d), (l = r)) : (s = s.next = d), (Ai.lanes |= f), (Mu |= f); | |
} | |
c = c.next; | |
} while (null !== c && c !== i); | |
null === s ? (l = r) : (s.next = u), lr(r, t.memoizedState) || (bl = !0), (t.memoizedState = r), (t.baseState = l), (t.baseQueue = s), (n.lastRenderedState = r); | |
} | |
if (null !== (e = n.interleaved)) { | |
a = e; | |
do { | |
(i = a.lane), (Ai.lanes |= i), (Mu |= i), (a = a.next); | |
} while (a !== e); | |
} else null === a && (n.lanes = 0); | |
return [t.memoizedState, n.dispatch]; | |
} | |
function Ri(e) { | |
var t = Ci(), | |
n = t.queue; | |
if (null === n) throw Error(o(311)); | |
n.lastRenderedReducer = e; | |
var r = n.dispatch, | |
a = n.pending, | |
i = t.memoizedState; | |
if (null !== a) { | |
n.pending = null; | |
var l = (a = a.next); | |
do { | |
(i = e(i, l.action)), (l = l.next); | |
} while (l !== a); | |
lr(i, t.memoizedState) || (bl = !0), (t.memoizedState = i), null === t.baseQueue && (t.baseState = i), (n.lastRenderedState = i); | |
} | |
return [i, r]; | |
} | |
function Oi() {} | |
function Li(e, t) { | |
var n = Ai, | |
r = Ci(), | |
a = t(), | |
i = !lr(r.memoizedState, a); | |
if ((i && ((r.memoizedState = a), (bl = !0)), (r = r.queue), Vi(Di.bind(null, n, r, e), [e]), r.getSnapshot !== t || i || (null !== gi && 1 & gi.memoizedState.tag))) { | |
if (((n.flags |= 2048), Fi(9, Ii.bind(null, n, r, a, t), void 0, null), null === Pu)) throw Error(o(349)); | |
0 != (30 & pi) || xi(n, t, a); | |
} | |
return a; | |
} | |
function xi(e, t, n) { | |
(e.flags |= 16384), | |
(e = { getSnapshot: t, value: n }), | |
null === (t = Ai.updateQueue) ? ((t = { lastEffect: null, stores: null }), (Ai.updateQueue = t), (t.stores = [e])) : null === (n = t.stores) ? (t.stores = [e]) : n.push(e); | |
} | |
function Ii(e, t, n, r) { | |
(t.value = n), (t.getSnapshot = r), Mi(t) && Bi(e); | |
} | |
function Di(e, t, n) { | |
return n(function () { | |
Mi(t) && Bi(e); | |
}); | |
} | |
function Mi(e) { | |
var t = e.getSnapshot; | |
e = e.value; | |
try { | |
var n = t(); | |
return !lr(e, n); | |
} catch (e) { | |
return !0; | |
} | |
} | |
function Bi(e) { | |
var t = Ro(e, 1); | |
null !== t && ns(t, e, 1, -1); | |
} | |
function Hi(e) { | |
var t = ki(); | |
return ( | |
"function" == typeof e && (e = e()), | |
(t.memoizedState = t.baseState = e), | |
(e = { pending: null, interleaved: null, lanes: 0, dispatch: null, lastRenderedReducer: Ni, lastRenderedState: e }), | |
(t.queue = e), | |
(e = e.dispatch = nl.bind(null, Ai, e)), | |
[t.memoizedState, e] | |
); | |
} | |
function Fi(e, t, n, r) { | |
return ( | |
(e = { tag: e, create: t, destroy: n, deps: r, next: null }), | |
null === (t = Ai.updateQueue) | |
? ((t = { lastEffect: null, stores: null }), (Ai.updateQueue = t), (t.lastEffect = e.next = e)) | |
: null === (n = t.lastEffect) | |
? (t.lastEffect = e.next = e) | |
: ((r = n.next), (n.next = e), (e.next = r), (t.lastEffect = e)), | |
e | |
); | |
} | |
function Ui() { | |
return Ci().memoizedState; | |
} | |
function zi(e, t, n, r) { | |
var a = ki(); | |
(Ai.flags |= e), (a.memoizedState = Fi(1 | t, n, void 0, void 0 === r ? null : r)); | |
} | |
function ji(e, t, n, r) { | |
var a = Ci(); | |
r = void 0 === r ? null : r; | |
var o = void 0; | |
if (null !== mi) { | |
var i = mi.memoizedState; | |
if (((o = i.destroy), null !== r && Si(r, i.deps))) return void (a.memoizedState = Fi(t, n, o, r)); | |
} | |
(Ai.flags |= e), (a.memoizedState = Fi(1 | t, n, o, r)); | |
} | |
function Gi(e, t) { | |
return zi(8390656, 8, e, t); | |
} | |
function Vi(e, t) { | |
return ji(2048, 8, e, t); | |
} | |
function $i(e, t) { | |
return ji(4, 2, e, t); | |
} | |
function Zi(e, t) { | |
return ji(4, 4, e, t); | |
} | |
function Wi(e, t) { | |
return "function" == typeof t | |
? ((e = e()), | |
t(e), | |
function () { | |
t(null); | |
}) | |
: null != t | |
? ((e = e()), | |
(t.current = e), | |
function () { | |
t.current = null; | |
}) | |
: void 0; | |
} | |
function Qi(e, t, n) { | |
return (n = null != n ? n.concat([e]) : null), ji(4, 4, Wi.bind(null, t, e), n); | |
} | |
function qi() {} | |
function Yi(e, t) { | |
var n = Ci(); | |
t = void 0 === t ? null : t; | |
var r = n.memoizedState; | |
return null !== r && null !== t && Si(t, r[1]) ? r[0] : ((n.memoizedState = [e, t]), e); | |
} | |
function Ji(e, t) { | |
var n = Ci(); | |
t = void 0 === t ? null : t; | |
var r = n.memoizedState; | |
return null !== r && null !== t && Si(t, r[1]) ? r[0] : ((e = e()), (n.memoizedState = [e, t]), e); | |
} | |
function Ki(e, t, n) { | |
return 0 == (21 & pi) ? (e.baseState && ((e.baseState = !1), (bl = !0)), (e.memoizedState = n)) : (lr(n, t) || ((n = At()), (Ai.lanes |= n), (Mu |= n), (e.baseState = !0)), t); | |
} | |
function Xi(e, t) { | |
var n = vt; | |
(vt = 0 !== n && 4 > n ? n : 4), e(!0); | |
var r = hi.transition; | |
hi.transition = {}; | |
try { | |
e(!1), t(); | |
} finally { | |
(vt = n), (hi.transition = r); | |
} | |
} | |
function el() { | |
return Ci().memoizedState; | |
} | |
function tl(e, t, n) { | |
var r = ts(e); | |
if (((n = { lane: r, action: n, hasEagerState: !1, eagerState: null, next: null }), rl(e))) al(t, n); | |
else if (null !== (n = Po(e, t, n, r))) { | |
ns(n, e, r, es()), ol(n, t, r); | |
} | |
} | |
function nl(e, t, n) { | |
var r = ts(e), | |
a = { lane: r, action: n, hasEagerState: !1, eagerState: null, next: null }; | |
if (rl(e)) al(t, a); | |
else { | |
var o = e.alternate; | |
if (0 === e.lanes && (null === o || 0 === o.lanes) && null !== (o = t.lastRenderedReducer)) | |
try { | |
var i = t.lastRenderedState, | |
l = o(i, n); | |
if (((a.hasEagerState = !0), (a.eagerState = l), lr(l, i))) { | |
var u = t.interleaved; | |
return null === u ? ((a.next = a), No(t)) : ((a.next = u.next), (u.next = a)), void (t.interleaved = a); | |
} | |
} catch (e) {} | |
null !== (n = Po(e, t, a, r)) && (ns(n, e, r, (a = es())), ol(n, t, r)); | |
} | |
} | |
function rl(e) { | |
var t = e.alternate; | |
return e === Ai || (null !== t && t === Ai); | |
} | |
function al(e, t) { | |
vi = yi = !0; | |
var n = e.pending; | |
null === n ? (t.next = t) : ((t.next = n.next), (n.next = t)), (e.pending = t); | |
} | |
function ol(e, t, n) { | |
if (0 != (4194240 & n)) { | |
var r = t.lanes; | |
(n |= r &= e.pendingLanes), (t.lanes = n), yt(e, n); | |
} | |
} | |
var il = { | |
readContext: ko, | |
useCallback: wi, | |
useContext: wi, | |
useEffect: wi, | |
useImperativeHandle: wi, | |
useInsertionEffect: wi, | |
useLayoutEffect: wi, | |
useMemo: wi, | |
useReducer: wi, | |
useRef: wi, | |
useState: wi, | |
useDebugValue: wi, | |
useDeferredValue: wi, | |
useTransition: wi, | |
useMutableSource: wi, | |
useSyncExternalStore: wi, | |
useId: wi, | |
unstable_isNewReconciler: !1, | |
}, | |
ll = { | |
readContext: ko, | |
useCallback: function (e, t) { | |
return (ki().memoizedState = [e, void 0 === t ? null : t]), e; | |
}, | |
useContext: ko, | |
useEffect: Gi, | |
useImperativeHandle: function (e, t, n) { | |
return (n = null != n ? n.concat([e]) : null), zi(4194308, 4, Wi.bind(null, t, e), n); | |
}, | |
useLayoutEffect: function (e, t) { | |
return zi(4194308, 4, e, t); | |
}, | |
useInsertionEffect: function (e, t) { | |
return zi(4, 2, e, t); | |
}, | |
useMemo: function (e, t) { | |
var n = ki(); | |
return (t = void 0 === t ? null : t), (e = e()), (n.memoizedState = [e, t]), e; | |
}, | |
useReducer: function (e, t, n) { | |
var r = ki(); | |
return ( | |
(t = void 0 !== n ? n(t) : t), | |
(r.memoizedState = r.baseState = t), | |
(e = { pending: null, interleaved: null, lanes: 0, dispatch: null, lastRenderedReducer: e, lastRenderedState: t }), | |
(r.queue = e), | |
(e = e.dispatch = tl.bind(null, Ai, e)), | |
[r.memoizedState, e] | |
); | |
}, | |
useRef: function (e) { | |
return (e = { current: e }), (ki().memoizedState = e); | |
}, | |
useState: Hi, | |
useDebugValue: qi, | |
useDeferredValue: function (e) { | |
return (ki().memoizedState = e); | |
}, | |
useTransition: function () { | |
var e = Hi(!1), | |
t = e[0]; | |
return (e = Xi.bind(null, e[1])), (ki().memoizedState = e), [t, e]; | |
}, | |
useMutableSource: function () {}, | |
useSyncExternalStore: function (e, t, n) { | |
var r = Ai, | |
a = ki(); | |
if (ao) { | |
if (void 0 === n) throw Error(o(407)); | |
n = n(); | |
} else { | |
if (((n = t()), null === Pu)) throw Error(o(349)); | |
0 != (30 & pi) || xi(r, t, n); | |
} | |
a.memoizedState = n; | |
var i = { value: n, getSnapshot: t }; | |
return (a.queue = i), Gi(Di.bind(null, r, i, e), [e]), (r.flags |= 2048), Fi(9, Ii.bind(null, r, i, n, t), void 0, null), n; | |
}, | |
useId: function () { | |
var e = ki(), | |
t = Pu.identifierPrefix; | |
if (ao) { | |
var n = Ja; | |
(t = ":" + t + "R" + (n = (Ya & ~(1 << (32 - it(Ya) - 1))).toString(32) + n)), 0 < (n = bi++) && (t += "H" + n.toString(32)), (t += ":"); | |
} else t = ":" + t + "r" + (n = Ei++).toString(32) + ":"; | |
return (e.memoizedState = t); | |
}, | |
unstable_isNewReconciler: !1, | |
}, | |
ul = { | |
readContext: ko, | |
useCallback: Yi, | |
useContext: ko, | |
useEffect: Vi, | |
useImperativeHandle: Qi, | |
useInsertionEffect: $i, | |
useLayoutEffect: Zi, | |
useMemo: Ji, | |
useReducer: Pi, | |
useRef: Ui, | |
useState: function () { | |
return Pi(Ni); | |
}, | |
useDebugValue: qi, | |
useDeferredValue: function (e) { | |
return Ki(Ci(), mi.memoizedState, e); | |
}, | |
useTransition: function () { | |
return [Pi(Ni)[0], Ci().memoizedState]; | |
}, | |
useMutableSource: Oi, | |
useSyncExternalStore: Li, | |
useId: el, | |
unstable_isNewReconciler: !1, | |
}, | |
sl = { | |
readContext: ko, | |
useCallback: Yi, | |
useContext: ko, | |
useEffect: Vi, | |
useImperativeHandle: Qi, | |
useInsertionEffect: $i, | |
useLayoutEffect: Zi, | |
useMemo: Ji, | |
useReducer: Ri, | |
useRef: Ui, | |
useState: function () { | |
return Ri(Ni); | |
}, | |
useDebugValue: qi, | |
useDeferredValue: function (e) { | |
var t = Ci(); | |
return null === mi ? (t.memoizedState = e) : Ki(t, mi.memoizedState, e); | |
}, | |
useTransition: function () { | |
return [Ri(Ni)[0], Ci().memoizedState]; | |
}, | |
useMutableSource: Oi, | |
useSyncExternalStore: Li, | |
useId: el, | |
unstable_isNewReconciler: !1, | |
}; | |
function cl(e, t) { | |
try { | |
var n = "", | |
r = t; | |
do { | |
(n += z(r)), (r = r.return); | |
} while (r); | |
var a = n; | |
} catch (e) { | |
a = "\nError generating stack: " + e.message + "\n" + e.stack; | |
} | |
return { value: e, source: t, stack: a, digest: null }; | |
} | |
function fl(e, t, n) { | |
return { value: e, source: null, stack: null != n ? n : null, digest: null != t ? t : null }; | |
} | |
function dl(e, t) { | |
try { | |
console.error(t.value); | |
} catch (e) { | |
setTimeout(function () { | |
throw e; | |
}); | |
} | |
} | |
var hl = "function" == typeof WeakMap ? WeakMap : Map; | |
function pl(e, t, n) { | |
((n = Io(-1, n)).tag = 3), (n.payload = { element: null }); | |
var r = t.value; | |
return ( | |
(n.callback = function () { | |
Vu || ((Vu = !0), ($u = r)), dl(0, t); | |
}), | |
n | |
); | |
} | |
function Al(e, t, n) { | |
(n = Io(-1, n)).tag = 3; | |
var r = e.type.getDerivedStateFromError; | |
if ("function" == typeof r) { | |
var a = t.value; | |
(n.payload = function () { | |
return r(a); | |
}), | |
(n.callback = function () { | |
dl(0, t); | |
}); | |
} | |
var o = e.stateNode; | |
return ( | |
null !== o && | |
"function" == typeof o.componentDidCatch && | |
(n.callback = function () { | |
dl(0, t), "function" != typeof r && (null === Zu ? (Zu = new Set([this])) : Zu.add(this)); | |
var e = t.stack; | |
this.componentDidCatch(t.value, { componentStack: null !== e ? e : "" }); | |
}), | |
n | |
); | |
} | |
function ml(e, t, n) { | |
var r = e.pingCache; | |
if (null === r) { | |
r = e.pingCache = new hl(); | |
var a = new Set(); | |
r.set(t, a); | |
} else void 0 === (a = r.get(t)) && ((a = new Set()), r.set(t, a)); | |
a.has(n) || (a.add(n), (e = _s.bind(null, e, t, n)), t.then(e, e)); | |
} | |
function gl(e) { | |
do { | |
var t; | |
if (((t = 13 === e.tag) && (t = null === (t = e.memoizedState) || null !== t.dehydrated), t)) return e; | |
e = e.return; | |
} while (null !== e); | |
return null; | |
} | |
function yl(e, t, n, r, a) { | |
return 0 == (1 & e.mode) | |
? (e === t ? (e.flags |= 65536) : ((e.flags |= 128), (n.flags |= 131072), (n.flags &= -52805), 1 === n.tag && (null === n.alternate ? (n.tag = 17) : (((t = Io(-1, 1)).tag = 2), Do(n, t, 1))), (n.lanes |= 1)), e) | |
: ((e.flags |= 65536), (e.lanes = a), e); | |
} | |
var vl = b.ReactCurrentOwner, | |
bl = !1; | |
function El(e, t, n, r) { | |
t.child = null === e ? Ko(t, null, n, r) : Jo(t, e.child, n, r); | |
} | |
function wl(e, t, n, r, a) { | |
n = n.render; | |
var o = t.ref; | |
return _o(t, a), (r = Ti(e, t, n, r, o, a)), (n = _i()), null === e || bl ? (ao && n && eo(t), (t.flags |= 1), El(e, t, r, a), t.child) : ((t.updateQueue = e.updateQueue), (t.flags &= -2053), (e.lanes &= ~a), Vl(e, t, a)); | |
} | |
function Sl(e, t, n, r, a) { | |
if (null === e) { | |
var o = n.type; | |
return "function" != typeof o || Ls(o) || void 0 !== o.defaultProps || null !== n.compare || void 0 !== n.defaultProps | |
? (((e = Is(n.type, null, r, t, t.mode, a)).ref = t.ref), (e.return = t), (t.child = e)) | |
: ((t.tag = 15), (t.type = o), Tl(e, t, o, r, a)); | |
} | |
if (((o = e.child), 0 == (e.lanes & a))) { | |
var i = o.memoizedProps; | |
if ((n = null !== (n = n.compare) ? n : ur)(i, r) && e.ref === t.ref) return Vl(e, t, a); | |
} | |
return (t.flags |= 1), ((e = xs(o, r)).ref = t.ref), (e.return = t), (t.child = e); | |
} | |
function Tl(e, t, n, r, a) { | |
if (null !== e) { | |
var o = e.memoizedProps; | |
if (ur(o, r) && e.ref === t.ref) { | |
if (((bl = !1), (t.pendingProps = r = o), 0 == (e.lanes & a))) return (t.lanes = e.lanes), Vl(e, t, a); | |
0 != (131072 & e.flags) && (bl = !0); | |
} | |
} | |
return Cl(e, t, n, r, a); | |
} | |
function _l(e, t, n) { | |
var r = t.pendingProps, | |
a = r.children, | |
o = null !== e ? e.memoizedState : null; | |
if ("hidden" === r.mode) | |
if (0 == (1 & t.mode)) (t.memoizedState = { baseLanes: 0, cachePool: null, transitions: null }), ka(xu, Lu), (Lu |= n); | |
else { | |
if (0 == (1073741824 & n)) | |
return (e = null !== o ? o.baseLanes | n : n), (t.lanes = t.childLanes = 1073741824), (t.memoizedState = { baseLanes: e, cachePool: null, transitions: null }), (t.updateQueue = null), ka(xu, Lu), (Lu |= e), null; | |
(t.memoizedState = { baseLanes: 0, cachePool: null, transitions: null }), (r = null !== o ? o.baseLanes : n), ka(xu, Lu), (Lu |= r); | |
} | |
else null !== o ? ((r = o.baseLanes | n), (t.memoizedState = null)) : (r = n), ka(xu, Lu), (Lu |= r); | |
return El(e, t, a, n), t.child; | |
} | |
function kl(e, t) { | |
var n = t.ref; | |
((null === e && null !== n) || (null !== e && e.ref !== n)) && ((t.flags |= 512), (t.flags |= 2097152)); | |
} | |
function Cl(e, t, n, r, a) { | |
var o = La(n) ? Ra : Na.current; | |
return ( | |
(o = Oa(t, o)), | |
_o(t, a), | |
(n = Ti(e, t, n, r, o, a)), | |
(r = _i()), | |
null === e || bl ? (ao && r && eo(t), (t.flags |= 1), El(e, t, n, a), t.child) : ((t.updateQueue = e.updateQueue), (t.flags &= -2053), (e.lanes &= ~a), Vl(e, t, a)) | |
); | |
} | |
function Nl(e, t, n, r, a) { | |
if (La(n)) { | |
var o = !0; | |
Ma(t); | |
} else o = !1; | |
if ((_o(t, a), null === t.stateNode)) Gl(e, t), Vo(t, n, r), Zo(t, n, r, a), (r = !0); | |
else if (null === e) { | |
var i = t.stateNode, | |
l = t.memoizedProps; | |
i.props = l; | |
var u = i.context, | |
s = n.contextType; | |
"object" == typeof s && null !== s ? (s = ko(s)) : (s = Oa(t, (s = La(n) ? Ra : Na.current))); | |
var c = n.getDerivedStateFromProps, | |
f = "function" == typeof c || "function" == typeof i.getSnapshotBeforeUpdate; | |
f || ("function" != typeof i.UNSAFE_componentWillReceiveProps && "function" != typeof i.componentWillReceiveProps) || ((l !== r || u !== s) && $o(t, i, r, s)), (Oo = !1); | |
var d = t.memoizedState; | |
(i.state = d), | |
Ho(t, r, i, a), | |
(u = t.memoizedState), | |
l !== r || d !== u || Pa.current || Oo | |
? ("function" == typeof c && (zo(t, n, c, r), (u = t.memoizedState)), | |
(l = Oo || Go(t, n, l, r, d, u, s)) | |
? (f || | |
("function" != typeof i.UNSAFE_componentWillMount && "function" != typeof i.componentWillMount) || | |
("function" == typeof i.componentWillMount && i.componentWillMount(), "function" == typeof i.UNSAFE_componentWillMount && i.UNSAFE_componentWillMount()), | |
"function" == typeof i.componentDidMount && (t.flags |= 4194308)) | |
: ("function" == typeof i.componentDidMount && (t.flags |= 4194308), (t.memoizedProps = r), (t.memoizedState = u)), | |
(i.props = r), | |
(i.state = u), | |
(i.context = s), | |
(r = l)) | |
: ("function" == typeof i.componentDidMount && (t.flags |= 4194308), (r = !1)); | |
} else { | |
(i = t.stateNode), | |
xo(e, t), | |
(l = t.memoizedProps), | |
(s = t.type === t.elementType ? l : go(t.type, l)), | |
(i.props = s), | |
(f = t.pendingProps), | |
(d = i.context), | |
"object" == typeof (u = n.contextType) && null !== u ? (u = ko(u)) : (u = Oa(t, (u = La(n) ? Ra : Na.current))); | |
var h = n.getDerivedStateFromProps; | |
(c = "function" == typeof h || "function" == typeof i.getSnapshotBeforeUpdate) || | |
("function" != typeof i.UNSAFE_componentWillReceiveProps && "function" != typeof i.componentWillReceiveProps) || | |
((l !== f || d !== u) && $o(t, i, r, u)), | |
(Oo = !1), | |
(d = t.memoizedState), | |
(i.state = d), | |
Ho(t, r, i, a); | |
var p = t.memoizedState; | |
l !== f || d !== p || Pa.current || Oo | |
? ("function" == typeof h && (zo(t, n, h, r), (p = t.memoizedState)), | |
(s = Oo || Go(t, n, s, r, d, p, u) || !1) | |
? (c || | |
("function" != typeof i.UNSAFE_componentWillUpdate && "function" != typeof i.componentWillUpdate) || | |
("function" == typeof i.componentWillUpdate && i.componentWillUpdate(r, p, u), "function" == typeof i.UNSAFE_componentWillUpdate && i.UNSAFE_componentWillUpdate(r, p, u)), | |
"function" == typeof i.componentDidUpdate && (t.flags |= 4), | |
"function" == typeof i.getSnapshotBeforeUpdate && (t.flags |= 1024)) | |
: ("function" != typeof i.componentDidUpdate || (l === e.memoizedProps && d === e.memoizedState) || (t.flags |= 4), | |
"function" != typeof i.getSnapshotBeforeUpdate || (l === e.memoizedProps && d === e.memoizedState) || (t.flags |= 1024), | |
(t.memoizedProps = r), | |
(t.memoizedState = p)), | |
(i.props = r), | |
(i.state = p), | |
(i.context = u), | |
(r = s)) | |
: ("function" != typeof i.componentDidUpdate || (l === e.memoizedProps && d === e.memoizedState) || (t.flags |= 4), | |
"function" != typeof i.getSnapshotBeforeUpdate || (l === e.memoizedProps && d === e.memoizedState) || (t.flags |= 1024), | |
(r = !1)); | |
} | |
return Pl(e, t, n, r, o, a); | |
} | |
function Pl(e, t, n, r, a, o) { | |
kl(e, t); | |
var i = 0 != (128 & t.flags); | |
if (!r && !i) return a && Ba(t, n, !1), Vl(e, t, o); | |
(r = t.stateNode), (vl.current = t); | |
var l = i && "function" != typeof n.getDerivedStateFromError ? null : r.render(); | |
return (t.flags |= 1), null !== e && i ? ((t.child = Jo(t, e.child, null, o)), (t.child = Jo(t, null, l, o))) : El(e, t, l, o), (t.memoizedState = r.state), a && Ba(t, n, !0), t.child; | |
} | |
function Rl(e) { | |
var t = e.stateNode; | |
t.pendingContext ? Ia(0, t.pendingContext, t.pendingContext !== t.context) : t.context && Ia(0, t.context, !1), ai(e, t.containerInfo); | |
} | |
function Ol(e, t, n, r, a) { | |
return po(), Ao(a), (t.flags |= 256), El(e, t, n, r), t.child; | |
} | |
var Ll, | |
xl, | |
Il, | |
Dl = { dehydrated: null, treeContext: null, retryLane: 0 }; | |
function Ml(e) { | |
return { baseLanes: e, cachePool: null, transitions: null }; | |
} | |
function Bl(e, t, n) { | |
var r, | |
a = t.pendingProps, | |
i = ui.current, | |
l = !1, | |
u = 0 != (128 & t.flags); | |
if (((r = u) || (r = (null === e || null !== e.memoizedState) && 0 != (2 & i)), r ? ((l = !0), (t.flags &= -129)) : (null !== e && null === e.memoizedState) || (i |= 1), ka(ui, 1 & i), null === e)) | |
return ( | |
so(t), | |
null !== (e = t.memoizedState) && null !== (e = e.dehydrated) | |
? (0 == (1 & t.mode) ? (t.lanes = 1) : "$!" === e.data ? (t.lanes = 8) : (t.lanes = 1073741824), null) | |
: ((u = a.children), | |
(e = a.fallback), | |
l | |
? ((a = t.mode), | |
(l = t.child), | |
(u = { mode: "hidden", children: u }), | |
0 == (1 & a) && null !== l ? ((l.childLanes = 0), (l.pendingProps = u)) : (l = Ms(u, a, 0, null)), | |
(e = Ds(e, a, n, null)), | |
(l.return = t), | |
(e.return = t), | |
(l.sibling = e), | |
(t.child = l), | |
(t.child.memoizedState = Ml(n)), | |
(t.memoizedState = Dl), | |
e) | |
: Hl(t, u)) | |
); | |
if (null !== (i = e.memoizedState) && null !== (r = i.dehydrated)) | |
return (function (e, t, n, r, a, i, l) { | |
if (n) | |
return 256 & t.flags | |
? ((t.flags &= -257), Fl(e, t, l, (r = fl(Error(o(422)))))) | |
: null !== t.memoizedState | |
? ((t.child = e.child), (t.flags |= 128), null) | |
: ((i = r.fallback), | |
(a = t.mode), | |
(r = Ms({ mode: "visible", children: r.children }, a, 0, null)), | |
((i = Ds(i, a, l, null)).flags |= 2), | |
(r.return = t), | |
(i.return = t), | |
(r.sibling = i), | |
(t.child = r), | |
0 != (1 & t.mode) && Jo(t, e.child, null, l), | |
(t.child.memoizedState = Ml(l)), | |
(t.memoizedState = Dl), | |
i); | |
if (0 == (1 & t.mode)) return Fl(e, t, l, null); | |
if ("$!" === a.data) { | |
if ((r = a.nextSibling && a.nextSibling.dataset)) var u = r.dgst; | |
return (r = u), Fl(e, t, l, (r = fl((i = Error(o(419))), r, void 0))); | |
} | |
if (((u = 0 != (l & e.childLanes)), bl || u)) { | |
if (null !== (r = Pu)) { | |
switch (l & -l) { | |
case 4: | |
a = 2; | |
break; | |
case 16: | |
a = 8; | |
break; | |
case 64: | |
case 128: | |
case 256: | |
case 512: | |
case 1024: | |
case 2048: | |
case 4096: | |
case 8192: | |
case 16384: | |
case 32768: | |
case 65536: | |
case 131072: | |
case 262144: | |
case 524288: | |
case 1048576: | |
case 2097152: | |
case 4194304: | |
case 8388608: | |
case 16777216: | |
case 33554432: | |
case 67108864: | |
a = 32; | |
break; | |
case 536870912: | |
a = 268435456; | |
break; | |
default: | |
a = 0; | |
} | |
0 !== (a = 0 != (a & (r.suspendedLanes | l)) ? 0 : a) && a !== i.retryLane && ((i.retryLane = a), Ro(e, a), ns(r, e, a, -1)); | |
} | |
return As(), Fl(e, t, l, (r = fl(Error(o(421))))); | |
} | |
return "$?" === a.data | |
? ((t.flags |= 128), (t.child = e.child), (t = Cs.bind(null, e)), (a._reactRetry = t), null) | |
: ((e = i.treeContext), | |
(ro = sa(a.nextSibling)), | |
(no = t), | |
(ao = !0), | |
(oo = null), | |
null !== e && ((Wa[Qa++] = Ya), (Wa[Qa++] = Ja), (Wa[Qa++] = qa), (Ya = e.id), (Ja = e.overflow), (qa = t)), | |
((t = Hl(t, r.children)).flags |= 4096), | |
t); | |
})(e, t, u, a, r, i, n); | |
if (l) { | |
(l = a.fallback), (u = t.mode), (r = (i = e.child).sibling); | |
var s = { mode: "hidden", children: a.children }; | |
return ( | |
0 == (1 & u) && t.child !== i ? (((a = t.child).childLanes = 0), (a.pendingProps = s), (t.deletions = null)) : ((a = xs(i, s)).subtreeFlags = 14680064 & i.subtreeFlags), | |
null !== r ? (l = xs(r, l)) : ((l = Ds(l, u, n, null)).flags |= 2), | |
(l.return = t), | |
(a.return = t), | |
(a.sibling = l), | |
(t.child = a), | |
(a = l), | |
(l = t.child), | |
(u = null === (u = e.child.memoizedState) ? Ml(n) : { baseLanes: u.baseLanes | n, cachePool: null, transitions: u.transitions }), | |
(l.memoizedState = u), | |
(l.childLanes = e.childLanes & ~n), | |
(t.memoizedState = Dl), | |
a | |
); | |
} | |
return ( | |
(e = (l = e.child).sibling), | |
(a = xs(l, { mode: "visible", children: a.children })), | |
0 == (1 & t.mode) && (a.lanes = n), | |
(a.return = t), | |
(a.sibling = null), | |
null !== e && (null === (n = t.deletions) ? ((t.deletions = [e]), (t.flags |= 16)) : n.push(e)), | |
(t.child = a), | |
(t.memoizedState = null), | |
a | |
); | |
} | |
function Hl(e, t) { | |
return ((t = Ms({ mode: "visible", children: t }, e.mode, 0, null)).return = e), (e.child = t); | |
} | |
function Fl(e, t, n, r) { | |
return null !== r && Ao(r), Jo(t, e.child, null, n), ((e = Hl(t, t.pendingProps.children)).flags |= 2), (t.memoizedState = null), e; | |
} | |
function Ul(e, t, n) { | |
e.lanes |= t; | |
var r = e.alternate; | |
null !== r && (r.lanes |= t), To(e.return, t, n); | |
} | |
function zl(e, t, n, r, a) { | |
var o = e.memoizedState; | |
null === o | |
? (e.memoizedState = { isBackwards: t, rendering: null, renderingStartTime: 0, last: r, tail: n, tailMode: a }) | |
: ((o.isBackwards = t), (o.rendering = null), (o.renderingStartTime = 0), (o.last = r), (o.tail = n), (o.tailMode = a)); | |
} | |
function jl(e, t, n) { | |
var r = t.pendingProps, | |
a = r.revealOrder, | |
o = r.tail; | |
if ((El(e, t, r.children, n), 0 != (2 & (r = ui.current)))) (r = (1 & r) | 2), (t.flags |= 128); | |
else { | |
if (null !== e && 0 != (128 & e.flags)) | |
e: for (e = t.child; null !== e; ) { | |
if (13 === e.tag) null !== e.memoizedState && Ul(e, n, t); | |
else if (19 === e.tag) Ul(e, n, t); | |
else if (null !== e.child) { | |
(e.child.return = e), (e = e.child); | |
continue; | |
} | |
if (e === t) break e; | |
for (; null === e.sibling; ) { | |
if (null === e.return || e.return === t) break e; | |
e = e.return; | |
} | |
(e.sibling.return = e.return), (e = e.sibling); | |
} | |
r &= 1; | |
} | |
if ((ka(ui, r), 0 == (1 & t.mode))) t.memoizedState = null; | |
else | |
switch (a) { | |
case "forwards": | |
for (n = t.child, a = null; null !== n; ) null !== (e = n.alternate) && null === si(e) && (a = n), (n = n.sibling); | |
null === (n = a) ? ((a = t.child), (t.child = null)) : ((a = n.sibling), (n.sibling = null)), zl(t, !1, a, n, o); | |
break; | |
case "backwards": | |
for (n = null, a = t.child, t.child = null; null !== a; ) { | |
if (null !== (e = a.alternate) && null === si(e)) { | |
t.child = a; | |
break; | |
} | |
(e = a.sibling), (a.sibling = n), (n = a), (a = e); | |
} | |
zl(t, !0, n, null, o); | |
break; | |
case "together": | |
zl(t, !1, null, null, void 0); | |
break; | |
default: | |
t.memoizedState = null; | |
} | |
return t.child; | |
} | |
function Gl(e, t) { | |
0 == (1 & t.mode) && null !== e && ((e.alternate = null), (t.alternate = null), (t.flags |= 2)); | |
} | |
function Vl(e, t, n) { | |
if ((null !== e && (t.dependencies = e.dependencies), (Mu |= t.lanes), 0 == (n & t.childLanes))) return null; | |
if (null !== e && t.child !== e.child) throw Error(o(153)); | |
if (null !== t.child) { | |
for (n = xs((e = t.child), e.pendingProps), t.child = n, n.return = t; null !== e.sibling; ) (e = e.sibling), ((n = n.sibling = xs(e, e.pendingProps)).return = t); | |
n.sibling = null; | |
} | |
return t.child; | |
} | |
function $l(e, t) { | |
if (!ao) | |
switch (e.tailMode) { | |
case "hidden": | |
t = e.tail; | |
for (var n = null; null !== t; ) null !== t.alternate && (n = t), (t = t.sibling); | |
null === n ? (e.tail = null) : (n.sibling = null); | |
break; | |
case "collapsed": | |
n = e.tail; | |
for (var r = null; null !== n; ) null !== n.alternate && (r = n), (n = n.sibling); | |
null === r ? (t || null === e.tail ? (e.tail = null) : (e.tail.sibling = null)) : (r.sibling = null); | |
} | |
} | |
function Zl(e) { | |
var t = null !== e.alternate && e.alternate.child === e.child, | |
n = 0, | |
r = 0; | |
if (t) for (var a = e.child; null !== a; ) (n |= a.lanes | a.childLanes), (r |= 14680064 & a.subtreeFlags), (r |= 14680064 & a.flags), (a.return = e), (a = a.sibling); | |
else for (a = e.child; null !== a; ) (n |= a.lanes | a.childLanes), (r |= a.subtreeFlags), (r |= a.flags), (a.return = e), (a = a.sibling); | |
return (e.subtreeFlags |= r), (e.childLanes = n), t; | |
} | |
function Wl(e, t, n) { | |
var r = t.pendingProps; | |
switch ((to(t), t.tag)) { | |
case 2: | |
case 16: | |
case 15: | |
case 0: | |
case 11: | |
case 7: | |
case 8: | |
case 12: | |
case 9: | |
case 14: | |
return Zl(t), null; | |
case 1: | |
case 17: | |
return La(t.type) && xa(), Zl(t), null; | |
case 3: | |
return ( | |
(r = t.stateNode), | |
oi(), | |
_a(Pa), | |
_a(Na), | |
fi(), | |
r.pendingContext && ((r.context = r.pendingContext), (r.pendingContext = null)), | |
(null !== e && null !== e.child) || (fo(t) ? (t.flags |= 4) : null === e || (e.memoizedState.isDehydrated && 0 == (256 & t.flags)) || ((t.flags |= 1024), null !== oo && (is(oo), (oo = null)))), | |
Zl(t), | |
null | |
); | |
case 5: | |
li(t); | |
var a = ri(ni.current); | |
if (((n = t.type), null !== e && null != t.stateNode)) xl(e, t, n, r), e.ref !== t.ref && ((t.flags |= 512), (t.flags |= 2097152)); | |
else { | |
if (!r) { | |
if (null === t.stateNode) throw Error(o(166)); | |
return Zl(t), null; | |
} | |
if (((e = ri(ei.current)), fo(t))) { | |
(r = t.stateNode), (n = t.type); | |
var i = t.memoizedProps; | |
switch (((r[da] = t), (r[ha] = i), (e = 0 != (1 & t.mode)), n)) { | |
case "dialog": | |
Fr("cancel", r), Fr("close", r); | |
break; | |
case "iframe": | |
case "object": | |
case "embed": | |
Fr("load", r); | |
break; | |
case "video": | |
case "audio": | |
for (a = 0; a < Dr.length; a++) Fr(Dr[a], r); | |
break; | |
case "source": | |
Fr("error", r); | |
break; | |
case "img": | |
case "image": | |
case "link": | |
Fr("error", r), Fr("load", r); | |
break; | |
case "details": | |
Fr("toggle", r); | |
break; | |
case "input": | |
Y(r, i), Fr("invalid", r); | |
break; | |
case "select": | |
(r._wrapperState = { wasMultiple: !!i.multiple }), Fr("invalid", r); | |
break; | |
case "textarea": | |
ae(r, i), Fr("invalid", r); | |
} | |
for (var u in (ye(n, i), (a = null), i)) | |
if (i.hasOwnProperty(u)) { | |
var s = i[u]; | |
"children" === u | |
? "string" == typeof s | |
? r.textContent !== s && (!0 !== i.suppressHydrationWarning && Kr(r.textContent, s, e), (a = ["children", s])) | |
: "number" == typeof s && r.textContent !== "" + s && (!0 !== i.suppressHydrationWarning && Kr(r.textContent, s, e), (a = ["children", "" + s])) | |
: l.hasOwnProperty(u) && null != s && "onScroll" === u && Fr("scroll", r); | |
} | |
switch (n) { | |
case "input": | |
Z(r), X(r, i, !0); | |
break; | |
case "textarea": | |
Z(r), ie(r); | |
break; | |
case "select": | |
case "option": | |
break; | |
default: | |
"function" == typeof i.onClick && (r.onclick = Xr); | |
} | |
(r = a), (t.updateQueue = r), null !== r && (t.flags |= 4); | |
} else { | |
(u = 9 === a.nodeType ? a : a.ownerDocument), | |
"http://www.w3.org/1999/xhtml" === e && (e = le(n)), | |
"http://www.w3.org/1999/xhtml" === e | |
? "script" === n | |
? (((e = u.createElement("div")).innerHTML = "<script></script>"), (e = e.removeChild(e.firstChild))) | |
: "string" == typeof r.is | |
? (e = u.createElement(n, { is: r.is })) | |
: ((e = u.createElement(n)), "select" === n && ((u = e), r.multiple ? (u.multiple = !0) : r.size && (u.size = r.size))) | |
: (e = u.createElementNS(e, n)), | |
(e[da] = t), | |
(e[ha] = r), | |
Ll(e, t), | |
(t.stateNode = e); | |
e: { | |
switch (((u = ve(n, r)), n)) { | |
case "dialog": | |
Fr("cancel", e), Fr("close", e), (a = r); | |
break; | |
case "iframe": | |
case "object": | |
case "embed": | |
Fr("load", e), (a = r); | |
break; | |
case "video": | |
case "audio": | |
for (a = 0; a < Dr.length; a++) Fr(Dr[a], e); | |
a = r; | |
break; | |
case "source": | |
Fr("error", e), (a = r); | |
break; | |
case "img": | |
case "image": | |
case "link": | |
Fr("error", e), Fr("load", e), (a = r); | |
break; | |
case "details": | |
Fr("toggle", e), (a = r); | |
break; | |
case "input": | |
Y(e, r), (a = q(e, r)), Fr("invalid", e); | |
break; | |
case "option": | |
default: | |
a = r; | |
break; | |
case "select": | |
(e._wrapperState = { wasMultiple: !!r.multiple }), (a = B({}, r, { value: void 0 })), Fr("invalid", e); | |
break; | |
case "textarea": | |
ae(e, r), (a = re(e, r)), Fr("invalid", e); | |
} | |
for (i in (ye(n, a), (s = a))) | |
if (s.hasOwnProperty(i)) { | |
var c = s[i]; | |
"style" === i | |
? me(e, c) | |
: "dangerouslySetInnerHTML" === i | |
? null != (c = c ? c.__html : void 0) && fe(e, c) | |
: "children" === i | |
? "string" == typeof c | |
? ("textarea" !== n || "" !== c) && de(e, c) | |
: "number" == typeof c && de(e, "" + c) | |
: "suppressContentEditableWarning" !== i && | |
"suppressHydrationWarning" !== i && | |
"autoFocus" !== i && | |
(l.hasOwnProperty(i) ? null != c && "onScroll" === i && Fr("scroll", e) : null != c && v(e, i, c, u)); | |
} | |
switch (n) { | |
case "input": | |
Z(e), X(e, r, !1); | |
break; | |
case "textarea": | |
Z(e), ie(e); | |
break; | |
case "option": | |
null != r.value && e.setAttribute("value", "" + V(r.value)); | |
break; | |
case "select": | |
(e.multiple = !!r.multiple), null != (i = r.value) ? ne(e, !!r.multiple, i, !1) : null != r.defaultValue && ne(e, !!r.multiple, r.defaultValue, !0); | |
break; | |
default: | |
"function" == typeof a.onClick && (e.onclick = Xr); | |
} | |
switch (n) { | |
case "button": | |
case "input": | |
case "select": | |
case "textarea": | |
r = !!r.autoFocus; | |
break e; | |
case "img": | |
r = !0; | |
break e; | |
default: | |
r = !1; | |
} | |
} | |
r && (t.flags |= 4); | |
} | |
null !== t.ref && ((t.flags |= 512), (t.flags |= 2097152)); | |
} | |
return Zl(t), null; | |
case 6: | |
if (e && null != t.stateNode) Il(0, t, e.memoizedProps, r); | |
else { | |
if ("string" != typeof r && null === t.stateNode) throw Error(o(166)); | |
if (((n = ri(ni.current)), ri(ei.current), fo(t))) { | |
if (((r = t.stateNode), (n = t.memoizedProps), (r[da] = t), (i = r.nodeValue !== n) && null !== (e = no))) | |
switch (e.tag) { | |
case 3: | |
Kr(r.nodeValue, n, 0 != (1 & e.mode)); | |
break; | |
case 5: | |
!0 !== e.memoizedProps.suppressHydrationWarning && Kr(r.nodeValue, n, 0 != (1 & e.mode)); | |
} | |
i && (t.flags |= 4); | |
} else ((r = (9 === n.nodeType ? n : n.ownerDocument).createTextNode(r))[da] = t), (t.stateNode = r); | |
} | |
return Zl(t), null; | |
case 13: | |
if ((_a(ui), (r = t.memoizedState), null === e || (null !== e.memoizedState && null !== e.memoizedState.dehydrated))) { | |
if (ao && null !== ro && 0 != (1 & t.mode) && 0 == (128 & t.flags)) ho(), po(), (t.flags |= 98560), (i = !1); | |
else if (((i = fo(t)), null !== r && null !== r.dehydrated)) { | |
if (null === e) { | |
if (!i) throw Error(o(318)); | |
if (!(i = null !== (i = t.memoizedState) ? i.dehydrated : null)) throw Error(o(317)); | |
i[da] = t; | |
} else po(), 0 == (128 & t.flags) && (t.memoizedState = null), (t.flags |= 4); | |
Zl(t), (i = !1); | |
} else null !== oo && (is(oo), (oo = null)), (i = !0); | |
if (!i) return 65536 & t.flags ? t : null; | |
} | |
return 0 != (128 & t.flags) | |
? ((t.lanes = n), t) | |
: ((r = null !== r) !== (null !== e && null !== e.memoizedState) && r && ((t.child.flags |= 8192), 0 != (1 & t.mode) && (null === e || 0 != (1 & ui.current) ? 0 === Iu && (Iu = 3) : As())), | |
null !== t.updateQueue && (t.flags |= 4), | |
Zl(t), | |
null); | |
case 4: | |
return oi(), null === e && jr(t.stateNode.containerInfo), Zl(t), null; | |
case 10: | |
return So(t.type._context), Zl(t), null; | |
case 19: | |
if ((_a(ui), null === (i = t.memoizedState))) return Zl(t), null; | |
if (((r = 0 != (128 & t.flags)), null === (u = i.rendering))) | |
if (r) $l(i, !1); | |
else { | |
if (0 !== Iu || (null !== e && 0 != (128 & e.flags))) | |
for (e = t.child; null !== e; ) { | |
if (null !== (u = si(e))) { | |
for (t.flags |= 128, $l(i, !1), null !== (r = u.updateQueue) && ((t.updateQueue = r), (t.flags |= 4)), t.subtreeFlags = 0, r = n, n = t.child; null !== n; ) | |
(e = r), | |
((i = n).flags &= 14680066), | |
null === (u = i.alternate) | |
? ((i.childLanes = 0), | |
(i.lanes = e), | |
(i.child = null), | |
(i.subtreeFlags = 0), | |
(i.memoizedProps = null), | |
(i.memoizedState = null), | |
(i.updateQueue = null), | |
(i.dependencies = null), | |
(i.stateNode = null)) | |
: ((i.childLanes = u.childLanes), | |
(i.lanes = u.lanes), | |
(i.child = u.child), | |
(i.subtreeFlags = 0), | |
(i.deletions = null), | |
(i.memoizedProps = u.memoizedProps), | |
(i.memoizedState = u.memoizedState), | |
(i.updateQueue = u.updateQueue), | |
(i.type = u.type), | |
(e = u.dependencies), | |
(i.dependencies = null === e ? null : { lanes: e.lanes, firstContext: e.firstContext })), | |
(n = n.sibling); | |
return ka(ui, (1 & ui.current) | 2), t.child; | |
} | |
e = e.sibling; | |
} | |
null !== i.tail && Je() > ju && ((t.flags |= 128), (r = !0), $l(i, !1), (t.lanes = 4194304)); | |
} | |
else { | |
if (!r) | |
if (null !== (e = si(u))) { | |
if (((t.flags |= 128), (r = !0), null !== (n = e.updateQueue) && ((t.updateQueue = n), (t.flags |= 4)), $l(i, !0), null === i.tail && "hidden" === i.tailMode && !u.alternate && !ao)) return Zl(t), null; | |
} else 2 * Je() - i.renderingStartTime > ju && 1073741824 !== n && ((t.flags |= 128), (r = !0), $l(i, !1), (t.lanes = 4194304)); | |
i.isBackwards ? ((u.sibling = t.child), (t.child = u)) : (null !== (n = i.last) ? (n.sibling = u) : (t.child = u), (i.last = u)); | |
} | |
return null !== i.tail ? ((t = i.tail), (i.rendering = t), (i.tail = t.sibling), (i.renderingStartTime = Je()), (t.sibling = null), (n = ui.current), ka(ui, r ? (1 & n) | 2 : 1 & n), t) : (Zl(t), null); | |
case 22: | |
case 23: | |
return ( | |
fs(), | |
(r = null !== t.memoizedState), | |
null !== e && (null !== e.memoizedState) !== r && (t.flags |= 8192), | |
r && 0 != (1 & t.mode) ? 0 != (1073741824 & Lu) && (Zl(t), 6 & t.subtreeFlags && (t.flags |= 8192)) : Zl(t), | |
null | |
); | |
case 24: | |
case 25: | |
return null; | |
} | |
throw Error(o(156, t.tag)); | |
} | |
function Ql(e, t) { | |
switch ((to(t), t.tag)) { | |
case 1: | |
return La(t.type) && xa(), 65536 & (e = t.flags) ? ((t.flags = (-65537 & e) | 128), t) : null; | |
case 3: | |
return oi(), _a(Pa), _a(Na), fi(), 0 != (65536 & (e = t.flags)) && 0 == (128 & e) ? ((t.flags = (-65537 & e) | 128), t) : null; | |
case 5: | |
return li(t), null; | |
case 13: | |
if ((_a(ui), null !== (e = t.memoizedState) && null !== e.dehydrated)) { | |
if (null === t.alternate) throw Error(o(340)); | |
po(); | |
} | |
return 65536 & (e = t.flags) ? ((t.flags = (-65537 & e) | 128), t) : null; | |
case 19: | |
return _a(ui), null; | |
case 4: | |
return oi(), null; | |
case 10: | |
return So(t.type._context), null; | |
case 22: | |
case 23: | |
return fs(), null; | |
default: | |
return null; | |
} | |
} | |
(Ll = function (e, t) { | |
for (var n = t.child; null !== n; ) { | |
if (5 === n.tag || 6 === n.tag) e.appendChild(n.stateNode); | |
else if (4 !== n.tag && null !== n.child) { | |
(n.child.return = n), (n = n.child); | |
continue; | |
} | |
if (n === t) break; | |
for (; null === n.sibling; ) { | |
if (null === n.return || n.return === t) return; | |
n = n.return; | |
} | |
(n.sibling.return = n.return), (n = n.sibling); | |
} | |
}), | |
(xl = function (e, t, n, r) { | |
var a = e.memoizedProps; | |
if (a !== r) { | |
(e = t.stateNode), ri(ei.current); | |
var o, | |
i = null; | |
switch (n) { | |
case "input": | |
(a = q(e, a)), (r = q(e, r)), (i = []); | |
break; | |
case "select": | |
(a = B({}, a, { value: void 0 })), (r = B({}, r, { value: void 0 })), (i = []); | |
break; | |
case "textarea": | |
(a = re(e, a)), (r = re(e, r)), (i = []); | |
break; | |
default: | |
"function" != typeof a.onClick && "function" == typeof r.onClick && (e.onclick = Xr); | |
} | |
for (c in (ye(n, r), (n = null), a)) | |
if (!r.hasOwnProperty(c) && a.hasOwnProperty(c) && null != a[c]) | |
if ("style" === c) { | |
var u = a[c]; | |
for (o in u) u.hasOwnProperty(o) && (n || (n = {}), (n[o] = "")); | |
} else | |
"dangerouslySetInnerHTML" !== c && | |
"children" !== c && | |
"suppressContentEditableWarning" !== c && | |
"suppressHydrationWarning" !== c && | |
"autoFocus" !== c && | |
(l.hasOwnProperty(c) ? i || (i = []) : (i = i || []).push(c, null)); | |
for (c in r) { | |
var s = r[c]; | |
if (((u = null != a ? a[c] : void 0), r.hasOwnProperty(c) && s !== u && (null != s || null != u))) | |
if ("style" === c) | |
if (u) { | |
for (o in u) !u.hasOwnProperty(o) || (s && s.hasOwnProperty(o)) || (n || (n = {}), (n[o] = "")); | |
for (o in s) s.hasOwnProperty(o) && u[o] !== s[o] && (n || (n = {}), (n[o] = s[o])); | |
} else n || (i || (i = []), i.push(c, n)), (n = s); | |
else | |
"dangerouslySetInnerHTML" === c | |
? ((s = s ? s.__html : void 0), (u = u ? u.__html : void 0), null != s && u !== s && (i = i || []).push(c, s)) | |
: "children" === c | |
? ("string" != typeof s && "number" != typeof s) || (i = i || []).push(c, "" + s) | |
: "suppressContentEditableWarning" !== c && | |
"suppressHydrationWarning" !== c && | |
(l.hasOwnProperty(c) ? (null != s && "onScroll" === c && Fr("scroll", e), i || u === s || (i = [])) : (i = i || []).push(c, s)); | |
} | |
n && (i = i || []).push("style", n); | |
var c = i; | |
(t.updateQueue = c) && (t.flags |= 4); | |
} | |
}), | |
(Il = function (e, t, n, r) { | |
n !== r && (t.flags |= 4); | |
}); | |
var ql = !1, | |
Yl = !1, | |
Jl = "function" == typeof WeakSet ? WeakSet : Set, | |
Kl = null; | |
function Xl(e, t) { | |
var n = e.ref; | |
if (null !== n) | |
if ("function" == typeof n) | |
try { | |
n(null); | |
} catch (n) { | |
Ts(e, t, n); | |
} | |
else n.current = null; | |
} | |
function eu(e, t, n) { | |
try { | |
n(); | |
} catch (n) { | |
Ts(e, t, n); | |
} | |
} | |
var tu = !1; | |
function nu(e, t, n) { | |
var r = t.updateQueue; | |
if (null !== (r = null !== r ? r.lastEffect : null)) { | |
var a = (r = r.next); | |
do { | |
if ((a.tag & e) === e) { | |
var o = a.destroy; | |
(a.destroy = void 0), void 0 !== o && eu(t, n, o); | |
} | |
a = a.next; | |
} while (a !== r); | |
} | |
} | |
function ru(e, t) { | |
if (null !== (t = null !== (t = t.updateQueue) ? t.lastEffect : null)) { | |
var n = (t = t.next); | |
do { | |
if ((n.tag & e) === e) { | |
var r = n.create; | |
n.destroy = r(); | |
} | |
n = n.next; | |
} while (n !== t); | |
} | |
} | |
function au(e) { | |
var t = e.ref; | |
if (null !== t) { | |
var n = e.stateNode; | |
e.tag, (e = n), "function" == typeof t ? t(e) : (t.current = e); | |
} | |
} | |
function ou(e) { | |
var t = e.alternate; | |
null !== t && ((e.alternate = null), ou(t)), | |
(e.child = null), | |
(e.deletions = null), | |
(e.sibling = null), | |
5 === e.tag && null !== (t = e.stateNode) && (delete t[da], delete t[ha], delete t[Aa], delete t[ma], delete t[ga]), | |
(e.stateNode = null), | |
(e.return = null), | |
(e.dependencies = null), | |
(e.memoizedProps = null), | |
(e.memoizedState = null), | |
(e.pendingProps = null), | |
(e.stateNode = null), | |
(e.updateQueue = null); | |
} | |
function iu(e) { | |
return 5 === e.tag || 3 === e.tag || 4 === e.tag; | |
} | |
function lu(e) { | |
e: for (;;) { | |
for (; null === e.sibling; ) { | |
if (null === e.return || iu(e.return)) return null; | |
e = e.return; | |
} | |
for (e.sibling.return = e.return, e = e.sibling; 5 !== e.tag && 6 !== e.tag && 18 !== e.tag; ) { | |
if (2 & e.flags) continue e; | |
if (null === e.child || 4 === e.tag) continue e; | |
(e.child.return = e), (e = e.child); | |
} | |
if (!(2 & e.flags)) return e.stateNode; | |
} | |
} | |
function uu(e, t, n) { | |
var r = e.tag; | |
if (5 === r || 6 === r) | |
(e = e.stateNode), | |
t | |
? 8 === n.nodeType | |
? n.parentNode.insertBefore(e, t) | |
: n.insertBefore(e, t) | |
: (8 === n.nodeType ? (t = n.parentNode).insertBefore(e, n) : (t = n).appendChild(e), null != (n = n._reactRootContainer) || null !== t.onclick || (t.onclick = Xr)); | |
else if (4 !== r && null !== (e = e.child)) for (uu(e, t, n), e = e.sibling; null !== e; ) uu(e, t, n), (e = e.sibling); | |
} | |
function su(e, t, n) { | |
var r = e.tag; | |
if (5 === r || 6 === r) (e = e.stateNode), t ? n.insertBefore(e, t) : n.appendChild(e); | |
else if (4 !== r && null !== (e = e.child)) for (su(e, t, n), e = e.sibling; null !== e; ) su(e, t, n), (e = e.sibling); | |
} | |
var cu = null, | |
fu = !1; | |
function du(e, t, n) { | |
for (n = n.child; null !== n; ) hu(e, t, n), (n = n.sibling); | |
} | |
function hu(e, t, n) { | |
if (ot && "function" == typeof ot.onCommitFiberUnmount) | |
try { | |
ot.onCommitFiberUnmount(at, n); | |
} catch (e) {} | |
switch (n.tag) { | |
case 5: | |
Yl || Xl(n, t); | |
case 6: | |
var r = cu, | |
a = fu; | |
(cu = null), du(e, t, n), (fu = a), null !== (cu = r) && (fu ? ((e = cu), (n = n.stateNode), 8 === e.nodeType ? e.parentNode.removeChild(n) : e.removeChild(n)) : cu.removeChild(n.stateNode)); | |
break; | |
case 18: | |
null !== cu && (fu ? ((e = cu), (n = n.stateNode), 8 === e.nodeType ? ua(e.parentNode, n) : 1 === e.nodeType && ua(e, n), jt(e)) : ua(cu, n.stateNode)); | |
break; | |
case 4: | |
(r = cu), (a = fu), (cu = n.stateNode.containerInfo), (fu = !0), du(e, t, n), (cu = r), (fu = a); | |
break; | |
case 0: | |
case 11: | |
case 14: | |
case 15: | |
if (!Yl && null !== (r = n.updateQueue) && null !== (r = r.lastEffect)) { | |
a = r = r.next; | |
do { | |
var o = a, | |
i = o.destroy; | |
(o = o.tag), void 0 !== i && (0 != (2 & o) || 0 != (4 & o)) && eu(n, t, i), (a = a.next); | |
} while (a !== r); | |
} | |
du(e, t, n); | |
break; | |
case 1: | |
if (!Yl && (Xl(n, t), "function" == typeof (r = n.stateNode).componentWillUnmount)) | |
try { | |
(r.props = n.memoizedProps), (r.state = n.memoizedState), r.componentWillUnmount(); | |
} catch (e) { | |
Ts(n, t, e); | |
} | |
du(e, t, n); | |
break; | |
case 21: | |
du(e, t, n); | |
break; | |
case 22: | |
1 & n.mode ? ((Yl = (r = Yl) || null !== n.memoizedState), du(e, t, n), (Yl = r)) : du(e, t, n); | |
break; | |
default: | |
du(e, t, n); | |
} | |
} | |
function pu(e) { | |
var t = e.updateQueue; | |
if (null !== t) { | |
e.updateQueue = null; | |
var n = e.stateNode; | |
null === n && (n = e.stateNode = new Jl()), | |
t.forEach(function (t) { | |
var r = Ns.bind(null, e, t); | |
n.has(t) || (n.add(t), t.then(r, r)); | |
}); | |
} | |
} | |
function Au(e, t) { | |
var n = t.deletions; | |
if (null !== n) | |
for (var r = 0; r < n.length; r++) { | |
var a = n[r]; | |
try { | |
var i = e, | |
l = t, | |
u = l; | |
e: for (; null !== u; ) { | |
switch (u.tag) { | |
case 5: | |
(cu = u.stateNode), (fu = !1); | |
break e; | |
case 3: | |
case 4: | |
(cu = u.stateNode.containerInfo), (fu = !0); | |
break e; | |
} | |
u = u.return; | |
} | |
if (null === cu) throw Error(o(160)); | |
hu(i, l, a), (cu = null), (fu = !1); | |
var s = a.alternate; | |
null !== s && (s.return = null), (a.return = null); | |
} catch (e) { | |
Ts(a, t, e); | |
} | |
} | |
if (12854 & t.subtreeFlags) for (t = t.child; null !== t; ) mu(t, e), (t = t.sibling); | |
} | |
function mu(e, t) { | |
var n = e.alternate, | |
r = e.flags; | |
switch (e.tag) { | |
case 0: | |
case 11: | |
case 14: | |
case 15: | |
if ((Au(t, e), gu(e), 4 & r)) { | |
try { | |
nu(3, e, e.return), ru(3, e); | |
} catch (t) { | |
Ts(e, e.return, t); | |
} | |
try { | |
nu(5, e, e.return); | |
} catch (t) { | |
Ts(e, e.return, t); | |
} | |
} | |
break; | |
case 1: | |
Au(t, e), gu(e), 512 & r && null !== n && Xl(n, n.return); | |
break; | |
case 5: | |
if ((Au(t, e), gu(e), 512 & r && null !== n && Xl(n, n.return), 32 & e.flags)) { | |
var a = e.stateNode; | |
try { | |
de(a, ""); | |
} catch (t) { | |
Ts(e, e.return, t); | |
} | |
} | |
if (4 & r && null != (a = e.stateNode)) { | |
var i = e.memoizedProps, | |
l = null !== n ? n.memoizedProps : i, | |
u = e.type, | |
s = e.updateQueue; | |
if (((e.updateQueue = null), null !== s)) | |
try { | |
"input" === u && "radio" === i.type && null != i.name && J(a, i), ve(u, l); | |
var c = ve(u, i); | |
for (l = 0; l < s.length; l += 2) { | |
var f = s[l], | |
d = s[l + 1]; | |
"style" === f ? me(a, d) : "dangerouslySetInnerHTML" === f ? fe(a, d) : "children" === f ? de(a, d) : v(a, f, d, c); | |
} | |
switch (u) { | |
case "input": | |
K(a, i); | |
break; | |
case "textarea": | |
oe(a, i); | |
break; | |
case "select": | |
var h = a._wrapperState.wasMultiple; | |
a._wrapperState.wasMultiple = !!i.multiple; | |
var p = i.value; | |
null != p ? ne(a, !!i.multiple, p, !1) : h !== !!i.multiple && (null != i.defaultValue ? ne(a, !!i.multiple, i.defaultValue, !0) : ne(a, !!i.multiple, i.multiple ? [] : "", !1)); | |
} | |
a[ha] = i; | |
} catch (t) { | |
Ts(e, e.return, t); | |
} | |
} | |
break; | |
case 6: | |
if ((Au(t, e), gu(e), 4 & r)) { | |
if (null === e.stateNode) throw Error(o(162)); | |
(a = e.stateNode), (i = e.memoizedProps); | |
try { | |
a.nodeValue = i; | |
} catch (t) { | |
Ts(e, e.return, t); | |
} | |
} | |
break; | |
case 3: | |
if ((Au(t, e), gu(e), 4 & r && null !== n && n.memoizedState.isDehydrated)) | |
try { | |
jt(t.containerInfo); | |
} catch (t) { | |
Ts(e, e.return, t); | |
} | |
break; | |
case 4: | |
default: | |
Au(t, e), gu(e); | |
break; | |
case 13: | |
Au(t, e), gu(e), 8192 & (a = e.child).flags && ((i = null !== a.memoizedState), (a.stateNode.isHidden = i), !i || (null !== a.alternate && null !== a.alternate.memoizedState) || (zu = Je())), 4 & r && pu(e); | |
break; | |
case 22: | |
if (((f = null !== n && null !== n.memoizedState), 1 & e.mode ? ((Yl = (c = Yl) || f), Au(t, e), (Yl = c)) : Au(t, e), gu(e), 8192 & r)) { | |
if (((c = null !== e.memoizedState), (e.stateNode.isHidden = c) && !f && 0 != (1 & e.mode))) | |
for (Kl = e, f = e.child; null !== f; ) { | |
for (d = Kl = f; null !== Kl; ) { | |
switch (((p = (h = Kl).child), h.tag)) { | |
case 0: | |
case 11: | |
case 14: | |
case 15: | |
nu(4, h, h.return); | |
break; | |
case 1: | |
Xl(h, h.return); | |
var A = h.stateNode; | |
if ("function" == typeof A.componentWillUnmount) { | |
(r = h), (n = h.return); | |
try { | |
(t = r), (A.props = t.memoizedProps), (A.state = t.memoizedState), A.componentWillUnmount(); | |
} catch (e) { | |
Ts(r, n, e); | |
} | |
} | |
break; | |
case 5: | |
Xl(h, h.return); | |
break; | |
case 22: | |
if (null !== h.memoizedState) { | |
Eu(d); | |
continue; | |
} | |
} | |
null !== p ? ((p.return = h), (Kl = p)) : Eu(d); | |
} | |
f = f.sibling; | |
} | |
e: for (f = null, d = e; ; ) { | |
if (5 === d.tag) { | |
if (null === f) { | |
f = d; | |
try { | |
(a = d.stateNode), | |
c | |
? "function" == typeof (i = a.style).setProperty | |
? i.setProperty("display", "none", "important") | |
: (i.display = "none") | |
: ((u = d.stateNode), (l = null != (s = d.memoizedProps.style) && s.hasOwnProperty("display") ? s.display : null), (u.style.display = Ae("display", l))); | |
} catch (t) { | |
Ts(e, e.return, t); | |
} | |
} | |
} else if (6 === d.tag) { | |
if (null === f) | |
try { | |
d.stateNode.nodeValue = c ? "" : d.memoizedProps; | |
} catch (t) { | |
Ts(e, e.return, t); | |
} | |
} else if (((22 !== d.tag && 23 !== d.tag) || null === d.memoizedState || d === e) && null !== d.child) { | |
(d.child.return = d), (d = d.child); | |
continue; | |
} | |
if (d === e) break e; | |
for (; null === d.sibling; ) { | |
if (null === d.return || d.return === e) break e; | |
f === d && (f = null), (d = d.return); | |
} | |
f === d && (f = null), (d.sibling.return = d.return), (d = d.sibling); | |
} | |
} | |
break; | |
case 19: | |
Au(t, e), gu(e), 4 & r && pu(e); | |
case 21: | |
} | |
} | |
function gu(e) { | |
var t = e.flags; | |
if (2 & t) { | |
try { | |
e: { | |
for (var n = e.return; null !== n; ) { | |
if (iu(n)) { | |
var r = n; | |
break e; | |
} | |
n = n.return; | |
} | |
throw Error(o(160)); | |
} | |
switch (r.tag) { | |
case 5: | |
var a = r.stateNode; | |
32 & r.flags && (de(a, ""), (r.flags &= -33)), su(e, lu(e), a); | |
break; | |
case 3: | |
case 4: | |
var i = r.stateNode.containerInfo; | |
uu(e, lu(e), i); | |
break; | |
default: | |
throw Error(o(161)); | |
} | |
} catch (t) { | |
Ts(e, e.return, t); | |
} | |
e.flags &= -3; | |
} | |
4096 & t && (e.flags &= -4097); | |
} | |
function yu(e, t, n) { | |
(Kl = e), vu(e, t, n); | |
} | |
function vu(e, t, n) { | |
for (var r = 0 != (1 & e.mode); null !== Kl; ) { | |
var a = Kl, | |
o = a.child; | |
if (22 === a.tag && r) { | |
var i = null !== a.memoizedState || ql; | |
if (!i) { | |
var l = a.alternate, | |
u = (null !== l && null !== l.memoizedState) || Yl; | |
l = ql; | |
var s = Yl; | |
if (((ql = i), (Yl = u) && !s)) for (Kl = a; null !== Kl; ) (u = (i = Kl).child), 22 === i.tag && null !== i.memoizedState ? wu(a) : null !== u ? ((u.return = i), (Kl = u)) : wu(a); | |
for (; null !== o; ) (Kl = o), vu(o, t, n), (o = o.sibling); | |
(Kl = a), (ql = l), (Yl = s); | |
} | |
bu(e); | |
} else 0 != (8772 & a.subtreeFlags) && null !== o ? ((o.return = a), (Kl = o)) : bu(e); | |
} | |
} | |
function bu(e) { | |
for (; null !== Kl; ) { | |
var t = Kl; | |
if (0 != (8772 & t.flags)) { | |
var n = t.alternate; | |
try { | |
if (0 != (8772 & t.flags)) | |
switch (t.tag) { | |
case 0: | |
case 11: | |
case 15: | |
Yl || ru(5, t); | |
break; | |
case 1: | |
var r = t.stateNode; | |
if (4 & t.flags && !Yl) | |
if (null === n) r.componentDidMount(); | |
else { | |
var a = t.elementType === t.type ? n.memoizedProps : go(t.type, n.memoizedProps); | |
r.componentDidUpdate(a, n.memoizedState, r.__reactInternalSnapshotBeforeUpdate); | |
} | |
var i = t.updateQueue; | |
null !== i && Fo(t, i, r); | |
break; | |
case 3: | |
var l = t.updateQueue; | |
if (null !== l) { | |
if (((n = null), null !== t.child)) | |
switch (t.child.tag) { | |
case 5: | |
case 1: | |
n = t.child.stateNode; | |
} | |
Fo(t, l, n); | |
} | |
break; | |
case 5: | |
var u = t.stateNode; | |
if (null === n && 4 & t.flags) { | |
n = u; | |
var s = t.memoizedProps; | |
switch (t.type) { | |
case "button": | |
case "input": | |
case "select": | |
case "textarea": | |
s.autoFocus && n.focus(); | |
break; | |
case "img": | |
s.src && (n.src = s.src); | |
} | |
} | |
break; | |
case 6: | |
case 4: | |
case 12: | |
case 19: | |
case 17: | |
case 21: | |
case 22: | |
case 23: | |
case 25: | |
break; | |
case 13: | |
if (null === t.memoizedState) { | |
var c = t.alternate; | |
if (null !== c) { | |
var f = c.memoizedState; | |
if (null !== f) { | |
var d = f.dehydrated; | |
null !== d && jt(d); | |
} | |
} | |
} | |
break; | |
default: | |
throw Error(o(163)); | |
} | |
Yl || (512 & t.flags && au(t)); | |
} catch (e) { | |
Ts(t, t.return, e); | |
} | |
} | |
if (t === e) { | |
Kl = null; | |
break; | |
} | |
if (null !== (n = t.sibling)) { | |
(n.return = t.return), (Kl = n); | |
break; | |
} | |
Kl = t.return; | |
} | |
} | |
function Eu(e) { | |
for (; null !== Kl; ) { | |
var t = Kl; | |
if (t === e) { | |
Kl = null; | |
break; | |
} | |
var n = t.sibling; | |
if (null !== n) { | |
(n.return = t.return), (Kl = n); | |
break; | |
} | |
Kl = t.return; | |
} | |
} | |
function wu(e) { | |
for (; null !== Kl; ) { | |
var t = Kl; | |
try { | |
switch (t.tag) { | |
case 0: | |
case 11: | |
case 15: | |
var n = t.return; | |
try { | |
ru(4, t); | |
} catch (e) { | |
Ts(t, n, e); | |
} | |
break; | |
case 1: | |
var r = t.stateNode; | |
if ("function" == typeof r.componentDidMount) { | |
var a = t.return; | |
try { | |
r.componentDidMount(); | |
} catch (e) { | |
Ts(t, a, e); | |
} | |
} | |
var o = t.return; | |
try { | |
au(t); | |
} catch (e) { | |
Ts(t, o, e); | |
} | |
break; | |
case 5: | |
var i = t.return; | |
try { | |
au(t); | |
} catch (e) { | |
Ts(t, i, e); | |
} | |
} | |
} catch (e) { | |
Ts(t, t.return, e); | |
} | |
if (t === e) { | |
Kl = null; | |
break; | |
} | |
var l = t.sibling; | |
if (null !== l) { | |
(l.return = t.return), (Kl = l); | |
break; | |
} | |
Kl = t.return; | |
} | |
} | |
var Su, | |
Tu = Math.ceil, | |
_u = b.ReactCurrentDispatcher, | |
ku = b.ReactCurrentOwner, | |
Cu = b.ReactCurrentBatchConfig, | |
Nu = 0, | |
Pu = null, | |
Ru = null, | |
Ou = 0, | |
Lu = 0, | |
xu = Ta(0), | |
Iu = 0, | |
Du = null, | |
Mu = 0, | |
Bu = 0, | |
Hu = 0, | |
Fu = null, | |
Uu = null, | |
zu = 0, | |
ju = 1 / 0, | |
Gu = null, | |
Vu = !1, | |
$u = null, | |
Zu = null, | |
Wu = !1, | |
Qu = null, | |
qu = 0, | |
Yu = 0, | |
Ju = null, | |
Ku = -1, | |
Xu = 0; | |
function es() { | |
return 0 != (6 & Nu) ? Je() : -1 !== Ku ? Ku : (Ku = Je()); | |
} | |
function ts(e) { | |
return 0 == (1 & e.mode) ? 1 : 0 != (2 & Nu) && 0 !== Ou ? Ou & -Ou : null !== mo.transition ? (0 === Xu && (Xu = At()), Xu) : 0 !== (e = vt) ? e : (e = void 0 === (e = window.event) ? 16 : Yt(e.type)); | |
} | |
function ns(e, t, n, r) { | |
if (50 < Yu) throw ((Yu = 0), (Ju = null), Error(o(185))); | |
gt(e, n, r), (0 != (2 & Nu) && e === Pu) || (e === Pu && (0 == (2 & Nu) && (Bu |= n), 4 === Iu && ls(e, Ou)), rs(e, r), 1 === n && 0 === Nu && 0 == (1 & t.mode) && ((ju = Je() + 500), Fa && ja())); | |
} | |
function rs(e, t) { | |
var n = e.callbackNode; | |
!(function (e, t) { | |
for (var n = e.suspendedLanes, r = e.pingedLanes, a = e.expirationTimes, o = e.pendingLanes; 0 < o; ) { | |
var i = 31 - it(o), | |
l = 1 << i, | |
u = a[i]; | |
-1 === u ? (0 != (l & n) && 0 == (l & r)) || (a[i] = ht(l, t)) : u <= t && (e.expiredLanes |= l), (o &= ~l); | |
} | |
})(e, t); | |
var r = dt(e, e === Pu ? Ou : 0); | |
if (0 === r) null !== n && Qe(n), (e.callbackNode = null), (e.callbackPriority = 0); | |
else if (((t = r & -r), e.callbackPriority !== t)) { | |
if ((null != n && Qe(n), 1 === t)) | |
0 === e.tag | |
? (function (e) { | |
(Fa = !0), za(e); | |
})(us.bind(null, e)) | |
: za(us.bind(null, e)), | |
ia(function () { | |
0 == (6 & Nu) && ja(); | |
}), | |
(n = null); | |
else { | |
switch (bt(r)) { | |
case 1: | |
n = Xe; | |
break; | |
case 4: | |
n = et; | |
break; | |
case 16: | |
default: | |
n = tt; | |
break; | |
case 536870912: | |
n = rt; | |
} | |
n = Ps(n, as.bind(null, e)); | |
} | |
(e.callbackPriority = t), (e.callbackNode = n); | |
} | |
} | |
function as(e, t) { | |
if (((Ku = -1), (Xu = 0), 0 != (6 & Nu))) throw Error(o(327)); | |
var n = e.callbackNode; | |
if (ws() && e.callbackNode !== n) return null; | |
var r = dt(e, e === Pu ? Ou : 0); | |
if (0 === r) return null; | |
if (0 != (30 & r) || 0 != (r & e.expiredLanes) || t) t = ms(e, r); | |
else { | |
t = r; | |
var a = Nu; | |
Nu |= 2; | |
var i = ps(); | |
for ((Pu === e && Ou === t) || ((Gu = null), (ju = Je() + 500), ds(e, t)); ; ) | |
try { | |
ys(); | |
break; | |
} catch (t) { | |
hs(e, t); | |
} | |
wo(), (_u.current = i), (Nu = a), null !== Ru ? (t = 0) : ((Pu = null), (Ou = 0), (t = Iu)); | |
} | |
if (0 !== t) { | |
if ((2 === t && 0 !== (a = pt(e)) && ((r = a), (t = os(e, a))), 1 === t)) throw ((n = Du), ds(e, 0), ls(e, r), rs(e, Je()), n); | |
if (6 === t) ls(e, r); | |
else { | |
if ( | |
((a = e.current.alternate), | |
0 == (30 & r) && | |
!(function (e) { | |
for (var t = e; ; ) { | |
if (16384 & t.flags) { | |
var n = t.updateQueue; | |
if (null !== n && null !== (n = n.stores)) | |
for (var r = 0; r < n.length; r++) { | |
var a = n[r], | |
o = a.getSnapshot; | |
a = a.value; | |
try { | |
if (!lr(o(), a)) return !1; | |
} catch (e) { | |
return !1; | |
} | |
} | |
} | |
if (((n = t.child), 16384 & t.subtreeFlags && null !== n)) (n.return = t), (t = n); | |
else { | |
if (t === e) break; | |
for (; null === t.sibling; ) { | |
if (null === t.return || t.return === e) return !0; | |
t = t.return; | |
} | |
(t.sibling.return = t.return), (t = t.sibling); | |
} | |
} | |
return !0; | |
})(a) && | |
(2 === (t = ms(e, r)) && 0 !== (i = pt(e)) && ((r = i), (t = os(e, i))), 1 === t)) | |
) | |
throw ((n = Du), ds(e, 0), ls(e, r), rs(e, Je()), n); | |
switch (((e.finishedWork = a), (e.finishedLanes = r), t)) { | |
case 0: | |
case 1: | |
throw Error(o(345)); | |
case 2: | |
case 5: | |
Es(e, Uu, Gu); | |
break; | |
case 3: | |
if ((ls(e, r), (130023424 & r) === r && 10 < (t = zu + 500 - Je()))) { | |
if (0 !== dt(e, 0)) break; | |
if (((a = e.suspendedLanes) & r) !== r) { | |
es(), (e.pingedLanes |= e.suspendedLanes & a); | |
break; | |
} | |
e.timeoutHandle = ra(Es.bind(null, e, Uu, Gu), t); | |
break; | |
} | |
Es(e, Uu, Gu); | |
break; | |
case 4: | |
if ((ls(e, r), (4194240 & r) === r)) break; | |
for (t = e.eventTimes, a = -1; 0 < r; ) { | |
var l = 31 - it(r); | |
(i = 1 << l), (l = t[l]) > a && (a = l), (r &= ~i); | |
} | |
if (((r = a), 10 < (r = (120 > (r = Je() - r) ? 120 : 480 > r ? 480 : 1080 > r ? 1080 : 1920 > r ? 1920 : 3e3 > r ? 3e3 : 4320 > r ? 4320 : 1960 * Tu(r / 1960)) - r))) { | |
e.timeoutHandle = ra(Es.bind(null, e, Uu, Gu), r); | |
break; | |
} | |
Es(e, Uu, Gu); | |
break; | |
default: | |
throw Error(o(329)); | |
} | |
} | |
} | |
return rs(e, Je()), e.callbackNode === n ? as.bind(null, e) : null; | |
} | |
function os(e, t) { | |
var n = Fu; | |
return e.current.memoizedState.isDehydrated && (ds(e, t).flags |= 256), 2 !== (e = ms(e, t)) && ((t = Uu), (Uu = n), null !== t && is(t)), e; | |
} | |
function is(e) { | |
null === Uu ? (Uu = e) : Uu.push.apply(Uu, e); | |
} | |
function ls(e, t) { | |
for (t &= ~Hu, t &= ~Bu, e.suspendedLanes |= t, e.pingedLanes &= ~t, e = e.expirationTimes; 0 < t; ) { | |
var n = 31 - it(t), | |
r = 1 << n; | |
(e[n] = -1), (t &= ~r); | |
} | |
} | |
function us(e) { | |
if (0 != (6 & Nu)) throw Error(o(327)); | |
ws(); | |
var t = dt(e, 0); | |
if (0 == (1 & t)) return rs(e, Je()), null; | |
var n = ms(e, t); | |
if (0 !== e.tag && 2 === n) { | |
var r = pt(e); | |
0 !== r && ((t = r), (n = os(e, r))); | |
} | |
if (1 === n) throw ((n = Du), ds(e, 0), ls(e, t), rs(e, Je()), n); | |
if (6 === n) throw Error(o(345)); | |
return (e.finishedWork = e.current.alternate), (e.finishedLanes = t), Es(e, Uu, Gu), rs(e, Je()), null; | |
} | |
function ss(e, t) { | |
var n = Nu; | |
Nu |= 1; | |
try { | |
return e(t); | |
} finally { | |
0 === (Nu = n) && ((ju = Je() + 500), Fa && ja()); | |
} | |
} | |
function cs(e) { | |
null !== Qu && 0 === Qu.tag && 0 == (6 & Nu) && ws(); | |
var t = Nu; | |
Nu |= 1; | |
var n = Cu.transition, | |
r = vt; | |
try { | |
if (((Cu.transition = null), (vt = 1), e)) return e(); | |
} finally { | |
(vt = r), (Cu.transition = n), 0 == (6 & (Nu = t)) && ja(); | |
} | |
} | |
function fs() { | |
(Lu = xu.current), _a(xu); | |
} | |
function ds(e, t) { | |
(e.finishedWork = null), (e.finishedLanes = 0); | |
var n = e.timeoutHandle; | |
if ((-1 !== n && ((e.timeoutHandle = -1), aa(n)), null !== Ru)) | |
for (n = Ru.return; null !== n; ) { | |
var r = n; | |
switch ((to(r), r.tag)) { | |
case 1: | |
null != (r = r.type.childContextTypes) && xa(); | |
break; | |
case 3: | |
oi(), _a(Pa), _a(Na), fi(); | |
break; | |
case 5: | |
li(r); | |
break; | |
case 4: | |
oi(); | |
break; | |
case 13: | |
case 19: | |
_a(ui); | |
break; | |
case 10: | |
So(r.type._context); | |
break; | |
case 22: | |
case 23: | |
fs(); | |
} | |
n = n.return; | |
} | |
if (((Pu = e), (Ru = e = xs(e.current, null)), (Ou = Lu = t), (Iu = 0), (Du = null), (Hu = Bu = Mu = 0), (Uu = Fu = null), null !== Co)) { | |
for (t = 0; t < Co.length; t++) | |
if (null !== (r = (n = Co[t]).interleaved)) { | |
n.interleaved = null; | |
var a = r.next, | |
o = n.pending; | |
if (null !== o) { | |
var i = o.next; | |
(o.next = a), (r.next = i); | |
} | |
n.pending = r; | |
} | |
Co = null; | |
} | |
return e; | |
} | |
function hs(e, t) { | |
for (;;) { | |
var n = Ru; | |
try { | |
if ((wo(), (di.current = il), yi)) { | |
for (var r = Ai.memoizedState; null !== r; ) { | |
var a = r.queue; | |
null !== a && (a.pending = null), (r = r.next); | |
} | |
yi = !1; | |
} | |
if (((pi = 0), (gi = mi = Ai = null), (vi = !1), (bi = 0), (ku.current = null), null === n || null === n.return)) { | |
(Iu = 1), (Du = t), (Ru = null); | |
break; | |
} | |
e: { | |
var i = e, | |
l = n.return, | |
u = n, | |
s = t; | |
if (((t = Ou), (u.flags |= 32768), null !== s && "object" == typeof s && "function" == typeof s.then)) { | |
var c = s, | |
f = u, | |
d = f.tag; | |
if (0 == (1 & f.mode) && (0 === d || 11 === d || 15 === d)) { | |
var h = f.alternate; | |
h ? ((f.updateQueue = h.updateQueue), (f.memoizedState = h.memoizedState), (f.lanes = h.lanes)) : ((f.updateQueue = null), (f.memoizedState = null)); | |
} | |
var p = gl(l); | |
if (null !== p) { | |
(p.flags &= -257), yl(p, l, u, 0, t), 1 & p.mode && ml(i, c, t), (s = c); | |
var A = (t = p).updateQueue; | |
if (null === A) { | |
var m = new Set(); | |
m.add(s), (t.updateQueue = m); | |
} else A.add(s); | |
break e; | |
} | |
if (0 == (1 & t)) { | |
ml(i, c, t), As(); | |
break e; | |
} | |
s = Error(o(426)); | |
} else if (ao && 1 & u.mode) { | |
var g = gl(l); | |
if (null !== g) { | |
0 == (65536 & g.flags) && (g.flags |= 256), yl(g, l, u, 0, t), Ao(cl(s, u)); | |
break e; | |
} | |
} | |
(i = s = cl(s, u)), 4 !== Iu && (Iu = 2), null === Fu ? (Fu = [i]) : Fu.push(i), (i = l); | |
do { | |
switch (i.tag) { | |
case 3: | |
(i.flags |= 65536), (t &= -t), (i.lanes |= t), Bo(i, pl(0, s, t)); | |
break e; | |
case 1: | |
u = s; | |
var y = i.type, | |
v = i.stateNode; | |
if (0 == (128 & i.flags) && ("function" == typeof y.getDerivedStateFromError || (null !== v && "function" == typeof v.componentDidCatch && (null === Zu || !Zu.has(v))))) { | |
(i.flags |= 65536), (t &= -t), (i.lanes |= t), Bo(i, Al(i, u, t)); | |
break e; | |
} | |
} | |
i = i.return; | |
} while (null !== i); | |
} | |
bs(n); | |
} catch (e) { | |
(t = e), Ru === n && null !== n && (Ru = n = n.return); | |
continue; | |
} | |
break; | |
} | |
} | |
function ps() { | |
var e = _u.current; | |
return (_u.current = il), null === e ? il : e; | |
} | |
function As() { | |
(0 !== Iu && 3 !== Iu && 2 !== Iu) || (Iu = 4), null === Pu || (0 == (268435455 & Mu) && 0 == (268435455 & Bu)) || ls(Pu, Ou); | |
} | |
function ms(e, t) { | |
var n = Nu; | |
Nu |= 2; | |
var r = ps(); | |
for ((Pu === e && Ou === t) || ((Gu = null), ds(e, t)); ; ) | |
try { | |
gs(); | |
break; | |
} catch (t) { | |
hs(e, t); | |
} | |
if ((wo(), (Nu = n), (_u.current = r), null !== Ru)) throw Error(o(261)); | |
return (Pu = null), (Ou = 0), Iu; | |
} | |
function gs() { | |
for (; null !== Ru; ) vs(Ru); | |
} | |
function ys() { | |
for (; null !== Ru && !qe(); ) vs(Ru); | |
} | |
function vs(e) { | |
var t = Su(e.alternate, e, Lu); | |
(e.memoizedProps = e.pendingProps), null === t ? bs(e) : (Ru = t), (ku.current = null); | |
} | |
function bs(e) { | |
var t = e; | |
do { | |
var n = t.alternate; | |
if (((e = t.return), 0 == (32768 & t.flags))) { | |
if (null !== (n = Wl(n, t, Lu))) return void (Ru = n); | |
} else { | |
if (null !== (n = Ql(n, t))) return (n.flags &= 32767), void (Ru = n); | |
if (null === e) return (Iu = 6), void (Ru = null); | |
(e.flags |= 32768), (e.subtreeFlags = 0), (e.deletions = null); | |
} | |
if (null !== (t = t.sibling)) return void (Ru = t); | |
Ru = t = e; | |
} while (null !== t); | |
0 === Iu && (Iu = 5); | |
} | |
function Es(e, t, n) { | |
var r = vt, | |
a = Cu.transition; | |
try { | |
(Cu.transition = null), | |
(vt = 1), | |
(function (e, t, n, r) { | |
do { | |
ws(); | |
} while (null !== Qu); | |
if (0 != (6 & Nu)) throw Error(o(327)); | |
n = e.finishedWork; | |
var a = e.finishedLanes; | |
if (null === n) return null; | |
if (((e.finishedWork = null), (e.finishedLanes = 0), n === e.current)) throw Error(o(177)); | |
(e.callbackNode = null), (e.callbackPriority = 0); | |
var i = n.lanes | n.childLanes; | |
if ( | |
((function (e, t) { | |
var n = e.pendingLanes & ~t; | |
(e.pendingLanes = t), (e.suspendedLanes = 0), (e.pingedLanes = 0), (e.expiredLanes &= t), (e.mutableReadLanes &= t), (e.entangledLanes &= t), (t = e.entanglements); | |
var r = e.eventTimes; | |
for (e = e.expirationTimes; 0 < n; ) { | |
var a = 31 - it(n), | |
o = 1 << a; | |
(t[a] = 0), (r[a] = -1), (e[a] = -1), (n &= ~o); | |
} | |
})(e, i), | |
e === Pu && ((Ru = Pu = null), (Ou = 0)), | |
(0 == (2064 & n.subtreeFlags) && 0 == (2064 & n.flags)) || | |
Wu || | |
((Wu = !0), | |
Ps(tt, function () { | |
return ws(), null; | |
})), | |
(i = 0 != (15990 & n.flags)), | |
0 != (15990 & n.subtreeFlags) || i) | |
) { | |
(i = Cu.transition), (Cu.transition = null); | |
var l = vt; | |
vt = 1; | |
var u = Nu; | |
(Nu |= 4), | |
(ku.current = null), | |
(function (e, t) { | |
if (((ea = Vt), hr((e = dr())))) { | |
if ("selectionStart" in e) var n = { start: e.selectionStart, end: e.selectionEnd }; | |
else | |
e: { | |
var r = (n = ((n = e.ownerDocument) && n.defaultView) || window).getSelection && n.getSelection(); | |
if (r && 0 !== r.rangeCount) { | |
n = r.anchorNode; | |
var a = r.anchorOffset, | |
i = r.focusNode; | |
r = r.focusOffset; | |
try { | |
n.nodeType, i.nodeType; | |
} catch (e) { | |
n = null; | |
break e; | |
} | |
var l = 0, | |
u = -1, | |
s = -1, | |
c = 0, | |
f = 0, | |
d = e, | |
h = null; | |
t: for (;;) { | |
for ( | |
var p; | |
d !== n || (0 !== a && 3 !== d.nodeType) || (u = l + a), | |
d !== i || (0 !== r && 3 !== d.nodeType) || (s = l + r), | |
3 === d.nodeType && (l += d.nodeValue.length), | |
null !== (p = d.firstChild); | |
) | |
(h = d), (d = p); | |
for (;;) { | |
if (d === e) break t; | |
if ((h === n && ++c === a && (u = l), h === i && ++f === r && (s = l), null !== (p = d.nextSibling))) break; | |
h = (d = h).parentNode; | |
} | |
d = p; | |
} | |
n = -1 === u || -1 === s ? null : { start: u, end: s }; | |
} else n = null; | |
} | |
n = n || { start: 0, end: 0 }; | |
} else n = null; | |
for (ta = { focusedElem: e, selectionRange: n }, Vt = !1, Kl = t; null !== Kl; ) | |
if (((e = (t = Kl).child), 0 != (1028 & t.subtreeFlags) && null !== e)) (e.return = t), (Kl = e); | |
else | |
for (; null !== Kl; ) { | |
t = Kl; | |
try { | |
var A = t.alternate; | |
if (0 != (1024 & t.flags)) | |
switch (t.tag) { | |
case 0: | |
case 11: | |
case 15: | |
case 5: | |
case 6: | |
case 4: | |
case 17: | |
break; | |
case 1: | |
if (null !== A) { | |
var m = A.memoizedProps, | |
g = A.memoizedState, | |
y = t.stateNode, | |
v = y.getSnapshotBeforeUpdate(t.elementType === t.type ? m : go(t.type, m), g); | |
y.__reactInternalSnapshotBeforeUpdate = v; | |
} | |
break; | |
case 3: | |
var b = t.stateNode.containerInfo; | |
1 === b.nodeType ? (b.textContent = "") : 9 === b.nodeType && b.documentElement && b.removeChild(b.documentElement); | |
break; | |
default: | |
throw Error(o(163)); | |
} | |
} catch (e) { | |
Ts(t, t.return, e); | |
} | |
if (null !== (e = t.sibling)) { | |
(e.return = t.return), (Kl = e); | |
break; | |
} | |
Kl = t.return; | |
} | |
(A = tu), (tu = !1); | |
})(e, n), | |
mu(n, e), | |
pr(ta), | |
(Vt = !!ea), | |
(ta = ea = null), | |
(e.current = n), | |
yu(n, e, a), | |
Ye(), | |
(Nu = u), | |
(vt = l), | |
(Cu.transition = i); | |
} else e.current = n; | |
if ( | |
(Wu && ((Wu = !1), (Qu = e), (qu = a)), | |
0 === (i = e.pendingLanes) && (Zu = null), | |
(function (e) { | |
if (ot && "function" == typeof ot.onCommitFiberRoot) | |
try { | |
ot.onCommitFiberRoot(at, e, void 0, 128 == (128 & e.current.flags)); | |
} catch (e) {} | |
})(n.stateNode), | |
rs(e, Je()), | |
null !== t) | |
) | |
for (r = e.onRecoverableError, n = 0; n < t.length; n++) (a = t[n]), r(a.value, { componentStack: a.stack, digest: a.digest }); | |
if (Vu) throw ((Vu = !1), (e = $u), ($u = null), e); | |
0 != (1 & qu) && 0 !== e.tag && ws(), 0 != (1 & (i = e.pendingLanes)) ? (e === Ju ? Yu++ : ((Yu = 0), (Ju = e))) : (Yu = 0), ja(); | |
})(e, t, n, r); | |
} finally { | |
(Cu.transition = a), (vt = r); | |
} | |
return null; | |
} | |
function ws() { | |
if (null !== Qu) { | |
var e = bt(qu), | |
t = Cu.transition, | |
n = vt; | |
try { | |
if (((Cu.transition = null), (vt = 16 > e ? 16 : e), null === Qu)) var r = !1; | |
else { | |
if (((e = Qu), (Qu = null), (qu = 0), 0 != (6 & Nu))) throw Error(o(331)); | |
var a = Nu; | |
for (Nu |= 4, Kl = e.current; null !== Kl; ) { | |
var i = Kl, | |
l = i.child; | |
if (0 != (16 & Kl.flags)) { | |
var u = i.deletions; | |
if (null !== u) { | |
for (var s = 0; s < u.length; s++) { | |
var c = u[s]; | |
for (Kl = c; null !== Kl; ) { | |
var f = Kl; | |
switch (f.tag) { | |
case 0: | |
case 11: | |
case 15: | |
nu(8, f, i); | |
} | |
var d = f.child; | |
if (null !== d) (d.return = f), (Kl = d); | |
else | |
for (; null !== Kl; ) { | |
var h = (f = Kl).sibling, | |
p = f.return; | |
if ((ou(f), f === c)) { | |
Kl = null; | |
break; | |
} | |
if (null !== h) { | |
(h.return = p), (Kl = h); | |
break; | |
} | |
Kl = p; | |
} | |
} | |
} | |
var A = i.alternate; | |
if (null !== A) { | |
var m = A.child; | |
if (null !== m) { | |
A.child = null; | |
do { | |
var g = m.sibling; | |
(m.sibling = null), (m = g); | |
} while (null !== m); | |
} | |
} | |
Kl = i; | |
} | |
} | |
if (0 != (2064 & i.subtreeFlags) && null !== l) (l.return = i), (Kl = l); | |
else | |
e: for (; null !== Kl; ) { | |
if (0 != (2048 & (i = Kl).flags)) | |
switch (i.tag) { | |
case 0: | |
case 11: | |
case 15: | |
nu(9, i, i.return); | |
} | |
var y = i.sibling; | |
if (null !== y) { | |
(y.return = i.return), (Kl = y); | |
break e; | |
} | |
Kl = i.return; | |
} | |
} | |
var v = e.current; | |
for (Kl = v; null !== Kl; ) { | |
var b = (l = Kl).child; | |
if (0 != (2064 & l.subtreeFlags) && null !== b) (b.return = l), (Kl = b); | |
else | |
e: for (l = v; null !== Kl; ) { | |
if (0 != (2048 & (u = Kl).flags)) | |
try { | |
switch (u.tag) { | |
case 0: | |
case 11: | |
case 15: | |
ru(9, u); | |
} | |
} catch (e) { | |
Ts(u, u.return, e); | |
} | |
if (u === l) { | |
Kl = null; | |
break e; | |
} | |
var E = u.sibling; | |
if (null !== E) { | |
(E.return = u.return), (Kl = E); | |
break e; | |
} | |
Kl = u.return; | |
} | |
} | |
if (((Nu = a), ja(), ot && "function" == typeof ot.onPostCommitFiberRoot)) | |
try { | |
ot.onPostCommitFiberRoot(at, e); | |
} catch (e) {} | |
r = !0; | |
} | |
return r; | |
} finally { | |
(vt = n), (Cu.transition = t); | |
} | |
} | |
return !1; | |
} | |
function Ss(e, t, n) { | |
(e = Do(e, (t = pl(0, (t = cl(n, t)), 1)), 1)), (t = es()), null !== e && (gt(e, 1, t), rs(e, t)); | |
} | |
function Ts(e, t, n) { | |
if (3 === e.tag) Ss(e, e, n); | |
else | |
for (; null !== t; ) { | |
if (3 === t.tag) { | |
Ss(t, e, n); | |
break; | |
} | |
if (1 === t.tag) { | |
var r = t.stateNode; | |
if ("function" == typeof t.type.getDerivedStateFromError || ("function" == typeof r.componentDidCatch && (null === Zu || !Zu.has(r)))) { | |
(t = Do(t, (e = Al(t, (e = cl(n, e)), 1)), 1)), (e = es()), null !== t && (gt(t, 1, e), rs(t, e)); | |
break; | |
} | |
} | |
t = t.return; | |
} | |
} | |
function _s(e, t, n) { | |
var r = e.pingCache; | |
null !== r && r.delete(t), (t = es()), (e.pingedLanes |= e.suspendedLanes & n), Pu === e && (Ou & n) === n && (4 === Iu || (3 === Iu && (130023424 & Ou) === Ou && 500 > Je() - zu) ? ds(e, 0) : (Hu |= n)), rs(e, t); | |
} | |
function ks(e, t) { | |
0 === t && (0 == (1 & e.mode) ? (t = 1) : ((t = ct), 0 == (130023424 & (ct <<= 1)) && (ct = 4194304))); | |
var n = es(); | |
null !== (e = Ro(e, t)) && (gt(e, t, n), rs(e, n)); | |
} | |
function Cs(e) { | |
var t = e.memoizedState, | |
n = 0; | |
null !== t && (n = t.retryLane), ks(e, n); | |
} | |
function Ns(e, t) { | |
var n = 0; | |
switch (e.tag) { | |
case 13: | |
var r = e.stateNode, | |
a = e.memoizedState; | |
null !== a && (n = a.retryLane); | |
break; | |
case 19: | |
r = e.stateNode; | |
break; | |
default: | |
throw Error(o(314)); | |
} | |
null !== r && r.delete(t), ks(e, n); | |
} | |
function Ps(e, t) { | |
return We(e, t); | |
} | |
function Rs(e, t, n, r) { | |
(this.tag = e), | |
(this.key = n), | |
(this.sibling = this.child = this.return = this.stateNode = this.type = this.elementType = null), | |
(this.index = 0), | |
(this.ref = null), | |
(this.pendingProps = t), | |
(this.dependencies = this.memoizedState = this.updateQueue = this.memoizedProps = null), | |
(this.mode = r), | |
(this.subtreeFlags = this.flags = 0), | |
(this.deletions = null), | |
(this.childLanes = this.lanes = 0), | |
(this.alternate = null); | |
} | |
function Os(e, t, n, r) { | |
return new Rs(e, t, n, r); | |
} | |
function Ls(e) { | |
return !(!(e = e.prototype) || !e.isReactComponent); | |
} | |
function xs(e, t) { | |
var n = e.alternate; | |
return ( | |
null === n | |
? (((n = Os(e.tag, t, e.key, e.mode)).elementType = e.elementType), (n.type = e.type), (n.stateNode = e.stateNode), (n.alternate = e), (e.alternate = n)) | |
: ((n.pendingProps = t), (n.type = e.type), (n.flags = 0), (n.subtreeFlags = 0), (n.deletions = null)), | |
(n.flags = 14680064 & e.flags), | |
(n.childLanes = e.childLanes), | |
(n.lanes = e.lanes), | |
(n.child = e.child), | |
(n.memoizedProps = e.memoizedProps), | |
(n.memoizedState = e.memoizedState), | |
(n.updateQueue = e.updateQueue), | |
(t = e.dependencies), | |
(n.dependencies = null === t ? null : { lanes: t.lanes, firstContext: t.firstContext }), | |
(n.sibling = e.sibling), | |
(n.index = e.index), | |
(n.ref = e.ref), | |
n | |
); | |
} | |
function Is(e, t, n, r, a, i) { | |
var l = 2; | |
if (((r = e), "function" == typeof e)) Ls(e) && (l = 1); | |
else if ("string" == typeof e) l = 5; | |
else | |
e: switch (e) { | |
case S: | |
return Ds(n.children, a, i, t); | |
case T: | |
(l = 8), (a |= 8); | |
break; | |
case _: | |
return ((e = Os(12, n, t, 2 | a)).elementType = _), (e.lanes = i), e; | |
case P: | |
return ((e = Os(13, n, t, a)).elementType = P), (e.lanes = i), e; | |
case R: | |
return ((e = Os(19, n, t, a)).elementType = R), (e.lanes = i), e; | |
case x: | |
return Ms(n, a, i, t); | |
default: | |
if ("object" == typeof e && null !== e) | |
switch (e.$$typeof) { | |
case k: | |
l = 10; | |
break e; | |
case C: | |
l = 9; | |
break e; | |
case N: | |
l = 11; | |
break e; | |
case O: | |
l = 14; | |
break e; | |
case L: | |
(l = 16), (r = null); | |
break e; | |
} | |
throw Error(o(130, null == e ? e : typeof e, "")); | |
} | |
return ((t = Os(l, n, t, a)).elementType = e), (t.type = r), (t.lanes = i), t; | |
} | |
function Ds(e, t, n, r) { | |
return ((e = Os(7, e, r, t)).lanes = n), e; | |
} | |
function Ms(e, t, n, r) { | |
return ((e = Os(22, e, r, t)).elementType = x), (e.lanes = n), (e.stateNode = { isHidden: !1 }), e; | |
} | |
function Bs(e, t, n) { | |
return ((e = Os(6, e, null, t)).lanes = n), e; | |
} | |
function Hs(e, t, n) { | |
return ((t = Os(4, null !== e.children ? e.children : [], e.key, t)).lanes = n), (t.stateNode = { containerInfo: e.containerInfo, pendingChildren: null, implementation: e.implementation }), t; | |
} | |
function Fs(e, t, n, r, a) { | |
(this.tag = t), | |
(this.containerInfo = e), | |
(this.finishedWork = this.pingCache = this.current = this.pendingChildren = null), | |
(this.timeoutHandle = -1), | |
(this.callbackNode = this.pendingContext = this.context = null), | |
(this.callbackPriority = 0), | |
(this.eventTimes = mt(0)), | |
(this.expirationTimes = mt(-1)), | |
(this.entangledLanes = this.finishedLanes = this.mutableReadLanes = this.expiredLanes = this.pingedLanes = this.suspendedLanes = this.pendingLanes = 0), | |
(this.entanglements = mt(0)), | |
(this.identifierPrefix = r), | |
(this.onRecoverableError = a), | |
(this.mutableSourceEagerHydrationData = null); | |
} | |
function Us(e, t, n, r, a, o, i, l, u) { | |
return ( | |
(e = new Fs(e, t, n, l, u)), | |
1 === t ? ((t = 1), !0 === o && (t |= 8)) : (t = 0), | |
(o = Os(3, null, null, t)), | |
(e.current = o), | |
(o.stateNode = e), | |
(o.memoizedState = { element: r, isDehydrated: n, cache: null, transitions: null, pendingSuspenseBoundaries: null }), | |
Lo(o), | |
e | |
); | |
} | |
function zs(e, t, n) { | |
var r = 3 < arguments.length && void 0 !== arguments[3] ? arguments[3] : null; | |
return { $$typeof: w, key: null == r ? null : "" + r, children: e, containerInfo: t, implementation: n }; | |
} | |
function js(e) { | |
if (!e) return Ca; | |
e: { | |
if (je((e = e._reactInternals)) !== e || 1 !== e.tag) throw Error(o(170)); | |
var t = e; | |
do { | |
switch (t.tag) { | |
case 3: | |
t = t.stateNode.context; | |
break e; | |
case 1: | |
if (La(t.type)) { | |
t = t.stateNode.__reactInternalMemoizedMergedChildContext; | |
break e; | |
} | |
} | |
t = t.return; | |
} while (null !== t); | |
throw Error(o(171)); | |
} | |
if (1 === e.tag) { | |
var n = e.type; | |
if (La(n)) return Da(e, n, t); | |
} | |
return t; | |
} | |
function Gs(e, t, n, r, a, o, i, l, u) { | |
return ((e = Us(n, r, !0, e, 0, o, 0, l, u)).context = js(null)), (n = e.current), ((o = Io((r = es()), (a = ts(n)))).callback = null != t ? t : null), Do(n, o, a), (e.current.lanes = a), gt(e, a, r), rs(e, r), e; | |
} | |
function Vs(e, t, n, r) { | |
var a = t.current, | |
o = es(), | |
i = ts(a); | |
return ( | |
(n = js(n)), | |
null === t.context ? (t.context = n) : (t.pendingContext = n), | |
((t = Io(o, i)).payload = { element: e }), | |
null !== (r = void 0 === r ? null : r) && (t.callback = r), | |
null !== (e = Do(a, t, i)) && (ns(e, a, i, o), Mo(e, a, i)), | |
i | |
); | |
} | |
function $s(e) { | |
return (e = e.current).child ? (e.child.tag, e.child.stateNode) : null; | |
} | |
function Zs(e, t) { | |
if (null !== (e = e.memoizedState) && null !== e.dehydrated) { | |
var n = e.retryLane; | |
e.retryLane = 0 !== n && n < t ? n : t; | |
} | |
} | |
function Ws(e, t) { | |
Zs(e, t), (e = e.alternate) && Zs(e, t); | |
} | |
Su = function (e, t, n) { | |
if (null !== e) | |
if (e.memoizedProps !== t.pendingProps || Pa.current) bl = !0; | |
else { | |
if (0 == (e.lanes & n) && 0 == (128 & t.flags)) | |
return ( | |
(bl = !1), | |
(function (e, t, n) { | |
switch (t.tag) { | |
case 3: | |
Rl(t), po(); | |
break; | |
case 5: | |
ii(t); | |
break; | |
case 1: | |
La(t.type) && Ma(t); | |
break; | |
case 4: | |
ai(t, t.stateNode.containerInfo); | |
break; | |
case 10: | |
var r = t.type._context, | |
a = t.memoizedProps.value; | |
ka(yo, r._currentValue), (r._currentValue = a); | |
break; | |
case 13: | |
if (null !== (r = t.memoizedState)) | |
return null !== r.dehydrated | |
? (ka(ui, 1 & ui.current), (t.flags |= 128), null) | |
: 0 != (n & t.child.childLanes) | |
? Bl(e, t, n) | |
: (ka(ui, 1 & ui.current), null !== (e = Vl(e, t, n)) ? e.sibling : null); | |
ka(ui, 1 & ui.current); | |
break; | |
case 19: | |
if (((r = 0 != (n & t.childLanes)), 0 != (128 & e.flags))) { | |
if (r) return jl(e, t, n); | |
t.flags |= 128; | |
} | |
if ((null !== (a = t.memoizedState) && ((a.rendering = null), (a.tail = null), (a.lastEffect = null)), ka(ui, ui.current), r)) break; | |
return null; | |
case 22: | |
case 23: | |
return (t.lanes = 0), _l(e, t, n); | |
} | |
return Vl(e, t, n); | |
})(e, t, n) | |
); | |
bl = 0 != (131072 & e.flags); | |
} | |
else (bl = !1), ao && 0 != (1048576 & t.flags) && Xa(t, Za, t.index); | |
switch (((t.lanes = 0), t.tag)) { | |
case 2: | |
var r = t.type; | |
Gl(e, t), (e = t.pendingProps); | |
var a = Oa(t, Na.current); | |
_o(t, n), (a = Ti(null, t, r, e, a, n)); | |
var i = _i(); | |
return ( | |
(t.flags |= 1), | |
"object" == typeof a && null !== a && "function" == typeof a.render && void 0 === a.$$typeof | |
? ((t.tag = 1), | |
(t.memoizedState = null), | |
(t.updateQueue = null), | |
La(r) ? ((i = !0), Ma(t)) : (i = !1), | |
(t.memoizedState = null !== a.state && void 0 !== a.state ? a.state : null), | |
Lo(t), | |
(a.updater = jo), | |
(t.stateNode = a), | |
(a._reactInternals = t), | |
Zo(t, r, e, n), | |
(t = Pl(null, t, r, !0, i, n))) | |
: ((t.tag = 0), ao && i && eo(t), El(null, t, a, n), (t = t.child)), | |
t | |
); | |
case 16: | |
r = t.elementType; | |
e: { | |
switch ( | |
(Gl(e, t), | |
(e = t.pendingProps), | |
(r = (a = r._init)(r._payload)), | |
(t.type = r), | |
(a = t.tag = (function (e) { | |
if ("function" == typeof e) return Ls(e) ? 1 : 0; | |
if (null != e) { | |
if ((e = e.$$typeof) === N) return 11; | |
if (e === O) return 14; | |
} | |
return 2; | |
})(r)), | |
(e = go(r, e)), | |
a) | |
) { | |
case 0: | |
t = Cl(null, t, r, e, n); | |
break e; | |
case 1: | |
t = Nl(null, t, r, e, n); | |
break e; | |
case 11: | |
t = wl(null, t, r, e, n); | |
break e; | |
case 14: | |
t = Sl(null, t, r, go(r.type, e), n); | |
break e; | |
} | |
throw Error(o(306, r, "")); | |
} | |
return t; | |
case 0: | |
return (r = t.type), (a = t.pendingProps), Cl(e, t, r, (a = t.elementType === r ? a : go(r, a)), n); | |
case 1: | |
return (r = t.type), (a = t.pendingProps), Nl(e, t, r, (a = t.elementType === r ? a : go(r, a)), n); | |
case 3: | |
e: { | |
if ((Rl(t), null === e)) throw Error(o(387)); | |
(r = t.pendingProps), (a = (i = t.memoizedState).element), xo(e, t), Ho(t, r, null, n); | |
var l = t.memoizedState; | |
if (((r = l.element), i.isDehydrated)) { | |
if ( | |
((i = { element: r, isDehydrated: !1, cache: l.cache, pendingSuspenseBoundaries: l.pendingSuspenseBoundaries, transitions: l.transitions }), | |
(t.updateQueue.baseState = i), | |
(t.memoizedState = i), | |
256 & t.flags) | |
) { | |
t = Ol(e, t, r, n, (a = cl(Error(o(423)), t))); | |
break e; | |
} | |
if (r !== a) { | |
t = Ol(e, t, r, n, (a = cl(Error(o(424)), t))); | |
break e; | |
} | |
for (ro = sa(t.stateNode.containerInfo.firstChild), no = t, ao = !0, oo = null, n = Ko(t, null, r, n), t.child = n; n; ) (n.flags = (-3 & n.flags) | 4096), (n = n.sibling); | |
} else { | |
if ((po(), r === a)) { | |
t = Vl(e, t, n); | |
break e; | |
} | |
El(e, t, r, n); | |
} | |
t = t.child; | |
} | |
return t; | |
case 5: | |
return ( | |
ii(t), | |
null === e && so(t), | |
(r = t.type), | |
(a = t.pendingProps), | |
(i = null !== e ? e.memoizedProps : null), | |
(l = a.children), | |
na(r, a) ? (l = null) : null !== i && na(r, i) && (t.flags |= 32), | |
kl(e, t), | |
El(e, t, l, n), | |
t.child | |
); | |
case 6: | |
return null === e && so(t), null; | |
case 13: | |
return Bl(e, t, n); | |
case 4: | |
return ai(t, t.stateNode.containerInfo), (r = t.pendingProps), null === e ? (t.child = Jo(t, null, r, n)) : El(e, t, r, n), t.child; | |
case 11: | |
return (r = t.type), (a = t.pendingProps), wl(e, t, r, (a = t.elementType === r ? a : go(r, a)), n); | |
case 7: | |
return El(e, t, t.pendingProps, n), t.child; | |
case 8: | |
case 12: | |
return El(e, t, t.pendingProps.children, n), t.child; | |
case 10: | |
e: { | |
if (((r = t.type._context), (a = t.pendingProps), (i = t.memoizedProps), (l = a.value), ka(yo, r._currentValue), (r._currentValue = l), null !== i)) | |
if (lr(i.value, l)) { | |
if (i.children === a.children && !Pa.current) { | |
t = Vl(e, t, n); | |
break e; | |
} | |
} else | |
for (null !== (i = t.child) && (i.return = t); null !== i; ) { | |
var u = i.dependencies; | |
if (null !== u) { | |
l = i.child; | |
for (var s = u.firstContext; null !== s; ) { | |
if (s.context === r) { | |
if (1 === i.tag) { | |
(s = Io(-1, n & -n)).tag = 2; | |
var c = i.updateQueue; | |
if (null !== c) { | |
var f = (c = c.shared).pending; | |
null === f ? (s.next = s) : ((s.next = f.next), (f.next = s)), (c.pending = s); | |
} | |
} | |
(i.lanes |= n), null !== (s = i.alternate) && (s.lanes |= n), To(i.return, n, t), (u.lanes |= n); | |
break; | |
} | |
s = s.next; | |
} | |
} else if (10 === i.tag) l = i.type === t.type ? null : i.child; | |
else if (18 === i.tag) { | |
if (null === (l = i.return)) throw Error(o(341)); | |
(l.lanes |= n), null !== (u = l.alternate) && (u.lanes |= n), To(l, n, t), (l = i.sibling); | |
} else l = i.child; | |
if (null !== l) l.return = i; | |
else | |
for (l = i; null !== l; ) { | |
if (l === t) { | |
l = null; | |
break; | |
} | |
if (null !== (i = l.sibling)) { | |
(i.return = l.return), (l = i); | |
break; | |
} | |
l = l.return; | |
} | |
i = l; | |
} | |
El(e, t, a.children, n), (t = t.child); | |
} | |
return t; | |
case 9: | |
return (a = t.type), (r = t.pendingProps.children), _o(t, n), (r = r((a = ko(a)))), (t.flags |= 1), El(e, t, r, n), t.child; | |
case 14: | |
return (a = go((r = t.type), t.pendingProps)), Sl(e, t, r, (a = go(r.type, a)), n); | |
case 15: | |
return Tl(e, t, t.type, t.pendingProps, n); | |
case 17: | |
return (r = t.type), (a = t.pendingProps), (a = t.elementType === r ? a : go(r, a)), Gl(e, t), (t.tag = 1), La(r) ? ((e = !0), Ma(t)) : (e = !1), _o(t, n), Vo(t, r, a), Zo(t, r, a, n), Pl(null, t, r, !0, e, n); | |
case 19: | |
return jl(e, t, n); | |
case 22: | |
return _l(e, t, n); | |
} | |
throw Error(o(156, t.tag)); | |
}; | |
var Qs = | |
"function" == typeof reportError | |
? reportError | |
: function (e) { | |
console.error(e); | |
}; | |
function qs(e) { | |
this._internalRoot = e; | |
} | |
function Ys(e) { | |
this._internalRoot = e; | |
} | |
function Js(e) { | |
return !(!e || (1 !== e.nodeType && 9 !== e.nodeType && 11 !== e.nodeType)); | |
} | |
function Ks(e) { | |
return !(!e || (1 !== e.nodeType && 9 !== e.nodeType && 11 !== e.nodeType && (8 !== e.nodeType || " react-mount-point-unstable " !== e.nodeValue))); | |
} | |
function Xs() {} | |
function ec(e, t, n, r, a) { | |
var o = n._reactRootContainer; | |
if (o) { | |
var i = o; | |
if ("function" == typeof a) { | |
var l = a; | |
a = function () { | |
var e = $s(i); | |
l.call(e); | |
}; | |
} | |
Vs(t, i, e, a); | |
} else | |
i = (function (e, t, n, r, a) { | |
if (a) { | |
if ("function" == typeof r) { | |
var o = r; | |
r = function () { | |
var e = $s(i); | |
o.call(e); | |
}; | |
} | |
var i = Gs(t, r, e, 0, null, !1, 0, "", Xs); | |
return (e._reactRootContainer = i), (e[pa] = i.current), jr(8 === e.nodeType ? e.parentNode : e), cs(), i; | |
} | |
for (; (a = e.lastChild); ) e.removeChild(a); | |
if ("function" == typeof r) { | |
var l = r; | |
r = function () { | |
var e = $s(u); | |
l.call(e); | |
}; | |
} | |
var u = Us(e, 0, !1, null, 0, !1, 0, "", Xs); | |
return ( | |
(e._reactRootContainer = u), | |
(e[pa] = u.current), | |
jr(8 === e.nodeType ? e.parentNode : e), | |
cs(function () { | |
Vs(t, u, n, r); | |
}), | |
u | |
); | |
})(n, t, e, a, r); | |
return $s(i); | |
} | |
(Ys.prototype.render = qs.prototype.render = function (e) { | |
var t = this._internalRoot; | |
if (null === t) throw Error(o(409)); | |
Vs(e, t, null, null); | |
}), | |
(Ys.prototype.unmount = qs.prototype.unmount = function () { | |
var e = this._internalRoot; | |
if (null !== e) { | |
this._internalRoot = null; | |
var t = e.containerInfo; | |
cs(function () { | |
Vs(null, e, null, null); | |
}), | |
(t[pa] = null); | |
} | |
}), | |
(Ys.prototype.unstable_scheduleHydration = function (e) { | |
if (e) { | |
var t = Tt(); | |
e = { blockedOn: null, target: e, priority: t }; | |
for (var n = 0; n < xt.length && 0 !== t && t < xt[n].priority; n++); | |
xt.splice(n, 0, e), 0 === n && Bt(e); | |
} | |
}), | |
(Et = function (e) { | |
switch (e.tag) { | |
case 3: | |
var t = e.stateNode; | |
if (t.current.memoizedState.isDehydrated) { | |
var n = ft(t.pendingLanes); | |
0 !== n && (yt(t, 1 | n), rs(t, Je()), 0 == (6 & Nu) && ((ju = Je() + 500), ja())); | |
} | |
break; | |
case 13: | |
cs(function () { | |
var t = Ro(e, 1); | |
if (null !== t) { | |
var n = es(); | |
ns(t, e, 1, n); | |
} | |
}), | |
Ws(e, 1); | |
} | |
}), | |
(wt = function (e) { | |
if (13 === e.tag) { | |
var t = Ro(e, 134217728); | |
if (null !== t) ns(t, e, 134217728, es()); | |
Ws(e, 134217728); | |
} | |
}), | |
(St = function (e) { | |
if (13 === e.tag) { | |
var t = ts(e), | |
n = Ro(e, t); | |
if (null !== n) ns(n, e, t, es()); | |
Ws(e, t); | |
} | |
}), | |
(Tt = function () { | |
return vt; | |
}), | |
(_t = function (e, t) { | |
var n = vt; | |
try { | |
return (vt = e), t(); | |
} finally { | |
vt = n; | |
} | |
}), | |
(we = function (e, t, n) { | |
switch (t) { | |
case "input": | |
if ((K(e, n), (t = n.name), "radio" === n.type && null != t)) { | |
for (n = e; n.parentNode; ) n = n.parentNode; | |
for (n = n.querySelectorAll("input[name=" + JSON.stringify("" + t) + '][type="radio"]'), t = 0; t < n.length; t++) { | |
var r = n[t]; | |
if (r !== e && r.form === e.form) { | |
var a = Ea(r); | |
if (!a) throw Error(o(90)); | |
W(r), K(r, a); | |
} | |
} | |
} | |
break; | |
case "textarea": | |
oe(e, n); | |
break; | |
case "select": | |
null != (t = n.value) && ne(e, !!n.multiple, t, !1); | |
} | |
}), | |
(Ne = ss), | |
(Pe = cs); | |
var tc = { usingClientEntryPoint: !1, Events: [va, ba, Ea, ke, Ce, ss] }, | |
nc = { findFiberByHostInstance: ya, bundleType: 0, version: "18.2.0", rendererPackageName: "react-dom" }, | |
rc = { | |
bundleType: nc.bundleType, | |
version: nc.version, | |
rendererPackageName: nc.rendererPackageName, | |
rendererConfig: nc.rendererConfig, | |
overrideHookState: null, | |
overrideHookStateDeletePath: null, | |
overrideHookStateRenamePath: null, | |
overrideProps: null, | |
overridePropsDeletePath: null, | |
overridePropsRenamePath: null, | |
setErrorHandler: null, | |
setSuspenseHandler: null, | |
scheduleUpdate: null, | |
currentDispatcherRef: b.ReactCurrentDispatcher, | |
findHostInstanceByFiber: function (e) { | |
return null === (e = $e(e)) ? null : e.stateNode; | |
}, | |
findFiberByHostInstance: | |
nc.findFiberByHostInstance || | |
function () { | |
return null; | |
}, | |
findHostInstancesForRefresh: null, | |
scheduleRefresh: null, | |
scheduleRoot: null, | |
setRefreshHandler: null, | |
getCurrentFiber: null, | |
reconcilerVersion: "18.2.0-next-9e3b772b8-20220608", | |
}; | |
if ("undefined" != typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { | |
var ac = __REACT_DEVTOOLS_GLOBAL_HOOK__; | |
if (!ac.isDisabled && ac.supportsFiber) | |
try { | |
(at = ac.inject(rc)), (ot = ac); | |
} catch (ce) {} | |
} | |
(t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = tc), | |
(t.createPortal = function (e, t) { | |
var n = 2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : null; | |
if (!Js(t)) throw Error(o(200)); | |
return zs(e, t, null, n); | |
}), | |
(t.createRoot = function (e, t) { | |
if (!Js(e)) throw Error(o(299)); | |
var n = !1, | |
r = "", | |
a = Qs; | |
return ( | |
null != t && (!0 === t.unstable_strictMode && (n = !0), void 0 !== t.identifierPrefix && (r = t.identifierPrefix), void 0 !== t.onRecoverableError && (a = t.onRecoverableError)), | |
(t = Us(e, 1, !1, null, 0, n, 0, r, a)), | |
(e[pa] = t.current), | |
jr(8 === e.nodeType ? e.parentNode : e), | |
new qs(t) | |
); | |
}), | |
(t.findDOMNode = function (e) { | |
if (null == e) return null; | |
if (1 === e.nodeType) return e; | |
var t = e._reactInternals; | |
if (void 0 === t) { | |
if ("function" == typeof e.render) throw Error(o(188)); | |
throw ((e = Object.keys(e).join(",")), Error(o(268, e))); | |
} | |
return (e = null === (e = $e(t)) ? null : e.stateNode); | |
}), | |
(t.flushSync = function (e) { | |
return cs(e); | |
}), | |
(t.hydrate = function (e, t, n) { | |
if (!Ks(t)) throw Error(o(200)); | |
return ec(null, e, t, !0, n); | |
}), | |
(t.hydrateRoot = function (e, t, n) { | |
if (!Js(e)) throw Error(o(405)); | |
var r = (null != n && n.hydratedSources) || null, | |
a = !1, | |
i = "", | |
l = Qs; | |
if ( | |
(null != n && (!0 === n.unstable_strictMode && (a = !0), void 0 !== n.identifierPrefix && (i = n.identifierPrefix), void 0 !== n.onRecoverableError && (l = n.onRecoverableError)), | |
(t = Gs(t, null, e, 1, null != n ? n : null, a, 0, i, l)), | |
(e[pa] = t.current), | |
jr(e), | |
r) | |
) | |
for (e = 0; e < r.length; e++) (a = (a = (n = r[e])._getVersion)(n._source)), null == t.mutableSourceEagerHydrationData ? (t.mutableSourceEagerHydrationData = [n, a]) : t.mutableSourceEagerHydrationData.push(n, a); | |
return new Ys(t); | |
}), | |
(t.render = function (e, t, n) { | |
if (!Ks(t)) throw Error(o(200)); | |
return ec(null, e, t, !1, n); | |
}), | |
(t.unmountComponentAtNode = function (e) { | |
if (!Ks(e)) throw Error(o(40)); | |
return ( | |
!!e._reactRootContainer && | |
(cs(function () { | |
ec(null, null, e, !1, function () { | |
(e._reactRootContainer = null), (e[pa] = null); | |
}); | |
}), | |
!0) | |
); | |
}), | |
(t.unstable_batchedUpdates = ss), | |
(t.unstable_renderSubtreeIntoContainer = function (e, t, n, r) { | |
if (!Ks(n)) throw Error(o(200)); | |
if (null == e || void 0 === e._reactInternals) throw Error(o(38)); | |
return ec(e, t, n, !1, r); | |
}), | |
(t.version = "18.2.0-next-9e3b772b8-20220608"); | |
}, | |
4470: (e, t, n) => { | |
"use strict"; | |
var r = n(3961); | |
(t.s = r.createRoot), r.hydrateRoot; | |
}, | |
3961: (e, t, n) => { | |
"use strict"; | |
!(function e() { | |
if ("undefined" != typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" == typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE) | |
try { | |
__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e); | |
} catch (e) { | |
console.error(e); | |
} | |
})(), | |
(e.exports = n(7799)); | |
}, | |
3477: (e, t, n) => { | |
"use strict"; | |
n.d(t, { Em: () => d, vU: () => f }); | |
var r, | |
a, | |
o = n(3940), | |
i = n(9526), | |
l = n(9458); | |
!(function (e) { | |
(e.formatDate = "FormattedDate"), (e.formatTime = "FormattedTime"), (e.formatNumber = "FormattedNumber"), (e.formatList = "FormattedList"), (e.formatDisplayName = "FormattedDisplayName"); | |
})(r || (r = {})), | |
(function (e) { | |
(e.formatDate = "FormattedDateParts"), (e.formatTime = "FormattedTimeParts"), (e.formatNumber = "FormattedNumberParts"), (e.formatList = "FormattedListParts"); | |
})(a || (a = {})); | |
var u = function (e) { | |
var t = (0, l.Z)(), | |
n = e.value, | |
r = e.children, | |
a = (0, o._T)(e, ["value", "children"]); | |
return r(t.formatNumberToParts(n, a)); | |
}; | |
u.displayName = "FormattedNumberParts"; | |
function s(e) { | |
var t = function (t) { | |
var n = (0, l.Z)(), | |
r = t.value, | |
a = t.children, | |
i = (0, o._T)(t, ["value", "children"]), | |
u = "string" == typeof r ? new Date(r || 0) : r; | |
return a("formatDate" === e ? n.formatDateToParts(u, i) : n.formatTimeToParts(u, i)); | |
}; | |
return (t.displayName = a[e]), t; | |
} | |
function c(e) { | |
var t = function (t) { | |
var n = (0, l.Z)(), | |
r = t.value, | |
a = t.children, | |
u = (0, o._T)(t, ["value", "children"]), | |
s = n[e](r, u); | |
if ("function" == typeof a) return a(s); | |
var c = n.textComponent || i.Fragment; | |
return i.createElement(c, null, s); | |
}; | |
return (t.displayName = r[e]), t; | |
} | |
function f(e) { | |
return e; | |
} | |
function d(e) { | |
return e; | |
} | |
u.displayName = "FormattedNumberParts"; | |
c("formatDate"), c("formatTime"), c("formatNumber"), c("formatList"), c("formatDisplayName"), s("formatDate"), s("formatTime"); | |
}, | |
654: (e, t, n) => { | |
"use strict"; | |
n.d(t, { _y: () => i, zt: () => o }); | |
var r = n(9526); | |
n(1281); | |
var a = r.createContext(null), | |
o = (a.Consumer, a.Provider), | |
i = a; | |
}, | |
4877: (e, t, n) => { | |
"use strict"; | |
n.d(t, { Z: () => s }); | |
var r = n(3940), | |
a = n(9526), | |
o = n(9458), | |
i = n(6989); | |
function l(e) { | |
var t = (0, o.Z)(), | |
n = t.formatMessage, | |
r = t.textComponent, | |
i = void 0 === r ? a.Fragment : r, | |
l = e.id, | |
u = e.description, | |
s = e.defaultMessage, | |
c = e.values, | |
f = e.children, | |
d = e.tagName, | |
h = void 0 === d ? i : d, | |
p = n({ id: l, description: u, defaultMessage: s }, c, { ignoreTag: e.ignoreTag }); | |
return "function" == typeof f ? f(Array.isArray(p) ? p : [p]) : h ? a.createElement(h, null, a.Children.toArray(p)) : a.createElement(a.Fragment, null, p); | |
} | |
l.displayName = "FormattedMessage"; | |
var u = a.memo(l, function (e, t) { | |
var n = e.values, | |
a = (0, r._T)(e, ["values"]), | |
o = t.values, | |
l = (0, r._T)(t, ["values"]); | |
return (0, i.wU)(o, n) && (0, i.wU)(a, l); | |
}); | |
u.displayName = "MemoizedFormattedMessage"; | |
const s = /^(338|55|713)$/.test(n.j) ? null : u; | |
}, | |
4115: (e, t, n) => { | |
"use strict"; | |
n.d(t, { d: () => G }); | |
var r = n(3940), | |
a = n(9526), | |
o = n(654), | |
i = n(6989), | |
l = n(5741), | |
u = n(4986), | |
s = n(9937), | |
c = n(6996); | |
function f(e, t) { | |
return Object.keys(e).reduce(function (n, a) { | |
return (n[a] = (0, r.pi)({ timeZone: t }, e[a])), n; | |
}, {}); | |
} | |
function d(e, t) { | |
return Object.keys((0, r.pi)((0, r.pi)({}, e), t)).reduce(function (n, a) { | |
return (n[a] = (0, r.pi)((0, r.pi)({}, e[a] || {}), t[a] || {})), n; | |
}, {}); | |
} | |
function h(e, t) { | |
if (!t) return e; | |
var n = u.C.formats; | |
return (0, r.pi)((0, r.pi)((0, r.pi)({}, n), e), { date: d(f(n.date, t), f(e.date || {}, t)), time: d(f(n.time, t), f(e.time || {}, t)) }); | |
} | |
var p = function (e, t, n, a, o) { | |
var i = e.locale, | |
u = e.formats, | |
f = e.messages, | |
d = e.defaultLocale, | |
p = e.defaultFormats, | |
A = e.fallbackOnEmptyString, | |
m = e.onError, | |
g = e.timeZone, | |
y = e.defaultRichTextElements; | |
void 0 === n && (n = { id: "" }); | |
var v = n.id, | |
b = n.defaultMessage; | |
(0, l.kG)( | |
!!v, | |
"[@formatjs/intl] An `id` must be provided to format a message. You can either:\n1. Configure your build toolchain with [babel-plugin-formatjs](https://formatjs.io/docs/tooling/babel-plugin)\nor [@formatjs/ts-transformer](https://formatjs.io/docs/tooling/ts-transformer) OR\n2. Configure your `eslint` config to include [eslint-plugin-formatjs](https://formatjs.io/docs/tooling/linter#enforce-id)\nto autofix this issue" | |
); | |
var E = String(v), | |
w = f && Object.prototype.hasOwnProperty.call(f, E) && f[E]; | |
if (Array.isArray(w) && 1 === w.length && w[0].type === c.wD.literal) return w[0].value; | |
if (!a && w && "string" == typeof w && !y) return w.replace(/'\{(.*?)\}'/gi, "{$1}"); | |
if (((a = (0, r.pi)((0, r.pi)({}, y), a || {})), (u = h(u, g)), (p = h(p, g)), !w)) { | |
if (!1 === A && "" === w) return w; | |
if (((!b || (i && i.toLowerCase() !== d.toLowerCase())) && m(new s.$6(n, i)), b)) | |
try { | |
return t.getMessageFormat(b, d, p, o).format(a); | |
} catch (e) { | |
return m(new s.X9('Error formatting default message for: "'.concat(E, '", rendering default message verbatim'), i, n, e)), "string" == typeof b ? b : E; | |
} | |
return E; | |
} | |
try { | |
return t.getMessageFormat(w, i, u, (0, r.pi)({ formatters: t }, o || {})).format(a); | |
} catch (e) { | |
m(new s.X9('Error formatting message: "'.concat(E, '", using ').concat(b ? "default message" : "id", " as fallback."), i, n, e)); | |
} | |
if (b) | |
try { | |
return t.getMessageFormat(b, d, p, o).format(a); | |
} catch (e) { | |
m(new s.X9('Error formatting the default message for: "'.concat(E, '", rendering message verbatim'), i, n, e)); | |
} | |
return "string" == typeof w ? w : "string" == typeof b ? b : E; | |
}, | |
A = n(3293), | |
m = [ | |
"style", | |
"currency", | |
"currencyDisplay", | |
"unit", | |
"unitDisplay", | |
"useGrouping", | |
"minimumIntegerDigits", | |
"minimumFractionDigits", | |
"maximumFractionDigits", | |
"minimumSignificantDigits", | |
"maximumSignificantDigits", | |
"compactDisplay", | |
"currencyDisplay", | |
"currencySign", | |
"notation", | |
"signDisplay", | |
"unit", | |
"unitDisplay", | |
"numberingSystem", | |
]; | |
function g(e, t, n) { | |
var r = e.locale, | |
a = e.formats, | |
o = e.onError; | |
void 0 === n && (n = {}); | |
var i = n.format, | |
l = (i && (0, A.TB)(a, "number", i, o)) || {}; | |
return t(r, (0, A.L6)(n, m, l)); | |
} | |
function y(e, t, n, r) { | |
void 0 === r && (r = {}); | |
try { | |
return g(e, t, r).format(n); | |
} catch (t) { | |
e.onError(new s.Rw(s.bc.FORMAT_ERROR, "Error formatting number.", t)); | |
} | |
return String(n); | |
} | |
function v(e, t, n, r) { | |
void 0 === r && (r = {}); | |
try { | |
return g(e, t, r).formatToParts(n); | |
} catch (t) { | |
e.onError(new s.Rw(s.bc.FORMAT_ERROR, "Error formatting number.", t)); | |
} | |
return []; | |
} | |
var b = n(6225), | |
E = ["numeric", "style"]; | |
function w(e, t, n, r, a) { | |
void 0 === a && (a = {}), | |
r || (r = "second"), | |
Intl.RelativeTimeFormat || e.onError(new b.u_('Intl.RelativeTimeFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-relativetimeformat"\n', b.jK.MISSING_INTL_API)); | |
try { | |
return (function (e, t, n) { | |
var r = e.locale, | |
a = e.formats, | |
o = e.onError; | |
void 0 === n && (n = {}); | |
var i = n.format, | |
l = (!!i && (0, A.TB)(a, "relative", i, o)) || {}; | |
return t(r, (0, A.L6)(n, E, l)); | |
})(e, t, a).format(n, r); | |
} catch (t) { | |
e.onError(new s.Qe("Error formatting relative time.", e.locale, t)); | |
} | |
return String(n); | |
} | |
var S = [ | |
"formatMatcher", | |
"timeZone", | |
"hour12", | |
"weekday", | |
"era", | |
"year", | |
"month", | |
"day", | |
"hour", | |
"minute", | |
"second", | |
"timeZoneName", | |
"hourCycle", | |
"dateStyle", | |
"timeStyle", | |
"calendar", | |
"numberingSystem", | |
"fractionalSecondDigits", | |
]; | |
function T(e, t, n, a) { | |
var o = e.locale, | |
i = e.formats, | |
l = e.onError, | |
u = e.timeZone; | |
void 0 === a && (a = {}); | |
var s = a.format, | |
c = (0, r.pi)((0, r.pi)({}, u && { timeZone: u }), s && (0, A.TB)(i, t, s, l)), | |
f = (0, A.L6)(a, S, c); | |
return "time" !== t || f.hour || f.minute || f.second || f.timeStyle || f.dateStyle || (f = (0, r.pi)((0, r.pi)({}, f), { hour: "numeric", minute: "numeric" })), n(o, f); | |
} | |
function _(e, t) { | |
for (var n = [], r = 2; r < arguments.length; r++) n[r - 2] = arguments[r]; | |
var a = n[0], | |
o = n[1], | |
i = void 0 === o ? {} : o, | |
l = "string" == typeof a ? new Date(a || 0) : a; | |
try { | |
return T(e, "date", t, i).format(l); | |
} catch (t) { | |
e.onError(new s.Rw(s.bc.FORMAT_ERROR, "Error formatting date.", t)); | |
} | |
return String(l); | |
} | |
function k(e, t) { | |
for (var n = [], r = 2; r < arguments.length; r++) n[r - 2] = arguments[r]; | |
var a = n[0], | |
o = n[1], | |
i = void 0 === o ? {} : o, | |
l = "string" == typeof a ? new Date(a || 0) : a; | |
try { | |
return T(e, "time", t, i).format(l); | |
} catch (t) { | |
e.onError(new s.Rw(s.bc.FORMAT_ERROR, "Error formatting time.", t)); | |
} | |
return String(l); | |
} | |
function C(e, t) { | |
for (var n = [], r = 2; r < arguments.length; r++) n[r - 2] = arguments[r]; | |
var a = n[0], | |
o = n[1], | |
i = n[2], | |
l = void 0 === i ? {} : i, | |
u = e.timeZone, | |
c = e.locale, | |
f = e.onError, | |
d = (0, A.L6)(l, S, u ? { timeZone: u } : {}); | |
try { | |
return t(c, d).formatRange(a, o); | |
} catch (e) { | |
f(new s.Rw(s.bc.FORMAT_ERROR, "Error formatting date time range.", e)); | |
} | |
return String(a); | |
} | |
function N(e, t) { | |
for (var n = [], r = 2; r < arguments.length; r++) n[r - 2] = arguments[r]; | |
var a = n[0], | |
o = n[1], | |
i = void 0 === o ? {} : o, | |
l = "string" == typeof a ? new Date(a || 0) : a; | |
try { | |
return T(e, "date", t, i).formatToParts(l); | |
} catch (t) { | |
e.onError(new s.Rw(s.bc.FORMAT_ERROR, "Error formatting date.", t)); | |
} | |
return []; | |
} | |
function P(e, t) { | |
for (var n = [], r = 2; r < arguments.length; r++) n[r - 2] = arguments[r]; | |
var a = n[0], | |
o = n[1], | |
i = void 0 === o ? {} : o, | |
l = "string" == typeof a ? new Date(a || 0) : a; | |
try { | |
return T(e, "time", t, i).formatToParts(l); | |
} catch (t) { | |
e.onError(new s.Rw(s.bc.FORMAT_ERROR, "Error formatting time.", t)); | |
} | |
return []; | |
} | |
var R = ["type"]; | |
function O(e, t, n, r) { | |
var a = e.locale, | |
o = e.onError; | |
void 0 === r && (r = {}), Intl.PluralRules || o(new b.u_('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n', b.jK.MISSING_INTL_API)); | |
var i = (0, A.L6)(r, R); | |
try { | |
return t(a, i).select(n); | |
} catch (e) { | |
o(new s.Qe("Error formatting plural.", a, e)); | |
} | |
return "other"; | |
} | |
var L = ["type", "style"], | |
x = Date.now(); | |
function I(e, t, n, r) { | |
void 0 === r && (r = {}); | |
var a = D(e, t, n, r).reduce(function (e, t) { | |
var n = t.value; | |
return "string" != typeof n ? e.push(n) : "string" == typeof e[e.length - 1] ? (e[e.length - 1] += n) : e.push(n), e; | |
}, []); | |
return 1 === a.length ? a[0] : 0 === a.length ? "" : a; | |
} | |
function D(e, t, n, a) { | |
var o = e.locale, | |
i = e.onError; | |
void 0 === a && (a = {}), Intl.ListFormat || i(new b.u_('Intl.ListFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-listformat"\n', b.jK.MISSING_INTL_API)); | |
var l = (0, A.L6)(a, L); | |
try { | |
var u = {}, | |
c = n.map(function (e, t) { | |
if ("object" == typeof e) { | |
var n = (function (e) { | |
return "".concat(x, "_").concat(e, "_").concat(x); | |
})(t); | |
return (u[n] = e), n; | |
} | |
return String(e); | |
}); | |
return t(o, l) | |
.formatToParts(c) | |
.map(function (e) { | |
return "literal" === e.type ? e : (0, r.pi)((0, r.pi)({}, e), { value: u[e.value] || e.value }); | |
}); | |
} catch (e) { | |
i(new s.Rw(s.bc.FORMAT_ERROR, "Error formatting list.", e)); | |
} | |
return n; | |
} | |
var M = ["style", "type", "fallback"]; | |
function B(e, t, n, r) { | |
var a = e.locale, | |
o = e.onError; | |
Intl.DisplayNames || o(new b.u_('Intl.DisplayNames is not available in this environment.\nTry polyfilling it using "@formatjs/intl-displaynames"\n', b.jK.MISSING_INTL_API)); | |
var i = (0, A.L6)(r, M); | |
try { | |
return t(a, i).of(n); | |
} catch (e) { | |
o(new s.Rw(s.bc.FORMAT_ERROR, "Error formatting display name.", e)); | |
} | |
} | |
function H(e) { | |
var t; | |
e.onWarn && | |
e.defaultRichTextElements && | |
"string" == typeof ((t = e.messages || {}) ? t[Object.keys(t)[0]] : void 0) && | |
e.onWarn( | |
'[@formatjs/intl] "defaultRichTextElements" was specified but "message" was not pre-compiled. \nPlease consider using "@formatjs/cli" to pre-compile your messages for performance.\nFor more details see https://formatjs.io/docs/getting-started/message-distribution' | |
); | |
} | |
var F = n(9036); | |
function U(e) { | |
return { | |
locale: e.locale, | |
timeZone: e.timeZone, | |
fallbackOnEmptyString: e.fallbackOnEmptyString, | |
formats: e.formats, | |
textComponent: e.textComponent, | |
messages: e.messages, | |
defaultLocale: e.defaultLocale, | |
defaultFormats: e.defaultFormats, | |
onError: e.onError, | |
onWarn: e.onWarn, | |
wrapRichTextChunksInFragment: e.wrapRichTextChunksInFragment, | |
defaultRichTextElements: e.defaultRichTextElements, | |
}; | |
} | |
function z(e) { | |
return e | |
? Object.keys(e).reduce(function (t, n) { | |
var r = e[n]; | |
return (t[n] = (0, F.Gt)(r) ? (0, i.dt)(r) : r), t; | |
}, {}) | |
: e; | |
} | |
var j = function (e, t, n, o) { | |
for (var i = [], l = 4; l < arguments.length; l++) i[l - 4] = arguments[l]; | |
var u = z(o), | |
s = p.apply(void 0, (0, r.ev)([e, t, n, u], i, !1)); | |
return Array.isArray(s) ? a.Children.toArray(s) : s; | |
}, | |
G = function (e, t) { | |
var n = e.defaultRichTextElements, | |
a = (0, r._T)(e, ["defaultRichTextElements"]), | |
o = z(n), | |
l = (function (e, t) { | |
var n = (0, A.ax)(t), | |
a = (0, r.pi)((0, r.pi)({}, A.Z0), e), | |
o = a.locale, | |
i = a.defaultLocale, | |
l = a.onError; | |
return ( | |
o | |
? !Intl.NumberFormat.supportedLocalesOf(o).length && l | |
? l( | |
new s.gb( | |
'Missing locale data for locale: "' | |
.concat(o, '" in Intl.NumberFormat. Using default locale: "') | |
.concat(i, '" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details') | |
) | |
) | |
: !Intl.DateTimeFormat.supportedLocalesOf(o).length && | |
l && | |
l( | |
new s.gb( | |
'Missing locale data for locale: "' | |
.concat(o, '" in Intl.DateTimeFormat. Using default locale: "') | |
.concat(i, '" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details') | |
) | |
) | |
: (l && l(new s.OV('"locale" was not configured, using "'.concat(i, '" as fallback. See https://formatjs.io/docs/react-intl/api#intlshape for more details'))), (a.locale = a.defaultLocale || "en")), | |
H(a), | |
(0, r.pi)((0, r.pi)({}, a), { | |
formatters: n, | |
formatNumber: y.bind(null, a, n.getNumberFormat), | |
formatNumberToParts: v.bind(null, a, n.getNumberFormat), | |
formatRelativeTime: w.bind(null, a, n.getRelativeTimeFormat), | |
formatDate: _.bind(null, a, n.getDateTimeFormat), | |
formatDateToParts: N.bind(null, a, n.getDateTimeFormat), | |
formatTime: k.bind(null, a, n.getDateTimeFormat), | |
formatDateTimeRange: C.bind(null, a, n.getDateTimeFormat), | |
formatTimeToParts: P.bind(null, a, n.getDateTimeFormat), | |
formatPlural: O.bind(null, a, n.getPluralRules), | |
formatMessage: p.bind(null, a, n), | |
$t: p.bind(null, a, n), | |
formatList: I.bind(null, a, n.getListFormat), | |
formatListToParts: D.bind(null, a, n.getListFormat), | |
formatDisplayName: B.bind(null, a, n.getDisplayNames), | |
}) | |
); | |
})((0, r.pi)((0, r.pi)((0, r.pi)({}, i.Z0), a), { defaultRichTextElements: o }), t), | |
u = { | |
locale: l.locale, | |
timeZone: l.timeZone, | |
fallbackOnEmptyString: l.fallbackOnEmptyString, | |
formats: l.formats, | |
defaultLocale: l.defaultLocale, | |
defaultFormats: l.defaultFormats, | |
messages: l.messages, | |
onError: l.onError, | |
defaultRichTextElements: o, | |
}; | |
return (0, r.pi)((0, r.pi)({}, l), { formatMessage: j.bind(null, u, l.formatters), $t: j.bind(null, u, l.formatters) }); | |
}; | |
!(function (e) { | |
function t() { | |
var t = (null !== e && e.apply(this, arguments)) || this; | |
return (t.cache = (0, A.Sn)()), (t.state = { cache: t.cache, intl: G(U(t.props), t.cache), prevConfig: U(t.props) }), t; | |
} | |
(0, r.ZT)(t, e), | |
(t.getDerivedStateFromProps = function (e, t) { | |
var n = t.prevConfig, | |
r = t.cache, | |
a = U(e); | |
return (0, i.wU)(n, a) ? null : { intl: G(a, r), prevConfig: a }; | |
}), | |
(t.prototype.render = function () { | |
return (0, i.lq)(this.state.intl), a.createElement(o.zt, { value: this.state.intl }, this.props.children); | |
}), | |
(t.displayName = "IntlProvider"), | |
(t.defaultProps = i.Z0); | |
})(a.PureComponent); | |
}, | |
9458: (e, t, n) => { | |
"use strict"; | |
n.d(t, { Z: () => i }); | |
var r = n(9526), | |
a = n(654), | |
o = n(6989); | |
function i() { | |
var e = r.useContext(a._y); | |
return (0, o.lq)(e), e; | |
} | |
}, | |
6989: (e, t, n) => { | |
"use strict"; | |
n.d(t, { Z0: () => u, dt: () => s, lq: () => l, wU: () => c }); | |
var r = n(3940), | |
a = n(9526), | |
o = n(5741), | |
i = n(3293); | |
function l(e) { | |
(0, o.kG)(e, "[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry."); | |
} | |
var u = (0, r.pi)((0, r.pi)({}, i.Z0), { textComponent: a.Fragment }); | |
function s(e) { | |
return function (t) { | |
return e(a.Children.toArray(t)); | |
}; | |
} | |
function c(e, t) { | |
if (e === t) return !0; | |
if (!e || !t) return !1; | |
var n = Object.keys(e), | |
r = Object.keys(t), | |
a = n.length; | |
if (r.length !== a) return !1; | |
for (var o = 0; o < a; o++) { | |
var i = n[o]; | |
if (e[i] !== t[i] || !Object.prototype.hasOwnProperty.call(t, i)) return !1; | |
} | |
return !0; | |
} | |
}, | |
2455: (e, t, n) => { | |
"use strict"; | |
var r = n(9526), | |
a = Symbol.for("react.element"), | |
o = Symbol.for("react.fragment"), | |
i = Object.prototype.hasOwnProperty, | |
l = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, | |
u = { key: !0, ref: !0, __self: !0, __source: !0 }; | |
function s(e, t, n) { | |
var r, | |
o = {}, | |
s = null, | |
c = null; | |
for (r in (void 0 !== n && (s = "" + n), void 0 !== t.key && (s = "" + t.key), void 0 !== t.ref && (c = t.ref), t)) i.call(t, r) && !u.hasOwnProperty(r) && (o[r] = t[r]); | |
if (e && e.defaultProps) for (r in (t = e.defaultProps)) void 0 === o[r] && (o[r] = t[r]); | |
return { $$typeof: a, type: e, key: s, ref: c, props: o, _owner: l.current }; | |
} | |
(t.Fragment = o), (t.jsx = s), (t.jsxs = s); | |
}, | |
3218: (e, t) => { | |
"use strict"; | |
var n = Symbol.for("react.element"), | |
r = Symbol.for("react.portal"), | |
a = Symbol.for("react.fragment"), | |
o = Symbol.for("react.strict_mode"), | |
i = Symbol.for("react.profiler"), | |
l = Symbol.for("react.provider"), | |
u = Symbol.for("react.context"), | |
s = Symbol.for("react.forward_ref"), | |
c = Symbol.for("react.suspense"), | |
f = Symbol.for("react.memo"), | |
d = Symbol.for("react.lazy"), | |
h = Symbol.iterator; | |
var p = { | |
isMounted: function () { | |
return !1; | |
}, | |
enqueueForceUpdate: function () {}, | |
enqueueReplaceState: function () {}, | |
enqueueSetState: function () {}, | |
}, | |
A = Object.assign, | |
m = {}; | |
function g(e, t, n) { | |
(this.props = e), (this.context = t), (this.refs = m), (this.updater = n || p); | |
} | |
function y() {} | |
function v(e, t, n) { | |
(this.props = e), (this.context = t), (this.refs = m), (this.updater = n || p); | |
} | |
(g.prototype.isReactComponent = {}), | |
(g.prototype.setState = function (e, t) { | |
if ("object" != typeof e && "function" != typeof e && null != e) 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, e, t, "setState"); | |
}), | |
(g.prototype.forceUpdate = function (e) { | |
this.updater.enqueueForceUpdate(this, e, "forceUpdate"); | |
}), | |
(y.prototype = g.prototype); | |
var b = (v.prototype = new y()); | |
(b.constructor = v), A(b, g.prototype), (b.isPureReactComponent = !0); | |
var E = Array.isArray, | |
w = Object.prototype.hasOwnProperty, | |
S = { current: null }, | |
T = { key: !0, ref: !0, __self: !0, __source: !0 }; | |
function _(e, t, r) { | |
var a, | |
o = {}, | |
i = null, | |
l = null; | |
if (null != t) for (a in (void 0 !== t.ref && (l = t.ref), void 0 !== t.key && (i = "" + t.key), t)) w.call(t, a) && !T.hasOwnProperty(a) && (o[a] = t[a]); | |
var u = arguments.length - 2; | |
if (1 === u) o.children = r; | |
else if (1 < u) { | |
for (var s = Array(u), c = 0; c < u; c++) s[c] = arguments[c + 2]; | |
o.children = s; | |
} | |
if (e && e.defaultProps) for (a in (u = e.defaultProps)) void 0 === o[a] && (o[a] = u[a]); | |
return { $$typeof: n, type: e, key: i, ref: l, props: o, _owner: S.current }; | |
} | |
function k(e) { | |
return "object" == typeof e && null !== e && e.$$typeof === n; | |
} | |
var C = /\/+/g; | |
function N(e, t) { | |
return "object" == typeof e && null !== e && null != e.key | |
? (function (e) { | |
var t = { "=": "=0", ":": "=2" }; | |
return ( | |
"$" + | |
e.replace(/[=:]/g, function (e) { | |
return t[e]; | |
}) | |
); | |
})("" + e.key) | |
: t.toString(36); | |
} | |
function P(e, t, a, o, i) { | |
var l = typeof e; | |
("undefined" !== l && "boolean" !== l) || (e = null); | |
var u = !1; | |
if (null === e) u = !0; | |
else | |
switch (l) { | |
case "string": | |
case "number": | |
u = !0; | |
break; | |
case "object": | |
switch (e.$$typeof) { | |
case n: | |
case r: | |
u = !0; | |
} | |
} | |
if (u) | |
return ( | |
(i = i((u = e))), | |
(e = "" === o ? "." + N(u, 0) : o), | |
E(i) | |
? ((a = ""), | |
null != e && (a = e.replace(C, "$&/") + "/"), | |
P(i, t, a, "", function (e) { | |
return e; | |
})) | |
: null != i && | |
(k(i) && | |
(i = (function (e, t) { | |
return { $$typeof: n, type: e.type, key: t, ref: e.ref, props: e.props, _owner: e._owner }; | |
})(i, a + (!i.key || (u && u.key === i.key) ? "" : ("" + i.key).replace(C, "$&/") + "/") + e)), | |
t.push(i)), | |
1 | |
); | |
if (((u = 0), (o = "" === o ? "." : o + ":"), E(e))) | |
for (var s = 0; s < e.length; s++) { | |
var c = o + N((l = e[s]), s); | |
u += P(l, t, a, c, i); | |
} | |
else if ( | |
((c = (function (e) { | |
return null === e || "object" != typeof e ? null : "function" == typeof (e = (h && e[h]) || e["@@iterator"]) ? e : null; | |
})(e)), | |
"function" == typeof c) | |
) | |
for (e = c.call(e), s = 0; !(l = e.next()).done; ) u += P((l = l.value), t, a, (c = o + N(l, s++)), i); | |
else if ("object" === l) | |
throw ( | |
((t = String(e)), | |
Error( | |
"Objects are not valid as a React child (found: " + | |
("[object Object]" === t ? "object with keys {" + Object.keys(e).join(", ") + "}" : t) + | |
"). If you meant to render a collection of children, use an array instead." | |
)) | |
); | |
return u; | |
} | |
function R(e, t, n) { | |
if (null == e) return e; | |
var r = [], | |
a = 0; | |
return ( | |
P(e, r, "", "", function (e) { | |
return t.call(n, e, a++); | |
}), | |
r | |
); | |
} | |
function O(e) { | |
if (-1 === e._status) { | |
var t = e._result; | |
(t = t()).then( | |
function (t) { | |
(0 !== e._status && -1 !== e._status) || ((e._status = 1), (e._result = t)); | |
}, | |
function (t) { | |
(0 !== e._status && -1 !== e._status) || ((e._status = 2), (e._result = t)); | |
} | |
), | |
-1 === e._status && ((e._status = 0), (e._result = t)); | |
} | |
if (1 === e._status) return e._result.default; | |
throw e._result; | |
} | |
var L = { current: null }, | |
x = { transition: null }, | |
I = { ReactCurrentDispatcher: L, ReactCurrentBatchConfig: x, ReactCurrentOwner: S }; | |
(t.Children = { | |
map: R, | |
forEach: function (e, t, n) { | |
R( | |
e, | |
function () { | |
t.apply(this, arguments); | |
}, | |
n | |
); | |
}, | |
count: function (e) { | |
var t = 0; | |
return ( | |
R(e, function () { | |
t++; | |
}), | |
t | |
); | |
}, | |
toArray: function (e) { | |
return ( | |
R(e, function (e) { | |
return e; | |
}) || [] | |
); | |
}, | |
only: function (e) { | |
if (!k(e)) throw Error("React.Children.only expected to receive a single React element child."); | |
return e; | |
}, | |
}), | |
(t.Component = g), | |
(t.Fragment = a), | |
(t.Profiler = i), | |
(t.PureComponent = v), | |
(t.StrictMode = o), | |
(t.Suspense = c), | |
(t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = I), | |
(t.cloneElement = function (e, t, r) { | |
if (null == e) throw Error("React.cloneElement(...): The argument must be a React element, but you passed " + e + "."); | |
var a = A({}, e.props), | |
o = e.key, | |
i = e.ref, | |
l = e._owner; | |
if (null != t) { | |
if ((void 0 !== t.ref && ((i = t.ref), (l = S.current)), void 0 !== t.key && (o = "" + t.key), e.type && e.type.defaultProps)) var u = e.type.defaultProps; | |
for (s in t) w.call(t, s) && !T.hasOwnProperty(s) && (a[s] = void 0 === t[s] && void 0 !== u ? u[s] : t[s]); | |
} | |
var s = arguments.length - 2; | |
if (1 === s) a.children = r; | |
else if (1 < s) { | |
u = Array(s); | |
for (var c = 0; c < s; c++) u[c] = arguments[c + 2]; | |
a.children = u; | |
} | |
return { $$typeof: n, type: e.type, key: o, ref: i, props: a, _owner: l }; | |
}), | |
(t.createContext = function (e) { | |
return ((e = { $$typeof: u, _currentValue: e, _currentValue2: e, _threadCount: 0, Provider: null, Consumer: null, _defaultValue: null, _globalName: null }).Provider = { $$typeof: l, _context: e }), (e.Consumer = e); | |
}), | |
(t.createElement = _), | |
(t.createFactory = function (e) { | |
var t = _.bind(null, e); | |
return (t.type = e), t; | |
}), | |
(t.createRef = function () { | |
return { current: null }; | |
}), | |
(t.forwardRef = function (e) { | |
return { $$typeof: s, render: e }; | |
}), | |
(t.isValidElement = k), | |
(t.lazy = function (e) { | |
return { $$typeof: d, _payload: { _status: -1, _result: e }, _init: O }; | |
}), | |
(t.memo = function (e, t) { | |
return { $$typeof: f, type: e, compare: void 0 === t ? null : t }; | |
}), | |
(t.startTransition = function (e) { | |
var t = x.transition; | |
x.transition = {}; | |
try { | |
e(); | |
} finally { | |
x.transition = t; | |
} | |
}), | |
(t.unstable_act = function () { | |
throw Error("act(...) is not supported in production builds of React."); | |
}), | |
(t.useCallback = function (e, t) { | |
return L.current.useCallback(e, t); | |
}), | |
(t.useContext = function (e) { | |
return L.current.useContext(e); | |
}), | |
(t.useDebugValue = function () {}), | |
(t.useDeferredValue = function (e) { | |
return L.current.useDeferredValue(e); | |
}), | |
(t.useEffect = function (e, t) { | |
return L.current.useEffect(e, t); | |
}), | |
(t.useId = function () { | |
return L.current.useId(); | |
}), | |
(t.useImperativeHandle = function (e, t, n) { | |
return L.current.useImperativeHandle(e, t, n); | |
}), | |
(t.useInsertionEffect = function (e, t) { | |
return L.current.useInsertionEffect(e, t); | |
}), | |
(t.useLayoutEffect = function (e, t) { | |
return L.current.useLayoutEffect(e, t); | |
}), | |
(t.useMemo = function (e, t) { | |
return L.current.useMemo(e, t); | |
}), | |
(t.useReducer = function (e, t, n) { | |
return L.current.useReducer(e, t, n); | |
}), | |
(t.useRef = function (e) { | |
return L.current.useRef(e); | |
}), | |
(t.useState = function (e) { | |
return L.current.useState(e); | |
}), | |
(t.useSyncExternalStore = function (e, t, n) { | |
return L.current.useSyncExternalStore(e, t, n); | |
}), | |
(t.useTransition = function () { | |
return L.current.useTransition(); | |
}), | |
(t.version = "18.2.0"); | |
}, | |
9526: (e, t, n) => { | |
"use strict"; | |
e.exports = n(3218); | |
}, | |
7557: (e, t, n) => { | |
"use strict"; | |
e.exports = n(2455); | |
}, | |
1196: (e, t) => { | |
"use strict"; | |
function n(e, t) { | |
var n = e.length; | |
e.push(t); | |
e: for (; 0 < n; ) { | |
var r = (n - 1) >>> 1, | |
a = e[r]; | |
if (!(0 < o(a, t))) break e; | |
(e[r] = t), (e[n] = a), (n = r); | |
} | |
} | |
function r(e) { | |
return 0 === e.length ? null : e[0]; | |
} | |
function a(e) { | |
if (0 === e.length) return null; | |
var t = e[0], | |
n = e.pop(); | |
if (n !== t) { | |
e[0] = n; | |
e: for (var r = 0, a = e.length, i = a >>> 1; r < i; ) { | |
var l = 2 * (r + 1) - 1, | |
u = e[l], | |
s = l + 1, | |
c = e[s]; | |
if (0 > o(u, n)) s < a && 0 > o(c, u) ? ((e[r] = c), (e[s] = n), (r = s)) : ((e[r] = u), (e[l] = n), (r = l)); | |
else { | |
if (!(s < a && 0 > o(c, n))) break e; | |
(e[r] = c), (e[s] = n), (r = s); | |
} | |
} | |
} | |
return t; | |
} | |
function o(e, t) { | |
var n = e.sortIndex - t.sortIndex; | |
return 0 !== n ? n : e.id - t.id; | |
} | |
if ("object" == typeof performance && "function" == typeof performance.now) { | |
var i = performance; | |
t.unstable_now = function () { | |
return i.now(); | |
}; | |
} else { | |
var l = Date, | |
u = l.now(); | |
t.unstable_now = function () { | |
return l.now() - u; | |
}; | |
} | |
var s = [], | |
c = [], | |
f = 1, | |
d = null, | |
h = 3, | |
p = !1, | |
A = !1, | |
m = !1, | |
g = "function" == typeof setTimeout ? setTimeout : null, | |
y = "function" == typeof clearTimeout ? clearTimeout : null, | |
v = "undefined" != typeof setImmediate ? setImmediate : null; | |
function b(e) { | |
for (var t = r(c); null !== t; ) { | |
if (null === t.callback) a(c); | |
else { | |
if (!(t.startTime <= e)) break; | |
a(c), (t.sortIndex = t.expirationTime), n(s, t); | |
} | |
t = r(c); | |
} | |
} | |
function E(e) { | |
if (((m = !1), b(e), !A)) | |
if (null !== r(s)) (A = !0), x(w); | |
else { | |
var t = r(c); | |
null !== t && I(E, t.startTime - e); | |
} | |
} | |
function w(e, n) { | |
(A = !1), m && ((m = !1), y(k), (k = -1)), (p = !0); | |
var o = h; | |
try { | |
for (b(n), d = r(s); null !== d && (!(d.expirationTime > n) || (e && !P())); ) { | |
var i = d.callback; | |
if ("function" == typeof i) { | |
(d.callback = null), (h = d.priorityLevel); | |
var l = i(d.expirationTime <= n); | |
(n = t.unstable_now()), "function" == typeof l ? (d.callback = l) : d === r(s) && a(s), b(n); | |
} else a(s); | |
d = r(s); | |
} | |
if (null !== d) var u = !0; | |
else { | |
var f = r(c); | |
null !== f && I(E, f.startTime - n), (u = !1); | |
} | |
return u; | |
} finally { | |
(d = null), (h = o), (p = !1); | |
} | |
} | |
"undefined" != typeof navigator && void 0 !== navigator.scheduling && void 0 !== navigator.scheduling.isInputPending && navigator.scheduling.isInputPending.bind(navigator.scheduling); | |
var S, | |
T = !1, | |
_ = null, | |
k = -1, | |
C = 5, | |
N = -1; | |
function P() { | |
return !(t.unstable_now() - N < C); | |
} | |
function R() { | |
if (null !== _) { | |
var e = t.unstable_now(); | |
N = e; | |
var n = !0; | |
try { | |
n = _(!0, e); | |
} finally { | |
n ? S() : ((T = !1), (_ = null)); | |
} | |
} else T = !1; | |
} | |
if ("function" == typeof v) | |
S = function () { | |
v(R); | |
}; | |
else if ("undefined" != typeof MessageChannel) { | |
var O = new MessageChannel(), | |
L = O.port2; | |
(O.port1.onmessage = R), | |
(S = function () { | |
L.postMessage(null); | |
}); | |
} else | |
S = function () { | |
g(R, 0); | |
}; | |
function x(e) { | |
(_ = e), T || ((T = !0), S()); | |
} | |
function I(e, n) { | |
k = g(function () { | |
e(t.unstable_now()); | |
}, n); | |
} | |
(t.unstable_IdlePriority = 5), | |
(t.unstable_ImmediatePriority = 1), | |
(t.unstable_LowPriority = 4), | |
(t.unstable_NormalPriority = 3), | |
(t.unstable_Profiling = null), | |
(t.unstable_UserBlockingPriority = 2), | |
(t.unstable_cancelCallback = function (e) { | |
e.callback = null; | |
}), | |
(t.unstable_continueExecution = function () { | |
A || p || ((A = !0), x(w)); | |
}), | |
(t.unstable_forceFrameRate = function (e) { | |
0 > e || 125 < e ? console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported") : (C = 0 < e ? Math.floor(1e3 / e) : 5); | |
}), | |
(t.unstable_getCurrentPriorityLevel = function () { | |
return h; | |
}), | |
(t.unstable_getFirstCallbackNode = function () { | |
return r(s); | |
}), | |
(t.unstable_next = function (e) { | |
switch (h) { | |
case 1: | |
case 2: | |
case 3: | |
var t = 3; | |
break; | |
default: | |
t = h; | |
} | |
var n = h; | |
h = t; | |
try { | |
return e(); | |
} finally { | |
h = n; | |
} | |
}), | |
(t.unstable_pauseExecution = function () {}), | |
(t.unstable_requestPaint = function () {}), | |
(t.unstable_runWithPriority = function (e, t) { | |
switch (e) { | |
case 1: | |
case 2: | |
case 3: | |
case 4: | |
case 5: | |
break; | |
default: | |
e = 3; | |
} | |
var n = h; | |
h = e; | |
try { | |
return t(); | |
} finally { | |
h = n; | |
} | |
}), | |
(t.unstable_scheduleCallback = function (e, a, o) { | |
var i = t.unstable_now(); | |
switch (("object" == typeof o && null !== o ? (o = "number" == typeof (o = o.delay) && 0 < o ? i + o : i) : (o = i), e)) { | |
case 1: | |
var l = -1; | |
break; | |
case 2: | |
l = 250; | |
break; | |
case 5: | |
l = 1073741823; | |
break; | |
case 4: | |
l = 1e4; | |
break; | |
default: | |
l = 5e3; | |
} | |
return ( | |
(e = { id: f++, callback: a, priorityLevel: e, startTime: o, expirationTime: (l = o + l), sortIndex: -1 }), | |
o > i ? ((e.sortIndex = o), n(c, e), null === r(s) && e === r(c) && (m ? (y(k), (k = -1)) : (m = !0), I(E, o - i))) : ((e.sortIndex = l), n(s, e), A || p || ((A = !0), x(w))), | |
e | |
); | |
}), | |
(t.unstable_shouldYield = P), | |
(t.unstable_wrapCallback = function (e) { | |
var t = h; | |
return function () { | |
var n = h; | |
h = t; | |
try { | |
return e.apply(this, arguments); | |
} finally { | |
h = n; | |
} | |
}; | |
}); | |
}, | |
2851: (e, t, n) => { | |
"use strict"; | |
e.exports = n(1196); | |
}, | |
3940: (e, t, n) => { | |
"use strict"; | |
n.d(t, { ZT: () => a, _T: () => i, ev: () => l, pi: () => o }); | |
var r = function (e, t) { | |
return ( | |
(r = | |
Object.setPrototypeOf || | |
({ __proto__: [] } instanceof Array && | |
function (e, t) { | |
e.__proto__ = t; | |
}) || | |
function (e, t) { | |
for (var n in t) Object.prototype.hasOwnProperty.call(t, n) && (e[n] = t[n]); | |
}), | |
r(e, t) | |
); | |
}; | |
function a(e, t) { | |
if ("function" != typeof t && null !== t) throw new TypeError("Class extends value " + String(t) + " is not a constructor or null"); | |
function n() { | |
this.constructor = e; | |
} | |
r(e, t), (e.prototype = null === t ? Object.create(t) : ((n.prototype = t.prototype), new n())); | |
} | |
var o = function () { | |
return ( | |
(o = | |
Object.assign || | |
function (e) { | |
for (var t, n = 1, r = arguments.length; n < r; n++) for (var a in (t = arguments[n])) Object.prototype.hasOwnProperty.call(t, a) && (e[a] = t[a]); | |
return e; | |
}), | |
o.apply(this, arguments) | |
); | |
}; | |
function i(e, t) { | |
var n = {}; | |
for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]); | |
if (null != e && "function" == typeof Object.getOwnPropertySymbols) { | |
var a = 0; | |
for (r = Object.getOwnPropertySymbols(e); a < r.length; a++) t.indexOf(r[a]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[a]) && (n[r[a]] = e[r[a]]); | |
} | |
return n; | |
} | |
Object.create; | |
function l(e, t, n) { | |
if (n || 2 === arguments.length) for (var r, a = 0, o = t.length; a < o; a++) (!r && a in t) || (r || (r = Array.prototype.slice.call(t, 0, a)), (r[a] = t[a])); | |
return e.concat(r || Array.prototype.slice.call(t)); | |
} | |
Object.create; | |
}, | |
}, | |
]); | |
//# sourceMappingURL=13d8353ccc05358f.js.map |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment